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