* src/keyboard.c (read_key_sequence_vs): New function.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
52b1cc79
SM
12013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4
63191d9f
XF
52013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6
7 * vc/vc.el (vc-ignore): Rewrite.
8 (vc-default-ignore): New function.
9 (vc-default-ignore-completion-table): Use find-ignore-file.
10
11 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
12 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
13 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14 Remove. Most code moved to vc.el.
15
9d3f707c
SM
162013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
17
38726039
SM
18 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
19 * net/tramp-smb.el (tramp-smb-get-file-entries):
20 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
21 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
22
fde38d49
SM
23 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
24 Update call to it.
25 (eww-change-select): Remove unused var `properties'.
26 (eww-make-unique-file-name): Remove unused var `base'.
27
28 * finder.el (finder-compile-keywords): Don't mess with windows.
29
84032db7
SM
30 * calculator.el (calculator-funcall): Fix typo in last change.
31
724f5e41
SM
32 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
33
14b511d4
SM
34 * emacs-lisp/package.el (package-activate-1): Don't let a missing
35 <pkg>-autoloads.el file stop us.
36
9d3f707c 37 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 38 warnings, and factor out common code.
9d3f707c 39
88527bc0
DG
402013-09-03 Dmitry Gutov <dgutov@yandex.ru>
41
42 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
43 two-character operators and whether the character preceding them
44 changes their meaning (Bug#15208).
45
96edb677
FEG
462013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
47
48 Format code sent to Python shell for robustness.
9d3f707c
SM
49 * progmodes/python.el (python-shell-buffer-substring):
50 New function.
96edb677
FEG
51 (python-shell-send-region, python-shell-send-buffer): Use it.
52
95beaef3
MA
532013-09-02 Michael Albinus <michael.albinus@gmx.de>
54
55 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
56 * net/tramp.el (tramp-user-error): ... here.
57 (tramp-find-method, tramp-check-proper-host)
58 (tramp-dissect-file-name, tramp-debug-message)
59 (tramp-handle-shell-command):
60 * net/tramp-adb.el (tramp-adb-handle-shell-command):
61 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
62
63 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
64
f167c27b
MR
652013-09-02 Martin Rudalics <rudalics@gmx.at>
66
67 * avoid.el (mouse-avoidance-point-position)
68 (mouse-avoidance-too-close-p): Handle case where posn-at-point
69 returns nil.
70
cd16c5f1
FEG
712013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
72
73 * progmodes/python.el (python-shell-completion-get-completions):
74 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 75 (python-nav-if-name-main): New command.
cd16c5f1 76
e73c3a0d
GM
772013-09-01 Glenn Morris <rgm@gnu.org>
78
f8ccce03
GM
79 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
80 Avoid leading space in $wins. Otherwise the sed command used by
81 eg compile-main ends up containing "/*.el". (Bug#15170)
82
e73c3a0d
GM
83 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
84
415f808e
GM
852013-08-30 Glenn Morris <rgm@gnu.org>
86
87 * emacs-lisp/bytecomp.el (byte-recompile-directory):
88 Fix is-this-a-directory logic. (Bug#15220)
89
f069bba8
SM
902013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
91
112798c1
SM
92 * textmodes/css-mode.el: Use SMIE.
93 (css-smie-grammar): New var.
94 (css-smie--forward-token, css-smie--backward-token)
95 (css-smie-rules): New functions.
96 (css-mode): Use them.
97 (css-navigation-syntax-table): Remove var.
98 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
99 (css-indent-calculate, css-indent-line): Remove functions.
100
101 Misc changes to reduce use of `(lambda...); and other cleanups.
102 * cus-edit.el: Use lexical-binding.
103 (customize-push-and-save, customize-apropos)
104 (custom-buffer-create-internal): Use closures.
105 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
106 * progmodes/ada-xref.el: Use setq.
107 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
108 * dframe.el: Use lexical-binding.
109 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
110 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
111 * descr-text.el: Use lexical-binding.
112 (describe-text-widget, describe-text-sexp, describe-property-list):
113 Use closures.
114 * comint.el (comint-history-isearch-push-state): Use a closure.
115 * calculator.el: Use lexical-binding.
116 (calculator-number-to-string): Make it work with lexical-binding.
117 (calculator-funcall): Same and use cl-letf.
118
2da4c3ab
SM
119 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
120 (lisp--company-doc-string, lisp--company-location): New functions.
121 (lisp-completion-at-point): Use them to improve Company support.
122
f069bba8
SM
123 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
124 params of lambda expressions.
125 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
126 (ruby-smie--opening-pipe-p): New function.
127 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
128 symbols and matched |...| for formal params.
129 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
130 from being treated as hanging. Handle "rescue".
131
6758b6a8
GM
1322013-08-29 Glenn Morris <rgm@gnu.org>
133
134 * progmodes/cc-engine.el (c-pull-open-brace):
135 Move definition before use.
136
e8dfd197
SM
1372013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
140 are immutable. Don't use `unsafe' any more.
141 (cl--defsubst-expand): Don't substitute at the same time as keeping
142 a residual unused let-binding. Don't use `unsafe' any more.
143
cc585c96
GM
1442013-08-29 Glenn Morris <rgm@gnu.org>
145
ba579ea6
GM
146 * calendar/cal-china.el (calendar-chinese-year-cache):
147 Recenter on 2015.
148
8201a87e
GM
149 * nxml/nxml-util.el (nxml-debug-clear-inside):
150 Use cl-loop rather than loop.
151
6ee877c7
GM
152 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
153
cc585c96
GM
154 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
155
27be8d39
GM
1562013-08-28 Glenn Morris <rgm@gnu.org>
157
397440a1
GM
158 * progmodes/antlr-mode.el: No need to require cc-mode twice.
159
2bb762d4
GM
160 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
161
27be8d39
GM
162 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
163
2d69b99e
SM
1642013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
165
f663baa7
SM
166 * simple.el (repeat-complex-command--called-interactively-skip):
167 New function.
168 (repeat-complex-command): Use it (bug#14136).
169
dd4f8b74
SM
170 * progmodes/cc-mode.el: Minor cleanup of var declarations.
171 (c-define-abbrev-table): Add `doc' argument.
172 (c-mode-abbrev-table, c++-mode-abbrev-table)
173 (objc-mode-abbrev-table, java-mode-abbrev-table)
174 (idl-mode-abbrev-table, pike-mode-abbrev-table)
175 (awk-mode-abbrev-table): Use it.
176 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
177 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
178 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
179 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
180 Move initialization into the declaration; and remove any
181 autoload cookie.
182
b58969f7
SM
183 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
184 and dynamic let binding.
185
4021d6a6
SM
186 * vc/smerge-mode.el: Remove redundant :group args.
187
2d69b99e
SM
188 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
189 to load-path.
190
274919fd
JL
1912013-08-28 Juri Linkov <juri@jurta.org>
192
193 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
194 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
195 (isearch-other-meta-char): Handle an undefined shifted printing
196 character by downshifting it. (Bug#15200)
197
121f8c95
JL
1982013-08-28 Juri Linkov <juri@jurta.org>
199
200 * isearch.el (isearch-search): Change regexp error message for
201 non-regexp searches. (Bug#15166)
202
50b13cde
PE
2032013-08-28 Paul Eggert <eggert@cs.ucla.edu>
204
205 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
206 for portability to hosts where /bin/sh has problems.
207
95888bca
SM
2082013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
211
bbe558f1
JL
2122013-08-27 Juri Linkov <juri@jurta.org>
213
214 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
215 in the keyboard macro. (Bug#15126)
216
26f98a7d
JL
2172013-08-27 Juri Linkov <juri@jurta.org>
218
219 * isearch.el (isearch-quote-char): Comment out converting unibyte
220 to multibyte, thus syncing with its `quoted-insert' counterpart.
221 (Bug#15166)
222
7c97d35e
MR
2232013-08-27 Martin Rudalics <rudalics@gmx.at>
224
225 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
226 argument in call of get-largest-window (Bug#15185).
227 Reported by Stephen Leake.
7c97d35e 228
a0b5606e 2292013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
230
231 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
232
9e89d835
SM
2332013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * progmodes/python.el (python-font-lock-keywords): Don't return nil
236 from a matcher-function unless there's no more matches (bug#15161).
237
78fc2530
MA
2382013-08-26 Michael Albinus <michael.albinus@gmx.de>
239
240 * minibuffer.el: Revert change from 2013-08-20.
241
242 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
243 with text property `tramp-default', if appropriate.
244 (tramp-check-proper-host): New defun.
245 (tramp-dissect-file-name): Do not check hostname. Revert change
246 of 2013-03-18.
247 (tramp-backtrace): Make VEC-OR-PROC optional.
248
249 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
250 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
251 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
252 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
253 Apply `tramp-check-proper-host'.
78fc2530 254
edca97cd
TH
2552013-08-26 Tassilo Horn <tsdh@gnu.org>
256
257 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
258 lambda expression in order to have `describe-variable' display it.
259
df54bcbd
MA
2602013-08-26 Michael Albinus <michael.albinus@gmx.de>
261
262 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
263 BUF can be optional. (Bug#15186)
264
eed99101
XF
2652013-08-25 Xue Fuqiao <xfq.free@gmail.com>
266
267 * progmodes/flymake.el (flymake-get-real-file-name-function):
268 Fix broken customization. (Bug#15184)
269
b5eb9035
AM
2702013-08-25 Alan Mackenzie <acm@muc.de>
271
8a51e842
AM
272 Improve indentation of bracelists defined by macros (without "=").
273
274 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
275 expansion begins with "{", regard it as bracelist when it doesn't
276 contain a ";".
277
869455d4
AM
278 Parse C++ inher-intro when there's a template split over 2 lines.
279
280 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
281 rigorously the search for "class" etc. followed by ":".
282
283 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
284 random languages a regexp which never matches rather than nil.
285
b5eb9035
AM
286 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
287
288 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
289 (c-awk-regexp-one-line-possibly-open-char-list-re)
290 (c-awk-one-line-possibly-open-regexp-re)
291 (c-awk-one-line-non-syn-ws*-re): Remove.
292 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
293 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
294 (c-awk-space*-unclosed-regexp-/-re): New constants.
295 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
296 aren't regexp delimiters.
297
298 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
299 handling for a rare situation in AWK Mode involving unterminated
300 strings/regexps.
301
61611d54
GM
3022013-08-23 Glenn Morris <rgm@gnu.org>
303
2d85dc34
GM
304 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
305
cb8d2612
GM
306 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
307
bb35f42f
GM
308 * files.el (create-file-buffer): If the result would begin with
309 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 310
b9808e77
SM
3112013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
312
e3a66363
SM
313 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
314 text-properties (bug#15155).
315
b9808e77
SM
316 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
317 exist any more.
318 (calc-keypad-redraw): Remove unused var `pad'.
319 (calc-keypad-press): Remove unused var `menu'.
320
7fd5f65e
MR
3212013-08-23 Martin Rudalics <rudalics@gmx.at>
322
b9808e77
SM
323 * window.el (display-buffer-pop-up-frame):
324 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
325 use it as the new frame's buffer (Bug#15133).
326
8352b530
SM
3272013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * calendar/timeclock.el: Minor cleanups.
330 (timeclock-ask-before-exiting, timeclock-use-display-time):
331 Use `symbol'.
332 (timeclock-modeline-display): Define as alias before the
333 actual definition.
334 (timeclock-mode-line-display): Use define-minor-mode.
335 (timeclock-day-list-template): Make it a function, add an argument.
336 (timeclock-day-list-required, timeclock-day-list-length)
337 (timeclock-day-list-debt, timeclock-day-list-span)
338 (timeclock-day-list-break): Adjust calls accordingly.
339
9f7b1925
SM
3402013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
343 Use read--expression so that completion works again.
344
6e50e983
SS
3452013-08-21 Sam Steingold <sds@gnu.org>
346
347 Add rudimentary inferior shell interaction
348 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
349 (sh-set-shell): Reset it.
9f7b1925
SM
350 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
351 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 352
dbb0d350
SM
3532013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 * align.el: Use lexical-binding.
356 (align-region): Simplify accordingly.
357
c88586a9
MA
3582013-08-20 Michael Albinus <michael.albinus@gmx.de>
359
360 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
361
362 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
363 `non-essential' up.
364
f95527c8
MA
3652013-08-17 Michael Albinus <michael.albinus@gmx.de>
366
367 * net/tramp.el:
368 * net/tramp-adb.el:
369 * net/tramp-cmds.el:
370 * net/tramp-ftp.el:
371 * net/tramp-gvfs.el:
372 * net/tramp-gw.el:
373 * net/tramp-sh.el: Don't wrap external variable declarations by
374 `eval-when-compile'.
375
4b5fe4ee
LMI
3762013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
377
378 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
379 now that Emacs supports ImageMagick animations.
380
13c366c9
MA
3812013-08-16 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
384 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
385
3dfc5cd6
MR
3862013-08-16 Martin Rudalics <rudalics@gmx.at>
387
388 * window.el (mouse-autoselect-window-select): Do autoselect when
389 mouse pointer is on margin.
390
4bbb4381
WP
3912013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
392
393 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
394
3a2ddc2d
GM
3952013-08-16 Glenn Morris <rgm@gnu.org>
396
e8bedf5a
GM
397 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
398 Handle "Remote Directory" response of some clients. (Bug#15058)
399
58c4682f
GM
400 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
401 Tweak warning. (Bug#14926)
402
57953f49
GM
403 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
404 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
405
3a2ddc2d
GM
406 * image-mode.el (image-mode-map): Add menu items to reverse,
407 increase, decrease, reset animation speed.
408 (image--set-speed, image-increase-speed, image-decrease-speed)
409 (image-reverse-speed, image-reset-speed): New functions.
410 (image-mode-map): Add bindings for speed commands.
411
412 * image.el (image-animate-get-speed, image-animate-set-speed):
413 New functions.
414 (image-animate-timeout): Respect image :speed property.
415
10fa0ed3
SM
4162013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
419 previous line (bug#15101).
420 (debugger-eval-expression, debugger-record-expression):
421 Use read--expression (bug#15102).
422
5d89d9d2
MA
4232013-08-15 Michael Albinus <michael.albinus@gmx.de>
424
425 Remove byte compiler warnings, visible when compiling with
426 `byte-compile-force-lexical-warnings' set to t.
427
428 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
429 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
430 (tramp-handle-unhandled-file-name-directory)
431 (tramp-handle-file-notify-add-watch, tramp-action-login)
432 (tramp-action-succeed, tramp-action-permission-denied)
433 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
434 arguments with "_".
435
436 * net/tramp-adb.el (tramp-adb-parse-device-names)
437 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
438 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
439 (tramp-adb-handle-file-truename): Remove unused arguments.
440
441 * net/tramp-cache.el (tramp-flush-directory-property)
442 (tramp-flush-connection-property, tramp-list-connections)
443 (tramp-parse-connection-properties): Prefix unused arguments with "_".
444
10fa0ed3
SM
445 * net/tramp-compat.el (tramp-compat-make-temp-file):
446 Rename FILENAME to F.
5d89d9d2
MA
447
448 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
449 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
450 (tramp-zeroconf-parse-workstation-device-names)
451 (tramp-zeroconf-parse-webdav-device-names)
452 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
453
454 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
455 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
456
457 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
458 arguments.
459 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
460 (tramp-sh-handle-insert-file-contents-literally)
461 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
462 with "_".
463 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
464 Remove unused variables.
465
466 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
467 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
468 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
469
470 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
471 Make them a defconst.
472 (tramp-uuencode-region): Remove unused variable.
473
62f33bae
JB
4742013-08-14 Juanma Barranquero <lekktu@gmail.com>
475
476 * frameset.el (frameset--prop-setter): New function.
477 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
478 (frameset-filter-minibuffer): Deal with the case that the minibuffer
479 parameter was already set in FILTERED. Doc fix.
480 (frameset--record-minibuffer-relationships): Allow saving a
481 minibufferless frame without its corresponding minibuffer frame.
482 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
483 frame, if the frame id matches.
484 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
485 frames before orphaned ones.
486 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 487
c660a885
MR
4882013-08-14 Martin Rudalics <rudalics@gmx.at>
489
490 * window.el (window-make-atom): Don't overwrite parameter
491 already present.
492 (display-buffer-in-atom-window): Handle special case where we
493 split an already atomic window.
494 (window--major-non-side-window, display-buffer-in-side-window)
495 (window--side-check): Ignore minibuffer window when walking
496 window tree.
497 (window-deletable-p): Return 'frame only if no other frame uses
498 our minibuffer window.
499 (record-window-buffer): Run buffer-list-update-hook.
500 (split-window): Make sure window--check-frame won't destroy an
501 existing atomic window in case the new window gets nested
502 inside.
503 (display-buffer-at-bottom): Ignore minibuffer window when
504 walking window tree. Don't split a side window.
505 (pop-to-buffer): Don't set-buffer here, the select-window call
506 should do that.
507 (mouse-autoselect-window-select): Autoselect only if we are in the
508 text portion of the window.
509
8259030d
LMI
5102013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
511
21c58ae2
LMI
512 * net/shr.el (shr-parse-image-data): New function to grab both the
513 data itself and the Content-Type.
514 (shr-put-image): Use it.
515
516 * net/eww.el (eww-display-image): Ditto.
517
8259030d
LMI
518 * image.el (image-content-type-suffixes): New variable.
519
ad756449
FEG
5202013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
521
522 * progmodes/python.el (python-imenu--build-tree)
523 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
524
f73f4ce6
XF
5252013-08-13 Xue Fuqiao <xfq.free@gmail.com>
526
527 * simple.el (backward-word): Mention the optional argument.
528
1f585e65
SM
5292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * frameset.el (frameset--make): Rename constructor from make-frameset.
532 (frameset-p, frameset-valid-p): Don't autoload.
533 (frameset-valid-p): Use normal accessors.
534
af1c6c84
GM
5352013-08-13 Glenn Morris <rgm@gnu.org>
536
55e47f95
GM
537 * progmodes/compile.el (compile-command): Tweak example in doc.
538 * obsolete/scribe.el (scribe-mode):
539 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
540
f0024d8c
GM
541 * mail/feedmail.el (feedmail-confirm-outgoing)
542 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
543
544 * cus-start.el (truncate-partial-width-windows): Fix type.
545
546 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
547
af1c6c84
GM
548 * net/shr.el (shr-table-horizontal-line): Fix custom type.
549
5514cc4c
SM
5502013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * emacs-lisp/timer.el (timer--time-setter): New function.
553 (timer--time): Use it as gv-setter.
554
555 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
556 setter is not a symbol.
557
7997a2f1
GJ
5582013-08-12 Grégoire Jadi <daimrod@gmail.com>
559
560 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
561 if sending fails. This makes debugging easier.
562
01f1a9ab
JB
5632013-08-12 Juanma Barranquero <lekktu@gmail.com>
564
565 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
566 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
567 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
568
594a4307
EZ
5692013-08-12 Eli Zaretskii <eliz@gnu.org>
570
571 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
572
7a22490f 5732013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
574
575 * format.el (format-annotate-function):
576 Handle read-only text properties in the source. (Bug#14887)
577
3e41a054
LMI
5782013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
579
5514cc4c
SM
580 * net/eww.el (eww-display-html): Ignore coding system errors.
581 One web site uses "utf-8lias" as the coding system.
3e41a054 582
7ec326db
JB
5832013-08-11 Juanma Barranquero <lekktu@gmail.com>
584
585 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
586
5660113b
JB
5872013-08-10 Juanma Barranquero <lekktu@gmail.com>
588
9a4ebc74
JB
589 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
590 (tutorial--detailed-help): Remove unused local variables.
591 (tutorial--save-tutorial-to): Use ignore-errors.
592 (help-with-tutorial): Use looking-at-p.
593
594 * view.el (view-buffer-other-window, view-buffer-other-frame):
595 Mark unused arguments.
596
597 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
598 (woman-select-symbol-fonts, woman, woman-find-file)
599 (woman-insert-file-contents, woman-non-underline-faces):
600 Use string-match-p.
601 (woman1-unquote): Move declaration.
602
603 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
604 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
605 argument. Remove unused local variable.
606 (xml-parse-elem-type): Use string-match-p.
607 (xml-substitute-numeric-entities): Use ignore-errors.
608
45fdb482
JB
609 * calculator.el (calculator): Mark unused argument.
610 (calculator-paste, calculator-quit, calculator-integer-p):
611 Use ignore-errors.
612 (calculator-string-to-number, calculator-decimal, calculator-exp)
613 (calculator-op-or-exp): Use string-match-p.
614
615 * dired.el (dired-buffer-more-recently-used-p): Declare.
616 (dired-insert-set-properties, dired-insert-old-subdirs):
617 Use ignore-errors.
618
619 * dired-aux.el (dired-compress): Use ignore-errors.
620 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
621 (dired-do-async-shell-command, dired-do-shell-command)
622 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
623 (dired-insert-subdir-validate): Use string-match-p.
624 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
625 (dired-add-entry): Use string-match-p, looking-at-p.
626 (dired-insert-subdir-newpos): Remove unused local variable.
627
628 * filenotify.el (file-notify-callback): Remove unused local variable.
629
630 * filesets.el (filesets-error): Mark unused argument.
631 (filesets-which-command-p, filesets-filter-dir-names)
632 (filesets-directory-files, filesets-get-external-viewer)
633 (filesets-ingroup-get-data): Use string-match-p.
634
635 * find-file.el (ff-other-file-name, ff-other-file-name)
636 (ff-find-the-other-file, ff-cc-hh-converter):
637 Remove unused local variables.
638 (ff-get-file-name): Use string-match-p.
639 (ff-all-dirs-under): Use ignore-errors.
640
641 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
642 (follow-select-if-visible): Remove unused local variable.
643
644 * forms.el (read-file-filter): Move declaration.
645 (forms--make-format, forms--make-parser, forms-insert-record):
646 Quote function with #'.
647 (forms--update): Use string-match-p. Quote function with #'.
648
649 * help-mode.el (help-dir-local-var-def): Mark unused argument.
650 (help-make-xrefs): Use looking-at-p.
651 (help-xref-on-pp): Use looking-at-p, ignore-errors.
652
653 * ibuffer.el (ibuffer-ext-visible-p): Declare.
654 (ibuffer-confirm-operation-on): Use string-match-p.
655
656 * msb.el (msb-item-handler, msb-dired-item-handler):
657 Mark unused arguments.
658
659 * ses.el (ses-decode-cell-symbol)
660 (ses-kill-override): Remove unused local variable.
661 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
662 (ses-load): Use ignore-errors, looking-at-p.
663 (ses-jump-safe): Use ignore-errors.
664 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
665
666 * tabify.el (untabify, tabify): Mark unused arguments.
667
668 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
669 Mark unused argument.
670 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
671 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
672
c880af52
JB
673 * emacs-lisp/timer.el (timer--time): Define setter with
674 gv-define-setter to avoid deprecation warning.
675
5660113b 676 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 677 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
678 (cmpl-statistics-block): Remove (body was commented out).
679 All callers changed.
680 (add-completions-from-buffer, load-completions-from-file):
681 Remove unused variables.
682
156aab80
JB
6832013-08-09 Juanma Barranquero <lekktu@gmail.com>
684
5c5dee78
JB
685 * filecache.el (file-cache-delete-file-list):
686 Print message only when told so.
687 (file-cache-files-matching): Use #' in mapconcat argument.
688
156aab80
JB
689 * ffap.el (ffap-url-at-point): Fix reference to variable
690 thing-at-point-default-mail-uri-scheme.
691
ad9dcd70
SM
6922013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
693
54bd972f
SM
694 * subr.el (define-error): New function.
695 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
696 error-file-not-found and define with define-error.
697 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
698 and define with define-error.
699 * userlock.el (file-locked, file-supersession):
700 * simple.el (mark-inactive):
701 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
702 * progmodes/ada-mode.el (ada-mode-errors):
703 * play/life.el (life-extinct):
704 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
705 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
706 * nxml/rng-util.el (rng-error):
707 * nxml/rng-uri.el (rng-uri-error):
708 * nxml/rng-match.el (rng-compile-error):
709 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
710 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
711 * nxml/nxml-rap.el (nxml-scan-error):
712 * nxml/nxml-outln.el (nxml-outline-error):
713 * net/soap-client.el (soap-error):
714 * net/gnutls.el (gnutls-error):
715 * net/ange-ftp.el (ftp-error):
716 * mpc.el (mpc-proc-error):
717 * json.el (json-error, json-readtable-error, json-unknown-keyword)
718 (json-number-format, json-string-escape, json-string-format)
719 (json-key-format, json-object-format):
720 * jka-compr.el (compression-error):
721 * international/quail.el (quail-error):
722 * international/kkc.el (kkc-error):
723 * emacs-lisp/ert.el (ert-test-failed):
724 * calc/calc.el (calc-error, inexact-result, math-overflow)
725 (math-underflow):
726 * bookmark.el (bookmark-error-no-filename):
727 * epg.el (epg-error): Define with define-error.
728
0ea9e53a
SM
729 * time.el (display-time-event-handler)
730 (display-time-next-load-average): Don't call sit-for since it seems
731 unnecessary (bug#15045).
732
b0429158
SM
733 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
734 Use #' instead of ' to quote functions.
735 (checkdoc-output-mode): Use setq-local.
736 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
737 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
738 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
739 (checkdoc-ispell, checkdoc-ispell-current-buffer)
740 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
741 (checkdoc-ispell-message-text, checkdoc-ispell-start)
742 (checkdoc-ispell-continue, checkdoc-ispell-comments)
743 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
744
ad9dcd70
SM
745 * ido.el (ido-completion-help): Fix up compiler warning.
746
77187e6f
JB
7472013-08-09 Juanma Barranquero <lekktu@gmail.com>
748
749 * frameset.el (frameset-p): Add autoload cookie.
750 (frameset--jump-to-register): New function, based on code moved from
751 register.el.
752 (frameset-to-register): Move from register.el. Adapt to `registerv'.
753
754 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
755 (frameset-restore, frameset-save, frameset-session-filter-alist):
756 Remove declarations.
757 (register-alist): Doc fix.
758 (frameset-to-register): Move to frameset.el.
759 (jump-to-register, describe-register-1): Remove frameset-specific code.
760
9d3aa82c
JB
7612013-08-08 Juanma Barranquero <lekktu@gmail.com>
762
763 * allout-widgets.el (allout-widgets-pre-command-business)
764 (allout-widgets-post-command-business)
765 (allout-widgets-after-change-handler)
766 (allout-decorate-item-and-context, allout-set-boundary-marker)
767 (allout-body-modification-handler)
768 (allout-graphics-modification-handler): Mark ignored arguments.
769 (allout-widgets-post-command-business)
770 (allout-widgets-exposure-change-processor)
771 (allout-widgets-exposure-undo-processor)
772 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
773 (allout-parse-item-at-point, allout-decorate-item-guides)
774 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
775 * allout.el (epa-passphrase-callback-function): Declare.
776 (allout-overlay-insert-in-front-handler)
777 (allout-overlay-interior-modification-handler)
778 (allout-isearch-end-handler, allout-chart-siblings)
779 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
780 (allout-yank-processing, allout-process-exposed)
781 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 782 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
783 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
784 (lisp-indent-defform): Mark ignored arguments.
785 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
786 (calculate-lisp-indent): Remove unused variables.
787 * international/characters.el (indian-2-column, arabic-2-column)
788 (tibetan): Mark ignored arguments.
789 (use-cjk-char-width-table): Mark ignored arguments.
790 Remove unused variables.
791 * international/fontset.el (build-default-fontset-data)
792 (x-compose-font-name, create-fontset-from-fontset-spec):
793 Mark ignored arguments.
794 (fontset-plain-name): Remove unused variables.
795 * international/mule.el (charset-id, charset-bytes, generic-char-p)
796 (keyboard-coding-system): Mark ignored arguments.
797 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
798 * help.el (resize-temp-buffer-window):
799 * window.el (display-buffer-in-major-side-window)
800 (display-buffer-in-side-window, display-buffer-in-previous-window):
801 Remove unused variables.
802 * isearch.el (isearch-forward-symbol):
803 * version.el (emacs-bzr-version-bzr):
804 * international/mule-cmds.el (current-language-environment):
805 * term/common-win.el (x-handle-iconic, x-handle-geometry)
806 (x-handle-display):
807 * term/pc-win.el (x-list-fonts, x-display-planes)
808 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
809 (x-server-version, x-display-screens, x-display-mm-height)
810 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
811 (x-selection-owner-p, x-own-selection-internal)
812 (x-disown-selection-internal, x-get-selection-internal)
813 (msdos-initialize-window-system):
814 * term/tty-colors.el (tty-color-alist, tty-color-clear):
815 * term/x-win.el (x-handle-no-bitmap-icon):
816 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
817 (vc-default-find-file-hook, vc-default-extra-menu):
818 Mark ignored arguments.
819
0ca3f70e
SM
8202013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
823 break-condition in the context of the debugged code (bug#12685).
824
74c5d24c
CS
8252013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
826
827 * comint.el:
828 Do not use an overlay to highlight the last prompt. (Bug#14744)
829 (comint-mode): Make comint-last-prompt buffer local.
830 (comint-last-prompt): New variable.
831 (comint-last-prompt-overlay): Remove. Superseded by
832 comint-last-prompt.
0ca3f70e
SM
833 (comint-snapshot-last-prompt, comint-output-filter):
834 Use comint-last-prompt.
74c5d24c 835
c03c02ee
JB
8362013-08-08 Juanma Barranquero <lekktu@gmail.com>
837
a3738d20 838 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
839 (frameset-save): Check validity of the resulting frameset.
840
04263d23
XF
8412013-08-08 Xue Fuqiao <xfq.free@gmail.com>
842
843 * ido.el (ido-record-command): Add doc string.
844
76c5e5ab
JB
8452013-08-08 Juanma Barranquero <lekktu@gmail.com>
846
847 * frameset.el (frameset): Do not disable creation of the default
848 frameset-p predicate. Doc fix.
849 (frameset-valid-p): New function, copied from the old predicate-p.
850 Add additional checks.
851 (frameset-restore): Check with frameset-valid-p.
852 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
853 (frameset-name, frameset-description, frameset-properties)
854 (frameset-states): Add docstring.
f9dbf1cb
JB
855 (frameset-session-filter-alist, frameset-persistent-filter-alist)
856 (frameset-filter-alist): Doc fixes.
76c5e5ab 857
bd0c3c0b
JB
8582013-08-08 Juanma Barranquero <lekktu@gmail.com>
859
860 * frameset.el (frameset-p, frameset-prop): Doc fixes.
861
c735544c
SM
8622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
865 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
866 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
867 (byte-compile-normal-call): Remove obsolescence check.
868
2805a651
JB
8692013-08-08 Juanma Barranquero <lekktu@gmail.com>
870
3677ffeb
JB
871 * frameset.el (frameset-restore): Doc fix.
872
2805a651
JB
873 * register.el (frameset-frame-id, frameset-frame-with-id)
874 (frameset-p, frameset-restore, frameset-save): Declare.
875 (register-alist): Document framesets.
876 (frameset-session-filter-alist): Declare.
877 (frameset-to-register): New function.
878 (jump-to-register): Implement jumping to framesets. Doc fix.
879 (describe-register-1): Describe framesets.
880
881 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
882
a912c016
JB
8832013-08-07 Juanma Barranquero <lekktu@gmail.com>
884
885 * desktop.el (desktop-save-frameset): Use new frameset-save args.
886 Use lexical-binding.
887
888 * frameset.el (frameset): Use type vector, not list (incompatible
889 change). Do not declare a new constructor, use the default one.
890 Upgrade suggested properties `app', `name' and `desc' to slots `app',
891 `name' and `description', respectively, and add read-only slot
892 `timestamp'. Doc fixes.
893 (frameset-copy, frameset-persistent-filter-alist)
894 (frameset-filter-alist, frameset-switch-to-gui-p)
895 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
896 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
897 (frameset-filter-iconified, frameset-keep-original-display-p):
898 Doc fixes.
899 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
900 Rename from frameset-filter-(save|restore)-param. All callers changed.
901 Doc fix.
902 (frameset-p): Adapt to change to vector and be more thorough.
903 Change arg name to OBJECT. Doc fix.
904 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
905 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
906 All callers changed.
907 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
908 All callers changed.
909 (frameset--record-minibuffer-relationships): Rename from
910 frameset--process-minibuffer-frames. All callers changed.
911 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
912 Use new default constructor (again). Doc fix.
913 (frameset--find-frame-if): Rename from `frameset--find-frame.
914 All callers changed.
915 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
916 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
917 Doc fix.
918 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
919 PARAMETERS and WINDOW-STATE, respectively.
920 (frameset-restore): Add new keyword argument PREDICATE.
921 Reset frameset--target-display to nil. Doc fix.
922
bb41480a
SM
9232013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
924
f001e98e
SM
925 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
926 (bat-mode): Use it.
927 (bat-mode-syntax-table): Mark \n as end-of-comment.
928 (bat-font-lock-keywords): Remove comment rule.
929
7679edb1
SM
930 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
931 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
932
bb41480a
SM
933 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
934 (byte-compile-callargs-warn): Use `push'.
935 (byte-compile-arglist-warn): Ignore higher-order "calls".
936 (byte-compile-file-form-autoload): Use `pcase'.
937 (byte-compile-function-form): If quoting a symbol, check that it exists.
938
cdc1ebb9
EZ
9392013-08-07 Eli Zaretskii <eliz@gnu.org>
940
941 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
942 and add a few popular commands found in batch files.
943 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
944 (dos-mode): Doc fixes.
945
312b1740
SM
9462013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
949 (dos-mode): Use setq-local. Add space after "rem".
950 (dos-mode-syntax-table): Don't use "w" for symbol chars.
951 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
952
400a3178
AM
9532013-08-07 Arni Magnusson <arnima@hafro.is>
954
955 * progmodes/dos.el: New file.
956 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
957 dos-mode.
958
3b5c03d3
GM
9592013-08-06 Glenn Morris <rgm@gnu.org>
960
961 * calendar/calendar.el: Add new faces, and day-header-array.
962 (calendar-weekday-header, calendar-weekend-header)
963 (calendar-month-header): New faces.
964 (calendar-day-header-construct): New function.
965 (calendar-day-header-width): Also :set calendar-day-header-array.
966 (calendar-american-month-header, calendar-european-month-header)
967 (calendar-iso-month-header): Use calendar- faces.
968 (calendar-generate-month):
969 Use calendar-day-header-array for day headers; apply faces to them.
970 (calendar-mode): Check calendar-font-lock-keywords non-nil.
971 (calendar-abbrev-construct): Add optional maxlen argument.
972 (calendar-day-name-array): Doc fix.
973 (calendar-day-name-array, calendar-abbrev-length)
974 (calendar-day-abbrev-array):
975 Also :set calendar-day-header-array, and maybe redraw.
976 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 977 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
978 (calendar-day-name): Add option to use header array.
979
ec6a2d7a
LMI
9802013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
981
982 * net/shr.el (shr-render-td): Remove debugging.
983 (shr-render-td): Make width computation consistent by defaulting
984 all zero-width columns to 10 characters. This may not be optimal,
985 but it's at least consistent.
2122cb6d
LMI
986 (shr-make-table-1): Redo last change to fix the real problem in
987 colspan handling.
ec6a2d7a 988
ed4fd9c5
DA
9892013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
990
0ca3f70e
SM
991 * files.el (cache-long-line-scans):
992 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 993
64e22afe
JB
9942013-08-06 Juanma Barranquero <lekktu@gmail.com>
995
024b38fc
JB
996 * frameset.el (frameset, frameset-filter-alist)
997 (frameset-filter-params, frameset-save, frameset--reuse-frame)
998 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
999 (frameset-compute-pos): Rename from frameset--compute-pos,
1000 and add docstring.
1001 (frameset-move-onscreen): Use frameset-compute-pos.
1002 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1003
64e22afe
JB
1004 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1005 Fix typos in docstrings.
1006
c8c2aca8
DA
10072013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1008
1009 * frame.el (get-other-frame): Tiny cleanup.
1010
1d237bba
JB
10112013-08-06 Juanma Barranquero <lekktu@gmail.com>
1012
8951efef
JB
1013 * vc/vc.el (vc-default-ignore-completion-table):
1014 Silence byte-compiler warning.
1015
307764cc
JB
1016 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1017 slot , which can indeed be nil.
1018 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1019 Move entry for `left' from persistent to live filter alist.
1020 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1021 Doc fixes.
1022 (frameset-filter-params): When restoring a frame, copy items added to
1023 `filtered', to avoid unwittingly modifying the original parameters.
1024 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1025 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1026
1d237bba
JB
1027 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1028 to use looking-at-p instead of looking-at. (Bug#15028)
1029
dc6c0eda
SM
10302013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 Revert introduction of isearch-filter-predicates (bug#14714).
1033 Rely on add-function instead.
1034 * isearch.el (isearch-filter-predicates): Rename it back to
1035 isearch-filter-predicate.
1036 (isearch-message-prefix): Use advice-function-mapc and advice
1037 properties to get the isearch-message-prefix.
1038 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1039 instead of run-hook-with-args-until-failure.
1040 (isearch-filter-visible): Not obsolete any more.
1041 * loadup.el: Preload nadvice.
1042 * replace.el (perform-replace): Revert to funcall
1043 instead of run-hook-with-args-until-failure.
1044 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1045 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1046 dired-isearch-filenames-toggle; make it into a proper minor mode.
1047 Use add/remove-function.
1048 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1049 Call the minor-mode rather than add/remove-hook.
1050 (dired-isearch-filter-filenames):
1051 Remove isearch-message-prefix property.
1052 * info.el (Info--search-loop): New function, extracted from Info-search.
1053 Funcall isearch-filter-predicate instead of
1054 run-hook-with-args-until-failure isearch-filter-predicates.
1055 (Info-search): Use it.
1056 (Info-mode): Use isearch-filter-predicate instead of
1057 isearch-filter-predicates.
1058
290d5b58
DA
10592013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1060
1061 Do not call to `selected-window' where it is assumed by default.
1062 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1063 `window-hscroll', `window-width', `window-height', `window-buffer',
1064 `window-frame', `window-start', `window-point', `next-window'
1065 and `window-display-table'.
1066 * abbrev.el (abbrev--default-expand):
1067 * bs.el (bs--show-with-configuration):
1068 * buff-menu.el (Buffer-menu-mouse-select):
1069 * calc/calc.el (calc):
1070 * calendar/calendar.el (calendar-generate-window):
1071 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1072 (diary-make-entry):
1073 * comint.el (send-invisible, comint-dynamic-complete-filename)
1074 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1075 * completion.el (complete):
1076 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1077 * disp-table.el (describe-current-display-table):
1078 * doc-view.el (doc-view-insert-image):
1079 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1080 * ehelp.el (with-electric-help):
1081 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1082 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1083 * emacs-lisp/helper.el (Helper-help-scroller):
1084 * emulation/cua-base.el (cua--post-command-handler-1):
1085 * eshell/esh-mode.el (eshell-output-filter):
1086 * ffap.el (ffap-gnus-wrapper):
1087 * help-macro.el (make-help-screen):
1088 * hilit-chg.el (highlight-compare-buffers):
1089 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1090 * hl-line.el (global-hl-line-highlight):
1091 * icomplete.el (icomplete-simple-completing-p):
1092 * isearch.el (isearch-done):
1093 * jit-lock.el (jit-lock-stealth-fontify):
1094 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1095 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1096 * mpc.el (mpc-tagbrowser, mpc):
1097 * net/rcirc.el (rcirc-any-buffer):
1098 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1099 * play/landmark.el (landmark-max-width, landmark-max-height):
1100 * play/zone.el (zone):
1101 * progmodes/compile.el (compilation-goto-locus):
1102 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1103 * progmodes/etags.el (find-tag-other-window):
1104 * progmodes/fortran.el (fortran-column-ruler):
1105 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1106 * progmodes/verilog-mode.el (verilog-point-text):
1107 * reposition.el (reposition-window):
1108 * rot13.el (toggle-rot13-mode):
1109 * server.el (server-switch-buffer):
1110 * shell.el (shell-dynamic-complete-command)
1111 (shell-dynamic-complete-environment-variable):
1112 * simple.el (insert-buffer, set-selective-display)
1113 (delete-completion-window):
1114 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1115 (speedbar-recenter):
1116 * startup.el (fancy-splash-head):
1117 * textmodes/ispell.el (ispell-command-loop):
1118 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1119 * tutorial.el (help-with-tutorial):
1120 * vc/add-log.el (add-change-log-entry):
1121 * vc/compare-w.el (compare-windows):
1122 * vc/ediff-help.el (ediff-indent-help-message):
1123 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1124 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1125 (ediff-setup-control-frame):
1126 * vc/emerge.el (emerge-position-region):
1127 * vc/pcvs-util.el (cvs-bury-buffer):
1128 * window.el (walk-windows, mouse-autoselect-window-select):
1129 * winner.el (winner-set-conf, winner-undo): Related users changed.
1130
38276e01
JB
11312013-08-05 Juanma Barranquero <lekktu@gmail.com>
1132
1133 * frameset.el (frameset--set-id): Doc fix.
1134 (frameset-frame-id, frameset-frame-id-equal-p)
1135 (frameset-locate-frame-id): New functions.
1136 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1137 (frameset-restore): Use them.
1138
12b4c0ea
DA
11392013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1140
1141 Do not call to `selected-frame' where it is assumed by default.
1142 Affected functions are `raise-frame', `redraw-frame',
1143 `frame-first-window', `frame-terminal' and `delete-frame'.
1144 * calendar/appt.el (appt-disp-window):
1145 * epg.el (epg-wait-for-completion):
1146 * follow.el (follow-delete-other-windows-and-split)
1147 (follow-avoid-tail-recenter):
1148 * international/mule.el (set-terminal-coding-system):
1149 * mail/rmail.el (rmail-mail-return):
1150 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1151 * progmodes/f90.el (f90-add-imenu-menu):
1152 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1153 * server.el (server-switch-buffer):
1154 * simple.el (delete-completion-window):
1155 * talk.el (talk):
1156 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1157 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1158 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1159 * vc/ediff.el (ediff-documentation): Related users changed.
1160 * frame.el (selected-terminal): Remove the leftover.
1161
17f25e76
GM
11622013-08-05 Glenn Morris <rgm@gnu.org>
1163
1164 * calendar/calendar.el (calendar-generate-month):
1165 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
1166 (calendar-generate-month, calendar-font-lock-keywords):
1167 Fix for calendar-day-header-width > length of any day name.
17f25e76 1168
063233c3
JB
11692013-08-05 Juanma Barranquero <lekktu@gmail.com>
1170
1171 * desktop.el (desktop-clear): Use new name of sort predicate.
1172
1173 * frameset.el (frameset): Add docstring. Move :version property to its
1174 own `version' slot.
1175 (frameset-copy): Rename from copy-frameset.
1176 (frameset-p): Check more thoroughly.
1177 (frameset-prop): Do not check for :version, which is no longer a prop.
1178 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1179 Use new :never value instead of t.
1180 (frameset-filter-alist): Expand and clarify docstring.
1181 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1182 (frameset-filter-minibuffer, frameset-filter-save-param)
1183 (frameset-filter-restore-param, frameset-filter-iconified):
1184 Add pointer to docstring of frameset-filter-alist.
1185 (frameset-filter-params): Rename filter values to be more meaningful:
1186 :never instead of t, and reverse the meanings of :save and :restore.
1187 (frameset--process-minibuffer-frames): Clarify error message.
1188 (frameset-save): Avoid unnecessary and confusing call to framep.
1189 Use new BOA constructor for framesets.
1190 (frameset--reuse-list): Doc fix.
1191 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1192 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1193 (frameset-minibufferless-first-p): Doc fix.
1194 Rename from frameset-sort-frames-for-deletion.
1195 (frameset-restore): Doc fixes. Use new function names.
1196 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1197
d5671a82
JB
11982013-08-04 Juanma Barranquero <lekktu@gmail.com>
1199
1200 * desktop.el (desktop-restore-forces-onscreen)
1201 (desktop-restore-reuses-frames): Document :keyword constant values.
1202 (desktop-filter-parameters-alist): Remove, now identical to
1203 frameset-filter-alist.
1204 (desktop--filter-tty*): Remove, moved to frameset.el.
1205 (desktop-save-frameset, desktop-restore-frameset):
1206 Do not pass :filters argument.
1207
1208 * frameset.el (frameset-live-filter-alist)
1209 (frameset-persistent-filter-alist): New variables.
1210 (frameset-filter-alist): Use them. Add autoload cookie.
1211 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1212 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1213 `frameset--id' (it's supposed to be internal to frameset.el).
1214 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1215 (frameset--initial-params): New function.
1216 (frameset--get-frame): Use it. Doc fix.
1217 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1218 Accept :all, not 'all.
1219 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1220 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1221 with fbound symbols. Fix frame id matching, and remove matching ids if
1222 the frame being restored is deleted. Obey :delete.
1223
671d5c16
SM
12242013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * subr.el (macrop): New function.
1227 (text-clone--maintaining): New var.
1228 (text-clone--maintain): Rename from text-clone-maintain. Use it
1229 instead of inhibit-modification-hooks.
1230
1231 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1232 a proxy, so as handle autoloads and redefinitions of the target.
1233 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1234
1235 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1236 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1237 (pcase--mutually-exclusive-p): New function.
1238 (pcase--split-consp): Use it.
1239 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1240 mutually exclusive with the current predicate.
1241
1242 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1243 (edebug-macrop): Remove. Use `macrop' instead.
1244 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1245 (ad-macro-p):
1246 * eshell/esh-cmd.el (eshell-macrop):
1247 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1248
1d44e9dc
SM
12492013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1252 (advice-mapc): New function, using it.
1253 (advice-function-member-p): New function.
1254 (advice--normalize): Store the cdr in advice--saved-rewrite since
1255 that's the part that will be changed.
1256 (advice--symbol-function): New function.
1257 (advice-remove): Handle removal before the function is defined.
1258 Adjust to new advice--saved-rewrite.
1259 (advice-member-p): Use advice-function-member-p and
1260 advice--symbol-function.
1261
5414a283
JB
12622013-08-04 Juanma Barranquero <lekktu@gmail.com>
1263
51d30f2c
JB
1264 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1265 (frameset-filter-minibuffer): Doc fix.
1266 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
1267 (frameset--set-id, frameset--process-minibuffer-frames)
1268 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1269 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 1270
5414a283
JB
1271 * desktop.el (desktop-clear): Only delete frames when called
1272 interactively and desktop-restore-frames is non-nil. Doc fix.
1273 (desktop-read): Set desktop-saved-frameset to nil.
1274
ab419665
XF
12752013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1276
1277 * vc/vc.el (vc-ignore): Rewrite.
1278 (vc-default-ignore-completion-table):
1279 (vc--read-lines):
1280 (vc--add-line, vc--remove-regexp): New functions.
1281
1282 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1283 (vc-svn-ignore-completion-table): New function.
1284
1285 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1286 (vc-hg-ignore-completion-table):
1287 (vc-hg-find-ignore-file): New functions.
1288
1289 * vc/vc-git.el (vc-git-ignore): Rewrite.
1290 (vc-git-ignore-completion-table):
1291 (vc-git-find-ignore-file): New functions.
1292
1293 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1294
1295 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1296 (vc-bzr-ignore-completion-table):
1297 (vc-bzr-find-ignore-file): New functions.
1298
2613dea2
JB
12992013-08-03 Juanma Barranquero <lekktu@gmail.com>
1300
1301 * frameset.el (frameset-prop): New function and setter.
1302 (frameset-save): Do not modify frame list passed by the caller.
1303
9c959872
SM
13042013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1307
a104f656
SM
13082013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1309
70122acf
SM
1310 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1311 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1312
a104f656
SM
1313 * custom.el (custom-initialize-default, custom-initialize-set)
1314 (custom-initialize-reset, custom-initialize-changed): Affect the
1315 toplevel-default-value (bug#6275, bug#14586).
1316 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1317 for bug#6275.
1318
f078d570
JB
13192013-08-02 Juanma Barranquero <lekktu@gmail.com>
1320
185e3b5a
JB
1321 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1322 Add cl-def* expressions.
1323
f078d570
JB
1324 * frameset.el (frameset-filter-params): Fix order of arguments.
1325
9421876d
JB
13262013-08-02 Juanma Barranquero <lekktu@gmail.com>
1327
1328 Move code related to saving frames to frameset.el.
1329 * desktop.el: Require frameset.
1330 (desktop-restore-frames): Doc fix.
1331 (desktop-restore-reuses-frames): Rename from
1332 desktop-restoring-reuses-frames.
1333 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1334 (desktop-clear): Clear frames too.
1335 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1336 (desktop--filter-tty*, desktop-save, desktop-read):
1337 Use frameset functions.
1338 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1339 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1340 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1341 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1342 (desktop--process-minibuffer-frames, desktop-save-frames)
1343 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1344 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1345 (desktop--sort-states, desktop-restoring-frames-p)
1346 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1347 (desktop-restoring-frameset-p, desktop-restore-frameset)
1348 (desktop--check-dont-save, desktop-save-frameset): New functions.
1349 (desktop--app-id): New constant.
1350 (desktop-first-buffer, desktop-buffer-ok-count)
1351 (desktop-buffer-fail-count): Move before first use.
1352 * frameset.el: New file.
1353
76dc5996
SM
13542013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * files.el: Use lexical-binding.
1357 (dir-locals-read-from-file): Remove unused `err' variable.
1358 (hack-dir-local-variables--warned-coding): New var.
1359 (hack-dir-local-variables): Use it to avoid repeated warnings.
1360 (make-backup-file-name--default-function): New function.
1361 (make-backup-file-name-function): Use it as default.
1362 (buffer-stale--default-function): New function.
1363 (buffer-stale-function): Use it as default.
1364 (revert-buffer-insert-file-contents--default-function): New function.
1365 (revert-buffer-insert-file-contents-function): Use it as default.
1366 (insert-directory): Avoid add-to-list.
1367
1368 * autorevert.el (auto-revert-handler): Simplify.
1369 Use buffer-stale--default-function.
1370
06d36e2b
TH
13712013-08-01 Tassilo Horn <tsdh@gnu.org>
1372
5f648ab4
TH
1373 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1374
06d36e2b
TH
1375 * whitespace.el (whitespace-ensure-local-variables): New function.
1376 (whitespace-cleanup-region): Call it.
1377 (whitespace-turn-on): Call it.
1378
a43dc424
MA
13792013-08-01 Michael Albinus <michael.albinus@gmx.de>
1380
1381 Complete file name handlers.
1382
1383 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1384 (tramp-handle-verify-visited-file-modtime)
1385 (tramp-handle-file-notify-rm-watch): New functions.
1386 (tramp-call-process): Do not bind `default-directory'.
1387
44e18199
JB
1388 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1389 Order alphabetically.
a43dc424
MA
1390 [access-file, add-name-to-file, dired-call-process]:
1391 [dired-compress-file, file-acl, file-notify-rm-watch]:
1392 [file-ownership-preserved-p, file-selinux-context]:
1393 [make-directory-internal, make-symbolic-link, set-file-acl]:
1394 [set-file-selinux-context, set-visited-file-modtime]:
1395 [verify-visited-file-modtime]: Add handler.
1396 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1397
1398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1399 [file-notify-add-watch, file-notify-rm-watch]:
1400 [set-file-times, set-visited-file-modtime]:
1401 [verify-visited-file-modtime]: Add handler.
1402 (with-tramp-gvfs-error-message)
1403 (tramp-gvfs-handle-set-visited-file-modtime)
1404 (tramp-gvfs-fuse-file-name): Remove.
1405 (tramp-gvfs-handle-file-notify-add-watch)
1406 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1407 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1408
44e18199
JB
1409 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1410 Order alphabetically.
a43dc424
MA
1411 [file-notify-rm-watch ]: Use default Tramp handler.
1412 [executable-find]: Remove private handler.
1413 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1414 `default-directory'.
1415 (tramp-sh-handle-executable-find)
1416 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1417 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1418 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1419 Do not use `format' in `tramp-message'.
1420
1421 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1422 [file-notify-rm-watch, set-visited-file-modtime]:
1423 [verify-visited-file-modtime]: Add handler.
1424 (tramp-smb-call-winexe): Do not bind `default-directory'.
1425
7188b515
XF
14262013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1427
1428 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1429
2412ee1a
DG
14302013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1431
1432 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1433 use it.
1434 (log-view-diff-changeset): Same.
1435 (log-view-diff-common): Call backend command `previous-revision'
1436 to find out the previous revision, in both cases. Swap the
1437 variables `to' and `fr', so that `fr' usually refers to the
1438 earlier revision (Bug#14989).
1439
5002a754
KRC
14402013-07-31 Kan-Ru Chen <kanru@kanru.info>
1441
1442 * ibuf-ext.el (ibuffer-filter-by-filename):
1443 Make it work with dired buffers too.
1444
44e18199 14452013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
1446
1447 * emacs-lisp/re-builder.el (reb-color-display-p):
1448 * files.el (save-buffers-kill-terminal):
1449 * net/browse-url.el (browse-url):
1450 * server.el (server-save-buffers-kill-terminal):
1451 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1452 Prefer nil to selected-frame for the first arg of frame-parameter.
1453
aeca3fbb
XF
14542013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1455
1456 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1457
158bc55c
SB
14582013-07-30 Stephen Berman <stephen.berman@gmx.net>
1459
1460 * minibuffer.el (completion--twq-all): Try and preserve each
1461 completion's case choice (bug#14907).
1462
d50fceab
LMI
14632013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1464
ac38e731
LMI
1465 * net/network-stream.el (open-network-stream): Mention the new
1466 :nogreeting parameter.
1467 (network-stream-open-starttls): Use the :nogreeting parameter
1468 (bug#14938).
1469
1211de50
LMI
1470 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1471
997798bf
LMI
1472 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1473 more natural than popping.
1474
d50fceab 1475 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 1476 (shr-urlify): Highlight under mouse.
d50fceab 1477
5c09de04
XF
14782013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1479
207d1d04
XF
1480 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1481
1482 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1483
5c09de04
XF
1484 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1485 buffer for output.
1486
3cd51eaa
XF
1487 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1488 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 1489
44e18199 1490 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 1491 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
1492
1493 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1494
1495 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1496 buffer for output.
1497
35a89bdd
EZ
14982013-07-29 Eli Zaretskii <eliz@gnu.org>
1499
1500 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1501 initial frame is minibuffer-less. (Bug#14841)
1502
78822e94
MA
15032013-07-29 Michael Albinus <michael.albinus@gmx.de>
1504
1505 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1506 option.
1507
1508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1509 (tramp-maybe-open-connection): Use it.
1510
9503c190
JB
15112013-07-28 Juanma Barranquero <lekktu@gmail.com>
1512
1513 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1514 minimal set of parameters passed when creating a frame, because
1515 the minibuffer status of a frame cannot be changed later.
1516
d5a845b4
SB
15172013-07-28 Stephen Berman <stephen.berman@gmx.net>
1518
1519 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1520 replace-regexp-in-string and inadvertent omissions in previous change.
1521 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 1522 name of filtered items buffer.
d5a845b4 1523
ddeffb17
JB
15242013-07-28 Juanma Barranquero <lekktu@gmail.com>
1525
1526 * desktop.el: Optionally force offscreen frames back onscreen.
1527 (desktop-restoring-reuses-frames): New option.
1528 (desktop--compute-pos, desktop--move-onscreen): New functions.
1529 (desktop--make-frame): Use desktop--move-onscreen.
1530
f5950f7a
AM
15312013-07-27 Alan Mackenzie <acm@muc.de>
1532
1533 Fontify a Java generic method as a function.
1534 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1535 value to t.
1536
ae43b66a
SB
15372013-07-27 Stephen Berman <stephen.berman@gmx.net>
1538
1539 * calendar/todo-mode.el: Add command to rename todo files.
1540 (todo-rename-file): New command.
1541 (todo-key-bindings-t): Add key binding for it. Change the
1542 bindings of todo-filter-regexp-items(-multifile) to use `x'
1543 instead of `r', since the latter is better suited to the new
1544 renaming command.
1545
5ab78d3d
AM
15462013-07-27 Alan Mackenzie <acm@muc.de>
1547
1548 Make Java try-with-resources statement parse properly.
1549 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1550 (c-block-stmt-1-2-key): New language constants/variables.
1551 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1552 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1553 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 1554 with c-block-stmt-1-2-key.
5ab78d3d 1555
d85c4d50
JB
15562013-07-27 Juanma Barranquero <lekktu@gmail.com>
1557
1558 * desktop.el (desktop--make-frame): Apply most frame parameters after
1559 creating the frame to force (partially or totally) offscreen frames to
1560 be restored as such.
1561
e4c467f9
XF
15622013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1563
1564 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 1565 (Bug#14948)
e4c467f9 1566
7ced0d04
SM
15672013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1570 `base' arg of backtrace-frame.
1571
fec92060
EZ
15722013-07-26 Eli Zaretskii <eliz@gnu.org>
1573
1574 * simple.el (list-processes): Doc fix.
1575
d58d31fb
JB
15762013-07-26 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * desktop.el (desktop--select-frame):
d85c4d50 1579 Try harder to reuse existing frames.
d58d31fb 1580
53ff3e77
SM
15812013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1584 (edebug-eval): Use backtrace-eval.
1585 (edebug--display, edebug--recursive-edit): Don't let-bind the
1586 edebug-outer-* vars that keep track of variables we locally let-bind.
1587 (edebug-outside-excursion): Don't restore outside values of locally
1588 let-bound vars.
1589 (edebug--display): Use user-error.
1590 (cl-lexical-debug, cl-debug-env): Remove.
1591
045f7a53
JB
15922013-07-26 Juanma Barranquero <lekktu@gmail.com>
1593
1594 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1595 are restored to be sure that they are visible before deleting any
1596 remaining ones.
1597
59070b32
MM
15982013-07-26 Matthias Meulien <orontee@gmail.com>
1599
742a3501
XF
1600 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1601 vc-print-root-log. (Bug#14948)
59070b32 1602
b1fb3596
RS
16032013-07-26 Richard Stallman <rms@gnu.org>
1604
1605 Add aliases for encrypting mail.
1606 * epa.el (epa-mail-aliases): New option.
1607 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1608 Bind inhibit-read-only so read-only text doesn't ruin everything.
1609 (epa-mail-default-recipients): New subroutine broken out.
1610 Handle epa-mail-aliases.
1611
56ea7291
SM
16122013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 Add support for lexical variables to the debugger's `e' command.
1615 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1616 vars, except for debugger-outer-match-data.
1617 (debugger-frame-number): Move check for "on a function call" from
1618 callers into it. Add `skip-base' argument.
1619 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1620 (debugger-env-macro): Only reset the state stored in non-variables,
1621 i.e. current-buffer and match-data.
1622 (debugger-eval-expression): Rewrite using backtrace-eval.
1623 * subr.el (internal--called-interactively-p--get-frame): Remove.
1624 (called-interactively-p):
1625 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1626 `base' arg of backtrace-frame instead.
1627
15ac32d5
GM
16282013-07-26 Glenn Morris <rgm@gnu.org>
1629
8358a09d
GM
1630 * align.el (align-regexp): Doc fix. (Bug#14857)
1631 (align-region): Explicit error if subexpression missing/does not match.
1632
15ac32d5
GM
1633 * simple.el (global-visual-line-mode):
1634 Do not duplicate the mode lighter. (Bug#14858)
1635
f47ad11b
MR
16362013-07-25 Martin Rudalics <rudalics@gmx.at>
1637
1638 * window.el (display-buffer): In display-buffer bind
1639 split-window-keep-point to t, bug#14829.
1640
02530987
JB
16412013-07-25 Juanma Barranquero <lekktu@gmail.com>
1642
1643 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1644 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1645 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1646 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1647 Change accordingly.
f63ebeb5
JB
1648 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1649 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 1650
6ccb9cab 16512013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 1652
6ccb9cab 1653 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 1654
cb3a56d2
JB
16552013-07-25 Juanma Barranquero <lekktu@gmail.com>
1656
1657 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1658 parameter to modify-frame-parameters if the value has not changed;
1659 this is a workaround for bug#14949.
1660 (desktop--make-frame): On cl-delete-if call, check parameter name,
1661 not full parameter.
1662
7aa7fff0
XF
16632013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1664
1665 * vc/vc.el (vc-ignore): New function.
1666
1667 * vc/vc-svn.el (vc-svn-ignore): New function.
1668
1669 * vc/vc-hg.el (vc-hg-ignore): New function.
1670
1671 * vc/vc-git.el (vc-git-ignore): New function.
1672
1673 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1674 (vc-dir-ignore): New function.
1675
1676 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 1677 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
1678
1679 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1680
1681 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1682
889acc5c
JB
16832013-07-24 Juanma Barranquero <lekktu@gmail.com>
1684
1685 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1686 (desktop-restore-frames): Warn when deleting an existing frame failed.
1687
86c40970
GM
16882013-07-24 Glenn Morris <rgm@gnu.org>
1689
1690 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1691
d5d3c58a
MA
16922013-07-24 Michael Albinus <michael.albinus@gmx.de>
1693
1694 * filenotify.el (file-notify-supported-p):
1695 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1696 Remove functions.
1697
1698 * autorevert.el (auto-revert-use-notify):
1699 (auto-revert-notify-add-watch):
1700 * net/tramp.el (tramp-file-name-for-operation):
1701 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1703 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1704 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1705 Remove `file-notify-supported-p' entry.
1706
d100084b
GM
17072013-07-24 Glenn Morris <rgm@gnu.org>
1708
1709 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 1710 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 1711
ac93e56b
SM
17122013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1713
249eea30
SM
1714 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1715 checked with memq (bug#14935).
1716
ac93e56b
SM
1717 * files.el (revert-buffer-function): Use a non-nil default.
1718 (revert-buffer-preserve-modes): Declare var to
1719 provide access to the `preserve-modes' argument.
1720 (revert-buffer): Let-bind it.
1721 (revert-buffer--default): New function, extracted from revert-buffer.
1722
2cdeb903
SM
17232013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * lpr.el: Signal print errors more prominently.
1726 (print-region-function): Don't default to nil.
1727 (lpr-print-region): New function, extracted from print-region-1.
1728 Check lpr's return value and signal an error in case of problem.
1729 (print-region-1): Use it.
1730 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1731 versions instead.
1732 (ps-printer-name): Default to nil.
1733 (ps-printer-name-option): Default to lpr-printer-switch.
1734 (ps-print-region-function): Don't default to nil.
1735 (ps-postscript-code-directory): Simplify default.
1736 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1737 (ps-string-list, ps-eval-switch, ps-flatten-list)
1738 (ps-flatten-list-1): Remove.
1739 (ps-multibyte-buffer): Avoid setq.
1740 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1741 (print-region-function, ps-print-region-function): Don't set them here.
1742
73600831
XF
17432013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1744
0e55c076
XF
1745 * ido.el (ido-fractionp):
1746 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1747 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1748 (ido-max-directory-size, ido-max-dir-file-cache)
1749 (ido-decorations): Doc fix.
1750
73600831
XF
1751 * ansi-color.el: Fix old URL.
1752
3d012865
MM
17532013-07-23 Michael R. Mauger <michael@mauger.com>
1754
1755 * progmodes/sql.el Version 3.3
1756 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1757 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1758 (sql-interactive-remove-continuation-prompt): Rewrite, use
1759 functions above. Fix continuation prompt and complete output line
1760 handling.
1761 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1762 redirected output buffer.
1763 (sql-mode): Restore deleted code (Bug#13591).
1764
da77a2e2
JB
17652013-07-23 Juanma Barranquero <lekktu@gmail.com>
1766
1767 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1768
80ff0c71
MA
17692013-07-23 Michael Albinus <michael.albinus@gmx.de>
1770
1771 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1772
1773 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1774 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1775 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1776
b61d71e4
JB
17772013-07-23 Juanma Barranquero <lekktu@gmail.com>
1778
1779 * desktop.el (desktop-clear): Simplify; remove useless checks
1780 against invalid buffer names.
1781 (desktop-list*): Use cl-list*.
1782 (desktop-buffer-info, desktop-create-buffer): Simplify.
1783
c3512092
LL
17842013-07-23 Leo Liu <sdl.web@gmail.com>
1785
1786 * bookmark.el (bookmark-make-record): Restore NAME as a default
1787 value. (Bug#14933)
1788
0ac26976
SM
17892013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1790
7d22ce18
SM
1791 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1792 extracted from autoload--insert-text.
1793 (autoload--insert-text): Remove.
1794 (autoload--print-cookie-text): New function, extracted from
1795 autoload--insert-cookie-text.
1796 (autoload--insert-cookie-text): Remove.
1797 (autoload-generate-file-autoloads): Adjust calls accordingly.
1798
9b2607e8
SM
1799 * winner.el (winner-hook-installed-p): Remove.
1800 (winner-mode): Simplify accordingly.
1801
c43a8618
SM
1802 * subr.el (add-to-list): Fix compiler-macro when `append' is
1803 not constant. Don't use `cl-member' for the base case.
1804
0ac26976
SM
1805 * progmodes/subword.el: Fix boundary case (bug#13758).
1806 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1807 own group.
1808 (subword-backward-regexp): Make it a constant.
1809 (subword-forward-internal): Don't treat a trailing capital as the
1810 beginning of a word.
1811
6874724a
AR
18122013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1813
1814 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1815 global value of tabulated-list-revert-hook (bug#14930).
1816
70f1b5e8
JB
18172013-07-22 Juanma Barranquero <lekktu@gmail.com>
1818
a1c80d9d
JB
1819 * desktop.el: Require 'cl-lib.
1820 (desktop-before-saving-frames-functions): New hook.
1821 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1822 for frames being saved. Rename from desktop--save-minibuffer-frames.
1823 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
1824 Do not save frames with non-nil `desktop-dont-save' parameter.
1825 Filter out deleted frames.
a1c80d9d
JB
1826 (desktop--find-frame): Use cl-find-if.
1827 (desktop--select-frame): Use cl-(first|second|third) to access values
1828 of desktop-mini.
1829 (desktop--make-frame): Use cl-delete-if.
1830 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1831 (desktop-restore-frames): Use cl-(first|second|third) to access values
1832 of desktop-mini. Look for visible frame at the end, not while
1833 restoring frames.
1834
70f1b5e8
JB
1835 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1836 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1837 Use string-match-p, looking-at-p (bug#14927).
1838
728dc3cc
JB
18392013-07-21 Juanma Barranquero <lekktu@gmail.com>
1840
56bc453c
JB
1841 * desktop.el (desktop-saved-frame-states):
1842 Rename from desktop--saved-states; all users changed.
1843 (desktop-save-frames): Rename from desktop--save-frames.
1844 Do not save state to desktop file.
1845 (desktop-save): Save desktop-saved-frame-states to desktop file
1846 and reset to nil.
1847 (desktop-restoring-frames-p): New function.
1848 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1849 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1850 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1851
728dc3cc
JB
1852 * desktop.el: Correctly restore iconified frames.
1853 (desktop--filter-iconified-position): New function.
1854 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1855
862f1c9c
GM
18562013-07-20 Glenn Morris <rgm@gnu.org>
1857
c4074c9f
GM
1858 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1859 Let `message' do the formatting.
1860 (def-gdb-preempt-display-buffer): Add explicit format.
1861
d828e5f9
GM
1862 * image-dired.el (image-dired-track-original-file):
1863 Use with-current-buffer.
1864 (image-dired-track-thumbnail): Use with-current-buffer.
1865 Avoid changing point of wrong window.
1866
862f1c9c
GM
1867 * image-dired.el (image-dired-track-original-file):
1868 Avoid changing point of wrong window. (Bug#14909)
1869
f0398ec1 18702013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
1871
1872 * progmodes/gdb-mi.el (gdb-done-or-error):
1873 Guard against "%" in gdb output. (Bug#14127)
1874
1451928f
AS
18752013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1876
763a086d
JB
1877 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1878 (Bug#14826)
f7a03897 1879
1451928f
AS
1880 * international/mule.el (coding-system-iso-2022-flags): Fix last
1881 change.
1882
99107004
KH
18832013-07-20 Kenichi Handa <handa@gnu.org>
1884
763a086d
JB
1885 * international/mule.el (coding-system-iso-2022-flags):
1886 Add `8-bit-level-4'. (Bug#8522)
99107004 1887
48494e06
LMI
18882013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1889
8ba8eec5
LMI
1890 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1891 (bug#14815).
1892
dfbc66e3
LMI
1893 * net/eww.el (eww-process-text-input): Allow inputting when the
1894 point is at the start of the line, as the properties aren't
1895 front-sticky.
1896
48494e06
LMI
1897 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1898 degenerate widths.
1899
77c92cb9
RS
19002013-07-19 Richard Stallman <rms@gnu.org>
1901
aec7da77
RS
1902 * epa.el (epa-popup-info-window): Doc fix.
1903
77c92cb9
RS
1904 * subr.el (split-string): New arg TRIM.
1905
945c5bb1
JB
19062013-07-18 Juanma Barranquero <lekktu@gmail.com>
1907
1908 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1909 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1910
e06ec67f
MA
19112013-07-18 Michael Albinus <michael.albinus@gmx.de>
1912
c7064f05 1913 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
1914 `file-notify-support'. Do not autoload. Adapt all uses.
1915 (file-notify-supported-p): New defun.
1916
c7064f05
JB
1917 * autorevert.el (auto-revert-use-notify):
1918 Use `file-notify-supported-p' instead of `file-notify-support'.
1919 Adapt docstring.
e06ec67f
MA
1920 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1921
1922 * net/tramp.el (tramp-file-name-for-operation):
1923 Add `file-notify-supported-p'.
1924
1925 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1926 New defun.
1927 (tramp-sh-file-name-handler-alist): Add it as handler for
1928 `file-notify-supported-p '.
1929
1930 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1932 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1933 Add `ignore' as handler for `file-notify-*' functions.
1934
5dc8a629
EZ
19352013-07-17 Eli Zaretskii <eliz@gnu.org>
1936
1937 * simple.el (line-move-partial, line-move): Don't start vscroll or
1938 scroll-up if the current line is not taller than the window.
1939 (Bug#14881)
1940
77aea2fb
DG
19412013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1944 highlight question marks in the method names as strings.
ac72c08d
DG
1945 (ruby-block-beg-keywords): Inline.
1946 (ruby-font-lock-keyword-beg-re): Extract from
1947 `ruby-font-lock-keywords'.
77aea2fb 1948
18c26d81
JD
19492013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1950
1951 * frame.el (blink-cursor-blinks): New defcustom.
1952 (blink-cursor-blinks-done): New defvar.
1953 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1954 (blink-cursor-timer-function): Check if number of blinks has been
1955 done on X and NS.
1956 (blink-cursor-suspend, blink-cursor-check): New defuns.
1957
da48522e
GM
19582013-07-15 Glenn Morris <rgm@gnu.org>
1959
1960 * edmacro.el (edmacro-format-keys): Fix previous change.
1961
0463c1ef
PE
19622013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1963
1964 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1965 The hack didn't work outside English locales anyway.
1966
b43f6451
JB
19672013-07-15 Juanma Barranquero <lekktu@gmail.com>
1968
1969 * simple.el (define-alternatives): Rename from alternatives-define,
1970 per RMS' suggestion.
1971
b958c0ad
JB
19722013-07-14 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * desktop.el (desktop-restore-frames): Change default to t.
1975 (desktop-restore-in-current-display): Now offer more options.
1976 (desktop-restoring-reuses-frames): New customization option.
1977 (desktop--saved-states): Doc fix.
1978 (desktop-filter-parameters-alist): New variable, renamed and expanded
1979 from desktop--excluded-frame-parameters.
1980 (desktop--target-display): New variable.
1981 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1982 (desktop--filter-tty*, desktop--filter-*-color)
1983 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1984 (desktop--filter-save-desktop-parm)
1985 (desktop-restore-in-original-display-p): New functions.
1986 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1987 (desktop--save-minibuffer-frames): New function, inspired by a similar
1988 function from Martin Rudalics.
1989 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1990 (desktop--restore-in-this-display-p): Remove.
1991 (desktop--find-frame): Rename from desktop--find-frame-in-display
1992 and add predicate argument.
1993 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1994 (desktop--reuse-list): New variable.
1995 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1996 New functions.
1997 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1998
f6dd8b36
MA
19992013-07-14 Michael Albinus <michael.albinus@gmx.de>
2000
2001 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2002
2ce3c565
DG
20032013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2004
763a086d
JB
2005 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2006 Highlight conversion methods on Kernel.
2ce3c565 2007
2cdb7698
AM
20082013-07-13 Alan Mackenzie <acm@muc.de>
2009
2010 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2011 and comment it out. This out-commenting enables certain C++
2012 declarations to be parsed correctly.
2013
1a67b811
EZ
20142013-07-13 Eli Zaretskii <eliz@gnu.org>
2015
1b796d6b
EZ
2016 * international/mule.el (define-coding-system): Doc fix.
2017
1a67b811
EZ
2018 * simple.el (default-font-height): Don't call font-info if the
2019 frame's default font didn't change since the frame was created.
2020 (Bug#14838)
2021
58fbe886
LL
20222013-07-13 Leo Liu <sdl.web@gmail.com>
2023
2024 * ido.el (ido-read-file-name): Guard against non-symbol value.
2025
1f0480d4
FEG
20262013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2027
2028 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2029 in nested defuns.
2030
97ead0e5
LL
20312013-07-13 Leo Liu <sdl.web@gmail.com>
2032
2033 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2034 ido-set-matches call. (Bug#6852)
2035
0880a952
DG
20362013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2037
2038 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2039 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2040 Ruby 2.0.
2041 (ruby-font-lock-keywords): Distinguish calls to functions with
2042 module-like names from module references. Highlight character
2043 literals.
2044
a7d8babb
SDJ
20452013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2046
2047 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 2048 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 2049
acfcc8c5
JB
20502013-07-12 Juanma Barranquero <lekktu@gmail.com>
2051
2052 * desktop.el (desktop--v2s): Remove unused local variable.
2053 (desktop-save-buffer): Make defvar-local; adjust docstring.
2054 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2055 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2056
051f2775
AS
20572013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2058
2059 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2060
f24e7572
GM
20612013-07-12 Eli Zaretskii <eliz@gnu.org>
2062
2063 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2064 (Bug#14842)
2065
539a920c
GM
20662013-07-12 Glenn Morris <rgm@gnu.org>
2067
2068 * doc-view.el: Require cl-lib at runtime too.
2069 (doc-view-remove-if): Remove.
2070 (doc-view-search-next-match, doc-view-search-previous-match):
2071 Use cl-remove-if.
2072
2073 * edmacro.el: Require cl-lib at runtime too.
2074 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2075 (edmacro-mismatch, edmacro-subseq): Remove.
2076
2077 * shadowfile.el: Require cl-lib.
2078 (shadow-remove-if): Remove.
2079 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2080 Use cl-remove-if.
2081
2082 * wid-edit.el: Require cl-lib.
2083 (widget-choose): Use cl-remove-if.
2084 (widget-remove-if): Remove.
2085
2086 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2087 (ebrowse-delete-if-not): Remove.
2088 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2089 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2090 Use cl-delete-if-not.
2091
1048af7c
JB
20922013-07-12 Juanma Barranquero <lekktu@gmail.com>
2093
2094 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2095 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2096
6c0674ee
LL
20972013-07-12 Leo Liu <sdl.web@gmail.com>
2098
2099 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2100
a19b3c2d
GM
21012013-07-11 Glenn Morris <rgm@gnu.org>
2102
4582a01c
GM
2103 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2104 (edebug-gensym-index, edebug-gensym):
2105 Remove reimplementation of cl-gensym.
2106 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2107
2108 * thumbs.el: Require cl-lib at run-time too.
2109 (thumbs-gensym-counter, thumbs-gensym):
2110 Remove reimplementation of cl-gensym.
2111 (thumbs-temp-file): Use cl-gensym.
2112
a19b3c2d
GM
2113 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2114 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2115 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2116 (ert--union, ert--gensym-counter, ert--gensym-counter)
2117 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2118 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2119 (ert-make-test-unbound, ert--expand-should-1)
2120 (ert--expand-should, ert--should-error-handle-error)
2121 (should-error, ert--explain-equal-rec)
2122 (ert--plist-difference-explanation, ert-select-tests)
2123 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2124 Use cl-lib functions rather than reimplementations.
2125
88f6a933
MA
21262013-07-11 Michael Albinus <michael.albinus@gmx.de>
2127
2128 * net/tramp.el (tramp-methods): Extend docstring.
2129 (tramp-connection-timeout): New defcustom.
2130 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2131 (with-tramp-progress-reporter): Simplify.
2132 (tramp-process-actions): Improve messages.
2133
2134 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2135 * net/tramp-sh.el (tramp-maybe-open-connection):
2136 Use `tramp-connection-timeout'.
2137 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2138 (Bug#14808)
2139
a43d577e
LL
21402013-07-11 Leo Liu <sdl.web@gmail.com>
2141
2142 * ido.el (ido-read-file-name): Conform to the requirements of
2143 read-file-name. (Bug#11861)
2144 (ido-read-directory-name): Conform to the requirements of
2145 read-directory-name.
2146
d77974bf
JB
21472013-07-11 Juanma Barranquero <lekktu@gmail.com>
2148
2149 * subr.el (delay-warning): New function.
2150
35cb8a3e
EZ
21512013-07-10 Eli Zaretskii <eliz@gnu.org>
2152
2153 * simple.el (default-line-height): New function.
2154 (line-move-partial, line-move): Use it instead of computing the
2155 line height inline.
2156 (line-move-partial): Always compute ROWH. If the last line is
2157 partially-visible, but its text is completely visible, allow
2158 cursor to enter such a partially-visible line.
2159
525c5c77
MA
21602013-07-10 Michael Albinus <michael.albinus@gmx.de>
2161
2162 Improve error messages. (Bug#14808)
2163
2164 * net/tramp.el (tramp-current-connection): New defvar, moved from
2165 tramp-sh.el.
0ac26976 2166 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 2167 needed anymore.
0ac26976
SM
2168 (tramp-error-with-buffer): Show message in minibuffer.
2169 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
2170 (with-tramp-progress-reporter): Improve messages.
2171 (tramp-process-actions): Use progress reporter. Delete process in
2172 case of error. Improve messages.
2173
763a086d
JB
2174 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2175 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 2176 (tramp-current-connection): Remove.
525c5c77
MA
2177 (tramp-maybe-open-connection): The car of
2178 `tramp-current-connection' are the first 3 slots of the vector.
2179
c7a4d368
TZ
21802013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2181
2182 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2183 inside continued strings.
2184
954b166e
PE
21852013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2186
2187 Timestamp fixes for undo (Bug#14824).
2188 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2189
56973319
LL
21902013-07-10 Leo Liu <sdl.web@gmail.com>
2191
2192 * files.el (require-final-newline): Allow safe local value.
2193 (Bug#14834)
2194
5550a72c
LL
21952013-07-09 Leo Liu <sdl.web@gmail.com>
2196
2197 * ido.el (ido-read-directory-name): Handle fallback.
2198 (ido-read-file-name): Update DIR to ido-current-directory.
2199 (Bug#1516)
c28b9050 2200 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 2201
70c46b28
DG
22022013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2203
2204 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2205 "autoload". Remove "warn lower camel case" section, previously
2206 commented out. Highlight negation char. Do not highlight the
2207 target in singleton method definitions.
2208
0b64b838
SM
22092013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2210
7fd72e2c
SM
2211 * faces.el (tty-setup-hook): Declare the hook.
2212
0b64b838
SM
2213 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2214 and detect when a guard/pred depends on local vars (bug#14773).
2215 (pcase--u1): Adjust caller.
2216
ab49d60b
EZ
22172013-07-08 Eli Zaretskii <eliz@gnu.org>
2218
2219 * simple.el (line-move-partial, line-move): Account for
2220 line-spacing.
701d79aa
EZ
2221 (line-move-partial): Avoid setting vscroll when the last
2222 partially-visible line in window is of default height.
ab49d60b 2223
2d756ae0
LMI
22242013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2225
2226 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2227 been used a while.
2228
ed095bd7
JB
22292013-07-07 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * subr.el (read-quoted-char): Remove unused local variable `char'.
2232
f1e6674b
MK
22332013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2234
584ee3fc
GM
2235 * ediff.el (ediff-version): Version update.
2236 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2237 (ediff-merge-with-ancestor-command, ediff-directories-command)
2238 (ediff-directories3-command, ediff-merge-directories-command)
2239 (ediff-merge-directories-with-ancestor-command): New functions.
2240 All are command-line interfaces to ediff: to facilitate calling
2241 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
2242
2243 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2244 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 2245
584ee3fc
GM
2246 * viper.el (viper-version): Version update.
2247 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 2248
584ee3fc
GM
22492013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2252 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2253 (viper-intercept-ESC-key): Simplify.
2254 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2255 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2256 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2257 (viper-setup-ESC-to-escape): New functions.
2258 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2259 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 2260
9aff9b38
EZ
22612013-07-07 Eli Zaretskii <eliz@gnu.org>
2262
5165d44a
JB
2263 * simple.el (default-font-height, window-screen-lines):
2264 New functions.
9aff9b38
EZ
2265 (line-move, line-move-partial): Use them instead of
2266 frame-char-height and window-text-height. This makes scrolling
2267 text smoother when the buffer's default face uses a font that is
2268 different from the frame's default font.
2269
1afb1d07
JD
22702013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2271
2272 * files.el (write-file): Do not display confirm dialog for NS,
2273 it does its own dialog, which can't be cancelled (Bug#14578).
2274
23de972a
EZ
22752013-07-06 Eli Zaretskii <eliz@gnu.org>
2276
2277 * simple.el (line-move-partial): Adjust the row returned by
2278 posn-at-point for the current window-vscroll. (Bug#14567)
2279
54a42486
MA
22802013-07-06 Michael Albinus <michael.albinus@gmx.de>
2281
2282 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2283 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2284 spaces.
2285
34ada5f4
MR
22862013-07-06 Martin Rudalics <rudalics@gmx.at>
2287
2288 * window.el (window-state-put-stale-windows): New variable.
2289 (window--state-put-2): Save list of windows without matching buffer.
2290 (window-state-put): Remove "bufferless" windows if possible.
2291
11e03d89
JB
22922013-07-06 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * simple.el (alternatives-define): Remove leftover :group keyword.
2295 Tweak docstring.
2296
3504a4be
LL
22972013-07-06 Leo Liu <sdl.web@gmail.com>
2298
2299 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2300 (ido-enable-virtual-buffers): New variable.
2301 (ido-buffer-internal, ido-toggle-virtual-buffers)
2302 (ido-make-buffer-list): Use it.
2303 (ido-exhibit): Support turning on and off virtual buffers
2304 automatically.
2305
61e56e2c
JB
23062013-07-06 Juanma Barranquero <lekktu@gmail.com>
2307
2308 * simple.el (alternatives-define): New macro.
2309
321e1a9c
SM
23102013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * subr.el (read-quoted-char): Use read-key.
2313 (sit-for): Let read-event decode tty input (bug#14782).
2314
d610f6dd
SB
23152013-07-05 Stephen Berman <stephen.berman@gmx.net>
2316
2317 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
2318 mode command and externally. Fix various related bugs.
2319 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
2320 (todo-delete-file): New command.
2321 (todo-check-file): New function.
2322 (todo-show): Handle external deletion of the file we're trying to
2323 show (bug#14688). Replace called-interactively-p by an optional
2324 prefix argument to avoid problematic interaction with catch form
2325 when byte compiled (bug#14702).
2326 (todo-quit): Handle external deletion of the archive's todo file.
2327 Make sure the buffer that was visiting the archive file is still
2328 live before trying to bury it.
2329 (todo-category-completions): Handle external deletion of any
2330 category completion files.
2331 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2332 of todo files, in case of external deletion.
2333 (todo-add-file): Replace unnecessary setq by let-binding.
2334 (todo-find-archive): Check whether there are any archives.
2335 Replace unnecessary setq by let-binding.
2336 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
2337 archive buffer whether or not the archive already exists.
2338 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
2339 check if the archive is new; if it is, update list of archives.
2340 (todo-default-todo-file): Allow nil to be a valid value for when
2341 there are no todo files.
2342 (todo-reevaluate-default-file-defcustom): Use corrected definition
2343 of todo-default-todo-file.
2344 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2345 (todo-delete-category, todo-show-categories-table)
2346 (todo-category-number): Clarify comment.
2347 (todo-filter-items): Clarify documentation string.
2348 (todo-show-current-file, todo-display-as-todo-file)
2349 (todo-reset-and-enable-done-separator): Tweak documentation string.
2350 (todo-done-separator): Make separator length window-width, since
2351 bug#2749 is now fixed.
2352
ddbdfd6f
MA
23532013-07-05 Michael Albinus <michael.albinus@gmx.de>
2354
321e1a9c
SM
2355 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2356 Support both "gvfs-monitor-dir" and "inotifywait".
2357 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
2358 `tramp-sh-file-notify-process-filter'.
2359 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2360 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2361
96eb829a
LL
23622013-07-05 Leo Liu <sdl.web@gmail.com>
2363
2364 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2365
cf13177e
YM
23662013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2367
2368 * frame.el (display-pixel-height, display-pixel-width)
2369 (display-mm-height, display-mm-width): Mention behavior on
2370 multi-monitor setups in docstrings.
2371 (w32-display-monitor-attributes-list): Declare function.
2372 (display-monitor-attributes-list): Use it.
2373
864c58ca
MA
23742013-07-04 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * filenotify.el: New package.
2377
2378 * autorevert.el (top): Require filenotify.el.
2379 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2380 instead.
2381 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2382 (auto-revert-notify-handler): Use `file-notify-*' functions.
2383
2384 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2385
321e1a9c
SM
2386 * net/tramp.el (tramp-file-name-for-operation):
2387 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
2388
2389 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2390 for `file-notify-add-watch' and `file-notify-rm-watch'.
2391 (tramp-process-sentinel): Improve trace.
2392 (tramp-sh-handle-file-notify-add-watch)
2393 (tramp-sh-file-notify-process-filter)
2394 (tramp-sh-handle-file-notify-rm-watch)
2395 (tramp-get-remote-inotifywait): New defuns.
2396
96673afe
JL
23972013-07-03 Juri Linkov <juri@jurta.org>
2398
2399 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2400 call of `occur-read-primary-args' to interactive spec.
2401
2402 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2403 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2404
924494f4
MM
24052013-07-03 Matthias Meulien <orontee@gmail.com>
2406
2407 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2408 `Buffer-menu-multi-occur'. Add it to the menu.
2409 (Buffer-menu-mode): Document it in docstring.
2410 (Buffer-menu-multi-occur): New command. (Bug#14673)
2411
56f75efc
DG
24122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2413
2414 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2415 keywords and built-ins.
2416
9b057d61
GM
24172013-07-03 Glenn Morris <rgm@gnu.org>
2418
208dee4d
GM
2419 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2420
9b057d61
GM
2421 Make info-xref checks case-sensitive by default
2422 * info.el (Info-find-node, Info-find-in-tag-table)
2423 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2424 Add option for exact case matching of nodes.
2425 * info-xref.el (info-xref): New custom group.
2426 (info-xref-case-fold): New option.
2427 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2428
e01aa29c
LL
24292013-07-03 Leo Liu <sdl.web@gmail.com>
2430
2431 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2432
3086ca2e
DG
24332013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2434
2435 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2436 middle of block statement initially, lower the depth. Remove
2437 FIXME comment, not longer valid. Remove middle of block statement
2438 detection, no need to do that anymore since we've been using
2439 `ruby-parse-region' here.
2440
a3b49114
JD
24412013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2442
2443 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2444
08e5c823 24452013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
2446
2447 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2448
2addf922
JB
24492013-07-01 Juanma Barranquero <lekktu@gmail.com>
2450
2451 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2452 (desktop-restore-in-current-display): New customization option.
2453 (desktop--excluded-frame-parameters): Add `font'.
2454 (desktop--save-frames): Rename from desktop--save-windows.
2455 (desktop--restore-in-this-display-p): New function.
2456 (desktop--make-full-frame): Remove unwanted width/height from
2457 full(width|height) frames.
2458 (desktop--restore-frames): Rename from desktop--restore-windows.
2459 Obey desktop-restore-current-display. Do not delete old frames or
2460 select a new frame unless we were able to restore at least one frame.
2461
ef099a94
MN
24622013-06-30 Michal Nazarewicz <mina86@mina86.com>
2463
2464 * files.el (find-file-noselect): Simplify conditional expression.
2465
2466 * remember.el (remember-append-to-file):
2467 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2468
2469 Add `remember-notes' function to store random notes across Emacs
2470 restarts.
2471 * remember.el (remember-data-file): Add :set callback to affect
2472 notes buffer (if any).
2473 (remember-notes): New command.
2474 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2475 New defcustoms for the `remember-notes' function.
2476 (remember-notes-save-and-bury-buffer): New command.
2477 (remember-notes-mode-map): New variable.
2478 (remember-mode): New minor mode.
2479 (remember-notes--kill-buffer-query): New function.
2480 * startup.el (initial-buffer-choice): Add notes to custom type.
2481
0865d506
EZ
24822013-06-30 Eli Zaretskii <eliz@gnu.org>
2483
0ba54312
EZ
2484 * bindings.el (right-char, left-char): Don't call sit-for, this is
2485 no longer needed. Use arithmetic comparison only for numerical
2486 arguments.
2487
ef099a94
MN
2488 * international/mule-cmds.el (select-safe-coding-system):
2489 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 2490
2fae38e5
LMI
24912013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2492
2493 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2494 progression on degenerate tables.
ef099a94 2495 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 2496
a47cbd64
JB
24972013-06-30 Juanma Barranquero <lekktu@gmail.com>
2498
2499 Some fixes and improvements for desktop frame restoration.
2500 It is still experimental and disabled by default.
2501 * desktop.el (desktop--save-windows): Put the selected frame at
2502 the head of the list.
2503 (desktop--make-full-frame): New function.
2504 (desktop--restore-windows): Try to re-select the frame that was
2505 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
2506 just show an error message and continue. Set up maximized frames
2507 so they have default non-maximized dimensions.
a47cbd64 2508
6dbafa30
DG
25092013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2510
ef099a94
MN
2511 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2512 Don't start heredoc inside a string or comment.
6dbafa30 2513
4c672a0f
EZ
25142013-06-29 Eli Zaretskii <eliz@gnu.org>
2515
2516 * bindings.el (visual-order-cursor-movement): New defcustom.
2517 (right-char, left-char): Provide visual-order cursor motion by
2518 calling move-point-visually. Update the doc strings.
2519
50960f36
KH
25202013-06-28 Kenichi Handa <handa@gnu.org>
2521
2522 * international/mule.el (define-coding-system): New coding system
2523 properties :inhibit-null-byte-detection,
2524 :inhibit-iso-escape-detection, and :prefer-utf-8.
2525 (set-buffer-file-coding-system): If :charset-list property of
2526 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2527 appropriate for setting.
2528
c1ea3abf
JB
2529 * international/mule-cmds.el (select-safe-coding-system):
2530 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2531 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
2532
2533 * international/mule-conf.el (prefer-utf-8): New coding system.
2534 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2535 files.
2536
75dbaf9d
IK
25372013-06-28 Ivan Kanis <ivan@kanis.fr>
2538
eadb6068
IK
2539 * net/shr.el (shr-render-region): New function.
2540
75dbaf9d
IK
2541 * net/eww.el: Autoload `eww-browse-url'.
2542
9ea5cf9f
DG
25432013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2544
c1ea3abf
JB
2545 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2546 Adapt to `package-desc-version' being a list.
2547 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
2548 archive element.
2549
39c0e36f
JB
25502013-06-27 Juanma Barranquero <lekktu@gmail.com>
2551
2552 New experimental feature to save&restore window and frame setup.
2553 * desktop.el (desktop-save-windows): New defcustom.
2554 (desktop--saved-states): New var.
2555 (desktop--excluded-frame-parameters): New defconst.
2556 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2557 (desktop--restore-windows, desktop--save-windows): New functions.
2558 (desktop-save): Call `desktop--save-windows'.
2559 (desktop-read): Call `desktop--restore-windows'.
2560
7f13406b
LMI
25612013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2562
ef099a94 2563 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 2564
1e072639
SB
25652013-06-27 Stephen Berman <stephen.berman@gmx.net>
2566
2567 * info.el (Info-try-follow-nearest-node): Move search for footnote
2568 above search for node name to prevent missing a footnote (bug#14717).
2569
f3e2cbde
SB
25702013-06-27 Stephen Berman <stephen.berman@gmx.net>
2571
2572 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2573
99906aa0
LL
25742013-06-27 Leo Liu <sdl.web@gmail.com>
2575
2576 * net/eww.el (eww-read-bookmarks): Check file size.
2577
539f75f4
SM
25782013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2581 advice--pending if newdef is nil or an autoload (bug#13820).
2582 (advice-mapc): New function.
2583
843571cb
LMI
25842013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2585
2586 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2587 probably.
23a75d7f 2588 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
2589 (eww-add-bookmark): New command.
2590 (eww-bookmark-mode): New mode and commands.
a285ce99 2591 (eww-add-bookmark): Remove newlines from the title.
47fd571b 2592 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 2593
f2136e1e
GM
25942013-06-26 Glenn Morris <rgm@gnu.org>
2595
eab35f39
GM
2596 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2597 (hfy-size): Handle ttys. (Bug#14668)
2598
f2136e1e
GM
2599 * info-xref.el: Update for Texinfo 5 change in *note format.
2600 (info-xref-node-re, info-xref-note-re): New constants.
2601 (info-xref-check-buffer): Use info-xref-note-re.
2602
a49ff80c
SM
26032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2604
a343d218
SM
2605 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2606
a49ff80c
SM
2607 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2608 nil terminate the loop (bug#14718).
2609
8308f184
LMI
26102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2611
2612 * net/eww.el: Rework history traversal. When going forward/back,
2613 put these actions into the history, too, so that they can be
2614 replayed.
26bf2b82 2615 (eww-render): Move the history reset to the correct buffer.
8308f184 2616
ec64c273
JL
26172013-06-25 Juri Linkov <juri@jurta.org>
2618
2619 * files-x.el (modify-dir-local-variable): Change the header comment
2620 in the file with directory local variables. (Bug#14692)
2621
e080a9d7
JL
2622 * files-x.el (read-file-local-variable-value): Add `default'.
2623 (Bug#14710)
2624
bfbc93a1
IK
26252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2626
2627 * net/eww.el (eww-make-unique-file-name): Create a unique file
2628 name before saving to entering `y' accidentally asynchronously.
2629
26302013-06-25 Ivan Kanis <ivan@kanis.fr>
2631
2632 * net/eww.el (eww-download): New command and keystroke.
2633
16f74f10
LMI
26342013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2635
a49ff80c 2636 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
2637
2638 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2639 be more consistent with Info and dired.
2640
2641 * net/eww.el (eww-mode-map): Ditto.
2642
12059709
SM
26432013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2646 packages from archives.
2647 (package-archive-contents): Change format; include obsolete packages.
2648 (package-desc): Use `dir' to mark builtin packages.
2649 (package--from-builtin): Set the `dir' field to `builtin'.
2650 (generated-autoload-file, version-control): Declare.
2651 (package-compute-transaction): Change first arg and return value to be
2652 lists of package-descs. Adjust to new package-archive-contents format.
2653 (package--add-to-archive-contents): Adjust to new
2654 package-archive-contents format.
2655 (package-download-transaction): Arg is now a list of package-descs.
2656 (package-install): If `pkg' is a package name, pass it as
2657 a requirement, so it is subject to the usual (e.g. disabled) checks.
2658 (describe-package): Accept package-desc as well.
2659 (describe-package-1): Describe a specific package-desc. Add links to
2660 other package-descs for the same package name.
2661 (package-menu-describe-package): Pass the actual package-desc.
2662 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2663 works correctly.
2664 (package-desc-status): New function.
2665 (package-menu--refresh): New function, extracted
2666 from package-menu--generate.
2667 (package-menu--generate): Use it.
2668 (package-delete): Update package-alist.
2669 (package-menu-execute): Don't call package-initialize.
2670
2671 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2672 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2673 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2674 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2675 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2676 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2677
8bbdea0f
MR
26782013-06-25 Martin Rudalics <rudalics@gmx.at>
2679
2680 * window.el (window--state-get-1): Workaround for bug#14527.
2681 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2682
e82b0991
LMI
26832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2684
2685 * net/eww.el (eww-back-url): Implement the history by stashing all
2686 the data into a list.
d3f0f918 2687 (eww-forward-url): Allow going forward in the history, too.
e82b0991 2688
c763842b
SM
26892013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2692 for values and use read--expression for expressions (bug#14710).
2693 (read-file-local-variable): Avoid setq.
2694 (read-file-local-variable-mode): Use minor-mode-list.
2695
bceff189
RW
26962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2697
864c58ca 2698 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
2699 for DOI URLs.
2700
45f431c6
RW
27012013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2702
864c58ca 2703 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
2704 Update imenu-support when dialect changes.
2705
f42d8237
LL
27062013-06-25 Leo Liu <sdl.web@gmail.com>
2707
2708 * ido.el (ido-read-internal): Allow forward slash on windows.
2709
be549ce6
LMI
27102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2711
2712 * net/eww.el (eww): Start of strings is \\`, not ^.
2713
71d4c19d
IK
27142013-06-24 Ivan Kanis <ivan@kanis.fr>
2715
5196f88a
IK
2716 * net/shr.el (shr-browse-url): Fix interactive spec.
2717
71d4c19d
IK
2718 * net/eww.el (eww): Add a trailing slash to domain names.
2719
ae36ca55
JB
27202013-06-24 Juanma Barranquero <lekktu@gmail.com>
2721
2722 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2723
0ebd92a3
LMI
27242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2725
bdaa086b
LMI
2726 * net/shr.el (shr-browse-url): Use an external browser if given a
2727 prefix.
2728
c763842b 2729 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 2730
b89fc156
IK
27312013-06-24 Ivan Kanis <ivan@kanis.fr>
2732
2733 * net/eww.el (eww): Work more correctly for file: URLs.
2734 (eww-detect-charset): Allow quoted charsets.
2735 (eww-yank-page-url): New command and keystroke.
2736
18eb4bca
DU
27372013-06-24 Daiki Ueno <ueno@gnu.org>
2738
2739 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2740 file name of gpg executable.
2741 (epg-context-program): New function.
2742 (epg-context-home-directory): New function.
2743 (epg-context-set-program): New function.
2744 (epg-context-set-home-directory): New function.
2745 (epg--start): Use `epg-context-program' instead of
2746 'epg-gpg-program'.
2747 (epg--list-keys-1): Likewise.
2748
6c6268c8
LL
27492013-06-24 Leo Liu <sdl.web@gmail.com>
2750
2751 * ido.el (ido-read-internal): Fix bug#14620.
2752
5e400cb3
JB
27532013-06-23 Juanma Barranquero <lekktu@gmail.com>
2754
2755 * faces.el (face-documentation): Simplify.
2756 (read-face-attribute, tty-find-type, x-resolve-font-name):
2757 Use `string-match-p'.
2758 (list-faces-display): Use `string-match-p'. Simplify.
2759 (face-spec-recalc): Check face to avoid face alias loops.
2760 (read-color): Use `string-match-p' and non-capturing parenthesis.
2761
f3f9606c
LMI
27622013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2763
2764 * net/shr.el (shr-rescale-image): Use the new
2765 :max-width/:max-height functionality.
2766
a3ca09b9
IK
27672013-06-23 Ivan Kanis <ivan@kanis.fr>
2768
2769 * net/eww.el (eww-search-prefix): New variable.
2770 (eww): Use it.
f865b474
IK
2771 (eww-external-browser): New variable.
2772 (eww-mode-map): New keystroke.
2773 (eww-browse-with-external-browser): New command.
a3ca09b9 2774
e854cfc7
IK
2775 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2776
18bb9e21
JB
27772013-06-23 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2780 Don't skip aligning the next header field when padding is 0;
2781 otherwise, field width is not respected unless the title is as
2782 wide as the field.
2783
5b165ade
SM
27842013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * emacs-lisp/package.el (package-el-version): Remove.
2787 (package-process-define-package): Fix inf-loop.
2788 (package-install): Allow symbols as arguments again.
2789
12adebe9
DG
27902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2791
2792 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2793 add some more keyword-like methods.
2794 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2795
388573ee
JB
27962013-06-22 Juanma Barranquero <lekktu@gmail.com>
2797
2798 * bs.el (bs-buffer-show-mark): Make defvar-local.
2799 (bs-mode): Use setq-local.
2800
2801 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2802 (emacs-lock--try-unlocking): Make defvar-local.
2803
4582a01c 28042013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 2805
2663dd23
GM
2806 * play/cookie1.el (cookie-apropos): Minor simplification.
2807
3d94f3ad
GM
2808 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2809
f72e2fdb
DG
28102013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2813 `regexp-opt', it breaks the build during dumping.
2814
73eab938
DG
28152013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2816
c763842b
SM
2817 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2818 Highlight keyword-like methods on Kernel and Module with
73eab938 2819 font-lock-builtin-face.
5cf8176d
DG
2820 (auto-mode-alist): Consolidate different entries into one regexp
2821 and add more *file-s.
73eab938 2822
d26255f6
SB
28232013-06-21 Stephen Berman <stephen.berman@gmx.net>
2824
2825 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2826
2827 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2828 (diary-entry): Use it in the action of this button type instead of
2829 diary-goto-entry.
2830
2831 * calendar/todo-mode.el: New version.
2832 (todo-add-category): Append new category to end of file and give
2833 it the highest number, instead of putting it at the beginning and
2834 giving it 0. Incorporate noninteractive functionality.
2835 (todo-forward-category): Adapt to 1-based category numbering.
2836 Allow skipping over archived categories.
2837 (todo-backward-category): Derive from todo-forward-category.
2838 (todo-backward-item, todo-forward-item): Make noninteractive and
2839 delegate interactive part to new commands. Make sensitive to done items.
2840 (todo-categories): Make value an alist of category names and
2841 vectors of item counts.
2842 (todo-category-beg): Make a defconst.
2843 (todo-category-number): Use 1 instead of 0 as initial value.
2844 (todo-category-select): Make sensitive to overlays, optional item
2845 highlighting and done items.
2846 (todo-delete-item): Make sensitive to overlays and marked and done items.
2847 (todo-edit-item): Make sensitive to overlays and editing of
2848 date/time header optional. Add format checks.
2849 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2850 no-op if point is not on an item. Advertise using todo-edit-quit.
2851 (todo-edit-mode): Make sensitive to new format, font-locking, and
2852 multiple todo files.
2853 (todo-insert-item, todo-insert-item-here): Derive from
2854 todo-basic-insert-item and extend functionality.
2855 (todo-item-end, todo-item-start): Make sensitive to done items.
2856 (todo-item-string): Don't return text properties. Restore point.
2857 (todo-jump-to-category): Make sensitive to multiple todo files and
2858 todo archives. Use extended category completion.
2859 (todo-lower-item, todo-raise-item): Rename to *-priority and
2860 derive from todo-set-item-priority.
2861 (todo-mode): Derive from special-mode. Make sensitive to new
2862 format, font-locking and multiple todo files. Make read-only.
2863 (todo-mode-map): Don't suppress digit keys, so they can supply
2864 prefix arguments. Add many new key bindings.
2865 (todo-prefix): Insert as an overlay instead of file text.
2866 Change semantics from diary date expression to purely visual mark.
2867 (todo-print): Rename to todo-print-buffer. Make buffer display
2868 features printable. Remove option to restrict number of items
2869 printed. Add option to print to file.
2870 (todo-print-function): Rename to todo-print-buffer-function.
2871 (todo-quit): Extend to handle exiting new todo modes.
2872 (todo-remove-item): Make sensitive to overlays.
2873 (todo-save): Extend to buffers of filtered items.
2874 (todo-show): Make sensitive to done items, multiple todo files and
2875 new todo modes. Offer to convert legacy todo file before creating
2876 first new todo file.
2877 (todo-show-priorities): Rename to todo-top-priorities.
2878 Change semantics of value 0.
2879 (todo-top-priorities): Rename to todo-filter-top-priorities,
2880 derive from todo-filter-items and extend functionality.
2881 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2882 and extend functionality to other types of filtered items.
2883 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2884 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2885 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2886 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2887 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2888 (todo-edit-mode-hook, todo-entry-prefix-function)
2889 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2890 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2891 (todo-initials, todo-insert-threshold, todo-item-string-start)
2892 (todo-line-string, todo-menu, todo-mode-hook)
2893 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2894 (todo-print-priorities, todo-remove-separator)
2895 (todo-save-top-priorities-too, todo-string-count-lines)
2896 (todo-string-multiline-p, todo-time-string-format)
2897 (todo-tmp-buffer-name): Remove.
2898 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2899 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2900 (todo-edit-category-diary-inclusion)
2901 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2902 (todo-edit-file, todo-edit-item-date-day)
2903 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2904 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2905 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2906 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2907 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2908 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2909 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2910 (todo-filter-top-priorities-multifile, todo-find-archive)
2911 (todo-find-filtered-items-file, todo-go-to-source-item)
2912 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2913 (todo-jump-to-archive-category, todo-lower-category)
2914 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2915 (todo-move-category, todo-move-item, todo-next-button)
2916 (todo-next-item, todo-padded-string, todo-powerset)
2917 (todo-previous-button, todo-previous-item)
2918 (todo-print-buffer-to-file, todo-raise-category)
2919 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2920 (todo-set-category-number, todo-set-item-priority)
2921 (todo-set-top-priorities-in-category)
2922 (todo-set-top-priorities-in-file, todo-show-categories-table)
2923 (todo-sort-categories-alphabetically-or-numerically)
2924 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2925 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2926 (todo-toggle-item-header, todo-toggle-item-highlighting)
2927 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2928 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2929 (todo-unarchive-items, todo-unmark-category): New commands.
2930 (todo-absolute-file-name, todo-add-to-buffer-list)
2931 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2932 (todo-basic-insert-item, todo-category-completions)
2933 (todo-category-number, todo-category-string-matcher-1)
2934 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2935 (todo-check-format, todo-clear-matches)
2936 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2937 (todo-current-category, todo-date-string-matcher)
2938 (todo-define-insertion-command, todo-diary-expired-matcher)
2939 (todo-diary-goto-entry, todo-diary-item-p)
2940 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2941 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2942 (todo-done-item-section-p, todo-done-separator)
2943 (todo-done-string-matcher, todo-files, todo-filter-items)
2944 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2945 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2946 (todo-insert-category-line, todo-insert-item-from-calendar)
2947 (todo-insert-sort-button, todo-insert-with-overlays)
2948 (todo-insertion-command-name, todo-insertion-key-bindings)
2949 (todo-label-to-key, todo-longest-category-name-length)
2950 (todo-make-categories-list, todo-mode-external-set)
2951 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2952 (todo-modes-set-3, todo-multiple-filter-files)
2953 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2954 (todo-read-category, todo-read-date, todo-read-dayname)
2955 (todo-read-file-name, todo-read-time)
2956 (todo-reevaluate-category-completions-files-defcustom)
2957 (todo-reevaluate-default-file-defcustom)
2958 (todo-reevaluate-filelist-defcustoms)
2959 (todo-reevaluate-filter-files-defcustom)
2960 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2961 (todo-reset-done-separator, todo-reset-done-separator-string)
2962 (todo-reset-done-string, todo-reset-global-current-todo-file)
2963 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2964 (todo-reset-prefix, todo-set-categories)
2965 (todo-set-date-from-calendar, todo-set-show-current-file)
2966 (todo-set-top-priorities, todo-short-file-name)
2967 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2968 (todo-total-item-counts, todo-update-buffer-list)
2969 (todo-update-categories-display, todo-update-categories-sexp)
2970 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2971 New functions.
2972 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2973 New major modes.
2974 (todo-categories, todo-display, todo-edit, todo-faces)
2975 (todo-filtered): New defgroups.
2976 (todo-archived-only, todo-button, todo-category-string, todo-date)
2977 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2978 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2979 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2980 (todo-add-item-if-new-category, todo-always-add-time-string)
2981 (todo-categories-align, todo-categories-archived-label)
2982 (todo-categories-category-label, todo-categories-diary-label)
2983 (todo-categories-done-label, todo-categories-number-separator)
2984 (todo-categories-todo-label, todo-categories-totals-label)
2985 (todo-category-completions-files, todo-completion-ignore-case)
2986 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2987 (todo-done-separator-string, todo-done-string)
2988 (todo-files-function, todo-filter-done-items, todo-filter-files)
2989 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2990 (todo-initial-category, todo-initial-file, todo-item-mark)
2991 (todo-legacy-date-time-regexp, todo-mode-line-function)
2992 (todo-nondiary-marker, todo-number-prefix)
2993 (todo-print-buffer-function, todo-show-current-file)
2994 (todo-show-done-only, todo-show-first, todo-show-with-done)
2995 (todo-skip-archived-categories, todo-top-priorities-overrides)
2996 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2997 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2998 New defcustoms.
2999 (todo-category-done, todo-date-pattern, todo-date-string-start)
3000 (todo-diary-items-buffer, todo-done-string-start)
3001 (todo-filtered-items-buffer, todo-item-start)
3002 (todo-month-abbrev-array, todo-month-name-array)
3003 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3004 (todo-top-priorities-buffer): New defconsts.
3005 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3006 (todo-categories-with-marks, todo-category-string-face)
3007 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3008 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3009 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3010 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3011 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3012 (todo-font-lock-keywords, todo-global-current-todo-file)
3013 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3014 (todo-insertion-commands-args)
3015 (todo-insertion-commands-args-genlist)
3016 (todo-insertion-commands-names, todo-insertion-map)
3017 (todo-key-bindings-t, todo-key-bindings-t+a)
3018 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3019 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3020 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3021 (todo-visited): New variables.
3022
cad5d1cb
GM
30232013-06-21 Glenn Morris <rgm@gnu.org>
3024
3025 * play/cookie1.el (cookie-apropos): Add optional display argument.
3026 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3027 (psychoanalyze-pinhead): Use cookie-doctor.
3028
9e277302
JB
30292013-06-21 Juanma Barranquero <lekktu@gmail.com>
3030
3031 * emacs-lisp/package.el (tar-get-file-descriptor)
3032 (tar--extract): Declare.
3033
c5b0993e
EW
30342013-06-21 Eduard Wiebe <usenet@pusto.de>
3035
3036 Extend flymake's warning predicate to be a function (bug#14217).
3037 * progmodes/flymake.el (flymake-warning-predicate): New.
3038 (flymake-parse-line): Use it.
3039 (flymake-warning-re): Make obsolete alias to
3040 `flymake-warning-predicate'.
3041
a7d2d465
SM
30422013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3045 (package-obsolete-list): Remove.
3046 (package-activate): Remove min-version argument. Add `force' argument.
3047 Adjust to new package-alist format.
3048 (package-mark-obsolete): Remove.
3049 (package-unpack): Force reload of the package's autoloads.
3050 (package-installed-p): Check builtins if the installed package is not
3051 recent enough.
3052 (package-initialize): Don't reset package-obsolete-list.
3053 Don't specify which package version to activate.
3054 (package-process-define-package, describe-package-1)
3055 (package-menu--generate): Adjust to new package-alist format.
3056
cedf5c9d
JB
30572013-06-21 Juanma Barranquero <lekktu@gmail.com>
3058
3059 * allout-widgets.el (allout-widgets-mode-off)
3060 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3061 (allout-widgets-post-command-business)
3062 (allout-widgets-after-copy-or-kill-function)
3063 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3064 (allout-decorate-item-and-context)
3065 (allout-graphics-modification-handler): Fix typos in docstrings.
3066 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3067
3068 * cmuscheme.el (scheme-start-file): Doc fix.
3069 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3070 (scheme-input-filter): Use `string-match-p'.
3071
3072 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3073
3074 * dired-x.el: Use Dired consistently in docstrings.
3075
3076 * dired.el: Use Dired consistently in docstrings.
3077 (dired-readin, dired-mode): Use `setq-local'.
3078 (dired-switches-alist): Make defvar-local.
3079 (dired-buffers-for-dir): Use `zerop'.
3080 (dired-safe-switches-p, dired-switches-escape-p)
3081 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3082 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3083 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3084 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3085 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3086 (dired-toggle-marks, dired-mark-files-containing-regexp)
3087 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3088 (dired-flag-auto-save-files, dired-flag-backup-files):
3089 Use `looking-at-p'.
3090 (dired-mark-files-regexp, dired-build-subdir-alist):
3091 Use `string-match-p', `looking-at-p'.
3092
3093 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3094 (direct-print-region-helper): Use `string-match-p'.
3095
aed838b5
LL
30962013-06-21 Leo Liu <sdl.web@gmail.com>
3097
cedf5c9d
JB
3098 * comint.el (comint-redirect-results-list-from-process):
3099 Fix infinite loop.
aed838b5 3100
d80a808f
LMI
31012013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3102
3103 * net/eww.el (eww-update-header-line-format): Quote % characters.
3104
e7a526e3
GM
31052013-06-21 Glenn Morris <rgm@gnu.org>
3106
3107 * play/cookie1.el (cookie): New custom group.
3108 (cookie-file): New option.
3109 (cookie-check-file): New function.
3110 (cookie): Make it interactive. Make start and end messages optional.
3111 Interactively, display the result. Default to cookie-file.
3112 (cookie-insert): Default to cookie-file.
3113 (cookie-snarf): Make start and end messages optional.
3114 Default to cookie-file. Use with-temp-buffer.
3115 (cookie-read): Rename from read-cookie.
3116 Make start and end messages optional. Default to cookie-file.
3117 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 3118 Do not autoload it.
e7a526e3
GM
3119 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3120 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3121
62efb35e
LL
31222013-06-21 Leo Liu <sdl.web@gmail.com>
3123
3124 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3125
21e3f963
GM
31262013-06-21 Glenn Morris <rgm@gnu.org>
3127
3128 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3129
fd846ab4
SM
31302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3131 Daniel Hackney <dan@haxney.org>
3132
3133 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3134 Consolidate the single-file vs tarball code.
3135 (package-desc-suffix): New function.
3136 (package-desc-full-name): Don't bother inlining it.
3137 (package-load-descriptor): Return the new package-desc.
3138 (package-mark-obsolete): Remove unused arg `package'.
3139 (package-unpack): Make it work for single files as well.
3140 Make it update package-alist.
3141 (package--make-autoloads-and-stuff): Rename from
3142 package--make-autoloads-and-compile. Don't compile any more.
3143 (package--compile): New function.
3144 (package-generate-description-file): New function, extracted from
3145 package-unpack-single.
3146 (package-unpack-single): Remove.
3147 (package--with-work-buffer): Add indentation and debugging info.
3148 (package-download-single): Remove.
3149 (package-install-from-archive): Rename from package-download-tar, make
3150 it take a pkg-desc, and make it work for single files as well.
3151 (package-download-transaction): Simplify.
3152 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3153 external tar program.
3154 (package-install-from-buffer): Remove `pkg-desc' argument.
3155 Use package-tar-file-info for tar-mode buffers.
3156 (package-install-file): Simplify accordingly.
3157 (package-archive-base): Change to take a pkg-desc.
3158 * tar-mode.el (tar--check-descriptor): New function, extracted from
3159 tar-get-descriptor.
3160 (tar-get-descriptor): Use it.
3161 (tar-get-file-descriptor): New function.
3162 (tar--extract): New function, extracted from tar-extract.
3163 (tar--extract): Use it.
3164 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3165 case the summary uses non-ascii. Adjust to new calling convention of
3166 package-tar-file-info.
3167
b7deae5e
LL
31682013-06-21 Leo Liu <sdl.web@gmail.com>
3169
fd846ab4
SM
3170 * comint.el (comint-redirect-results-list-from-process):
3171 Fix random delay. (Bug#14681)
b7deae5e 3172
7a65a0b2
JB
31732013-06-21 Juanma Barranquero <lekktu@gmail.com>
3174
3175 * profiler.el (profiler-format-number): Use log, not log10.
3176
1493c2af
JB
31772013-06-20 Juanma Barranquero <lekktu@gmail.com>
3178
3179 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3180
aff6371e
SM
31812013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3184 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3185 yet available.
3186 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3187 (AUTOGENEL): ... here.
3188 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3189 (cl--defsubst-expand): Use it.
3190
89561f72
PE
31912013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3192
3193 * subr.el (log10): Move here from C code, and declare as obsolete.
3194 All uses of (log10 X) replaced with (log X 10).
3195
47199123
JB
31962013-06-20 Juanma Barranquero <lekktu@gmail.com>
3197
3198 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3199 Declare with `defvar-local'.
3200 (tabulated-list-use-header-line, tabulated-list-entries)
3201 (tabulated-list-padding, tabulated-list-printer)
3202 (tabulated-list-sort-key): Declare with `defvar-local'.
3203 (tabulated-list-init-header, tabulated-list-print-fake-header):
3204 Use `setq-local'.
3205
4a172eab
MA
32062013-06-20 Michael Albinus <michael.albinus@gmx.de>
3207
47199123
JB
3208 * arc-mode.el (archive-mode): Add `archive-write-file' to
3209 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 3210
5fc0acc0
JB
32112013-06-20 Juanma Barranquero <lekktu@gmail.com>
3212
d5b27848
JB
3213 * cus-edit.el (custom-commands): Fix typos.
3214 (custom-display): Fix tooltip text.
3215 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3216 Fix typos in docstrings.
3217 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3218 (custom-unlispify-menu-entry, custom-magic-value-create)
3219 (custom-add-see-also, custom-group-value-create): Use ?\s.
3220 (custom-guess-type, customize-apropos, editable-field)
3221 (custom-face-value-create): Use `string-match-p'.
3222 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3223
3224 * custom.el (custom-load-symbol): Use `string-match-p'.
3225
a5c581d8
JB
3226 * ansi-color.el: Convert to lexical binding.
3227 (ansi-colors): Fix URL.
3228 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3229 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3230 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3231
970ad972
G
32322013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3233
3234 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3235
3236 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3237
32382013-06-19 Tom Tromey <tromey@redhat.com>
3239
3240 * net/eww.el (eww-top-url): Remove.
3241 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3242 (eww-render): Set new variables. Don't set eww-top-url.
3243 (eww-handle-link): Handle "prev", "home", and "contents".
3244 Downcase the rel text.
3245 (eww-top-url): Choose best top URL.
3246
32472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3248
3249 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3250 relying in widget.el. Using widget.el leads to too many
3251 user interface inconsistencies.
3252 (eww-self-insert): Implement entering commands in text fields.
3253 (eww-process-text-input): New function to make text input field editing
3254 work.
3255 (eww-submit): Rewrite to use the new-style form methods.
3256 (eww-select-display): Display the correct selected item.
3257 (eww-change-select): Implement changing the select value.
3258 (eww-toggle-checkbox): Implement radio/checkboxes.
3259 (eww-update-field): Fix compilation error.
3260 (eww-tag-textarea): Implement <textarea>.
3261
3262 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3263 we don't shadow mode-specific bindings.
3264
3265 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3266 nothing to push.
3267
3268 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3269
4582a01c 32702013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
3271
3272 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3273
15b263dc
MA
32742013-06-19 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3277 not needed.
3278
3279 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3280
8f5297f7
LMI
32812013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3282
3283 * net/browse-url.el (browse-url-browser-function):
3284 `eww-browse-url' has the right calling signature, `eww' does not.
3285
011c4552
GM
32862013-06-19 Glenn Morris <rgm@gnu.org>
3287
2285bd27
GM
3288 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3289 Only eval autoloaded macros.
3290 (byte-compile-autoload): Only give the macro warning for macros.
3291
1d653303
GM
3292 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3293 (ps-underlined-faces): Declare.
3294
bdd779ec
GM
3295 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3296 (speedbar-add-supported-extension): Declare.
3297
011c4552
GM
3298 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3299 Don't include a date stamp in the header of the generated file;
3300 it leads to needless differences between output files.
3301
e59dfb0e
MA
33022013-06-19 Michael Albinus <michael.albinus@gmx.de>
3303
c763842b
SM
3304 * net/secrets.el (secrets-struct-secret-content-type):
3305 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 3306 Some servers do not offer introspection.
e59dfb0e 3307
102626e2
SM
33082013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * electric.el (electric-pair-mode): Improve interaction with
3311 electric-layout-mode.
3312 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3313 (electric-pair-syntax): Use text-mode-syntax-table in comments
3314 and strings.
3315 (electric-pair--insert): New function.
3316 (electric-pair-post-self-insert-function): Use it and
3317 electric--after-char-pos.
3318
ad528125
LL
33192013-06-19 Leo Liu <sdl.web@gmail.com>
3320
3321 * progmodes/octave.el (octave-help): Fix regexp.
3322
924d6997
G
33232013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
3325 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3326 (shr-table-horizontal-line): Allow nil as a value, and change the
3327 default.
3328 (shr-insert-table-ruler): Respect the nil value.
3329
33302013-06-18 Tom Tromey <tromey@barimba>
3331
3332 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3333 New defvars.
3334 (eww-open-file): New defun.
3335 (eww-render): Initialize new variables.
3336 (eww-display-html): Handle "link" and "a".
3337 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3338 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3339 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
3340 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3341 New defuns.
924d6997 3342
d1bbba4f
DG
33432013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3344
3345 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3346 Distinguish ternary operator tokens from slash symbol and slash
3347 char literal.
3348
14dd22d2
JB
33492013-06-18 Juanma Barranquero <lekktu@gmail.com>
3350
3351 Convert symbol prettification into minor mode and global minor mode.
3352
3353 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3354 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3355 (prettify-symbols--keywords): Rename from
3356 `prog-prettify-symbols-alist' and make a local defvar.
3357 (prettify-symbols--compose-symbol): Rename from
3358 `prog--prettify-font-lock-compose-symbol'.
3359 (prettify-symbols--make-keywords): Rename from
3360 `prog-prettify-font-lock-symbols-keywords' and simplify.
3361 (prog-prettify-install): Remove.
3362 (prettify-symbols-mode): New minor mode, based on
3363 `prog-prettify-install'.
3364 (turn-on-prettify-symbols-mode): New function.
3365 (global-prettify-symbols-mode): New globalized minor mode.
3366
3367 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3368 * progmodes/cfengine.el (cfengine3-mode):
3369 * progmodes/perl-mode.el (perl-mode): Don't call
3370 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3371
292c880c
JL
33722013-06-18 Juri Linkov <juri@jurta.org>
3373
3374 * files-x.el (modify-file-local-variable-message): New function.
3375 (modify-file-local-variable)
3376 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3377 and call `modify-file-local-variable-message' when it's non-nil.
3378 (add-file-local-variable, delete-file-local-variable)
3379 (add-file-local-variable-prop-line)
3380 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3381 and use it. (Bug#9820)
3382
0950aa27
JL
33832013-06-18 Juri Linkov <juri@jurta.org>
3384
3385 * emulation/vi.el (vi-shell-op):
3386 * emulation/vip.el (vip-execute-com, ex-command):
3387 * emulation/viper-cmd.el (viper-exec-bang):
3388 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3389 the call of `shell-command-on-region'. (Bug#14637)
3390
3391 * simple.el (shell-command-on-region): Doc fix.
3392
8fbcca16
SM
33932013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3396 (bug#14633).
3397
dd7426ea
GM
33982013-06-18 Glenn Morris <rgm@gnu.org>
3399
4ba54f7d
GM
3400 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3401
dd7426ea
GM
3402 * newcomment.el (comment-search-forward, comment-search-backward):
3403 Doc fix. (Bug#14376)
3404
58aa805b
JB
34052013-06-18 Juanma Barranquero <lekktu@gmail.com>
3406
3407 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3408 (buffer-face-mode-invoke): Doc fix.
3409
9a08a617
MM
34102013-06-18 Matthias Meulien <orontee@gmail.com>
3411
3412 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 3413 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 3414
f2f426ca
GM
34152013-06-18 Glenn Morris <rgm@gnu.org>
3416
9445f99b
GM
3417 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3418 Replace obsolete function generic-make-keywords with its expansion.
3419
e0df2d14
GM
3420 * progmodes/python.el (ffap-alist): Declare.
3421
f2f426ca
GM
3422 * textmodes/reftex.el (bibtex-mode-map): Declare.
3423
f7f9a720
SM
34242013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3427 (package-unpack, package-unpack-single): Return the pkg-dir.
3428 (package-download-transaction): Use it to update package-alist.
3429
57ff04e0
LMI
34302013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3431
3432 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3433 possible choice.
3434
c048c022
JL
34352013-06-17 Juri Linkov <juri@jurta.org>
3436
3437 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3438
b5bcaee5
DG
34392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3440
a020afb9
JB
3441 * emacs-lisp/package.el (package-load-descriptor):
3442 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
3443 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3444
551e07e5
JB
34452013-06-17 Juanma Barranquero <lekktu@gmail.com>
3446
3447 * startup.el (command-line): Expand package name returned by
3448 `package--description-file' (bug#14639).
3449
d363bffb
DG
34502013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3451
3452 * emacs-lisp/package.el (package-load-descriptor): Do not call
3453 `emacs-lisp-mode', just use its syntax table.
3454
f612933b
JB
34552013-06-17 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3458 `font-lock-extra-managed-props' if any prettifying keyword is added.
3459 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3460 (prog-mode): Use `setq-local'.
3461
db3b7db5
SM
34622013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * international/characters.el (standard-case-table): Set syntax of ?»
3465 and ?« to punctuation.
3466
f3d674df
JB
34672013-06-16 Juanma Barranquero <lekktu@gmail.com>
3468
3469 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3470 Save relevant match data before calling `syntax-ppss' (bug#14595).
3471
31489a32
JL
34722013-06-15 Juri Linkov <juri@jurta.org>
3473
3474 * files-x.el (modify-file-local-variable-prop-line): Add local
3475 variables to the end of the existing comment on the first line.
3476 Use `file-auto-mode-skip' to skip interpreter magic line,
3477 and also skip XML declaration.
3478
66bd25ab
SM
34792013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * startup.el (package--builtin-versions): New var.
3482 (package-subdirectory-regexp): Remove.
3483 (package--description-file): Hard code its value instead.
3484
3485 * emacs-lisp/package.el: Don't activate packages older than builtin.
3486 (package-obsolete-list): Rename from package-obsolete-alist, and make
3487 it into a simple list of package-desc.
3488 (package-strip-version): Remove.
3489 (package-built-in-p): Use package--builtin-versions.
3490 (package-mark-obsolete): Simplify.
3491 (package-process-define-package): Mark it obsolete if older than the
3492 builtin version.
3493 (package-handle-response): Use line-end-position.
3494 (package-read-archive-contents, package--download-one-archive):
3495 Simplify.
3496 (package--add-to-archive-contents): Skip if older than the builtin or
3497 installed version.
3498 (package-menu-describe-package): Fix last change.
3499 (package-list-unversioned): New var.
3500 (package-menu--generate): Use it.
3501
3502 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3503 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3504 (autoload-builtin-package-versions): New variable.
3505 (autoload-generate-file-autoloads): Use them.
3506 Remove the list of autoloaded functions/macros from the
3507 (autoload...) comments.
3508
3509 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3510
9583ec36
EZ
35112013-06-15 Eli Zaretskii <eliz@gnu.org>
3512
3513 * simple.el (line-move-partial): Don't jump to the next screen
3514 line as soon as it becomes visible. Instead, continue enlarging
3515 the vscroll until the portion of a tall screen line that's left on
3516 display is about the height of the frame's default font.
3517 (Bug#14567)
3518
f0100d8a
GM
35192013-06-15 Glenn Morris <rgm@gnu.org>
3520
b86a85ca
GM
3521 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3522 compilation-error-regexp-alist void, or local while let-bound.
3523
f0100d8a
GM
3524 * progmodes/make-mode.el (makefile-mode-syntax-table):
3525 Treat "=" as punctuation. (Bug#14614)
3526
05e7ce90
JB
35272013-06-15 Juanma Barranquero <lekktu@gmail.com>
3528
3529 * help-fns.el (describe-variable):
3530 Add extra line for permanent-local variables.
3531
12e5e86e
SH
35322013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3533
3534 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3535 Add export, import, library. (Bug#9164)
3536 (library): Set indent function.
3537
230dcbaf
GM
35382013-06-14 Glenn Morris <rgm@gnu.org>
3539
3540 * term/xterm.el (xterm--query):
3541 Stop after first matching handler. (Bug#14615)
3542
a020afb9 35432013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
3544
3545 Add support for dired in saveplace.
3546 * dired.el (dired-initial-position-hook): New variable.
3547 (dired-initial-position): Call hook to place cursor position.
3548 * saveplace.el (save-place-to-alist): Add dired position.
3549 (save-place-dired-hook): New function.
3550
0b31660d
SM
35512013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3552
bf1e6ae8
SM
3553 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3554 through a symbol rather than letrec.
3555
1b8dff23
SM
3556 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3557 (package-desc): Add `dir' field.
3558 (package-desc-full-name): New function.
3559 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3560 (package-maybe-load-descriptor): Remove.
3561 (package-load-all-descriptors): Just call package-load-descriptor.
3562 (package--disabled-p): New function.
3563 (package-desc-vers, package-desc-doc): Remove aliases.
3564 (package--dir): Remove function.
3565 (package-activate): Check if a package is disabled.
3566 (package-process-define-package): New function, extracted from
3567 define-package.
3568 (define-package): Turn into a place holder.
3569 (package-unpack-single, package-tar-file-info):
3570 Use package--description-file.
3571 (package-compute-transaction): Use package--disabled-p.
3572 (package-download-transaction): Don't call
3573 package-maybe-load-descriptor since they're all loaded anyway.
3574 (package-install): Change argument to be a pkg-desc.
3575 (package-delete): Use a single pkg-desc argument.
3576 (describe-package-1): Use package-desc-dir instead of package--dir.
3577 Use package-desc property instead of package-symbol.
3578 (package-install-button-action): Adjust accordingly.
3579 (package--push): Rewrite.
3580 (package-menu--print-info): Adjust accordingly. Change the ID format
3581 to be a pkg-desc.
3582 (package-menu-describe-package, package-menu-get-status)
3583 (package-menu--find-upgrades, package-menu-mark-upgrades)
3584 (package-menu-execute, package-menu--name-predicate):
3585 Adjust accordingly.
3586 * startup.el (package--description-file): New function.
3587 (command-line): Use it.
3588 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3589 Use package-desc-version.
3590
0b31660d
SM
3591 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3592 (byte-compile-preprocess): Use it.
3593 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3594 can't quite recognize.
3595 (byte-compile-add-to-list): Remove.
3596 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3597 (cconv-closure-convert): Add assertion.
3598
3599 * emacs-lisp/map-ynp.el: Use lexical-binding.
3600 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3601 Factor out some repeated code.
3602
de0503df
SM
36032013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * subr.el (with-eval-after-load): New macro.
3606 (eval-after-load): Allow form to be a function.
3607 take advantage of lexical-binding.
3608 (do-after-load-evaluation): Use dolist and adjust to new format.
3609 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3610
bc5c8c5a
JL
36112013-06-13 Juri Linkov <juri@jurta.org>
3612
3613 * replace.el (perform-replace): Display "symbol " and other search
3614 modes from `isearch-message-prefix' in the *Help* buffer.
3615
3616 * isearch.el (isearch-query-replace): Add " symbol" and other
3617 possible search modes from `isearch-message-prefix' to the prompt.
3618 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3619 when reading a regexp to collect.
3620
a22289f7
JL
36212013-06-13 Juri Linkov <juri@jurta.org>
3622
3623 * isearch.el (word-search-regexp): Match whitespace if the search
3624 string begins or ends in whitespace. The LAX arg is applied to
3625 both ends of the search string. Use `regexp-quote' and explicit
3626 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3627 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3628 boundaries are replaced with symbol boundaries, and characters
3629 between symbols match non-word non-symbol syntax. (Bug#14602)
3630
cb89acab
JL
36312013-06-13 Juri Linkov <juri@jurta.org>
3632
3633 * isearch.el (isearch-del-char): Don't exceed the length of
3634 `isearch-string' by the prefix arg. (Bug#14563)
3635
6e8cfc81
JL
36362013-06-13 Juri Linkov <juri@jurta.org>
3637
3638 * isearch.el (isearch-yank-word, isearch-yank-line)
3639 (isearch-char-by-name, isearch-quote-char)
3640 (isearch-printing-char, isearch-process-search-char):
3641 Add optional count prefix arg. (Bug#14563)
3642
3643 * international/isearch-x.el
3644 (isearch-process-search-multibyte-characters):
3645 Add optional count prefix arg.
3646
c23d55f4
VS
36472013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3650 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3651 lexical-binding.
3652
36532013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3654
3655 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3656
ba947bc4
GM
36572013-06-13 Glenn Morris <rgm@gnu.org>
3658
8baeb37a
GM
3659 * startup.el (tty-handle-args):
3660 Don't just discard "--" and anything after. (Bug#14608)
3661
ba947bc4
GM
3662 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3663
9abefce4
MA
36642013-06-13 Michael Albinus <michael.albinus@gmx.de>
3665
3666 Implement changes in Secret Service API. Make it backward compatible.
3667 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3668 (secrets-create-item): Use it. Prefix properties with interface.
3669
5755011f
MH
36702013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3671
3672 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3673 (term-emulate-terminal): Respect term-suppress-hard-newline.
3674
1261d2da
S
36752013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3676
3677 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3678 Only remove a `thumb-file' overlay. (Bug#14548)
3679
868490bb
GJ
36802013-06-12 Grégoire Jadi <daimrod@gmail.com>
3681
3682 * mail/reporter.el (reporter-submit-bug-report):
3683 Handle missing package-name. (Bug#14600)
3684
79d7167f
TH
36852013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3686
3687 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3688 (reftex-citation-prompt, reftex-default-bibliography)
3689 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3690 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3691 (reftex-bib-sort-author, reftex-bib-sort-year)
3692 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3693 (reftex-extract-bib-entries-from-thebibliography)
3694 (reftex-get-bibkey-default, reftex-get-bib-names)
3695 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3696 (reftex-format-bib-entry, reftex-parse-bibitem)
3697 (reftex-format-bibitem, reftex-do-citation)
3698 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3699 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3700 (reftex-insert-bib-matches, reftex-format-citation)
3701 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3702 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3703 existing comments into docstrings.
3704
5f9dbd7a
XF
37052013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3706
3707 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3708
94df41ab
AS
37092013-06-12 Andreas Schwab <schwab@suse.de>
3710
3711 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3712 for auto-save files.
3713
a7f3fecc
GM
37142013-06-12 Glenn Morris <rgm@gnu.org>
3715
001809f6
GM
3716 * ido.el (ido-delete-ignored-files): Remove.
3717 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3718 Go back to calling ido-ignore-item-p directly.
a7f3fecc 3719
834b5ded
EL
37202013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3721
08c73ed2
EL
3722 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3723
834b5ded
EL
3724 * ido.el (ido-delete-ignored-files): New function,
3725 split from ido-make-file-list-1.
3726 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3727 (ido-make-file-list-1): Use ido-delete-ignored-files.
3728
daabf15a
LL
37292013-06-12 Leo Liu <sdl.web@gmail.com>
3730
3731 * progmodes/octave.el (inferior-octave-startup)
3732 (inferior-octave-completion-table)
3733 (inferior-octave-track-window-width-change)
3734 (octave-eldoc-function-signatures, octave-help)
3735 (octave-find-definition): Use single quoted strings.
3736 (inferior-octave-startup-args): Change default value.
3737 (inferior-octave-startup): Do not hard code "-i" and
3738 "--no-line-editing".
3739 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3740 (inferior-octave-directory-tracker): Use it.
3741 (octave-goto-function-definition): Robustify.
3742 (octave-help): Support highlighting operators in 'See also'.
3743 (octave-find-definition): Find subfunctions only in Octave mode.
3744
cf4e5178
SM
37452013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * help-fns.el (help-fns--compiler-macro): If the handler function is
3748 named, then put a link to it.
3749 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3750 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3751 (cl-typep): Use it.
3752 (cl-eval-when): Simplify debug spec.
3753 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3754 compiler-macro function instead of setting `compiler-macro-file'.
3755
99c81280 37562013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
3757
3758 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3759 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3760
f56be016
SM
37612013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3762 Daniel Hackney <dan@haxney.org>
3763
3764 First part of Daniel Hackney's patch to package.el.
3765 * emacs-lisp/package.el: Use defstruct.
3766 (package-desc): New, main struct.
3767 (package--bi-desc, package--ac-desc): New structs, used to describe the
3768 format in external files.
3769 (package-desc-vers): Replace with package-desc-version accessor.
3770 (package-desc-doc): Replace with package-desc-summary accessor.
3771 (package-activate-1): Remove `package' arg since the pkg-vec now
3772 includes the name.
3773 (define-package): Use package-desc-from-define.
3774 (package-unpack-single): Change file-name arg to be a symbol.
3775 (package--add-to-archive-contents): Use package-desc-create and new
3776 accessor functions to package--ac-desc.
3777 (package-buffer-info, package-tar-file-info): Return a package-desc.
3778 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3779 arg to be a package-desc.
3780 (package-install-file): Adjust accordingly. Use \' to match EOS.
3781 (package--from-builtin): New function.
3782 (describe-package-1, package-menu--generate): Use it.
3783 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3784 (package-generate-autoloads): Idem and return the name of the file.
3785 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3786 Change pkg-info arg to be a package-desc.
3787 Use package-make-ac-desc.
3788 (package-upload-file): Use \' to match EOS.
3789 * finder.el (finder-compile-keywords): Use package-make-builtin.
3790
31119d63
SM
37912013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3792
931a2762
SM
3793 * vc/vc.el (vc-deduce-fileset): Change error message.
3794 (vc-read-backend): New function.
3795 (vc-next-action): Use it.
3796
5a3eb0c6
SM
3797 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3798
e3eb1bb7
SM
3799 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3800 (prolog-font-lock-keywords): Use regexp-opt instead.
3801 Don't manually highlight strings.
3802 (prolog-mode-variables): Simplify comment-start-skip.
3803 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3804
31119d63
SM
3805 * emacs-lisp/generic.el (generic--normalise-comments)
3806 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3807 (generic-mode-set-comments): Use them.
3808 (generic-bracket-support): Use setq-local.
3809 (generic-make-keywords-list): Declare obsolete.
3810
7de135d0
GM
38112013-06-11 Glenn Morris <rgm@gnu.org>
3812
3813 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3814 Prettify after setting font-lock-defaults. (Bug#14574)
3815
fa6bc6fd
JB
38162013-06-11 Juanma Barranquero <lekktu@gmail.com>
3817
3818 * replace.el (query-replace, occur-read-regexp-defaults-function)
3819 (replace-search):
3820 * subr.el (declare-function, number-sequence, local-set-key)
3821 (substitute-key-definition, locate-user-emacs-file)
3822 (with-silent-modifications, split-string, eval-after-load):
3823 Fix typos, remove unneeded backslashes and reflow some docstrings.
3824
cf1f9b9a
SM
38252013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3828 default for Elisp files.
3829
56602a4b
GM
38302013-06-11 Glenn Morris <rgm@gnu.org>
3831
3832 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3833 although define-derived-mode was doing this anyway. (Bug#14583)
3834
30ae0b2c
JB
38352013-06-10 Juanma Barranquero <lekktu@gmail.com>
3836
3837 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3838 Fix make-variable-buffer-local call to refer to the correct variable.
3839
fa472906
AG
38402013-06-10 Aidan Gauland <aidalgol@amuri.net>
3841
3842 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
3843 (eshell-visual-subcommands, eshell-visual-options):
3844 Add summary line to docstrings. Add cross-references.
fa472906 3845
ff4871b9
GM
38462013-06-10 Glenn Morris <rgm@gnu.org>
3847
3848 * epa.el (epa-read-file-name): New function. (Bug#14510)
3849 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3850
04fcf1b0
AG
38512013-06-09 Aidan Gauland <aidalgol@amuri.net>
3852
3853 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3854 output redirection to be ignored with visual commands.
3855
88b00caa
AG
38562013-06-09 Aidan Gauland <aidalgol@amuri.net>
3857
3858 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
3859 (eshell-term-initialize): Move long lambda to separate function
3860 eshell-visual-command-p.
e7b41c4c
JB
3861 * eshell/em-dirs.el (eshell-dirs-initialise):
3862 * eshell/em-script.el (eshell-script-initialize):
3863 Add missing #' to lambda.
88b00caa 3864
fda74125
LL
38652013-06-08 Leo Liu <sdl.web@gmail.com>
3866
3867 * progmodes/octave.el (octave-add-log-current-defun): New function.
3868 (octave-mode): Set add-log-current-defun-function.
3869 (octave-goto-function-definition): Do not move point if not found.
3870 (octave-find-definition): Enhance to try subfunctions first.
3871
467f3b33
GM
38722013-06-08 Glenn Morris <rgm@gnu.org>
3873
3874 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3875 (byte-compile-backward-char, byte-compile-backward-word):
3876 Improve previous change, to handle non-explicit nil.
3877
544badc3
SM
38782013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3881 (smie--opener/closer-at-point): New function.
3882 (smie--matching-block-data): Use it. Don't match from right after an
3883 opener or right before a closer. Obey smie-blink-matching-inners.
3884 Don't signal a mismatch for repeated inners like "switch..case..case".
3885
a175bf33
LL
38862013-06-07 Leo Liu <sdl.web@gmail.com>
3887
3888 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3889 to t. (Bug#14303)
ce8209d4
LL
3890 (octave-function-header-regexp): Fix. (Bug#14570)
3891 (octave-help-mode-finish-hook, octave-help-mode-finish):
3892 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
3893
3894 * newcomment.el (comment-search-backward): Revert last change.
3895 (Bug#14434)
3896
3897 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3898
a822acff
EZ
38992013-06-07 Eli Zaretskii <eliz@gnu.org>
3900
3901 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3902 through xargs, to avoid failure due to MS-Windows limitations on
3903 command-line length.
3904
961166f5
GM
39052013-06-06 Glenn Morris <rgm@gnu.org>
3906
d0341459
GM
3907 * font-lock.el (lisp-font-lock-keywords-2):
3908 Treat user-error like error.
3909
961166f5
GM
3910 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3911 (byte-compile-backward-char, byte-compile-backward-word):
3912 Handle explicit nil arguments. (Bug#14565)
3913
80fa505f
AM
39142013-06-05 Alan Mackenzie <acm@muc.de>
3915
3916 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 3917 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 3918 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 3919 (Bug#9706)
80fa505f 3920
fccdc796
SM
39212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * autorevert.el (auto-revert-notify-handler): Use memq.
3924 Hide assertion failure.
3925
3926 * skeleton.el: Use cl-lib.
3927 (skeleton-further-elements): Use defvar-local.
3928 (skeleton-insert): Use cl-progv.
3929
9bfff84b
TZ
39302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3931
3932 * progmodes/prog-mode.el (prog-prettify-symbols)
3933 (prog-prettify-install): Update docstrings.
3934
55577e7c
SM
39352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * simple.el: Move all the prog-mode code to prog-mode.el.
3938 * progmodes/prog-mode.el: New file.
3939 * loadup.el: Add prog-mode.el.
3940
8fc57765
TZ
39412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3942
3943 * simple.el (prog-prettify-symbols): Add version.
3944 (prog-prettify-install): Add convenience function to prettify symbols.
3945
3946 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3947 (perl--augmented-font-lock-keywords-1)
3948 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3949 variables and use it.
3950
3951 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3952 (cfengine3-mode): Remove unneeded variable and use it.
3953
3954 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3955 (lisp--augmented-font-lock-keywords-1)
3956 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3957 Remove unneeded variables and use it.
3958
650645d5 39592013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
3960
3961 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 3962 to point when opening the connection. (Bug#14380)
28f5da6d 3963
781b4af6
SM
39642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * subr.el (load-history-regexp, load-history-filename-element)
3967 (eval-after-load, after-load-functions, do-after-load-evaluation)
3968 (eval-next-after-load, display-delayed-warnings)
3969 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3970 definition of save-match-data.
3971 (overriding-local-map): Remove accidental obsolescence declaration.
3972
3973 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3974
3ca0d0b4
TZ
39752013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3976
3977 Generalize symbol prettify support to prog-mode and implement it
3978 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3979 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3980 (prog--prettify-font-lock-compose-symbol)
3981 (prog-prettify-font-lock-symbols-keywords): New variables and
3982 functions to support symbol prettification.
3983 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3984 (lisp--augmented-font-lock-keywords-1)
3985 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3986 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3987 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
3988 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3989 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
3990 * progmodes/perl-mode.el (perl-prettify-symbols)
3991 (perl--font-lock-compose-symbol)
3992 (perl--font-lock-symbols-keywords): Move to prog-mode.
3993 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3994 (perl-font-lock-keywords-1)
3995 (perl-font-lock-keywords-2): Remove explicit prettify support.
3996 (perl--augmented-font-lock-keywords)
3997 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
3998 (perl--augmented-font-lock-keywords-2, perl-mode):
3999 Implement prettify support.
3ca0d0b4 4000
976cb066
LL
40012013-06-05 Leo Liu <sdl.web@gmail.com>
4002
4003 Re-implement smie matching block highlight using
4004 show-paren-data-function. (Bug#14395)
4005 * emacs-lisp/smie.el (smie-matching-block-highlight)
4006 (smie--highlight-matching-block-overlay)
4007 (smie--highlight-matching-block-lastpos)
4008 (smie-highlight-matching-block)
4009 (smie-highlight-matching-block-mode): Remove.
4010 (smie--matching-block-data-cache): New variable.
4011 (smie--matching-block-data): New function.
4012 (smie-setup): Use smie--matching-block-data for
4013 show-paren-data-function.
4014
4015 * progmodes/octave.el (octave-mode-menu): Fix.
4016 (octave-find-definition): Skip garbage lines.
4017
208d0342
SM
40182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 Fix compilation error with simultaneous dynamic+lexical scoping.
4021 Add warning when a defvar appears after the first let-binding.
4022 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4023 (byte-compile-close-variables): Initialize it.
4024 (byte-compile--declare-var): New function.
4025 (byte-compile-file-form-defvar)
4026 (byte-compile-file-form-define-abbrev-table)
4027 (byte-compile-file-form-custom-declare-variable): Use it.
4028 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4029 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4030 (byte-compile-bind): Handle dynamic bindings that shadow
4031 lexical bindings.
4032 (byte-compile-unbind): Make arg non-optional.
4033 (byte-compile-let): Simplify.
4034 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4035 (cconv--analyse-function, cconv-analyse-form): Populate it.
4036 Protect byte-compile-bound-variables to limit the scope of defvars.
4037 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4038 Remove unneeded rule for `declare'.
4039
4040 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4041 so as to avoid depending on cl-adjoin at run-time.
4042 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4043
4044 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4045 (macroexp--warn-and-return): Use it.
4046
2587b005
LL
40472013-06-05 Leo Liu <sdl.web@gmail.com>
4048
4049 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4050
f1da3c88
LL
40512013-06-04 Leo Liu <sdl.web@gmail.com>
4052
4053 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4054 (compilation-auto-jump): Suppress the "Mark set" message to give
4055 way to exit message.
4056
3caa391f
AM
40572013-06-04 Alan Mackenzie <acm@muc.de>
4058
4059 Remove faulty optimisation from indentation calculation.
4060 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4061 search limit based on 2000 characters back from indent-point.
4062
068922a2
TH
40632013-06-03 Tassilo Horn <tsdh@gnu.org>
4064
4065 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4066
1f8fdd53
SM
40672013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4068
bbcc4d97
SM
4069 * emacs-lisp/lisp.el: Use lexical-binding.
4070 (lisp--local-variables-1, lisp--local-variables): New functions.
4071 (lisp--local-variables-completion-table): New var.
208d0342 4072 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 4073
1f8fdd53
SM
4074 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4075 eagerly (bug#14422).
4076
c9628c79
MA
40772013-06-03 Michael Albinus <michael.albinus@gmx.de>
4078
4079 * autorevert.el (auto-revert-notify-enabled)
4080 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4081 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4082 (auto-revert-notify-handler): Handle also gfilenotify.
4083
e7b41c4c 4084 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 4085 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 4086 Remove.
c9628c79 4087
e5e4a942
JL
40882013-06-03 Juri Linkov <juri@jurta.org>
4089
4090 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4091 `M-s h .'. (Bug#14427)
4092
4093 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4094 command `hi-lock-face-symbol-at-point'.
4095 (hi-lock-face-symbol-at-point): New command.
4096 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4097 (hi-lock-menu): Add `highlight-symbol-at-point'.
4098 (hi-lock-mode): Doc fix.
4099
4100 * isearch.el (isearch-forward-symbol-at-point): New command.
4101 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4102 (isearch-highlight-regexp): Add a regexp which matches
4103 words/symbols for word/symbol mode.
4104
4105 * subr.el (find-tag-default-bounds): New function with the body
4106 mostly moved from `find-tag-default'.
4107 (find-tag-default): Move most code to `find-tag-default-bounds',
4108 call it and apply `buffer-substring-no-properties' afterwards.
4109
26b3353a
TH
41102013-06-03 Tassilo Horn <tsdh@gnu.org>
4111
781b4af6
SM
4112 * eshell/em-term.el (eshell-term-initialize):
4113 Use `cl-intersection' rather than `intersection'.
26b3353a 4114
51b60f53
XF
41152013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4116
fe054b63 4117 * vc/log-view.el: Doc fix.
d3ffe17c 4118 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 4119
a0eb10b3 41202013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
4121
4122 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4123 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4124 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4125 (eieio-unbound, eieio-default-superclass)
4126 (eieio--define-field-accessors, method-static, method-before)
4127 (method-primary, method-after, method-num-lists)
4128 (method-generic-before, method-generic-primary)
4129 (method-generic-after, method-num-slots)
4130 (eieio-specialized-key-to-generic-key)
4131 (eieio--check-type, class-v, class-p)
4132 (eieio-class-name, define-obsolete-function-alias)
4133 (eieio-class-parents-fast, eieio-class-children-fast)
4134 (same-class-fast-p, class-constructor, generic-p)
4135 (generic-primary-only-p, generic-primary-only-one-p)
4136 (class-option-assoc, class-option, eieio-object-p)
4137 (class-abstract-p, class-method-invocation-order)
4138 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4139 (eieio-class-un-autoload, eieio-defclass)
4140 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4141 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4142 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4143 (eieio-defgeneric-reset-generic-form)
4144 (eieio-defgeneric-form-primary-only)
4145 (eieio-defgeneric-reset-generic-form-primary-only)
4146 (eieio-defgeneric-form-primary-only-one)
4147 (eieio-defgeneric-reset-generic-form-primary-only-one)
4148 (eieio-unbind-method-implementations)
4149 (eieio--defmethod, eieio--typep)
4150 (eieio-perform-slot-validation, eieio-validate-slot-value)
4151 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4152 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4153 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4154 (eieio-slot-name-index, eieio-class-slot-name-index)
4155 (eieio-set-defaults, eieio-initarg-to-attribute)
4156 (eieio-attribute-to-initarg, eieio-c3-candidate)
4157 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4158 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4159 (eieio-class-precedence-list, eieio-generic-call-methodname)
4160 (eieio-generic-call-arglst, eieio-generic-call-key)
4161 (eieio-generic-call-next-method-list)
4162 (eieio-pre-method-execution-functions, eieio-generic-call)
4163 (eieio-generic-call-primary-only, eieiomt-method-list)
4164 (eieiomt-optimizing-obarray, eieiomt-install)
4165 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4166 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 4167 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
4168 (defclass): Remove `eval-and-compile' from macro.
4169 (call-next-method, shared-initialize): Instead of using
4170 `scoped-class' variable, use new eieio--scoped-class, and
4171 eieio--with-scoped-class.
4172 (initialize-instance): Rename local variable 'scoped-class' to
4173 'this-class' to remove ambiguitity from old global.
4174
4175 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4176 eieio.el.
4f405069
JB
4177 (eieio--scoped-class-stack): New variable.
4178 (eieio--scoped-class): New fcn.
890f7890
DE
4179 (eieio--with-scoped-class): New scoping macro.
4180 (eieio-defclass): Use pushnew instead of add-to-list.
4181 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4182 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4183 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4184 `scoped-class' variable, use new eieio--scoped-class, and
4185 eieio--with-scoped-class.
4186
4187 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4188
d105b0e2
TH
41892013-06-02 Tassilo Horn <tsdh@gnu.org>
4190
4191 * eshell/esh-ext.el (eshell-external-command): Pass args to
4192 `eshell-find-interpreter'.
4193 (eshell-find-interpreter): Add new second parameter ARGS.
4194
4195 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 4196 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4197
4198 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 4199 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4200
4201 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4202 (eshell-visual-options): New defcustom.
4203 (eshell-escape-control-x): Adapt docstring.
4204 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4205 `eshell-visual-options' in addition to `eshell-visual-commands'.
4206 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4207
f46305c8 42082013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
4209
4210 * progmodes/python.el (python-indent-block-enders): Add break,
4211 continue and raise keywords.
4212
d870df21
GM
42132013-06-01 Glenn Morris <rgm@gnu.org>
4214
9133b82e
GM
4215 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4216
02c992ec 4217 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
4218 * progmodes/cc-cmds.el (delete-forward-p):
4219 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4220 * progmodes/cc-engine.el (buffer-syntactic-context):
4221 * progmodes/cc-fonts.el (face-property-instance):
4222 * progmodes/cc-mode.el (set-keymap-parents):
4223 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4224 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4225 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
4226 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4227 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 4228
31e7b090
GM
4229 * progmodes/cc-vars.el (other): Emacs has this widget since
4230 at least 21.1, so don't (re)define it.
4231
d870df21
GM
4232 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4233 Replace the obsolete alias pcomplete-arg-quote-list.
4234
c75c93c7
LL
42352013-06-01 Leo Liu <sdl.web@gmail.com>
4236
4237 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4238 punctuation syntax.
4239 (inferior-octave-minimal-columns)
4240 (inferior-octave-last-column-width): New variables.
4241 (inferior-octave-track-window-width-change): New function.
4242 (inferior-octave-mode): Adjust column width so that Octave output,
4243 for example from 'ls', can fit into the window nicely.
4244
973d1e12
DG
42452013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4246
4247 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4248 Highlight expansions inside regexp literals.
4249
0888c286
GM
42502013-05-31 Glenn Morris <rgm@gnu.org>
4251
e26aac1f
GM
4252 * obsolete/sym-comp.el (symbol-complete):
4253 Replace obsolete completion-annotate-function.
4254
0888c286
GM
4255 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4256
19bb8e62
DG
42572013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4258
781b4af6
SM
4259 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4260 New function, checks if point is inside a literal that allows
19bb8e62
DG
4261 expression expansion.
4262 (ruby-syntax-propertize-expansion): Use it.
4263 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4264 around the body.
4265
01dea85f
JL
42662013-05-30 Juri Linkov <juri@jurta.org>
4267
4268 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4269 to "\M-si".
4270 (isearch-invisible): New variable.
4271 (isearch-forward): Doc fix.
4272 (isearch-mode): Set `isearch-invisible'
4273 to the value of `search-invisible'.
4274 (isearch-toggle-case-fold): Doc fix.
4275 (isearch-toggle-invisible): New command.
4276 (isearch-query-replace): Let-bind `search-invisible'
4277 to the value of `isearch-invisible'.
4278 (isearch-search): Use `isearch-invisible' instead of
4279 `search-invisible'. Let-bind `search-invisible'
4280 to the value of `isearch-invisible'. (Bug#11378)
4281
ab1bdce5
JL
42822013-05-30 Juri Linkov <juri@jurta.org>
4283
4284 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4285 call when `query-flag' is nil and `search-invisible' is non-nil.
4286 (Bug#11746)
4287
d6d236e2
GM
42882013-05-30 Glenn Morris <rgm@gnu.org>
4289
8accd027
GM
4290 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4291
2a8bed1c
GM
4292 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4293 (cc-require): Suppress spurious "noruntime" warnings.
4294 (cc-require-when-compile): Use fboundp, for sake of compiler.
4295
d6d236e2
GM
4296 * progmodes/cc-mode.el: Move load of cc-vars before that of
4297 cc-langs (which in turn loads cc-vars), to quieten compiler.
4298
9190b35b
SM
42992013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * paren.el: Simplify the code.
4302 (show-paren-mode): Always start the timer.
4303 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4304 (show-paren--overlay, show-paren--overlay-1): Rename from
4305 show-paren-overlay and show-paren-overlay-1, and initialize to an
4306 overlay rather than to nil.
4307 (show-paren-function): Misc cleanup and simplifications.
4308
4f8d1cf6
SM
43092013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * paren.el (show-paren-data-function): New hook.
4312 (show-paren--default): New function, extracted from show-paren-function.
4313 (show-paren-function): Use show-paren-data-function.
4314
02d844b5
GM
43152013-05-30 Glenn Morris <rgm@gnu.org>
4316
d209d4a9
GM
4317 * ielm.el (ielm-map, ielm-complete-symbol):
4318 Use completion-at-point rather than obsolete functions.
4319 (inferior-emacs-lisp-mode): Doc fix.
4320 Set completion-at-point-functions, rather than
4321 comint-dynamic-complete-functions.
4322
2082faa6
GM
4323 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4324 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4325 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4326
dd8620de
GM
4327 * image.el (image-animated-p): Tweak definition.
4328
ceca95b1
GM
4329 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4330 (rlogin-process-connection-type): Tweak default. Add set-after.
4331 (rlogin-host): Doc fix.
4332 (rlogin): Tweak prompt.
4333 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4334
ee9f1acc
GM
4335 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4336 * progmodes/tcl.el (inferior-tcl-mode-map):
4337 Use completion-at-point rather than obsolete alias.
4338
45ce222e
GM
4339 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4340
02d844b5
GM
4341 * minibuffer.el (read-file-name-completion-ignore-case):
4342 Move before completion--in-region, for eager macro expansion.
4343
ac44d6c1
JL
43442013-05-29 Juri Linkov <juri@jurta.org>
4345
4346 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4347 for total count of matching lines. Add `global-matches' for total
4348 count of matches. Rename `matches' to `lines' for count of
4349 matching lines. Add `matches' for count of matches.
4350 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4351 to `prev-line' for line number of prev match endpt.
4352 Increment `matches' for every match. Print the number of
4353 matching lines in the header.
4354 (occur-context-lines): Rename `lines' to `curr-line'.
4355 Rename `prev-lines' to `prev-line'. (Bug#14017)
4356
3c9c9d38
JL
43572013-05-29 Juri Linkov <juri@jurta.org>
4358
4359 * replace.el (perform-replace): Add `skip-read-only-count',
4360 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4361 Increment them for corresponding conditions and report the number
4362 of skipped occurrences in the final message. (Bug#11746)
4363 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4364 (replace-string, replace-regexp): Doc fix.
4365
33e249a2
SM
43662013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4367
8e399682
SM
4368 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4369
33e249a2 4370 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 4371 prog-mode-map (bug#14504).
33e249a2 4372
f236dd84
LL
43732013-05-29 Leo Liu <sdl.web@gmail.com>
4374
4375 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4376 (octave-help): Small simplification.
4377
4378 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4379 off the highlight first.
4380
3694d13f
GM
43812013-05-29 Glenn Morris <rgm@gnu.org>
4382
03983bdc
GM
4383 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4384 Handle idlwave-last-system-routine-info-cons-cell being nil.
4385
bc74a74a
GM
4386 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4387 (idlwave-write-paths): Simplify via with-temp-buffer.
4388
8b394200
GM
4389 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4390 * emulation/cua-rect.el: Also load cua-base at run time.
4391
3694d13f
GM
4392 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4393 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4394 (cperl-imenu-on-info): Require imenu.
4395
336d7284
AM
43962013-05-28 Alan Mackenzie <acm@muc.de>
4397
4398 Handle "capitalised keywords" correctly.
33e249a2 4399 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 4400
cb29c582
AG
44012013-05-28 Aidan Gauland <aidalgol@amuri.net>
4402
781b4af6 4403 * eshell/em-unix.el: Add -r option to cp.
cb29c582 4404
690e44b2
GM
44052013-05-28 Glenn Morris <rgm@gnu.org>
4406
e658d75c
GM
4407 * vc/vc-arch.el (vc-exec-after): Declare.
4408 (vc-switches): Autoload.
4409 * vc/vc-bzr.el: No need to require vc when compiling.
4410 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4411 (vc-resynch-buffer, vc-dir-refresh): Declare.
4412 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
4413 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4414 (vc-resynch-buffer): Declare.
4415 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 4416 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
4417 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4418 (grep-read-regexp, grep-read-files, grep-expand-template)
4419 (vc-dir-refresh): Declare.
4420 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4421 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4422 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
4423 * vc/vc-mtn.el (vc-exec-after): Declare.
4424 (vc-switches): Autoload.
4425 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4426 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4427 (vc-file-tree-walk): Declare.
712b9732
GM
4428 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4429 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4430 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
4431 * vc/vc-svn.el (vc-exec-after): Declare.
4432 (vc-switches, vc-setup-buffer): Autoload.
4433 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4434 Autoload.
4435 (vc-resynch-buffer): Declare.
4436
98e87fb3
GM
4437 * obsolete/fast-lock.el (byte-compile-warnings):
4438 Don't warn about obsolete features in this obsolete file.
4439
f5379553
GM
4440 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4441 Move definition before use.
4442
7a20ef83
GM
4443 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4444 (dun-unix-verbs): Remove dun-zippy.
4445 (dun-zippy): Remove function.
4446
690e44b2
GM
4447 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4448
3a52ccf7
JL
44492013-05-27 Juri Linkov <juri@jurta.org>
4450
4451 * replace.el (replace-search): New function with code moved out
4452 from `perform-replace'.
4453 (replace-highlight, replace-dehighlight): Move function definitions
4454 up closer to `replace-search'. (Bug#11746)
4455
d289938a
JL
44562013-05-27 Juri Linkov <juri@jurta.org>
4457
4458 * replace.el (perform-replace): Ignore invisible matches.
4459 In addition to checking `query-replace-skip-read-only', also
4460 filter out matches by calling `run-hook-with-args-until-failure'
4461 on `isearch-filter-predicates', and also check `search-invisible'
4462 for t or call `isearch-range-invisible'.
4463 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4464
66fc57e3
JL
44652013-05-27 Juri Linkov <juri@jurta.org>
4466
4467 * isearch.el (isearch-filter-predicates): Rename from
4468 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4469 (isearch-message-prefix): Display text from the property
4470 `isearch-message-prefix' of the currently active filters.
4471 (isearch-search): Don't compare `isearch-filter-predicate' with
4472 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4473 on `isearch-filter-predicates'. Also check `search-invisible' for t
4474 or call `isearch-range-invisible'.
4475 (isearch-filter-visible): Make obsolete.
4476 (isearch-lazy-highlight-search):
4477 Call `run-hook-with-args-until-failure' on
4478 `isearch-filter-predicates' and use `isearch-range-invisible'.
4479
4480 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4481 `isearch-filter-predicates' instead of `funcall'ing
4482 `isearch-filter-predicate'.
4483 (Info-mode): Set `Info-isearch-filter' to
4484 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4485
4486 * dired-aux.el (dired-isearch-filter-predicate-orig):
4487 Remove variable.
4488 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4489 (dired-isearch-filenames-end): Add and remove
4490 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4491 instead of changing the value of `isearch-filter-predicate'.
4492 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4493 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4494 Put property `isearch-message-prefix' to "filename " on
4495 `dired-isearch-filter-filenames'.
4496
4497 * wdired.el (wdired-change-to-wdired-mode):
4498 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4499 locally instead of changing `isearch-filter-predicate'.
4500 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4501
f1a60a0f
DG
45022013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4503
4504 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4505 return the commit hash (Bug#14459). Also set the
4506 `vc-git-detached' property.
4507 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4508 (vc-git-mode-line-string): Use the same help-echo format whether
4509 in detached mode or not, because we know the actual revision now.
4510 When in detached mode, shorten the revision to 7 chars.
4511
7f17cc40
SM
45122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * emacs-lisp/easy-mmode.el (define-minor-mode):
4515 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4516 mode hook and provide a docstring.
4517
25c8401c
AM
45182013-05-27 Alan Mackenzie <acm@muc.de>
4519
4520 Remove spurious syntax-table text properties inserted by C-y.
4521 * progmodes/cc-mode.el (c-after-change): Also clear hard
4522 syntax-table property with value nil.
4523
dde84790
MA
45242013-05-27 Michael Albinus <michael.albinus@gmx.de>
4525
4526 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4527 when reading the events; the buffer layout shall not be changed.
4528
837fd9af
LL
45292013-05-27 Leo Liu <sdl.web@gmail.com>
4530
4531 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4532 New variable.
4533 (inferior-octave-directory-tracker): Automatically re-sync
4534 default-directory.
4535 (octave-help): Improve handling of 'See also'.
4536
4fd996b3
SM
45372013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4538
416f1802
SM
4539 * doc-view.el: Minor naming convention tweaks.
4540 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4541
4fd996b3
SM
4542 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4543 even if there's no `display' property yet (bug#14435).
4544
a052ef3b
EZ
45452013-05-25 Eli Zaretskii <eliz@gnu.org>
4546
4fd996b3 4547 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
4548
4549 * Makefile.in (custom-deps, finder-data, autoloads)
4550 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4551 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4552 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4553
c9023370
SM
45542013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4557 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 4558 Don't burp at EOB.
c9023370 4559
24d699fa
LL
45602013-05-25 Leo Liu <sdl.web@gmail.com>
4561
4562 * comint.el (comint-previous-matching-input): Do not flood the
4563 *Messages* buffer with trivial messages.
4564
17e5c0cc
SM
45652013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * progmodes/flymake.el (flymake-nop): Don't return a string.
4568 (flymake-set-at): Fix typo.
4569
4570 * simple.el (read--expression): New function, extracted from
4571 eval-expression. Set completion-at-point-functions (bug#14465).
4572 (eval-expression, eval-minibuffer): Use it.
4573
5d028165
XF
45742013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4575
4576 * progmodes/flymake.el (flymake-save-buffer-in-file)
4577 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4578 (flymake-selected-frame, flymake-log, flymake-ins-after)
4579 (flymake-set-at, flymake-get-buildfile-from-cache)
4580 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4581 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4582 Refine the doc string.
4583 (flymake-get-file-name-mode-and-masks): Reformat.
4584 (flymake-get-real-file-name-function): Fix a minor bug.
4585
7a1d7ba7
JL
45862013-05-24 Juri Linkov <juri@jurta.org>
4587
4588 * progmodes/grep.el (grep-mode-font-lock-keywords):
4589 Support =linenumber= format used by git-grep for lines with
4590 function names. (Bug#13549)
4591
650cff3d
SM
45922013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4595 0 after a semi-colon; it works better for smie-auto-fill.
4596 (octave--indent-new-comment-line): New function.
4597 (octave-indent-new-comment-line): Use it (indirectly).
4598 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4599 modify comment-line-break-function.
4600
4601 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4602 (smie-setup): Use add-function to set it.
4603
9631677d
SS
46042013-05-24 Sam Steingold <sds@gnu.org>
4605
4606 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4607 argument (before the `interactive' argument).
4608
50105835
SM
46092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * image-mode.el (image-mode-winprops): Add winprops to
4612 image-mode-winprops-alist before running
4613 image-mode-new-window-functions.
4614 * doc-view.el (doc-view-new-window-function): Don't delay
4615 doc-view-goto-page via timers (bug#14435).
4616
57b9823e
TH
46172013-05-24 Tassilo Horn <tsdh@gnu.org>
4618
4619 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4620 (doc-view-desktop-save-buffer): New function.
4621 (doc-view-restore-desktop-buffer): New function.
50105835
SM
4622 (desktop-buffer-mode-handlers):
4623 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
4624 handler.
4625 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4626 `desktop-save-buffer' function.
4627
91aafa16
MA
46282013-05-24 Michael Albinus <michael.albinus@gmx.de>
4629
4630 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4631 (tramp-gvfs-file-name-handler): Raise a user error when
4632 `tramp-gvfs-enabled' is nil.
4633 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4634 Do not raise a user error when loading package. (Bug#14447)
4635
ec076379
MA
4636 * net/xesam.el: Move to obsolete/.
4637
db785726
GM
46382013-05-24 Glenn Morris <rgm@gnu.org>
4639
af5c7606
GM
4640 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4641
e5d1916a
GM
4642 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4643
ded62b08
GM
4644 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4645 (Info-find-node, Man-getpage-in-background): Declare.
4646
9e614a3f
GM
4647 * mail/unrmail.el (unrmail):
4648 Replace obsolete detect-coding-with-priority.
4649
892f8ca3
GM
4650 * net/socks.el (socks-split-string): Use this rather than split-string.
4651 (socks-nslookup-host): Update for above change.
4652 (dynamic-choice, s5-dynamic-choice-match)
4653 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4654 Comment out unused code.
4655
3c291973
GM
4656 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4657 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4658 (gud-tooltip-echo-area): Make obsolete.
4659 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4660
43cc956b
GM
4661 * progmodes/js.el (js--optimize-arglist): Declare.
4662
dab49a3b
GM
4663 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4664
36b9d085
GM
4665 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4666 (ediff-window-C): Declare.
4667
e354ae76
GM
4668 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4669 Tweak requires to silence compiler.
4670
b8e57bf4
GM
4671 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4672 (he-search-string, he-tried-table, he-expand-list)
4673 (he-init-string, he-string-member, he-substitute-string)
4674 (he-reset-string): Declare.
4675
db785726
GM
4676 * obsolete/options.el (list-options): Use custom-variable-p,
4677 rather than obsolete alias.
4678
b3531901
SS
46792013-05-23 Sam Steingold <sds@gnu.org>
4680
4681 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 4682 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
4683 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4684
bdda4c66
SM
46852013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * emacs-lisp/smie.el (smie-indent-forward-token)
4688 (smie-indent-backward-token): Handle string tokens (bug#14381).
4689
c43d45f9
TH
46902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4691
fe1eb856
RS
4692 * ielm.el (ielm-menu): New menu.
4693 (inferior-emacs-lisp-mode): Set comment-start.
96172128 4694
fe1eb856
RS
46952013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4696
4697 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4698 Fix deactivate action.
4699
4700 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4701 Add cleveref macros.
074dd971 4702
c43d45f9
TH
4703 * lisp/textmodes/reftex-parse.el
4704 (reftex-locate-bibliography-files): Accept options for
4705 bibliography commands.
4706 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4707 Add addbibresource. Basic Biblatex support.
4708
7764286e
MA
47092013-05-23 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * net/tramp-gvfs.el (top):
4712 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4713 when loading package. (Bug#14447)
4714
d361bc10
GM
47152013-05-23 Glenn Morris <rgm@gnu.org>
4716
8fa23984
GM
4717 * progmodes/js.el: No need to load comint when compiling.
4718 (ring-insert, comint-send-string, comint-send-input)
4719 (comint-last-input-end, ido-chop): Declare.
4720
a5c7df1a
GM
4721 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4722 * vc/ediff-mult.el: Adjust requires.
4723 (ediff-directories-internal, ediff-directory-revisions-internal)
4724 (ediff-patch-file-internal): Declare.
4725 * vc/ediff-ptch.el: Adjust requires.
4726 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4727 (ediff-find-file): Autoload.
4728 * vc/ediff-util.el: No need to load ediff when compiling.
4729 (ediff-regions-internal): Declare.
4730 * vc/ediff-wind.el: Adjust requires.
4731 (ediff-compute-toolbar-width): Define when compiling.
4732 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4733 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4734 (dired-get-filename, dired-get-marked-files)
4735 (ediff-last-dir-patch, ediff-patch-default-directory)
4736 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4737 (ediff-patch-buffer-internal): Declare.
4738
e2aec513
GM
4739 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4740 (ispell-process, ispell-buffer-local-words, lm-summary)
4741 (lm-section-start, lm-section-end): Declare.
4742 (checkdoc-ispell-init): Simplify.
4743
e68bbd7c
GM
4744 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4745 (he-string-member, he-reset-string, he-substitute-string): Declare.
4746
7efe0991
GM
4747 * eshell/em-ls.el: Adjust requires.
4748 (eshell-glob-regexp): Declare.
f87b1284
GM
4749 * eshell/em-tramp.el: Adjust requires.
4750 (eshell-parse-command): Autoload.
4751 * eshell/em-xtra.el: Adjust requires.
4752 (eshell-parse-command): Autoload.
4753 * eshell/esh-ext.el: Adjust requires.
4754 (eshell-parse-command, eshell-close-handles): Autoload.
4755 * eshell/esh-io.el: Adjust requires.
4756 (eshell-output-filter): Autoload.
4757 * eshell/esh-util.el: No need to load tramp when compiling.
4758 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4759 Declare.
4760 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4761 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4762 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4763 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4764 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4765 * eshell/esh-opt.el, eshell/esh-proc.el:
4766 * eshell/esh-var.el: Adjust requires.
4767 * eshell/eshell.el: Do not require esh-util twice.
4768 (eshell-add-input-to-history): Declare.
4769 (eshell-command): Check history module is active before using it.
4770
d361bc10
GM
4771 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4772
85d090a9
LL
47732013-05-22 Leo Liu <sdl.web@gmail.com>
4774
4775 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4776
5d0acd9d
MA
47772013-05-22 Michael Albinus <michael.albinus@gmx.de>
4778
4779 * autorevert.el (auto-revert-notify-add-watch)
4780 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4781 it indicates changes in file modification time.
4782
0cdffd7d
GM
47832013-05-22 Glenn Morris <rgm@gnu.org>
4784
ca5995ec
GM
4785 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4786 Always delete the autoloaded function from the noruntime and
4787 unresolved functions lists.
4788
6450907e
GM
4789 * allout.el: No need to load epa, epg, overlay when compiling.
4790 (epg-context-set-passphrase-callback, epg-list-keys)
4791 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4792 (epg-key-user-id-list): Declare.
4793
9c6906f6
GM
4794 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4795 (viper-set-parsing-style-toggling-macro)
4796 (viper-set-emacs-state-searchstyle-macros):
4797 Use called-interactively-p on Emacs.
4798 (viper-looking-back): Make it an obsolete alias. Update callers.
4799 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4800 Use looking-back rather than viper-looking-back.
4801 (viper-tmp-insert-at-eob, viper-enlarge-region)
4802 (viper-read-string-with-history, viper-register-to-point)
4803 (viper-append-to-register, viper-change-state-to-vi)
4804 (viper-backward-char-carefully, viper-forward-char-carefully)
4805 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4806 (viper-change-state-to-emacs): Declare.
4807 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4808 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4809 * emulation/viper-mous.el: Do not load viper-cmd.
4810 (viper-backward-char-carefully, viper-forward-char-carefully)
4811 (viper-forward-word, viper-adjust-window): Declare.
4812
5f70c169
GM
4813 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4814
b1b7f300
GM
4815 * progmodes/idlw-help.el (idlwave-help-fontify):
4816 Use called-interactively-p.
4817
f6ebbb46
GM
4818 * term/w32console.el (w32-get-console-codepage)
4819 (w32-get-console-output-codepage): Declare.
4820
0cdffd7d
GM
4821 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4822 Remove unnecessary declarations.
4823 (dframe-message): Doc fix.
4824
4825 * info.el (dframe-select-attached-frame, dframe-current-frame):
4826 Declare.
4827
4828 * speedbar.el (speedbar-message): Make it an obsolete alias.
4829 Update all callers.
4830 (speedbar-with-attached-buffer)
4831 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4832 (speedbar-with-writable): Use backquote.
4833 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4834 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4835 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4836 rather than speedbar- aliases.
4837 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4838 (speedbar-make-specialized-keymap, speedbar-insert-button)
4839 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4840 (speedbar-do-function-pointer): Declare.
4841 (rmail-speedbar-button, rmail-speedbar-find-file)
4842 (rmail-speedbar-move-message):
4843 Use dframe-with-attached-buffer rather than speedbar- alias.
4844 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4845 (dframe-message, speedbar-make-specialized-keymap)
4846 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4847 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4848 (speedbar-insert-button, dframe-select-attached-frame)
4849 (dframe-maybee-jump-to-attached-frame)
4850 (speedbar-change-initial-expansion-list)
4851 (speedbar-previously-used-expansion-list-name): Declare.
4852 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4853 Use dframe-message, dframe-with-attached-buffer rather than
4854 speedbar- aliases.
4855 (gud-sentinel): Silence compiler.
4856 * progmodes/vhdl-mode.el (speedbar-refresh)
4857 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4858 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4859 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4860 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4861 (speedbar-file-lists, speedbar-make-tag-line)
4862 (speedbar-line-directory, speedbar-goto-this-file)
4863 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4864 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4865 (speedbar-make-button, speedbar-reset-scanners)
4866 (speedbar-files-item-info, speedbar-line-text)
4867 (speedbar-find-file-in-frame, speedbar-set-timer)
4868 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4869 (speedbar-with-writable): Do not (re)define it.
4870 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4871 rather than speedbar- alias.
4872
ee44b62a
LL
48732013-05-21 Leo Liu <sdl.web@gmail.com>
4874
4875 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4876 menu items.
4877 (octave-mode): Tweak fill-nobreak-predicate.
4878 (inferior-octave-startup): Check process to avoid infinite loop.
4879 (inferior-octave): Pop to buffer first to show abornmal process
4880 exit information.
4881
640f050f
GM
48822013-05-21 Glenn Morris <rgm@gnu.org>
4883
79458038
GM
4884 * printing.el (pr-menu-bar): Define when compiling.
4885
9cc3e83f
LL
48862013-05-21 Leo Liu <sdl.web@gmail.com>
4887
4888 * progmodes/octave.el (octave-auto-fill): Remove.
4889 (octave-indent-new-comment-line): Improve.
4890 (octave-mode): Use auto fill mode through
4f405069 4891 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 4892 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 4893 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
4894 (octave-help): Show parent directory.
4895
f440830d
GM
48962013-05-21 Glenn Morris <rgm@gnu.org>
4897
4898 * files.el (dired-unmark):
4899 * progmodes/gud.el (gdb-input): Update declarations.
4900
4901 * calculator.el (electric, ehelp): No need to load when compiling.
4902 (Electric-command-loop, electric-describe-mode): Declare.
4903
4904 * doc-view.el (doc-view-current-converter-processes): Move before use.
4905
4906 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4907 Move MODE-set-explicitly definition before use.
4908
4909 * international/mule-diag.el (mule-diag):
4910 Don't use obsolete window-system-version.
4911
4912 * mail/feedmail.el (smtpmail): No need to load when compiling.
4913 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4914
4915 * mail/mail-utils.el (rfc822): No need to load when compiling.
4916 (rfc822-addresses): Autoload it.
4917 (mail-strip-quoted-names): Trivial simplification.
4918
4919 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4920 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4921
4922 * net/snmp-mode.el (tempo): Don't duplicate requires.
4923
4924 * progmodes/prolog.el (info): No need to load when compiling.
4925 (comint): Require before shell requires it.
4926 (Info-goto-node): Autoload it.
4927 (Info-follow-nearest-node): Declare.
4928 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4929
4930 * textmodes/artist.el (picture-mode-exit): Declare.
4931
4932 * textmodes/reftex-parse.el (reftex-parse-from-file):
4933 Trivial rewrite so the compiler can parse it better.
4934
b4da2cbb
LL
49352013-05-20 Leo Liu <sdl.web@gmail.com>
4936
4937 * progmodes/octave.el (octave-help-mode-map)
4938 (octave-help-mode-finish-hook): New variables.
4939 (octave-help-mode, octave-help-mode-finish): New functions.
4940 (octave-help): Use octave-help-mode.
4941
33c0f65b
GM
49422013-05-20 Glenn Morris <rgm@gnu.org>
4943
4944 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4945
1a0a0a8a
DG
49462013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4947
4948 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4949 start at point, so that expansion starting right after opening
4950 slash in a regexp is recognized.
4951 (ruby-syntax-before-regexp-re): New defvar, extracted from
4952 ruby-syntax-propertize-function. Since the value of this regexp
4953 is looked up at runtime now, we should be able to turn
4954 `ruby-syntax-methods-before-regexp' into a defcustom later.
4955 (ruby-syntax-propertize-function): Split regexp matching into two
4956 parts, for opening and closing slashes. That allows us to skip
4957 over string interpolations and support multiline regexps.
4958 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4959 for them, which calls `ruby-syntax-propertize-expansion'.
4960 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4961 call to `ruby-syntax-propertize-function'.
4962 (ruby-syntax-propertize-expansion): Extracted from
4963 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
4964 (ruby-syntax-propertize-percent-literal): Leave point right after
4965 the percent symbol, so that the expression expansion rule can
4966 propertize the contents.
462388b6
DG
4967 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4968 heredoc openers.
4969 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 4970
c1a6c0a4
JL
49712013-05-18 Juri Linkov <juri@jurta.org>
4972
4973 * man.el (Man-default-man-entry): Remove `-' from the end
4974 of the default value. (Bug#14400)
4975
8051fccd
GM
49762013-05-18 Glenn Morris <rgm@gnu.org>
4977
4978 * comint.el (comint-password-prompt-regexp):
4979 Allow "password for XXX" where XXX contains colons (eg https://...).
4980
5e80b74f
LL
49812013-05-18 Leo Liu <sdl.web@gmail.com>
4982
4983 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 4984 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
4985 (octave-source-directories): Don't check process.
4986 (octave-source-directories, octave-find-definition): Doc fix.
4987
521a54c5
GM
49882013-05-18 Glenn Morris <rgm@gnu.org>
4989
86a94b05
GM
4990 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4991 Remove backspace/delete bindings. (Bug#14392)
4992
521a54c5
GM
4993 * cus-dep.el (custom-make-dependencies): Sort the output.
4994 (custom-versions-load-alist): Convert comment to doc.
4995
42caeb89
LL
49962013-05-17 Leo Liu <sdl.web@gmail.com>
4997
4998 * newcomment.el (comment-search-backward): Stricter in finding
4999 comment start. (Bug#14303)
5000
5001 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5002 (octave-comment-start-skip): Properly anchored.
5003
e219dd97
LL
50042013-05-17 Leo Liu <sdl.web@gmail.com>
5005
fe1eb856
RS
5006 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5007 Clean up when turned off. (Bug#14395)
e219dd97
LL
5008 (smie--highlight-matching-block-overlay): No longer buffer-local.
5009 (smie-highlight-matching-block): Adjust.
5010
dc5dcb4b
PE
50112013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5012
5013 Doc string fix for "nanoseconds" (Bug#14406).
5014 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5015 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5016
1db165f0
JB
50172013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5018
5019 * calc/calc-units.el (math-extract-units): Preserve powers
5020 of units.
5021
c7a8fcac
LL
50222013-05-17 Leo Liu <sdl.web@gmail.com>
5023
5024 * subr.el (delete-consecutive-dups): New function.
5025 * ido.el (ido-set-matches-1): Use it.
5026 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5027 * ido.el (ido-remove-consecutive-dups): Remove.
5028
f678b18a
SM
50292013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5032 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5033 regexp-opt's `words'.
5034
ebfe68e8
LL
50352013-05-16 Leo Liu <sdl.web@gmail.com>
5036
5037 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5038 (smie--highlight-matching-block-overlay)
5039 (smie--highlight-matching-block-lastpos)
5040 (smie--highlight-matching-block-timer): New variables.
5041 (smie-highlight-matching-block): New function.
5042 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5043 (smie-setup): Conditionally enable smie-blink-matching-open.
5044
bc8bc17d
WS
50452013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5046
5047 Sync with upstream verilog-mode r840.
5048 * progmodes/verilog-mode.el (verilog-mode-version)
5049 (verilog-mode-release-date): Update.
5050 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5051 (verilog-sig-tieoff): Fix string error on
5052 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5053 (verilog-read-decls): Fix parameters confusing
5054 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5055
df065a0b
EZ
50562013-05-16 Eli Zaretskii <eliz@gnu.org>
5057
5058 * subr.el (reveal-filename): New function.
5059
5060 * loadup.el: Compute Emacs executable versions on MS-Windows,
5061 where executables have the .exe extension. Add a hard link
5062 emacs-XX.YY.ZZ.exe on MS-Windows.
5063
5064 * Makefile.in (XARGS_LIMIT): New variable.
5065 (custom-deps, finder-data, autoloads)
5066 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5067 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5068 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5069 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5070
2d4bf34b
LL
50712013-05-16 Leo Liu <sdl.web@gmail.com>
5072
5073 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5074 (octave-mode-menu, octave-mode-map): Remove its uses.
5075
6b9c2d85
RZ
50762013-05-16 Reto Zimmermann <reto@gnu.org>
5077
5078 Sync with upstream vhdl mode v3.34.2.
5079 * progmodes/vhdl-mode.el: Use `push' throughout.
5080 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5081 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5082 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5083 (vhdl-actual-generic-name): New option to derive actual generic name.
5084 (vhdl-port-paste-signals): Replace formal by actual generics.
5085 (vhdl-beautify): New name for old group vhdl-align. Update users.
5086 (vhdl-beautify-options): New option.
5087 (vhdl-last-input-event): New compat alias. Use throughout.
5088 (vhdl-goto-line): Replace user level function `goto-line'.
5089 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5090 vhdl-fix-statement-buffer.
5091 (vhdl-create-mode-menu): Add some entries.
5092 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5093 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5094 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5095 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5096 to force statements on one line.
5097 (vhdl-remove-trailing-spaces-region):
5098 New, split from vhdl-remove-trailing-spaces.
5099 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5100 Respect vhdl-beautify-options.
5101 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5102 (vhdl-update-sensitivity-list): Not add with index if exists without.
5103 Not include array index with signal. Ignore keywords in comments.
5104 (vhdl-get-visible-signals): Regexp tweaks.
5105 (vhdl-template-component-inst): Handle empty library.
5106 (vhdl-template-type): Add template for 'enum' type.
5107 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5108 Use vhdl-replace-string.
5109 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5110 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5111 (vhdl-speedbar-initialize): Update for above name change.
5112 (vhdl-compose-wire-components): Fix in handling of constants.
5113 (vhdl-error-regexp-emacs-alist): New variable.
5114 (vhdl-error-regexp-add-emacs): New function;
5115 adds support for new compile.el (Emacs 22+)
5116 (vhdl-generate-makefile-1): Change target order for single lib. units.
5117 Allow use of absolute file names.
5118
9df4ec5e
LL
51192013-05-16 Leo Liu <sdl.web@gmail.com>
5120
5121 * simple.el (prog-indent-sexp): Indent enclosing defun.
5122
f5ba00a6
GM
51232013-05-15 Glenn Morris <rgm@gnu.org>
5124
ed8be7ff
GM
5125 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5126 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5127 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5128 (whitespace-highlight): Move to whitespace group.
5129
5130 * comint.el (comint-source):
5131 * pcmpl-linux.el (pcmpl-linux):
5132 * shell.el (shell-faces):
5133 * eshell/esh-opt.el (eshell-opt):
5134 * international/ccl.el (ccl): Remove empty custom groups.
5135
5136 * completion.el (dynamic-completion-mode):
5137 * jit-lock.el (jit-lock-debug-mode):
5138 * minibuffer.el (completion-in-region-mode):
5139 * type-break.el (type-break-mode-line-message-mode)
5140 (type-break-query-mode):
5141 * emulation/tpu-edt.el (tpu-edt-mode):
5142 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5143 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5144 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5145
5146 * term/xterm.el (xterm): Change parent group to terminals.
5147
5148 * master.el (master): Remove empty custom group.
5149 (master-mode): Remove unused :group argument.
5150 * textmodes/refill.el (refill): Remove empty custom group.
5151 (refill-mode): Remove unused :group argument.
5152
5153 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5154
82a7c41b
GM
5155 * cus-dep.el: Provide a feature.
5156 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
5157 Don't mistakenly ignore files whose basenames match a basename
5158 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 5159 Add a fallback method for getting :group.
f5ba00a6 5160
6d65486d
JL
51612013-05-15 Juri Linkov <juri@jurta.org>
5162
da547b32
JL
5163 * isearch.el (isearch-char-by-name): Rename from
5164 `isearch-insert-char-by-name'. Doc fix.
5165 (isearch-forward): Mention `isearch-char-by-name' in
5166 the docstring. (Bug#13348)
5167
6d65486d
JL
5168 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5169 `exit-minibuffer' instead of
5170 `isearch-nonincremental-exit-minibuffer'.
5171 (isearch-edit-string): Remove mention of
5172 `isearch-nonincremental-exit-minibuffer' from docstring.
5173 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5174 (isearch-forward-exit-minibuffer)
5175 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5176
c9990474
SM
51772013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5178
6e911150
SM
5179 * loadup.el: Just use unversioned DOC.
5180
c9990474
SM
5181 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5182 literals as extending to EOB.
5183 (nxml-last-fontify-end): Remove unused variable.
5184 (nxml-after-change1): Use with-silent-modifications.
5185 (nxml-extend-after-change-region): Simplify.
5186 (nxml-extend-after-change-region1): Remove function.
5187 (nxml-after-change1): Don't adjust for dependent regions.
5188 (nxml-fontify-matcher): Simplify.
5189 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5190 (xmltok-add-dependent): Remove function.
5191 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5192 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5193 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5194 unclosed <[[, <?, comment, and other literals as extending to EOB.
5195 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5196 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5197 Remove functions.
5198 (rng-do-some-validation-1): Don't mark dependent regions.
5199 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5200 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5201 (nxml-clear-dependent-regions): Remove functions.
5202 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5203 (nxml-ensure-scan-up-to-date):
5204 Don't clear&mark dependent regions.
5205
e3772e98
LL
52062013-05-15 Leo Liu <sdl.web@gmail.com>
5207
c9990474
SM
5208 * progmodes/octave.el (octave-goto-function-definition):
5209 Improve and fix callers.
e3772e98 5210
5ac2eb34
SM
52112013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5212
c46c57b0
SM
5213 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5214 the setter (bug#14387).
5215
5ac2eb34
SM
5216 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5217 surrounding group (bug#14402).
5218
180ed218
JL
52192013-05-14 Juri Linkov <juri@jurta.org>
5220
5221 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5222 (Bug#14390)
5223
0ac0fecb
GM
52242013-05-14 Glenn Morris <rgm@gnu.org>
5225
5226 * progmodes/f90.el (f90-imenu-generic-expression):
5227 Fix typo in 2013-05-08 change. (Bug#14402)
5228
2e78e6a7
JPG
52292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5230
5ac2eb34
SM
5231 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5232 Remove signals for which replies are never received.
2e78e6a7 5233
53267cca
JPG
52342013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5235
5236 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5237 (gdb-handler-alist, gdb-handler-number): Remove variables.
5238 (gdb-handler-list): New variable.
5239 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5240 (gdb-pending-handler-p, gdb-handle-reply)
5241 (gdb-remove-all-pending-triggers): New functions.
5242 (gdb-discard-unordered-replies): New defcustom.
5243 (gdb-handler): New defstruct.
5244 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5245 instead of gdb-pending-triggers. Update docstring.
5246 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5247 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5248 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5249 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5250 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5251 (gdb-frame-handler): Pending triggers are now automatically managed.
5252 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5253 Remove argument.
5254 (gdb-input): Automatically handles pending triggers. Update docstring.
5255 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5256 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5257 Update comments.
5258 (gdb-done-or-error): Now use gdb-handle-reply.
5259
d04ce803
JPG
52602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5261
5262 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5263 gdb-debug-log.
5264
0114073a
GM
52652013-05-14 Glenn Morris <rgm@gnu.org>
5266
5267 * subr.el (user-emacs-directory-warning): New option.
5268 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5269
4d25fd7e
LL
52702013-05-14 Leo Liu <sdl.web@gmail.com>
5271
5272 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5273 during redisplay.
5274 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
5275 (octave-font-lock-texinfo-comment): Fix invalid search bound
5276 error: wrong side of point.
4d25fd7e 5277
27c8b6eb
GM
52782013-05-14 Glenn Morris <rgm@gnu.org>
5279
61aaeb01
GM
5280 * progmodes/flymake.el (flymake-xml-program): New option.
5281 (flymake-xml-init): Use it.
5282
5bf90bc5
GM
5283 * term/xterm.el: Provide a feature.
5284
5285 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 5286
f4c7dfd2
GM
52872013-05-13 Glenn Morris <rgm@gnu.org>
5288
5289 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5290 Add compat aliases as a hack workaround. (Bug#14384)
5291
2aeb3a1d
LL
52922013-05-13 Leo Liu <sdl.web@gmail.com>
5293
b0e069c2
LL
5294 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5295 ###, and %!.
f5a9432f
LL
5296 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5297 C-M-q.
b0e069c2
LL
5298 (octave-comment-start-skip): Include %!.
5299 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 5300
30ea8374
LL
53012013-05-12 Leo Liu <sdl.web@gmail.com>
5302
5303 * progmodes/octave.el (inferior-octave-startup): Store the value
5304 of __octave_srcdir__ for octave-source-directories.
5305 (inferior-octave-check-process): New function refactored out of
5306 inferior-octave-send-list-and-digest.
5307 (octave-source-directories)
5308 (octave-find-definition-filename-function): New variables.
5309 (octave-source-directories)
5310 (octave-find-definition-default-filename): New functions.
5311 (octave-find-definition): Improve to find functions implemented in C++.
5312
472a3834
GM
53132013-05-12 Glenn Morris <rgm@gnu.org>
5314
5315 * calendar/diary-lib.el (diary-outlook-format-1):
5316 Don't include dayname in the output. (Bug#14349)
5317
3191b52f
GM
53182013-05-11 Glenn Morris <rgm@gnu.org>
5319
0060ac73
GM
5320 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5321
3191b52f
GM
5322 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5323 Treat cc-provide like provide.
5324
e065ba74
KR
53252013-05-11 Kevin Ryde <user42@zip.com.au>
5326
5327 * cus-dep.el (custom-make-dependencies):
5328 Use generated-autoload-load-name for the sake of files such
5329 such cedet/semantic/bovine/c.el, where the base file name
5330 is not in load-path. (Bug#5277)
5331
36f84c37
GM
53322013-05-11 Glenn Morris <rgm@gnu.org>
5333
5334 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5335 Provide features.
5336
c8730c3a
LL
53372013-05-11 Leo Liu <sdl.web@gmail.com>
5338
5339 * progmodes/octave.el (octave-indent-comment): Improve.
5340 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
5341 (octave-eldoc-function-signatures, octave-eldoc-function):
5342 New functions.
c8730c3a
LL
5343 (octave-mode, inferior-octave-mode): Add eldoc support.
5344
212e29f2
RS
53452013-05-11 Richard Stallman <rms@gnu.org>
5346
5347 * epa.el (epa-decrypt-file): Take output file name as argument
5348 and read it using `interactive'.
5349
083fe0d7
LL
53502013-05-11 Leo Liu <sdl.web@gmail.com>
5351
5352 * progmodes/octave.el (octave-beginning-of-line)
5353 (octave-end-of-line): Check before using up-list because it jumps
5354 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
5355 (octave-indent-comment): New function.
5356 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
5357 (octave-begin-keywords, octave-end-keywords)
5358 (octave-reserved-words, octave-smie-bnf-table)
5359 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 5360
8582e4c4
GM
53612013-05-11 Glenn Morris <rgm@gnu.org>
5362
f20def1f
GM
5363 * faces.el (internal-face-x-get-resource):
5364 * frame.el (ns-display-monitor-attributes-list):
d78abe37 5365 * calc/calc-aent.el (math-to-radians-2):
f20def1f 5366 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 5367 Fix declarations.
f20def1f 5368
445f95e2
GM
5369 * calc/calc-menu.el: Make it loadable in isolation.
5370
5371 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5372 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5373 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5374 (eudc-bbdb-query-internal): Require 'bbdb.
5375
99fb2756
GM
5376 * lpr.el (lpr-headers-switches):
5377 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5378
5379 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5380
0da7ad96
GM
5381 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5382
8582e4c4
GM
5383 * term.el (term-set-escape-char): Make it idempotent.
5384
f71c50d0
LL
53852013-05-10 Leo Liu <sdl.web@gmail.com>
5386
5ac2eb34
SM
5387 * progmodes/octave.el (inferior-octave-completion-table):
5388 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
5389 completion due to bug#11906.
5390 (octave-beginning-of-defun): Re-write to be more general.
5391
d5837773
GM
53922013-05-10 Glenn Morris <rgm@gnu.org>
5393
5394 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5395
027c0f75
SM
53962013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * comint.el (comint-redirect-send-command-to-process): Use :around
5399 rather than :override for comint-redirect-filter.
5400 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5401 Call it instead of comint-redirect-original-filter-function (which
5402 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5403
4465bfb4
JD
54042013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5405
5406 * frame.el (display-monitor-attributes-list): Add NS case.
5407 (ns-display-monitor-attributes-list): Declare.
5408
2d809ffa 54092013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
5410
5411 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5412
e54eeb9b
GM
54132013-05-09 Glenn Morris <rgm@gnu.org>
5414
56cd351d
GM
5415 * international/fontset.el (vertical-centering-font-regexp):
5416 Set standard-value.
5417
d84b6108
GM
5418 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5419
a931698a
GM
5420 * bookmark.el (bookmark-search-delay):
5421 * cus-start.el (vertical-centering-font-regexp):
5422 * ps-mule.el (ps-mule-font-info-database-default):
5423 * ps-print.el (ps-default-fg, ps-default-bg):
5424 * type-break.el (type-break-good-break-interval):
5425 * whitespace.el (whitespace-indentation-regexp)
5426 (whitespace-space-after-tab-regexp):
5427 * emacs-lisp/testcover.el (testcover-1value-functions)
5428 (testcover-noreturn-functions, testcover-progn-functions)
5429 (testcover-prog1-functions):
5430 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5431 * eshell/em-glob.el (eshell-glob-translate-alist):
5432 * play/tetris.el (tetris-tty-colors):
5433 * progmodes/cpp.el (cpp-face-default-list):
5434 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5435 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5436 (idlwave-help-browser-generic-args):
5437 * progmodes/make-mode.el (makefile-special-targets-list):
5438 * progmodes/python.el (python-shell-virtualenv-path):
5439 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5440 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5441 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5442 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5443 * textmodes/reftex-vars.el (reftex-format-label-function):
5444 * textmodes/remember.el (remember-diary-file): Fix custom types.
5445
e54eeb9b
GM
5446 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5447 Add :version.
5448
455851dd
LL
54492013-05-09 Leo Liu <sdl.web@gmail.com>
5450
5451 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 5452 Restore file completion. (Bug#14300)
455851dd
LL
5453 (inferior-octave-startup): Fix incorrect highlighting for the
5454 first prompt.
5455
a9e4425b
SM
54562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * progmodes/ruby-mode.el: First cut at SMIE support.
5459 (ruby-use-smie): New var.
5460 (ruby-smie-grammar): New constant.
5461 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5462 (ruby-smie--forward-token, ruby-smie--backward-token)
5463 (ruby-smie-rules): New functions.
5464 (ruby-mode-variables): Setup SMIE if applicable.
5465
060ca408
EZ
54662013-05-08 Eli Zaretskii <eliz@gnu.org>
5467
5468 * simple.el (line-move-visual): Signal beginning/end of buffer
5469 only if vertical-motion moved less than it was requested. Avoids
5470 silly incorrect error messages when there are display strings with
5471 multiple newlines at EOL.
5472
1d5963cc
SM
54732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5476 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5477 (prolog-char-quote-workaround):
5478 * progmodes/cperl-mode.el (cperl-under-as-char):
5479 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
5480 Mark as obsolete.
5481 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
5482 their declaration.
5483 (vhdl-mode-syntax-table-init): Remove.
5484
c9990474
SM
5485 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5486 last change.
1d5963cc
SM
5487
5488 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5489 syntax for "_".
5490 (ld-script-font-lock-keywords):
5491 Change regexps to use things like \_< and \_>.
5492
5493 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5494 Change all regexps to use things like \_< and \_>.
5495
5496 * progmodes/autoconf.el (autoconf-definition-regexp)
5497 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5498 Handle a _ with symbol syntax.
5499 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5500
c9990474
SM
5501 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5502 Consolidate declaration.
1d5963cc
SM
5503 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5504 the declaration.
5505 (ada-create-syntax-table): Remove.
5506 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5507 already has the right syntax nowadays.
5508 (ada-goto-next-word): Don't change the syntax of "_".
5509
5510 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5511 with-wrapper-hook.
5512
72d3cfca
SS
55132013-05-08 Sam Steingold <sds@gnu.org>
5514
5515 * thingatpt.el (thing-at-point): Accept optional second argument
5516 NO-PROPERTIES to strip the text properties from the return value.
5517 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5518 to `thing-at-point' instead of stripping the properties ourselves.
5519 Also, when `thing-at-point' fails to find a url, prepend "http://"
5520 to the filename at point on the assumption that the user is
5521 pointing at something like gnu.org/gnu.
5522
5cb15713
JB
55232013-05-08 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5526 * faces.el (crm-separator):
5527 Silence byte-compiler.
5528
5529 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5530 (tool-bar-map): Remove unneeded defvars.
5531
ea78b95b
LL
55322013-05-08 Leo Liu <sdl.web@gmail.com>
5533
5534 Re-work a fix for bug#10994 based on Le Wang's patch.
5535 * ido.el (ido-remove-consecutive-dups): New helper.
5536 (ido-completing-read): Use it.
5537 (ido-chop): Revert fix for bug#10994.
5538
dc7466df
AS
55392013-05-08 Adam Spiers <emacs@adamspiers.org>
5540
5541 * cus-edit.el (custom-save-variables):
5542 Pretty-print long values. (Bug#14187)
5543
9ecf672a
GM
55442013-05-08 Glenn Morris <rgm@gnu.org>
5545
5546 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5547 (m4-mode-syntax-table): Init in the defvar.
5548 (m4-mode-abbrev-table): Let define-derived-mode define it.
5549
3f555be8
TT
55502013-05-08 Tom Tromey <tromey@redhat.com>
5551
5552 * progmodes/m4-mode.el (m4-mode-syntax-table):
5553 Do not treat "_" as word constituent. (Bug#14167)
5554
7cc8ae06
GM
55552013-05-07 Glenn Morris <rgm@gnu.org>
5556
4f58bc06
GM
5557 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5558 Remove explicit eshell-isearch-cancel-map.
5559
7cc8ae06
GM
5560 * progmodes/f90.el (f90-smart-end-names): New option.
5561 (f90-smart-end): Doc fix.
5562 (f90-end-block-optional-name): New constant.
5563 (f90-block-match): Respect f90-smart-end-names.
5564
ceb57e59
SM
55652013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5568 about implicit semi-colons (bug#14218).
5569
4e3f9230
YM
55702013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5571
5572 * frame.el (display-monitor-attributes-list)
5573 (frame-monitor-attributes): New functions.
5574
203a5572
LL
55752013-05-06 Leo Liu <sdl.web@gmail.com>
5576
5577 * progmodes/octave.el (octave-syntax-propertize-function): Change
5578 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5579 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 5580 (octave-completion-at-point): Rename from
203a5572
LL
5581 octave-completion-at-point-function.
5582 (inferior-octave-directory-tracker): Robustify.
5583 (octave-text-functions): Remove and fix its uses. No such things
5584 any more.
5585
ee6cff99
SM
55862013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * emacs-lisp/trace.el (trace--display-buffer): New function.
5589 (trace-make-advice): Use it.
5590
32985194
JL
55912013-05-06 Juri Linkov <juri@jurta.org>
5592
5593 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5594 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5595 Doc fix.
5596 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5597 in the help string. (Bug#12985)
5598
a1c700de
KD
55992013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5600
5601 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5602
c67c0839
SM
56032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5604
323885fd
SM
5605 * progmodes/perl-mode.el: Add support for here documents.
5606 (perl-syntax-propertize-function): Match here-doc markers.
5607 (perl-syntax-propertize-special-constructs): Find their end.
5608 (perl-imenu-generic-expression): Use [:alnum:].
5609
c67c0839
SM
5610 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5611 (advice--add-function): Refresh the advice if already present
5612 (bug#14317).
5613
d491e7a8
IA
56142013-05-06 Ivan Andrus <darthandrus@gmail.com>
5615
5616 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5617
ddf9925e
GM
56182013-05-06 Glenn Morris <rgm@gnu.org>
5619
7cc3af27
GM
5620 * w32-fns.el (w32-charset-info-alist): Declare.
5621
16e343d6
GM
5622 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5623 of its defcustom properties.
5624 (eshell-cmpl-initialize): No need to load pcomplete.
5625
7d889a47
GM
5626 * generic-x.el: No need to require comint when compiling.
5627
ddf9925e
GM
5628 * net/eudc-export.el: Make it loadable without bbdb.
5629 (top-level): Use require rather than load-library.
5630 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5631 (eudc-batch-export-records-to-bbdb)
5632 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5633 Require bbdb.
5634
1e2c18df
SM
56352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5638 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5639 some tweaks, instead.
5640
02502a5f
LL
56412013-05-05 Leo Liu <sdl.web@gmail.com>
5642
5643 * progmodes/octave.el (octave-font-lock-keywords)
5644 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5645 (inferior-octave-send-list-and-digest): Improve error message.
5646 (octave-mode, inferior-octave-mode): Use setq-local.
5647 (octave-help): Set info-lookup-mode.
5648
0dc04f42
RS
56492013-05-05 Richard Stallman <rms@gnu.org>
5650
6c54491c
RS
5651 * vc/compare-w.el (compare-windows-whitespace):
5652 Treat no-break space as whitespace.
5653
0dc04f42
RS
5654 * mail/rmailsum.el (rmail-summary-rmail-update):
5655 Detect empty summary and don't change selected message.
5656 (rmail-summary-goto-msg): Likewise.
5657
df8f35df
RS
5658 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5659 Doc fixes, rename args.
5660
5356e1a3
AM
56612013-05-05 Alan Mackenzie <acm@muc.de>
5662
5663 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5664
d44014cb
JL
56652013-05-05 Juri Linkov <juri@jurta.org>
5666
5667 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5668 to not add the length of the summary segment to the return value.
5669 (Bug#14125)
5670
c129b51f
LL
56712013-05-05 Leo Liu <sdl.web@gmail.com>
5672
5673 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5674 (inferior-octave-output-filter): Remove.
5675 (octave-send-region, inferior-octave-startup): Fix callers.
5676 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5677 (octave-binary-file-extensions): New user variable.
5678 (octave-find-definition): Confirm if opening binary files.
5679 (octave-help-file): Use octave-find-definition to get the binary
5680 confirmation.
5681 (octave-help): Adjust for octave-help-file change.
5682
aa7dab97
SM
56832013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5686 Merge the two entries that handle function definitions.
5687 (pascal--syntax-propertize): New const.
5688 (pascal-mode): Use it. Use setq-local.
5689
fd3a9a6b
GM
56902013-05-04 Glenn Morris <rgm@gnu.org>
5691
5692 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5693 (diary-from-outlook): Respect diary-from-outlook-function.
5694
30c7e542
SM
56952013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5698 Move the declaration from C.
5699 (read-minibuffer, eval-minibuffer): Move from C.
5700 (completion-setup-function): Avoid minibuffer-completion-contents.
5701
b54f978b
LL
57022013-05-03 Leo Liu <sdl.web@gmail.com>
5703
5704 * progmodes/octave.el (octave-font-lock-keywords): Do not
5705 dehighlight 'end' in comments or strings.
30c7e542
SM
5706 (octave-completing-read, octave-goto-function-definition):
5707 New helpers.
d4d0f9b3
LL
5708 (octave-help-buffer): New user variable.
5709 (octave-help-file, octave-help-function): New button types.
5710 (octave-help): New command and bind it to C-h ;.
5711 (octave-find-definition): New command and bind it to M-.
d74a1581 5712 (user-error): Alias to error if not defined.
b54f978b 5713
27135018
LL
57142013-05-02 Leo Liu <sdl.web@gmail.com>
5715
5716 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5717 for \. (bug#14332)
5718 (octave-font-lock-keywords): Include [ and {.
5719
0d634d3a
LL
57202013-05-02 Leo Liu <sdl.web@gmail.com>
5721
5722 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5723 (inferior-octave): Remove calling comint-mode and return the buffer.
5724 (inferior-octave-startup): Cosmetic changes.
5725
b4c8295e
LL
57262013-05-02 Leo Liu <sdl.web@gmail.com>
5727
30c7e542
SM
5728 * progmodes/octave.el (octave-syntax-propertize-function):
5729 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 5730
f12ad6ec
GM
57312013-05-02 Glenn Morris <rgm@gnu.org>
5732
5733 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5734 * desktop.el (vc-dir-mode): Just autoload it here.
5735
30cac1e0
AM
57362013-05-02 Alan Mackenzie <acm@muc.de>
5737
5738 Eliminate variable c-standard-font-lock-fontify-region-function.
5739 * progmodes/cc-mode.el
5740 (c-standard-font-lock-fontify-region-function): Remove.
5741 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5742
d8ef28b1
LL
57432013-05-01 Leo Liu <sdl.web@gmail.com>
5744
2640d52e 5745 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 5746 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 5747 variables were removed from Octave in 2007.
d8ef28b1
LL
5748 (inferior-octave-startup): Fix uses.
5749 (comint-line-beginning-position): Remove compatibility code for
5750 emacs 21.
5751
ac63ec89
JL
57522013-05-01 Juri Linkov <juri@jurta.org>
5753
5754 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5755
9e9be37c
JL
57562013-05-01 Juri Linkov <juri@jurta.org>
5757
5758 * comint.el (comint-previous-matching-input): Don't print message
5759 "History item: %d" when `isearch-mode' is active.
5760 (comint-history-isearch-message): Print message "History item: %d"
5761 when `comint-input-ring-index' is not empty and this function is
5762 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5763
9b92c13b
LL
57642013-05-01 Leo Liu <sdl.web@gmail.com>
5765
5766 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5767 definitions. Use completion-at-point to insert keywords.
5768 (octave-abbrev-start): Remove.
5769 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5770
b12d33d7
LL
57712013-04-30 Leo Liu <sdl.web@gmail.com>
5772
5773 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5774 change.
5775
3d1c39fa
AM
57762013-04-30 Alan Mackenzie <acm@muc.de>
5777
5778 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
5779 * progmodes/cc-engine.el (c-back-over-member-initializers):
5780 new function.
3d1c39fa
AM
5781 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5782 (most) member init lists.
5783
5147fc17
RS
57842013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5785
5786 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5787 variable.
5788
5b78d7fc
LL
57892013-04-30 Leo Liu <sdl.web@gmail.com>
5790
5791 * progmodes/octave.el (octave-variables): Remove. No builtin
5792 variables any more. All converted to functions.
5793 (octave-font-lock-keywords, octave-completion-at-point-function):
5794 Fix uses.
5795 (octave-font-lock-texinfo-comment): New user variable.
5796 (octave-texinfo-font-lock-keywords): New variable for texinfo
5797 comment block.
5798 (octave-function-comment-block): New face.
5799 (octave-font-lock-texinfo-comment): New function.
5800 (octave-mode): Font lock texinfo comment block.
5801
38d8527b
LL
58022013-04-29 Leo Liu <sdl.web@gmail.com>
5803
5804 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5805 indexing expression.
5806 (octave-continuation-string): Do not use \.
5807 (inferior-octave-complete-impossible): Remove.
5808 (inferior-octave-completion-table)
5809 (inferior-octave-completion-at-point): Remove its uses.
5810 (inferior-octave-startup): completion_matches was introduced to
5811 Octave in 1996 so safe to assume it.
5812 (octave-function-file-comment): Improve to follow how Octave does it.
5813 (octave-update-function-file-comment): Tweak.
5814
2ec12cb0
LL
58152013-04-29 Leo Liu <sdl.web@gmail.com>
5816
5817 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5818 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5819 (octave-function-file-comment): Fix typo.
5820 (octave-sync-function-file-names): Use read-char-choice.
5821
6eaed048
JB
58222013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5823
5824 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5825 to t for the less important warnings.
5826
3ffa2d4f
DH
58272013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5828
5829 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5830
685c9501
GM
58312013-04-27 Glenn Morris <rgm@gnu.org>
5832
5833 * vc/log-view.el (log-view-current-entry):
5834 Treat "---" separator lines as part of the following rev. (Bug#14169)
5835
0208ede7
JL
58362013-04-27 Juri Linkov <juri@jurta.org>
5837
5838 * subr.el (read-number): Doc fix about using it by interactive
5839 code letter `n'. (Bug#14254)
5840
5db9dace
JL
58412013-04-27 Juri Linkov <juri@jurta.org>
5842
5843 * desktop.el (desktop-auto-save-timeout): New option.
5844 (desktop-file-checksum): New variable.
5845 (desktop-save): Add optional arg `auto-save' and don't auto-save
5846 if nothing changed.
5847 (desktop-auto-save-timer): New variable.
5848 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5849 (after-init-hook): Call `desktop-auto-save-set-timer'.
5850 Suggested by Reuben Thomas <rrt@sc3d.org> in
5851 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5852
b7260dd4
LL
58532013-04-27 Leo Liu <sdl.web@gmail.com>
5854
5855 * progmodes/octave.el (octave-function-file-p)
5856 (octave-skip-comment-forward, octave-function-file-comment)
5857 (octave-update-function-file-comment): New functions.
5858 (octave-mode-map): Bind C-c ; to
5859 octave-update-function-file-comment.
5860 (octave-mode-menu): Add octave-update-function-file-comment.
5861 (octave-mode, inferior-octave-mode): Fix doc-string.
5862 (octave-insert-defun): Conform to Octave's coding convention.
5863 (Bug#14285)
5864
5865 * files.el (basic-save-buffer): Don't let errors in
5866 before-save-hook prevent saving buffer.
5867
c46da669
RW
58682013-04-20 Roland Winkler <winkler@gnu.org>
5869
5870 * faces.el (read-face-name): Use completing-read if arg multiple
5871 is nil.
5872
a81ee1eb
IL
58732013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5874
5875 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
5876 displayed, move point to after the totals line.
5877 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
5878 for the details.
5879
4fac34ce
SM
58802013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5883 Add current dir to the load-path.
5884 (package-generate-autoloads): Don't rely on
5885 autoload-ensure-default-file.
5886
f6bfc063
RT
58872013-04-26 Reuben Thomas <rrt@sc3d.org>
5888
d40ab5cf
BG
5889 * textmodes/remember.el (remember-store-in-files): Document that
5890 the file name format is passed to `format-time-string'.
f6bfc063 5891
e55d3b04
LL
58922013-04-26 Leo Liu <sdl.web@gmail.com>
5893
5894 * progmodes/octave.el (octave-sync-function-file-names): New function.
5895 (octave-mode): Use it in before-save-hook.
5896
e53052d3
SM
58972013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5898
140ef50c
SM
5899 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5900 (bug#14274).
5901
e53052d3
SM
5902 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5903 \n and comment, even if it's not an implicit ; (bug#14218).
5904
af80458d 59052013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
5906
5907 * subr.el (read-number): Once more use `read' rather than
5908 `string-to-number', to trap non-numeric input. (Bug#14254)
5909
af80458d 59102013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
5911
5912 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5913 Use `syntax-multiline' text property consistently instead of
8a621d53 5914 `font-lock-multiline'. (Bug#14237)
70203c2e 5915
e6ea1f6c
GM
59162013-04-26 Glenn Morris <rgm@gnu.org>
5917
5918 * emacs-lisp/shadow.el (list-load-path-shadows):
5919 No longer necessary to check for duplicate simple.el, since
5920 2012-07-07 change to init_lread to not include installation lisp
5921 directories in load-path when running uninstalled. (Bug#14270)
5922
070ccca4
LL
59232013-04-26 Leo Liu <sdl.web@gmail.com>
5924
5925 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5926 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 5927 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
5928 octave-in-string-or-comment-p.
5929 (octave-in-comment-p, octave-in-string-p)
5930 (octave-in-string-or-comment-p): Replace defsubst with defun.
5931
9d1c5fb6
PE
59322013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5933
5934 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5935
c034abda
BG
59362013-04-25 Bastien Guerry <bzg@gnu.org>
5937
5938 * textmodes/remember.el (remember-data-directory)
5939 (remember-directory-file-name-format): Fix custom types.
5940
584ea277
LL
59412013-04-25 Leo Liu <sdl.web@gmail.com>
5942
e53052d3
SM
5943 * progmodes/octave.el (octave-completion-at-point-function):
5944 Make use of inferior octave process.
584ea277
LL
5945 (octave-initialize-completions): Remove.
5946 (inferior-octave-completion-table): New function.
5947 (inferior-octave-completion-at-point): Use it.
5948 (octave-completion-alist): Remove.
5949
1693b06a
SM
59502013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5953 (opascal-mode-syntax-table): New var.
5954 (opascal-literal-kind, opascal-is-literal-end)
5955 (opascal-literal-token-at): Rewrite.
5956 (opascal--literal-start-re, opascal-font-lock-keywords)
5957 (opascal--syntax-propertize): New constants.
5958 (opascal-font-lock-defaults): Adjust.
5959 (opascal-mode): Use them. Set comment-<foo> variables as well.
5960 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5961 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5962 (delphi-other-face, opascal-other-face): Remove face variables.
5963 (opascal-save-state): Remove macro.
5964 (opascal-fontifying-progress-step): Remove constant.
5965 (opascal--ignore-changes): Remove var.
5966 (opascal-set-token-property, opascal-parse-next-literal)
5967 (opascal-is-stable-literal, opascal-complete-literal)
5968 (opascal-is-literal-start, opascal-face-of)
5969 (opascal-parse-region, opascal-parse-region-until-stable)
5970 (opascal-fontify-region, opascal-after-change)
5971 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5972 (opascal-debug-parse-region, opascal-debug-parse-window)
5973 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5974 (opascal-debug-fontify-buffer): Remove.
5975 (opascal-debug-mode-map): Adjust accordingly.
5976
be64c05d
LL
59772013-04-25 Leo Liu <sdl.web@gmail.com>
5978
5979 Merge octave-mod.el and octave-inf.el into octave.el with some
5980 cleanups.
5981 * progmodes/octave.el: New file renamed from octave-mod.el.
5982 * progmodes/octave-inf.el: Merged into octave.el.
5983 * progmodes/octave-mod.el: Renamed to octave.el.
5984
d79d37bd
TH
59852013-04-25 Tassilo Horn <tsdh@gnu.org>
5986
5987 * textmodes/reftex-vars.el
5988 (reftex-label-ignored-macros-and-environments): New defcustom.
5989
5990 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5991
ced3fc5d
SM
59922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5995 (smie-indent-keyword): Improve the check to ensure that the next
5996 comment is really on the same line.
5997 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5998
5999 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6000 semi-colons if the line is not otherwise empty (bug#14218).
6001
1c141dad
GM
60022013-04-25 Glenn Morris <rgm@gnu.org>
6003
6004 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6005
5058062a
SM
60062013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * progmodes/opascal.el (opascal-set-token-property): Rename from
6009 opascal-set-text-properties and only set `token' (bug#14134).
6010 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6011 (opascal-literal-text-properties): Remove.
6012 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6013 Adjust callers.
6014
5db9dace 60152013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
6016
6017 * textmodes/remember.el (remember-handler-functions): Add an
6018 option for a new handler `remember-store-in-files'.
6019 (remember-data-directory, remember-directory-file-name-format):
6020 New options.
6021 (remember-store-in-files): New function to store remember notes
6022 as separate files within a directory.
6023
4391916c
MH
60242013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6025
6026 * progmodes/compile.el (compilation-next-error-function):
6027 Pass "formats" to compilation-find-file (bug#11777).
6028
bb7cdf58
GM
60292013-04-24 Glenn Morris <rgm@gnu.org>
6030
3b8fe752 6031 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
6032 * vc/vc-hg.el (vc-hg-print-log):
6033 * vc/vc-svn.el (vc-svn-print-log):
6034 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6035
bb7cdf58
GM
6036 * vc/vc-bzr.el (vc-bzr-print-log):
6037 * vc/vc-cvs.el (vc-cvs-print-log):
6038 * vc/vc-git.el (vc-git-print-log):
6039 * vc/vc-hg.el (vc-hg-print-log):
6040 * vc/vc-mtn.el (vc-mtn-print-log):
6041 * vc/vc-rcs.el (vc-rcs-print-log):
6042 * vc/vc-sccs.el (vc-sccs-print-log):
6043 * vc/vc-svn.el (vc-svn-print-log):
6044 * vc/vc.el (vc-print-log-internal): Doc fixes.
6045
b46a056e
GM
60462013-04-23 Glenn Morris <rgm@gnu.org>
6047
6048 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6049 Remove venerable code attempting to avoid substitute-command-keys.
6050
0aecf718
TH
60512013-04-23 Tassilo Horn <tsdh@gnu.org>
6052
4391916c
MH
6053 * textmodes/reftex-vars.el (reftex-label-regexps):
6054 Call `reftex-compile-variables' after changes to this variable.
0aecf718 6055
117f94cf
SM
60562013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6057
4391916c 6058 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
6059 Use lexical-binding.
6060 (jit-lock-force-redisplay): Use markers, check buffer's continued
6061 existence and beware narrowed buffers.
6062 (jit-lock-fontify-now): Adjust call accordingly.
6063
1d829c64
SM
60642013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6067 to avoid misleading the user.
6068
72d548a9
LL
60692013-04-22 Leo Liu <sdl.web@gmail.com>
6070
6071 * info-look.el: Prefer latex2e.info. (Bug#14240)
6072
d0853629
MA
60732013-04-22 Michael Albinus <michael.albinus@gmx.de>
6074
6075 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6076
6077 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 6078 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
6079 (tramp-set-completion-function, tramp-parse-putty):
6080 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6081 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6082 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6083 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6084 (tramp-call-local-coding-command): Use `tramp-call-process'
6085 instead of `tramp-compat-call-process'.
6086
6087 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6088 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6089 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 6090 (tramp-find-inline-compress): Improve traces.
d0853629
MA
6091 (tramp-maybe-send-script): Check for Perl binary.
6092 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6093
38cc0210
DU
60942013-04-22 Daiki Ueno <ueno@gnu.org>
6095
6096 * epg.el (epg-context-pinentry-mode): New function.
6097 (epg-context-set-pinentry-mode): New function.
6098 (epg--start): Pass --pinentry-mode option to gpg command.
6099
cc641ee1
XF
61002013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6101
02d844b5 6102 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 6103 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 6104 `completion-at-point'. (Bug#13774)
5d4e5c31 6105
cc641ee1
XF
6106 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6107 default key binding for `describe-distribution' has been moved to
6108 `C-h C-o'. (Bug#13970)
6109
1b42ee43
GM
61102013-04-21 Glenn Morris <rgm@gnu.org>
6111
6112 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6113 Add doc strings.
6114 (vc-print-log): Clarify interactive prompt.
6115
a6d63d97
GM
61162013-04-20 Glenn Morris <rgm@gnu.org>
6117
6118 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6119 No longer include timestamp etc information.
6120
d7f5c16f
RW
61212013-04-20 Roland Winkler <winkler@gnu.org>
6122
6123 * faces.el (read-face-name): Bug fix, return just one face if arg
6124 multiple is nil. (Bug#14209)
6125
bcd7a0a4
SM
61262013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6129 (remove-function): Autoload.
6130
6131 * comint.el (comint-redirect-original-filter-function): Remove.
6132 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
6133 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6134 (vc-cvs-annotate-command):
bcd7a0a4
SM
6135 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6136 * progmodes/prolog.el (prolog-consult-compile):
6137 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6138 Use add/remove-function instead.
6139 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6140 (gud-tooltip-process-output, gud-tooltip-tips):
6141 Use add/remove-function instead.
6142 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6143 (scheme-interaction-mode, exit-scheme-interaction-mode):
6144 Use add/remove-function instead.
6145
6146 * vc/vc-dispatcher.el: Use lexical-binding.
6147 (vc--process-sentinel): Rename from vc-process-sentinel.
6148 Change last arg to be the code to run. Don't use vc-previous-sentinel
6149 and vc-sentinel-commands any more.
6150 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6151 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6152
4d3268ba
MY
61532013-04-19 Masatake YAMATO <yamato@redhat.com>
6154
bcd7a0a4 6155 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 6156 Handle function names with a single character. (Bug#14111)
4d3268ba 6157
781b4af6 61582013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
6159
6160 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6161 for subroutines defined in an eval (bug#14182).
6162
7d688336
TV
61632013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6164
6165 * bookmark.el (bookmark-completing-read): Improve handling of empty
6166 string (bug#14176).
6167
31dcede0
SM
61682013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6171
adc31213
FEG
61722013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6173
6174 New faster Imenu implementation (bug#14058).
6175 * progmodes/python.el:
6176 (python-imenu-prev-index-position):
6177 (python-imenu-format-item-label-function)
6178 (python-imenu-format-parent-item-label-function)
6179 (python-imenu-format-parent-item-jump-label-function):
6180 New vars.
6181 (python-imenu-format-item-label)
6182 (python-imenu-format-parent-item-label)
6183 (python-imenu-format-parent-item-jump-label)
6184 (python-imenu--put-parent, python-imenu--build-tree)
6185 (python-imenu-create-index, python-imenu-create-flat-index)
6186 (python-util-popn): New functions.
6187 (python-mode): Set imenu-create-index-function to
6188 python-imenu-create-index.
6189
cdca8255
SM
61902013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * winner.el (winner-active-region): Use region-active-p, activate-mark
6193 and deactivate-mark (bug#14225).
6194
6195 * simple.el (deactivate-mark): Don't inline it.
6196
beb42340
MA
61972013-04-18 Michael Albinus <michael.albinus@gmx.de>
6198
6199 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6200
fc7f4d7e
TH
62012013-04-18 Tassilo Horn <tsdh@gnu.org>
6202
6203 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6204 file extensions from the archive-mode entry in order to prefer
6205 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6206
29f47822
LL
62072013-04-18 Leo Liu <sdl.web@gmail.com>
6208
6209 * bindings.el (help-event-list): Add ?\?.
6210
d36ed1c8
SM
62112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * subr.el (with-wrapper-hook): Declare obsolete.
6214 * simple.el (filter-buffer-substring-function): New hook.
6215 (filter-buffer-substring): Use it.
6216 (filter-buffer-substring-functions): Mark obsolete.
6217 * minibuffer.el (completion-in-region-function): New hook.
6218 (completion-in-region): Use it.
6219 (completion-in-region-functions): Mark obsolete.
6220 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6221 * abbrev.el (abbrev-expand-function): New hook.
6222 (expand-abbrev): Use it.
6223 (abbrev-expand-functions): Mark obsolete.
6224 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6225 and :filter-return.
6226
04754d36
FEG
62272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6228
6229 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6230 and do not care about match data.
6231
dd8791e9
SM
62322013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6235 completion tables when completing error conditions and
6236 `declare' arguments.
6237 (lisp-complete-symbol, field-complete): Mark as obsolete.
6238 (check-parens): Unmatched parens are user errors.
6239 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6240
ffe54a13
AM
62412013-04-17 Michal Nazarewicz <mina86@mina86.com>
6242
dd8791e9
SM
6243 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6244 command changed buffer (ie. `flyspell-pre-buffer' is not current
6245 buffer), which prevents making decisions based on invalid value of
6246 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6247 cause an error when `flyspell-pre-point' was nil after switching
6248 buffers.
6249 (flyspell-post-command-hook): No longer needs to change buffers when
6250 checking pre-word. While at it remove unnecessary progn.
ffe54a13 6251
ec7e39f2
AM
62522013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6253
6254 * textmodes/ispell.el (ispell-add-per-file-word-list):
6255 Fix `flyspell-correct-word-before-point' error when accepting
6256 words and `coment-padding' is an integer by using
6257 `comment-normalize-vars' (Bug #14214).
6258
083850a6
FEG
62592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6260
6261 New defun movement commands.
6262 * progmodes/python.el (python-nav--syntactically)
6263 (python-nav--forward-defun, python-nav-backward-defun)
6264 (python-nav-forward-defun): New functions.
6265
619ed6e1
FEG
62662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6267
6268 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6269 (python-syntax-context): Use named compiler-macro for backwards
6270 compatibility with Emacs 24.x.
6271
7a1beb6c
LL
62722013-04-17 Leo Liu <sdl.web@gmail.com>
6273
6274 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6275 octave-hide-process-buffer.
6276
2d3fa3e5
SM
62772013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6280 (bug#14216).
6281
7ce5be54
JPG
62822013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6283
6284 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6285 Fix adjustment of offset when receiving incomplete responses from GDB
6286 (bug#14129).
6287
351edece
SM
62882013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6291 python-mode-abbrev-table.
6292 (python-skeleton-define): Adjust accordingly.
6293 (python-mode-abbrev-table): New table that inherits from it so that
6294 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6295
6296 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6297 (abbrev-symbol): Use it.
6298 (abbrev--before-point): Use it since we already handle inheritance.
6299
613f9481
LL
63002013-04-16 Leo Liu <sdl.web@gmail.com>
6301
6302 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6303 binding to info-lookup-symbol.
6304
51646b62
JB
63052013-04-16 Juanma Barranquero <lekktu@gmail.com>
6306
6307 * minibuffer.el (completion--twq-all):
6308 * term/ns-win.el (ns-initialize-window-system):
6309 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6310
efb3f01d
SM
63112013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6312
36c0a301
SM
6313 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6314 global bindings.
6315
efb3f01d
SM
6316 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6317
fb549d64
DG
63182013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6319
6320 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6321 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6322 to nil.
6323 (ruby-end-of-defun): Remove the unused arg, change the docstring
6324 to reflect that this function is only used as the value of
6325 `end-of-defun-function'.
6326 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6327 to reflect an earlier change that beginning/end-of-defun functions
6328 jump between methods in a class definition, as well as top-level
6329 functions.
6330
21e8fe2f
SM
63312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * minibuffer.el (minibuffer-complete): Don't just scroll
6334 a *Completions* that's been iconified.
6335 (minibuffer-force-complete): Make sure repetitions do cycle when going
6336 through completion-in-region -> minibuffer-complete.
6337
20e527d0
AM
63382013-04-15 Alan Mackenzie <acm@muc.de>
6339
6340 Correct the placement of c-cpp-delimiters when there're #s not at
6341 col 0.
6342
6343 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6344 place a submatch around the #.
21e8fe2f
SM
6345 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6346 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
6347 on the #, not BOL.
6348
dabefae5
SM
63492013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6352 (advice--member-p): New arg `name'.
6353 (advice--add-function, advice-member-p): Use it (bug#14202).
6354
85c9ab64
AM
63552013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6356
6357 Reformulate java imenu-generic-expression.
6358 The old expression contained ill formed regexps.
6359
6360 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6361 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6362 (cc-imenu-java-method-arg-regexp): New defconsts.
6363 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 6364 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
6365 handling of spaces in the regexp.
6366
0f821d99
AM
63672013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6368
6369 * textmodes/ispell.el (ispell-command-loop): Remove
6370 flyspell highlight of a word when ispell accepts it (bug #14178).
6371
eb922adf
MA
63722013-04-15 Michael Albinus <michael.albinus@gmx.de>
6373
6374 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6375 uses code from the previous `ange-ftp-run-real-handler'.
6376 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6377 only in case that function exist. This is needed for proper
6378 unloading of Tramp.
6379
4d9a0979
TH
63802013-04-15 Tassilo Horn <tsdh@gnu.org>
6381
6382 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6383
6384 * textmodes/reftex.el (reftex-compile-variables): Use it.
6385
a829b0dc
SM
63862013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6387
91e8293c
SM
6388 * files.el (normal-mode): Only use default major-mode if no other mode
6389 was specified.
6390
830aed4d
SM
6391 * emacs-lisp/trace.el (trace-values): New function.
6392
a829b0dc
SM
6393 * files.el: Allow : in local variables (bug#14089).
6394 (hack-local-variable-regexp): New var.
6395 (hack-local-variables-prop-line, hack-local-variables): Use it.
6396
7ae9f0fb
RW
63972013-04-13 Roland Winkler <winkler@gnu.org>
6398
6399 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6400 data before it gets modified by bibtex-beginning-of-entry.
6401
6646e848
RW
64022013-04-13 Roland Winkler <winkler@gnu.org>
6403
6404 * textmodes/bibtex.el (bibtex-url): Doc fix.
6405
64062013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
6407
6408 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6409 does not visit a BibTeX file, exclude it from the list of buffers
6410 returned by bibtex-initialize.
6411
0aa3616e
SB
64122013-04-13 Stephen Berman <stephen.berman@gmx.net>
6413
6414 * window.el (split-window): Remove interactive form, since as a
6415 command this function is a special case of split-window-below.
6416 Correct doc string.
6417
011cddd6
RW
64182013-04-12 Roland Winkler <winkler@gnu.org>
6419
6420 * faces.el (read-face-name): Do not override value of arg default.
6421 Allow single faces and strings as default values. Remove those
6422 elements from return value that are not faces.
6423 (describe-face): Simplify.
6424 (face-at-point): New optional args thing and multiple so that this
6425 function can provide the same functionality previously provided by
6426 read-face-name.
6427 (make-face-bold, make-face-unbold, make-face-italic)
6428 (make-face-unitalic, make-face-bold-italic, invert-face)
6429 (modify-face, read-face-and-attribute): Use face-at-point.
6430
6431 * cus-edit.el (customize-face, customize-face-other-window)
6432 * cus-theme.el (custom-theme-add-face)
6433 * face-remap.el (buffer-face-set)
6434 * facemenu.el (facemenu-set-face): Use face-at-point.
6435
f24e0036
MA
64362013-04-12 Michael Albinus <michael.albinus@gmx.de>
6437
6438 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6439
da3cda2d
TH
64402013-04-10 Tassilo Horn <tsdh@gnu.org>
6441
6442 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6443 off leading { and trailing } from field values.
6444
15e54145
SM
64452013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6446
78ce603d
SM
6447 * emacs-lisp/timer.el (timer--check): New function.
6448 (timer--time, timer-set-function, timer-event-handler): Use it.
6449 (timer-set-idle-time): Simplify.
6450 (timer--activate): CSE.
6451 (timer-event-handler): Give more info in error message.
6452 (internal-timer-start-idle): New function, moved from C.
6453
15e54145
SM
6454 * mpc.el (mpc-proc): Add `restart' argument.
6455 (mpc-proc-cmd): Use it.
6456 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6457 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6458 less often.
6459
7144c627
MY
64602013-04-10 Masatake YAMATO <yamato@redhat.com>
6461
6462 * progmodes/sh-script.el: Implement `sh-mode' own
6463 `add-log-current-defun-function' (bug#14112).
6464 (sh-current-defun-name): New function.
6465 (sh-mode): Use the function.
6466
b39792eb
BG
64672013-04-09 Bastien Guerry <bzg@gnu.org>
6468
6469 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6470
8acdeb71
SM
64712013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6fcdab68
SM
6473 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6474
8acdeb71
SM
6475 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6476 timer (bug#14156).
6477
e3e7b504
NF
64782013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6479
6480 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6481 declaration.
6482
201bb296
LL
64832013-04-07 Leo Liu <sdl.web@gmail.com>
6484
6485 * pcmpl-x.el: New file.
6486
ebb19708
DA
64872013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6488
6489 Do not set x-display-name until X connection is established.
6490 This is needed to prevent from weird situation described at
6491 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6492 * frame.el (make-frame): Set x-display-name after call to
6493 window system initialization function, not before.
6494 * term/x-win.el (x-initialize-window-system): Add optional
6495 display argument and use it.
6496 * term/w32-win.el (w32-initialize-window-system):
6497 * term/ns-win.el (ns-initialize-window-system):
6498 * term/pc-win.el (msdos-initialize-window-system):
6499 Add compatible optional display argument.
6500
33bb237a
EZ
65012013-04-06 Eli Zaretskii <eliz@gnu.org>
6502
6503 * files.el (normal-backup-enable-predicate): On MS-Windows and
6504 MS-DOS compare truenames of temporary-file-directory and of the
6505 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6506 don't fail comparison by compare-strings. Also, compare file
6507 names case-insensitively on MS-Windows and MS-DOS.
6508
134abf1f
SM
65092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6512 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6513
d695cb94
DG
65142013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6515
e3e7b504
NF
6516 * whitespace.el (whitespace-color-on, whitespace-color-off):
6517 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 6518
f4ad7ea1 65192013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
6520
6521 * ispell.el (ispell-set-spellchecker-params):
6522 Really set `ispell-args' for all equivs.
6523
632556e4
SM
65242013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * ido.el (ido-completions): Use extra elements of ido-decorations
6527 (bug#14143).
6528 (ido-decorations): Update docstring.
6529
2a417372
MA
65302013-04-05 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6533 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6534 nil during initialization, in order not to miss changes since the
6535 file was opened. (Bug#14140)
6536
fc164b0c
LL
65372013-04-05 Leo Liu <sdl.web@gmail.com>
6538
6539 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6540
0ccecc08
JB
65412013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6542
6543 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6544
51af1aa2
GM
65452013-04-04 Glenn Morris <rgm@gnu.org>
6546
6547 * electric.el (electric-pair-inhibit-predicate): Add :version.
6548
b208ebc6
SM
65492013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6552 when a package is required several times (bug#14082).
6553
f3d3eaf0
RW
65542013-04-04 Roland Winkler <winkler@gnu.org>
6555
6556 * faces.el (read-face-name): Behave as promised by the docstring.
6557 Assume that arg default is a list of faces.
6558 (describe-face): Call read-face-name with list of default faces.
6559
2575da50
TV
65602013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6561
6562 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6563 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6564 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6565 the header.
6566 (bookmark-exit-hook-internal): Save even if list is empty.
6567
397703b4
YH
65682013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6569
6570 * emacs-lisp/package.el (package-pinned-packages): New var.
6571 (package--add-to-archive-contents): Obey it (bug#14118).
6572
691e26ae
AM
65732013-04-03 Alan Mackenzie <acm@muc.de>
6574
8a621d53
JB
6575 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6576 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
6577
6578 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6579 parameter `not-in-delimiter'. Handle being inside comment opener.
6580 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6581 character in case we're typing a '*' after a '/'.
6582 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6583 instead by passing the parameter to c-state-pp-to-literal.
6584
6585 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6586 for elt. 7 of a parse state.
6587
4b725a70
PE
65882013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6589
6590 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6591 * international/latin1-disp.el, international/mule-util.el:
6592 * language/cyril-util.el, language/european.el, language/ind-util.el:
6593 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6594 * language/tibetan.el, language/viet-util.el:
6595 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6596
15c579f0
SM
65972013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6600 (electric-pair-post-self-insert-function): Use it.
6601 (electric-pair-default-inhibit): New function, extracted from
6602 electric-pair-post-self-insert-function.
6603
a77e2924
RW
66042013-03-31 Roland Winkler <winkler@gnu.org>
6605
6606 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6607
2bd8a4a8
SM
66082013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6611
8d3655be 66122013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
6613
6614 Un-indent after "pass" and "return" statements (Bug#13888)
6615 * progmodes/python.el (python-indent-block-enders): New var.
6616 (python-indent-calculate-indentation): Use it.
6617
8d3655be 66182013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
6619
6620 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6621 defun. Defining it as defalias could introduce too eager
6622 byte-compiler optimization. (Bug#14030)
6623
8d3655be 66242013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
6625
6626 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6627
0b1619da
LL
66282013-03-30 Leo Liu <sdl.web@gmail.com>
6629
6630 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6631 (kmacro-execute-from-register): Pass the keyboard macro to
6632 kmacro-call-macro or repeating won't work correctly.
6633
0b938190
TZ
66342013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6635
6636 * progmodes/subword.el: Back to using `forward-symbol'.
6637
6638 * subr.el (forward-whitespace, forward-symbol)
6639 (forward-same-syntax): Move from thingatpt.el.
6640
35710234
LL
66412013-03-29 Leo Liu <sdl.web@gmail.com>
6642
6643 * kmacro.el (kmacro-to-register): New command.
6644 (kmacro-execute-from-register): New function.
6645 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6646
efc0bb73
SM
66472013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * mpc.el: Use defvar-local and setq-local.
6650 (mpc--proc-connect): Connection failures are not bugs.
6651 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6652 (mpc-volume-map): Bind to the up-events.
6653
75a2f981
TZ
66542013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6655
6656 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6657 instead of `forward-symbol'.
6658
17c781d1
SM
66592013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6662 (edebug--recursive-edit): Use it.
6663 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6664 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6665
f67bfbcf
LL
66662013-03-28 Leo Liu <sdl.web@gmail.com>
6667
6668 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6669
b59f639d
EZ
66702013-03-27 Eli Zaretskii <eliz@gnu.org>
6671
6672 * facemenu.el (list-colors-callback): New defvar.
6673 (list-colors-redisplay): New function.
6674 (list-colors-display): Install list-colors-redisplay as the
6675 revert-buffer-function. (Bug#14063)
6676
f557c1b1
SM
66772013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6678
b1da2957
SM
6679 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6680 and suffixes don't overlap (bug#14061).
6681
f557c1b1
SM
6682 * case-table.el: Use lexical-binding.
6683 (case-table-get-table): New function.
6684 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6685
002668e1
TZ
66862013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6687
6688 * progmodes/subword.el: Add `superword-mode' to do word motion
6689 over symbol_words (parallels and leverages `subword-mode' which
6690 does word motion inside MixedCaseWords).
6691
73572c72
AG
66922013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6693
78b8f320 6694 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 6695 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 6696
69b2c07e
SM
66972013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6700 Change return value to be a sexp. Delay `get-buffer' to after
6701 restoring the desktop (bug#13951).
6702
08bb5ee2
LL
67032013-03-26 Leo Liu <sdl.web@gmail.com>
6704
6705 * register.el: Move semantic tag handling back to
6706 cedet/semantic/senator.el. (Bug#14052)
6707
8d4c974e
SM
67082013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6711 into the prompt either (bug#13963).
6712
b234d92c
SM
67132013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6716 part of "(error-foo)".
6717
ddfa3cb4
JL
67182013-03-24 Juri Linkov <juri@jurta.org>
6719
6720 * replace.el (list-matching-lines-prefix-face): New defcustom.
6721 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6722 `occur-engine' if `face-differs-from-default-p' returns t.
6723 (occur-engine): Add `,' inside backquote construct to evaluate
6724 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6725 Pass `prefix-face' to the functions `occur-context-lines' and
6726 `occur-engine-add-prefix'.
6727 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6728 `prefix-face' and propertize the prefix with `prefix-face'.
6729 (Bug#14017)
6730
7b0e2f85
LL
67312013-03-24 Leo Liu <sdl.web@gmail.com>
6732
6733 * nxml/rng-valid.el (rng-validate-while-idle)
6734 (rng-validate-quick-while-idle): Guard against deleted buffer.
6735 (Bug#13999)
6736
6737 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6738 is the last entry in kill-buffer-hook.
6739
6740 * files.el (kill-buffer-hook): Doc fix.
6741
b3082f49
DG
67422013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6743
b234d92c
SM
6744 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6745 Make it safe-local.
bde73d27 6746
b3082f49
DG
6747 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6748
a320a2db
LL
67492013-03-23 Leo Liu <sdl.web@gmail.com>
6750
7e74b0fb
LL
6751 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6752 Remove.
6753
6754 * nxml/rng-valid.el (rng-validate-mode)
6755 (rng-after-change-function, rng-do-some-validation):
6756 * nxml/rng-maint.el (rng-validate-buffer):
6757 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6758 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6759 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6760 (nxml-extend-after-change-region): Use with-silent-modifications.
6761
a320a2db
LL
6762 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6763 timer-idle-list.
6764
6765 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6766 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6767 timer-idle-list. (Bug#13999)
6768
e38e6780
JL
67692013-03-23 Juri Linkov <juri@jurta.org>
6770
6771 * info.el (info-index-match): New face.
6772 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6773 main pattern and add text properties with the new face to matches
6774 in index entries relative to the beginning of the index entry.
6775 (Bug#14015)
6776
e8cc7880
DE
67772013-03-21 Eric Ludlam <zappo@gnu.org>
6778
6779 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6780 Inhibit read only while inserting objects.
6781
9bb0d822
TZ
67822013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6783
6784 * progmodes/cfengine.el: Update docs to mention
6785 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6786 symbol motion. Remove "_" from the word syntax.
6787
aa703640
TZ
67882013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6789
6790 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6791 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6792
afff09d0
JL
67932013-03-20 Juri Linkov <juri@jurta.org>
6794
6795 * info.el (Info-next-reference-or-link)
6796 (Info-prev-reference-or-link): New functions.
6797 (Info-next-reference, Info-prev-reference): Use them.
6798 (Info-try-follow-nearest-node): Handle footnote navigation.
6799 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6800
9a1ff164
SM
68012013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6804 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6805
2667d15d
PE
68062013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6807
6808 Suppress unnecessary non-ASCII chatter during build process.
6809 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6810 (batch-skkdic-convert): Suppress most of the chatter.
6811 It's not needed so much now that machines are faster,
6812 and its non-ASCII component was confusing; see Dmitry Gutov in
6813 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6814
438b0579
LL
68152013-03-20 Leo Liu <sdl.web@gmail.com>
6816
6817 * ido.el (ido-chop): Fix bug#10994.
6818
c128ab07
DG
68192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6820
6821 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6822 Remove vars.
9a1ff164
SM
6823 (whitespace-color-on, whitespace-color-off):
6824 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 6825
0e6008c5
SM
68262013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6829 remapping in mode-line.
6830 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6831
627b52b0
DG
68322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6833
6834 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6835 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
6836 (whitespace-font-lock-keywords): Change description.
6837 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6838 the constructed keywords instead.
6839 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 6840
50c3a20b
LL
68412013-03-19 Leo Liu <sdl.web@gmail.com>
6842
6843 * progmodes/compile.el (compilation-display-error): New command.
6844 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6845 C-o. (Bug#13992)
6846
2aa2157b
PE
68472013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6848
6849 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6850
e477dbfa
JD
68512013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6852
6853 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6854
64ab82d1
MA
68552013-03-18 Michael Albinus <michael.albinus@gmx.de>
6856
6857 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6858
6859 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6860 * net/tramp-gvfs.el (top):
6861 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6862 (tramp-handle-shell-command): Use it.
6863 (tramp-dissect-file-name): Raise an error when hostname is a
6864 method name, and neither method nor user is specified.
6865
6866 * net/trampver.el: Update release number.
6867
33cef733
LL
68682013-03-18 Leo Liu <sdl.web@gmail.com>
6869
6870 Make sure eldoc can be turned off properly.
6871 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6872 eldoc-mode.
6873 (eldoc-display-message-p): Revert last change.
6874 (eldoc-display-message-no-interference-p)
6875 (eldoc-print-current-symbol-info): Tweak.
6876
2167b7b2
TH
68772013-03-18 Tassilo Horn <tsdh@gnu.org>
6878
6879 * doc-view.el (doc-view-new-window-function): Check the new window
6880 overlay's display property instead the char property of the
6881 buffer's first char. Use `with-selected-window' instead of
6882 `save-window-excursion' with `select-window'.
6883 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 6884 display property instead the char property of the buffer's first char.
2167b7b2 6885
982efbcd
PE
68862013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6887
6888 Automate the build of ja-dic.el (Bug#13984).
6889 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6890 from the input, rather than assume that it's been done for us by the
6891 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6892 the current date into a ja-dic.el comment, as that complicates
6893 regression testing.
6894
2fcc7665
SM
68952013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * whitespace.el: Fix double evaluation.
6898 (whitespace-space, whitespace-hspace, whitespace-tab)
6899 (whitespace-newline, whitespace-trailing, whitespace-line)
6900 (whitespace-space-before-tab, whitespace-indentation)
6901 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6902 obsolete defvars.
6903 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6904 (whitespace-color-on): Use a single font-lock-add-keywords call.
6905 Fix double-evaluation of face variables.
6906
67c0a6e6
MA
69072013-03-17 Michael Albinus <michael.albinus@gmx.de>
6908
2fcc7665
SM
6909 * net/tramp-adb.el (tramp-adb-parse-device-names):
6910 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 6911 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 6912
69489f1d
LL
69132013-03-17 Leo Liu <sdl.web@gmail.com>
6914
6915 Extend eldoc to display info in the mode-line. (Bug#13978)
6916 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6917 (eldoc-mode-line-string): New variable.
6918 (eldoc-minibuffer-message): New function.
6919 (eldoc-message-function): New variable.
6920 (eldoc-message): Use it.
6921 (eldoc-display-message-p)
2fcc7665
SM
6922 (eldoc-display-message-no-interference-p):
6923 Support eldoc-post-insert-mode.
69489f1d
LL
6924
6925 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6926 (eval-expression): Run it.
6927
9c44569e
RW
69282013-03-17 Roland Winkler <winkler@gnu.org>
6929
6930 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6931 strings in the list of return values.
6932
327f1f6f
JB
69332013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6934
6935 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6936 radix before checking for HMS forms.
6937
67ed8fcd
LL
69382013-03-16 Leo Liu <sdl.web@gmail.com>
6939
6940 * progmodes/scheme.el: Add indentation and font-locking for λ.
6941 (Bug#13975)
6942
78be8b64 69432013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
6944
6945 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6946 token before point (bug#13942).
6947
78be8b64 69482013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 6949
95b43468 6950 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 6951
98e775e6
EZ
69522013-03-16 Eli Zaretskii <eliz@gnu.org>
6953
6954 * startup.el (command-line-normalize-file-name): Fix handling of
6955 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6956 <xfq.free@gmail.com> in
6957 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6958
2edd6029
MA
69592013-03-15 Michael Albinus <michael.albinus@gmx.de>
6960
6961 Sync with Tramp 2.2.7.
6962
6963 * net/trampver.el: Update release number.
6964
d35f5864
TH
69652013-03-14 Tassilo Horn <tsdh@gnu.org>
6966
f35ffe5e
TH
6967 * doc-view.el Fix bug#13887.
6968 (doc-view-insert-image): Don't modify overlay associated to
6969 non-live windows, and implement horizontal centering of image in
6970 case it's smaller than the window.
6971 (doc-view-new-window-function): Force redisplay of new windows on
6972 doc-view buffers.
d35f5864 6973
1c4a85ed
KF
69742013-03-13 Karl Fogel <kfogel@red-bean.com>
6975
6976 * saveplace.el (save-place-alist-to-file): Don't sort
6977 `save-place-alist', just pretty-print it (bug#13882).
6978
85b66a21
MA
69792013-03-13 Michael Albinus <michael.albinus@gmx.de>
6980
a020afb9
JB
6981 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6982 Check whether `default-file-name-coding-system' is bound.
6983 It isn't in XEmacs.
85b66a21 6984
175600da
SM
69852013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6986
e7f7cb1a
SM
6987 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6988 backquotes for `obsolete' (bug#13929).
6989
175600da
SM
6990 * international/mule.el (find-auto-coding): Include file name in
6991 obsolescence warning (bug#13922).
6992
ca68a22e
TZ
69932013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6994
6995 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6996 for CFEngine 3-specific indentation.
6997 (cfengine3-indent-line): Use it. Fix up category regex.
6998 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6999
940e5099
SM
70002013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * type-break.el (type-break-file-name):
7003 * textmodes/remember.el (remember-data-file):
7004 * strokes.el (strokes-file):
7005 * shadowfile.el (shadow-initialize):
7006 * saveplace.el (save-place-file):
7007 * ps-bdf.el (bdf-cache-file):
7008 * progmodes/idlwave.el (idlwave-config-directory):
7009 * net/quickurl.el (quickurl-url-file):
7010 * international/kkc.el (kkc-init-file-name):
7011 * ido.el (ido-save-directory-list-file):
7012 * emulation/viper.el (viper-custom-file-name):
7013 * emulation/vip.el (vip-startup-file):
7014 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7015 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7016
cc725808
PE
70172013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7018
7019 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7020 * language/thai-word.el: Switch to UTF-8.
7021
a020afb9 7022See ChangeLog.16 for earlier changes.
e3d51b27
MR
7023
7024;; Local Variables:
7025;; coding: utf-8
e3d51b27
MR
7026;; End:
7027
ab422c4d 7028 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
7029
7030 This file is part of GNU Emacs.
7031
7032 GNU Emacs is free software: you can redistribute it and/or modify
7033 it under the terms of the GNU General Public License as published by
7034 the Free Software Foundation, either version 3 of the License, or
7035 (at your option) any later version.
7036
7037 GNU Emacs is distributed in the hope that it will be useful,
7038 but WITHOUT ANY WARRANTY; without even the implied warranty of
7039 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7040 GNU General Public License for more details.
7041
7042 You should have received a copy of the GNU General Public License
7043 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.