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