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