Fix docstring typos.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2
3 * dframe.el (dframe-detach):
4 * find-dired.el (find-dired, find-name-dired):
5 * finder.el (finder-mode-map, finder-mode-syntax-table)
6 (finder-headmark, finder-select, finder-mouse-select):
7 Fix docstring typos.
8
9 2014-02-28 Martin Rudalics <rudalics@gmx.at>
10
11 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12 * window.el (with-temp-buffer-window): Revert change from
13 2014-02-21. Suggested by Thierry Volpiatto.
14 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
15 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
16 * help.el (with-help-window): Fix doc-string.
17
18 2014-02-28 Ivan Kanis <ivan@kanis.fr>
19
20 * net/shr.el (shr-put-image): Add custom variable
21 `shr-image-animate' to turn off image animation. It is so slow it
22 will render emacs unusable.
23
24 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
25
26 * net/tramp-adb.el (tramp-adb-parse-device-names):
27 Use `accept-process-output'.
28 (tramp-adb-handle-file-truename): Cache the localname only.
29 (tramp-adb-handle-make-directory)
30 (tramp-adb-handle-delete-directory): Flush file properties correctly.
31 (tramp-adb-handle-set-file-modes): Do not raise an error when file
32 modes cannot be changed.
33
34 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
35 file properties of symlinks.
36
37 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
38
39 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
40 required/optional fields to match development biblatex. (Bug#16781)
41
42 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
43
44 * saveplace.el (toggle-save-place):
45 Fix argument handling. (Bug#16673)
46
47 2014-02-28 Glenn Morris <rgm@gnu.org>
48
49 * minibuffer.el (completions-first-difference)
50 (completions-common-part, completion-hilit-commonality): Doc fixes.
51
52 2014-02-28 Karl Berry <karl@gnu.org>
53
54 * info.el (Info-mode-map): Add H for describe-mode,
55 to synchronize with standalone Info.
56
57 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
58
59 * progmodes/sql.el (sql-interactive-mode):
60 Avoid setting global comint-input-ring-separator. (Bug#16814)
61
62 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
63
64 * net/dbus.el (dbus--init-bus): Declare function.
65 (dbus-path-local, dbus-interface-local): New defconst.
66 (dbus-init-bus): Use them.
67 (dbus-return-values-table): Extend doc.
68 (dbus-handle-bus-disconnect): Extend error message.
69
70 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
71
72 * subr.el (y-or-n-p): Fix double space issue in message.
73
74 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
75
76 * net/tramp.el (tramp-call-process): Improve trace message.
77 (tramp-handle-insert-file-contents): Trace error case.
78
79 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
80 <insert-directory>: Use `tramp-handle-insert-directory'.
81 (tramp-adb-handle-insert-directory): Remove function.
82 (tramp-adb-send-command-and-check): New defun, replacing
83 `tramp-adb-command-exit-status'. Change all callees.
84 (tramp-adb-handle-file-attributes)
85 (tramp-adb-handle-directory-files-and-attributes): Use it.
86 (tramp-adb-ls-output-name-less-p): Use
87 `directory-listing-before-filename-regexp'.
88 (tramp-adb-handle-delete-directory): Flush also file properties of
89 the truename of directory.
90 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
91 (tramp-adb-handle-file-local-copy): Make the local copy readable.
92 (tramp-adb-handle-write-region): Implement APPEND.
93 (tramp-adb-handle-rename-file): Make it more robust. Flush file
94 properties correctly.
95 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
96 variables. Check for connected devices only when needed.
97
98 2014-02-27 Glenn Morris <rgm@gnu.org>
99
100 * minibuffer.el (completion-table-dynamic)
101 (completion-table-with-cache): Doc fixes.
102
103 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
104 (completing-read-multiple): Doc fixes.
105
106 2014-02-27 Daniel Colascione <dancol@dancol.org>
107
108 * minibuffer.el (completion--nth-completion): Fix indentation.
109
110 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
111 explicit tramp path is empty.
112
113 2014-02-27 Glenn Morris <rgm@gnu.org>
114
115 * emacs-lisp/crm.el (completing-read-multiple):
116 Empower help-enable-auto-load.
117
118 2014-02-26 Glenn Morris <rgm@gnu.org>
119
120 * startup.el (command-line): Don't init the tty in daemon mode.
121
122 Avoid calling tty-setup-hook twice, eg if a term file
123 explicitly calls tty-run-terminal-initialization. (Bug#16859)
124 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
125 (tty-create-frame-with-faces): Use it.
126 * startup.el (command-line): Pass run-hook argument
127 to tty-run-terminal-initialization.
128
129 * dired.el (dired-restore-desktop-buffer): Demote errors;
130 eg in case a glob match fails. (Bug#16884)
131
132 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
133
134 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
135 error from `read-from-string'. (Bug#16850)
136
137 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
138 result of `completing-read' in the interactive form. (Bug#16854)
139
140 2014-02-25 Glenn Morris <rgm@gnu.org>
141
142 * image.el (image-animate, image-animate-timeout):
143 Stop animating images in dead buffers. (Bug#16878)
144
145 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
146
147 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
148 Doc fixes.
149 * startup.el (term-setup-hook): Doc fix. Make obsolete.
150 * term/sun.el (sun-raw-prefix-hooks):
151 Use tty-setup-hook instead of term-setup-hook.
152 (terminal-init-sun): Construct message from bytecomp plist.
153 * term/wyse50.el (enable-arrow-keys): Doc fix.
154
155 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
156
157 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
158 Fix docstring typos.
159
160 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
161
162 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
163
164 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
165
166 * minibuffer.el (completion--try-word-completion):
167 Fix error when completing M-x commands (bug#16808).
168
169 2014-02-24 Leo Liu <sdl.web@gmail.com>
170
171 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
172
173 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
174
175 * apropos.el (apropos-print): Avoid formatting error when
176 apropos-do-all and apropos-compact-layout are both t.
177
178 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
179
180 * apropos.el (apropos-property, apropos-all-words-regexp)
181 (apropos-true-hit, apropos-variable, apropos-print):
182 Fix docstring typos, and remove obsolete comment.
183
184 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
185
186 * net/tramp-sh.el (tramp-sh-handle-file-truename):
187 Preserve trailing "/". (Bug#16851)
188
189 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
190
191 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
192 after `=>' (bug#16811).
193 (ruby-smie-rules): Handle the inconsistent second element of the
194 list returned by `smie-indent--parent'.
195 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
196 method call.
197
198 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
199
200 * elec-pair.el (electric-pair-text-syntax-table)
201 (electric-pair-syntax-info, electric-pair--syntax-ppss)
202 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
203 (electric-pair--looking-at-unterminated-string-p): Doc fix.
204 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
205
206 2014-02-22 Glenn Morris <rgm@gnu.org>
207
208 * imenu.el (imenu--generic-function): Doc fix.
209
210 * register.el (frame-configuration-to-register): Make obsolete.
211
212 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
213
214 * desktop.el (desktop-save-buffer-p): Do not fail when
215 desktop-files-not-to-save is nil. Return t for true result
216 as the doc says.
217
218 2014-02-22 Daniel Colascione <dancol@dancol.org>
219
220 * net/secrets.el (secrets-create-item,secrets-search-items): Check
221 that attribute values are strings, avoiding the construction of
222 invalid dbus messages.
223
224 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
225
226 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
227 defun-declarations-alist.
228
229 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
232 (bug#16829).
233
234 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
235
236 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
237 (whitespace-newline, whitespace-trailing, whitespace-line)
238 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
239 (whitespace-space-after-tab): Fix typo in docstrings.
240
241 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
242
243 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
244
245 * electric.el (electric-indent-functions-without-reindent):
246 Add `yaml-indent-line'.
247
248 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
249
250 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
251 It has done nothing for years; should be removed after the release.
252
253 * simple.el (choose-completion): Fix docstring typo.
254 (read-quoted-char-radix): Remove unneeded * in docstring.
255 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
256 Don't escape parentheses unnecessarily in docstrings.
257
258 2014-02-21 Martin Rudalics <rudalics@gmx.at>
259
260 Fix handling of window-min-height/-width (Bug#16738).
261 * window.el (window--dump-window, window--dump-frame):
262 New functions.
263 (window--min-size-1): Account for window dividers.
264 When window-resize-pixelwise is nil, delay rounding till after the
265 sum of the window components has been calculated.
266 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
267 nil make sure at least one text line and two text columns remain
268 fully visible.
269 (window-resize): Signal an error when window-resize-apply fails.
270 (window--resize-child-windows): Fix calculation of by how many
271 pixels a window can still be shrunk via window-new-normal.
272 (adjust-window-trailing-edge): Call window--resizable with
273 correct TRAIL argument.
274
275 (with-temp-buffer-window): Don't evaluate BODY within
276 with-current-buffer (Bug#16816).
277
278 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
279
280 * net/tramp.el (tramp-check-cached-permissions):
281 Call `file-attributes' with `suffix' being a symbol but a string.
282
283 2014-02-21 Daniel Colascione <dancol@dancol.org>
284
285 * net/dbus.el (dbus-init-bus-1): Declare new subr.
286 (dbus-init-bus): New function: call into dbus-init-bus-1
287 and installs a handler for the disconnect signal.
288 (dbus-call-method): Rewrite to look for result in cons.
289 (dbus-call-method-handler): Store result in cons.
290 (dbus-check-event): Recognize events with nil sender as valid.
291 (dbus-handle-bus-disconnect): New function. React to bus
292 disconnection signal by synthesizing dbus error for each
293 pending synchronous or asynchronous call.
294 (dbus-notice-synchronous-call-errors): New function.
295 (dbus-handle-event): Raise errors directly only when `dbus-debug'
296 is true, not all the time.
297
298 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
299
300 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
301 Remove obsolescence declarations, these variables do not exist anymore.
302
303 * savehist.el (savehist-save-minibuffer-history)
304 (savehist-additional-variables, savehist-file, savehist-mode-hook)
305 (savehist-save-hook, savehist-coding-system, savehist-loaded)
306 (savehist-load, savehist-install, savehist-autosave): Fix typos;
307 mostly, refer to "Savehist mode" when talking about the mode,
308 and not the function.
309
310 * saveplace.el (save-place): Remove redundant info in docstring.
311 (save-place-forget-unreadable-files, toggle-save-place)
312 (save-place-forget-unreadable-files, save-place-dired-hook):
313 Fix typos and remove unneeded backslashes.
314
315 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
318 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
319
320 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
321 <insert-directory>: Use `tramp-handle-insert-directory'.
322 (tramp-gvfs-handle-insert-directory): Remove function.
323
324 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
325 Call `tramp-handle-insert-directory'.
326
327 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
328
329 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
330 before the start of buffer/region (bug#16799).
331
332 2014-02-20 Glenn Morris <rgm@gnu.org>
333
334 * isearch.el (search-invisible): Doc fix.
335
336 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
337
338 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
339 (bug#16657).
340
341 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
342
343 * frameset.el (frameset-restore): Delay removing an old frame's
344 duplicate id until the new frame has been correctly created.
345
346 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
347
348 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
349 (tramp-check-cached-permissions): Call `file-attributes' if the
350 cache is empty.
351
352 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
353 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
354
355 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
356 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
357 (tramp-gvfs-maybe-open-connection): Set always connection
358 properties, even if target is mounted already.
359
360 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
361 Set tramp-autoload cookie.
362 (tramp-get-remote-touch): New defun.
363 (tramp-sh-handle-set-file-times): Use it.
364 (tramp-sh-handle-directory-files-and-attributes):
365 Use `tramp-handle-directory-files-and-attributes' if neither stat
366 nor perl are available on the remote host.
367
368 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
369 "/". Write long listing only when "l" belongs to the switches.
370
371 * net/trampver.el: Update release number.
372
373 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
374
375 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
376
377 2014-02-19 Martin Rudalics <rudalics@gmx.at>
378
379 * window.el (window-state-put): Allow WINDOW to refer to an
380 internal window (Bug#16793).
381
382 2014-02-19 Glenn Morris <rgm@gnu.org>
383
384 * textmodes/remember.el: Move provide statement to end.
385 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
386 (remember-notes): Doc fixes.
387
388 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * delsel.el (delete-char): Restore incorrectly erased property
391 (bug#16795).
392
393 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
394
395 * frameset.el (frameset--restore-frame): When a frame is being reused
396 and its root window is not alive, delete all the frame's windows before
397 restoring the window state. This works around the issue in bug#16793.
398
399 2014-02-18 Glenn Morris <rgm@gnu.org>
400
401 * textmodes/remember.el (remember-data-directory)
402 (remember-directory-file-name-format, remember-store-in-files)
403 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
404 (remember-notes-save-and-bury-buffer)
405 (remember-notes--kill-buffer-query): Doc fixes.
406
407 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
408
409 2014-02-17 Alan Mackenzie <acm@muc.de>
410
411 Connect electric-indent-mode up with CC Mode. Bug #15478.
412 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
413 to electric-indent-{,local-}-mode.
414 (c-basic-common-init): Set electric-indent-inhibit.
415 Initialise c-electric-flag from electric-indent-mode.
416 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
417 New hook functions which propagate electric-indent-mode to CC mode.
418
419 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
420 hit, toggle electric-indent-local-mode.
421
422 * electric.el (electric-indent-mode-has-been-called):
423 New variable.
424
425 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
426
427 * frameset.el (frameset-cfg-id): New function.
428 (frameset--reuse-frame, frameset-restore): Use it.
429 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
430
431 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * ido.el (ido-file-internal): Remove unused var `d'.
434 Use \` for to match BoS. Fit within 80n columns.
435
436 2014-02-17 Daniel Colascione <dancol@dancol.org>
437
438 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
439 dbus-call-method check for completion using a busy-wait loop with
440 gradual backoff.
441
442 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
443
444 Sync with Tramp 2.2.9.
445
446 * net/trampver.el: Update release number.
447
448 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
449
450 * ido.el (ido-file-internal): Don't add the name of an existing
451 directory twice. (Bug#16747)
452
453 2014-02-16 Glenn Morris <rgm@gnu.org>
454
455 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
456 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
457
458 2014-02-15 Michael R. Mauger <michael@mauger.com>
459
460 * progmodes/sql.el: Version 3.4
461 (sql-oracle-options): New default value ("-L").
462 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
463 (sql-placeholders-filter): Correct placeholder pattern.
464 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
465 (sql-login-delay): New variable.
466 (sql-product-interactive): Use it.
467
468 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
469
470 * frameset.el (frameset--jump-to-register): Check that buffer is live
471 (bug#16749).
472
473 2014-02-15 Glenn Morris <rgm@gnu.org>
474
475 * info.el (info-initialize): Revert 2014-01-10 change.
476
477 2014-02-14 Glenn Morris <rgm@gnu.org>
478
479 * replace.el (map-query-replace-regexp)
480 (read-regexp-defaults-function, read-regexp): Doc fixes.
481
482 * dired.el (dired-read-regexp):
483 * faces.el (list-faces-display):
484 * misearch.el (multi-isearch-read-matching-buffers)
485 (multi-isearch-read-matching-files):
486 * play/cookie1.el (cookie-apropos):
487 * progmodes/grep.el (grep-read-regexp): Doc fixes.
488
489 * textmodes/remember.el (remember): Use frameset-to-register
490 rather than frame-configuration-to-register.
491
492 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
493
494 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
495 incorrect keybinding.
496
497 2014-02-13 Daniel Colascione <dancol@dancol.org>
498
499 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
500 when adding overlays so that line numbers from compiler match line
501 numbers we use.
502
503 2014-02-13 Glenn Morris <rgm@gnu.org>
504
505 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
506
507 * jit-lock.el (jit-lock-mode): Doc fix.
508
509 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
510
511 * apropos.el (apropos-read-pattern): When the user passes an empty
512 string, give a more helpful error message than "Wrong type
513 argument: stringp, nil".
514
515 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
518
519 2014-02-13 Glenn Morris <rgm@gnu.org>
520
521 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
522
523 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
526 shift-select commands.
527
528 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
529
530 * progmodes/js.el (js-indent-line): Don't widen.
531 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
532
533 2014-02-12 Glenn Morris <rgm@gnu.org>
534
535 * icomplete.el (icomplete): Add info-link to defgroup.
536 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
537 (icomplete-minibuffer-map, icomplete-mode)
538 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
539
540 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
541 (package-menu-filter): Rename from package-menu-filter-interactive.
542 Doc fix.
543
544 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
545
546 * frameset.el (frameset--jump-to-register): Select the required
547 window and buffer before restoring position (bug#16696).
548
549 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
550
551 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
552
553 2014-02-10 Glenn Morris <rgm@gnu.org>
554
555 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
556
557 2014-02-10 Eli Zaretskii <eliz@gnu.org>
558
559 * w32-common-fns.el (x-get-selection): Doc fix.
560 * select.el (x-get-selection): Doc fix. (Bug#15109)
561
562 * face-remap.el (face-remap-add-relative)
563 (face-remap-remove-relative, face-remap-reset-base)
564 (face-remap-set-base): Call force-mode-line-update to redisplay
565 the current buffer due to potential change in faces. (Bug#16709)
566
567 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
568
569 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
570 script more robustly.
571
572 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
573
574 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
575
576 * simple.el (choose-completion): Doc fix (bug#14160).
577
578 * subr.el (event-start): Say what a nil EVENT value means.
579
580 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
581 (bug#14197).
582
583 * progmodes/grep.el (find-program): Doc fix (bug#14289).
584
585 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
586
587 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
588
589 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
590 predicate function (bug#15455).
591
592 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
593
594 * ielm.el (inferior-emacs-lisp-mode): Instead of
595 `comment-use-global-state', set `comment-use-syntax'.
596
597 2014-02-10 Glenn Morris <rgm@gnu.org>
598
599 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
600
601 2014-02-09 Alan Mackenzie <acm@muc.de>
602
603 Fix c-invalidate-state-cache on narrowed buffers.
604 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
605 Widen when setting and clearing the CPP delimiter properties.
606
607 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
608
609 * help.el (describe-bindings): Doc fix (bug#9888).
610
611 * files.el (save-buffer): Use ARG as the parameter name for
612 consistency (bug#10346).
613 (save-buffer): Clarify the 0 argument (bug#10346).
614
615 * cus-edit.el (customize-apropos): Fix error string.
616 (custom-buffer-create): Doc fix (bug#11122).
617 (custom-sort-items): Doc fix (bug#11121).
618
619 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
620
621 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
622 (icomplete-simple-completing-p): Mention the previous variable.
623
624 * font-lock.el (font-lock-value-in-major-mode): Clarify the
625 meaning of the parameter (bug#12282).
626
627 * files.el (find-file-noselect): Clarify prompt when changing
628 readedness (bug#13261).
629 (locate-file): Suffixes aren't returned, so don't say that they
630 are (bug#12674).
631 (backup-inhibited): Doc clarification (bug#12525).
632
633 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
634 before we actually start to delete things (bug#16331).
635
636 * subr.el (event-start): Doc fix (bug#14228).
637 (event-end): Ditto.
638
639 2014-02-09 Glenn Morris <rgm@gnu.org>
640
641 * emacs-lisp/warnings.el (lwarn):
642 Empower help-enable-auto-load. (Bug#15940)
643
644 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
645
646 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
647 (Bug#16690)
648
649 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
650
651 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
652 Insert output at end of buffer. (Bug#16120)
653
654 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
655
656 * simple.el (choose-completion-string-functions): Document new
657 calling convention (bug#14153).
658 (execute-extended-command): Clarify doc string (bug#13373).
659
660 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
661
662 * find-dired.el (find-name-dired): Doc fix (bug#14290).
663 (find-grep-dired): Doc fix (bug#14288).
664
665 2014-02-08 Juri Linkov <juri@jurta.org>
666
667 * isearch.el (isearch-quote-char): Check character validity
668 like in `quoted-insert' (bug#16677).
669
670 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
671
672 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
673
674 * isearch.el (isearch-hide-immediately): Doc clarification
675 (bug#14723).
676
677 * simple.el (line-move): Document utility function used many
678 places in the Emacs sources (bug#14843).
679
680 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
681 (dired-prev-marked-file): Doc fix (bug#14855).
682 (dired-up-directory): Doc fix (bug#14848).
683
684 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
685
686 * files.el (file-relative-name): Doc fix (bug#15159).
687
688 * fringe.el (fringe-styles): Doc fix (bug#15239).
689
690 * isearch.el (isearch-filter-predicate): Documentation typo fix
691 (bug#15474).
692
693 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
694
695 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
696
697 * replace.el (replace-match-maybe-edit): Doc clarification
698 (bug#15632).
699
700 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
701
702 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
703
704 2014-02-08 Glenn Morris <rgm@gnu.org>
705
706 * help-fns.el (describe-variable):
707 Check {file,dir}-local-variables-alist, and buffer-file-name,
708 in the correct buffer.
709
710 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
711
712 * help-fns.el (describe-variable): Fix the case where
713 a value is directory-local with no dir-locals file. (Bug#16635)
714
715 2014-02-08 Glenn Morris <rgm@gnu.org>
716
717 * abbrev.el (edit-abbrevs-mode):
718 Derive from fundamental-mode. (Bug#16682)
719
720 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
721
722 * simple.el (quoted-insert): Check character validity (bug#16677).
723
724 2014-02-07 Juri Linkov <juri@jurta.org>
725
726 * desktop.el (desktop-read): Claim the lock when the owner is not
727 the current process. (Bug#16157)
728
729 2014-02-07 Juri Linkov <juri@jurta.org>
730
731 * desktop.el (desktop-buffers-not-to-save): Change default from nil
732 to "\\` ". (Bug#16651)
733
734 2014-02-07 Juri Linkov <juri@jurta.org>
735
736 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
737 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
738 (desktop-auto-save-cancel-timer): New function with some code from
739 `desktop-auto-save-set-timer'.
740 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
741 Instead of setting `desktop-save-mode' to nil, call
742 `desktop-save-mode' with arg 0. (Bug#16630)
743
744 2014-02-07 Glenn Morris <rgm@gnu.org>
745
746 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
747 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
748 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
749
750 * obsolete/iswitchb.el: Move to obsolete/.
751 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
752 since obsolete/ is not scanned for autoloads.
753 * emacs-lisp/authors.el (authors-valid-file-names):
754 Add iswitchb.el.
755
756 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
757 Disable now non-functional find-file-hook.
758
759 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
760
761 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
762 instead of ";" in order to avoid additional prompts. Let heredoc
763 scripts read from tty. (Bug#16582)
764 (tramp-send-command): No special handling of heredocs, it isn't
765 necessary anymore.
766
767 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
770 with a space (bug#16664). Limit the symbols considered to the ones
771 that are bound or fbound (bug#16646).
772
773 2014-02-06 Glenn Morris <rgm@gnu.org>
774
775 * epa.el (epa-mail-aliases): Doc fix.
776
777 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
778
779 * emacs-lisp/lisp.el (lisp-completion-at-point):
780 Use `completion-table-merge' instead of `completion-table-in-turn'
781 (bug#16604).
782
783 * minibuffer.el (completion-table-merge): New function.
784
785 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
786
787 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
788 (tramp-sh-handle-set-file-acl)
789 (tramp-sh-handle-start-file-process)
790 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
791 (tramp-find-executable, tramp-send-command): Use it.
792
793 2014-02-05 Glenn Morris <rgm@gnu.org>
794
795 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
796
797 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
798
799 * progmodes/python.el (python-shell-send-string):
800 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
801
802 2014-02-04 Anders Lindgren <andlind@gmail.com>
803
804 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
805 the names (bug#16620).
806
807 2014-02-03 Martin Rudalics <rudalics@gmx.at>
808
809 * faces.el (window-divider): New default value. Rewrite doc-string.
810 (window-divider-first-pixel, window-divider-last-pixel): New faces.
811
812 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
813
814 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
815 `protected' and `public' can also be called without arguments.
816
817 2014-02-03 Glenn Morris <rgm@gnu.org>
818
819 * register.el (window-configuration-to-register)
820 (frame-configuration-to-register): Unadvertise unused argument.
821 * frameset.el (frameset-to-register): Remove unused argument.
822
823 * frameset.el (frameset-to-register):
824 * kmacro.el (kmacro-to-register):
825 * register.el (increment-register):
826 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
827 (calc-append-to-register, calc-prepend-to-register):
828 * play/gametree.el (gametree-layout-to-register)
829 (gametree-apply-register-layout):
830 * textmodes/picture.el (picture-clear-rectangle-to-register)
831 (picture-yank-rectangle-from-register):
832 * vc/emerge.el (emerge-combine-versions-register):
833 Use register-read-with-preview to read registers.
834
835 2014-02-03 João Távora <joaotavora@gmail.com>
836
837 * elec-pair.el (electric-pair-backward-delete-char): Don't error
838 when at beginning of (possibly narrowed) buffer.
839
840 2014-02-02 Daniel Colascione <dancol@dancol.org>
841
842 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
843 Also try to display local help from just before point.
844
845 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
846
847 c-parse-state. Don't "append-lower-brace-pair" in certain
848 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
849 recognised as a comment.
850
851 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
852 as well as normal comment starter.
853 (c-parse-state-get-strategy): Extra return possibility
854 'back-and-forward.
855 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
856 return value list to indicate replacement of a brace-pair cons
857 with its car.
858 (c-parse-state-1): With 'back-and-forward, only call
859 c-append-lower-brace-pair-to state-cache when cons-separated.
860
861 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
862
863 * term/ns-win.el (ns-suspend-error): New function.
864 (ns-initialize-window-system): Add ns-suspend-error to
865 suspend-hook (Bug#16612).
866
867 2014-02-02 Daniel Colascione <dancol@dancol.org>
868
869 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
870
871 2014-02-02 Daniel Colascione <dancol@dancol.org>
872
873 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
874
875 2014-02-02 Glenn Morris <rgm@gnu.org>
876
877 * register.el (register-read-with-preview, point-to-register)
878 (window-configuration-to-register, frame-configuration-to-register)
879 (jump-to-register, number-to-register, view-register, insert-register)
880 (copy-to-register, append-to-register, prepend-to-register)
881 (copy-rectangle-to-register): Doc fixes.
882
883 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
886 * emacs-lisp/find-func.el (find-function-C-source): Idem.
887 * emacs-lisp/nadvice.el (advice--cd*r): New function.
888 * help-fns.el (describe-function-1): Use it.
889
890 2014-02-02 Glenn Morris <rgm@gnu.org>
891
892 * register.el (register-preview-default): New function,
893 split from register-preview.
894 (register-preview-function): Rename from register-preview-functions,
895 make it not a hook.
896 (register-preview): Use register-preview-function.
897 (register-read-with-preview): Error on non-character event. (Bug#16595)
898
899 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
900
901 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
902 `:' before binary operators (bug#16609). Don't check for `:'
903 before `[' and `(', or their syntax status. A percent literal
904 can't end with either.
905 (ruby-font-lock-keywords): For built-ins that require arguments,
906 check that they're followed by something that looks like argument
907 (bug#16610).
908
909 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
910
911 * subr.el (butlast): Document what an omitted N means (bug#13437).
912 (nbutlast): Ditto.
913
914 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
915
916 * net/shr.el (shr-generic): Make into a defsubst to make the stack
917 depth shallower (bug#16587).
918 (shr-tag-svg): Respect `shr-inhibit-images'.
919 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
920
921 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
922
923 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
924 (ruby-smie-grammar): Make "." right-associative. Make its priority
925 lower than the ternary and all binary operators.
926 (ruby-smie-rules): Indent "(" relative to the first non-"."
927 parent, or the first "." parent at indentation.
928 Use `ruby-align-chained-calls' for indentation of "." tokens.
929 (Bug#16593)
930
931 2014-01-31 Juri Linkov <juri@jurta.org>
932
933 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
934 from `make-hash-table'.
935
936 * textmodes/ispell.el (ispell-init-process): Change message format
937 to be consistent with other messages.
938
939 2014-01-31 Glenn Morris <rgm@gnu.org>
940
941 * delsel.el (delete-selection-mode): Doc fix.
942
943 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
944 (trace-function-background): Doc fixes.
945
946 * ido.el (ido-use-virtual-buffers): Doc fix.
947 Reset :version, since the default value has not changed.
948
949 * register.el (register-preview-delay, register-read-with-preview):
950 Doc fixes.
951
952 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
953 do not mess with mail-buffer position (fixes 2009-11-03 change).
954 * progmodes/cc-mode.el (c-submit-bug-report):
955 Check auto-fill-mode is bound. (Bug#16592)
956
957 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
958
959 * startup.el (fancy-splash-image-file): New function,
960 split from fancy-splash-head.
961 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
962 so that we are both using the same image. (Bug#16574)
963
964 2014-01-30 Glenn Morris <rgm@gnu.org>
965
966 * simple.el (eval-expression): Doc fix.
967
968 * hexl.el (hexl-mode-hook):
969 * ielm.el (ielm-mode-hook):
970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
971 (lisp-interaction-mode-hook):
972 * progmodes/cfengine.e (cfengine3-documentation-function):
973 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
974
975 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
978 is a symbol (bug#16584).
979
980 2014-01-30 Glenn Morris <rgm@gnu.org>
981
982 * help.el (help-for-help-internal): Add "P" to text.
983
984 2014-01-29 Glenn Morris <rgm@gnu.org>
985
986 * simple.el (just-one-space, cycle-spacing): Doc fixes.
987
988 2014-01-28 Martin Rudalics <rudalics@gmx.at>
989
990 * window.el (fit-frame-to-buffer): Fix calculations for margins and
991 height constraints.
992
993 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
994
995 * progmodes/hideif.el: Extend to full CPP expression syntax.
996 (hif-token-alist): Add missing tokens.
997 (hif-token-regexp): Add support for float/octal/hex immediates.
998 (hif-string-literal-regexp): New const.
999 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1000 (hif-exprlist): New function.
1001 (hif-parse-if-exp): Use it.
1002 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1003 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1004 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1005 (hif-logxor, hif-comma): New functions.
1006
1007 2014-01-28 Glenn Morris <rgm@gnu.org>
1008
1009 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1010
1011 * indent.el (tab-stop-list): Doc fix. Add :version.
1012
1013 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1014 (cvs-append-to-ignore): Add compatibility alias.
1015
1016 2014-01-27 Glenn Morris <rgm@gnu.org>
1017
1018 * dired.el (dired-hide-details-mode): Don't autoload it,
1019 since it cannot be used outside Dired buffers anyway.
1020
1021 * emulation/cua-base.el (cua-mode): Doc fix.
1022
1023 * dired.el (dired-hide-details-hide-symlink-targets)
1024 (dired-hide-details-hide-information-lines)
1025 (dired-hide-details-mode): Doc fixes.
1026
1027 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1028 * strokes.el (strokes-file): Doc fix. Bump :version.
1029 (strokes-help): Doc fix.
1030 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1031 * emulation/viper.el (viper): Doc fix for custom group.
1032 (top-level): Remove oh-so-no-longer-relevant text about vip.
1033 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1034
1035 * ido.el (ido-save-directory-list-file):
1036 * saveplace.el (save-place-file):
1037 * calendar/timeclock.el (timeclock-file):
1038 * net/quickurl.el (quickurl-url-file):
1039 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1040 * progmodes/idlwave.el (idlwave-config-directory):
1041 * textmodes/remember.el (remember-data-file):
1042 Bump :version.
1043
1044 2014-01-26 Glenn Morris <rgm@gnu.org>
1045
1046 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1047 Doc fix. Make obsolete.
1048 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1049
1050 * sort.el (delete-duplicate-lines): Doc fix.
1051
1052 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1053
1054 * progmodes/ada-mode.el (ada):
1055 * woman.el (woman): Link to info manual and Commentary section.
1056
1057 * progmodes/flymake.el (flymake):
1058 * nxml/nxml-mode.el (nxml):
1059 * net/eww.el (eww):
1060 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1061 * htmlfontify.el (htmlfontify):
1062 * ses.el (ses):
1063 * epa.el (epa):
1064 * ido.el (ido): Link to info manual.
1065
1066 2014-01-25 Leo Liu <sdl.web@gmail.com>
1067
1068 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1069
1070 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1071
1072 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1073 (bug#16537).
1074
1075 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1076
1077 * net/eww.el (eww-download-callback):
1078 Fix reference to eww-download-directory.
1079
1080 * emacs-lisp/bytecomp.el (byte-compile-file):
1081 Remove unused local variable `file-name'.
1082
1083 2014-01-24 Glenn Morris <rgm@gnu.org>
1084
1085 * woman.el (woman-default-faces, woman-monochrome-faces):
1086 Fix obsolescence specification.
1087
1088 * subr.el (with-demoted-errors): Doc fix.
1089
1090 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1093 (cl--macroexp-fboundp): New function.
1094 (cl--make-type-test): Use it.
1095
1096 2014-01-23 Glenn Morris <rgm@gnu.org>
1097
1098 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1099 * simple.el (eval-expression): Doc fixes.
1100
1101 2014-01-22 Glenn Morris <rgm@gnu.org>
1102
1103 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1104
1105 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/package.el: Write files silently.
1108 (package-autoload-ensure-default-file, package--write-file-no-coding)
1109 (package-generate-description-file, package--download-one-archive)
1110 (package-install-from-archive): Tell `write-region' to stay quiet.
1111 (package-menu-mode, package-menu--print-info): Omit the Archive column
1112 if there's only one archive.
1113 (package-all-keywords, package--has-keyword-p): Remove dead code.
1114
1115 2014-01-22 Glenn Morris <rgm@gnu.org>
1116
1117 * version.el (emacs-bzr-version-bzr): Fix typo.
1118
1119 * version.el (emacs-repository-get-version):
1120 Check either .bzr or .git, but not both.
1121 Make the git case actually use the DIR argument, and return nil
1122 rather than the empty string.
1123 Avoid error if .git exists but the git executable is not found.
1124
1125 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1126
1127 Fixes in window size functions around Bug#16430 and Bug#16470.
1128 * window.el (window-total-size, window-size): New argument ROUND.
1129 (window--min-delta-1, window-min-delta, window--max-delta-1):
1130 Be more conservative when calculating the numbers of lines or
1131 columns a window can shrink (Bug#16430).
1132 (fit-window-to-buffer): Simplify code.
1133 * term.el (term-window-width): Call window-body-width again.
1134
1135 2014-01-22 Glenn Morris <rgm@gnu.org>
1136
1137 * image.el (image-format-suffixes): Doc fix.
1138
1139 * international/quail.el (quail-define-package): Doc fix.
1140
1141 * emacs-lisp/authors.el (authors-valid-file-names):
1142 (authors-renamed-files-alist): Additions.
1143
1144 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1145 reverts 2014-01-09 change. (Bug#16422)
1146
1147 * calc/calc-embed.el (thing-at-point-looking-at):
1148 * emacs-lisp/map-ynp.el (x-popup-dialog):
1149 * obsolete/lmenu.el (x-popup-dialog):
1150 * emacs-lisp/package.el (url-recreate-url):
1151 * mail/mailclient.el (clipboard-kill-ring-save):
1152 * subr.el (x-popup-dialog): Update declaration.
1153 * mail/rmail.el (rmail-mime-message-p):
1154 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1155
1156 2014-01-21 Daniel Colascione <dancol@dancol.org>
1157
1158 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1159 Correctly detect when we're inside an arithmetic expansion form
1160 containing nested parenthesis.
1161 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1162 to detect cases where we shouldn't expand "<<" to a heredoc
1163 skeleton.
1164
1165 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1168 (eldoc--message-command-p): New function.
1169 (eldoc-display-message-p): Use it.
1170 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1171 message is not automatically erased for us.
1172 (eldoc-print-current-symbol-info): Erase previous message, if any.
1173
1174 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1175
1176 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1177 specify it's an interactive function.
1178
1179 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1180 Fix regex used for scanning for citation keys which failed for
1181 citations with optional arguments.
1182
1183 2014-01-21 Leo Liu <sdl.web@gmail.com>
1184
1185 * simple.el (read--expression): Don't enable eldoc-mode.
1186
1187 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * simple.el (move-beginning-of-line): Make sure we don't move forward
1190 (bug#16497).
1191
1192 2014-01-20 Juri Linkov <juri@jurta.org>
1193
1194 * saveplace.el (toggle-save-place, save-place-to-alist)
1195 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1196 'dired-mode) before checking for dired-directory. (Bug#16477)
1197
1198 2014-01-20 Juri Linkov <juri@jurta.org>
1199
1200 * indent.el (indent-line-to): Use backward-to-indentation
1201 instead of back-to-indentation. (Bug#16461)
1202
1203 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1204
1205 Revert some of the CANNOT_DUMP fix (Bug#16494).
1206 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1207 but fixing this can wait until after the next release.
1208 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1209
1210 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1213 Use `password-word-equivalents'.
1214 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1215 to t. (Bug#5664, Bug#13124)
1216
1217 2014-01-19 Alan Mackenzie <acm@muc.de>
1218
1219 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1220 points.
1221 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1222 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1223 * progmodes/cc-mode.el (c-before-change, c-after-change)
1224 (c-font-lock-fontify-region): Bind it here.
1225
1226 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1227
1228 * term.el (term-window-width): Call window-text-width instead of
1229 window-width (Bug#16470).
1230
1231 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1232
1233 * simple.el (password-word-equivalents): Remove duplicates.
1234 Sort, to make this easier next time.
1235 Downcase. Omit ": " after "jelszó".
1236
1237 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1238
1239 * term/common-win.el (saved-region-selection): Defvar it.
1240 (x-select-text): Set saved-region-selection (Bug#16382).
1241
1242 2014-01-18 Glenn Morris <rgm@gnu.org>
1243
1244 * emacs-lisp/authors.el (authors-aliases)
1245 (authors-renamed-files-alist): Add some entries.
1246
1247 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * net/tramp.el (tramp-password-prompt-regexp):
1250 Use `password-word-equivalents' if available.
1251 (tramp-action-password, tramp-process-one-action)
1252 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1253
1254 2014-01-17 Chong Yidong <cyd@gnu.org>
1255
1256 * simple.el (password-word-equivalents): New defcustom.
1257 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1258 to 24.4.
1259 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1260 to t. (Bug#13124)
1261
1262 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1263
1264 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1265 (ruby-align-to-stmt-keywords): Change the default value.
1266 Use `ruby-alignable-keywords' to generate the possible customization
1267 choices.
1268 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1269 keywords, check against the value of `ruby-alignable-keywords'
1270 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1271
1272 2014-01-17 Glenn Morris <rgm@gnu.org>
1273
1274 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1275
1276 Make M-x authors return zero *Authors Errors* from current logs.
1277 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1278 (authors-ignored-files): Add some entries, remove others.
1279 (authors-ambiguous-files, authors-valid-file-names):
1280 Add some entries.
1281 (authors-renamed-files-alist): Add, remove, and adjust entries.
1282 (authors-renamed-files-regexps): Add some entries.
1283 Remove some very broad ones. Make some entries `lax'.
1284 (authors-lax-changelogs): New constant.
1285 (authors-disambiguate-file-name): Treat top-level specially.
1286 (authors-lax-changelog-p): New function.
1287 (authors-canonical-file-name): Check file as written against
1288 authors-valid-file-names. Do not special-case etc/.
1289 Handle `lax' logs and authors-renamed-files-regexps elements.
1290
1291 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1294 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1295 callers.
1296
1297 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1300 Assume we're already in the proper buffer.
1301 Inspired by Anders Lindgren <andlind@gmail.com>.
1302 (follow-post-command-hook): Call it from the right buffer.
1303 (follow-comint-scroll-to-bottom): Adjust call.
1304 (follow-all-followers): Use get-buffer-window-list.
1305
1306 2014-01-15 Daniel Colascione <dancol@dancol.org>
1307
1308 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1309 `buffer-file-name' in interactive-form so that we don't leave
1310 pathless file names in `file-name-history'.
1311
1312 2014-01-15 Juri Linkov <juri@jurta.org>
1313
1314 * indent.el (indent-rigidly): Set deactivate-mark to nil
1315 in transient indentation mode. (Bug#16438)
1316
1317 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1318
1319 * emacs-lisp/package.el (package-desc-keywords): New function
1320 (Bug#16222).
1321 (describe-package-1, package-all-keywords)
1322 (package--has-keyword-p): Use it.
1323
1324 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1325
1326 * simple.el (define-alternatives): When creating the
1327 COMMAND-alternatives variable, assign COMMAND as its definition
1328 name so that `describe-variable' can relocate it.
1329
1330 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1331
1332 * font-lock.el (font-lock-keywords): Fix typo in docstring
1333 (bug#16307).
1334
1335 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1336
1337 * ispell.el (ispell-region): Reset `in-comment' for new line
1338 instead of wrongly reset `add-coment' (bug#13577).
1339
1340 2014-01-14 Daiki Ueno <ueno@gnu.org>
1341
1342 * epa-file.el (epa-file-write-region): Encode the region according
1343 to `buffer-file-format'. Problem reported at:
1344 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1345
1346 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1349 so it applies in the right buffer (bug#16410).
1350
1351 2014-01-13 Daniel Colascione <dancol@dancol.org>
1352
1353 * textmodes/rst.el (rst-define-key): Provide deprecated
1354 keybindings through named functions instead of anonymous ones so
1355 that "??" doesn't appear in describe-mode output.
1356
1357 2014-01-13 Bastien Guerry <bzg@gnu.org>
1358
1359 * simple.el (define-alternatives): Call the selected command
1360 interactively. When setting `COMMAND--implementation' for the
1361 first time, tell the user how to chose another implementation.
1362 Enhance the docstring.
1363
1364 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1367 (log-edit--match-first-line): New function.
1368 (log-edit-font-lock-keywords): Use it.
1369 (log-edit-mode): Make jit-lock-defer-multiline work.
1370
1371 2014-01-13 Bastien Guerry <bzg@gnu.org>
1372
1373 * rect.el (rectangle-mark-mode): When the region is not active,
1374 display a message saying that the mark as been set and that
1375 rectangle mode is in use.
1376 (rectangle--highlight-for-redisplay): Only put an overlay with a
1377 visible vertical bar when (display-graphic-p) is non-nil.
1378 This partially fixes Bug#16403.
1379
1380 2014-01-13 Juri Linkov <juri@jurta.org>
1381
1382 * info.el (Info-find-file): Go to DIR before displaying the error
1383 about a nonexistent file if no previous Info file is visited.
1384 Use `user-error' instead of `error' for "Info file %s does not exist".
1385 (Info-find-node-2): In case of a nonexistent node in unwind forms
1386 go to the Top node if there is no previous node to revert to.
1387 (Bug#16405)
1388
1389 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1390
1391 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1392 * window.el (fit-frame-to-buffer): Fix doc-string.
1393 Respect window-min-height/-width. Fit pixelwise when
1394 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1395 when avoiding that frame goes partially off-screen.
1396 (fit-window-to-buffer): Respect window-min-height/-width
1397 (Bug#14096).
1398
1399 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1402 after an empty line.
1403
1404 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * net/shr.el (shr-render-region): Autoload.
1407
1408 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1409
1410 * net/eww.el (eww-download-directory): Rename from
1411 `eww-download-path' (Bug#16419).
1412
1413 2014-01-12 Leo Liu <sdl.web@gmail.com>
1414
1415 * dired-x.el (dired-mode-map): Fix last change.
1416
1417 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1418
1419 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1420
1421 Spelling fixes.
1422 * emacs-lisp/generic.el (generic--normalize-comments):
1423 Rename from generic--normalise-comments. All uses changed.
1424 * play/bubbles.el (bubbles--neighborhood-score):
1425 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1426 (bubbles--neighborhood-available)
1427 (bubbles--update-neighborhood-score):
1428 Rename from names with 'neighbourhood'. All uses changed.
1429
1430 2014-01-12 Leo Liu <sdl.web@gmail.com>
1431
1432 Re-implement the feature of showing eldoc info after editing.
1433 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1434 (eldoc-edit-message-commands): New function.
1435 (eldoc-print-after-edit): New variable.
1436 (eldoc-pre-command-refresh-echo-area): Emit message only by
1437 eldoc-message-commands.
1438 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1439 if eldoc-print-after-edit is set. (Bug#16346)
1440 * simple.el (read--expression): Enable eldoc-mode.
1441 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1442
1443 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1444 Eric S. Raymond <esr@thyrsus.com>
1445
1446 * version.el (emacs-repository-get-version): Enhance so the
1447 function works correctly in either a Bazaar or Git repo.
1448
1449 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1450
1451 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1452 Goes with removal of the joke manpages from /etc.
1453
1454 2014-01-10 Kenichi Handa <handa@gnu.org>
1455
1456 * mail/rmail.el (rmail-get-coding-system):
1457 Check rmail-get-coding-function before "funcall"ing it.
1458
1459 2014-01-10 Glenn Morris <rgm@gnu.org>
1460
1461 * emacs-lisp/authors.el (authors-fixed-entries):
1462 Update for files that no longer exist.
1463
1464 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1465
1466 * version.el (emacs-bzr-get-version): Restore compatibilty with
1467 24.3 (Tested).
1468
1469 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1470
1471 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1472 and Podfile.
1473
1474 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1475
1476 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1477
1478 2014-01-10 Chong Yidong <cyd@gnu.org>
1479
1480 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1481
1482 2014-01-10 Anders Lindgren <andlind@gmail.com>
1483
1484 * follow.el (follow-cache-command-list): Include right-char and
1485 left-char.
1486
1487 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1488
1489 Spelling fixes.
1490 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1491 * woman.el (woman-mark-horizontal-position):
1492 Rename from woman-mark-horizonal-position. Use changed.
1493
1494 2014-01-10 Glenn Morris <rgm@gnu.org>
1495
1496 * info.el (info-initialize): If running uninstalled, ensure our
1497 own info files are always found first, even if INFOPATH is set.
1498
1499 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1500
1501 2014-01-09 David Engster <deng@randomsample.de>
1502
1503 * emacs-lisp/eieio-custom.el:
1504 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1505 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1506 * emacs-lisp/eieio.el: Regenerate autoloads.
1507
1508 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1509
1510 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1511 following renames. (Bug#8756)
1512
1513 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1516 (bug#16382).
1517 (activate-mark): Add `no-tmm' argument.
1518 (set-mark, push-mark-command): Use it instead of running
1519 activate-mark-hook by hand.
1520
1521 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1522
1523 In preparation for the move to git, sanitize out some
1524 Bazaar-specific names.
1525
1526 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1527
1528 * version.el (emacs-bzr-version): Name changed to
1529 emacs-repository-version. Obsolete-variable alias made.
1530 * loadup.el: Follow through on this name change.
1531 * mail/emacsbug.el (report-emacs-bug): Factor out any
1532 assumption about the version control system in use.
1533
1534 2014-01-08 David Engster <deng@randomsample.de>
1535
1536 * help-fns.el (help-fns-describe-function-functions):
1537 New variable to call functions for augmenting help buffers.
1538 (describe-function-1): Remove explicit calls to
1539 `help-fns--compiler-macro', `help-fns--parent-mode' and
1540 `help-fns--obsolete'. Put them in above new variable instead, and
1541 call them through `run-hook-with-args'.
1542 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1543 `eieio-describe-class'. Not meant for interactive use anymore,
1544 but to augment existing help buffers. Remove optional second
1545 argument. Create proper button for file location.
1546 Rewrite function to use `insert' instead of `princ' and `prin1' where
1547 possible.
1548 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1549 (eieio-method-def, eieio-class-def): Move further up.
1550 (describe-method, describe-generic, eieio-describe-method):
1551 Remove aliases.
1552 (eieio-help-constructor, eieio-help-generic): Rename from
1553 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1554 Rewrite to use `insert' in the current buffer and use proper help
1555 buttons.
1556 (eieio-help-find-method-definition)
1557 (eieio-help-find-class-definition): Also accept symbols as
1558 arguments.
1559 (eieio-help-mode-augmentation-maybee): Remove.
1560 (eieio-describe-class-sb): Use `describe-function'.
1561 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1562 Add `eieio-help-generic' and `eieio-help-constructor'.
1563
1564 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1565
1566 Spelling fixes.
1567 * language/china-util.el (hz-ascii-designation):
1568 Rename from hz-ascii-designnation.
1569 (hz-ascii-designation): Rename from hz-ascii-designnation.
1570 All uses changed.
1571
1572 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1575 package-alist.
1576
1577 2014-01-08 Bastien Guerry <bzg@gnu.org>
1578
1579 * emacs-lisp/package.el (package-delete):
1580 Correctly delete the package from package-alist.
1581
1582 2014-01-08 Daiki Ueno <ueno@gnu.org>
1583
1584 * emacs-lisp/package.el (url-recreate-url): Declare.
1585 (url-http-target-url): Declare.
1586 (package-handle-response): Include requested URL in the error message.
1587 (package--check-signature): Don't re-signal errors from
1588 package--with-work-buffer. Suggested by Stefan Monnier.
1589
1590 2014-01-07 Bastien Guerry <bzg@gnu.org>
1591
1592 * minibuffer.el (completion--try-word-completion): When both a
1593 hyphen and a space are possible candidates for the character
1594 following a word, display both candidates. (Bug#15980)
1595
1596 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1597
1598 * window.el (balance-windows-2): While rounding don't give a
1599 window more than the remainder. Bug#16351, bug#16383.
1600
1601 2014-01-07 Glenn Morris <rgm@gnu.org>
1602
1603 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1604 (menu-bar-help-menu): Use view-external-packages instead.
1605
1606 2014-01-07 Bastien Guerry <bzg@gnu.org>
1607
1608 * emacs-lisp/package.el (package-delete): Also delete the package
1609 name from `package-alist', not its description only.
1610
1611 2014-01-07 Glenn Morris <rgm@gnu.org>
1612
1613 * help.el (view-external-packages):
1614 * menu-bar.el (menu-bar-help-extra-packages):
1615 Visit efaq.info rather than etc/MORE.STUFF.
1616
1617 2014-01-07 Juri Linkov <juri@jurta.org>
1618
1619 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1620 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1621
1622 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1623 that shadows RET. (Bug#16342)
1624
1625 2014-01-07 Chong Yidong <cyd@gnu.org>
1626
1627 * isearch.el (isearch-yank-char, isearch-yank-word)
1628 (isearch-yank-line): Doc fix.
1629
1630 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1633 * emacs-lisp/elint.el (elint-find-builtins):
1634 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1635 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1636 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1637 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1638 * apropos.el (apropos-safe-documentation):
1639 * subr.el (symbol-file): Remove redundant fboundp.
1640 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1641
1642 2014-01-06 Bastien Guerry <bzg@gnu.org>
1643
1644 * hl-line.el (global-hl-line-overlay): Make a local variable.
1645 (global-hl-line-overlays): New variable to store all overlays.
1646 (global-hl-line-mode): Don't delete overlays from the current
1647 buffer when `global-hl-line-sticky-flag' is non-nil.
1648 (global-hl-line-highlight): Add new overlays to
1649 `global-hl-line-overlays'.
1650 (global-hl-line-unhighlight-all): New function to delete all
1651 overlays when turning off `global-hl-line-mode'.
1652 This fixes Bug#16183.
1653
1654 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * subr.el (set-transient-map): Fix nested case and docstring.
1657
1658 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1659
1660 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1661 `Texinfo' entry.
1662
1663 2014-01-06 Daniel Colascione <dancol@dancol.org>
1664
1665 Fix defun navigation in vc log view.
1666
1667 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1668 like `beginning-of-defun'.
1669 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1670 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1671 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1672 (log-view-extract-comment): Call `log-view-current-entry' directly
1673 instead of relying on broken `log-view-beginning-of-defun' behavior.
1674
1675 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1676
1677 Spelling fixes.
1678 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1679 * emacs-lisp/debug.el (cancel-debug-on-entry):
1680 * epg.el (epg-error-to-string):
1681 * files.el (recover-file):
1682 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1683 * mail/emacsbug.el (report-emacs-bug-hook):
1684 * mail/sendmail.el (mail-recover):
1685 * ses.el (ses-yank-resize):
1686 * term/ns-win.el (ns-print-buffer):
1687 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1688 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1689 All uses changed.
1690 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1691
1692 2014-01-06 Leo Liu <sdl.web@gmail.com>
1693
1694 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1695 to avoid shadowing global key. (Bug#16354)
1696
1697 2014-01-06 Daniel Colascione <dancol@dancol.org>
1698
1699 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1700 rst-mode.
1701
1702 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1703
1704 * window.el (balance-windows): Add mising t to fix Bug#16351.
1705
1706 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1707
1708 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1709 (bug#16285).
1710 (shr-insert): If we have a word that's longer than `shr-width',
1711 break after it anyway. Otherwise we'll do no breaking once we get
1712 such a long word.
1713
1714 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1715
1716 * net/eww.el (eww): Support single/double quote for search.
1717 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1718 (eww-history-quit): Delete and use quit-window.
1719 (eww-history-kill): Delete, because it doesn't work well and
1720 not necessary.
1721 (eww-history-mode-map): Delete some keys and add easy-menu.
1722
1723 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1724
1725 Fix misspelling of 'chinese' in rx (Bug#16237).
1726 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1727 chinese-two-byte.
1728
1729 Change subword regexps back to vars (Bug#16296).
1730 * progmodes/subword.el (subword-forward-regexp)
1731 (subword-backward-regexp): Change these back to variables.
1732
1733 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1736 syntax-begin-function (bug#16247).
1737
1738 2014-01-03 Chong Yidong <cyd@gnu.org>
1739
1740 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1741 (advice--docstring): Delete variable.
1742 (advice--make-1): Leave the docstring empty.
1743 (advice-add): Use function-documentation for advised docstring.
1744
1745 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1746 Ignore function-documentation property when getting documentation.
1747 (ad-activate-advised-definition): Use function-documentation
1748 generate the docstring.
1749 (ad-make-advised-definition): Don't call
1750 ad-make-advised-definition-docstring.
1751 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1752 Delete functions.
1753
1754 * progmodes/sql.el (sql-help): Use function-documentation instead
1755 of dynamic-docstring-function property. No need to autoload now.
1756 (sql--help-docstring): New variable.
1757 (sql--make-help-docstring): Use it.
1758
1759 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * ielm.el (ielm-tab): Retarget.
1762 (ielm-map): Use ielm-tab for tab.
1763 (ielm-complete-filename): Use comint-filename-completion.
1764 (ielm-complete-symbol): Remove.
1765 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1766 remove ielm-tab from completion-at-point-functions (bug#16224).
1767
1768 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1769 Beware signals raised by predicates (bug#16201).
1770
1771 2014-01-02 Richard Stallman <rms@gnu.org>
1772
1773 * dired-aux.el (dired-do-print): Handle printer-name.
1774
1775 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1776 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1777 (rmail-epa-decrypt): Turn off mime processing.
1778
1779 * mail/rmail.el (rmail-make-in-reply-to-field):
1780 Add parens in message-id.
1781
1782 * mail/rmail.el (rmail-get-coding-function): Variable.
1783 (rmail-get-coding-system): Use it.
1784
1785 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1786
1787 * international/mule-conf.el: Unify the charset indian-is13194.
1788 (indian-is13194): Specify unify-map.
1789
1790 2013-12-31 Leo Liu <sdl.web@gmail.com>
1791
1792 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1793
1794 2013-12-30 Daniel Colascione <dancol@dancol.org>
1795
1796 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1797 of printing a useless when we resume from sleep.
1798
1799 * progmodes/sh-script.el
1800 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1801 in indentation code. (Bug#16233)
1802
1803 2013-12-28 João Távora <joaotavora@gmail.com>
1804
1805 * elec-pair.el (electric-pair-post-self-insert-function):
1806 Don't open extra newlines at beginning of buffer. (Bug#16272)
1807
1808 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1809
1810 * frame.el (window-system-for-display): Don't allow to create a
1811 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1812
1813 2013-12-28 Glenn Morris <rgm@gnu.org>
1814
1815 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1816 Update callers.
1817
1818 * apropos.el (apropos-match-face):
1819 * calculator.el (calculator-displayer):
1820 * dabbrev.el (dabbrev-search-these-buffers-only):
1821 * face-remap.el (buffer-face-mode-face):
1822 * simple.el (yank-handled-properties):
1823 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1824 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1825 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1826 (hashcash-double-spend-database):
1827 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1828 (ruby-deep-indent-paren-style):
1829 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1830 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1831 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1832 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1833 Specify custom types.
1834
1835 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1836 * bookmark.el (bookmark-bmenu-use-header-line):
1837 * doc-view.el (doc-view-scale-internally):
1838 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1839 * register.el (register-preview-delay):
1840 * net/shr.el (shr-bullet):
1841 * progmodes/cfengine.el (cfengine-cf-promises)
1842 (cfengine-parameters-indent):
1843 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1844 * textmodes/reftex-vars.el (reftex-label-regexps):
1845 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1846
1847 * net/tls.el (tls-certtool-program): Fix default value.
1848
1849 * desktop.el (desktop-restore-in-current-display):
1850 * newcomment.el (comment-empty-lines):
1851 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1852 (idlwave-pad-keyword):
1853 * progmodes/tcl.el (tcl-tab-always-indent):
1854 * textmodes/reftex-vars.el (reftex-index-default-tag):
1855 * elec-pair.el (electric-pair-skip-whitespace):
1856 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1857
1858 * emacs-lisp/authors.el (authors-ignored-files)
1859 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1860
1861 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1862
1863 * shell.el (shell-dynamic-complete-command): Doc fix.
1864 (shell--command-completion-data): Shell completion now matches
1865 executable filenames from the current buffer's directory, on
1866 systems in which this behavior is the default (windows-nt, ms-dos).
1867
1868 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1869
1870 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1871
1872 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1875 (bug#16251).
1876
1877 * electric.el: Move all electric-pair-* to elec-pair.el.
1878 * elec-pair.el: New file, split from electric.el.
1879
1880 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1881
1882 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1883 indentation level is larger than the width, because that will
1884 infloop.
1885 (shr-insert): Fill repeatedly long texts, so that Japanese is
1886 formatted correctly (bug#16263).
1887 (shr-find-fill-point): Off by one error in comparison with the
1888 indentation.
1889
1890 2013-12-26 João Távora <joaotavora@gmail.com>
1891
1892 * electric.el (electric-pair-mode): More flexible engine for skip-
1893 and inhibit predicates, new options for pairing-related functionality.
1894 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1895 if that keeps or improves their balance in buffers.
1896 (electric-pair-delete-adjacent-pairs): Delete the pair when
1897 backspacing over adjacent matched delimiters.
1898 (electric-pair-open-extra-newline): Open extra newline when
1899 inserting newlines between adjacent matched delimiters.
1900 (electric--sort-post-self-insertion-hook):
1901 Sort post-self-insert-hook according to priority values when
1902 minor-modes are activated.
1903 * simple.el (newline-and-indent): Call newline with interactive
1904 set to t.
1905 (blink-paren-post-self-insert-function): Set priority to 100.
1906 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1907 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1908 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1909 electric-pair-open-newline-between-pairs to nil.
1910
1911 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1912
1913 * progmodes/python.el: Use lexical-binding.
1914 (python-nav-beginning-of-defun): Stop searching ASAP.
1915
1916 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1917
1918 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1919 Fix interactive spec. Doc fix. (Bug#15754)
1920
1921 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1922
1923 * emacs-lisp/byte-run.el (eval-when-compile):
1924 * progmodes/cc-defs.el (cc-eval-when-compile):
1925 Fix edebug spec (bug#16184).
1926
1927 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1928
1929 * net/shr.el (shr-visit-file): Remove debugging function.
1930 (shr-insert): Don't infloop if we can't find a good place to break
1931 the line (bug#16256).
1932
1933 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1934
1935 * progmodes/python.el:
1936 (python-nav--lisp-forward-sexp): New function.
1937 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1938 python-nav-lisp-forward-sexp-safe.
1939 (python-nav--forward-sexp): New argument SAFE allows switching
1940 forward sexp movement behavior for parens.
1941 (python-nav-forward-sexp): Throw errors on unterminated parens
1942 (Bug#16191).
1943 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1944 (python-nav-backward-sexp-safe): New functions.
1945 (python-shell-buffer-substring):
1946 Use `python-nav-forward-sexp-safe'.
1947
1948 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1949
1950 * net/shr.el (shr-find-fill-point): Don't break lines before a
1951 quotation mark.
1952 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1953 (shr-find-fill-point): Remove the special checks for the quotation
1954 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1955
1956 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1957
1958 * net/eww.el (eww-form-textarea): Use a different face for
1959 textareas than text input since they have different keymaps
1960 (bug#16142).
1961
1962 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1963
1964 * progmodes/python.el (python-nav-beginning-of-statement):
1965 Speed up (Bug#15295).
1966
1967 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1968
1969 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1970 the window configuration.
1971
1972 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1973
1974 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1975 we run on MS-Windows or MS-DOS.
1976
1977 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1978
1979 * window.el (balance-windows-area): Call window-size instead of
1980 window-height and window-width. Bug#16241.
1981
1982 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1983
1984 * net/eww.el (eww-bookmark-quit): Remove.
1985 (eww-bookmark-browse): Restore the window configuration when you
1986 choose a bookmark (bug#16144).
1987
1988 2013-12-24 Daniel Colascione <dancol@dancol.org>
1989
1990 * icomplete.el: Remove redundant :group arguments to `defcustom'
1991 throughout.
1992 (icomplete-show-matches-on-no-input): New customizable variable.
1993 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1994 we have something to show.
1995 (icomplete-exhibit): Compute completions even if we have no user input.
1996
1997 2013-12-23 Daniel Colascione <dancol@dancol.org>
1998
1999 * icomplete.el: Move `provide' to end of file.
2000
2001 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2002
2003 * net/gnutls.el (gnutls-verify-error): Add version tag.
2004
2005 2013-12-23 Chong Yidong <cyd@gnu.org>
2006
2007 * subr.el (set-transient-map): Rename from
2008 set-temporary-overlay-map. Doc fix.
2009
2010 * face-remap.el (text-scale-adjust):
2011 * indent.el (indent-rigidly):
2012 * kmacro.el (kmacro-call-macro):
2013 * minibuffer.el (minibuffer-force-complete):
2014 * repeat.el (repeat):
2015 * simple.el (universal-argument--mode):
2016 * calendar/todo-mode.el (todo-insert-item--next-param):
2017 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2018
2019 * indent.el (indent-rigidly): Use substitute-command-keys.
2020
2021 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2022
2023 * net/eww.el (eww-tag-select): Add text-property to jump to next
2024 select field.
2025 (eww): Add non-supported ftp error.
2026
2027 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2028
2029 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2030 comments. Handle electric indent after typing `?' and `!'.
2031
2032 2013-12-22 Chong Yidong <cyd@gnu.org>
2033
2034 * faces.el (face-spec-recalc): If the theme specs are not
2035 applicable to a frame, fall back on the defface spec.
2036 This prevents themes from obliterating faces on low-color terminals.
2037
2038 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2039
2040 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2041 after `{'. We need it after block openers, and it doesn't seem
2042 to hurt after hash openers.
2043
2044 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2045
2046 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2047 extracted from `ruby-smie-rules'.
2048 (ruby--electric-indent-chars): New variable.
2049 (ruby--electric-indent-p): New function.
2050 (ruby-mode): Use `electric-indent-functions' instead of
2051 `electric-indent-chars'.
2052
2053 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2054
2055 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2056 docstring.
2057 (ruby-smie-rules): Indent plus one level after `=>'.
2058
2059 2013-12-21 Richard Stallman <rms@gnu.org>
2060
2061 * simple.el (newline): Doc fix.
2062
2063 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2064
2065 * net/eww.el (eww-list-histories, eww-list-histories)
2066 (eww-history-browse, eww-history-quit, eww-history-kill)
2067 (eww-history-mode-map, eww-history-mode): New command and
2068 functions to list browser histories.
2069 (eww-form-text): Support text form with disabled
2070 and readonly attributes.
2071 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2072
2073 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2074
2075 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2076 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2077 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2078 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2079 Use `user-error'.
2080 (eww-bookmark-mode-map): Add menu.
2081 (eww-render, eww-mode): Use `setq-local'.
2082 (eww-tool-bar-map): New variable.
2083 (eww-mode): Set `tool-bar-map'.
2084 (eww-view-source): Check for `html-mode' with `fboundp'.
2085
2086 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2087
2088 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2089 elements with text inside. Also remove debugging.
2090
2091 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2092
2093 * cus-start.el (all): Add ns-use-srgb-colorspace.
2094
2095 2013-12-21 Chong Yidong <cyd@gnu.org>
2096
2097 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2098 undefined. Thus, theme settings for undefined faces do not take
2099 effect until the faces are defined with defface, the same as with
2100 theme variables.
2101
2102 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2103 (face-spec-reset-face): Don't assign extra properties in temacs.
2104 (face-spec-recalc): Apply X resources too.
2105
2106 2013-12-21 Chong Yidong <cyd@gnu.org>
2107
2108 * faces.el (face-spec-set):
2109 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2110 * custom.el (defface): Doc fixes (Bug#16203).
2111
2112 * indent.el (indent-rigidly-map): Add docstring, and move commands
2113 into named functions.
2114 (indent-rigidly-left, indent-rigidly-right)
2115 (indent-rigidly-left-to-tab-stop)
2116 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2117 indentation direction based on bidi direction, and accumulate
2118 sequential commands in a single undo boundary.
2119 (indent-rigidly--pop-undo): New utility function.
2120
2121 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2122
2123 * faces.el (read-face-name): Require crm.el when using crm-separator.
2124
2125 2013-12-20 Daniel Colascione <dancol@dancol.org>
2126
2127 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2128 so that we don't reflow comments into the shebang line.
2129
2130 2013-12-20 Juri Linkov <juri@jurta.org>
2131
2132 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2133 a position when `dired-directory' is non-nil. Check integer
2134 positions with `integerp'.
2135 (toggle-save-place, save-places-to-alist): Add check for
2136 `dired-directory'.
2137 (save-place-find-file-hook): Check integer positions with
2138 `integerp'.
2139 (save-place-dired-hook): Use `dired-goto-file' when
2140 `dired-filename' is found in the assoc list. Check integer
2141 positions with `integerp'.
2142 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2143
2144 * dired.el (dired-initial-position-hook): Rename back from
2145 `dired-initial-point-hook'.
2146 (dired-initial-position): Rename `dired-initial-point-hook' to
2147 `dired-initial-position-hook'.
2148 (dired-file-name-at-point): Doc fix. (Bug#15329)
2149
2150 2013-12-20 Juri Linkov <juri@jurta.org>
2151
2152 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2153 (read-regexp-suggestions): New function.
2154 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2155 Use `read-regexp-suggestions'. Add non-empty default to history
2156 for empty input.
2157 (occur-read-regexp-defaults-function): Remove function.
2158 (occur-read-primary-args): Use `regexp-history-last' instead of
2159 `occur-read-regexp-defaults-function'.
2160
2161 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2162 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2163 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2164 `hi-lock-read-regexp-defaults-function'. Doc fix.
2165 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2166 with `find-tag-default-as-symbol-regexp'. Doc fix.
2167 (hi-lock-read-regexp-defaults): Remove function.
2168 (hi-lock-regexp-okay): Add check for null.
2169
2170 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2171 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2172
2173 * subr.el (find-tag-default-as-symbol-regexp): New function.
2174 (find-tag-default-as-regexp): Move symbol regexp formatting to
2175 `find-tag-default-as-symbol-regexp'.
2176
2177 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2178
2179 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2180 (Bug#14179)
2181
2182 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2183
2184 * calendar/todo-mode.el: New implementation of item insertion
2185 commands and key bindings.
2186 (todo-key-prompt): New face.
2187 (todo-insert-item): New command.
2188 (todo-insert-item--parameters): New defconst, replacing defvar
2189 todo-insertion-commands-args-genlist.
2190 (todo-insert-item--param-key-alist): New defconst, replacing
2191 defvar todo-insertion-commands-arg-key-list.
2192 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2193 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2194 (todo-insert-item--next-param): New functions.
2195 (todo-insert-item--args, todo-insert-item--argleft)
2196 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2197 New variables.
2198 (todo-key-bindings-t): Change binding of "i" from
2199 todo-insertion-map to todo-insert-item.
2200 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2201 (todo-insertion-command-name, todo-insertion-commands-names)
2202 (todo-define-insertion-command, todo-insertion-commands)
2203 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2204
2205 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2206
2207 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2208 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2209 eval-when-compile.
2210 (todo-move-category): Allow choosing a non-existing todo file to
2211 move the category to, and create that file.
2212 (todo-default-priority): New user option.
2213 (todo-set-item-priority): Use it.
2214 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2215 (desktop-restore-file-buffer): Declare.
2216 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2217 (todo-modes-set-2): Locally set desktop-save-buffer to
2218 todo-desktop-save-buffer.
2219 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2220 (auto-mode-alist): Add autoload cookie.
2221
2222 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2223
2224 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2225 helpers.el was a poor choice of name.
2226 (string-remove-prefix): New function.
2227 (string-remove-suffix): New function.
2228
2229 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2230
2231 Fix assignment for new window total sizes.
2232 * window.el (window--pixel-to-size): Remove function.
2233 (window--pixel-to-total-1, window--pixel-to-total):
2234 Fix calculation of new total sizes.
2235
2236 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2237
2238 * comint.el (comint-output-filter): Fix rear-nonsticky property
2239 placement (Bug#16010).
2240
2241 2013-12-20 Chong Yidong <cyd@gnu.org>
2242
2243 * faces.el (read-color): Minor fix for completion function.
2244
2245 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2248 New option. (Bug#16182)
2249 (ruby-smie--indent-to-stmt-p): Use it.
2250 (ruby-smie-rules): Revert the logic in the handling of `when'.
2251 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2252 (ruby-deep-arglist, ruby-deep-indent-paren)
2253 (ruby-deep-indent-paren-style): Update docstrings to note that the
2254 vars don't have any effect with SMIE.
2255
2256 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2257
2258 * calc/calc.el (calc-enter, calc-pop): Use the variable
2259 `calc-context-sensitive-enter'.
2260
2261 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2262
2263 * net/shr.el (shr-insert): Protect against infloops in degenerate
2264 tables.
2265
2266 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2267
2268 * progmodes/octave.el (octave): Add link to manual and octave
2269 homepage.
2270 (octave-mode-menu): Link to octave-mode manual.
2271
2272 2013-12-20 Leo Liu <sdl.web@gmail.com>
2273
2274 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2275 insertion using skeleton-end-newline. (Bug#16138)
2276
2277 2013-12-20 Juri Linkov <juri@jurta.org>
2278
2279 * replace.el (occur-engine): Use `add-face-text-property'
2280 to add the face property to matches and titles. (Bug#14645)
2281
2282 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2283 the palette of other hi-lock colors.
2284 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2285
2286 2013-12-19 Juri Linkov <juri@jurta.org>
2287
2288 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2289 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2290 (minibuffer-history-symbol): Move variable declaration closer to
2291 its usage.
2292
2293 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2294 (Bug#14785)
2295
2296 2013-12-19 Juri Linkov <juri@jurta.org>
2297
2298 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2299 New function.
2300 (log-edit-hook): Add it to :options. (Bug#16170)
2301
2302 2013-12-19 Juri Linkov <juri@jurta.org>
2303
2304 * simple.el (eval-expression-print-format): Don't check for
2305 command names and the last command. Always display additional
2306 formats of the integer result in the echo area, and insert them
2307 to the current buffer only with a zero prefix arg.
2308 Display character when char-displayable-p is non-nil.
2309 (eval-expression): With a zero prefix arg, set `print-length' and
2310 `print-level' to nil, and insert the integer values from
2311 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2312
2313 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2314 `eval-last-sexp-arg-internal'. Doc fix.
2315 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2316 `eval-last-sexp-print-value'. Doc fix.
2317 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2318 Set `print-length' and `print-level' to nil when arg is zero.
2319 (eval-last-sexp): Doc fix.
2320 (eval-defun-2): Print the integer values from
2321 `eval-expression-print-format' at the end.
2322
2323 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2324 values from `eval-expression-print-format' at the end.
2325
2326 * ielm.el (ielm-eval-input): Print the integer
2327 values from `eval-expression-print-format' at the end.
2328
2329 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2330
2331 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2332 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2333
2334 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2337 (hl-line-highlight, global-hl-line-highlight): Use it.
2338 (hl-line-overlay): Use defvar-local.
2339
2340 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2341
2342 * term/ns-win.el: Require dnd.
2343 (global-map): Remove drag items.
2344 (ns-insert-text, ns-set-foreground-at-mouse)
2345 (ns-set-background-at-mouse):
2346 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2347 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2348 New functions.
2349
2350 2013-12-19 Glenn Morris <rgm@gnu.org>
2351
2352 * emacs-lisp/ert.el (ert-select-tests):
2353 Fix string/symbol mixup. (Bug#16121)
2354
2355 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2358 keywords to their parent.
2359
2360 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2361
2362 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2363 first arg to be a string (fixed dead code), or an operator symbol.
2364 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2365 operator symbols.
2366 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2367 did nothing. Don't respond to `(:after ".")', it will be called
2368 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2369 change anything. Only return indentation for binary operators
2370 when they are hanging. De-dent opening paren when its parent is
2371 `.', otherwise it looks bad when the dot is not at bol or eol
2372 (bug#16182).
2373
2374 2013-12-19 Juri Linkov <juri@jurta.org>
2375
2376 * replace.el (query-replace-read-args): Split a non-negative arg
2377 and a negative arg into separate elements.
2378 (query-replace, query-replace-regexp, replace-string)
2379 (replace-regexp): Add arg `backward'. Doc fix.
2380 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2381 move point to the beginning of the match.
2382 (replace-search, replace-highlight): Use new arg `backward'
2383 to set the value of `isearch-forward'.
2384 (perform-replace): Add arg `backward' and use it to perform
2385 replacement backward. (Bug#14979)
2386
2387 * isearch.el (isearch-query-replace): Use a negative prefix arg
2388 to call `perform-replace' with a non-nil arg `backward'.
2389
2390 2013-12-18 Juri Linkov <juri@jurta.org>
2391
2392 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2393 to the default list. Move `log-edit-show-files' to the end.
2394 Add more available functions to options.
2395 (log-edit): Move default specific settings to
2396 `log-edit-insert-message-template'. Don't move point.
2397 (log-edit-insert-message-template): New function.
2398 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2399 (Bug#16170)
2400
2401 2013-12-18 Juri Linkov <juri@jurta.org>
2402
2403 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2404 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2405
2406 2013-12-18 Leo Liu <sdl.web@gmail.com>
2407
2408 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2409 (Bug#16186)
2410
2411 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2412
2413 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2414 formats for displaying file sizes when the -s switch is given.
2415 Instead, compute a separate format for displaying the size in
2416 blocks, which is displayed in addition to the "regular" size.
2417 When -h is given in addition to -s, produce size in blocks in
2418 human-readable form as well. (Bug#16179)
2419
2420 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2421
2422 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2423 Reference tables with ~\ref{...} instead of only \ref{...}.
2424
2425 2013-12-18 Chong Yidong <cyd@gnu.org>
2426
2427 * cus-edit.el (custom-magic-alist): Fix "themed" description
2428 (Bug#14348).
2429
2430 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2431 is non-nil, do not create a new entry in the symbol's theme-value
2432 or theme-face property; update theme-settings only (Bug#14664).
2433 (custom-available-themes): Doc fix.
2434
2435 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2436 (Bug#15674).
2437
2438 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2439
2440 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2441
2442 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2443 (Bug#13914).
2444
2445 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2446
2447 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2448
2449 2013-12-18 Glenn Morris <rgm@gnu.org>
2450
2451 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2452 * cus-start.el (load-prefer-newer): New option.
2453
2454 2013-12-18 Le Wang <l26wang@gmail.com>
2455
2456 * comint.el (comint-previous-matching-input-from-input):
2457 Retain point (Bug#13404).
2458
2459 2013-12-18 Chong Yidong <cyd@gnu.org>
2460
2461 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2462
2463 2013-12-18 Glenn Morris <rgm@gnu.org>
2464
2465 * mail/emacsbug.el (report-emacs-bug):
2466 Only mention enable-multibyte-characters if non-standard.
2467
2468 2013-12-17 Juri Linkov <juri@jurta.org>
2469
2470 * arc-mode.el (archive-extract-by-file): Check if directory exists
2471 before deletion to not show irrelevant errors if it doesn't exist.
2472
2473 2013-12-17 Juri Linkov <juri@jurta.org>
2474
2475 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2476 (Bug#14751)
2477
2478 * net/eww.el (browse-web): Add alias to `eww'.
2479 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2480 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2481
2482 * net/browse-url.el (browse-url-browser-function): Move `eww'
2483 closer to similar functions.
2484
2485 * startup.el (fancy-startup-screen, fancy-about-screen):
2486 Set browse-url-browser-function to eww-browse-url locally.
2487 (Bug#14751)
2488
2489 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * window.el (window--pixel-to-total): Remove unused `mini' var.
2492 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2493 (split-window): Remove unused `new' var.
2494 (window--display-buffer): Remove unused `frame' and `delta' vars.
2495 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2496 and display-width'.
2497
2498 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2499
2500 * dired.el (dired-mark-pop-up):
2501 * register.el (register-preview): Don't bind
2502 split-height-threshold here since it's now done in
2503 display-buffer-below-selected.
2504
2505 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2506
2507 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2508 xterm-rgb-convert-to-16bit.
2509 (rxvt-register-default-colors): Standardize with
2510 xterm-register-default-colors (Bug#14078).
2511
2512 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2513
2514 * simple.el (kill-region): Pass mark first, then point, so that
2515 kill-append works right (Bug#12819).
2516 (copy-region-as-kill, kill-ring-save): Likewise.
2517
2518 2013-12-17 Leo Liu <sdl.web@gmail.com>
2519
2520 * net/rcirc.el (rcirc-add-face):
2521 * eshell/em-prompt.el (eshell-emit-prompt):
2522 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2523 (Bug#16167)
2524
2525 2013-12-17 Chong Yidong <cyd@gnu.org>
2526
2527 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2528 Suggested by Xue Fuqiao.
2529
2530 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2531
2532 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2533
2534 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * net/shr.el (shr-insert-document): Remove unused var
2537 `shr-preliminary-table-render'.
2538 (shr-rescale-image): Remove unused arg `force'.
2539 (shr-put-image): Update calls accordingly.
2540 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2541
2542 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2543
2544 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2545 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2546 :close-all, to see which indentation method to use (Bug#16116).
2547 (smie-rules-function): Document the method :close-all.
2548
2549 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2550
2551 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2552
2553 * net/eww.el (eww-display-html): If we can't find the anchor we're
2554 looking for, then go to point-min.
2555
2556 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2557
2558 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2559 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2560 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2561 Expand dir too, in case it's relative.
2562
2563 2013-12-16 Juri Linkov <juri@jurta.org>
2564
2565 * desktop.el (desktop-auto-save-timeout): Change default to
2566 `auto-save-timeout'. Doc fix.
2567 (desktop-save): Skip the timestamp in desktop-saved-frameset
2568 when checking for auto-save changes.
2569 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2570 `desktop-auto-save' is called repeatedly by the idle timer.
2571 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2572 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2573 (Bug#15331)
2574
2575 2013-12-16 Juri Linkov <juri@jurta.org>
2576
2577 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2578 (Bug#16035)
2579 (isearch-pre-command-hook): Check `this-command' for symbolp.
2580
2581 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2584
2585 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2586
2587 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2588 (cfengine3--current-function): Bring in the current-function
2589 functionality from `cfengine3--current-word'.
2590 (cfengine3-completion-function): Bring in the
2591 bounds-of-current-word functionality from
2592 `cfengine3--current-word'.
2593
2594 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2595
2596 * window.el (display-buffer-below-selected):
2597 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2598
2599 2013-12-16 Leo Liu <sdl.web@gmail.com>
2600
2601 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2602 Remove NOMSG arg and all uses changed.
2603
2604 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2607 (cua--deactivate-rectangle): Don't deactivate the mark.
2608 (cua-set-rectangle-mark): Don't set mark-active since
2609 cua--activate-rectangle already does it for us.
2610 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2611 non-rectangular region.
2612
2613 * emulation/cua-base.el (cua-repeat-replace-region):
2614 Use with-current-buffer.
2615
2616 * net/gnutls.el: Use cl-lib.
2617 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2618
2619 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2620
2621 * emacs-lisp/package.el (package-built-in-p): Support both
2622 built-in and the package.el converted package descriptions.
2623 (package-show-package-list): Allow keywords.
2624 (package-keyword-button-action): Use it instead of
2625 `finder-list-matches'.
2626 (package-menu-filter-interactive): Interactive filtering (by
2627 keyword) function.
2628 (package-menu--generate): Support keywords and change keymappings
2629 and headers when they are given.
2630 (package--has-keyword-p): Helper function.
2631 (package-menu--refresh): Use it.
2632 (package--mapc): Helper function.
2633 (package-all-keywords): Use it.
2634 (package-menu-mode-map): Set up menu items and keybindings to
2635 provide a filtering UI.
2636
2637 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2638
2639 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2640 the behavior when a certificate fails validation. Defaults to
2641 old behavior: never abort, just warn.
2642 (gnutls-negotiate): Use it.
2643
2644 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2645
2646 * window.el (display-buffer-below-selected): Never split window
2647 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2648
2649 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2650
2651 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2652 (package-buffer-info): Use it (bug#15108).
2653
2654 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * icomplete.el (icomplete-completions): Make sure the prefix is already
2657 displayed elsewhere before hiding it (bug#16219).
2658
2659 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2660
2661 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2662 open-paren tokens when preceded by a open-paren, too.
2663 (ruby-smie-rules): Handle virtual indentation after open-paren
2664 tokens specially. If there is code between it and eol, return the
2665 column where is starts (Bug#16118).
2666
2667 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2668
2669 * progmodes/cfengine.el: Fix `add-hook' doc.
2670 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2671 (cfengine3--current-word): Fix parameters.
2672 (cfengine3-make-syntax-cache): Simplify further.
2673 (cfengine3-completion-function, cfengine3--current-function):
2674 Use `assq' for symbols.
2675 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2676
2677 2013-12-13 Glenn Morris <rgm@gnu.org>
2678
2679 * loadup.el (load-path): Warn if site-load or site-init changes it.
2680 No more need to reset it when bootstrapping.
2681
2682 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2683
2684 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2685 locations for cf-promises.
2686 (cfengine-mode-syntax-functions-regex): New caching variable.
2687 (cfengine3-fallback-syntax): Fallback syntax for cases where
2688 cf-promises doesn't run.
2689 (cfengine3--current-word): Reimplement using
2690 `cfengine-mode-syntax-functions-regex'.
2691 (cfengine3-completion-function, cfengine3--current-function):
2692 Use `cfengine3-make-syntax-cache' directly.
2693 (cfengine3-clear-syntax-cache): New function.
2694 (cfengine3-make-syntax-cache): Simplify and create
2695 `cfengine-mode-syntax-functions-regex' on demand.
2696 (cfengine3-format-function-docstring): Don't call
2697 `cfengine3-make-syntax-cache' explicitly.
2698
2699 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2700
2701 Fix windmove-find-other-window broken after pixelwise resizing
2702 (Bug#16017).
2703 * windmove.el (windmove-other-window-loc): Revert change from
2704 2013-12-04.
2705 (windmove-find-other-window): Call window-in-direction.
2706 * window.el (window-in-direction): New arguments SIGN, WRAP and
2707 MINI to emulate original windmove-find-other-window behavior.
2708
2709 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2710
2711 * simple.el (blink-matching--overlay): New variable.
2712 (blink-matching-open): Instead of moving point, highlight the
2713 matching paren with an overlay
2714 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2715
2716 * faces.el (paren-showing-faces, show-paren-match)
2717 (show-paren-mismatch): Move from paren.el.
2718
2719 2013-12-13 Leo Liu <sdl.web@gmail.com>
2720
2721 * indent.el (indent-region): Disable progress reporter in
2722 minibuffer. (Bug#16108)
2723
2724 * bindings.el (visual-order-cursor-movement): Fix version.
2725
2726 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2727
2728 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2729 Also match after beginning of line.
2730 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2731 files. Thanks to Russell Sim. (Bug#15378)
2732
2733 2013-12-13 Juri Linkov <juri@jurta.org>
2734
2735 * simple.el <Keypad support>: Remove key bindings duplicated
2736 with bindings.el. (Bug#14397)
2737
2738 2013-12-13 Juri Linkov <juri@jurta.org>
2739
2740 * comint.el (comint-mode-map): Replace `delete-char' with
2741 `delete-forward-char'. (Bug#16109)
2742
2743 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2744
2745 * progmodes/python.el (python-indent-calculate-indentation):
2746 Fix de-denters cornercase. (Bug#15731)
2747
2748 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2751 (advice--make): Pay attention to `depth'.
2752 (advice--make-1): Don't autoload commands eagerly.
2753 * emacs-lisp/elp.el (elp-instrument-function):
2754 * emacs-lisp/trace.el (trace-function-internal):
2755 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2756
2757 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2758
2759 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2760
2761 * term/w32-win.el (w32-handle-dropped-file):
2762 * startup.el (normal-top-level):
2763 * net/browse-url.el (browse-url-file-url):
2764 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2765 decode file names using 'utf-8' rather than
2766 file-name-coding-system.
2767
2768 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2769
2770 * progmodes/python.el (python-indent-context)
2771 (python-indent-calculate-indentation): Fix auto-identation
2772 behavior for comment blocks. (Bug#15916)
2773
2774 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2775
2776 * progmodes/python.el (python-indent-calculate-indentation):
2777 When determining indentation, don't treat "return", "pass", etc., as
2778 operators when they are just string constituents. (Bug#15812)
2779
2780 2013-12-12 Juri Linkov <juri@jurta.org>
2781
2782 * uniquify.el (uniquify-buffer-name-style): Change default to
2783 `post-forward-angle-brackets'.
2784
2785 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2786 `uniquify'. Change default to `post-forward-angle-brackets'.
2787
2788 2013-12-11 Glenn Morris <rgm@gnu.org>
2789
2790 * emacs-lisp/package.el (finder-list-matches):
2791 Autoload rather than falsely declaring.
2792
2793 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2794
2795 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2796 (eww-mode-map): Use them.
2797
2798 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2799
2800 * window.el (display-buffer-in-side-window): Fix doc-string
2801 (Bug#16115).
2802
2803 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * vc/vc-git.el: Silence byte-compiler warnings.
2806 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2807 (log-edit-set-header): Declare.
2808
2809 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2810
2811 * Makefile.in (custom-deps, finder-data): Run output file names
2812 through unmsys--file-name. (Bug#16099)
2813
2814 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2817 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2818
2819 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2820 instead of deleting the selection "by hand" (bug#16098).
2821 Rely on insert-for-yank to yank rectangles.
2822 (cua-highlight-region-shift-only): Mark obsolete.
2823 (cua-mode): Don't enable/disable transient-mark-mode,
2824 shift-select-mode (cua-mode works both with and without them), and
2825 pc-selection-mode (obsolete).
2826 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2827 (cua--deactivate-rectangle): Deactivate it.
2828
2829 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2830 (delete-selection-helper): Make sure yank starts at the top of the
2831 deleted region.
2832 (minibuffer-keyboard-quit): Use region-active-p.
2833
2834 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2835
2836 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2837 to `delete' (bug#16109).
2838
2839 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2840
2841 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2842 info manual and show keybindings and set `:group' keyword.
2843
2844 2013-12-11 Juri Linkov <juri@jurta.org>
2845
2846 * delsel.el (delete-active-region): Let-bind `this-command'
2847 to prevent `kill-region' from changing its original value.
2848 (delete-selection-helper): Handle `overwrite-mode' for the type
2849 `kill' exactly the same way as for the type `t'.
2850 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2851 Support more commands. (Bug#13312)
2852
2853 2013-12-11 Juri Linkov <juri@jurta.org>
2854
2855 * bindings.el: Map kp keys to non-kp keys systematically
2856 with basic modifiers control, meta and shift. (Bug#14397)
2857
2858 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2859
2860 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2861 "Close browser" menu items. Fix wrong function of "List
2862 bookmarks".
2863
2864 2013-12-11 Juri Linkov <juri@jurta.org>
2865
2866 * misearch.el (multi-isearch-buffers): Set the value of
2867 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2868 arg of isearch-forward to t.
2869 (multi-isearch-buffers-regexp): Set the value of
2870 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2871 arg of isearch-forward-regexp to t.
2872 (multi-isearch-files): Set the value of
2873 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2874 arg of isearch-forward to t.
2875 (multi-isearch-files-regexp): Set the value of
2876 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2877 arg of isearch-forward-regexp to t. (Bug#16035)
2878
2879 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2880 arg of isearch-forward to t.
2881 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2882 arg of isearch-forward-regexp to t.
2883 (dired-isearch-filter-filenames): Remove unnecessary check for
2884 `dired-isearch-filenames'.
2885
2886 * comint.el (comint-history-isearch-backward):
2887 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2888 (comint-history-isearch-backward-regexp):
2889 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2890
2891 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2892
2893 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2894 unmsys--file-name. (Bug#16099)
2895
2896 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2897
2898 * emacs-lisp/package.el (package-keyword-button-action):
2899 Remove finder.el require dependency.
2900
2901 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2902
2903 * emacs-lisp/package.el: Require finder.el.
2904 (describe-package-1): Add keyword buttons.
2905 (package-make-button): New convenience function.
2906 (package-keyword-button-action): Keyword button action using
2907 `finder-list-matches'.
2908
2909 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2910
2911 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2912 last commit.
2913
2914 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2917 symlinked files.
2918
2919 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2920
2921 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2922 after the end of a percent literal.
2923
2924 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2925
2926 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2927 Handle caret-delimited strings (Bug#16079).
2928
2929 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2930
2931 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2932 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2933 `ruby-parse-partial' (Bug#16078).
2934
2935 2013-12-09 Leo Liu <sdl.web@gmail.com>
2936
2937 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2938
2939 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2940
2941 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2942 (js-switch-indent-offset): New option.
2943 (js--proper-indentation): Use it. And handle the case when
2944 "default" is actually a key in an object literal.
2945 (js--same-line): New function.
2946 (js--multi-line-declaration-indentation): Use it.
2947 (js--indent-in-array-comp, js--array-comp-indentation):
2948 New functions.
2949 (js--proper-indentation): Use them, to handle array comprehension
2950 continuations.
2951
2952 2013-12-08 Leo Liu <sdl.web@gmail.com>
2953
2954 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2955 (flymake-make-overlay): Remove arg MOUSE-FACE.
2956 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2957
2958 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2961 New function.
2962 (redisplay-highlight-region-function): Use it.
2963
2964 * emulation/cua-base.el (cua--explicit-region-start)
2965 (cua--last-region-shifted): Remove.
2966 (cua--deactivate): Use deactivate-mark.
2967 (cua--pre-command-handler-1): Don't handle shift-selection.
2968 (cua--post-command-handler-1): Don't change transient-mark-mode.
2969 (cua--select-keymaps): Use region-active-p rather than
2970 cua--explicit-region-start or cua--last-region-shifted.
2971 (cua-mode): Enable shift-select-mode.
2972
2973 2013-12-08 Leo Liu <sdl.web@gmail.com>
2974
2975 * progmodes/flymake.el (flymake-popup-current-error-menu):
2976 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2977 (flymake-posn-at-point-as-event, flymake-popup-menu)
2978 (flymake-make-emacs-menu): Remove. (Bug#16077)
2979
2980 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * rect.el (rectangle-mark-mode): Activate mark even if
2983 transient-mark-mode is off (bug#16066).
2984 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2985 is > mark and at bolp.
2986
2987 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2988 (region-extract-function): Use it.
2989 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2990 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2991 Delete functions.
2992 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2993 kill-ring-save, kill-region, delete-char, delete-forward-char.
2994 Ignore self-insert-iso.
2995
2996 * emulation/cua-gmrk.el (cua--init-global-mark):
2997 Ignore `self-insert-iso'.
2998
2999 * emulation/cua-base.el (cua--prefix-copy-handler)
3000 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3001 checking cua--rectangle.
3002 (cua-delete-region): Use region-extract-function.
3003 (cua-replace-region): Delete function.
3004 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3005 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3006 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3007 (cua--init-keymaps): Don't remap delete-selection commands.
3008 (cua-mode): Use delete-selection-mode instead of rolling our own
3009 (bug#16085).
3010
3011 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3012 Obey region-extract-function.
3013
3014 Make registers and delete-selection-mode work on rectangles.
3015 * register.el (describe-register-1): Don't modify the register's value.
3016 (copy-to-register): Obey region-extract-function.
3017 * delsel.el (delete-active-region): Obey region-extract-function.
3018
3019 2013-12-08 Leo Liu <sdl.web@gmail.com>
3020
3021 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3022 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3023 (flymake-compilation-prevents-syntax-check)
3024 (flymake-start-syntax-check-on-newline)
3025 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3026 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3027 (flymake-xml-program, flymake-master-file-dirs)
3028 (flymake-master-file-count-limit)
3029 (flymake-allowed-file-name-masks): Relocate.
3030 (flymake-makehash, flymake-float-time)
3031 (flymake-replace-regexp-in-string, flymake-split-string)
3032 (flymake-get-temp-dir): Remove.
3033 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3034 (flymake-current-row, flymake-selected-frame)
3035 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3036 related functions. (Bug#16077)
3037
3038 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3039
3040 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3041
3042 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3043
3044 * help-fns.el (describe-function-1): Use new advice-* functions
3045 rather than old ad-* functions. Fix function type description and
3046 source links for advised functions and subrs.
3047
3048 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3049
3050 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3051
3052 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3053
3054 * progmodes/compile.el (compilation-start):
3055 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3056
3057 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3058 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3059
3060 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3061
3062 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3063 Touch up the last change.
3064
3065 2013-12-06 Leo Liu <sdl.web@gmail.com>
3066
3067 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3068 (inferior-octave-startup): Always use "octave> " for prompt.
3069 (octave-goto-function-definition)
3070 (octave-sync-function-file-names)
3071 (octave-find-definition-default-filename): Remove redundant backquotes.
3072
3073 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3074
3075 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3076 syntax for `?'.
3077 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3078 where appropriate already.
3079 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3080 end of method names (Bug#15874).
3081
3082 2013-12-06 Juri Linkov <juri@jurta.org>
3083
3084 * isearch.el (isearch--saved-overriding-local-map):
3085 New internal variable.
3086 (isearch-mode): Set it to the initial value of
3087 `overriding-terminal-local-map'.
3088 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3089 with `isearch--saved-overriding-local-map'. (Bug#16035)
3090
3091 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3092
3093 * progmodes/octave.el (inferior-octave-completion-table):
3094 Turn back into function, use `completion-table-with-cache'
3095 (Bug#11906). Update all references.
3096
3097 * minibuffer.el (completion-table-with-cache): New function.
3098
3099 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3100
3101 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3102
3103 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3104
3105 * net/eww.el (eww-current-source): New variable to store page
3106 source.
3107 (eww-display-html, eww-mode, eww-save-history)
3108 (eww-restore-history): Use it.
3109 (eww-view-source): New command to view page source.
3110 Opportunistically uses `html-mode' to highlight the buffer.
3111 (eww-mode-map): Install it.
3112
3113 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/dbus.el (dbus-unregister-service)
3116 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3117 Fix docstring.
3118 (dbus-unregister-service): Skip :serial entries in
3119 `dbus-registered-objects-table'.
3120 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3121
3122 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3123
3124 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3125 around keywords with extra `split-string' argument.
3126
3127 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3128
3129 * windmove.el (windmove-other-window-loc): Handle navigation
3130 between windows (excluding the minibuffer window - Bug#16017).
3131
3132 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3133
3134 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3135 in D-Bus type syntax.
3136 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3137 preserve unibyte strings. (Bug#16048)
3138
3139 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3142 Call force-mode-line-update is the proper buffer (bug#16042).
3143
3144 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3145
3146 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3147 `log-edit-remember-comment', make argument optional. Adjust all
3148 callers.
3149 (log-edit-mode): Add `log-edit-remember-comment' to
3150 `kill-buffer-hook' locally.
3151 (log-edit-kill-buffer): Don't remember comment explicitly since
3152 the buffer is killed anyway.
3153
3154 2013-12-04 Juri Linkov <juri@jurta.org>
3155
3156 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3157 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3158
3159 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3160
3161 * notifications.el (notifications-close-notification): Call the
3162 D-Bus method with ID being a `:uint32'. (Bug#16030)
3163
3164 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3165
3166 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3167
3168 2013-12-03 Juri Linkov <juri@jurta.org>
3169
3170 * progmodes/compile.el (compilation-start): Rename window alist
3171 entry `no-display-ok' to `allow-no-window'.
3172
3173 * simple.el (shell-command): Add window alist entry
3174 `allow-no-window' to `display-buffer'.
3175 (async-shell-command): Doc fix.
3176
3177 * window.el (display-buffer-no-window): New action function.
3178 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3179
3180 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3181
3182 * vc/log-edit.el (log-edit-set-header): Extract from
3183 `log-edit-toggle-header'.
3184 (log-edit-extract-headers): Separate the summary, when extracted
3185 from header, from the rest of the message with an empty line.
3186
3187 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3188 line, if present, to the Summary header.
3189
3190 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3193 in current-buffer (bug#16029).
3194
3195 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3196
3197 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3198 (debugger-mode-map): Bind it.
3199 (debugger--backtrace-base): New function.
3200 (debugger-eval-expression): Use it.
3201 (debugger-frame-number): Skip local vars when present.
3202 (debugger--locals-visible-p, debugger--insert-locals)
3203 (debugger--show-locals, debugger--hide-locals): New functions.
3204
3205 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3206
3207 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3208 "LC_ALL".
3209 (tramp-get-remote-locale): New defun.
3210 (tramp-open-connection-setup-interactive-shell): Use it.
3211
3212 2013-12-02 Leo Liu <sdl.web@gmail.com>
3213
3214 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3215
3216 * progmodes/sh-script.el (sh-shell-process):
3217 * progmodes/octave.el (inferior-octave-process-live-p):
3218 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3219 (gdb-inferior-io-sentinel):
3220 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3221
3222 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3223
3224 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3225 `save-selected-window' to `log-edit-hide-buf'. This makes
3226 `log-edit-show-files' idempotent.
3227 (log-edit-show-files): Mark the new window as dedicated.
3228
3229 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3230
3231 * vc/log-edit.el (log-edit-mode-map): Add binding for
3232 `log-edit-kill-biffer'.
3233 (log-edit-hide-buf): Add a FIXME comment.
3234 (log-edit-add-new-comment): New function, extracted from
3235 `log-edit-done'.
3236 (log-edit-done, log-edit-add-to-changelog): Use it.
3237 (log-edit-kill-buffer): New command.
3238
3239 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3240
3241 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3242 instead of killing the buffer.
3243
3244 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3247
3248 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3249
3250 * net/eww.el (eww-form-checkbox-selected-symbol)
3251 (eww-form-checkbox-symbol): New customizable variable.
3252 (eww-form-checkbox, eww-toggle-checkbox):
3253 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3254
3255 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3256 (shr--get-media-pref, shr--extract-best-source): New function.
3257 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3258 no :src tag was specified.
3259
3260 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3261 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3262 Use \\` to match beginning of string instead of ^.
3263 (eww-browse-with-external-browser): Provide optional URL parameter.
3264 (eww-render): Set `eww-current-title' back to "".
3265
3266 * net/shr.el (shr-tag-video): Display content for video if no
3267 poster is available.
3268 (shr-tag-audio): Add support for <audio> tag.
3269
3270 * net/eww.el (eww-text-input-types): New const.
3271 (eww-process-text-input): Treat input types in
3272 `eww-text-input-types' as text.
3273
3274 * net/shr.el (shr-tag-table): Fix comment typo.
3275
3276 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3277
3278 * net/eww.el (eww-follow-link): New command to avoid reloading
3279 pages when we follow #target links (bug#15243).
3280 (eww-quit): Special mode buffers shouldn't query before exiting.
3281
3282 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3283
3284 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3285 forms.
3286
3287 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3288
3289 * net/eww.el (eww-restore-history): Update the window title after
3290 moving in the history.
3291 (eww-current-dom): New variable used to save the current DOM.
3292
3293 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3294
3295 * vc/log-edit.el (log-edit-mode-map): Add binding for
3296 `log-edit-beginning-of-line'.
3297 (log-edit-setup-add-author): New user option.
3298 (log-edit-beginning-of-line): New command.
3299 (log-edit): Move major mode call above the contents setup so that
3300 the local variable values are already applied.
3301 (log-edit): Only insert "Author: " when
3302 `log-edit-setup-add-author' is non-nil.
3303 (log-edit): When SETUP is non-nil, position point after ": "
3304 instead of point-min.
3305
3306 2013-12-01 Glenn Morris <rgm@gnu.org>
3307
3308 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3309
3310 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3311
3312 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3313 redisplay to make sure the initial frame gets a chance to become
3314 visible. (Bug#16014)
3315
3316 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3317
3318 Support resizing frames and windows pixelwise.
3319 * cus-start.el (frame-resize-pixelwise)
3320 (window-resize-pixelwise): New entries.
3321 * emacs-lisp/debug.el (debug): Use window-total-height instead
3322 of window-total-size.
3323 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3324 * help.el (describe-bindings-internal): Use help-buffer as
3325 argument for with-help-window.
3326 (temp-buffer-max-width): New option.
3327 (resize-temp-buffer-window, help-window-setup)
3328 (with-help-window): Rewrite.
3329 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3330 dragging dividers.
3331 * window.el (frame-char-size, window-min-pixel-height)
3332 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3333 (window-min-pixel-width, window-safe-min-pixel-size)
3334 (window-combination-p, window-safe-min-size)
3335 (window-resizable-p, window--size-to-pixel)
3336 (window--pixel-to-size, window--resize-apply-p): New functions.
3337 (window-safe-min-height): Fix doc-string.
3338 (window-size, window-min-size, window--min-size-1)
3339 (window-sizable, window-sizable-p, window--min-delta-1)
3340 (window-min-delta, window--max-delta-1, window-max-delta)
3341 (window--resizable, window--resizable-p, window-resizable)
3342 (window-full-height-p, window-full-width-p, window-at-side-p)
3343 (window--in-direction-2, window-in-direction)
3344 (window--resize-reset-1, window--resize-mini-window)
3345 (window-resize, window-resize-no-error)
3346 (window--resize-child-windows-normal)
3347 (window--resize-child-windows, window--resize-siblings)
3348 (window--resize-this-window, window--resize-root-window)
3349 (window--resize-root-window-vertically)
3350 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3351 (maximize-window, minimize-window, delete-window)
3352 (quit-restore-window, window-split-min-size, split-window)
3353 (balance-windows-2, balance-windows)
3354 (balance-windows-area-adjust, balance-windows-area)
3355 (window--state-get-1, window-state-get, window--state-put-1)
3356 (window--state-put-2, window-state-put)
3357 (display-buffer-record-window, window--display-buffer):
3358 Make functions handle pixelwise sizing of windows.
3359 (display-buffer--action-function-custom-type)
3360 (display-buffer-fallback-action):
3361 Add display-buffer-in-previous-window.
3362 (display-buffer-use-some-window): Resize window to height it had
3363 before.
3364 (fit-window-to-buffer-horizontally): New option.
3365 (fit-frame-to-buffer): Describe new values.
3366 (fit-frame-to-buffer-bottom-margin): Replace with
3367 fit-frame-to-buffer-margins.
3368 (window--sanitize-margin): New function.
3369 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3370 using window-text-pixel-size.
3371
3372 2013-11-30 Glenn Morris <rgm@gnu.org>
3373
3374 * emacs-lisp/bytecomp.el (byte-compile-form):
3375 Make the `interactive-only' warning like the `obsolete' one.
3376 * comint.el (comint-run):
3377 * files.el (insert-file-literally, insert-file):
3378 * replace.el (replace-string, replace-regexp):
3379 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3380 (goto-line, insert-buffer, next-line, previous-line):
3381 Tweak `interactive-only' spec.
3382
3383 Stop keeping (most) generated cedet grammar files in the repository.
3384 * Makefile.in (semantic): New.
3385 (compile-main): Depend on semantic.
3386
3387 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3390 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3391
3392 * uniquify.el (uniquify-buffer-name-style): Change default.
3393
3394 * loadup.el: Preload "uniquify".
3395
3396 * time.el (display-time-update): Update all mode lines (bug#15999).
3397
3398 * electric.el (electric-indent-mode): Enable by default.
3399 * loadup.el: Preload "electric".
3400
3401 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3402
3403 * emacs-lisp/helpers.el (string-empty-p): New function.
3404 (string-blank-p): New function.
3405
3406 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3407
3408 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3409 (Bug#14029).
3410
3411 2013-11-29 Andreas Politz <politza@fh-trier.de>
3412 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3413 allow non-lambda lists as functions.
3414 (imenu--in-alist): Don't recurse into non-subalists.
3415 (imenu): Don't pass function itself as an argument (Bug#14029).
3416
3417 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * progmodes/python.el (python-mode-map): Remove binding for ":".
3420 (python-indent-electric-colon): Remove command.
3421 (python-indent-post-self-insert-function): Integrate the previous code
3422 of python-indent-electric-colon. Make it conditional on
3423 electric-indent-mode.
3424 (python-mode): Add ?: to electric-indent-chars.
3425 Move python-indent-post-self-insert-function to the end of
3426 post-self-insert-hook.
3427
3428 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * doc-view.el (doc-view-goto-page): Update mode-line.
3431
3432 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3433
3434 2013-11-27 Glenn Morris <rgm@gnu.org>
3435
3436 * international/charprop.el, international/uni-bidi.el:
3437 * international/uni-category.el, international/uni-combining.el:
3438 * international/uni-comment.el, international/uni-decimal.el:
3439 * international/uni-decomposition.el, international/uni-digit.el:
3440 * international/uni-lowercase.el, international/uni-mirrored.el:
3441 * international/uni-name.el, international/uni-numeric.el:
3442 * international/uni-old-name.el, international/uni-titlecase.el:
3443 * international/uni-uppercase.el:
3444 Remove generated files from VCS repository.
3445
3446 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3447
3448 * filenotify.el (file-notify-add-watch): Don't special-case
3449 w32notify when computing the directory to watch.
3450
3451 2013-11-27 Glenn Morris <rgm@gnu.org>
3452
3453 Make bootstrap without generated uni-*.el files possible again.
3454 * loadup.el: Update command-line-args checking for unidata-gen.
3455 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3456 * composite.el, international/characters.el:
3457 Handle unicode tables being undefined.
3458
3459 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3460 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3461 (compile-main): Depend on leim rule.
3462 (leim): New rule.
3463 * loadup.el: Move leim-list.el to leim/ subdirectory.
3464 * startup.el (normal-top-level): No more leim directory.
3465 * international/ja-dic-cnv.el (skkdic-convert):
3466 Disable version-control and autoloads in output files.
3467 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3468 Disable version-control and autoloads in output files.
3469 * leim/quail: Move here from ../leim.
3470 * leim/quail/hangul.el (hangul-input-method-activate):
3471 Add autoload cookie.
3472 (generated-autoload-load-name): Set file-local value.
3473 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3474 (generated-autoload-load-name): Set file-local value.
3475
3476 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3477
3478 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3479 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3480 (eww-quit): Ask confirmation before quitting eww.
3481
3482 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3483
3484 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3485 reading output from Diff on MS-Windows and MS-DOS.
3486
3487 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3488
3489 * emacs-lisp/helpers.el (string-reverse): New function.
3490
3491 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3492
3493 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3494 names on MS Windows, like "/[::1]:".
3495
3496 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3497 SWITCHES.
3498
3499 2013-11-26 Glenn Morris <rgm@gnu.org>
3500
3501 * progmodes/python.el (python-indent-guess-indent-offset):
3502 Avoid corner-case error. (Bug#15975)
3503
3504 Preload leim-list.el. (Bug#4789)
3505 * loadup.el: Load leim-list.el when found.
3506 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3507
3508 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3509
3510 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3511
3512 * emacs-lisp/helpers.el (string-join): New function.
3513
3514 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3515
3516 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3517 Mark as obsolete and replace it with a symbol property.
3518 (byte-compile-form): Use new 'interactive-only property.
3519 * comint.el, files.el, replace.el, simple.el:
3520 Apply new 'interactive-only properly.
3521
3522 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3523
3524 * window.el (display-buffer-at-bottom): Make sure that
3525 split-window-sensibly creates the new window on bottom
3526 (Bug#15961).
3527
3528 2013-11-23 David Kastrup <dak@gnu.org>
3529
3530 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3531 on the conflict markers when available.
3532 (smerge--get-marker): New function.
3533 (smerge-end-re, smerge-base-re): Add subgroup.
3534
3535 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * frame.el (handle-focus-in, handle-focus-out): Add missing
3538 interactive spec.
3539
3540 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3541
3542 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3543 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3544
3545 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3546
3547 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3548 (gomoku--last-pos): New var.
3549 (gomoku--intangible-chars): New const.
3550 (gomoku--intangible): New function.
3551 (gomoku-mode): Use it. Derive from special-mode.
3552 (gomoku-move-up): Adjust line count.
3553 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3554 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3555 Simplify accordingly.
3556
3557 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3558 Remove blink-cursor code.
3559 (blink-cursor-timer-function, blink-cursor-suspend):
3560 Don't special-case GUIs.
3561 (blink-cursor-mode): Use focus-in/out-hook.
3562
3563 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3564
3565 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3566 work when annotation is invisible (Bug#13886).
3567
3568 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3569
3570 * json.el (json-alist-p): Only return non-nil if the alist has
3571 simple keys (Bug#13518).
3572
3573 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3574
3575 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3576 when control-statement is the first statement in a buffer (Bug#15956).
3577
3578 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 * imenu.el (imenu-generic-skip-comments-and-strings):
3581 New option (Bug#15560).
3582 (imenu--generic-function): Use it.
3583
3584 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3585
3586 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3587 (Bug#13898)
3588
3589 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3590
3591 * emacs-lisp/helpers.el: Add some string helpers.
3592 (string-trim-left): Removes leading whitespace.
3593 (string-trim-right): Removes trailing whitespace.
3594 (string-trim): Removes leading and trailing whitespace.
3595
3596 * subr.el (string-suffix-p): New function.
3597
3598 2013-11-23 Glenn Morris <rgm@gnu.org>
3599
3600 * progmodes/python.el (python-shell-send-file):
3601 Add option to delete file when done. (Bug#15647)
3602 (python-shell-send-string, python-shell-send-region): Use it.
3603
3604 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3605
3606 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3607 to set buffer-read-only to t, never to nil. (Bug#15938)
3608
3609 * textmodes/tex-mode.el (latex-noindent-environments):
3610 Add safe-local-variable property. (Bug#15936)
3611
3612 2013-11-23 Glenn Morris <rgm@gnu.org>
3613
3614 * textmodes/enriched.el (enriched-mode): Doc fix.
3615 * emacs-lisp/authors.el (authors-renamed-files-alist):
3616 Add enriched.doc -> enriched.txt.
3617
3618 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3619
3620 2013-11-22 Leo Liu <sdl.web@gmail.com>
3621
3622 * progmodes/octave.el (inferior-octave-startup): Spit out error
3623 message.
3624
3625 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3626
3627 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3628 Improve docstring.
3629 Add :version.
3630 (ruby-encoding-magic-comment-style): Add :version.
3631
3632 2013-11-22 Leo Liu <sdl.web@gmail.com>
3633
3634 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3635 (Bug#15076)
3636 (octave-help-mode): Adapt to change to help-mode-finish to use
3637 derived-mode-p on 2013-09-17.
3638 (inferior-octave-prompt): Also match octave-gui.
3639 (octave-kill-process): Don't ask twice. (Bug#10564)
3640
3641 2013-11-22 Leo Liu <sdl.web@gmail.com>
3642
3643 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3644 (inferior-octave-startup, inferior-octave-check-process)
3645 (inferior-octave-track-window-width-change)
3646 (octave-completion-at-point, octave-eldoc-function): Use it.
3647 (octave-kill-process): Provide confirmation. (Bug#10564)
3648
3649 2013-11-21 Leo Liu <sdl.web@gmail.com>
3650
3651 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3652 Fix obsolete variable comment-use-global-state.
3653
3654 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3655
3656 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3657 Add `octave-source-file'.
3658 (octave-source-file): New function. (Bug#15935)
3659
3660 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3661
3662 * net/eww.el (eww-local-regex): New variable.
3663 (eww): Use it to detect localhost and similar.
3664
3665 2013-11-21 Leo Liu <sdl.web@gmail.com>
3666
3667 Add completion for command `ag'.
3668 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3669 (pcomplete/ag): New function.
3670 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3671
3672 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3675 (bug#14646).
3676 (make-obsolete): Remove interactive spec.
3677
3678 2013-11-21 Glenn Morris <rgm@gnu.org>
3679
3680 * startup.el (command-line-1): Use path-separator with -L.
3681
3682 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3683
3684 * emacs-lisp/package.el (describe-package-1): Add package archive
3685 to shown fields.
3686
3687 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3688
3689 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3690 Change default to "# encoding: %s" to differentiate it from the
3691 default Ruby encoding comment template.
3692
3693 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3694
3695 * ses.el (ses-mode): Doc fix. (Bug#14748)
3696
3697 2013-11-20 Leo Liu <sdl.web@gmail.com>
3698
3699 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3700
3701 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3702
3703 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3704 when rebase or bisect are in progress.
3705
3706 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3707
3708 * filenotify.el (file-notify-add-watch): Doc fix.
3709
3710 2013-11-19 Leo Liu <sdl.web@gmail.com>
3711
3712 * obsolete/rcompile.el: Mark obsolete.
3713
3714 * progmodes/compile.el (compilation-start)
3715 (compilation-goto-locus, compilation-find-file):
3716 Pass no-display-ok and handle nil value from display-buffer.
3717 (Bug#13594)
3718
3719 * window.el (display-buffer-alist, display-buffer): Document the
3720 new parameter no-display-ok. Return either a window or nil
3721 but never a non-window value.
3722
3723 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * electric.el (electric-indent-mode-map): Remove.
3726 (electric-indent-mode): Change the global-map instead (bug#15915).
3727
3728 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3729 Use add-function.
3730
3731 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * emacs-lisp/nadvice.el (remove-function): Align with
3734 add-function's behavior.
3735
3736 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3737 (gdb--string-regexp): New constant.
3738 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3739 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3740 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3741 submatch 1.
3742 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3743 Adjust use accordingly.
3744 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3745
3746 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3747
3748 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3749 interpolation curlies (Bug#15914).
3750
3751 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3752
3753 * calc/calc.el (calc-context-sensitive-enter): New variable.
3754 (calc-enter): Use `calc-context-sensitive-enter'.
3755
3756 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3757
3758 * progmodes/cfengine.el: Version bump.
3759 (cfengine-cf-promises): New defcustom to locate cf-promises.
3760 (cfengine3-vartypes): Add new "data" type.
3761 (cfengine3--current-word): New function to get current name-like
3762 word or its bounds.
3763 (cfengine3--current-function): New function to look up a CFEngine
3764 function's definition.
3765 (cfengine3-format-function-docstring): New function.
3766 (cfengine3-make-syntax-cache): New function.
3767 (cfengine3-documentation-function): New function: ElDoc glue.
3768 (cfengine3-completion-function): New function: completion glue.
3769 (cfengine3-mode): Set `compile-command',
3770 `eldoc-documentation-function', and add to
3771 `completion-at-point-functions'.
3772
3773 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3774
3775 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3776 `tramp-current-connection'.
3777
3778 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3781 nil/self/true/false with "end of symbol".
3782
3783 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3784
3785 * subr.el (version-regexp-alist): Fix a typo.
3786
3787 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3788
3789 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3790 "en_US.utf8" and "LC_CTYPE" to "".
3791 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3792 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3793
3794 2013-11-15 Leo Liu <sdl.web@gmail.com>
3795
3796 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3797
3798 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3799
3800 * progmodes/gud.el (ctl-x-map):
3801 Remove C-x SPC binding. (Bug#12342)
3802 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3803
3804 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3805
3806 * subr.el (version-regexp-alist):
3807 Recognize hg, svn and darcs versions as snapshot versions.
3808
3809 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3810 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3811 (ruby--encoding-comment-required-p): Extract from
3812 `ruby-mode-set-encoding'.
3813 (ruby-mode-set-encoding): Add the ability to always insert an
3814 utf-8 encoding comment. Fix and simplify coding comment update
3815 logic.
3816
3817 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3818
3819 * net/tramp-gvfs.el (top): Run init code only when
3820 `tramp-gvfs-enabled' is not nil.
3821 (tramp-gvfs-enabled): Check also :system bus.
3822
3823 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3824
3825 Sync with upstream verilog-mode revision 78e66ba.
3826 * progmodes/verilog-mode.el (verilog-end-of-defun)
3827 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3828 (verilog-get-end-of-defun): Remove unused argument.
3829 (verilog-comment-depth): Remove unused local `e'.
3830 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3831 Don't pass arg to verilog-get-end-of-defun.
3832
3833 2013-11-14 Glenn Morris <rgm@gnu.org>
3834
3835 * obsolete/assoc.el (aget): Prefix dynamic variable.
3836
3837 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3838
3839 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3840
3841 * widget.el, hfy-cmap.el: Remove bogus package version number.
3842
3843 2013-11-13 Glenn Morris <rgm@gnu.org>
3844
3845 * replace.el (replace-eval-replacement):
3846 Try to give more helpful error message. (Bug#15836)
3847
3848 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3849 (archive-7z-update): Avoid custom type mismatches.
3850
3851 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3852
3853 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3856 address can be empty.
3857
3858 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3859 Accept nil SWITCHES.
3860 (tramp-gvfs-handle-write-region): Implement APPEND.
3861
3862 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3863
3864 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3865 binary "|" operator and closing block args delimiter.
3866 Remove FIXME comment referring to Ruby 1.8-only syntax.
3867 (ruby-smie--implicit-semi-p): Not after "|" operator.
3868 (ruby-smie--closing-pipe-p): New function.
3869 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3870 (ruby-smie-rules): Indent after "|".
3871
3872 2013-11-12 Glenn Morris <rgm@gnu.org>
3873
3874 * ps-print.el (ps-face-attribute-list):
3875 Handle anonymous faces. (Bug#15827)
3876
3877 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3878
3879 * window.el (display-buffer-other-frame): Fix doc-string.
3880 (Bug#15868)
3881
3882 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3885
3886 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3887
3888 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3889 (tramp-sh-handle-file-local-copy): Don't write a message when
3890 saving temporary files.
3891
3892 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3893 both directories are remote.
3894 (tramp-smb-handle-directory-files): Do not return double entries.
3895 Do not expand full file names.
3896 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3897 (tramp-smb-handle-write-region): Implement APPEND.
3898 (tramp-smb-get-stat-capability): Fix a stupid bug.
3899
3900 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3903
3904 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3905
3906 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3907 throwing error over malformed let/let* (bug#15814).
3908
3909 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * iswitchb.el (iswitchb-mode): Mark obsolete.
3912
3913 2013-11-11 Glenn Morris <rgm@gnu.org>
3914
3915 * international/uni-bidi.el, international/uni-category.el:
3916 * international/uni-name.el, international/uni-numeric.el:
3917 Regenerate for Unicode 6.3.0.
3918
3919 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3920
3921 * net/tramp.el (tramp-methods):
3922 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3923 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3924
3925 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3926
3927 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3928 Force highlighting text after Summary keyword in doc face for rpm.
3929
3930 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3933 available and the word has no wildcards, append one to the grep pattern.
3934 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3935 (ispell-complete-word): Call `ispell-lookup-words' with the value
3936 independent of `ispell-look-p'.
3937
3938 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3939
3940 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3941 Not after "||".
3942 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3943 their parent.
3944
3945 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3948 (ruby-font-lock-keywords): Use backquote.
3949
3950 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3951
3952 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3953 (ruby-smie--backward-token): Only consider full-string matches.
3954
3955 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3956
3957 * faces.el (describe-face): Add distant-foreground.
3958
3959 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3960
3961 * progmodes/ruby-mode.el: Improve encoding comment handling.
3962 (ruby-encoding-magic-comment-style): New option.
3963 (ruby-custom-encoding-magic-comment-template): New option.
3964 (ruby--insert-coding-comment, ruby--detect-encoding):
3965 New functions extracted from `ruby-mode-set-encoding'.
3966 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3967 to control the style of the auto-inserted encoding comment.
3968
3969 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3970
3971 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3972 Use `smie-backward-sexp' with token argument.
3973
3974 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3977 Remove instrumentation code.
3978
3979 2013-11-08 Glenn Morris <rgm@gnu.org>
3980
3981 * progmodes/autoconf.el (autoconf-mode):
3982 Tweak comment-start-skip. (Bug#15822)
3983
3984 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3987 at bobp (bug#15826).
3988 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3989
3990 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3991
3992 * man.el (Man-start-calling): New macro, extracted from
3993 Man-getpage-in-background.
3994 (Man-getpage-in-background): Use it.
3995 (Man-update-manpage): New command.
3996 (Man-mode-map): Bind it.
3997
3998 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3999
4000 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4001 of "and", "or", "&&" and "||".
4002 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4003 argument. Prohibit opening curly brace because it could only be a
4004 block opener in that position.
4005 (ruby-smie--forward-token, ruby-smie--backward-token):
4006 Separate "|" from "&" or "*" going after it. That can happen in block
4007 arguments.
4008 (ruby-smie--indent-to-stmt): New function, seeks the end of
4009 previous statement or beginning of buffer.
4010 (ruby-smie-rules): Use it.
4011 (ruby-smie-rules): Check if there's a ":" before a curly block
4012 opener candidate; if there is, it's a hash.
4013
4014 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4017 (cl--block-wrapper): Fix last accidental change.
4018
4019 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4020
4021 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4022 Instrument, in order to hunt failure on hydra.
4023
4024 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4025
4026 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4027 malformed bindings form (bug#15814).
4028
4029 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4030
4031 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4032 "." compared to " @ ". This incidentally fixes some indentation
4033 examples with "do".
4034 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4035 (ruby-smie-grammar): New tokens: "and" and "or".
4036 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4037 Exclude "and" and "or". Remove "do" in order to work around token
4038 priorities.
4039 (ruby-smie-rules): Add all infix tokens. Handle the case of
4040 beginning-of-buffer.
4041
4042 2013-11-06 Glenn Morris <rgm@gnu.org>
4043
4044 * Makefile.in (setwins_almost, setwins_for_subdirs):
4045 Avoid accidental matches.
4046
4047 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * menu-bar.el (popup-menu): Use key-binding.
4050
4051 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4052
4053 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4054 menus, support also the menus produced by minor modes.
4055 (Bug#15817)
4056
4057 2013-11-06 Leo Liu <sdl.web@gmail.com>
4058
4059 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4060 DISTANCE to bound the search. All uses changed. (Bug#15808)
4061
4062 2013-11-06 Glenn Morris <rgm@gnu.org>
4063
4064 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4065 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4066 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4067
4068 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * electric.el (electric-indent-just-newline): New command.
4071 (electric-indent-mode-map): New keymap.
4072 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4073 Re-add :group which weren't redundant.
4074
4075 * electric.el (electric-indent-local-mode): New minor mode.
4076 (electric-indent-functions-without-reindent): New var.
4077 (electric-indent-post-self-insert-function): Use it.
4078 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4079
4080 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4081
4082 * international/quail.el (quail-help): Be more explicit about the
4083 meaning of the labels shown on the keys. (Bug#15800)
4084
4085 * startup.el (normal-top-level): Load the subdirs.el files before
4086 setting the locale environment. (Bug#15805)
4087
4088 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4091 via arguments so as to get the right ones (bug#15418).
4092
4093 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4094
4095 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4096
4097 Fix problems found while writing a test suite.
4098
4099 * net/tramp-compat.el (tramp-compat-load): New defun.
4100 * net/tramp.el (tramp-handle-load): Use it.
4101
4102 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4103 "(numberp ok-if-already-exists)" correctly.
4104
4105 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4106
4107 * international/characters.el (glyphless-char-display-control):
4108 Add usage note.
4109
4110 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4111
4112 * progmodes/python.el (python-mode):
4113 * progmodes/scheme.el (scheme-mode):
4114 * progmodes/prolog.el (prolog-mode):
4115 * progmodes/ruby-mode.el (ruby-mode):
4116 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4117 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4118
4119 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * rect.el (rectangle--highlight-for-redisplay):
4122 * emacs-lisp/smie.el (smie--next-indent-change):
4123 Use buffer-chars-modified-tick.
4124
4125 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4126
4127 * electric.el (electric-indent-post-self-insert-function):
4128 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4129
4130 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4131
4132 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4133
4134 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4135
4136 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4137 (bug#15786).
4138
4139 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4140
4141 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4142
4143 * progmodes/python.el: Fix up last change.
4144 (python-shell--save-temp-file): New function.
4145 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4146 `string' comes from the current buffer.
4147 (python-shell-send-string-no-output): Remove `msg' arg.
4148 (python--use-fake-loc): New var.
4149 (python-shell-buffer-substring): Obey it. Try to compensate for the
4150 extra coding line added by python-shell--save-temp-file.
4151 (python-shell-send-region): Use python-shell--save-temp-file and
4152 python-shell-send-file directly. Add `nomain' argument.
4153 (python-shell-send-buffer): Use python-shell-send-region.
4154 (python-electric-pair-string-delimiter): New function.
4155 (python-mode): Use it.
4156
4157 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4158
4159 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4160 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4161 environment and decoding all of the default-directory's to here
4162 from command-line.
4163 (command-line): Decode also argv[0].
4164
4165 * loadup.el: Error out if default-directory is a multibyte string
4166 when we are dumping.
4167
4168 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4169
4170 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4171
4172 * emacs-lisp/package.el (package-menu-mode)
4173 (package-menu--print-info, package-menu--archive-predicate):
4174 Add Archive column to package list.
4175
4176 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4177
4178 Fix problems found while writing a test suite.
4179
4180 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4181 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4182 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4183 to nil when running original file name handler. Otherwise,
4184 there are problems with constructs like "$$FOO".
4185
4186 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4187 for `localname'.
4188
4189 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4190
4191 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4192
4193 * subr.el (version<, version<=, version=):
4194 Update docstrings with information for snapshot versions.
4195
4196 * helpers.el: New library for misc helper functions.
4197 (hash-table-keys): New function returning a list of hash keys.
4198 (hash-table-values): New function returning a list of hash values.
4199
4200 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4201
4202 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4203 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4204
4205 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4206
4207 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4208 checking whether point is after a 1-letter word.
4209
4210 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4211
4212 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4213 Don't infloop when expanding region over `multiline' syntax-type that
4214 begins a line (bug#15778).
4215
4216 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4219 Make it into a proper minor mode.
4220 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4221 (rectangle-mark-mode-map): New keymap.
4222 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4223
4224 2013-11-04 Glenn Morris <rgm@gnu.org>
4225
4226 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4227
4228 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4231 (ruby-smie-rules): Use smie-rule-parent instead.
4232
4233 * emacs-lisp/smie.el (smie-rule-parent): Always call
4234 smie-indent-virtual rather than only for hanging tokens.
4235 (smie--next-indent-change): New helper command.
4236
4237 2013-11-03 Glenn Morris <rgm@gnu.org>
4238
4239 * Makefile.in (abs_srcdir): Remove.
4240 (emacs): Unset EMACSLOADPATH.
4241
4242 2013-11-02 Glenn Morris <rgm@gnu.org>
4243
4244 * Makefile.in (EMACS): Use a relative filename.
4245 (abs_top_builddir): Remove.
4246 (custom-deps, finder-data, autoloads): Use --chdir.
4247
4248 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4249
4250 Use relative filenames in TAGS files.
4251 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4252 (lisptagsfiles4, TAGS): Use relative file names.
4253 (TAGS-LISP): Remove.
4254 (maintainer-clean): No more TAGS-LISP file.
4255
4256 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4257 (lisptagsfiles4): Use absolute filenames again.
4258 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4259 Remove all *loaddefs files, not just the first. Remove esh-groups.
4260 (maintainer-clean): Delete TAGS, TAGS-LISP.
4261
4262 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4263
4264 * emacs-lisp/package.el (package-version-join):
4265 Recognize snapshot versions.
4266
4267 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4268
4269 * subr.el (version-regexp-alist): Add support for snapshot versions.
4270
4271 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4272
4273 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4274 New function, replacement for `smie-rule-parent' for when we want to
4275 skip over our direct parent if it's an assignment token..
4276 (ruby-smie-rules): Use it.
4277
4278 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4279
4280 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4281 unconditionally. Remove now unnecessary forward declarations.
4282 Remove XEmacs-specific setup.
4283 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4284 (ruby-font-lock-syntactic-keywords)
4285 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4286 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4287 (ruby-here-doc-end-syntax): Remove.
4288 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4289 defined as function.
4290
4291 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4292
4293 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4294
4295 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4296
4297 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4298 table and abbrev table, `define-derived-mode' does that for us
4299 anyway.
4300
4301 2013-11-01 Glenn Morris <rgm@gnu.org>
4302
4303 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4304 files is atomic for some time, so no parallel compilation issues).
4305
4306 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4307
4308 * faces.el (face-x-resources): Add :distant-foreground.
4309 (region): Use :distant-foreground for gtk and ns.
4310
4311 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4312
4313 Allow multiple bibliographies when BibLaTeX is used rather than
4314 BibTeX.
4315 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4316 (reftex-locate-bibliography-files): Us it.
4317
4318 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4319
4320 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4321 allow comments in pbm files.
4322
4323 * term/w32-win.el (dynamic-library-alist): Support newer versions
4324 of libjpeg starting with v7: look only for the DLL from the
4325 version against which Emacs was built.
4326 Support versions of libpng beyond 1.4.x.
4327 Support libtiff v4.x.
4328
4329 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4330
4331 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4332 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4333 Add property :safe.
4334 (ruby-deep-arglist): Add property :type.
4335
4336 2013-10-31 Glenn Morris <rgm@gnu.org>
4337
4338 * Makefile.in (custom-deps, finder-data): No need to setq the target
4339 variables, we are in the right directory and the defaults work fine.
4340
4341 2013-10-30 Glenn Morris <rgm@gnu.org>
4342
4343 * Makefile.in (autoloads): Do not use abs_lisp.
4344
4345 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4346 `newline' does not respect `standard-output', so use `princ'.
4347
4348 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4349
4350 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4351 * buff-menu.el (Buffer-menu--unmark): New function.
4352 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4353
4354 2013-10-30 Glenn Morris <rgm@gnu.org>
4355
4356 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4357
4358 * emacs-lisp/package.el (lm-homepage): Declare.
4359
4360 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4361 Fix doc typos.
4362
4363 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4364
4365 * Makefile.in (finder-data, autoloads, update-subdirs)
4366 (compile-main, compile-clean, compile-always, bootstrap-clean):
4367 Check return value of cd.
4368 (compile-calc): Remove.
4369
4370 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4373
4374 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4375 (byte-compile-and-folded): New function.
4376 (=, <, >, <=, >=): Use it.
4377
4378 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4379 (path-separator, null-device, buffer-file-coding-system)
4380 (lpr-headers-switches): Check system-type before modifying them.
4381 (find-buffer-file-type-coding-system): Mark obsolete.
4382 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4383 find-file-not-found-set-buffer-file-coding-system.
4384 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4385 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4386 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4387 (w32-direct-print-region-helper, w32-direct-print-region-function)
4388 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4389 * startup.el (normal-top-level-add-subdirs-to-load-path):
4390 * ps-print.el (ps-print-region-function):
4391 * lpr.el (print-region-function): Use new name.
4392
4393 * subr.el (custom-declare-variable-early): Remove function.
4394 (custom-declare-variable-list): Remove var.
4395 (error, user-error): Remove `while' loop.
4396 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4397 (user-emacs-directory-warning, locate-user-emacs-file):
4398 Move to files.el.
4399 * simple.el (read-quoted-char-radix, read-quoted-char):
4400 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4401 Move from subr.el.
4402 * custom.el (custom-declare-variable-list): Don't process
4403 custom-declare-variable-list.
4404
4405 * progmodes/python.el (python-shell-get-buffer): New function.
4406 (python-shell-get-process): Use it.
4407 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4408 Python which encoding was used. Don't split-string since we only care
4409 about the first line. Return the temp-file, if applicable.
4410 (python-shell-send-region): Tell compile.el how to turn locations in
4411 the temp-file into locations in the source buffer.
4412
4413 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * subr.el (undefined): Add missing behavior from the C code for
4416 unbound keys.
4417
4418 * rect.el: Use lexical-binding. Add new rectangular region support.
4419 (rectangle-mark): New command.
4420 (rectangle--region): New var.
4421 (deactivate-mark-hook): Reset rectangle--region.
4422 (rectangle--extract-region, rectangle--insert-for-yank)
4423 (rectangle--highlight-for-redisplay)
4424 (rectangle--unhighlight-for-redisplay): New functions.
4425 (region-extract-function, redisplay-unhighlight-region-function)
4426 (redisplay-highlight-region-function): Use them to handle
4427 rectangular region.
4428 * simple.el (region-extract-function): New var.
4429 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4430 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4431 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4432 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4433 (redisplay-unhighlight-region-function)
4434 (redisplay-highlight-region-function): New vars.
4435 (redisplay--update-region-highlight): New function.
4436 (pre-redisplay-function): Use it.
4437 (exchange-point-and-mark): Don't deactivate the mark before
4438 reactivate-it anyway.
4439 * comint.el (comint-kill-region): Remove yank-handler argument.
4440 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4441 (delete-char): Remove property, since it's now part of their
4442 default behavior.
4443 (self-insert-iso): Remove property since this command doesn't exist.
4444
4445 * emacs-lisp/package.el (package--download-one-archive)
4446 (describe-package-1): Don't query the user about final newline.
4447
4448 2013-10-29 Daniel Colascione <dancol@dancol.org>
4449
4450 * net/tramp.el (tramp-methods): Document new functionality.
4451 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4452 tramp-hostname-checker if method provides one instead of scanning
4453 argument list for "%h" to decide hostname acceptability.
4454
4455 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4456
4457 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4458 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4459 Handle COPY-CONTENTS. (Bug#15737)
4460
4461 2013-10-28 Daiki Ueno <ueno@gnu.org>
4462
4463 * epa-file.el
4464 (epa-file-cache-passphrase-for-symmetric-encryption):
4465 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4466
4467 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4468
4469 * image.el (defimage):
4470 (image-load-path): Doc fixes.
4471
4472 2013-10-27 Alan Mackenzie <acm@muc.de>
4473
4474 Indent statements in macros following "##" correctly.
4475 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4476 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4477
4478 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4479
4480 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4481
4482 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4483
4484 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4485 after `=' is probably a new expression.
4486
4487 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4488
4489 * man.el (man-imenu-title): New option.
4490 (Man-mode-map): Add menu. (Bug#15722)
4491 (Man-mode): Add imenu to menu.
4492
4493 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4494
4495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4496 specific in what the first arg can be: a non-keyword word,
4497 string/regexp/percent literal opener, opening paren, or unary
4498 operator followed directly by word.
4499
4500 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4503 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4504 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4505 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4506 Remove vars, they do not apply any more.
4507 (prolog-mode-abbrev-table): Remove redundant declaration.
4508 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4509 (prolog-use-smie): Remove.
4510 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4511 supported by prolog-electric-if-then-else-flag.
4512 (prolog-mode-variables, prolog-menu): Use setq-local.
4513 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4514 Remove binding to `Backspace' since this key doesn't exist anyway.
4515 Remove bindings for electric self-inserting keys.
4516 (prog-mode): Assume it's defined.
4517 (prolog-post-self-insert): New function.
4518 (prolog-mode): Use it.
4519 (prolog-indent-line, prolog-indent-level)
4520 (prolog-find-indent-of-matching-paren)
4521 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4522 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4523 (prolog-goto-next-paren, prolog-in-string-or-comment)
4524 (prolog-tokenize, prolog-inside-mline-comment)
4525 (prolog-find-start-of-mline-comment): Remove functions.
4526 (prolog-find-unmatched-paren, prolog-clause-end)
4527 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4528 (prolog-electric--if-then-else): Rename from
4529 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4530 (prolog-tokenize-searchkey): Remove const.
4531 (prolog-clause-info): Use forward-sexp.
4532 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4533 (prolog-electric-if-then-else): Remove commands.
4534 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4535 for use in post-self-insert-hook.
4536 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4537 for use in post-self-insert-hook.
4538 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4539 for use in post-self-insert-hook.
4540 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4541 adapt it for use in post-self-insert-hook.
4542
4543 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4544
4545 * emacs-lisp/ert.el (ert-run-tests-interactively):
4546 Use `completing-read'. (Bug#9756)
4547
4548 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4549
4550 * simple.el (line-move): Call line-move-1 instead of
4551 line-move-visual when the current window hscroll is zero, but
4552 temporary-goal-column indicates we will need to hscroll as result
4553 of the movement. (Bug#15712)
4554
4555 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4556
4557 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4558 capitalization. Use :visible instead of :active.
4559 Fix `ruby-indent-exp' reference. Add menu items for the generic
4560 commands that are used with SMIE.
4561 (ruby-do-end-to-brace): Insert space after `{'.
4562
4563 2013-10-25 John Anthony <john@jo.hnanthony.com>
4564
4565 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4566
4567 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4568
4569 2013-10-25 Glenn Morris <rgm@gnu.org>
4570
4571 * vc/vc.el (vc-print-log): Don't use a working revision unless
4572 one was explicitly specified. (Bug#15322)
4573
4574 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * subr.el (add-to-list): Preserve return value in compiler-macro
4577 (bug#15692).
4578
4579 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4580
4581 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4582 result. Ask user to retry using '-all' flag. (Bug#15701)
4583
4584 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * emacs-lisp/smie.el: New smie-config system.
4587 (smie-config): New defcustom.
4588 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4589 (smie-config-guess, smie-config-save): New commands.
4590 (smie-config--mode-local, smie-config--buffer-local)
4591 (smie-config--trace, smie-config--modefuns): New vars.
4592 (smie-config--advice, smie-config--mode-hook)
4593 (smie-config--setter, smie-config-local, smie-config--get-trace)
4594 (smie-config--guess-value, smie-config--guess): New functions.
4595 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4596 text properties. Treat "string fence" syntax like string syntax.
4597
4598 * progmodes/sh-script.el (sh-use-smie): Change default.
4599 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4600 (sh-var-value): Simplify by CSE.
4601 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4602 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4603 is used.
4604 (sh-guess-basic-offset): Use cl-incf.
4605 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4606
4607 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4608
4609 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4610 (bug#15699).
4611
4612 2013-10-24 Glenn Morris <rgm@gnu.org>
4613
4614 * Makefile.in (abs_top_srcdir): Remove.
4615 (update-subdirs): Use relative path to update-subdirs.
4616
4617 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4618
4619 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4620 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4621 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4622 Call unmsys--file-name before expand-file-name, not after it.
4623
4624 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4625
4626 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4627 (ert-test-skipped): New error.
4628 (ert-skip, ert-stats-skipped): New defuns.
4629 (ert--skip-unless): New macro.
4630 (ert-test-skipped): New struct.
4631 (ert--run-test-debugger, ert-test-result-type-p)
4632 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4633 (ert--stats-set-test-and-result, ert-char-for-test-result)
4634 (ert-string-for-test-result, ert-run-tests-batch)
4635 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4636 Handle skipped tests. (Bug#9803)
4637
4638 2013-10-24 Glenn Morris <rgm@gnu.org>
4639
4640 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4641
4642 * Makefile.in (abs_top_srcdir): New, set by configure.
4643 (update-subdirs): Correct build-aux location.
4644
4645 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4646
4647 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4648 value, whether we could auto-deduce `backend', or not.
4649
4650 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4651 with parameters" example. Simplify the "is it block or is it
4652 hash" check, but also make it more thorough.
4653
4654 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4655
4656 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4657
4658 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4661 { if it is hanging.
4662
4663 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4664 :before ";".
4665
4666 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4667
4668 * progmodes/compile.el (compilation-directory-matcher)
4669 (compilation-page-delimiter):
4670 Support GNU Make-4.0 directory quoting. (Bug#15678)
4671
4672 2013-10-23 Leo Liu <sdl.web@gmail.com>
4673
4674 * ido.el (ido-tidy): Handle read-only text.
4675
4676 2013-10-23 Glenn Morris <rgm@gnu.org>
4677
4678 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4679 (emacs, compile, compile-always):
4680 Quote entities that might contain whitespace.
4681 (custom-deps, finder-data, autoloads): Use abs_lisp.
4682 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4683 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4684 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4685
4686 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4689 Use `following-char'.
4690
4691 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4694 * progmodes/ruby-mode.el (ruby-smie-rules):
4695 Remove corresponding workaround. Fix indentation rule of ";" so it
4696 also applies when ";" is the parent.
4697
4698 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4699
4700 * frame.el (display-screens, display-pixel-height)
4701 (display-pixel-width, display-mm-width, display-backing-store)
4702 (display-save-under, display-planes, display-color-cells)
4703 (display-visual-class, display-monitor-attributes-list):
4704 Mention the optional ‘display’ argument in doc strings.
4705
4706 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4707
4708 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4709 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4710
4711 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4712
4713 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4714 TODO. Add "." after " @ ".
4715 (ruby-smie--at-dot-call): New function. Checks if point at method
4716 call with explicit target.
4717 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4718 to the method name tokens when it precedes them.
4719 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4720 (ruby-smie-rules): Add rule for indentation before and after "."
4721 token.
4722
4723 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * textmodes/remember.el (remember-diary-extract-entries):
4726 Avoid add-to-list.
4727
4728 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4729 an instruction.
4730
4731 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4732
4733 * progmodes/ruby-mode.el (ruby-smie-grammar):
4734 Add (almost) all infix operators.
4735 (ruby-smie--implicit-semi-p): Add new operator chars.
4736
4737 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4738 `smie-down-list'.
4739 (ruby-smie--args-separator-p): Check that there's no newline
4740 between method call and its arguments.
4741
4742 2013-10-20 Alan Mackenzie <acm@muc.de>
4743
4744 Allow comma separated lists after Java "implements".
4745
4746 * progmodes/cc-engine.el (c-backward-over-enum-header):
4747 Parse commas.
4748 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4749 from a "disallowed" list in enum fontification.
4750
4751 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4752
4753 * startup.el (default-frame-background-mode): Remove unused defvar.
4754
4755 * progmodes/verilog-mode.el (verilog-mode): Don't set
4756 comment-indent-function globally.
4757
4758 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4759
4760 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4761 Move Info menu item creation to ns-win.el.
4762
4763 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4764 in menu bar.
4765
4766 * menu-bar.el: Move GNUstep specific menus...
4767
4768 * term/ns-win.el (ns-initialize-window-system): ... to here.
4769
4770 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * simple.el (newline): Only run post-self-insert-hook when
4773 called interactively.
4774
4775 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4776
4777 * icomplete.el (icomplete-with-completion-tables): Add :version.
4778
4779 2013-10-19 Alan Mackenzie <acm@muc.de>
4780
4781 Fix fontification bugs with constructors and const.
4782
4783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4784 CASE 2) Remove the check for the absence of a suffix construct
4785 after a function declaration with only types (no identifiers) in
4786 the parentheses. Also, accept a function declaration with just a
4787 type inside the parentheses, if this type can be positively
4788 recognised as such, or if a prefix keyword like "explicit" nails
4789 down the construct as a declaration.
4790
4791 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4792
4793 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4794 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4795 the problem whereby selecting a menu item that leads to a
4796 minibuffer prompt moves the cursor out of the minibuffer window,
4797 making it hard to type at the prompt. Suggested by Stefan Monnier
4798 <monnier@iro.umontreal.ca>.
4799
4800 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4801
4802 * menu-bar.el: Don't make Services menu.
4803
4804 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4805
4806 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4807 (ffap-alist): Use ffap-c++-mode for c++-mode.
4808 (ffap-c++-path): New variable.
4809 (ffap-c++-mode): New function.
4810
4811 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4812
4813 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4814
4815 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4818 introduced on 2013-09-08, which results in an infinite loop
4819 requesting a password.
4820
4821 2013-10-18 Glenn Morris <rgm@gnu.org>
4822
4823 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4824
4825 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4826
4827 Sync with upstream verilog-mode revision 1a6ecec7.
4828 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4829 (verilog-mode-release-date): Remove.
4830 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4831 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4832 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4833 (verilog-auto-tieoff-ignore-regexp)
4834 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4835 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4836 (verilog-signals-with, verilog-dir-cache-preserving)
4837 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4838 Doc fixes.
4839 (verilog-case-fold): New option, to control case folding in
4840 regexp searches, bug597.
4841 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4842 (verilog-string-match-fold, verilog-in-paren-count)
4843 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4844 (verilog-at-close-struct-p): New functions.
4845 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4846 (verilog-forward-sexp, verilog-set-auto-endcomments):
4847 (verilog-leap-to-case-head): Handle "unique0" case.
4848 (verilog-in-constraint-re): New constant.
4849 (verilog-keywords, verilog-type-font-keywords):
4850 Add some SystemVerilog 1800-2012 keywords.
4851 (verilog-label-be): Remove unimplemented argument, bug669.
4852 (verilog-batch-execute-func): When batch expanding clear
4853 create-lockfiles to prevent spurious user locks when a file ends
4854 up not changing.
4855 (verilog-calculate-indent, verilog-calc-1)
4856 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4857 (verilog-do-indent): Fix indentation of nested constraints
4858 and structures.
4859 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4860 (verilog-auto-inst-param): Use verilog-string-match-fold.
4861 (verilog-read-inst-module-matcher):
4862 Fix AUTOINST on gate primitives with #1.
4863 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4864 Reads all user-defined typed variables.
4865 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4866 (verilog-signals-matching-regexp)
4867 (verilog-signals-not-matching-regexp, verilog-auto):
4868 Respect verilog-case-fold.
4869 (verilog-diff-report): Fix line count.
4870 (verilog-auto-assign-modport): Remove unused local `modi'.
4871 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4872 better handle multidimensional arrays.
4873 Fix packed array ports misadding bit index in AUTOINST, bug637.
4874 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4875 to not double-declare existing outputs and inputs, respectively.
4876 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4877 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4878 (verilog-sk-uvm-component): New skeleton.
4879 (verilog-submit-bug-report): Add verilog-case-fold,
4880 remove verilog-mode-release-date.
4881
4882 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4883
4884 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4885 as before.
4886
4887 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4888
4889 * textmodes/remember.el (remember): Set buffer-offer-save in
4890 remember buffers (bug#13566).
4891
4892 2013-10-18 Daniel Colascione <dancol@dancol.org>
4893
4894 When evaluating forms in ielm, direct standard output to ielm
4895 buffer. Add new ielm-return-for-effect command. Remove trailing
4896 whitespace throughout.
4897
4898 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4899 (ielm-return-for-effect): New command.
4900 (ielm-send-input): Accept optional `for-effect' parameter.
4901 (ielm-eval-input): Accept optional `for-effect' parameter.
4902 Bind `standard-output' to stream we create using
4903 `ielm-standard-output-impl'. Suppress printing result when
4904 `for-effect'.
4905 (ielm-standard-output-impl): New function.
4906 (inferior-emacs-lisp-mode): Explain new features in documentation.
4907
4908 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4909
4910 Code cleanup.
4911
4912 * net/tramp.el (tramp-debug-message): Do not check for connection
4913 buffer.
4914 (tramp-message): Use "vector" connection property.
4915
4916 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4917 (tramp-equal-remote, tramp-eshell-directory-change)
4918 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4919 (tramp-adb-handle-rename-file)
4920 * net/tramp-cmds.el (tramp-list-remote-buffers)
4921 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4922 * net/tramp-compat.el (tramp-compat-process-running-p)
4923 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4924 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4925 (tramp-gvfs-handle-rename-file)
4926 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4927 (tramp-set-file-uid-gid)
4928 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4929 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4930 of `file-remote-p'.
4931
4932 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4933 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4934 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4935 (tramp-gw-open-network-stream): Suppress unrelated traces.
4936
4937 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4938 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4940 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4941 connection property.
4942
4943 * net/tramp-cache.el (top): Suppress traces when reading
4944 persistency file.
4945
4946 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4947 Refactor common code. Improve debug message.
4948 (tramp-maybe-open-connection)
4949 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4950 connection buffer too early.
4951
4952 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4953 from `tramp-smb-actions-with-acl'.
4954 (tramp-smb-actions-set-acl): New defconst.
4955 (tramp-smb-handle-copy-directory)
4956 (tramp-smb-action-get-acl): New defun, renamed from
4957 `tramp-smb-action-with-acl'.
4958 (tramp-smb-action-set-acl): New defun.
4959 (tramp-smb-handle-set-file-acl): Rewrite.
4960
4961 2013-10-17 Glenn Morris <rgm@gnu.org>
4962
4963 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4964
4965 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4966
4967 * skeleton.el (skeleton-newline): Remove.
4968 (skeleton-internal-1): Use (insert "\n") instead.
4969
4970 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4971 let-bindings.
4972
4973 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4974 forward-sexp-function while we redo its job (bug#15613).
4975
4976 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4977
4978 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4979 represented by lists.
4980
4981 2013-10-16 Glenn Morris <rgm@gnu.org>
4982
4983 * tmm.el (tmm--history): New dynamic variable.
4984 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4985
4986 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4987
4988 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4989 (tramp-smb-errors): Add error messages.
4990 (tramp-smb-actions-with-acl): New defconst.
4991 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4992 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4993 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4994 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4995 (tramp-smb-get-stat-capability): Fix tests.
4996
4997 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4998
4999 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5000 (bug#15580).
5001
5002 2013-10-16 Glenn Morris <rgm@gnu.org>
5003
5004 * ansi-color.el (ansi-color-drop-regexp):
5005 Add 1J, 1K, 2K. (Bug#15617)
5006
5007 * files.el (hack-local-variables--warned-lexical): New.
5008 (hack-local-variables):
5009 Warn about misplaced lexical-binding. (Bug#15616)
5010
5011 * net/eww.el (eww-render): Always set eww-current-url,
5012 and update header line. (Bug#15622)
5013 (eww-display-html): ... Rather than just doing it here.
5014
5015 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5016
5017 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5018 menu navigations commands.
5019
5020 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5021
5022 * progmodes/subword.el (subword-capitalize): Be careful when
5023 the search for [[:alpha:]] fails (bug#15580).
5024
5025 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5026
5027 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5028 to commands that scroll the menu.
5029
5030 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5031
5032 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5033 Handle methods ending with `?' and `!'.
5034
5035 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5036
5037 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5038 `japanese-cp932' to `cp932' to fix the problem where saving a
5039 source file written in Shift_JIS twice would end up having
5040 `coding: japanese-cp932' which Ruby could not recognize.
5041 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5042 in `ruby-encoding-map'.
5043 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5044 doesn't need to be explicitly declared in magic comment.
5045 (ruby-encoding-map): Add type declaration for better customize UI.
5046
5047 2013-10-13 Glenn Morris <rgm@gnu.org>
5048
5049 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5050 Occur buffers are read-only. http://bugs.debian.org/720775
5051
5052 * emacs-lisp/authors.el (authors-fixed-entries):
5053 Comment out old alpha stuff.
5054
5055 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5056
5057 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5058 to `after-save-hook' instead of `before-save-hook'.
5059 (ruby-mode-set-encoding): Use the value of coding system used to
5060 write the file. Call `basic-save-buffer-1' after modifying the
5061 buffer.
5062
5063 2013-10-13 Alan Mackenzie <acm@muc.de>
5064
5065 Fix indentation/fontification of Java enum with
5066 "implements"/generic.
5067
5068 * progmodes/cc-engine.el (c-backward-over-enum-header):
5069 Extracted from the three other places and enhanced to handle generics.
5070 (c-inside-bracelist-p): Uses new function above.
5071 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5072 function above.
5073 (c-font-lock-enum-tail): Uses new function above.
5074
5075 2013-10-13 Kenichi Handa <handa@gnu.org>
5076
5077 * international/mule-cmds.el (select-safe-coding-system): Remove a
5078 superfluous condition in chekcing whether a coding system is safe
5079 or not.
5080
5081 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5082
5083 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5084
5085 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5086
5087 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5088
5089 2013-10-13 Glenn Morris <rgm@gnu.org>
5090
5091 * menu-bar.el (menu-bar-update-buffers):
5092 Unify Buffers menu prompt string. (Bug#15576)
5093
5094 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5095
5096 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5097 Add some entries.
5098 (authors-fixed-entries): Use accented form of name.
5099
5100 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5103 method calls (bug#15594).
5104 (ruby-smie--args-separator-p): New function.
5105 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5106 recognize paren-free method calls.
5107
5108 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5109 internals of universal-argument.
5110
5111 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5112
5113 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5114 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5115 dropped menu on second mouse click on the menu bar.
5116
5117 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5120 (explicit-shell-file-name): Declare.
5121 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5122 (sh-completion-at-point-function): New function.
5123 (sh-mode): Use it.
5124 (sh-smie--keyword-p): Remove unused argument.
5125 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5126 vars.
5127 (sh-set-shell): Always setup SMIE, even if we use the
5128 old indentation code.
5129
5130 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5131
5132 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5133 cases of ? and =.
5134 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5135 predicate would return nil are almost non-existent.
5136 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5137
5138 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5139 cache also after commands that modify the buffer but don't move
5140 point.
5141
5142 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * env.el (substitute-env-in-file-name): New function.
5145 (substitute-env-vars): Extend the meaning of the optional arg.
5146
5147 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5148
5149 * term/w32-win.el (dynamic-library-alist): Define separate lists
5150 of GIF DLLs for versions before and after 5.0.0 of giflib.
5151 (Bug#15531)
5152
5153 2013-10-10 João Távora <joaotavora@gmail.com>
5154
5155 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5156 not locked, use last revision and current source as
5157 defaults. (Bug#15569)
5158
5159 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5160
5161 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5162 menu-bar is hidden.
5163
5164 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5165
5166 * window.el (pop-to-buffer-same-window): Fix doc-string.
5167 (Bug#15492)
5168
5169 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5172
5173 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5174
5175 * calendar/icalendar.el (icalendar-import-file):
5176 Fix interactive spec. (Bug#15482)
5177
5178 2013-10-10 Glenn Morris <rgm@gnu.org>
5179
5180 * desktop.el (desktop-save): Default to saving in .emacs.d,
5181 since PWD is no longer in desktop-path by default. (Bug#15319)
5182
5183 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5184 now that text mode has a menu with the same entry.
5185 (menu-bar-text-mode-auto-fill): Remove now unused func.
5186 * textmodes/text-mode.el (text-mode-map):
5187 Use auto-fill help text from menu-bar.el.
5188
5189 2013-10-10 John Anthony <john@jo.hnanthony.com>
5190
5191 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5192
5193 2013-10-09 Juri Linkov <juri@jurta.org>
5194
5195 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5196 instead of this-command-keys. Add universal-argument-more and
5197 universal-argument-minus to the list of prefix commands. (Bug#15568)
5198
5199 2013-10-09 Glenn Morris <rgm@gnu.org>
5200
5201 * vc/vc-svn.el (vc-svn-create-repo):
5202 Expand paths in file://... url. (Bug#15446)
5203
5204 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5205 Add some entries.
5206 (authors): Remove unused local variables.
5207
5208 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * profiler.el: Create a more coherent calltree from partial backtraces.
5211 (profiler-format): Hide the tail with `invisible' so that C-s can still
5212 find the hidden elements.
5213 (profiler-calltree-depth): Don't recurse so enthusiastically.
5214 (profiler-function-equal): New hash-table-test.
5215 (profiler-calltree-build-unified): New function.
5216 (profiler-calltree-build): Use it.
5217 (profiler-report-make-name-part): Indent the calltree less.
5218 (profiler-report-mode): Add visibility specs for profiler-format.
5219 (profiler-report-expand-entry, profiler-report-toggle-entry):
5220 Expand the whole subtree when provided with a prefix arg.
5221
5222 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5223
5224 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5225 iuwu-mod token.
5226 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5227 hanging iuwu-mod token.
5228 (ruby-smie--forward-token): Do not include a dot after a token in
5229 that token.
5230 (ruby-smie--backward-token): Likewise.
5231
5232 2013-10-08 Juri Linkov <juri@jurta.org>
5233
5234 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5235 to isearch-other-control-char.
5236 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5237 and isearch-post-command-hook to post-command-hook.
5238 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5239 and isearch-post-command-hook from post-command-hook.
5240 (isearch-unread-key-sequence)
5241 (isearch-reread-key-sequence-naturally)
5242 (isearch-lookup-scroll-key, isearch-other-control-char)
5243 (isearch-other-meta-char): Remove functions.
5244 (isearch-pre-command-hook, isearch-post-command-hook):
5245 New functions based on isearch-other-meta-char rewritten
5246 relying on the new behavior of overriding-terminal-local-map
5247 that does not replace the local keymaps any more. (Bug#15200)
5248
5249 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5250
5251 Support menus on text-mode terminals.
5252 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5253 functionality.
5254
5255 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5256
5257 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5258 Move here from mouse.el.
5259 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5260 and arrow keys.
5261 (tty-menu-navigation-map): New map for TTY menu navigation.
5262
5263 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5264
5265 * frame.el (display-mouse-p): Report text-mode mouse as available
5266 on w32.
5267 (display-popup-menus-p): Report availability if mouse is
5268 available; don't condition on window-system.
5269
5270 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5271 (tty-menu-selected-face): New faces.
5272
5273 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5276 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5277 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5278 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5279 New constants.
5280 (lisp-mode-variables): New `elisp' argument.
5281 (emacs-lisp-mode): Use it.
5282 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5283 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5284
5285 * indent.el: Use lexical-binding.
5286 (indent-region): Add progress reporter.
5287 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5288 last step.
5289 (indent--next-tab-stop): New function to implement this behavior.
5290 (tab-to-tab-stop, move-to-tab-stop): Use it.
5291
5292 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5293
5294 * indent.el (indent-rigidly--current-indentation): New function.
5295 (indent-rigidly-map): New var.
5296 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5297
5298 2013-10-08 Bastien Guerry <bzg@gnu.org>
5299
5300 * register.el (insert-register): Fix 2013-10-07 change.
5301
5302 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * progmodes/perl-mode.el: Use lexical-binding.
5305 Remove redundant :group args.
5306 (perl-nochange): Change default to be closer to other major modes's
5307 standard behavior.
5308 (perl-indent-line): Don't consider text on current line as a
5309 valid beginning of function from which to indent.
5310
5311 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5312 with more than one argument (bug#15538).
5313
5314 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5315
5316 * vc/pcvs.el: Use lexical-binding.
5317 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5318 environment of `eval'.
5319 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5320 than a list of expressions. Adjust callers.
5321 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5322
5323 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5324
5325 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5326 case of the dot in a chained method call being on the following line.
5327
5328 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * electric.el (electric-indent-inhibit): New var.
5331 (electric-indent-post-self-insert-function): Use it.
5332 * progmodes/python.el (python-mode): Set it.
5333
5334 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5335 open braces.
5336
5337 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5338
5339 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5340 (css-mode): Use electric-indent-chars.
5341
5342 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5343 (font-lock-beg, font-lock-end): Move before first use.
5344 (nxml-mode): Use syntax-propertize-function.
5345 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5346 (nxml-extend-after-change-region): Remove.
5347 * nxml/xmltok.el: Use lexical-binding.
5348 (xmltok-save): Use `declare'.
5349 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5350 * nxml/nxml-util.el: Use lexical-binding.
5351 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5352 Use `declare'.
5353 * nxml/nxml-ns.el: Use lexical-binding.
5354 (nxml-ns-save): Use `declare'.
5355 (nxml-ns-prefixes-for): Avoid add-to-list.
5356 * nxml/rng-match.el: Use lexical-binding.
5357 (rng--ipattern): Use cl-defstruct.
5358 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5359 (rng-cons-group-after, rng-subst-group-after)
5360 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5361 Use closures instead of `(lambda...).
5362
5363 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5364
5365 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5366 of BEG and END.
5367
5368 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5369 Use `tramp-handle-insert-file-contents'.
5370 (tramp-gvfs-handle-insert-file-contents): Remove function.
5371
5372 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5373 Use `save-restriction' in order to keep markers.
5374
5375 * net/trampver.el: Update release number.
5376
5377 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * progmodes/compile.el (compilation-parse-errors):
5380 Use compilation--put-prop.
5381 (compilation--ensure-parse): Check compilation-multiline.
5382
5383 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5384
5385 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5386 lexical-binding.
5387
5388 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5389
5390 * progmodes/ruby-mode.el: Fix recently added tests.
5391 (ruby-smie-grammar): Add - and +.
5392 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5393 (ruby-smie--backward-id): New functions.
5394 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5395 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5396 any more.
5397
5398 2013-10-07 Leo Liu <sdl.web@gmail.com>
5399
5400 * register.el (register-preview-delay)
5401 (register-preview-functions): New variables.
5402 (register-read-with-preview, register-preview)
5403 (register-describe-oneline): New functions.
5404 (point-to-register, window-configuration-to-register)
5405 (frame-configuration-to-register, jump-to-register)
5406 (number-to-register, view-register, insert-register)
5407 (copy-to-register, append-to-register, prepend-to-register)
5408 (copy-rectangle-to-register): Use register-read-with-preview to
5409 read register. (Bug#15525)
5410
5411 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5412
5413 * net/network-stream.el (network-stream-open-starttls): Don't add
5414 --insecure if it's already present, because that gnutls-cli
5415 rejects getting that parameter twice.
5416
5417 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5418
5419 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5420 keyword, too.
5421
5422 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5423
5424 * newcomment.el (comment-use-global-state): Change default value
5425 to t, mark obsolete (Bug#15251).
5426 (comment-beginning): In addition to `comment-to-syntax', check the
5427 value of `comment-use-global-state'.
5428
5429 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5432 (ruby-comment-column): Follow the global default, by default.
5433 (ruby-smie-grammar): Add assignment syntax.
5434 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5435 open-paren, a comma, or a \.
5436 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5437 and line continuations.
5438 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5439 followed by implicit semi-colons. Add rule for string concatenation
5440 and for indentation at BOB.
5441 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5442
5443 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5444 calling next-sexp, since next-token may have skipped chars which
5445 next-sexp doesn't know should be skipped!
5446
5447 2013-10-05 Leo Liu <sdl.web@gmail.com>
5448
5449 * progmodes/octave.el (octave-send-region):
5450 Call compilation-forget-errors.
5451
5452 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5453
5454 * vc/vc-svn.el (vc-svn-find-admin-dir):
5455 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5456 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5457 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5458 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5459
5460 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5463
5464 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * subr.el (read-passwd): Hide chars even when called within a context
5467 where after-change-functions is disabled (bug#15501).
5468 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5469 until we removed ourself from overriding-terminal-local-map.
5470
5471 2013-10-04 Leo Liu <sdl.web@gmail.com>
5472
5473 * progmodes/octave.el (inferior-octave-mode):
5474 Call compilation-forget-errors.
5475
5476 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5477
5478 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5479
5480 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * net/secrets.el (secrets-create-collection): Add optional
5483 argument ALIAS. Use proper Label keyword. Append ALIAS as
5484 dbus-call-method argument. (Bug#15516)
5485
5486 2013-10-04 Leo Liu <sdl.web@gmail.com>
5487
5488 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5489 (inferior-octave-compilation-font-lock-keywords): New variables.
5490 (compilation-error-regexp-alist)
5491 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5492 (inferior-octave-mode): Use compilation-shell-minor-mode.
5493
5494 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5495
5496 * minibuffer.el (completion--replace): Be careful that `end' might be
5497 a marker.
5498
5499 2013-10-03 Daiki Ueno <ueno@gnu.org>
5500
5501 Add support for package signature checking.
5502 * emacs-lisp/package.el (url-http-file-exists-p)
5503 (epg-make-context, epg-context-set-home-directory)
5504 (epg-verify-string, epg-context-result-for)
5505 (epg-signature-status, epg-signature-to-string)
5506 (epg-check-configuration, epg-configuration)
5507 (epg-import-keys-from-file): Declare.
5508 (package-check-signature): New user option.
5509 (package-unsigned-archives): New user option.
5510 (package-desc): Add `signed' field.
5511 (package-load-descriptor): Set `signed' field if .signed file exists.
5512 (package--archive-file-exists-p): New function.
5513 (package--check-signature): New function.
5514 (package-install-from-archive): Check package signature.
5515 (package--download-one-archive): Check archive signature.
5516 (package-delete): Remove .signed file.
5517 (package-import-keyring): New command.
5518 (package-refresh-contents): Import default keyring.
5519 (package-desc-status): Add "unsigned" status.
5520 (describe-package-1, package-menu--print-info)
5521 (package-menu-mark-delete, package-menu--find-upgrades)
5522 (package-menu--status-predicate): Support "unsigned" status.
5523
5524 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5527 the new compilation scheme using the new byte-codes.
5528
5529 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5530 (byte-pophandler): New byte codes.
5531 (byte-goto-ops): Adjust accordingly.
5532 (byte-compile--use-old-handlers): New var.
5533 (byte-compile-catch): Use new byte codes depending on
5534 byte-compile--use-old-handlers.
5535 (byte-compile-condition-case--old): Rename from
5536 byte-compile-condition-case.
5537 (byte-compile-condition-case--new): New function.
5538 (byte-compile-condition-case): New function that dispatches depending
5539 on byte-compile--use-old-handlers.
5540 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5541 when we can.
5542
5543 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5544 Optimize under `condition-case' and `catch' if
5545 byte-compile--use-old-handlers is nil.
5546 (disassemble-offset): Handle new bytecodes.
5547
5548 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * subr.el (error): Use `declare'.
5551 (decode-char, encode-char): Use advertised-calling-convention instead
5552 of the docstring to discourage use of the `restriction' arg.
5553
5554 2013-10-03 Daiki Ueno <ueno@gnu.org>
5555
5556 * epg.el (epg-verify-file): Add a comment saying that it does not
5557 notify verification error as a return value nor a signal.
5558 (epg-verify-string): Ditto.
5559
5560 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5561
5562 * progmodes/compile.el (compilation-start): Try globbing the arg to
5563 `cd' (bug#15417).
5564
5565 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5566
5567 Sync with Tramp 2.2.8.
5568
5569 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5570 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5571 * net/trampver.el: Update release number.
5572
5573 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5574
5575 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5576 and default-process-coding-system for darwin only.
5577
5578 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5581
5582 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5583
5584 * vc/vc-git.el (vc-git-grep): Disable pager.
5585
5586 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5587
5588 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5589 Use :url instead of :homepage, as per
5590 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5591
5592 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5593 non-nil, use `syntax-ppss' (Bug#15251).
5594
5595 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5596
5597 * progmodes/octave.el (inferior-octave-startup-file):
5598 Prefer ~/.emacs.d/init_octave.m.
5599
5600 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5601
5602 * emacs-lisp/package.el (package-desc-from-define):
5603 Accept additional arguments as plist, convert them to an alist and store
5604 them in the `extras' slot.
5605 (package-generate-description-file): Convert extras alist back to
5606 plist and append to the `define-package' form arguments.
5607 (package--alist-to-plist): New function.
5608 (package--ac-desc): Add `extras' slot.
5609 (package--add-to-archive-contents): Check if the archive-contents
5610 vector is long enough, and if it is, pass its `extras' slot value
5611 to `package-desc-create'.
5612 (package-buffer-info): Call `lm-homepage', pass the returned value
5613 to `package-desc-from-define'.
5614 (describe-package-1): Render the homepage button (Bug#13291).
5615
5616 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5617 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5618
5619 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5620
5621 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5622 and default-process-coding-system to utf-8-unix (Bug#15402).
5623
5624 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5625
5626 * subr.el (looking-back): Do not recommend using looking-back.
5627
5628 2013-09-28 Alan Mackenzie <acm@muc.de>
5629
5630 Fix indentation/fontification of Java enum with "implements".
5631
5632 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5633 regexp which matches "implements", etc., in Java.
5634 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5635 specifier clauses coming after "enum".
5636 * progmodes/cc-fonts.el (c-font-lock-declarations)
5637 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5638 after "enum".
5639
5640 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5641
5642 * faces.el (region): Change ns_selection_color to
5643 ns_selection_fg_color, add ns_selection_bg_color.
5644
5645 2013-09-28 Leo Liu <sdl.web@gmail.com>
5646
5647 * progmodes/octave.el (inferior-octave-completion-table)
5648 (inferior-octave-completion-at-point): Minor tweaks.
5649
5650 * textmodes/ispell.el (ispell-lookup-words): Rename from
5651 lookup-words. (Bug#15460)
5652 (lookup-words): Obsolete.
5653 (ispell-complete-word, ispell-command-loop): All uses changed.
5654
5655 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5656
5657 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5658 (octave-mode-menu): Add octave-send-buffer.
5659 (octave-send-buffer): New function.
5660
5661 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5662
5663 * progmodes/octave.el (octave-mode-map): Add key binding for
5664 octave-lookfor.
5665 (octave-mode-menu): Add octave-lookfor.
5666 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5667 octave-lookfor.
5668 (octave-lookfor): New function.
5669
5670 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * emacs-lisp/cl-macs.el:
5673 (cl--loop-destr-temps): Remove.
5674 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5675 its convention.
5676 (cl--loop-set-iterator-function): New function.
5677 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5678 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5679 Bind `it' with `let' instead of substituting it with `cl-subst'.
5680 (cl--unused-var-p): New function.
5681 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5682 Eliminate some unused variable warnings (bug#15326).
5683
5684 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5685
5686 * doc-view.el (doc-view-scale-reset): Rename from
5687 `doc-view-reset-zoom-level'.
5688 (doc-view-scale-adjust): New command.
5689 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5690 `doc-view-scale-adjust'.
5691
5692 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5693
5694 * doc-view.el (doc-view-reset-zoom-level): New command.
5695 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5696 zoom commands (bug#15466).
5697
5698 2013-09-26 Kenichi Handa <handa@gnu.org>
5699
5700 * international/quail.el (quail-help): Make it not a command.
5701
5702 2013-09-26 Leo Liu <sdl.web@gmail.com>
5703
5704 * minibuffer.el (completion-all-sorted-completions): Make args
5705 optional as they are.
5706
5707 2013-09-25 Daniel Colascione <dancol@dancol.org>
5708
5709 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5710 specs are and that they're not evaluated.
5711
5712 2013-09-24 Sam Steingold <sds@gnu.org>
5713
5714 * midnight.el (clean-buffer-list-kill-regexps)
5715 (clean-buffer-list-kill-buffer-names): Update for the new Man
5716 buffer naming which includes the object name.
5717
5718 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5721 (eshell-parse-command, eshell-parse-pipeline): Use it since
5722 eshell-separate-commands requires a dynamic scoped var.
5723 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5724
5725 2013-09-23 Leo Liu <sdl.web@gmail.com>
5726
5727 * autoinsert.el (auto-insert-alist): Make the value of
5728 lexical-binding match its file setting.
5729
5730 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5731
5732 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5733
5734 * autoarg.el (autoarg-kp-digit-argument):
5735 * electric.el (Electric-command-loop):
5736 * kmacro.el (kmacro-step-edit-insert):
5737 Do not set universal-argument-num-events.
5738
5739 2013-09-22 Leo Liu <sdl.web@gmail.com>
5740
5741 * files.el (interpreter-mode-alist): Add octave.
5742
5743 2013-09-21 Alan Mackenzie <acm@muc.de>
5744
5745 C++: fontify identifier in declaration following "public:" correctly.
5746 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5747 to match "public", etc.
5748 (c-decl-prefix-re): Add ":" into the C++ value.
5749 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5750 bit. Add a check for a ":" preceded by "public", etc.
5751
5752 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5753
5754 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5755 recognized by GDB 7.5 and later.
5756
5757 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5758
5759 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5760
5761 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * subr.el (internal--call-interactively): New const.
5764 (called-interactively-p): Use it (bug#3984).
5765
5766 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5767
5768 * vc/pcvs.el (cvs-mode-ignore):
5769 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5770 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5771
5772 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5775 (eshell-ls-orig-insert-directory): Remove.
5776 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5777 (eshell-ls-use-in-dired): Use advice-add/remove.
5778 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5779 Add `orig-fun' arg for use in :around advice.
5780 Make it check (redundantly) eshell-ls-use-in-dired.
5781
5782 2013-09-19 Glenn Morris <rgm@gnu.org>
5783
5784 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5785
5786 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5787
5788 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5789
5790 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5791
5792 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5793 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5794 (tramp-get-remote-python): New defuns.
5795 (tramp-get-remote-uid-with-perl)
5796 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5797 contributed by yary <not.com@gmail.com> (tiny change).
5798 (tramp-get-remote-uid-with-python)
5799 (tramp-get-remote-gid-with-python): New defuns. Python code
5800 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5801 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5802
5803 2013-09-19 Glenn Morris <rgm@gnu.org>
5804
5805 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5806
5807 * eshell/em-unix.el (eshell-remove-entries):
5808 Rename argument to avoid name-clash with global `top-level'.
5809
5810 * eshell/esh-proc.el (eshell-kill-process-function):
5811 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5812 (eshell-reset-after-proc): Remove unused arg `proc'.
5813
5814 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5815 (directory-files-and-attributes): Mark unused arg.
5816
5817 * eshell/em-unix.el (eshell-remove-entries):
5818 Remove unused arg `path'. Update callers.
5819
5820 * eshell/em-hist.el (eshell-hist-parse-arguments):
5821 Remove unused arg `silent'. Update callers.
5822
5823 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5824 Fix (f)boundp mix-up.
5825
5826 * eshell/em-smart.el (eshell-smart-scroll-window)
5827 (eshell-disable-after-change):
5828 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5829
5830 2013-09-18 Alan Mackenzie <acm@muc.de>
5831
5832 Fix fontification of type when followed by "const".
5833 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5834 "known" types from fontification.
5835
5836 2013-09-18 Glenn Morris <rgm@gnu.org>
5837
5838 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5839 (chart-face-list): Drop Emacsen without display-color-p.
5840
5841 * net/eww.el (libxml-parse-html-region): Declare.
5842 (eww-display-html): Explicit error if no libxml2 support.
5843
5844 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5845
5846 * image.el (image-type-from-buffer, image-multi-frame-p):
5847 Remove --without-x warning/error.
5848
5849 * mouse.el (mouse-yank-primary):
5850 * term.el (term-mouse-paste):
5851 Reorder to silence --without-x compilation.
5852
5853 * mpc.el (doc-view-mode): Silence --without-x compilation.
5854
5855 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5856 Silence --without-x compilation.
5857
5858 * progmodes/gud.el (gud-find-file, gud-mode):
5859 Silence --without-x compilation.
5860 (tooltip-mode): Declare.
5861
5862 * wdired.el (dired-backup-overwrite): Remove declaration.
5863 (wdired-mode-map): Add doc string.
5864
5865 * custom.el (x-get-resource): Declare.
5866
5867 * eshell/em-glob.el (ange-cache):
5868 * eshell/em-unix.el (ange-cache): Declare.
5869
5870 * faces.el (x-display-list, x-open-connection, x-get-resource):
5871 Declare.
5872
5873 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5874 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5875 Declare.
5876
5877 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5878
5879 * net/gnutls.el (gnutls-log-level): Declare.
5880
5881 * net/shr.el (image-size, image-animate): Declare.
5882
5883 * simple.el (font-info): Declare.
5884
5885 * subr.el (x-popup-dialog): Declare.
5886
5887 * term/common-win.el (x-select-enable-primary)
5888 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5889 Declare.
5890
5891 * term/ns-win.el (x-handle-args): Declare.
5892
5893 * term/x-win.el (x-select-enable-clipboard): Declare.
5894
5895 * term/w32-win.el (create-default-fontset): Declare.
5896
5897 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5898 Declare.
5899
5900 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5901 (fit-frame-to-buffer): Explicit error if --without-x.
5902 (mouse-autoselect-window-select): Silence compiler.
5903
5904 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5905
5906 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5907 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5908 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5909 * eshell/esh-util.el (eshell-sublist):
5910 Remove unused local variables.
5911
5912 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5913
5914 * textmodes/two-column.el: Make 2C-split work for --without-x.
5915 (scroll-bar-columns): Autoload.
5916 (top-level): Require fringe when compiling.
5917
5918 2013-09-18 Leo Liu <sdl.web@gmail.com>
5919
5920 * subr.el (add-hook): Robustify to handle closure as well.
5921
5922 2013-09-17 Glenn Morris <rgm@gnu.org>
5923
5924 * simple.el (messages-buffer-mode-map): Unbind "g".
5925
5926 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * help-mode.el (help-mode-finish): Use derived-mode-p.
5929 Remove obsolete highlighting.
5930
5931 * play/life.el (life-mode): Use define-derived-mode. Derive from
5932 special-mode.
5933 (life): Let-bind inhibit-read-only.
5934 (life-setup): Avoid `setq'. Use `life-mode'.
5935
5936 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5937 which should not be needed any more.
5938 (package-menu-refresh, package-menu-describe-package): Use user-error.
5939
5940 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5941 (eshell-post-rewrite-command-hook): Make obsolete.
5942 (eshell-parse-command): Simplify.
5943 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5944 (eshell--cmd): Declare.
5945 (eshell-parse-pipeline): Remove unused var `final-p'.
5946 Pass a dynvar to eshell-post-rewrite-command-hook.
5947 Implement the new eshell-post-rewrite-command-function.
5948 (eshell-invoke-directly): Remove unused arg `input'.
5949 * eshell/esh-io.el (eshell-io-initialize):
5950 Use eshell-post-rewrite-command-function (bug#15399).
5951 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5952 adjust to new calling convention.
5953 (eshell-create-handles): Rename args to avoid clashing with dynvar
5954 `standard-output'.
5955
5956 2013-09-17 Glenn Morris <rgm@gnu.org>
5957
5958 * simple.el (messages-buffer-mode): New major mode.
5959 (messages-buffer): New function.
5960 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5961 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5962 (ert-run-test): Use `messages-buffer' function.
5963 (ert--force-message-log-buffer-truncation): Ignore read-only.
5964 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5965 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5966
5967 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5970
5971 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5972
5973 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * icomplete.el (icomplete-in-buffer): New var.
5976 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5977 vars and replace them with functions.
5978 (icomplete-minibuffer-setup): Adjust accordingly.
5979 (icomplete--completion-table, icomplete--completion-predicate)
5980 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5981 New functions.
5982 (icomplete-forward-completions, icomplete-backward-completions)
5983 (icomplete-simple-completing-p, icomplete-exhibit)
5984 (icomplete-completions): Use them.
5985 (icomplete--in-region-buffer): New var.
5986 (icomplete--in-region-setup): New function.
5987 (icomplete-mode): Use it.
5988
5989 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5990 (bug#15379).
5991 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5992 return args and options.
5993 (eshell-eval-using-options): Use the new return value of
5994 eshell--do-opts to set the options's vars in their scope.
5995 (eshell--set-option): Rename from eshell-set-option.
5996 Add arg `opt-vals'.
5997 (eshell--process-option): Rename from eshell-process-option.
5998 Add arg `opt-vals'.
5999 (eshell--process-args): Use an `opt-vals' alist to store the options's
6000 values during their processing and return them additionally to the
6001 remaining args.
6002
6003 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6004
6005 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6006 continuation character an operator, as far as indentation is
6007 concerned (Bug#15369).
6008
6009 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6010
6011 * window.el (window--state-put-2): Don't process buffer state
6012 when buffer doesn't exist any more (Bug#15382).
6013
6014 2013-09-15 Glenn Morris <rgm@gnu.org>
6015
6016 * eshell/em-unix.el (eshell/rm):
6017 Make -f ignore missing files. (Bug#15373)
6018
6019 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6020 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6021 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6022
6023 2013-09-14 Glenn Morris <rgm@gnu.org>
6024
6025 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6026
6027 2013-09-13 Glenn Morris <rgm@gnu.org>
6028
6029 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6030 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6031
6032 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6033
6034 * frame.el (x-focus-frame): Mark as declared in frame.c.
6035
6036 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * ls-lisp.el: Use advice-add.
6039 (original-insert-directory): Remove.
6040 (ls-lisp--insert-directory): Rename from insert-directory; add
6041 `orig-fun' argument.
6042 (insert-directory): Advise.
6043
6044 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6045
6046 * term.el (term-emulate-terminal): Decode the command string
6047 before passing it to term-command-hook. (Bug#15337)
6048
6049 2013-09-13 Glenn Morris <rgm@gnu.org>
6050
6051 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6052
6053 * eshell/esh-ext.el (eshell-search-path): Declare.
6054
6055 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6056 Otherwise an error occurs if eshell-dirs module not loaded.
6057
6058 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6059
6060 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6063 `tramp-check-proper-host'. Check for a valid method name.
6064
6065 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6066 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6067 * net/tramp-sh.el (tramp-maybe-open-connection):
6068 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6069
6070 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6071 also for hash values.
6072
6073 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * term/ns-win.el (parameters): Don't declare as dynamic.
6076 (before-make-frame-hook): Don't add ineffective function.
6077
6078 * eshell/*.el: Use lexical-binding (bug#15231).
6079
6080 2013-09-12 Kenichi Handa <handa@gnu.org>
6081
6082 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6083
6084 2013-09-12 Glenn Morris <rgm@gnu.org>
6085
6086 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6087 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6088
6089 * subr.el (do-after-load-evaluation): Also give compiler warnings
6090 when obsolete files are used (except by obsolete files).
6091
6092 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6093 in the status output, assume `filename' is the first. (Bug#15322)
6094
6095 * vc/vc.el (vc-deduce-fileset): Doc fix.
6096
6097 * calc/calc-help.el (Info-goto-node):
6098 * progmodes/cperl-mode.el (Info-find-node):
6099 * vc/ediff.el (Info-goto-node): Update declarations.
6100
6101 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6102
6103 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6104 (vc-bzr-pull): Require vc-dispatcher.
6105 * vc/vc-git.el (vc-compilation-mode): Declare.
6106 (vc-git-pull): Require vc-dispatcher.
6107
6108 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6109
6110 * progmodes/octave.el (help-button-action): Declare.
6111
6112 * shell.el (shell-directory-tracker): Output error as a message
6113 rather than just returning it as a string.
6114 (shell-process-pushd): Remove useless use of message.
6115
6116 * dframe.el (dframe-timer-fn):
6117 * files.el (dir-locals-read-from-file):
6118 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6119 (mpc-format):
6120 * reveal.el (reveal-post-command):
6121 * saveplace.el (load-save-place-alist-from-file):
6122 * shell.el (shell-resync-dirs):
6123 * w32-common-fns.el (x-get-selection-value):
6124 * emacs-lisp/copyright.el (copyright-find-copyright):
6125 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6126 * emulation/tpu-edt.el (tpu-copy-keyfile):
6127 * play/bubbles.el (bubbles--mark-neighbourhood):
6128 * progmodes/executable.el
6129 (executable-make-buffer-file-executable-if-script-p):
6130 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6131
6132 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 Cleanup Eshell to rely less on dynamic scoping.
6135 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6136 last-value, and ext-command here. Bind `args' closer to `body'.
6137 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6138 (eshell--args): Declare new dynamic var.
6139 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6140 last-value, and ext-command. Pass `args' to `body'.
6141 (eshell-process-args): Bind eshell--args.
6142 (eshell-set-option): Use eshell--args.
6143 * eshell/eshell.el (eshell): Use derived-mode-p.
6144 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6145 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6146 (eshell-glob-function): Declare.
6147 * eshell/esh-util.el: Require cl-lib.
6148 (eshell-read-hosts-file): Avoid add-to-list.
6149 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6150 `err'.
6151 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6152 Declare.
6153 (eshell/diff): Remove unused var `err'.
6154 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6155 `killflag'.
6156 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6157 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6158 first use.
6159 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6160 Move declaration before first use.
6161 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6162 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6163 rely on cl-return.
6164
6165 2013-09-12 Glenn Morris <rgm@gnu.org>
6166
6167 * term/ns-win.el (global-map): Remove binding for ispell-next,
6168 deleted 1999-05-29. (Bug#15357)
6169
6170 2013-09-11 Glenn Morris <rgm@gnu.org>
6171
6172 * echistory.el (electric-command-history): Remove call to deleted func.
6173
6174 * play/landmark.el (landmark-mode): Fix typos.
6175
6176 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6177 Check cvs-sort-ignore-file is bound.
6178
6179 * savehist.el: No need for cl when compiling on Emacs.
6180
6181 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6184 (bug#15338).
6185 (eshell-self-insert-command, eshell-send-invisible):
6186 Remove unused argument.
6187 (eshell-handle-control-codes): Remove unused var `orig'.
6188 Avoid delete-backward-char.
6189
6190 * files.el (set-auto-mode): Simplify a bit further.
6191
6192 2013-09-11 Glenn Morris <rgm@gnu.org>
6193
6194 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6195 (set-auto-mode): Don't regexp-quote elements.
6196 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6197 * progmodes/cc-mode.el (interpreter-mode-alist):
6198 * progmodes/ruby-mode.el (interpreter-mode-alist):
6199 Revert previous change.
6200
6201 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * play/snake.el (snake-mode):
6204 * play/mpuz.el (mpuz-mode):
6205 * play/landmark.el (lm-mode):
6206 * play/blackbox.el (blackbox-mode):
6207 * play/5x5.el (5x5-mode):
6208 * obsolete/options.el (Edit-options-mode):
6209 * net/quickurl.el (quickurl-list-mode):
6210 * net/newst-treeview.el (newsticker-treeview-mode):
6211 * mail/rmailsum.el (rmail-summary-mode):
6212 * mail/mspools.el (mspools-mode):
6213 * locate.el (locate-mode):
6214 * ibuffer.el (ibuffer-mode):
6215 * emulation/ws-mode.el (wordstar-mode):
6216 * emacs-lisp/debug.el (debugger-mode):
6217 * array.el (array-mode):
6218 * net/eudc.el (eudc-mode): Use define-derived-mode.
6219 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6220 Move initialization into declaration.
6221 (mairix-searches-mode): Use define-derived-mode.
6222 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6223 (eudc-edit-hotlist): Use dolist.
6224 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6225 (Man-mode): Use define-derived-mode.
6226 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6227 (Info-edit-mode): Use define-derived-mode.
6228 (Info-cease-edit): Use Info-mode.
6229 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6230 into declaration.
6231 (eshell-mode): Use define-derived-mode.
6232 * chistory.el (command-history-mode-map): Rename from
6233 command-history-map.
6234 (command-history-mode): Use define-derived-mode.
6235 (Command-history-setup): Remove function.
6236 * calc/calc.el (calc-trail-mode-map): New var.
6237 (calc-trail-mode): Use define-derived-mode.
6238 (calc-trail-buffer): Set calc-main-buffer manually.
6239 * bookmark.el (bookmark-insert-annotation): New function.
6240 (bookmark-edit-annotation): Use it.
6241 (bookmark-edit-annotation-mode): Make it a proper major mode.
6242 (bookmark-send-edited-annotation): Use derived-mode-p.
6243 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6244 closer to its ideal place. Use \' to match EOS.
6245
6246 * profiler.el (profiler-calltree-find): Use function-equal.
6247
6248 2013-09-10 Glenn Morris <rgm@gnu.org>
6249
6250 * files.el (interpreter-mode-alist): Convert to regexps.
6251 (set-auto-mode): Adapt for this. (Bug#15306)
6252 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6253 Comment out unused variable.
6254 * progmodes/cc-mode.el (interpreter-mode-alist):
6255 * progmodes/python.el (interpreter-mode-alist):
6256 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6257 * progmodes/sh-script.el (sh-set-shell):
6258 No longer use interpreter-mode-alist to get list of shells.
6259
6260 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6261
6262 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * simple.el: Use set-temporary-overlay-map for universal-argument.
6265 (universal-argument-map): Don't use default-bindings (bug#15317).
6266 Bind switch-frame explicitly. Replace universal-argument-minus with
6267 a conditional binding.
6268 (universal-argument-num-events, saved-overriding-map): Remove.
6269 (restore-overriding-map): Remove.
6270 (universal-argument--mode): Rename from save&set-overriding-map,
6271 and rewrite.
6272 (universal-argument, universal-argument-more, negative-argument)
6273 (digit-argument): Adjust accordingly.
6274 (universal-argument-minus): Remove.
6275 (universal-argument-other-key): Remove.
6276
6277 * subr.el (with-demoted-errors): Add `format' argument.
6278
6279 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6282 `tramp-cleanup-connection'.
6283
6284 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6285 parameters KEEP-DEBUG and KEEP-PASSWORD.
6286
6287 * net/tramp.el (tramp-file-name-handler):
6288 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6289 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6290 (tramp-maybe-open-connection):
6291 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6292 Use `tramp-cleanup-connection'.
6293
6294 * net/tramp-sh.el (tramp-maybe-open-connection):
6295 Catch 'uname-changed inside the progress reporter.
6296
6297 2013-09-10 Glenn Morris <rgm@gnu.org>
6298
6299 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6300
6301 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6302 returns "alternate access method" in mode (eg "-rw-r--r--.").
6303
6304 2013-09-08 Glenn Morris <rgm@gnu.org>
6305
6306 * saveplace.el (load-save-place-alist-from-file):
6307 Demote errors. (Bug#15305)
6308
6309 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6310
6311 Improve compatibility with older Emacsen, and XEmacs.
6312
6313 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6314 only if it is bound. It isn't for XEmacs.
6315 (with-tramp-progress-reporter): Do not let-bind `result'.
6316 This yields to scoping errors in XEmacs.
6317 (tramp-handle-make-auto-save-file-name): New function, moved from
6318 tramp-sh.el.
6319
6320 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6321 for `make-auto-save-file-name'.
6322 (tramp-adb--gnu-switches-to-ash):
6323 Use `tramp-compat-replace-regexp-in-string'.
6324
6325 * net/tramp-cache.el (tramp-cache-print): Call
6326 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6327
6328 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6329 bound. It isn't for XEmacs.
6330
6331 * net/tramp-compat.el (tramp-compat-copy-file):
6332 Catch `wrong-number-of-arguments' error.
6333 (tramp-compat-replace-regexp-in-string): New defun.
6334
6335 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6336 for `make-auto-save-file-name'.
6337 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6338 `copy-file'.
6339 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6340 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6341 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6342
6343 * net/tramp-gw.el (tramp-gw-open-network-stream):
6344 Use `tramp-compat-replace-regexp-in-string'.
6345
6346 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6347 Call `tramp-handle-make-auto-save-file-name'.
6348 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6349 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6350 (tramp-sh-file-inotifywait-process-filter):
6351 Use `tramp-compat-replace-regexp-in-string'.
6352 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6353
6354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6355 for `make-auto-save-file-name'.
6356 (tramp-smb-handle-copy-directory):
6357 Call `tramp-compat-replace-regexp-in-string'.
6358 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6359 (tramp-smb-handle-copy-file): Improve error message.
6360 (tramp-smb-handle-rename-file): Rename directly only in case
6361 `newname' does not exist yet. This is a restriction of smbclient.
6362 (tramp-smb-maybe-open-connection): Rerun the function only when
6363 `auth-sources' is non-nil.
6364
6365 2013-09-08 Kenichi Handa <handa@gnu.org>
6366
6367 * international/characters.el: Set category "^" (Combining) for
6368 more characters.
6369
6370 2013-09-07 Alan Mackenzie <acm@muc.de>
6371
6372 Correctly fontify Java class constructors.
6373 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6374 in Java Mode.
6375 (c-recognize-typeless-decls): Set the Java value to t.
6376 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6377 While handling a "(", add a check for, effectively, Java, and handle a
6378 "typeless" declaration there.
6379
6380 2013-09-07 Roland Winkler <winkler@gnu.org>
6381
6382 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6383 field subtitle for entry type book.
6384
6385 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * minibuffer.el: Make minibuffer-complete call completion-in-region
6388 rather than other way around.
6389 (completion--some, completion-pcm--find-all-completions):
6390 Don't delay signals when debugging.
6391 (minibuffer-completion-contents): Beware fields within the
6392 minibuffer contents.
6393 (completion-all-sorted-completions): Use defvar-local.
6394 (completion--do-completion, completion--cache-all-sorted-completions)
6395 (completion-all-sorted-completions, minibuffer-force-complete):
6396 Add args `beg' and `end'.
6397 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6398 (minibuffer-complete): Use completion-in-region.
6399 (completion-complete-and-exit): New fun, extracted from
6400 minibuffer-complete-and-exit.
6401 (minibuffer-complete-and-exit): Use it.
6402 (completion--complete-and-exit): Rename from
6403 minibuffer--complete-and-exit.
6404 (completion-in-region--single-word): New function, extracted from
6405 minibuffer-complete-word.
6406 (minibuffer-complete-word): Use it.
6407 (display-completion-list): Make `common-substring' argument obsolete.
6408 (completion--in-region): Call completion--in-region-1 instead of
6409 minibuffer-complete.
6410 (completion-help-at-point): Pass boundaries to
6411 minibuffer-completion-help as args rather than via an overlay.
6412 (completion-pcm--string->pattern): Use `any-delim'.
6413 (completion-pcm--optimize-pattern): New function.
6414 (completion-pcm--pattern->regex): Handle `any-delim'.
6415 * icomplete.el (icomplete-forward-completions)
6416 (icomplete-backward-completions, icomplete-completions):
6417 Adjust calls to completion-all-sorted-completions and
6418 completion--cache-all-sorted-completions.
6419 (icomplete-with-completion-tables): Default to t.
6420 * emacs-lisp/crm.el (crm--current-element): Rename from
6421 crm--select-current-element. Don't put an overlay but return the
6422 boundaries instead.
6423 (crm--completion-command): Take two new args to bind to the boundaries.
6424 (crm-completion-help): Adjust accordingly.
6425 (crm-complete): Use completion-in-region.
6426 (crm-complete-word): Use completion-in-region--single-word.
6427 (crm-complete-and-exit): Use completion-complete-and-exit.
6428
6429 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6432 than dynamically.
6433
6434 2013-09-06 Juri Linkov <juri@jurta.org>
6435
6436 * info.el (Info-display-images-node): When image file doesn't exist
6437 display text version of the image if it's provided in the Info file.
6438 Otherwise, display the location of missing image from SRC attribute.
6439 Add help-echo text property from ALT attribute. (Bug#15279)
6440
6441 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6444 (edit-abbrevs-mode): Use define-derived-mode.
6445
6446 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6447 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6448 that it's defined.
6449 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6450 Use define-derived-mode.
6451
6452 * epg.el (epg-start-encrypt): Minor CSE simplification.
6453
6454 2013-09-06 William Xu <william.xwl@gmail.com>
6455
6456 * arc-mode.el: Add support for 7za (bug#15264).
6457 (archive-7z-program): New var.
6458 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6459 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6460 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6461
6462 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6463
6464 Remove URL syntax.
6465
6466 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6467 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6468 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6469 (tramp-postfix-host-format, tramp-file-name-regexp)
6470 (tramp-completion-file-name-regexp)
6471 (tramp-completion-dissect-file-name)
6472 (tramp-handle-substitute-in-file-name): Remove 'url case.
6473 (tramp-file-name-regexp-url)
6474 (tramp-completion-file-name-regexp-url): Remove constants.
6475
6476 2013-09-06 Glenn Morris <rgm@gnu.org>
6477
6478 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6479
6480 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6481
6482 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6483 keywords" below "here-doc beginnings" (Bug#15270).
6484
6485 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * subr.el (pop): Use `car-safe'.
6488 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6489 to detect unused `pop' return value.
6490
6491 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6492 var `block-regexp'.
6493 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6494 (python-fill-string): Remove unused var `marker'.
6495 (python-skeleton-add-menu-items): Remove unused var `items'.
6496
6497 * international/mule-cmds.el: Require CL.
6498 (find-coding-systems-for-charsets): Avoid add-to-list.
6499 (sanitize-coding-system-list): New function, extracted from
6500 select-safe-coding-system-interactively.
6501 (select-safe-coding-system-interactively): Use it.
6502 (read-input-method-name): Accept symbols for `default'.
6503
6504 * emacs-lisp/advice.el (defadvice): Add indent rule.
6505
6506 2013-09-05 Daniel Hackney <dan@haxney.org>
6507
6508 * dired-x.el:
6509 * net/ange-ftp.el:
6510 * net/browse-url.el:
6511 * net/dbus.el:
6512 * net/eudc.el:
6513 * net/eudcb-ldap.el:
6514 * net/eww.el:
6515 * net/imap.el:
6516 * printing.el:
6517 * vc/ediff-diff.el:
6518 * vc/ediff-init.el:
6519 * vc/ediff-merg.el:
6520 * vc/ediff-mult.el:
6521 * vc/ediff-util.el:
6522 * vc/ediff-wind.el:
6523 * vc/ediff.el:
6524 * vc/emerge.el:
6525 * vc/pcvs.el:
6526 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6527 byte compiler. Remove some unused let-bound variables.
6528
6529 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6532 a "ref-cell", since it gets better optimized (bug#14883).
6533
6534 2013-09-05 Glenn Morris <rgm@gnu.org>
6535
6536 * progmodes/cc-awk.el (c-forward-sws): Declare.
6537
6538 2013-09-04 Glenn Morris <rgm@gnu.org>
6539
6540 * generic-x.el [rul-generic-mode]: Require cc-mode.
6541 (c++-mode-syntax-table): Declare.
6542 (rul-generic-mode-syntax-table): Init in the defvar.
6543
6544 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6547 (vc-do-command, vc-set-async-update):
6548 * vc/vc-mtn.el (vc-mtn-dir-status):
6549 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6550 (vc-hg-pull, vc-hg-merge-branch):
6551 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6552 (vc-git-merge-branch):
6553 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6554 (vc-cvs-dir-status-files):
6555 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6556 (vc-bzr-dir-status-files):
6557 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6558 * vc/vc-annotate.el: Use lexical-binding.
6559 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6560 (vc-sentinel-movepoint): Declare.
6561 (vc-annotate): Don't use `goto-line'.
6562 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6563 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6564 (vc-sentinel-movepoint): Declare.
6565 * vc/vc-svn.el: Use lexical-binding.
6566 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6567 * vc/vc-sccs.el:
6568 * vc/vc-rcs.el: Use lexical-binding.
6569
6570 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6571 `deleted'. Don't drop errors silently.
6572
6573 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6574
6575 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6576
6577 * vc/vc.el (vc-ignore): Rewrite.
6578 (vc-default-ignore): New function.
6579 (vc-default-ignore-completion-table): Use find-ignore-file.
6580
6581 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6582 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6583 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6584 Remove. Most code moved to vc.el.
6585
6586 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6589 * net/tramp-smb.el (tramp-smb-get-file-entries):
6590 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6591 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6592
6593 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6594 Update call to it.
6595 (eww-change-select): Remove unused var `properties'.
6596 (eww-make-unique-file-name): Remove unused var `base'.
6597
6598 * finder.el (finder-compile-keywords): Don't mess with windows.
6599
6600 * calculator.el (calculator-funcall): Fix typo in last change.
6601
6602 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6603
6604 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6605 <pkg>-autoloads.el file stop us.
6606
6607 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6608 warnings, and factor out common code.
6609
6610 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6611
6612 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6613 two-character operators and whether the character preceding them
6614 changes their meaning (Bug#15208).
6615
6616 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6617
6618 Format code sent to Python shell for robustness.
6619 * progmodes/python.el (python-shell-buffer-substring):
6620 New function.
6621 (python-shell-send-region, python-shell-send-buffer): Use it.
6622
6623 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6624
6625 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6626 * net/tramp.el (tramp-user-error): ... here.
6627 (tramp-find-method, tramp-check-proper-host)
6628 (tramp-dissect-file-name, tramp-debug-message)
6629 (tramp-handle-shell-command):
6630 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6631 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6632
6633 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6634
6635 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6636
6637 * avoid.el (mouse-avoidance-point-position)
6638 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6639 returns nil.
6640
6641 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6642
6643 * progmodes/python.el (python-shell-completion-get-completions):
6644 Drop use of deleted `comint-last-prompt-overlay'.
6645 (python-nav-if-name-main): New command.
6646
6647 2013-09-01 Glenn Morris <rgm@gnu.org>
6648
6649 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6650 Avoid leading space in $wins. Otherwise the sed command used by
6651 eg compile-main ends up containing "/*.el". (Bug#15170)
6652
6653 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6654
6655 2013-08-30 Glenn Morris <rgm@gnu.org>
6656
6657 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6658 Fix is-this-a-directory logic. (Bug#15220)
6659
6660 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * textmodes/css-mode.el: Use SMIE.
6663 (css-smie-grammar): New var.
6664 (css-smie--forward-token, css-smie--backward-token)
6665 (css-smie-rules): New functions.
6666 (css-mode): Use them.
6667 (css-navigation-syntax-table): Remove var.
6668 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6669 (css-indent-calculate, css-indent-line): Remove functions.
6670
6671 Misc changes to reduce use of `(lambda...); and other cleanups.
6672 * cus-edit.el: Use lexical-binding.
6673 (customize-push-and-save, customize-apropos)
6674 (custom-buffer-create-internal): Use closures.
6675 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6676 * progmodes/ada-xref.el: Use setq.
6677 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6678 * dframe.el: Use lexical-binding.
6679 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6680 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6681 * descr-text.el: Use lexical-binding.
6682 (describe-text-widget, describe-text-sexp, describe-property-list):
6683 Use closures.
6684 * comint.el (comint-history-isearch-push-state): Use a closure.
6685 * calculator.el: Use lexical-binding.
6686 (calculator-number-to-string): Make it work with lexical-binding.
6687 (calculator-funcall): Same and use cl-letf.
6688
6689 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6690 (lisp--company-doc-string, lisp--company-location): New functions.
6691 (lisp-completion-at-point): Use them to improve Company support.
6692
6693 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6694 params of lambda expressions.
6695 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6696 (ruby-smie--opening-pipe-p): New function.
6697 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6698 symbols and matched |...| for formal params.
6699 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6700 from being treated as hanging. Handle "rescue".
6701
6702 2013-08-29 Glenn Morris <rgm@gnu.org>
6703
6704 * progmodes/cc-engine.el (c-pull-open-brace):
6705 Move definition before use.
6706
6707 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6710 are immutable. Don't use `unsafe' any more.
6711 (cl--defsubst-expand): Don't substitute at the same time as keeping
6712 a residual unused let-binding. Don't use `unsafe' any more.
6713
6714 2013-08-29 Glenn Morris <rgm@gnu.org>
6715
6716 * calendar/cal-china.el (calendar-chinese-year-cache):
6717 Recenter on 2015.
6718
6719 * nxml/nxml-util.el (nxml-debug-clear-inside):
6720 Use cl-loop rather than loop.
6721
6722 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6723
6724 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6725
6726 2013-08-28 Glenn Morris <rgm@gnu.org>
6727
6728 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6729
6730 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6731
6732 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6733
6734 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * simple.el (repeat-complex-command--called-interactively-skip):
6737 New function.
6738 (repeat-complex-command): Use it (bug#14136).
6739
6740 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6741 (c-define-abbrev-table): Add `doc' argument.
6742 (c-mode-abbrev-table, c++-mode-abbrev-table)
6743 (objc-mode-abbrev-table, java-mode-abbrev-table)
6744 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6745 (awk-mode-abbrev-table): Use it.
6746 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6747 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6748 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6749 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6750 Move initialization into the declaration; and remove any
6751 autoload cookie.
6752
6753 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6754 and dynamic let binding.
6755
6756 * vc/smerge-mode.el: Remove redundant :group args.
6757
6758 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6759 to load-path.
6760
6761 2013-08-28 Juri Linkov <juri@jurta.org>
6762
6763 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6764 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6765 (isearch-other-meta-char): Handle an undefined shifted printing
6766 character by downshifting it. (Bug#15200)
6767
6768 2013-08-28 Juri Linkov <juri@jurta.org>
6769
6770 * isearch.el (isearch-search): Change regexp error message for
6771 non-regexp searches. (Bug#15166)
6772
6773 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6774
6775 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6776 for portability to hosts where /bin/sh has problems.
6777
6778 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6781
6782 2013-08-27 Juri Linkov <juri@jurta.org>
6783
6784 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6785 in the keyboard macro. (Bug#15126)
6786
6787 2013-08-27 Juri Linkov <juri@jurta.org>
6788
6789 * isearch.el (isearch-quote-char): Comment out converting unibyte
6790 to multibyte, thus syncing with its `quoted-insert' counterpart.
6791 (Bug#15166)
6792
6793 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6794
6795 * window.el (display-buffer-use-some-window): Add missing
6796 argument in call of get-largest-window (Bug#15185).
6797 Reported by Stephen Leake.
6798
6799 2013-08-27 Glenn Morris <rgm@gnu.org>
6800
6801 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6802
6803 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6806 from a matcher-function unless there's no more matches (bug#15161).
6807
6808 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6809
6810 * minibuffer.el: Revert change from 2013-08-20.
6811
6812 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6813 with text property `tramp-default', if appropriate.
6814 (tramp-check-proper-host): New defun.
6815 (tramp-dissect-file-name): Do not check hostname. Revert change
6816 of 2013-03-18.
6817 (tramp-backtrace): Make VEC-OR-PROC optional.
6818
6819 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6820 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6821 * net/tramp-sh.el (tramp-maybe-open-connection):
6822 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6823 Apply `tramp-check-proper-host'.
6824
6825 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6826
6827 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6828 lambda expression in order to have `describe-variable' display it.
6829
6830 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6831
6832 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6833 BUF can be optional. (Bug#15186)
6834
6835 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6836
6837 * progmodes/flymake.el (flymake-get-real-file-name-function):
6838 Fix broken customization. (Bug#15184)
6839
6840 2013-08-25 Alan Mackenzie <acm@muc.de>
6841
6842 Improve indentation of bracelists defined by macros (without "=").
6843
6844 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6845 expansion begins with "{", regard it as bracelist when it doesn't
6846 contain a ";".
6847
6848 Parse C++ inher-intro when there's a template split over 2 lines.
6849
6850 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6851 rigorously the search for "class" etc. followed by ":".
6852
6853 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6854 random languages a regexp which never matches rather than nil.
6855
6856 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6857
6858 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6859 (c-awk-regexp-one-line-possibly-open-char-list-re)
6860 (c-awk-one-line-possibly-open-regexp-re)
6861 (c-awk-one-line-non-syn-ws*-re): Remove.
6862 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6863 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6864 (c-awk-space*-unclosed-regexp-/-re): New constants.
6865 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6866 aren't regexp delimiters.
6867
6868 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6869 handling for a rare situation in AWK Mode involving unterminated
6870 strings/regexps.
6871
6872 2013-08-23 Glenn Morris <rgm@gnu.org>
6873
6874 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6875
6876 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6877
6878 * files.el (create-file-buffer): If the result would begin with
6879 spaces, prepend a "|" instead of removing them. (Bug#15162)
6880
6881 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6884 text-properties (bug#15155).
6885
6886 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6887 exist any more.
6888 (calc-keypad-redraw): Remove unused var `pad'.
6889 (calc-keypad-press): Remove unused var `menu'.
6890
6891 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6892
6893 * window.el (display-buffer-pop-up-frame):
6894 Call pop-up-frame-function with BUFFER current so `make-frame' will
6895 use it as the new frame's buffer (Bug#15133).
6896
6897 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * calendar/timeclock.el: Minor cleanups.
6900 (timeclock-ask-before-exiting, timeclock-use-display-time):
6901 Use `symbol'.
6902 (timeclock-modeline-display): Define as alias before the
6903 actual definition.
6904 (timeclock-mode-line-display): Use define-minor-mode.
6905 (timeclock-day-list-template): Make it a function, add an argument.
6906 (timeclock-day-list-required, timeclock-day-list-length)
6907 (timeclock-day-list-debt, timeclock-day-list-span)
6908 (timeclock-day-list-break): Adjust calls accordingly.
6909
6910 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6911
6912 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6913 Use read--expression so that completion works again.
6914
6915 2013-08-21 Sam Steingold <sds@gnu.org>
6916
6917 Add rudimentary inferior shell interaction
6918 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6919 (sh-set-shell): Reset it.
6920 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6921 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6922
6923 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 * align.el: Use lexical-binding.
6926 (align-region): Simplify accordingly.
6927
6928 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6929
6930 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6931
6932 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6933 `non-essential' up.
6934
6935 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6936
6937 * net/tramp.el:
6938 * net/tramp-adb.el:
6939 * net/tramp-cmds.el:
6940 * net/tramp-ftp.el:
6941 * net/tramp-gvfs.el:
6942 * net/tramp-gw.el:
6943 * net/tramp-sh.el: Don't wrap external variable declarations by
6944 `eval-when-compile'.
6945
6946 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6947
6948 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6949 now that Emacs supports ImageMagick animations.
6950
6951 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6952
6953 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6954 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6955
6956 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (mouse-autoselect-window-select): Do autoselect when
6959 mouse pointer is on margin.
6960
6961 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6962
6963 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6964
6965 2013-08-16 Glenn Morris <rgm@gnu.org>
6966
6967 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6968 Handle "Remote Directory" response of some clients. (Bug#15058)
6969
6970 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6971 Tweak warning. (Bug#14926)
6972
6973 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6974 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6975
6976 * image-mode.el (image-mode-map): Add menu items to reverse,
6977 increase, decrease, reset animation speed.
6978 (image--set-speed, image-increase-speed, image-decrease-speed)
6979 (image-reverse-speed, image-reset-speed): New functions.
6980 (image-mode-map): Add bindings for speed commands.
6981
6982 * image.el (image-animate-get-speed, image-animate-set-speed):
6983 New functions.
6984 (image-animate-timeout): Respect image :speed property.
6985
6986 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6989 previous line (bug#15101).
6990 (debugger-eval-expression, debugger-record-expression):
6991 Use read--expression (bug#15102).
6992
6993 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6994
6995 Remove byte compiler warnings, visible when compiling with
6996 `byte-compile-force-lexical-warnings' set to t.
6997
6998 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6999 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7000 (tramp-handle-unhandled-file-name-directory)
7001 (tramp-handle-file-notify-add-watch, tramp-action-login)
7002 (tramp-action-succeed, tramp-action-permission-denied)
7003 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7004 arguments with "_".
7005
7006 * net/tramp-adb.el (tramp-adb-parse-device-names)
7007 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7008 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7009 (tramp-adb-handle-file-truename): Remove unused arguments.
7010
7011 * net/tramp-cache.el (tramp-flush-directory-property)
7012 (tramp-flush-connection-property, tramp-list-connections)
7013 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7014
7015 * net/tramp-compat.el (tramp-compat-make-temp-file):
7016 Rename FILENAME to F.
7017
7018 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7019 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7020 (tramp-zeroconf-parse-workstation-device-names)
7021 (tramp-zeroconf-parse-webdav-device-names)
7022 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7023
7024 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7025 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7026
7027 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7028 arguments.
7029 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7030 (tramp-sh-handle-insert-file-contents-literally)
7031 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7032 with "_".
7033 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7034 Remove unused variables.
7035
7036 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7037 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7038 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7039
7040 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7041 Make them a defconst.
7042 (tramp-uuencode-region): Remove unused variable.
7043
7044 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * frameset.el (frameset--prop-setter): New function.
7047 (frameset-prop): Add gv-setter declaration.
7048 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7049 parameter was already set in FILTERED. Doc fix.
7050 (frameset--record-minibuffer-relationships): Allow saving a
7051 minibufferless frame without its corresponding minibuffer frame.
7052 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7053 frame, if the frame id matches.
7054 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7055 frames before orphaned ones.
7056 (frameset-restore): Warn about orphaned windows, instead of error out.
7057
7058 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7059
7060 * window.el (window-make-atom): Don't overwrite parameter
7061 already present.
7062 (display-buffer-in-atom-window): Handle special case where we
7063 split an already atomic window.
7064 (window--major-non-side-window, display-buffer-in-side-window)
7065 (window--side-check): Ignore minibuffer window when walking
7066 window tree.
7067 (window-deletable-p): Return 'frame only if no other frame uses
7068 our minibuffer window.
7069 (record-window-buffer): Run buffer-list-update-hook.
7070 (split-window): Make sure window--check-frame won't destroy an
7071 existing atomic window in case the new window gets nested
7072 inside.
7073 (display-buffer-at-bottom): Ignore minibuffer window when
7074 walking window tree. Don't split a side window.
7075 (pop-to-buffer): Don't set-buffer here, the select-window call
7076 should do that.
7077 (mouse-autoselect-window-select): Autoselect only if we are in the
7078 text portion of the window.
7079
7080 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7081
7082 * net/shr.el (shr-parse-image-data): New function to grab both the
7083 data itself and the Content-Type.
7084 (shr-put-image): Use it.
7085
7086 * net/eww.el (eww-display-image): Ditto.
7087
7088 * image.el (image-content-type-suffixes): New variable.
7089
7090 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7091
7092 * progmodes/python.el (python-imenu--build-tree)
7093 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7094
7095 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7096
7097 * simple.el (backward-word): Mention the optional argument.
7098
7099 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * frameset.el (frameset--make): Rename constructor from make-frameset.
7102 (frameset-p, frameset-valid-p): Don't autoload.
7103 (frameset-valid-p): Use normal accessors.
7104
7105 2013-08-13 Glenn Morris <rgm@gnu.org>
7106
7107 * progmodes/compile.el (compile-command): Tweak example in doc.
7108 * obsolete/scribe.el (scribe-mode):
7109 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7110
7111 * mail/feedmail.el (feedmail-confirm-outgoing)
7112 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7113
7114 * cus-start.el (truncate-partial-width-windows): Fix type.
7115
7116 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7117
7118 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7119
7120 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/timer.el (timer--time-setter): New function.
7123 (timer--time): Use it as gv-setter.
7124
7125 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7126 setter is not a symbol.
7127
7128 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7129
7130 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7131 if sending fails. This makes debugging easier.
7132
7133 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7136 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7137 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7138
7139 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7140
7141 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7142
7143 2013-08-12 Glenn Morris <rgm@gnu.org>
7144
7145 * format.el (format-annotate-function):
7146 Handle read-only text properties in the source. (Bug#14887)
7147
7148 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7149
7150 * net/eww.el (eww-display-html): Ignore coding system errors.
7151 One web site uses "utf-8lias" as the coding system.
7152
7153 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7154
7155 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7156
7157 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7158
7159 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7160 (tutorial--detailed-help): Remove unused local variables.
7161 (tutorial--save-tutorial-to): Use ignore-errors.
7162 (help-with-tutorial): Use looking-at-p.
7163
7164 * view.el (view-buffer-other-window, view-buffer-other-frame):
7165 Mark unused arguments.
7166
7167 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7168 (woman-select-symbol-fonts, woman, woman-find-file)
7169 (woman-insert-file-contents, woman-non-underline-faces):
7170 Use string-match-p.
7171 (woman1-unquote): Move declaration.
7172
7173 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7174 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7175 argument. Remove unused local variable.
7176 (xml-parse-elem-type): Use string-match-p.
7177 (xml-substitute-numeric-entities): Use ignore-errors.
7178
7179 * calculator.el (calculator): Mark unused argument.
7180 (calculator-paste, calculator-quit, calculator-integer-p):
7181 Use ignore-errors.
7182 (calculator-string-to-number, calculator-decimal, calculator-exp)
7183 (calculator-op-or-exp): Use string-match-p.
7184
7185 * dired.el (dired-buffer-more-recently-used-p): Declare.
7186 (dired-insert-set-properties, dired-insert-old-subdirs):
7187 Use ignore-errors.
7188
7189 * dired-aux.el (dired-compress): Use ignore-errors.
7190 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7191 (dired-do-async-shell-command, dired-do-shell-command)
7192 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7193 (dired-insert-subdir-validate): Use string-match-p.
7194 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7195 (dired-add-entry): Use string-match-p, looking-at-p.
7196 (dired-insert-subdir-newpos): Remove unused local variable.
7197
7198 * filenotify.el (file-notify-callback): Remove unused local variable.
7199
7200 * filesets.el (filesets-error): Mark unused argument.
7201 (filesets-which-command-p, filesets-filter-dir-names)
7202 (filesets-directory-files, filesets-get-external-viewer)
7203 (filesets-ingroup-get-data): Use string-match-p.
7204
7205 * find-file.el (ff-other-file-name, ff-other-file-name)
7206 (ff-find-the-other-file, ff-cc-hh-converter):
7207 Remove unused local variables.
7208 (ff-get-file-name): Use string-match-p.
7209 (ff-all-dirs-under): Use ignore-errors.
7210
7211 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7212 (follow-select-if-visible): Remove unused local variable.
7213
7214 * forms.el (read-file-filter): Move declaration.
7215 (forms--make-format, forms--make-parser, forms-insert-record):
7216 Quote function with #'.
7217 (forms--update): Use string-match-p. Quote function with #'.
7218
7219 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7220 (help-make-xrefs): Use looking-at-p.
7221 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7222
7223 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7224 (ibuffer-confirm-operation-on): Use string-match-p.
7225
7226 * msb.el (msb-item-handler, msb-dired-item-handler):
7227 Mark unused arguments.
7228
7229 * ses.el (ses-decode-cell-symbol)
7230 (ses-kill-override): Remove unused local variable.
7231 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7232 (ses-load): Use ignore-errors, looking-at-p.
7233 (ses-jump-safe): Use ignore-errors.
7234 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7235
7236 * tabify.el (untabify, tabify): Mark unused arguments.
7237
7238 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7239 Mark unused argument.
7240 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7241 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7242
7243 * emacs-lisp/timer.el (timer--time): Define setter with
7244 gv-define-setter to avoid deprecation warning.
7245
7246 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7247 (*record-cmpl-statistics-p*): Remove (was commented out).
7248 (cmpl-statistics-block): Remove (body was commented out).
7249 All callers changed.
7250 (add-completions-from-buffer, load-completions-from-file):
7251 Remove unused variables.
7252
7253 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7254
7255 * filecache.el (file-cache-delete-file-list):
7256 Print message only when told so.
7257 (file-cache-files-matching): Use #' in mapconcat argument.
7258
7259 * ffap.el (ffap-url-at-point): Fix reference to variable
7260 thing-at-point-default-mail-uri-scheme.
7261
7262 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * subr.el (define-error): New function.
7265 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7266 error-file-not-found and define with define-error.
7267 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7268 and define with define-error.
7269 * userlock.el (file-locked, file-supersession):
7270 * simple.el (mark-inactive):
7271 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7272 * progmodes/ada-mode.el (ada-mode-errors):
7273 * play/life.el (life-extinct):
7274 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7275 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7276 * nxml/rng-util.el (rng-error):
7277 * nxml/rng-uri.el (rng-uri-error):
7278 * nxml/rng-match.el (rng-compile-error):
7279 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7280 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7281 * nxml/nxml-rap.el (nxml-scan-error):
7282 * nxml/nxml-outln.el (nxml-outline-error):
7283 * net/soap-client.el (soap-error):
7284 * net/gnutls.el (gnutls-error):
7285 * net/ange-ftp.el (ftp-error):
7286 * mpc.el (mpc-proc-error):
7287 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7288 (json-number-format, json-string-escape, json-string-format)
7289 (json-key-format, json-object-format):
7290 * jka-compr.el (compression-error):
7291 * international/quail.el (quail-error):
7292 * international/kkc.el (kkc-error):
7293 * emacs-lisp/ert.el (ert-test-failed):
7294 * calc/calc.el (calc-error, inexact-result, math-overflow)
7295 (math-underflow):
7296 * bookmark.el (bookmark-error-no-filename):
7297 * epg.el (epg-error): Define with define-error.
7298
7299 * time.el (display-time-event-handler)
7300 (display-time-next-load-average): Don't call sit-for since it seems
7301 unnecessary (bug#15045).
7302
7303 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7304 Use #' instead of ' to quote functions.
7305 (checkdoc-output-mode): Use setq-local.
7306 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7307 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7308 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7309 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7310 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7311 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7312 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7313 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7314
7315 * ido.el (ido-completion-help): Fix up compiler warning.
7316
7317 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * frameset.el (frameset-p): Add autoload cookie.
7320 (frameset--jump-to-register): New function, based on code moved from
7321 register.el.
7322 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7323
7324 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7325 (frameset-restore, frameset-save, frameset-session-filter-alist):
7326 Remove declarations.
7327 (register-alist): Doc fix.
7328 (frameset-to-register): Move to frameset.el.
7329 (jump-to-register, describe-register-1): Remove frameset-specific code.
7330
7331 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7332
7333 * allout-widgets.el (allout-widgets-pre-command-business)
7334 (allout-widgets-post-command-business)
7335 (allout-widgets-after-change-handler)
7336 (allout-decorate-item-and-context, allout-set-boundary-marker)
7337 (allout-body-modification-handler)
7338 (allout-graphics-modification-handler): Mark ignored arguments.
7339 (allout-widgets-post-command-business)
7340 (allout-widgets-exposure-change-processor)
7341 (allout-widgets-exposure-undo-processor)
7342 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7343 (allout-parse-item-at-point, allout-decorate-item-guides)
7344 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7345 * allout.el (epa-passphrase-callback-function): Declare.
7346 (allout-overlay-insert-in-front-handler)
7347 (allout-overlay-interior-modification-handler)
7348 (allout-isearch-end-handler, allout-chart-siblings)
7349 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7350 (allout-yank-processing, allout-process-exposed)
7351 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7352 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7353 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7354 (lisp-indent-defform): Mark ignored arguments.
7355 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7356 (calculate-lisp-indent): Remove unused variables.
7357 * international/characters.el (indian-2-column, arabic-2-column)
7358 (tibetan): Mark ignored arguments.
7359 (use-cjk-char-width-table): Mark ignored arguments.
7360 Remove unused variables.
7361 * international/fontset.el (build-default-fontset-data)
7362 (x-compose-font-name, create-fontset-from-fontset-spec):
7363 Mark ignored arguments.
7364 (fontset-plain-name): Remove unused variables.
7365 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7366 (keyboard-coding-system): Mark ignored arguments.
7367 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7368 * help.el (resize-temp-buffer-window):
7369 * window.el (display-buffer-in-major-side-window)
7370 (display-buffer-in-side-window, display-buffer-in-previous-window):
7371 Remove unused variables.
7372 * isearch.el (isearch-forward-symbol):
7373 * version.el (emacs-bzr-version-bzr):
7374 * international/mule-cmds.el (current-language-environment):
7375 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7376 (x-handle-display):
7377 * term/pc-win.el (x-list-fonts, x-display-planes)
7378 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7379 (x-server-version, x-display-screens, x-display-mm-height)
7380 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7381 (x-selection-owner-p, x-own-selection-internal)
7382 (x-disown-selection-internal, x-get-selection-internal)
7383 (msdos-initialize-window-system):
7384 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7385 * term/x-win.el (x-handle-no-bitmap-icon):
7386 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7387 (vc-default-find-file-hook, vc-default-extra-menu):
7388 Mark ignored arguments.
7389
7390 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7393 break-condition in the context of the debugged code (bug#12685).
7394
7395 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7396
7397 * comint.el:
7398 Do not use an overlay to highlight the last prompt. (Bug#14744)
7399 (comint-mode): Make comint-last-prompt buffer local.
7400 (comint-last-prompt): New variable.
7401 (comint-last-prompt-overlay): Remove. Superseded by
7402 comint-last-prompt.
7403 (comint-snapshot-last-prompt, comint-output-filter):
7404 Use comint-last-prompt.
7405
7406 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7409 (frameset-save): Check validity of the resulting frameset.
7410
7411 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7412
7413 * ido.el (ido-record-command): Add doc string.
7414
7415 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7416
7417 * frameset.el (frameset): Do not disable creation of the default
7418 frameset-p predicate. Doc fix.
7419 (frameset-valid-p): New function, copied from the old predicate-p.
7420 Add additional checks.
7421 (frameset-restore): Check with frameset-valid-p.
7422 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7423 (frameset-name, frameset-description, frameset-properties)
7424 (frameset-states): Add docstring.
7425 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7426 (frameset-filter-alist): Doc fixes.
7427
7428 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7429
7430 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7431
7432 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7435 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7436 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7437 (byte-compile-normal-call): Remove obsolescence check.
7438
7439 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7440
7441 * frameset.el (frameset-restore): Doc fix.
7442
7443 * register.el (frameset-frame-id, frameset-frame-with-id)
7444 (frameset-p, frameset-restore, frameset-save): Declare.
7445 (register-alist): Document framesets.
7446 (frameset-session-filter-alist): Declare.
7447 (frameset-to-register): New function.
7448 (jump-to-register): Implement jumping to framesets. Doc fix.
7449 (describe-register-1): Describe framesets.
7450
7451 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7452
7453 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7454
7455 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7456 Use lexical-binding.
7457
7458 * frameset.el (frameset): Use type vector, not list (incompatible
7459 change). Do not declare a new constructor, use the default one.
7460 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7461 `name' and `description', respectively, and add read-only slot
7462 `timestamp'. Doc fixes.
7463 (frameset-copy, frameset-persistent-filter-alist)
7464 (frameset-filter-alist, frameset-switch-to-gui-p)
7465 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7466 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7467 (frameset-filter-iconified, frameset-keep-original-display-p):
7468 Doc fixes.
7469 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7470 Rename from frameset-filter-(save|restore)-param. All callers changed.
7471 Doc fix.
7472 (frameset-p): Adapt to change to vector and be more thorough.
7473 Change arg name to OBJECT. Doc fix.
7474 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7475 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7476 All callers changed.
7477 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7478 All callers changed.
7479 (frameset--record-minibuffer-relationships): Rename from
7480 frameset--process-minibuffer-frames. All callers changed.
7481 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7482 Use new default constructor (again). Doc fix.
7483 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7484 All callers changed.
7485 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7486 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7487 Doc fix.
7488 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7489 PARAMETERS and WINDOW-STATE, respectively.
7490 (frameset-restore): Add new keyword argument PREDICATE.
7491 Reset frameset--target-display to nil. Doc fix.
7492
7493 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7496 (bat-mode): Use it.
7497 (bat-mode-syntax-table): Mark \n as end-of-comment.
7498 (bat-font-lock-keywords): Remove comment rule.
7499
7500 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7501 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7502
7503 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7504 (byte-compile-callargs-warn): Use `push'.
7505 (byte-compile-arglist-warn): Ignore higher-order "calls".
7506 (byte-compile-file-form-autoload): Use `pcase'.
7507 (byte-compile-function-form): If quoting a symbol, check that it exists.
7508
7509 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7510
7511 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7512 and add a few popular commands found in batch files.
7513 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7514 (dos-mode): Doc fixes.
7515
7516 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7519 (dos-mode): Use setq-local. Add space after "rem".
7520 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7521 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7522
7523 2013-08-07 Arni Magnusson <arnima@hafro.is>
7524
7525 * progmodes/dos.el: New file.
7526 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7527 dos-mode.
7528
7529 2013-08-06 Glenn Morris <rgm@gnu.org>
7530
7531 * calendar/calendar.el: Add new faces, and day-header-array.
7532 (calendar-weekday-header, calendar-weekend-header)
7533 (calendar-month-header): New faces.
7534 (calendar-day-header-construct): New function.
7535 (calendar-day-header-width): Also :set calendar-day-header-array.
7536 (calendar-american-month-header, calendar-european-month-header)
7537 (calendar-iso-month-header): Use calendar- faces.
7538 (calendar-generate-month):
7539 Use calendar-day-header-array for day headers; apply faces to them.
7540 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7541 (calendar-abbrev-construct): Add optional maxlen argument.
7542 (calendar-day-name-array): Doc fix.
7543 (calendar-day-name-array, calendar-abbrev-length)
7544 (calendar-day-abbrev-array):
7545 Also :set calendar-day-header-array, and maybe redraw.
7546 (calendar-day-header-array): New option. (Bug#15007)
7547 (calendar-font-lock-keywords): Set to nil and make obsolete.
7548 (calendar-day-name): Add option to use header array.
7549
7550 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7551
7552 * net/shr.el (shr-render-td): Remove debugging.
7553 (shr-render-td): Make width computation consistent by defaulting
7554 all zero-width columns to 10 characters. This may not be optimal,
7555 but it's at least consistent.
7556 (shr-make-table-1): Redo last change to fix the real problem in
7557 colspan handling.
7558
7559 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7560
7561 * files.el (cache-long-line-scans):
7562 Make obsolete alias to `cache-long-scans'.
7563
7564 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * frameset.el (frameset, frameset-filter-alist)
7567 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7568 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7569 (frameset-compute-pos): Rename from frameset--compute-pos,
7570 and add docstring.
7571 (frameset-move-onscreen): Use frameset-compute-pos.
7572 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7573
7574 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7575 Fix typos in docstrings.
7576
7577 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7578
7579 * frame.el (get-other-frame): Tiny cleanup.
7580
7581 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * vc/vc.el (vc-default-ignore-completion-table):
7584 Silence byte-compiler warning.
7585
7586 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7587 slot, which can indeed be nil.
7588 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7589 Move entry for `left' from persistent to live filter alist.
7590 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7591 Doc fixes.
7592 (frameset-filter-params): When restoring a frame, copy items added to
7593 `filtered', to avoid unwittingly modifying the original parameters.
7594 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7595 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7596
7597 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7598 to use looking-at-p instead of looking-at. (Bug#15028)
7599
7600 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 Revert introduction of isearch-filter-predicates (bug#14714).
7603 Rely on add-function instead.
7604 * isearch.el (isearch-filter-predicates): Rename it back to
7605 isearch-filter-predicate.
7606 (isearch-message-prefix): Use advice-function-mapc and advice
7607 properties to get the isearch-message-prefix.
7608 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7609 instead of run-hook-with-args-until-failure.
7610 (isearch-filter-visible): Not obsolete any more.
7611 * loadup.el: Preload nadvice.
7612 * replace.el (perform-replace): Revert to funcall
7613 instead of run-hook-with-args-until-failure.
7614 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7615 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7616 dired-isearch-filenames-toggle; make it into a proper minor mode.
7617 Use add/remove-function.
7618 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7619 Call the minor-mode rather than add/remove-hook.
7620 (dired-isearch-filter-filenames):
7621 Remove isearch-message-prefix property.
7622 * info.el (Info--search-loop): New function, extracted from Info-search.
7623 Funcall isearch-filter-predicate instead of
7624 run-hook-with-args-until-failure isearch-filter-predicates.
7625 (Info-search): Use it.
7626 (Info-mode): Use isearch-filter-predicate instead of
7627 isearch-filter-predicates.
7628
7629 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7630
7631 Do not call to `selected-window' where it is assumed by default.
7632 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7633 `window-hscroll', `window-width', `window-height', `window-buffer',
7634 `window-frame', `window-start', `window-point', `next-window'
7635 and `window-display-table'.
7636 * abbrev.el (abbrev--default-expand):
7637 * bs.el (bs--show-with-configuration):
7638 * buff-menu.el (Buffer-menu-mouse-select):
7639 * calc/calc.el (calc):
7640 * calendar/calendar.el (calendar-generate-window):
7641 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7642 (diary-make-entry):
7643 * comint.el (send-invisible, comint-dynamic-complete-filename)
7644 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7645 * completion.el (complete):
7646 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7647 * disp-table.el (describe-current-display-table):
7648 * doc-view.el (doc-view-insert-image):
7649 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7650 * ehelp.el (with-electric-help):
7651 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7652 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7653 * emacs-lisp/helper.el (Helper-help-scroller):
7654 * emulation/cua-base.el (cua--post-command-handler-1):
7655 * eshell/esh-mode.el (eshell-output-filter):
7656 * ffap.el (ffap-gnus-wrapper):
7657 * help-macro.el (make-help-screen):
7658 * hilit-chg.el (highlight-compare-buffers):
7659 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7660 * hl-line.el (global-hl-line-highlight):
7661 * icomplete.el (icomplete-simple-completing-p):
7662 * isearch.el (isearch-done):
7663 * jit-lock.el (jit-lock-stealth-fontify):
7664 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7665 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7666 * mpc.el (mpc-tagbrowser, mpc):
7667 * net/rcirc.el (rcirc-any-buffer):
7668 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7669 * play/landmark.el (landmark-max-width, landmark-max-height):
7670 * play/zone.el (zone):
7671 * progmodes/compile.el (compilation-goto-locus):
7672 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7673 * progmodes/etags.el (find-tag-other-window):
7674 * progmodes/fortran.el (fortran-column-ruler):
7675 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7676 * progmodes/verilog-mode.el (verilog-point-text):
7677 * reposition.el (reposition-window):
7678 * rot13.el (toggle-rot13-mode):
7679 * server.el (server-switch-buffer):
7680 * shell.el (shell-dynamic-complete-command)
7681 (shell-dynamic-complete-environment-variable):
7682 * simple.el (insert-buffer, set-selective-display)
7683 (delete-completion-window):
7684 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7685 (speedbar-recenter):
7686 * startup.el (fancy-splash-head):
7687 * textmodes/ispell.el (ispell-command-loop):
7688 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7689 * tutorial.el (help-with-tutorial):
7690 * vc/add-log.el (add-change-log-entry):
7691 * vc/compare-w.el (compare-windows):
7692 * vc/ediff-help.el (ediff-indent-help-message):
7693 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7694 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7695 (ediff-setup-control-frame):
7696 * vc/emerge.el (emerge-position-region):
7697 * vc/pcvs-util.el (cvs-bury-buffer):
7698 * window.el (walk-windows, mouse-autoselect-window-select):
7699 * winner.el (winner-set-conf, winner-undo): Related users changed.
7700
7701 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7702
7703 * frameset.el (frameset--set-id): Doc fix.
7704 (frameset-frame-id, frameset-frame-id-equal-p)
7705 (frameset-locate-frame-id): New functions.
7706 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7707 (frameset-restore): Use them.
7708
7709 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7710
7711 Do not call to `selected-frame' where it is assumed by default.
7712 Affected functions are `raise-frame', `redraw-frame',
7713 `frame-first-window', `frame-terminal' and `delete-frame'.
7714 * calendar/appt.el (appt-disp-window):
7715 * epg.el (epg-wait-for-completion):
7716 * follow.el (follow-delete-other-windows-and-split)
7717 (follow-avoid-tail-recenter):
7718 * international/mule.el (set-terminal-coding-system):
7719 * mail/rmail.el (rmail-mail-return):
7720 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7721 * progmodes/f90.el (f90-add-imenu-menu):
7722 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7723 * server.el (server-switch-buffer):
7724 * simple.el (delete-completion-window):
7725 * talk.el (talk):
7726 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7727 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7728 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7729 * vc/ediff.el (ediff-documentation): Related users changed.
7730 * frame.el (selected-terminal): Remove the leftover.
7731
7732 2013-08-05 Glenn Morris <rgm@gnu.org>
7733
7734 * calendar/calendar.el (calendar-generate-month):
7735 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7736 (calendar-generate-month, calendar-font-lock-keywords):
7737 Fix for calendar-day-header-width > length of any day name.
7738
7739 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * desktop.el (desktop-clear): Use new name of sort predicate.
7742
7743 * frameset.el (frameset): Add docstring. Move :version property to its
7744 own `version' slot.
7745 (frameset-copy): Rename from copy-frameset.
7746 (frameset-p): Check more thoroughly.
7747 (frameset-prop): Do not check for :version, which is no longer a prop.
7748 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7749 Use new :never value instead of t.
7750 (frameset-filter-alist): Expand and clarify docstring.
7751 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7752 (frameset-filter-minibuffer, frameset-filter-save-param)
7753 (frameset-filter-restore-param, frameset-filter-iconified):
7754 Add pointer to docstring of frameset-filter-alist.
7755 (frameset-filter-params): Rename filter values to be more meaningful:
7756 :never instead of t, and reverse the meanings of :save and :restore.
7757 (frameset--process-minibuffer-frames): Clarify error message.
7758 (frameset-save): Avoid unnecessary and confusing call to framep.
7759 Use new BOA constructor for framesets.
7760 (frameset--reuse-list): Doc fix.
7761 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7762 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7763 (frameset-minibufferless-first-p): Doc fix.
7764 Rename from frameset-sort-frames-for-deletion.
7765 (frameset-restore): Doc fixes. Use new function names.
7766 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7767
7768 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7769
7770 * desktop.el (desktop-restore-forces-onscreen)
7771 (desktop-restore-reuses-frames): Document :keyword constant values.
7772 (desktop-filter-parameters-alist): Remove, now identical to
7773 frameset-filter-alist.
7774 (desktop--filter-tty*): Remove, moved to frameset.el.
7775 (desktop-save-frameset, desktop-restore-frameset):
7776 Do not pass :filters argument.
7777
7778 * frameset.el (frameset-live-filter-alist)
7779 (frameset-persistent-filter-alist): New variables.
7780 (frameset-filter-alist): Use them. Add autoload cookie.
7781 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7782 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7783 `frameset--id' (it's supposed to be internal to frameset.el).
7784 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7785 (frameset--initial-params): New function.
7786 (frameset--get-frame): Use it. Doc fix.
7787 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7788 Accept :all, not 'all.
7789 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7790 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7791 with fbound symbols. Fix frame id matching, and remove matching ids if
7792 the frame being restored is deleted. Obey :delete.
7793
7794 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * subr.el (macrop): New function.
7797 (text-clone--maintaining): New var.
7798 (text-clone--maintain): Rename from text-clone-maintain. Use it
7799 instead of inhibit-modification-hooks.
7800
7801 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7802 a proxy, so as handle autoloads and redefinitions of the target.
7803 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7804
7805 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7806 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7807 (pcase--mutually-exclusive-p): New function.
7808 (pcase--split-consp): Use it.
7809 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7810 mutually exclusive with the current predicate.
7811
7812 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7813 (edebug-macrop): Remove. Use `macrop' instead.
7814 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7815 (ad-macro-p):
7816 * eshell/esh-cmd.el (eshell-macrop):
7817 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7818
7819 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7822 (advice-mapc): New function, using it.
7823 (advice-function-member-p): New function.
7824 (advice--normalize): Store the cdr in advice--saved-rewrite since
7825 that's the part that will be changed.
7826 (advice--symbol-function): New function.
7827 (advice-remove): Handle removal before the function is defined.
7828 Adjust to new advice--saved-rewrite.
7829 (advice-member-p): Use advice-function-member-p and
7830 advice--symbol-function.
7831
7832 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7833
7834 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7835 (frameset-filter-minibuffer): Doc fix.
7836 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7837 (frameset--set-id, frameset--process-minibuffer-frames)
7838 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7839 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7840
7841 * desktop.el (desktop-clear): Only delete frames when called
7842 interactively and desktop-restore-frames is non-nil. Doc fix.
7843 (desktop-read): Set desktop-saved-frameset to nil.
7844
7845 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7846
7847 * vc/vc.el (vc-ignore): Rewrite.
7848 (vc-default-ignore-completion-table):
7849 (vc--read-lines):
7850 (vc--add-line, vc--remove-regexp): New functions.
7851
7852 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7853 (vc-svn-ignore-completion-table): New function.
7854
7855 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7856 (vc-hg-ignore-completion-table):
7857 (vc-hg-find-ignore-file): New functions.
7858
7859 * vc/vc-git.el (vc-git-ignore): Rewrite.
7860 (vc-git-ignore-completion-table):
7861 (vc-git-find-ignore-file): New functions.
7862
7863 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7864
7865 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7866 (vc-bzr-ignore-completion-table):
7867 (vc-bzr-find-ignore-file): New functions.
7868
7869 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7870
7871 * frameset.el (frameset-prop): New function and setter.
7872 (frameset-save): Do not modify frame list passed by the caller.
7873
7874 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7877
7878 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7881 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7882
7883 * custom.el (custom-initialize-default, custom-initialize-set)
7884 (custom-initialize-reset, custom-initialize-changed): Affect the
7885 toplevel-default-value (bug#6275, bug#14586).
7886 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7887 for bug#6275.
7888
7889 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7890
7891 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7892 Add cl-def* expressions.
7893
7894 * frameset.el (frameset-filter-params): Fix order of arguments.
7895
7896 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7897
7898 Move code related to saving frames to frameset.el.
7899 * desktop.el: Require frameset.
7900 (desktop-restore-frames): Doc fix.
7901 (desktop-restore-reuses-frames): Rename from
7902 desktop-restoring-reuses-frames.
7903 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7904 (desktop-clear): Clear frames too.
7905 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7906 (desktop--filter-tty*, desktop-save, desktop-read):
7907 Use frameset functions.
7908 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7909 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7910 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7911 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7912 (desktop--process-minibuffer-frames, desktop-save-frames)
7913 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7914 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7915 (desktop--sort-states, desktop-restoring-frames-p)
7916 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7917 (desktop-restoring-frameset-p, desktop-restore-frameset)
7918 (desktop--check-dont-save, desktop-save-frameset): New functions.
7919 (desktop--app-id): New constant.
7920 (desktop-first-buffer, desktop-buffer-ok-count)
7921 (desktop-buffer-fail-count): Move before first use.
7922 * frameset.el: New file.
7923
7924 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * files.el: Use lexical-binding.
7927 (dir-locals-read-from-file): Remove unused `err' variable.
7928 (hack-dir-local-variables--warned-coding): New var.
7929 (hack-dir-local-variables): Use it to avoid repeated warnings.
7930 (make-backup-file-name--default-function): New function.
7931 (make-backup-file-name-function): Use it as default.
7932 (buffer-stale--default-function): New function.
7933 (buffer-stale-function): Use it as default.
7934 (revert-buffer-insert-file-contents--default-function): New function.
7935 (revert-buffer-insert-file-contents-function): Use it as default.
7936 (insert-directory): Avoid add-to-list.
7937
7938 * autorevert.el (auto-revert-handler): Simplify.
7939 Use buffer-stale--default-function.
7940
7941 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7942
7943 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7944
7945 * whitespace.el (whitespace-ensure-local-variables): New function.
7946 (whitespace-cleanup-region): Call it.
7947 (whitespace-turn-on): Call it.
7948
7949 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7950
7951 Complete file name handlers.
7952
7953 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7954 (tramp-handle-verify-visited-file-modtime)
7955 (tramp-handle-file-notify-rm-watch): New functions.
7956 (tramp-call-process): Do not bind `default-directory'.
7957
7958 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7959 Order alphabetically.
7960 <access-file, add-name-to-file, dired-call-process>:
7961 <dired-compress-file, file-acl, file-notify-rm-watch>:
7962 <file-ownership-preserved-p, file-selinux-context>:
7963 <make-directory-internal, make-symbolic-link, set-file-acl>:
7964 <set-file-selinux-context, set-visited-file-modtime>:
7965 <verify-visited-file-modtime>: Add handler.
7966 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7967
7968 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7969 <file-notify-add-watch, file-notify-rm-watch>:
7970 <set-file-times, set-visited-file-modtime>:
7971 <verify-visited-file-modtime>: Add handler.
7972 (with-tramp-gvfs-error-message)
7973 (tramp-gvfs-handle-set-visited-file-modtime)
7974 (tramp-gvfs-fuse-file-name): Remove.
7975 (tramp-gvfs-handle-file-notify-add-watch)
7976 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7977 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7978
7979 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7980 Order alphabetically.
7981 <file-notify-rm-watch>: Use default Tramp handler.
7982 <executable-find>: Remove private handler.
7983 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7984 `default-directory'.
7985 (tramp-sh-handle-executable-find)
7986 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7987 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7988 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7989 Do not use `format' in `tramp-message'.
7990
7991 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7992 <file-notify-rm-watch, set-visited-file-modtime>:
7993 <verify-visited-file-modtime>: Add handler.
7994 (tramp-smb-call-winexe): Do not bind `default-directory'.
7995
7996 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7997
7998 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7999
8000 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8001
8002 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8003 use it.
8004 (log-view-diff-changeset): Same.
8005 (log-view-diff-common): Call backend command `previous-revision'
8006 to find out the previous revision, in both cases. Swap the
8007 variables `to' and `fr', so that `fr' usually refers to the
8008 earlier revision (Bug#14989).
8009
8010 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8011
8012 * ibuf-ext.el (ibuffer-filter-by-filename):
8013 Make it work with dired buffers too.
8014
8015 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8016
8017 * emacs-lisp/re-builder.el (reb-color-display-p):
8018 * files.el (save-buffers-kill-terminal):
8019 * net/browse-url.el (browse-url):
8020 * server.el (server-save-buffers-kill-terminal):
8021 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8022 Prefer nil to selected-frame for the first arg of frame-parameter.
8023
8024 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8025
8026 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8027
8028 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8029
8030 * minibuffer.el (completion--twq-all): Try and preserve each
8031 completion's case choice (bug#14907).
8032
8033 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8034
8035 * net/network-stream.el (open-network-stream): Mention the new
8036 :nogreeting parameter.
8037 (network-stream-open-starttls): Use the :nogreeting parameter
8038 (bug#14938).
8039
8040 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8041
8042 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8043 more natural than popping.
8044
8045 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8046 (shr-urlify): Highlight under mouse.
8047
8048 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8049
8050 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8051
8052 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8053
8054 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8055 buffer for output.
8056
8057 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8058 point-min==1. Fix search string. Fix parentheses missing.
8059
8060 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8061 assume point-min==1. Fix search string. Fix parentheses missing.
8062
8063 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8064
8065 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8066 buffer for output.
8067
8068 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8069
8070 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8071 initial frame is minibuffer-less. (Bug#14841)
8072
8073 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8074
8075 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8076 option.
8077
8078 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8079 (tramp-maybe-open-connection): Use it.
8080
8081 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8082
8083 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8084 minimal set of parameters passed when creating a frame, because
8085 the minibuffer status of a frame cannot be changed later.
8086
8087 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8088
8089 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8090 replace-regexp-in-string and inadvertent omissions in previous change.
8091 (todo-filter-items): Ensure only file names are comma-separated in
8092 name of filtered items buffer.
8093
8094 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8095
8096 * desktop.el: Optionally force offscreen frames back onscreen.
8097 (desktop-restoring-reuses-frames): New option.
8098 (desktop--compute-pos, desktop--move-onscreen): New functions.
8099 (desktop--make-frame): Use desktop--move-onscreen.
8100
8101 2013-07-27 Alan Mackenzie <acm@muc.de>
8102
8103 Fontify a Java generic method as a function.
8104 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8105 value to t.
8106
8107 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8108
8109 * calendar/todo-mode.el: Add command to rename todo files.
8110 (todo-rename-file): New command.
8111 (todo-key-bindings-t): Add key binding for it. Change the
8112 bindings of todo-filter-regexp-items(-multifile) to use `x'
8113 instead of `r', since the latter is better suited to the new
8114 renaming command.
8115
8116 2013-07-27 Alan Mackenzie <acm@muc.de>
8117
8118 Make Java try-with-resources statement parse properly.
8119 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8120 (c-block-stmt-1-2-key): New language constants/variables.
8121 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8122 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8123 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8124 with c-block-stmt-1-2-key.
8125
8126 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8127
8128 * desktop.el (desktop--make-frame): Apply most frame parameters after
8129 creating the frame to force (partially or totally) offscreen frames to
8130 be restored as such.
8131
8132 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8133
8134 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8135 (Bug#14948)
8136
8137 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8140 `base' arg of backtrace-frame.
8141
8142 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8143
8144 * simple.el (list-processes): Doc fix.
8145
8146 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8147
8148 * desktop.el (desktop--select-frame):
8149 Try harder to reuse existing frames.
8150
8151 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8154 (edebug-eval): Use backtrace-eval.
8155 (edebug--display, edebug--recursive-edit): Don't let-bind the
8156 edebug-outer-* vars that keep track of variables we locally let-bind.
8157 (edebug-outside-excursion): Don't restore outside values of locally
8158 let-bound vars.
8159 (edebug--display): Use user-error.
8160 (cl-lexical-debug, cl-debug-env): Remove.
8161
8162 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8163
8164 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8165 are restored to be sure that they are visible before deleting any
8166 remaining ones.
8167
8168 2013-07-26 Matthias Meulien <orontee@gmail.com>
8169
8170 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8171 vc-print-root-log. (Bug#14948)
8172
8173 2013-07-26 Richard Stallman <rms@gnu.org>
8174
8175 Add aliases for encrypting mail.
8176 * epa.el (epa-mail-aliases): New option.
8177 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8178 Bind inhibit-read-only so read-only text doesn't ruin everything.
8179 (epa-mail-default-recipients): New subroutine broken out.
8180 Handle epa-mail-aliases.
8181
8182 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 Add support for lexical variables to the debugger's `e' command.
8185 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8186 vars, except for debugger-outer-match-data.
8187 (debugger-frame-number): Move check for "on a function call" from
8188 callers into it. Add `skip-base' argument.
8189 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8190 (debugger-env-macro): Only reset the state stored in non-variables,
8191 i.e. current-buffer and match-data.
8192 (debugger-eval-expression): Rewrite using backtrace-eval.
8193 * subr.el (internal--called-interactively-p--get-frame): Remove.
8194 (called-interactively-p):
8195 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8196 `base' arg of backtrace-frame instead.
8197
8198 2013-07-26 Glenn Morris <rgm@gnu.org>
8199
8200 * align.el (align-regexp): Doc fix. (Bug#14857)
8201 (align-region): Explicit error if subexpression missing/does not match.
8202
8203 * simple.el (global-visual-line-mode):
8204 Do not duplicate the mode lighter. (Bug#14858)
8205
8206 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8207
8208 * window.el (display-buffer): In display-buffer bind
8209 split-window-keep-point to t, bug#14829.
8210
8211 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8214 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8215 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8216 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8217 Change accordingly.
8218 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8219 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8220
8221 2013-07-25 Glenn Morris <rgm@gnu.org>
8222
8223 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8224
8225 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8228 parameter to modify-frame-parameters if the value has not changed;
8229 this is a workaround for bug#14949.
8230 (desktop--make-frame): On cl-delete-if call, check parameter name,
8231 not full parameter.
8232
8233 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8234
8235 * vc/vc.el (vc-ignore): New function.
8236
8237 * vc/vc-svn.el (vc-svn-ignore): New function.
8238
8239 * vc/vc-hg.el (vc-hg-ignore): New function.
8240
8241 * vc/vc-git.el (vc-git-ignore): New function.
8242
8243 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8244 (vc-dir-ignore): New function.
8245
8246 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8247 (cvs-append-to-ignore): Move here from pcvs.el.
8248
8249 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8250
8251 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8252
8253 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8254
8255 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8256 (desktop-restore-frames): Warn when deleting an existing frame failed.
8257
8258 2013-07-24 Glenn Morris <rgm@gnu.org>
8259
8260 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8261
8262 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8263
8264 * filenotify.el (file-notify-supported-p):
8265 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8266 Remove functions.
8267
8268 * autorevert.el (auto-revert-use-notify):
8269 (auto-revert-notify-add-watch):
8270 * net/tramp.el (tramp-file-name-for-operation):
8271 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8272 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8273 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8274 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8275 Remove `file-notify-supported-p' entry.
8276
8277 2013-07-24 Glenn Morris <rgm@gnu.org>
8278
8279 * printing.el: Replace all uses of deleted ps-windows-system,
8280 ps-lp-system, ps-flatten-list with lpr- versions.
8281
8282 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8285 checked with memq (bug#14935).
8286
8287 * files.el (revert-buffer-function): Use a non-nil default.
8288 (revert-buffer-preserve-modes): Declare var to
8289 provide access to the `preserve-modes' argument.
8290 (revert-buffer): Let-bind it.
8291 (revert-buffer--default): New function, extracted from revert-buffer.
8292
8293 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * lpr.el: Signal print errors more prominently.
8296 (print-region-function): Don't default to nil.
8297 (lpr-print-region): New function, extracted from print-region-1.
8298 Check lpr's return value and signal an error in case of problem.
8299 (print-region-1): Use it.
8300 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8301 versions instead.
8302 (ps-printer-name): Default to nil.
8303 (ps-printer-name-option): Default to lpr-printer-switch.
8304 (ps-print-region-function): Don't default to nil.
8305 (ps-postscript-code-directory): Simplify default.
8306 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8307 (ps-string-list, ps-eval-switch, ps-flatten-list)
8308 (ps-flatten-list-1): Remove.
8309 (ps-multibyte-buffer): Avoid setq.
8310 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8311 (print-region-function, ps-print-region-function): Don't set them here.
8312
8313 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8314
8315 * ido.el (ido-fractionp):
8316 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8317 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8318 (ido-max-directory-size, ido-max-dir-file-cache)
8319 (ido-decorations): Doc fix.
8320
8321 * ansi-color.el: Fix old URL.
8322
8323 2013-07-23 Michael R. Mauger <michael@mauger.com>
8324
8325 * progmodes/sql.el: Version 3.3
8326 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8327 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8328 (sql-interactive-remove-continuation-prompt): Rewrite, use
8329 functions above. Fix continuation prompt and complete output line
8330 handling.
8331 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8332 redirected output buffer.
8333 (sql-mode): Restore deleted code (Bug#13591).
8334
8335 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8338
8339 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8340
8341 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8342
8343 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8344 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8345 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8346
8347 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * desktop.el (desktop-clear): Simplify; remove useless checks
8350 against invalid buffer names.
8351 (desktop-list*): Use cl-list*.
8352 (desktop-buffer-info, desktop-create-buffer): Simplify.
8353
8354 2013-07-23 Leo Liu <sdl.web@gmail.com>
8355
8356 * bookmark.el (bookmark-make-record): Restore NAME as a default
8357 value. (Bug#14933)
8358
8359 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8362 extracted from autoload--insert-text.
8363 (autoload--insert-text): Remove.
8364 (autoload--print-cookie-text): New function, extracted from
8365 autoload--insert-cookie-text.
8366 (autoload--insert-cookie-text): Remove.
8367 (autoload-generate-file-autoloads): Adjust calls accordingly.
8368
8369 * winner.el (winner-hook-installed-p): Remove.
8370 (winner-mode): Simplify accordingly.
8371
8372 * subr.el (add-to-list): Fix compiler-macro when `append' is
8373 not constant. Don't use `cl-member' for the base case.
8374
8375 * progmodes/subword.el: Fix boundary case (bug#13758).
8376 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8377 own group.
8378 (subword-backward-regexp): Make it a constant.
8379 (subword-forward-internal): Don't treat a trailing capital as the
8380 beginning of a word.
8381
8382 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8383
8384 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8385 global value of tabulated-list-revert-hook (bug#14930).
8386
8387 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8388
8389 * desktop.el: Require 'cl-lib.
8390 (desktop-before-saving-frames-functions): New hook.
8391 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8392 for frames being saved. Rename from desktop--save-minibuffer-frames.
8393 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8394 Do not save frames with non-nil `desktop-dont-save' parameter.
8395 Filter out deleted frames.
8396 (desktop--find-frame): Use cl-find-if.
8397 (desktop--select-frame): Use cl-(first|second|third) to access values
8398 of desktop-mini.
8399 (desktop--make-frame): Use cl-delete-if.
8400 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8401 (desktop-restore-frames): Use cl-(first|second|third) to access values
8402 of desktop-mini. Look for visible frame at the end, not while
8403 restoring frames.
8404
8405 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8406 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8407 Use string-match-p, looking-at-p (bug#14927).
8408
8409 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8410
8411 * desktop.el (desktop-saved-frame-states):
8412 Rename from desktop--saved-states; all users changed.
8413 (desktop-save-frames): Rename from desktop--save-frames.
8414 Do not save state to desktop file.
8415 (desktop-save): Save desktop-saved-frame-states to desktop file
8416 and reset to nil.
8417 (desktop-restoring-frames-p): New function.
8418 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8419 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8420 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8421
8422 * desktop.el: Correctly restore iconified frames.
8423 (desktop--filter-iconified-position): New function.
8424 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8425
8426 2013-07-20 Glenn Morris <rgm@gnu.org>
8427
8428 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8429 Let `message' do the formatting.
8430 (def-gdb-preempt-display-buffer): Add explicit format.
8431
8432 * image-dired.el (image-dired-track-original-file):
8433 Use with-current-buffer.
8434 (image-dired-track-thumbnail): Use with-current-buffer.
8435 Avoid changing point of wrong window.
8436
8437 * image-dired.el (image-dired-track-original-file):
8438 Avoid changing point of wrong window. (Bug#14909)
8439
8440 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8441
8442 * progmodes/gdb-mi.el (gdb-done-or-error):
8443 Guard against "%" in gdb output. (Bug#14127)
8444
8445 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8446
8447 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8448 (Bug#14826)
8449
8450 * international/mule.el (coding-system-iso-2022-flags): Fix last
8451 change.
8452
8453 2013-07-20 Kenichi Handa <handa@gnu.org>
8454
8455 * international/mule.el (coding-system-iso-2022-flags):
8456 Add `8-bit-level-4'. (Bug#8522)
8457
8458 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8459
8460 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8461 (bug#14815).
8462
8463 * net/eww.el (eww-process-text-input): Allow inputting when the
8464 point is at the start of the line, as the properties aren't
8465 front-sticky.
8466
8467 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8468 degenerate widths.
8469
8470 2013-07-19 Richard Stallman <rms@gnu.org>
8471
8472 * epa.el (epa-popup-info-window): Doc fix.
8473
8474 * subr.el (split-string): New arg TRIM.
8475
8476 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8477
8478 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8479 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8480
8481 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8482
8483 * filenotify.el (file-notify--library): Rename from
8484 `file-notify-support'. Do not autoload. Adapt all uses.
8485 (file-notify-supported-p): New defun.
8486
8487 * autorevert.el (auto-revert-use-notify):
8488 Use `file-notify-supported-p' instead of `file-notify-support'.
8489 Adapt docstring.
8490 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8491
8492 * net/tramp.el (tramp-file-name-for-operation):
8493 Add `file-notify-supported-p'.
8494
8495 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8496 New defun.
8497 (tramp-sh-file-name-handler-alist): Add it as handler for
8498 `file-notify-supported-p '.
8499
8500 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8501 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8502 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8503 Add `ignore' as handler for `file-notify-*' functions.
8504
8505 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8506
8507 * simple.el (line-move-partial, line-move): Don't start vscroll or
8508 scroll-up if the current line is not taller than the window.
8509 (Bug#14881)
8510
8511 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8512
8513 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8514 highlight question marks in the method names as strings.
8515 (ruby-block-beg-keywords): Inline.
8516 (ruby-font-lock-keyword-beg-re): Extract from
8517 `ruby-font-lock-keywords'.
8518
8519 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8520
8521 * frame.el (blink-cursor-blinks): New defcustom.
8522 (blink-cursor-blinks-done): New defvar.
8523 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8524 (blink-cursor-timer-function): Check if number of blinks has been
8525 done on X and NS.
8526 (blink-cursor-suspend, blink-cursor-check): New defuns.
8527
8528 2013-07-15 Glenn Morris <rgm@gnu.org>
8529
8530 * edmacro.el (edmacro-format-keys): Fix previous change.
8531
8532 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8533
8534 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8535 The hack didn't work outside English locales anyway.
8536
8537 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * simple.el (define-alternatives): Rename from alternatives-define,
8540 per RMS' suggestion.
8541
8542 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * desktop.el (desktop-restore-frames): Change default to t.
8545 (desktop-restore-in-current-display): Now offer more options.
8546 (desktop-restoring-reuses-frames): New customization option.
8547 (desktop--saved-states): Doc fix.
8548 (desktop-filter-parameters-alist): New variable, renamed and expanded
8549 from desktop--excluded-frame-parameters.
8550 (desktop--target-display): New variable.
8551 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8552 (desktop--filter-tty*, desktop--filter-*-color)
8553 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8554 (desktop--filter-save-desktop-parm)
8555 (desktop-restore-in-original-display-p): New functions.
8556 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8557 (desktop--save-minibuffer-frames): New function, inspired by a similar
8558 function from Martin Rudalics.
8559 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8560 (desktop--restore-in-this-display-p): Remove.
8561 (desktop--find-frame): Rename from desktop--find-frame-in-display
8562 and add predicate argument.
8563 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8564 (desktop--reuse-list): New variable.
8565 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8566 New functions.
8567 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8568
8569 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8570
8571 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8572
8573 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8574
8575 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8576 Highlight conversion methods on Kernel.
8577
8578 2013-07-13 Alan Mackenzie <acm@muc.de>
8579
8580 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8581 and comment it out. This out-commenting enables certain C++
8582 declarations to be parsed correctly.
8583
8584 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8585
8586 * international/mule.el (define-coding-system): Doc fix.
8587
8588 * simple.el (default-font-height): Don't call font-info if the
8589 frame's default font didn't change since the frame was created.
8590 (Bug#14838)
8591
8592 2013-07-13 Leo Liu <sdl.web@gmail.com>
8593
8594 * ido.el (ido-read-file-name): Guard against non-symbol value.
8595
8596 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8597
8598 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8599 in nested defuns.
8600
8601 2013-07-13 Leo Liu <sdl.web@gmail.com>
8602
8603 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8604 ido-set-matches call. (Bug#6852)
8605
8606 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8607
8608 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8609 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8610 Ruby 2.0.
8611 (ruby-font-lock-keywords): Distinguish calls to functions with
8612 module-like names from module references. Highlight character
8613 literals.
8614
8615 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8616
8617 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8618 (gdb-send): Handle continued commands. (Bug#14847)
8619
8620 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8621
8622 * desktop.el (desktop--v2s): Remove unused local variable.
8623 (desktop-save-buffer): Make defvar-local; adjust docstring.
8624 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8625 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8626
8627 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8630
8631 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8632
8633 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8634 (Bug#14842)
8635
8636 2013-07-12 Glenn Morris <rgm@gnu.org>
8637
8638 * doc-view.el: Require cl-lib at runtime too.
8639 (doc-view-remove-if): Remove.
8640 (doc-view-search-next-match, doc-view-search-previous-match):
8641 Use cl-remove-if.
8642
8643 * edmacro.el: Require cl-lib at runtime too.
8644 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8645 (edmacro-mismatch, edmacro-subseq): Remove.
8646
8647 * shadowfile.el: Require cl-lib.
8648 (shadow-remove-if): Remove.
8649 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8650 Use cl-remove-if.
8651
8652 * wid-edit.el: Require cl-lib.
8653 (widget-choose): Use cl-remove-if.
8654 (widget-remove-if): Remove.
8655
8656 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8657 (ebrowse-delete-if-not): Remove.
8658 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8659 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8660 Use cl-delete-if-not.
8661
8662 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8663
8664 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8665 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8666
8667 2013-07-12 Leo Liu <sdl.web@gmail.com>
8668
8669 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8670
8671 2013-07-11 Glenn Morris <rgm@gnu.org>
8672
8673 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8674 (edebug-gensym-index, edebug-gensym):
8675 Remove reimplementation of cl-gensym.
8676 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8677
8678 * thumbs.el: Require cl-lib at run-time too.
8679 (thumbs-gensym-counter, thumbs-gensym):
8680 Remove reimplementation of cl-gensym.
8681 (thumbs-temp-file): Use cl-gensym.
8682
8683 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8684 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8685 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8686 (ert--union, ert--gensym-counter, ert--gensym-counter)
8687 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8688 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8689 (ert-make-test-unbound, ert--expand-should-1)
8690 (ert--expand-should, ert--should-error-handle-error)
8691 (should-error, ert--explain-equal-rec)
8692 (ert--plist-difference-explanation, ert-select-tests)
8693 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8694 Use cl-lib functions rather than reimplementations.
8695
8696 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8697
8698 * net/tramp.el (tramp-methods): Extend docstring.
8699 (tramp-connection-timeout): New defcustom.
8700 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8701 (with-tramp-progress-reporter): Simplify.
8702 (tramp-process-actions): Improve messages.
8703
8704 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8705 * net/tramp-sh.el (tramp-maybe-open-connection):
8706 Use `tramp-connection-timeout'.
8707 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8708 (Bug#14808)
8709
8710 2013-07-11 Leo Liu <sdl.web@gmail.com>
8711
8712 * ido.el (ido-read-file-name): Conform to the requirements of
8713 read-file-name. (Bug#11861)
8714 (ido-read-directory-name): Conform to the requirements of
8715 read-directory-name.
8716
8717 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8718
8719 * subr.el (delay-warning): New function.
8720
8721 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8722
8723 * simple.el (default-line-height): New function.
8724 (line-move-partial, line-move): Use it instead of computing the
8725 line height inline.
8726 (line-move-partial): Always compute ROWH. If the last line is
8727 partially-visible, but its text is completely visible, allow
8728 cursor to enter such a partially-visible line.
8729
8730 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8731
8732 Improve error messages. (Bug#14808)
8733
8734 * net/tramp.el (tramp-current-connection): New defvar, moved from
8735 tramp-sh.el.
8736 (tramp-message-show-progress-reporter-message): Remove, not
8737 needed anymore.
8738 (tramp-error-with-buffer): Show message in minibuffer.
8739 Discard input before waiting. Reset connection timestamp.
8740 (with-tramp-progress-reporter): Improve messages.
8741 (tramp-process-actions): Use progress reporter. Delete process in
8742 case of error. Improve messages.
8743
8744 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8745 Call `tramp-error-with-buffer' with vector and buffer.
8746 (tramp-current-connection): Remove.
8747 (tramp-maybe-open-connection): The car of
8748 `tramp-current-connection' are the first 3 slots of the vector.
8749
8750 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8751
8752 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8753 inside continued strings.
8754
8755 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8756
8757 Timestamp fixes for undo (Bug#14824).
8758 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8759
8760 2013-07-10 Leo Liu <sdl.web@gmail.com>
8761
8762 * files.el (require-final-newline): Allow safe local value.
8763 (Bug#14834)
8764
8765 2013-07-09 Leo Liu <sdl.web@gmail.com>
8766
8767 * ido.el (ido-read-directory-name): Handle fallback.
8768 (ido-read-file-name): Update DIR to ido-current-directory.
8769 (Bug#1516)
8770 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8771
8772 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8773
8774 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8775 "autoload". Remove "warn lower camel case" section, previously
8776 commented out. Highlight negation char. Do not highlight the
8777 target in singleton method definitions.
8778
8779 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * faces.el (tty-setup-hook): Declare the hook.
8782
8783 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8784 and detect when a guard/pred depends on local vars (bug#14773).
8785 (pcase--u1): Adjust caller.
8786
8787 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8788
8789 * simple.el (line-move-partial, line-move): Account for
8790 line-spacing.
8791 (line-move-partial): Avoid setting vscroll when the last
8792 partially-visible line in window is of default height.
8793
8794 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
8796 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8797 been used a while.
8798
8799 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8800
8801 * subr.el (read-quoted-char): Remove unused local variable `char'.
8802
8803 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8804
8805 * ediff.el (ediff-version): Version update.
8806 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8807 (ediff-merge-with-ancestor-command, ediff-directories-command)
8808 (ediff-directories3-command, ediff-merge-directories-command)
8809 (ediff-merge-directories-with-ancestor-command): New functions.
8810 All are command-line interfaces to ediff: to facilitate calling
8811 Emacs with the appropriate ediff functions invoked.
8812
8813 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8814 (viper-save-kill-buffer): Check if buffer is modified.
8815
8816 * viper.el (viper-version): Version update.
8817 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8818
8819 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8822 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8823 (viper-intercept-ESC-key): Simplify.
8824 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8825 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8826 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8827 (viper-setup-ESC-to-escape): New functions.
8828 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8829 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8830
8831 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8832
8833 * simple.el (default-font-height, window-screen-lines):
8834 New functions.
8835 (line-move, line-move-partial): Use them instead of
8836 frame-char-height and window-text-height. This makes scrolling
8837 text smoother when the buffer's default face uses a font that is
8838 different from the frame's default font.
8839
8840 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8841
8842 * files.el (write-file): Do not display confirm dialog for NS,
8843 it does its own dialog, which can't be canceled (Bug#14578).
8844
8845 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8846
8847 * simple.el (line-move-partial): Adjust the row returned by
8848 posn-at-point for the current window-vscroll. (Bug#14567)
8849
8850 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8853 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8854 spaces.
8855
8856 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8857
8858 * window.el (window-state-put-stale-windows): New variable.
8859 (window--state-put-2): Save list of windows without matching buffer.
8860 (window-state-put): Remove "bufferless" windows if possible.
8861
8862 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8863
8864 * simple.el (alternatives-define): Remove leftover :group keyword.
8865 Tweak docstring.
8866
8867 2013-07-06 Leo Liu <sdl.web@gmail.com>
8868
8869 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8870 (ido-enable-virtual-buffers): New variable.
8871 (ido-buffer-internal, ido-toggle-virtual-buffers)
8872 (ido-make-buffer-list): Use it.
8873 (ido-exhibit): Support turning on and off virtual buffers
8874 automatically.
8875
8876 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * simple.el (alternatives-define): New macro.
8879
8880 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * subr.el (read-quoted-char): Use read-key.
8883 (sit-for): Let read-event decode tty input (bug#14782).
8884
8885 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8886
8887 * calendar/todo-mode.el: Add handling of file deletion, both by
8888 mode command and externally. Fix various related bugs.
8889 Clarify Commentary and improve some documentation strings and code.
8890 (todo-delete-file): New command.
8891 (todo-check-file): New function.
8892 (todo-show): Handle external deletion of the file we're trying to
8893 show (bug#14688). Replace called-interactively-p by an optional
8894 prefix argument to avoid problematic interaction with catch form
8895 when byte compiled (bug#14702).
8896 (todo-quit): Handle external deletion of the archive's todo file.
8897 Make sure the buffer that was visiting the archive file is still
8898 live before trying to bury it.
8899 (todo-category-completions): Handle external deletion of any
8900 category completion files.
8901 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8902 of todo files, in case of external deletion.
8903 (todo-add-file): Replace unnecessary setq by let-binding.
8904 (todo-find-archive): Check whether there are any archives.
8905 Replace unnecessary setq by let-binding.
8906 (todo-archive-done-item): Use find-file-noselect to get the
8907 archive buffer whether or not the archive already exists.
8908 Remove superfluous code. Use file size instead of buffer-file-name to
8909 check if the archive is new; if it is, update list of archives.
8910 (todo-default-todo-file): Allow nil to be a valid value for when
8911 there are no todo files.
8912 (todo-reevaluate-default-file-defcustom): Use corrected definition
8913 of todo-default-todo-file.
8914 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8915 (todo-delete-category, todo-show-categories-table)
8916 (todo-category-number): Clarify comment.
8917 (todo-filter-items): Clarify documentation string.
8918 (todo-show-current-file, todo-display-as-todo-file)
8919 (todo-reset-and-enable-done-separator): Tweak documentation string.
8920 (todo-done-separator): Make separator length window-width, since
8921 bug#2749 is now fixed.
8922
8923 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8924
8925 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8926 Support both "gvfs-monitor-dir" and "inotifywait".
8927 (tramp-sh-file-inotifywait-process-filter): Rename from
8928 `tramp-sh-file-notify-process-filter'.
8929 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8930 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8931
8932 2013-07-05 Leo Liu <sdl.web@gmail.com>
8933
8934 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8935
8936 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8937
8938 * frame.el (display-pixel-height, display-pixel-width)
8939 (display-mm-height, display-mm-width): Mention behavior on
8940 multi-monitor setups in docstrings.
8941 (w32-display-monitor-attributes-list): Declare function.
8942 (display-monitor-attributes-list): Use it.
8943
8944 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8945
8946 * filenotify.el: New package.
8947
8948 * autorevert.el (top): Require filenotify.el.
8949 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8950 instead.
8951 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8952 (auto-revert-notify-handler): Use `file-notify-*' functions.
8953
8954 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8955
8956 * net/tramp.el (tramp-file-name-for-operation):
8957 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8958
8959 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8960 for `file-notify-add-watch' and `file-notify-rm-watch'.
8961 (tramp-process-sentinel): Improve trace.
8962 (tramp-sh-handle-file-notify-add-watch)
8963 (tramp-sh-file-notify-process-filter)
8964 (tramp-sh-handle-file-notify-rm-watch)
8965 (tramp-get-remote-inotifywait): New defuns.
8966
8967 2013-07-03 Juri Linkov <juri@jurta.org>
8968
8969 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8970 call of `occur-read-primary-args' to interactive spec.
8971
8972 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8973 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8974
8975 2013-07-03 Matthias Meulien <orontee@gmail.com>
8976
8977 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8978 `Buffer-menu-multi-occur'. Add it to the menu.
8979 (Buffer-menu-mode): Document it in docstring.
8980 (Buffer-menu-multi-occur): New command. (Bug#14673)
8981
8982 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8983
8984 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8985 keywords and built-ins.
8986
8987 2013-07-03 Glenn Morris <rgm@gnu.org>
8988
8989 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8990
8991 Make info-xref checks case-sensitive by default
8992 * info.el (Info-find-node, Info-find-in-tag-table)
8993 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8994 Add option for exact case matching of nodes.
8995 * info-xref.el (info-xref): New custom group.
8996 (info-xref-case-fold): New option.
8997 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8998
8999 2013-07-03 Leo Liu <sdl.web@gmail.com>
9000
9001 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9002
9003 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9004
9005 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9006 middle of block statement initially, lower the depth. Remove
9007 FIXME comment, not longer valid. Remove middle of block statement
9008 detection, no need to do that anymore since we've been using
9009 `ruby-parse-region' here.
9010
9011 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9012
9013 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9014
9015 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9016
9017 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9018
9019 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9022 (desktop-restore-in-current-display): New customization option.
9023 (desktop--excluded-frame-parameters): Add `font'.
9024 (desktop--save-frames): Rename from desktop--save-windows.
9025 (desktop--restore-in-this-display-p): New function.
9026 (desktop--make-full-frame): Remove unwanted width/height from
9027 full(width|height) frames.
9028 (desktop--restore-frames): Rename from desktop--restore-windows.
9029 Obey desktop-restore-current-display. Do not delete old frames or
9030 select a new frame unless we were able to restore at least one frame.
9031
9032 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9033
9034 * files.el (find-file-noselect): Simplify conditional expression.
9035
9036 * textmodes/remember.el (remember-append-to-file):
9037 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9038
9039 Add `remember-notes' function to store random notes across Emacs
9040 restarts.
9041 * textmodes/remember.el (remember-data-file): Add :set callback to
9042 affect notes buffer (if any).
9043 (remember-notes): New command.
9044 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9045 New defcustoms for the `remember-notes' function.
9046 (remember-notes-save-and-bury-buffer): New command.
9047 (remember-notes-mode-map): New variable.
9048 (remember-mode): New minor mode.
9049 (remember-notes--kill-buffer-query): New function.
9050 * startup.el (initial-buffer-choice): Add notes to custom type.
9051
9052 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9053
9054 * bindings.el (right-char, left-char): Don't call sit-for, this is
9055 no longer needed. Use arithmetic comparison only for numerical
9056 arguments.
9057
9058 * international/mule-cmds.el (select-safe-coding-system):
9059 Handle the case of FROM being a string correctly. (Bug#14755)
9060
9061 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9062
9063 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9064 progression on degenerate tables.
9065 (shr-rescale-image): ImageMagick animated images currently don't work.
9066
9067 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9068
9069 Some fixes and improvements for desktop frame restoration.
9070 It is still experimental and disabled by default.
9071 * desktop.el (desktop--save-windows): Put the selected frame at
9072 the head of the list.
9073 (desktop--make-full-frame): New function.
9074 (desktop--restore-windows): Try to re-select the frame that was
9075 selected upon saving. Do not abort if some frames fail to restore,
9076 just show an error message and continue. Set up maximized frames
9077 so they have default non-maximized dimensions.
9078
9079 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9080
9081 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9082 Don't start heredoc inside a string or comment.
9083
9084 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9085
9086 * bindings.el (visual-order-cursor-movement): New defcustom.
9087 (right-char, left-char): Provide visual-order cursor motion by
9088 calling move-point-visually. Update the doc strings.
9089
9090 2013-06-28 Kenichi Handa <handa@gnu.org>
9091
9092 * international/mule.el (define-coding-system): New coding system
9093 properties :inhibit-null-byte-detection,
9094 :inhibit-iso-escape-detection, and :prefer-utf-8.
9095 (set-buffer-file-coding-system): If :charset-list property of
9096 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9097 appropriate for setting.
9098
9099 * international/mule-cmds.el (select-safe-coding-system):
9100 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9101 multibyte characters, return utf-8 (or one of its siblings).
9102
9103 * international/mule-conf.el (prefer-utf-8): New coding system.
9104 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9105 files.
9106
9107 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9108
9109 * net/shr.el (shr-render-region): New function.
9110
9111 * net/eww.el: Autoload `eww-browse-url'.
9112
9113 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9114
9115 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9116 Adapt to `package-desc-version' being a list.
9117 Use `package--ac-desc-version' to retrieve version from a package
9118 archive element.
9119
9120 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9121
9122 New experimental feature to save&restore window and frame setup.
9123 * desktop.el (desktop-save-windows): New defcustom.
9124 (desktop--saved-states): New var.
9125 (desktop--excluded-frame-parameters): New defconst.
9126 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9127 (desktop--restore-windows, desktop--save-windows): New functions.
9128 (desktop-save): Call `desktop--save-windows'.
9129 (desktop-read): Call `desktop--restore-windows'.
9130
9131 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9132
9133 * net/shr.el (add-face-text-property): Remove compat definition.
9134
9135 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9136
9137 * info.el (Info-try-follow-nearest-node): Move search for footnote
9138 above search for node name to prevent missing a footnote (bug#14717).
9139
9140 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9141
9142 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9143
9144 2013-06-27 Leo Liu <sdl.web@gmail.com>
9145
9146 * net/eww.el (eww-read-bookmarks): Check file size.
9147
9148 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9151 advice--pending if newdef is nil or an autoload (bug#13820).
9152 (advice-mapc): New function.
9153
9154 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9155
9156 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9157 probably.
9158 (eww-mode-map): Add a menu bar.
9159 (eww-add-bookmark): New command.
9160 (eww-bookmark-mode): New mode and commands.
9161 (eww-add-bookmark): Remove newlines from the title.
9162 (eww-bookmark-browse): Don't bug out if it's the only window.
9163
9164 2013-06-26 Glenn Morris <rgm@gnu.org>
9165
9166 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9167 (hfy-size): Handle ttys. (Bug#14668)
9168
9169 * info-xref.el: Update for Texinfo 5 change in *note format.
9170 (info-xref-node-re, info-xref-note-re): New constants.
9171 (info-xref-check-buffer): Use info-xref-note-re.
9172
9173 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9176
9177 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9178 nil terminate the loop (bug#14718).
9179
9180 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
9182 * net/eww.el: Rework history traversal. When going forward/back,
9183 put these actions into the history, too, so that they can be
9184 replayed.
9185 (eww-render): Move the history reset to the correct buffer.
9186
9187 2013-06-25 Juri Linkov <juri@jurta.org>
9188
9189 * files-x.el (modify-dir-local-variable): Change the header comment
9190 in the file with directory local variables. (Bug#14692)
9191
9192 * files-x.el (read-file-local-variable-value): Add `default'.
9193 (Bug#14710)
9194
9195 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9196
9197 * net/eww.el (eww-make-unique-file-name): Create a unique file
9198 name before saving to entering `y' accidentally asynchronously.
9199
9200 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9201
9202 * net/eww.el (eww-download): New command and keystroke.
9203
9204 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9205
9206 * net/eww.el (eww-copy-page-url): Change name of command.
9207
9208 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9209 be more consistent with Info and dired.
9210
9211 * net/eww.el (eww-mode-map): Ditto.
9212
9213 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9216 packages from archives.
9217 (package-archive-contents): Change format; include obsolete packages.
9218 (package-desc): Use `dir' to mark builtin packages.
9219 (package--from-builtin): Set the `dir' field to `builtin'.
9220 (generated-autoload-file, version-control): Declare.
9221 (package-compute-transaction): Change first arg and return value to be
9222 lists of package-descs. Adjust to new package-archive-contents format.
9223 (package--add-to-archive-contents): Adjust to new
9224 package-archive-contents format.
9225 (package-download-transaction): Arg is now a list of package-descs.
9226 (package-install): If `pkg' is a package name, pass it as
9227 a requirement, so it is subject to the usual (e.g. disabled) checks.
9228 (describe-package): Accept package-desc as well.
9229 (describe-package-1): Describe a specific package-desc. Add links to
9230 other package-descs for the same package name.
9231 (package-menu-describe-package): Pass the actual package-desc.
9232 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9233 works correctly.
9234 (package-desc-status): New function.
9235 (package-menu--refresh): New function, extracted
9236 from package-menu--generate.
9237 (package-menu--generate): Use it.
9238 (package-delete): Update package-alist.
9239 (package-menu-execute): Don't call package-initialize.
9240
9241 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9242 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9243 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9244 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9245 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9246 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9247
9248 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9249
9250 * window.el (window--state-get-1): Workaround for bug#14527.
9251 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9252
9253 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254
9255 * net/eww.el (eww-back-url): Implement the history by stashing all
9256 the data into a list.
9257 (eww-forward-url): Allow going forward in the history, too.
9258
9259 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9262 for values and use read--expression for expressions (bug#14710).
9263 (read-file-local-variable): Avoid setq.
9264 (read-file-local-variable-mode): Use minor-mode-list.
9265
9266 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9267
9268 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9269 for DOI URLs.
9270
9271 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9272
9273 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9274 Update imenu-support when dialect changes.
9275
9276 2013-06-25 Leo Liu <sdl.web@gmail.com>
9277
9278 * ido.el (ido-read-internal): Allow forward slash on windows.
9279
9280 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9281
9282 * net/eww.el (eww): Start of strings is \\`, not ^.
9283
9284 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9285
9286 * net/shr.el (shr-browse-url): Fix interactive spec.
9287
9288 * net/eww.el (eww): Add a trailing slash to domain names.
9289
9290 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9291
9292 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9293
9294 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295
9296 * net/shr.el (shr-browse-url): Use an external browser if given a
9297 prefix.
9298
9299 * net/eww.el (eww-external-browser): Move to shr.
9300
9301 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9302
9303 * net/eww.el (eww): Work more correctly for file: URLs.
9304 (eww-detect-charset): Allow quoted charsets.
9305 (eww-yank-page-url): New command and keystroke.
9306
9307 2013-06-24 Daiki Ueno <ueno@gnu.org>
9308
9309 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9310 file name of gpg executable.
9311 (epg-context-program): New function.
9312 (epg-context-home-directory): New function.
9313 (epg-context-set-program): New function.
9314 (epg-context-set-home-directory): New function.
9315 (epg--start): Use `epg-context-program' instead of
9316 'epg-gpg-program'.
9317 (epg--list-keys-1): Likewise.
9318
9319 2013-06-24 Leo Liu <sdl.web@gmail.com>
9320
9321 * ido.el (ido-read-internal): Fix bug#14620.
9322
9323 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9324
9325 * faces.el (face-documentation): Simplify.
9326 (read-face-attribute, tty-find-type, x-resolve-font-name):
9327 Use `string-match-p'.
9328 (list-faces-display): Use `string-match-p'. Simplify.
9329 (face-spec-recalc): Check face to avoid face alias loops.
9330 (read-color): Use `string-match-p' and non-capturing parenthesis.
9331
9332 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9333
9334 * net/shr.el (shr-rescale-image): Use the new
9335 :max-width/:max-height functionality.
9336
9337 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9338
9339 * net/eww.el (eww-search-prefix): New variable.
9340 (eww): Use it.
9341 (eww-external-browser): New variable.
9342 (eww-mode-map): New keystroke.
9343 (eww-browse-with-external-browser): New command.
9344
9345 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9346
9347 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9348
9349 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9350 Don't skip aligning the next header field when padding is 0;
9351 otherwise, field width is not respected unless the title is as
9352 wide as the field.
9353
9354 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * emacs-lisp/package.el (package-el-version): Remove.
9357 (package-process-define-package): Fix inf-loop.
9358 (package-install): Allow symbols as arguments again.
9359
9360 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9361
9362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9363 add some more keyword-like methods.
9364 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9365
9366 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9367
9368 * bs.el (bs-buffer-show-mark): Make defvar-local.
9369 (bs-mode): Use setq-local.
9370
9371 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9372 (emacs-lock--try-unlocking): Make defvar-local.
9373
9374 2013-06-22 Glenn Morris <rgm@gnu.org>
9375
9376 * play/cookie1.el (cookie-apropos): Minor simplification.
9377
9378 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9379
9380 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9381
9382 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9383 `regexp-opt', it breaks the build during dumping.
9384
9385 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9386
9387 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9388 Highlight keyword-like methods on Kernel and Module with
9389 font-lock-builtin-face.
9390 (auto-mode-alist): Consolidate different entries into one regexp
9391 and add more *file-s.
9392
9393 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9394
9395 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9396
9397 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9398 (diary-entry): Use it in the action of this button type instead of
9399 diary-goto-entry.
9400
9401 * calendar/todo-mode.el: New version.
9402 (todo-add-category): Append new category to end of file and give
9403 it the highest number, instead of putting it at the beginning and
9404 giving it 0. Incorporate noninteractive functionality.
9405 (todo-forward-category): Adapt to 1-based category numbering.
9406 Allow skipping over archived categories.
9407 (todo-backward-category): Derive from todo-forward-category.
9408 (todo-backward-item, todo-forward-item): Make noninteractive and
9409 delegate interactive part to new commands. Make sensitive to done items.
9410 (todo-categories): Make value an alist of category names and
9411 vectors of item counts.
9412 (todo-category-beg): Make a defconst.
9413 (todo-category-number): Use 1 instead of 0 as initial value.
9414 (todo-category-select): Make sensitive to overlays, optional item
9415 highlighting and done items.
9416 (todo-delete-item): Make sensitive to overlays and marked and done items.
9417 (todo-edit-item): Make sensitive to overlays and editing of
9418 date/time header optional. Add format checks.
9419 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9420 no-op if point is not on an item. Advertise using todo-edit-quit.
9421 (todo-edit-mode): Make sensitive to new format, font-locking, and
9422 multiple todo files.
9423 (todo-insert-item, todo-insert-item-here): Derive from
9424 todo-basic-insert-item and extend functionality.
9425 (todo-item-end, todo-item-start): Make sensitive to done items.
9426 (todo-item-string): Don't return text properties. Restore point.
9427 (todo-jump-to-category): Make sensitive to multiple todo files and
9428 todo archives. Use extended category completion.
9429 (todo-lower-item, todo-raise-item): Rename to *-priority and
9430 derive from todo-set-item-priority.
9431 (todo-mode): Derive from special-mode. Make sensitive to new
9432 format, font-locking and multiple todo files. Make read-only.
9433 (todo-mode-map): Don't suppress digit keys, so they can supply
9434 prefix arguments. Add many new key bindings.
9435 (todo-prefix): Insert as an overlay instead of file text.
9436 Change semantics from diary date expression to purely visual mark.
9437 (todo-print): Rename to todo-print-buffer. Make buffer display
9438 features printable. Remove option to restrict number of items
9439 printed. Add option to print to file.
9440 (todo-print-function): Rename to todo-print-buffer-function.
9441 (todo-quit): Extend to handle exiting new todo modes.
9442 (todo-remove-item): Make sensitive to overlays.
9443 (todo-save): Extend to buffers of filtered items.
9444 (todo-show): Make sensitive to done items, multiple todo files and
9445 new todo modes. Offer to convert legacy todo file before creating
9446 first new todo file.
9447 (todo-show-priorities): Rename to todo-top-priorities.
9448 Change semantics of value 0.
9449 (todo-top-priorities): Rename to todo-filter-top-priorities,
9450 derive from todo-filter-items and extend functionality.
9451 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9452 and extend functionality to other types of filtered items.
9453 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9454 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9455 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9456 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9457 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9458 (todo-edit-mode-hook, todo-entry-prefix-function)
9459 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9460 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9461 (todo-initials, todo-insert-threshold, todo-item-string-start)
9462 (todo-line-string, todo-menu, todo-mode-hook)
9463 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9464 (todo-print-priorities, todo-remove-separator)
9465 (todo-save-top-priorities-too, todo-string-count-lines)
9466 (todo-string-multiline-p, todo-time-string-format)
9467 (todo-tmp-buffer-name): Remove.
9468 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9469 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9470 (todo-edit-category-diary-inclusion)
9471 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9472 (todo-edit-file, todo-edit-item-date-day)
9473 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9474 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9475 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9476 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9477 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9478 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9479 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9480 (todo-filter-top-priorities-multifile, todo-find-archive)
9481 (todo-find-filtered-items-file, todo-go-to-source-item)
9482 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9483 (todo-jump-to-archive-category, todo-lower-category)
9484 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9485 (todo-move-category, todo-move-item, todo-next-button)
9486 (todo-next-item, todo-padded-string, todo-powerset)
9487 (todo-previous-button, todo-previous-item)
9488 (todo-print-buffer-to-file, todo-raise-category)
9489 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9490 (todo-set-category-number, todo-set-item-priority)
9491 (todo-set-top-priorities-in-category)
9492 (todo-set-top-priorities-in-file, todo-show-categories-table)
9493 (todo-sort-categories-alphabetically-or-numerically)
9494 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9495 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9496 (todo-toggle-item-header, todo-toggle-item-highlighting)
9497 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9498 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9499 (todo-unarchive-items, todo-unmark-category): New commands.
9500 (todo-absolute-file-name, todo-add-to-buffer-list)
9501 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9502 (todo-basic-insert-item, todo-category-completions)
9503 (todo-category-number, todo-category-string-matcher-1)
9504 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9505 (todo-check-format, todo-clear-matches)
9506 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9507 (todo-current-category, todo-date-string-matcher)
9508 (todo-define-insertion-command, todo-diary-expired-matcher)
9509 (todo-diary-goto-entry, todo-diary-item-p)
9510 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9511 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9512 (todo-done-item-section-p, todo-done-separator)
9513 (todo-done-string-matcher, todo-files, todo-filter-items)
9514 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9515 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9516 (todo-insert-category-line, todo-insert-item-from-calendar)
9517 (todo-insert-sort-button, todo-insert-with-overlays)
9518 (todo-insertion-command-name, todo-insertion-key-bindings)
9519 (todo-label-to-key, todo-longest-category-name-length)
9520 (todo-make-categories-list, todo-mode-external-set)
9521 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9522 (todo-modes-set-3, todo-multiple-filter-files)
9523 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9524 (todo-read-category, todo-read-date, todo-read-dayname)
9525 (todo-read-file-name, todo-read-time)
9526 (todo-reevaluate-category-completions-files-defcustom)
9527 (todo-reevaluate-default-file-defcustom)
9528 (todo-reevaluate-filelist-defcustoms)
9529 (todo-reevaluate-filter-files-defcustom)
9530 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9531 (todo-reset-done-separator, todo-reset-done-separator-string)
9532 (todo-reset-done-string, todo-reset-global-current-todo-file)
9533 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9534 (todo-reset-prefix, todo-set-categories)
9535 (todo-set-date-from-calendar, todo-set-show-current-file)
9536 (todo-set-top-priorities, todo-short-file-name)
9537 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9538 (todo-total-item-counts, todo-update-buffer-list)
9539 (todo-update-categories-display, todo-update-categories-sexp)
9540 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9541 New functions.
9542 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9543 New major modes.
9544 (todo-categories, todo-display, todo-edit, todo-faces)
9545 (todo-filtered): New defgroups.
9546 (todo-archived-only, todo-button, todo-category-string, todo-date)
9547 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9548 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9549 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9550 (todo-add-item-if-new-category, todo-always-add-time-string)
9551 (todo-categories-align, todo-categories-archived-label)
9552 (todo-categories-category-label, todo-categories-diary-label)
9553 (todo-categories-done-label, todo-categories-number-separator)
9554 (todo-categories-todo-label, todo-categories-totals-label)
9555 (todo-category-completions-files, todo-completion-ignore-case)
9556 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9557 (todo-done-separator-string, todo-done-string)
9558 (todo-files-function, todo-filter-done-items, todo-filter-files)
9559 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9560 (todo-initial-category, todo-initial-file, todo-item-mark)
9561 (todo-legacy-date-time-regexp, todo-mode-line-function)
9562 (todo-nondiary-marker, todo-number-prefix)
9563 (todo-print-buffer-function, todo-show-current-file)
9564 (todo-show-done-only, todo-show-first, todo-show-with-done)
9565 (todo-skip-archived-categories, todo-top-priorities-overrides)
9566 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9567 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9568 New defcustoms.
9569 (todo-category-done, todo-date-pattern, todo-date-string-start)
9570 (todo-diary-items-buffer, todo-done-string-start)
9571 (todo-filtered-items-buffer, todo-item-start)
9572 (todo-month-abbrev-array, todo-month-name-array)
9573 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9574 (todo-top-priorities-buffer): New defconsts.
9575 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9576 (todo-categories-with-marks, todo-category-string-face)
9577 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9578 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9579 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9580 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9581 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9582 (todo-font-lock-keywords, todo-global-current-todo-file)
9583 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9584 (todo-insertion-commands-args)
9585 (todo-insertion-commands-args-genlist)
9586 (todo-insertion-commands-names, todo-insertion-map)
9587 (todo-key-bindings-t, todo-key-bindings-t+a)
9588 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9589 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9590 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9591 (todo-visited): New variables.
9592
9593 2013-06-21 Glenn Morris <rgm@gnu.org>
9594
9595 * play/cookie1.el (cookie-apropos): Add optional display argument.
9596 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9597 (psychoanalyze-pinhead): Use cookie-doctor.
9598
9599 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9600
9601 * emacs-lisp/package.el (tar-get-file-descriptor)
9602 (tar--extract): Declare.
9603
9604 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9605
9606 Extend flymake's warning predicate to be a function (bug#14217).
9607 * progmodes/flymake.el (flymake-warning-predicate): New.
9608 (flymake-parse-line): Use it.
9609 (flymake-warning-re): Make obsolete alias to
9610 `flymake-warning-predicate'.
9611
9612 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9613
9614 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9615 (package-obsolete-list): Remove.
9616 (package-activate): Remove min-version argument. Add `force' argument.
9617 Adjust to new package-alist format.
9618 (package-mark-obsolete): Remove.
9619 (package-unpack): Force reload of the package's autoloads.
9620 (package-installed-p): Check builtins if the installed package is not
9621 recent enough.
9622 (package-initialize): Don't reset package-obsolete-list.
9623 Don't specify which package version to activate.
9624 (package-process-define-package, describe-package-1)
9625 (package-menu--generate): Adjust to new package-alist format.
9626
9627 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9628
9629 * allout-widgets.el (allout-widgets-mode-off)
9630 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9631 (allout-widgets-post-command-business)
9632 (allout-widgets-after-copy-or-kill-function)
9633 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9634 (allout-decorate-item-and-context)
9635 (allout-graphics-modification-handler): Fix typos in docstrings.
9636 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9637
9638 * cmuscheme.el (scheme-start-file): Doc fix.
9639 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9640 (scheme-input-filter): Use `string-match-p'.
9641
9642 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9643
9644 * dired-x.el: Use Dired consistently in docstrings.
9645
9646 * dired.el: Use Dired consistently in docstrings.
9647 (dired-readin, dired-mode): Use `setq-local'.
9648 (dired-switches-alist): Make defvar-local.
9649 (dired-buffers-for-dir): Use `zerop'.
9650 (dired-safe-switches-p, dired-switches-escape-p)
9651 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9652 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9653 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9654 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9655 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9656 (dired-toggle-marks, dired-mark-files-containing-regexp)
9657 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9658 (dired-flag-auto-save-files, dired-flag-backup-files):
9659 Use `looking-at-p'.
9660 (dired-mark-files-regexp, dired-build-subdir-alist):
9661 Use `string-match-p', `looking-at-p'.
9662
9663 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9664 (direct-print-region-helper): Use `string-match-p'.
9665
9666 2013-06-21 Leo Liu <sdl.web@gmail.com>
9667
9668 * comint.el (comint-redirect-results-list-from-process):
9669 Fix infinite loop.
9670
9671 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9672
9673 * net/eww.el (eww-update-header-line-format): Quote % characters.
9674
9675 2013-06-21 Glenn Morris <rgm@gnu.org>
9676
9677 * play/cookie1.el (cookie): New custom group.
9678 (cookie-file): New option.
9679 (cookie-check-file): New function.
9680 (cookie): Make it interactive. Make start and end messages optional.
9681 Interactively, display the result. Default to cookie-file.
9682 (cookie-insert): Default to cookie-file.
9683 (cookie-snarf): Make start and end messages optional.
9684 Default to cookie-file. Use with-temp-buffer.
9685 (cookie-read): Rename from read-cookie.
9686 Make start and end messages optional. Default to cookie-file.
9687 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9688 Do not autoload it.
9689 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9690 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9691
9692 2013-06-21 Leo Liu <sdl.web@gmail.com>
9693
9694 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9695
9696 2013-06-21 Glenn Morris <rgm@gnu.org>
9697
9698 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9699
9700 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9701 Daniel Hackney <dan@haxney.org>
9702
9703 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9704 Consolidate the single-file vs tarball code.
9705 (package-desc-suffix): New function.
9706 (package-desc-full-name): Don't bother inlining it.
9707 (package-load-descriptor): Return the new package-desc.
9708 (package-mark-obsolete): Remove unused arg `package'.
9709 (package-unpack): Make it work for single files as well.
9710 Make it update package-alist.
9711 (package--make-autoloads-and-stuff): Rename from
9712 package--make-autoloads-and-compile. Don't compile any more.
9713 (package--compile): New function.
9714 (package-generate-description-file): New function, extracted from
9715 package-unpack-single.
9716 (package-unpack-single): Remove.
9717 (package--with-work-buffer): Add indentation and debugging info.
9718 (package-download-single): Remove.
9719 (package-install-from-archive): Rename from package-download-tar, make
9720 it take a pkg-desc, and make it work for single files as well.
9721 (package-download-transaction): Simplify.
9722 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9723 external tar program.
9724 (package-install-from-buffer): Remove `pkg-desc' argument.
9725 Use package-tar-file-info for tar-mode buffers.
9726 (package-install-file): Simplify accordingly.
9727 (package-archive-base): Change to take a pkg-desc.
9728 * tar-mode.el (tar--check-descriptor): New function, extracted from
9729 tar-get-descriptor.
9730 (tar-get-descriptor): Use it.
9731 (tar-get-file-descriptor): New function.
9732 (tar--extract): New function, extracted from tar-extract.
9733 (tar--extract): Use it.
9734 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9735 case the summary uses non-ascii. Adjust to new calling convention of
9736 package-tar-file-info.
9737
9738 2013-06-21 Leo Liu <sdl.web@gmail.com>
9739
9740 * comint.el (comint-redirect-results-list-from-process):
9741 Fix random delay. (Bug#14681)
9742
9743 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9744
9745 * profiler.el (profiler-format-number): Use log, not log10.
9746
9747 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9748
9749 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9750
9751 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9754 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9755 yet available.
9756 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9757 (AUTOGENEL): ... here.
9758 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9759 (cl--defsubst-expand): Use it.
9760
9761 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9762
9763 * subr.el (log10): Move here from C code, and declare as obsolete.
9764 All uses of (log10 X) replaced with (log X 10).
9765
9766 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9767
9768 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9769 Declare with `defvar-local'.
9770 (tabulated-list-use-header-line, tabulated-list-entries)
9771 (tabulated-list-padding, tabulated-list-printer)
9772 (tabulated-list-sort-key): Declare with `defvar-local'.
9773 (tabulated-list-init-header, tabulated-list-print-fake-header):
9774 Use `setq-local'.
9775
9776 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9777
9778 * arc-mode.el (archive-mode): Add `archive-write-file' to
9779 `write-contents-functions' also for remote files. (Bug#14652)
9780
9781 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9782
9783 * cus-edit.el (custom-commands): Fix typos.
9784 (custom-display): Fix tooltip text.
9785 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9786 Fix typos in docstrings.
9787 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9788 (custom-unlispify-menu-entry, custom-magic-value-create)
9789 (custom-add-see-also, custom-group-value-create): Use ?\s.
9790 (custom-guess-type, customize-apropos, editable-field)
9791 (custom-face-value-create): Use `string-match-p'.
9792 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9793
9794 * custom.el (custom-load-symbol): Use `string-match-p'.
9795
9796 * ansi-color.el: Convert to lexical binding.
9797 (ansi-colors): Fix URL.
9798 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9799 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9800 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9801
9802 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9803
9804 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9805
9806 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9807
9808 2013-06-19 Tom Tromey <tromey@redhat.com>
9809
9810 * net/eww.el (eww-top-url): Remove.
9811 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9812 (eww-render): Set new variables. Don't set eww-top-url.
9813 (eww-handle-link): Handle "prev", "home", and "contents".
9814 Downcase the rel text.
9815 (eww-top-url): Choose best top URL.
9816
9817 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818
9819 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9820 relying in widget.el. Using widget.el leads to too many
9821 user interface inconsistencies.
9822 (eww-self-insert): Implement entering commands in text fields.
9823 (eww-process-text-input): New function to make text input field editing
9824 work.
9825 (eww-submit): Rewrite to use the new-style form methods.
9826 (eww-select-display): Display the correct selected item.
9827 (eww-change-select): Implement changing the select value.
9828 (eww-toggle-checkbox): Implement radio/checkboxes.
9829 (eww-update-field): Fix compilation error.
9830 (eww-tag-textarea): Implement <textarea>.
9831
9832 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9833 we don't shadow mode-specific bindings.
9834
9835 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9836 nothing to push.
9837
9838 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9839
9840 2013-06-19 Glenn Morris <rgm@gnu.org>
9841
9842 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9843
9844 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9845
9846 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9847 not needed.
9848
9849 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9850
9851 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852
9853 * net/browse-url.el (browse-url-browser-function):
9854 `eww-browse-url' has the right calling signature, `eww' does not.
9855
9856 2013-06-19 Glenn Morris <rgm@gnu.org>
9857
9858 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9859 Only eval autoloaded macros.
9860 (byte-compile-autoload): Only give the macro warning for macros.
9861
9862 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9863 (ps-underlined-faces): Declare.
9864
9865 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9866 (speedbar-add-supported-extension): Declare.
9867
9868 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9869 Don't include a date stamp in the header of the generated file;
9870 it leads to needless differences between output files.
9871
9872 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9873
9874 * net/secrets.el (secrets-struct-secret-content-type):
9875 Replace check of introspection data by a test call of "CreateItem".
9876 Some servers do not offer introspection.
9877
9878 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * electric.el (electric-pair-mode): Improve interaction with
9881 electric-layout-mode.
9882 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9883 (electric-pair-syntax): Use text-mode-syntax-table in comments
9884 and strings.
9885 (electric-pair--insert): New function.
9886 (electric-pair-post-self-insert-function): Use it and
9887 electric--after-char-pos.
9888
9889 2013-06-19 Leo Liu <sdl.web@gmail.com>
9890
9891 * progmodes/octave.el (octave-help): Fix regexp.
9892
9893 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9894
9895 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9896 (shr-table-horizontal-line): Allow nil as a value, and change the
9897 default.
9898 (shr-insert-table-ruler): Respect the nil value.
9899
9900 2013-06-18 Tom Tromey <tromey@barimba>
9901
9902 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9903 New defvars.
9904 (eww-open-file): New defun.
9905 (eww-render): Initialize new variables.
9906 (eww-display-html): Handle "link" and "a".
9907 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9908 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9909 (eww-back-url): Rename from eww-previous-url.
9910 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9911 New defuns.
9912
9913 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9914
9915 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9916 Distinguish ternary operator tokens from slash symbol and slash
9917 char literal.
9918
9919 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9920
9921 Convert symbol prettification into minor mode and global minor mode.
9922
9923 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9924 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9925 (prettify-symbols--keywords): Rename from
9926 `prog-prettify-symbols-alist' and make a local defvar.
9927 (prettify-symbols--compose-symbol): Rename from
9928 `prog--prettify-font-lock-compose-symbol'.
9929 (prettify-symbols--make-keywords): Rename from
9930 `prog-prettify-font-lock-symbols-keywords' and simplify.
9931 (prog-prettify-install): Remove.
9932 (prettify-symbols-mode): New minor mode, based on
9933 `prog-prettify-install'.
9934 (turn-on-prettify-symbols-mode): New function.
9935 (global-prettify-symbols-mode): New globalized minor mode.
9936
9937 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9938 * progmodes/cfengine.el (cfengine3-mode):
9939 * progmodes/perl-mode.el (perl-mode): Don't call
9940 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9941
9942 2013-06-18 Juri Linkov <juri@jurta.org>
9943
9944 * files-x.el (modify-file-local-variable-message): New function.
9945 (modify-file-local-variable)
9946 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9947 and call `modify-file-local-variable-message' when it's non-nil.
9948 (add-file-local-variable, delete-file-local-variable)
9949 (add-file-local-variable-prop-line)
9950 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9951 and use it. (Bug#9820)
9952
9953 2013-06-18 Juri Linkov <juri@jurta.org>
9954
9955 * emulation/vi.el (vi-shell-op):
9956 * emulation/vip.el (vip-execute-com, ex-command):
9957 * emulation/viper-cmd.el (viper-exec-bang):
9958 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9959 the call of `shell-command-on-region'. (Bug#14637)
9960
9961 * simple.el (shell-command-on-region): Doc fix.
9962
9963 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9966 (bug#14633).
9967
9968 2013-06-18 Glenn Morris <rgm@gnu.org>
9969
9970 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9971
9972 * newcomment.el (comment-search-forward, comment-search-backward):
9973 Doc fix. (Bug#14376)
9974
9975 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9978 (buffer-face-mode-invoke): Doc fix.
9979
9980 2013-06-18 Matthias Meulien <orontee@gmail.com>
9981
9982 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9983 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9984
9985 2013-06-18 Glenn Morris <rgm@gnu.org>
9986
9987 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9988 Replace obsolete function generic-make-keywords with its expansion.
9989
9990 * progmodes/python.el (ffap-alist): Declare.
9991
9992 * textmodes/reftex.el (bibtex-mode-map): Declare.
9993
9994 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9997 (package-unpack, package-unpack-single): Return the pkg-dir.
9998 (package-download-transaction): Use it to update package-alist.
9999
10000 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10001
10002 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10003 possible choice.
10004
10005 2013-06-17 Juri Linkov <juri@jurta.org>
10006
10007 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10008
10009 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10010
10011 * emacs-lisp/package.el (package-load-descriptor):
10012 Remove `with-syntax-table' call, `read' doesn't need it.
10013 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10014
10015 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * startup.el (command-line): Expand package name returned by
10018 `package--description-file' (bug#14639).
10019
10020 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10021
10022 * emacs-lisp/package.el (package-load-descriptor): Do not call
10023 `emacs-lisp-mode', just use its syntax table.
10024
10025 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10026
10027 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10028 `font-lock-extra-managed-props' if any prettifying keyword is added.
10029 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10030 (prog-mode): Use `setq-local'.
10031
10032 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * international/characters.el (standard-case-table): Set syntax of ?»
10035 and ?« to punctuation.
10036
10037 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10038
10039 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10040 Save relevant match data before calling `syntax-ppss' (bug#14595).
10041
10042 2013-06-15 Juri Linkov <juri@jurta.org>
10043
10044 * files-x.el (modify-file-local-variable-prop-line): Add local
10045 variables to the end of the existing comment on the first line.
10046 Use `file-auto-mode-skip' to skip interpreter magic line,
10047 and also skip XML declaration.
10048
10049 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * startup.el (package--builtin-versions): New var.
10052 (package-subdirectory-regexp): Remove.
10053 (package--description-file): Hard code its value instead.
10054
10055 * emacs-lisp/package.el: Don't activate packages older than builtin.
10056 (package-obsolete-list): Rename from package-obsolete-alist, and make
10057 it into a simple list of package-desc.
10058 (package-strip-version): Remove.
10059 (package-built-in-p): Use package--builtin-versions.
10060 (package-mark-obsolete): Simplify.
10061 (package-process-define-package): Mark it obsolete if older than the
10062 builtin version.
10063 (package-handle-response): Use line-end-position.
10064 (package-read-archive-contents, package--download-one-archive):
10065 Simplify.
10066 (package--add-to-archive-contents): Skip if older than the builtin or
10067 installed version.
10068 (package-menu-describe-package): Fix last change.
10069 (package-list-unversioned): New var.
10070 (package-menu--generate): Use it.
10071
10072 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10073 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10074 (autoload-builtin-package-versions): New variable.
10075 (autoload-generate-file-autoloads): Use them.
10076 Remove the list of autoloaded functions/macros from the
10077 (autoload...) comments.
10078
10079 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10080
10081 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10082
10083 * simple.el (line-move-partial): Don't jump to the next screen
10084 line as soon as it becomes visible. Instead, continue enlarging
10085 the vscroll until the portion of a tall screen line that's left on
10086 display is about the height of the frame's default font.
10087 (Bug#14567)
10088
10089 2013-06-15 Glenn Morris <rgm@gnu.org>
10090
10091 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10092 compilation-error-regexp-alist void, or local while let-bound.
10093
10094 * progmodes/make-mode.el (makefile-mode-syntax-table):
10095 Treat "=" as punctuation. (Bug#14614)
10096
10097 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10098
10099 * help-fns.el (describe-variable):
10100 Add extra line for permanent-local variables.
10101
10102 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10103
10104 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10105 Add export, import, library. (Bug#9164)
10106 (library): Set indent function.
10107
10108 2013-06-14 Glenn Morris <rgm@gnu.org>
10109
10110 * term/xterm.el (xterm--query):
10111 Stop after first matching handler. (Bug#14615)
10112
10113 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10114
10115 Add support for dired in saveplace.
10116 * dired.el (dired-initial-position-hook): New variable.
10117 (dired-initial-position): Call hook to place cursor position.
10118 * saveplace.el (save-place-to-alist): Add dired position.
10119 (save-place-dired-hook): New function.
10120
10121 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10124 through a symbol rather than letrec.
10125
10126 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10127 (package-desc): Add `dir' field.
10128 (package-desc-full-name): New function.
10129 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10130 (package-maybe-load-descriptor): Remove.
10131 (package-load-all-descriptors): Just call package-load-descriptor.
10132 (package--disabled-p): New function.
10133 (package-desc-vers, package-desc-doc): Remove aliases.
10134 (package--dir): Remove function.
10135 (package-activate): Check if a package is disabled.
10136 (package-process-define-package): New function, extracted from
10137 define-package.
10138 (define-package): Turn into a place holder.
10139 (package-unpack-single, package-tar-file-info):
10140 Use package--description-file.
10141 (package-compute-transaction): Use package--disabled-p.
10142 (package-download-transaction): Don't call
10143 package-maybe-load-descriptor since they're all loaded anyway.
10144 (package-install): Change argument to be a pkg-desc.
10145 (package-delete): Use a single pkg-desc argument.
10146 (describe-package-1): Use package-desc-dir instead of package--dir.
10147 Use package-desc property instead of package-symbol.
10148 (package-install-button-action): Adjust accordingly.
10149 (package--push): Rewrite.
10150 (package-menu--print-info): Adjust accordingly. Change the ID format
10151 to be a pkg-desc.
10152 (package-menu-describe-package, package-menu-get-status)
10153 (package-menu--find-upgrades, package-menu-mark-upgrades)
10154 (package-menu-execute, package-menu--name-predicate):
10155 Adjust accordingly.
10156 * startup.el (package--description-file): New function.
10157 (command-line): Use it.
10158 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10159 Use package-desc-version.
10160
10161 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10162 (byte-compile-preprocess): Use it.
10163 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10164 can't quite recognize.
10165 (byte-compile-add-to-list): Remove.
10166 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10167 (cconv-closure-convert): Add assertion.
10168
10169 * emacs-lisp/map-ynp.el: Use lexical-binding.
10170 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10171 Factor out some repeated code.
10172
10173 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * subr.el (with-eval-after-load): New macro.
10176 (eval-after-load): Allow form to be a function.
10177 take advantage of lexical-binding.
10178 (do-after-load-evaluation): Use dolist and adjust to new format.
10179 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10180
10181 2013-06-13 Juri Linkov <juri@jurta.org>
10182
10183 * replace.el (perform-replace): Display "symbol " and other search
10184 modes from `isearch-message-prefix' in the *Help* buffer.
10185
10186 * isearch.el (isearch-query-replace): Add " symbol" and other
10187 possible search modes from `isearch-message-prefix' to the prompt.
10188 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10189 when reading a regexp to collect.
10190
10191 2013-06-13 Juri Linkov <juri@jurta.org>
10192
10193 * isearch.el (word-search-regexp): Match whitespace if the search
10194 string begins or ends in whitespace. The LAX arg is applied to
10195 both ends of the search string. Use `regexp-quote' and explicit
10196 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10197 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10198 boundaries are replaced with symbol boundaries, and characters
10199 between symbols match non-word non-symbol syntax. (Bug#14602)
10200
10201 2013-06-13 Juri Linkov <juri@jurta.org>
10202
10203 * isearch.el (isearch-del-char): Don't exceed the length of
10204 `isearch-string' by the prefix arg. (Bug#14563)
10205
10206 2013-06-13 Juri Linkov <juri@jurta.org>
10207
10208 * isearch.el (isearch-yank-word, isearch-yank-line)
10209 (isearch-char-by-name, isearch-quote-char)
10210 (isearch-printing-char, isearch-process-search-char):
10211 Add optional count prefix arg. (Bug#14563)
10212
10213 * international/isearch-x.el
10214 (isearch-process-search-multibyte-characters):
10215 Add optional count prefix arg.
10216
10217 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10220 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10221 lexical-binding.
10222
10223 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10224
10225 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10226
10227 2013-06-13 Glenn Morris <rgm@gnu.org>
10228
10229 * startup.el (tty-handle-args):
10230 Don't just discard "--" and anything after. (Bug#14608)
10231
10232 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10233
10234 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10235
10236 Implement changes in Secret Service API. Make it backward compatible.
10237 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10238 (secrets-create-item): Use it. Prefix properties with interface.
10239
10240 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10241
10242 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10243 (term-emulate-terminal): Respect term-suppress-hard-newline.
10244
10245 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10246
10247 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10248 Only remove a `thumb-file' overlay. (Bug#14548)
10249
10250 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10251
10252 * mail/reporter.el (reporter-submit-bug-report):
10253 Handle missing package-name. (Bug#14600)
10254
10255 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10256
10257 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10258 (reftex-citation-prompt, reftex-default-bibliography)
10259 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10260 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10261 (reftex-bib-sort-author, reftex-bib-sort-year)
10262 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10263 (reftex-extract-bib-entries-from-thebibliography)
10264 (reftex-get-bibkey-default, reftex-get-bib-names)
10265 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10266 (reftex-format-bib-entry, reftex-parse-bibitem)
10267 (reftex-format-bibitem, reftex-do-citation)
10268 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10269 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10270 (reftex-insert-bib-matches, reftex-format-citation)
10271 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10272 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10273 existing comments into docstrings.
10274
10275 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10276
10277 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10278
10279 2013-06-12 Andreas Schwab <schwab@suse.de>
10280
10281 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10282 for auto-save files.
10283
10284 2013-06-12 Glenn Morris <rgm@gnu.org>
10285
10286 * ido.el (ido-delete-ignored-files): Remove.
10287 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10288 Go back to calling ido-ignore-item-p directly.
10289
10290 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10291
10292 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10293
10294 * ido.el (ido-delete-ignored-files): New function,
10295 split from ido-make-file-list-1.
10296 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10297 (ido-make-file-list-1): Use ido-delete-ignored-files.
10298
10299 2013-06-12 Leo Liu <sdl.web@gmail.com>
10300
10301 * progmodes/octave.el (inferior-octave-startup)
10302 (inferior-octave-completion-table)
10303 (inferior-octave-track-window-width-change)
10304 (octave-eldoc-function-signatures, octave-help)
10305 (octave-find-definition): Use single quoted strings.
10306 (inferior-octave-startup-args): Change default value.
10307 (inferior-octave-startup): Do not hard code "-i" and
10308 "--no-line-editing".
10309 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10310 (inferior-octave-directory-tracker): Use it.
10311 (octave-goto-function-definition): Robustify.
10312 (octave-help): Support highlighting operators in 'See also'.
10313 (octave-find-definition): Find subfunctions only in Octave mode.
10314
10315 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * help-fns.el (help-fns--compiler-macro): If the handler function is
10318 named, then put a link to it.
10319 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10320 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10321 (cl-typep): Use it.
10322 (cl-eval-when): Simplify debug spec.
10323 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10324 compiler-macro function instead of setting `compiler-macro-file'.
10325
10326 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10327
10328 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10329 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10330
10331 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10332 Daniel Hackney <dan@haxney.org>
10333
10334 First part of Daniel Hackney's patch to package.el.
10335 * emacs-lisp/package.el: Use defstruct.
10336 (package-desc): New, main struct.
10337 (package--bi-desc, package--ac-desc): New structs, used to describe the
10338 format in external files.
10339 (package-desc-vers): Replace with package-desc-version accessor.
10340 (package-desc-doc): Replace with package-desc-summary accessor.
10341 (package-activate-1): Remove `package' arg since the pkg-vec now
10342 includes the name.
10343 (define-package): Use package-desc-from-define.
10344 (package-unpack-single): Change file-name arg to be a symbol.
10345 (package--add-to-archive-contents): Use package-desc-create and new
10346 accessor functions to package--ac-desc.
10347 (package-buffer-info, package-tar-file-info): Return a package-desc.
10348 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10349 arg to be a package-desc.
10350 (package-install-file): Adjust accordingly. Use \' to match EOS.
10351 (package--from-builtin): New function.
10352 (describe-package-1, package-menu--generate): Use it.
10353 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10354 (package-generate-autoloads): Idem and return the name of the file.
10355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10356 Change pkg-info arg to be a package-desc.
10357 Use package-make-ac-desc.
10358 (package-upload-file): Use \' to match EOS.
10359 * finder.el (finder-compile-keywords): Use package-make-builtin.
10360
10361 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10362
10363 * vc/vc.el (vc-deduce-fileset): Change error message.
10364 (vc-read-backend): New function.
10365 (vc-next-action): Use it.
10366
10367 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10368
10369 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10370 (prolog-font-lock-keywords): Use regexp-opt instead.
10371 Don't manually highlight strings.
10372 (prolog-mode-variables): Simplify comment-start-skip.
10373 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10374
10375 * emacs-lisp/generic.el (generic--normalise-comments)
10376 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10377 (generic-mode-set-comments): Use them.
10378 (generic-bracket-support): Use setq-local.
10379 (generic-make-keywords-list): Declare obsolete.
10380
10381 2013-06-11 Glenn Morris <rgm@gnu.org>
10382
10383 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10384 Prettify after setting font-lock-defaults. (Bug#14574)
10385
10386 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * replace.el (query-replace, occur-read-regexp-defaults-function)
10389 (replace-search):
10390 * subr.el (declare-function, number-sequence, local-set-key)
10391 (substitute-key-definition, locate-user-emacs-file)
10392 (with-silent-modifications, split-string, eval-after-load):
10393 Fix typos, remove unneeded backslashes and reflow some docstrings.
10394
10395 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10398 default for Elisp files.
10399
10400 2013-06-11 Glenn Morris <rgm@gnu.org>
10401
10402 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10403 although define-derived-mode was doing this anyway. (Bug#14583)
10404
10405 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10406
10407 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10408 Fix make-variable-buffer-local call to refer to the correct variable.
10409
10410 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10411
10412 * eshell/em-term.el (eshell-visual-commands)
10413 (eshell-visual-subcommands, eshell-visual-options):
10414 Add summary line to docstrings. Add cross-references.
10415
10416 2013-06-10 Glenn Morris <rgm@gnu.org>
10417
10418 * epa.el (epa-read-file-name): New function. (Bug#14510)
10419 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10420
10421 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10422
10423 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10424 output redirection to be ignored with visual commands.
10425
10426 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10427
10428 * eshell/em-term.el (eshell-visual-command-p): New function.
10429 (eshell-term-initialize): Move long lambda to separate function
10430 eshell-visual-command-p.
10431 * eshell/em-dirs.el (eshell-dirs-initialise):
10432 * eshell/em-script.el (eshell-script-initialize):
10433 Add missing #' to lambda.
10434
10435 2013-06-08 Leo Liu <sdl.web@gmail.com>
10436
10437 * progmodes/octave.el (octave-add-log-current-defun): New function.
10438 (octave-mode): Set add-log-current-defun-function.
10439 (octave-goto-function-definition): Do not move point if not found.
10440 (octave-find-definition): Enhance to try subfunctions first.
10441
10442 2013-06-08 Glenn Morris <rgm@gnu.org>
10443
10444 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10445 (byte-compile-backward-char, byte-compile-backward-word):
10446 Improve previous change, to handle non-explicit nil.
10447
10448 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10451 (smie--opener/closer-at-point): New function.
10452 (smie--matching-block-data): Use it. Don't match from right after an
10453 opener or right before a closer. Obey smie-blink-matching-inners.
10454 Don't signal a mismatch for repeated inners like "switch..case..case".
10455
10456 2013-06-07 Leo Liu <sdl.web@gmail.com>
10457
10458 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10459 to t. (Bug#14303)
10460 (octave-function-header-regexp): Fix. (Bug#14570)
10461 (octave-help-mode-finish-hook, octave-help-mode-finish):
10462 Remove. Just use temp-buffer-show-hook.
10463
10464 * newcomment.el (comment-search-backward): Revert last change.
10465 (Bug#14434)
10466
10467 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10468
10469 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10470
10471 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10472 through xargs, to avoid failure due to MS-Windows limitations on
10473 command-line length.
10474
10475 2013-06-06 Glenn Morris <rgm@gnu.org>
10476
10477 * font-lock.el (lisp-font-lock-keywords-2):
10478 Treat user-error like error.
10479
10480 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10481 (byte-compile-backward-char, byte-compile-backward-word):
10482 Handle explicit nil arguments. (Bug#14565)
10483
10484 2013-06-05 Alan Mackenzie <acm@muc.de>
10485
10486 * isearch.el (isearch-allow-prefix): New user option.
10487 (isearch-other-meta-char): Don't exit isearch when a prefix
10488 argument is typed whilst `isearch-allow-prefix' is non-nil.
10489 (Bug#9706)
10490
10491 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * autorevert.el (auto-revert-notify-handler): Use memq.
10494 Hide assertion failure.
10495
10496 * skeleton.el: Use cl-lib.
10497 (skeleton-further-elements): Use defvar-local.
10498 (skeleton-insert): Use cl-progv.
10499
10500 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10501
10502 * progmodes/prog-mode.el (prog-prettify-symbols)
10503 (prog-prettify-install): Update docstrings.
10504
10505 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * simple.el: Move all the prog-mode code to prog-mode.el.
10508 * progmodes/prog-mode.el: New file.
10509 * loadup.el: Add prog-mode.el.
10510
10511 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10512
10513 * simple.el (prog-prettify-symbols): Add version.
10514 (prog-prettify-install): Add convenience function to prettify symbols.
10515
10516 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10517 (perl--augmented-font-lock-keywords-1)
10518 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10519 variables and use it.
10520
10521 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10522 (cfengine3-mode): Remove unneeded variable and use it.
10523
10524 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10525 (lisp--augmented-font-lock-keywords-1)
10526 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10527 Remove unneeded variables and use it.
10528
10529 2013-06-05 João Távora <joaotavora@gmail.com>
10530
10531 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10532 to point when opening the connection. (Bug#14380)
10533
10534 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * subr.el (load-history-regexp, load-history-filename-element)
10537 (eval-after-load, after-load-functions, do-after-load-evaluation)
10538 (eval-next-after-load, display-delayed-warnings)
10539 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10540 definition of save-match-data.
10541 (overriding-local-map): Remove accidental obsolescence declaration.
10542
10543 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10544
10545 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10546
10547 Generalize symbol prettify support to prog-mode and implement it
10548 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10549 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10550 (prog--prettify-font-lock-compose-symbol)
10551 (prog-prettify-font-lock-symbols-keywords): New variables and
10552 functions to support symbol prettification.
10553 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10554 (lisp--augmented-font-lock-keywords-1)
10555 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10556 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10557 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10558 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10559 Implement prettify of -> => :: strings.
10560 * progmodes/perl-mode.el (perl-prettify-symbols)
10561 (perl--font-lock-compose-symbol)
10562 (perl--font-lock-symbols-keywords): Move to prog-mode.
10563 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10564 (perl-font-lock-keywords-1)
10565 (perl-font-lock-keywords-2): Remove explicit prettify support.
10566 (perl--augmented-font-lock-keywords)
10567 (perl--augmented-font-lock-keywords-1)
10568 (perl--augmented-font-lock-keywords-2, perl-mode):
10569 Implement prettify support.
10570
10571 2013-06-05 Leo Liu <sdl.web@gmail.com>
10572
10573 Re-implement smie matching block highlight using
10574 show-paren-data-function. (Bug#14395)
10575 * emacs-lisp/smie.el (smie-matching-block-highlight)
10576 (smie--highlight-matching-block-overlay)
10577 (smie--highlight-matching-block-lastpos)
10578 (smie-highlight-matching-block)
10579 (smie-highlight-matching-block-mode): Remove.
10580 (smie--matching-block-data-cache): New variable.
10581 (smie--matching-block-data): New function.
10582 (smie-setup): Use smie--matching-block-data for
10583 show-paren-data-function.
10584
10585 * progmodes/octave.el (octave-mode-menu): Fix.
10586 (octave-find-definition): Skip garbage lines.
10587
10588 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 Fix compilation error with simultaneous dynamic+lexical scoping.
10591 Add warning when a defvar appears after the first let-binding.
10592 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10593 (byte-compile-close-variables): Initialize it.
10594 (byte-compile--declare-var): New function.
10595 (byte-compile-file-form-defvar)
10596 (byte-compile-file-form-define-abbrev-table)
10597 (byte-compile-file-form-custom-declare-variable): Use it.
10598 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10599 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10600 (byte-compile-bind): Handle dynamic bindings that shadow
10601 lexical bindings.
10602 (byte-compile-unbind): Make arg non-optional.
10603 (byte-compile-let): Simplify.
10604 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10605 (cconv--analyse-function, cconv-analyse-form): Populate it.
10606 Protect byte-compile-bound-variables to limit the scope of defvars.
10607 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10608 Remove unneeded rule for `declare'.
10609
10610 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10611 so as to avoid depending on cl-adjoin at run-time.
10612 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10613
10614 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10615 (macroexp--warn-and-return): Use it.
10616
10617 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * subr.el: Convert to lexical binding.
10620 (overriding-local-map): Make obsolete.
10621 (add-to-list): Doc fix. Add compiler macro.
10622 (read-key): Swap values of local maps.
10623
10624 2013-06-05 Leo Liu <sdl.web@gmail.com>
10625
10626 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10627
10628 2013-06-04 Leo Liu <sdl.web@gmail.com>
10629
10630 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10631 (compilation-auto-jump): Suppress the "Mark set" message to give
10632 way to exit message.
10633
10634 2013-06-04 Alan Mackenzie <acm@muc.de>
10635
10636 Remove faulty optimisation from indentation calculation.
10637 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10638 search limit based on 2000 characters back from indent-point.
10639
10640 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10641
10642 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10643
10644 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/lisp.el: Use lexical-binding.
10647 (lisp--local-variables-1, lisp--local-variables): New functions.
10648 (lisp--local-variables-completion-table): New var.
10649 (lisp-completion-at-point): Use it complete let-bound vars.
10650
10651 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10652 eagerly (bug#14422).
10653
10654 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10655
10656 * autorevert.el (auto-revert-notify-enabled)
10657 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10658 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10659 (auto-revert-notify-handler): Handle also gfilenotify.
10660
10661 * subr.el (file-notify-handle-event): New defun. Replacing ...
10662 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10663 Remove.
10664
10665 2013-06-03 Juri Linkov <juri@jurta.org>
10666
10667 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10668 `M-s h .'. (Bug#14427)
10669
10670 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10671 command `hi-lock-face-symbol-at-point'.
10672 (hi-lock-face-symbol-at-point): New command.
10673 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10674 (hi-lock-menu): Add `highlight-symbol-at-point'.
10675 (hi-lock-mode): Doc fix.
10676
10677 * isearch.el (isearch-forward-symbol-at-point): New command.
10678 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10679 (isearch-highlight-regexp): Add a regexp which matches
10680 words/symbols for word/symbol mode.
10681
10682 * subr.el (find-tag-default-bounds): New function with the body
10683 mostly moved from `find-tag-default'.
10684 (find-tag-default): Move most code to `find-tag-default-bounds',
10685 call it and apply `buffer-substring-no-properties' afterwards.
10686
10687 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10688
10689 * eshell/em-term.el (eshell-term-initialize):
10690 Use `cl-intersection' rather than `intersection'.
10691
10692 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10693
10694 * vc/log-view.el: Doc fix.
10695 (log-view-mode-map): Copy keymap from `special-mode-map'.
10696
10697 2013-06-02 Eric Ludlam <zappo@gnu.org>
10698
10699 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10700 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10701 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10702 (eieio-unbound, eieio-default-superclass)
10703 (eieio--define-field-accessors, method-static, method-before)
10704 (method-primary, method-after, method-num-lists)
10705 (method-generic-before, method-generic-primary)
10706 (method-generic-after, method-num-slots)
10707 (eieio-specialized-key-to-generic-key)
10708 (eieio--check-type, class-v, class-p)
10709 (eieio-class-name, define-obsolete-function-alias)
10710 (eieio-class-parents-fast, eieio-class-children-fast)
10711 (same-class-fast-p, class-constructor, generic-p)
10712 (generic-primary-only-p, generic-primary-only-one-p)
10713 (class-option-assoc, class-option, eieio-object-p)
10714 (class-abstract-p, class-method-invocation-order)
10715 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10716 (eieio-class-un-autoload, eieio-defclass)
10717 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10718 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10719 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10720 (eieio-defgeneric-reset-generic-form)
10721 (eieio-defgeneric-form-primary-only)
10722 (eieio-defgeneric-reset-generic-form-primary-only)
10723 (eieio-defgeneric-form-primary-only-one)
10724 (eieio-defgeneric-reset-generic-form-primary-only-one)
10725 (eieio-unbind-method-implementations)
10726 (eieio--defmethod, eieio--typep)
10727 (eieio-perform-slot-validation, eieio-validate-slot-value)
10728 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10729 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10730 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10731 (eieio-slot-name-index, eieio-class-slot-name-index)
10732 (eieio-set-defaults, eieio-initarg-to-attribute)
10733 (eieio-attribute-to-initarg, eieio-c3-candidate)
10734 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10735 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10736 (eieio-class-precedence-list, eieio-generic-call-methodname)
10737 (eieio-generic-call-arglst, eieio-generic-call-key)
10738 (eieio-generic-call-next-method-list)
10739 (eieio-pre-method-execution-functions, eieio-generic-call)
10740 (eieio-generic-call-primary-only, eieiomt-method-list)
10741 (eieiomt-optimizing-obarray, eieiomt-install)
10742 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10743 (eieio-generic-form, eieio-defmethod, make-obsolete)
10744 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10745 (defclass): Remove `eval-and-compile' from macro.
10746 (call-next-method, shared-initialize): Instead of using
10747 `scoped-class' variable, use new eieio--scoped-class, and
10748 eieio--with-scoped-class.
10749 (initialize-instance): Rename local variable 'scoped-class' to
10750 'this-class' to remove ambiguitity from old global.
10751
10752 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10753 eieio.el.
10754 (eieio--scoped-class-stack): New variable.
10755 (eieio--scoped-class): New fcn.
10756 (eieio--with-scoped-class): New scoping macro.
10757 (eieio-defclass): Use pushnew instead of add-to-list.
10758 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10759 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10760 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10761 `scoped-class' variable, use new eieio--scoped-class, and
10762 eieio--with-scoped-class.
10763
10764 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10765
10766 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10767
10768 * eshell/esh-ext.el (eshell-external-command): Pass args to
10769 `eshell-find-interpreter'.
10770 (eshell-find-interpreter): Add new second parameter ARGS.
10771
10772 * eshell/em-script.el (eshell-script-initialize): Add second arg
10773 to the function added as MATCH to `eshell-interpreter-alist'.
10774
10775 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10776 the function added as MATCH to `eshell-interpreter-alist'.
10777
10778 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10779 (eshell-visual-options): New defcustom.
10780 (eshell-escape-control-x): Adapt docstring.
10781 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10782 `eshell-visual-options' in addition to `eshell-visual-commands'.
10783 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10784
10785 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10786
10787 * progmodes/python.el (python-indent-block-enders): Add break,
10788 continue and raise keywords.
10789
10790 2013-06-01 Glenn Morris <rgm@gnu.org>
10791
10792 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10793
10794 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10795 * progmodes/cc-cmds.el (delete-forward-p):
10796 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10797 * progmodes/cc-engine.el (buffer-syntactic-context):
10798 * progmodes/cc-fonts.el (face-property-instance):
10799 * progmodes/cc-mode.el (set-keymap-parents):
10800 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10801 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10802 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10803 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10804 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10805
10806 * progmodes/cc-vars.el (other): Emacs has this widget since
10807 at least 21.1, so don't (re)define it.
10808
10809 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10810 Replace the obsolete alias pcomplete-arg-quote-list.
10811
10812 2013-06-01 Leo Liu <sdl.web@gmail.com>
10813
10814 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10815 punctuation syntax.
10816 (inferior-octave-minimal-columns)
10817 (inferior-octave-last-column-width): New variables.
10818 (inferior-octave-track-window-width-change): New function.
10819 (inferior-octave-mode): Adjust column width so that Octave output,
10820 for example from 'ls', can fit into the window nicely.
10821
10822 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10823
10824 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10825 Highlight expansions inside regexp literals.
10826
10827 2013-05-31 Glenn Morris <rgm@gnu.org>
10828
10829 * obsolete/sym-comp.el (symbol-complete):
10830 Replace obsolete completion-annotate-function.
10831
10832 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10833
10834 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10835
10836 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10837 New function, checks if point is inside a literal that allows
10838 expression expansion.
10839 (ruby-syntax-propertize-expansion): Use it.
10840 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10841 around the body.
10842
10843 2013-05-30 Juri Linkov <juri@jurta.org>
10844
10845 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10846 to "\M-si".
10847 (isearch-invisible): New variable.
10848 (isearch-forward): Doc fix.
10849 (isearch-mode): Set `isearch-invisible'
10850 to the value of `search-invisible'.
10851 (isearch-toggle-case-fold): Doc fix.
10852 (isearch-toggle-invisible): New command.
10853 (isearch-query-replace): Let-bind `search-invisible'
10854 to the value of `isearch-invisible'.
10855 (isearch-search): Use `isearch-invisible' instead of
10856 `search-invisible'. Let-bind `search-invisible'
10857 to the value of `isearch-invisible'. (Bug#11378)
10858
10859 2013-05-30 Juri Linkov <juri@jurta.org>
10860
10861 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10862 call when `query-flag' is nil and `search-invisible' is non-nil.
10863 (Bug#11746)
10864
10865 2013-05-30 Glenn Morris <rgm@gnu.org>
10866
10867 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10868
10869 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10870 (cc-require): Suppress spurious "noruntime" warnings.
10871 (cc-require-when-compile): Use fboundp, for sake of compiler.
10872
10873 * progmodes/cc-mode.el: Move load of cc-vars before that of
10874 cc-langs (which in turn loads cc-vars), to quieten compiler.
10875
10876 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 * paren.el: Simplify the code.
10879 (show-paren-mode): Always start the timer.
10880 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10881 (show-paren--overlay, show-paren--overlay-1): Rename from
10882 show-paren-overlay and show-paren-overlay-1, and initialize to an
10883 overlay rather than to nil.
10884 (show-paren-function): Misc cleanup and simplifications.
10885
10886 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * paren.el (show-paren-data-function): New hook.
10889 (show-paren--default): New function, extracted from show-paren-function.
10890 (show-paren-function): Use show-paren-data-function.
10891
10892 2013-05-30 Glenn Morris <rgm@gnu.org>
10893
10894 * ielm.el (ielm-map, ielm-complete-symbol):
10895 Use completion-at-point rather than obsolete functions.
10896 (inferior-emacs-lisp-mode): Doc fix.
10897 Set completion-at-point-functions, rather than
10898 comint-dynamic-complete-functions.
10899
10900 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10901 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10902 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10903
10904 * image.el (image-animated-p): Tweak definition.
10905
10906 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10907 (rlogin-process-connection-type): Tweak default. Add set-after.
10908 (rlogin-host): Doc fix.
10909 (rlogin): Tweak prompt.
10910 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10911
10912 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10913 * progmodes/tcl.el (inferior-tcl-mode-map):
10914 Use completion-at-point rather than obsolete alias.
10915
10916 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10917
10918 * minibuffer.el (read-file-name-completion-ignore-case):
10919 Move before completion--in-region, for eager macro expansion.
10920
10921 2013-05-29 Juri Linkov <juri@jurta.org>
10922
10923 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10924 for total count of matching lines. Add `global-matches' for total
10925 count of matches. Rename `matches' to `lines' for count of
10926 matching lines. Add `matches' for count of matches.
10927 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10928 to `prev-line' for line number of prev match endpt.
10929 Increment `matches' for every match. Print the number of
10930 matching lines in the header.
10931 (occur-context-lines): Rename `lines' to `curr-line'.
10932 Rename `prev-lines' to `prev-line'. (Bug#14017)
10933
10934 2013-05-29 Juri Linkov <juri@jurta.org>
10935
10936 * replace.el (perform-replace): Add `skip-read-only-count',
10937 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10938 Increment them for corresponding conditions and report the number
10939 of skipped occurrences in the final message. (Bug#11746)
10940 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10941 (replace-string, replace-regexp): Doc fix.
10942
10943 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10946
10947 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10948 prog-mode-map (bug#14504).
10949
10950 2013-05-29 Leo Liu <sdl.web@gmail.com>
10951
10952 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10953 (octave-help): Small simplification.
10954
10955 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10956 off the highlight first.
10957
10958 2013-05-29 Glenn Morris <rgm@gnu.org>
10959
10960 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10961 Handle idlwave-last-system-routine-info-cons-cell being nil.
10962
10963 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10964 (idlwave-write-paths): Simplify via with-temp-buffer.
10965
10966 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10967 * emulation/cua-rect.el: Also load cua-base at run time.
10968
10969 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10970 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10971 (cperl-imenu-on-info): Require imenu.
10972
10973 2013-05-28 Alan Mackenzie <acm@muc.de>
10974
10975 Handle "capitalised keywords" correctly.
10976 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10977
10978 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10979
10980 * eshell/em-unix.el: Add -r option to cp.
10981
10982 2013-05-28 Glenn Morris <rgm@gnu.org>
10983
10984 * vc/vc-arch.el (vc-exec-after): Declare.
10985 (vc-switches): Autoload.
10986 * vc/vc-bzr.el: No need to require vc when compiling.
10987 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10988 (vc-resynch-buffer, vc-dir-refresh): Declare.
10989 (vc-setup-buffer, vc-switches): Autoload.
10990 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10991 (vc-resynch-buffer): Declare.
10992 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10993 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10994 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10995 (grep-read-regexp, grep-read-files, grep-expand-template)
10996 (vc-dir-refresh): Declare.
10997 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10998 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10999 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11000 * vc/vc-mtn.el (vc-exec-after): Declare.
11001 (vc-switches): Autoload.
11002 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11003 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11004 (vc-file-tree-walk): Declare.
11005 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11006 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11007 (vc-tag-precondition, vc-rename-master): Autoload.
11008 * vc/vc-svn.el (vc-exec-after): Declare.
11009 (vc-switches, vc-setup-buffer): Autoload.
11010 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11011 Autoload.
11012 (vc-resynch-buffer): Declare.
11013
11014 * obsolete/fast-lock.el (byte-compile-warnings):
11015 Don't warn about obsolete features in this obsolete file.
11016
11017 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11018 Move definition before use.
11019
11020 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11021 (dun-unix-verbs): Remove dun-zippy.
11022 (dun-zippy): Remove function.
11023
11024 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11025
11026 2013-05-27 Juri Linkov <juri@jurta.org>
11027
11028 * replace.el (replace-search): New function with code moved out
11029 from `perform-replace'.
11030 (replace-highlight, replace-dehighlight): Move function definitions
11031 up closer to `replace-search'. (Bug#11746)
11032
11033 2013-05-27 Juri Linkov <juri@jurta.org>
11034
11035 * replace.el (perform-replace): Ignore invisible matches.
11036 In addition to checking `query-replace-skip-read-only', also
11037 filter out matches by calling `run-hook-with-args-until-failure'
11038 on `isearch-filter-predicates', and also check `search-invisible'
11039 for t or call `isearch-range-invisible'.
11040 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11041
11042 2013-05-27 Juri Linkov <juri@jurta.org>
11043
11044 * isearch.el (isearch-filter-predicates): Rename from
11045 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11046 (isearch-message-prefix): Display text from the property
11047 `isearch-message-prefix' of the currently active filters.
11048 (isearch-search): Don't compare `isearch-filter-predicate' with
11049 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11050 on `isearch-filter-predicates'. Also check `search-invisible' for t
11051 or call `isearch-range-invisible'.
11052 (isearch-filter-visible): Make obsolete.
11053 (isearch-lazy-highlight-search):
11054 Call `run-hook-with-args-until-failure' on
11055 `isearch-filter-predicates' and use `isearch-range-invisible'.
11056
11057 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11058 `isearch-filter-predicates' instead of `funcall'ing
11059 `isearch-filter-predicate'.
11060 (Info-mode): Set `Info-isearch-filter' to
11061 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11062
11063 * dired-aux.el (dired-isearch-filter-predicate-orig):
11064 Remove variable.
11065 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11066 (dired-isearch-filenames-end): Add and remove
11067 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11068 instead of changing the value of `isearch-filter-predicate'.
11069 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11070 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11071 Put property `isearch-message-prefix' to "filename " on
11072 `dired-isearch-filter-filenames'.
11073
11074 * wdired.el (wdired-change-to-wdired-mode):
11075 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11076 locally instead of changing `isearch-filter-predicate'.
11077 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11078
11079 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11080
11081 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11082 return the commit hash (Bug#14459). Also set the
11083 `vc-git-detached' property.
11084 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11085 (vc-git-mode-line-string): Use the same help-echo format whether
11086 in detached mode or not, because we know the actual revision now.
11087 When in detached mode, shorten the revision to 7 chars.
11088
11089 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * emacs-lisp/easy-mmode.el (define-minor-mode):
11092 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11093 mode hook and provide a docstring.
11094
11095 2013-05-27 Alan Mackenzie <acm@muc.de>
11096
11097 Remove spurious syntax-table text properties inserted by C-y.
11098 * progmodes/cc-mode.el (c-after-change): Also clear hard
11099 syntax-table property with value nil.
11100
11101 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11102
11103 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11104 when reading the events; the buffer layout shall not be changed.
11105
11106 2013-05-27 Leo Liu <sdl.web@gmail.com>
11107
11108 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11109 New variable.
11110 (inferior-octave-directory-tracker): Automatically re-sync
11111 default-directory.
11112 (octave-help): Improve handling of 'See also'.
11113
11114 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * doc-view.el: Minor naming convention tweaks.
11117 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11118
11119 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11120 even if there's no `display' property yet (bug#14435).
11121
11122 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11123
11124 * subr.el (unmsys--file-name): Rename from reveal-filename.
11125
11126 * Makefile.in (custom-deps, finder-data, autoloads)
11127 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11128 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11129 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11130
11131 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11134 error-completion on the first 2 args of condition-case (bug#14446).
11135 Don't burp at EOB.
11136
11137 2013-05-25 Leo Liu <sdl.web@gmail.com>
11138
11139 * comint.el (comint-previous-matching-input): Do not flood the
11140 *Messages* buffer with trivial messages.
11141
11142 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * progmodes/flymake.el (flymake-nop): Don't return a string.
11145 (flymake-set-at): Fix typo.
11146
11147 * simple.el (read--expression): New function, extracted from
11148 eval-expression. Set completion-at-point-functions (bug#14465).
11149 (eval-expression, eval-minibuffer): Use it.
11150
11151 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11152
11153 * progmodes/flymake.el (flymake-save-buffer-in-file)
11154 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11155 (flymake-selected-frame, flymake-log, flymake-ins-after)
11156 (flymake-set-at, flymake-get-buildfile-from-cache)
11157 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11158 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11159 Refine the doc string.
11160 (flymake-get-file-name-mode-and-masks): Reformat.
11161 (flymake-get-real-file-name-function): Fix a minor bug.
11162
11163 2013-05-24 Juri Linkov <juri@jurta.org>
11164
11165 * progmodes/grep.el (grep-mode-font-lock-keywords):
11166 Support =linenumber= format used by git-grep for lines with
11167 function names. (Bug#13549)
11168
11169 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11172 0 after a semi-colon; it works better for smie-auto-fill.
11173 (octave--indent-new-comment-line): New function.
11174 (octave-indent-new-comment-line): Use it (indirectly).
11175 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11176 modify comment-line-break-function.
11177
11178 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11179 (smie-setup): Use add-function to set it.
11180
11181 2013-05-24 Sam Steingold <sds@gnu.org>
11182
11183 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11184 argument (before the `interactive' argument).
11185
11186 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * image-mode.el (image-mode-winprops): Add winprops to
11189 image-mode-winprops-alist before running
11190 image-mode-new-window-functions.
11191 * doc-view.el (doc-view-new-window-function): Don't delay
11192 doc-view-goto-page via timers (bug#14435).
11193
11194 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11195
11196 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11197 (doc-view-desktop-save-buffer): New function.
11198 (doc-view-restore-desktop-buffer): New function.
11199 (desktop-buffer-mode-handlers):
11200 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11201 handler.
11202 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11203 `desktop-save-buffer' function.
11204
11205 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11206
11207 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11208 (tramp-gvfs-file-name-handler): Raise a user error when
11209 `tramp-gvfs-enabled' is nil.
11210 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11211 Do not raise a user error when loading package. (Bug#14447)
11212
11213 * net/xesam.el: Move to obsolete/.
11214
11215 2013-05-24 Glenn Morris <rgm@gnu.org>
11216
11217 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11218
11219 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11220
11221 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11222 (Info-find-node, Man-getpage-in-background): Declare.
11223
11224 * mail/unrmail.el (unrmail):
11225 Replace obsolete detect-coding-with-priority.
11226
11227 * net/socks.el (socks-split-string): Use this rather than split-string.
11228 (socks-nslookup-host): Update for above change.
11229 (dynamic-choice, s5-dynamic-choice-match)
11230 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11231 Comment out unused code.
11232
11233 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11234 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11235 (gud-tooltip-echo-area): Make obsolete.
11236 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11237
11238 * progmodes/js.el (js--optimize-arglist): Declare.
11239
11240 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11241
11242 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11243 (ediff-window-C): Declare.
11244
11245 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11246 Tweak requires to silence compiler.
11247
11248 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11249 (he-search-string, he-tried-table, he-expand-list)
11250 (he-init-string, he-string-member, he-substitute-string)
11251 (he-reset-string): Declare.
11252
11253 * obsolete/options.el (list-options): Use custom-variable-p,
11254 rather than obsolete alias.
11255
11256 2013-05-23 Sam Steingold <sds@gnu.org>
11257
11258 * simple.el (shell-command-on-region): Pass the `replace' argument
11259 down to `call-process-region' to comply with the doc as reported on
11260 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11261
11262 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * emacs-lisp/smie.el (smie-indent-forward-token)
11265 (smie-indent-backward-token): Handle string tokens (bug#14381).
11266
11267 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11268
11269 * ielm.el (ielm-menu): New menu.
11270 (inferior-emacs-lisp-mode): Set comment-start.
11271
11272 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11273
11274 * textmodes/reftex.el (reftex-ref-style-toggle):
11275 Fix deactivate action.
11276
11277 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11278 Add cleveref macros.
11279
11280 * textmodes/reftex-parse.el
11281 (reftex-locate-bibliography-files): Accept options for
11282 bibliography commands.
11283 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11284 Add addbibresource. Basic Biblatex support.
11285
11286 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11287
11288 * net/tramp-gvfs.el (top):
11289 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11290 when loading package. (Bug#14447)
11291
11292 2013-05-23 Glenn Morris <rgm@gnu.org>
11293
11294 * progmodes/js.el: No need to load comint when compiling.
11295 (ring-insert, comint-send-string, comint-send-input)
11296 (comint-last-input-end, ido-chop): Declare.
11297
11298 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11299 * vc/ediff-mult.el: Adjust requires.
11300 (ediff-directories-internal, ediff-directory-revisions-internal)
11301 (ediff-patch-file-internal): Declare.
11302 * vc/ediff-ptch.el: Adjust requires.
11303 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11304 (ediff-find-file): Autoload.
11305 * vc/ediff-util.el: No need to load ediff when compiling.
11306 (ediff-regions-internal): Declare.
11307 * vc/ediff-wind.el: Adjust requires.
11308 (ediff-compute-toolbar-width): Define when compiling.
11309 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11310 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11311 (dired-get-filename, dired-get-marked-files)
11312 (ediff-last-dir-patch, ediff-patch-default-directory)
11313 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11314 (ediff-patch-buffer-internal): Declare.
11315
11316 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11317 (ispell-process, ispell-buffer-local-words, lm-summary)
11318 (lm-section-start, lm-section-end): Declare.
11319 (checkdoc-ispell-init): Simplify.
11320
11321 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11322 (he-string-member, he-reset-string, he-substitute-string): Declare.
11323
11324 * eshell/em-ls.el: Adjust requires.
11325 (eshell-glob-regexp): Declare.
11326 * eshell/em-tramp.el: Adjust requires.
11327 (eshell-parse-command): Autoload.
11328 * eshell/em-xtra.el: Adjust requires.
11329 (eshell-parse-command): Autoload.
11330 * eshell/esh-ext.el: Adjust requires.
11331 (eshell-parse-command, eshell-close-handles): Autoload.
11332 * eshell/esh-io.el: Adjust requires.
11333 (eshell-output-filter): Autoload.
11334 * eshell/esh-util.el: No need to load tramp when compiling.
11335 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11336 Declare.
11337 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11338 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11339 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11340 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11341 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11342 * eshell/esh-opt.el, eshell/esh-proc.el:
11343 * eshell/esh-var.el: Adjust requires.
11344 * eshell/eshell.el: Do not require esh-util twice.
11345 (eshell-add-input-to-history): Declare.
11346 (eshell-command): Check history module is active before using it.
11347
11348 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11349
11350 2013-05-22 Leo Liu <sdl.web@gmail.com>
11351
11352 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11353
11354 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11355
11356 * autorevert.el (auto-revert-notify-add-watch)
11357 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11358 it indicates changes in file modification time.
11359
11360 2013-05-22 Glenn Morris <rgm@gnu.org>
11361
11362 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11363 Always delete the autoloaded function from the noruntime and
11364 unresolved functions lists.
11365
11366 * allout.el: No need to load epa, epg, overlay when compiling.
11367 (epg-context-set-passphrase-callback, epg-list-keys)
11368 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11369 (epg-key-user-id-list): Declare.
11370
11371 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11372 (viper-set-parsing-style-toggling-macro)
11373 (viper-set-emacs-state-searchstyle-macros):
11374 Use called-interactively-p on Emacs.
11375 (viper-looking-back): Make it an obsolete alias. Update callers.
11376 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11377 Use looking-back rather than viper-looking-back.
11378 (viper-tmp-insert-at-eob, viper-enlarge-region)
11379 (viper-read-string-with-history, viper-register-to-point)
11380 (viper-append-to-register, viper-change-state-to-vi)
11381 (viper-backward-char-carefully, viper-forward-char-carefully)
11382 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11383 (viper-change-state-to-emacs): Declare.
11384 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11385 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11386 * emulation/viper-mous.el: Do not load viper-cmd.
11387 (viper-backward-char-carefully, viper-forward-char-carefully)
11388 (viper-forward-word, viper-adjust-window): Declare.
11389
11390 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11391
11392 * progmodes/idlw-help.el (idlwave-help-fontify):
11393 Use called-interactively-p.
11394
11395 * term/w32console.el (w32-get-console-codepage)
11396 (w32-get-console-output-codepage): Declare.
11397
11398 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11399 Remove unnecessary declarations.
11400 (dframe-message): Doc fix.
11401
11402 * info.el (dframe-select-attached-frame, dframe-current-frame):
11403 Declare.
11404
11405 * speedbar.el (speedbar-message): Make it an obsolete alias.
11406 Update all callers.
11407 (speedbar-with-attached-buffer)
11408 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11409 (speedbar-with-writable): Use backquote.
11410 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11411 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11412 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11413 rather than speedbar- aliases.
11414 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11415 (speedbar-make-specialized-keymap, speedbar-insert-button)
11416 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11417 (speedbar-do-function-pointer): Declare.
11418 (rmail-speedbar-button, rmail-speedbar-find-file)
11419 (rmail-speedbar-move-message):
11420 Use dframe-with-attached-buffer rather than speedbar- alias.
11421 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11422 (dframe-message, speedbar-make-specialized-keymap)
11423 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11424 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11425 (speedbar-insert-button, dframe-select-attached-frame)
11426 (dframe-maybee-jump-to-attached-frame)
11427 (speedbar-change-initial-expansion-list)
11428 (speedbar-previously-used-expansion-list-name): Declare.
11429 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11430 Use dframe-message, dframe-with-attached-buffer rather than
11431 speedbar- aliases.
11432 (gud-sentinel): Silence compiler.
11433 * progmodes/vhdl-mode.el (speedbar-refresh)
11434 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11435 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11436 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11437 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11438 (speedbar-file-lists, speedbar-make-tag-line)
11439 (speedbar-line-directory, speedbar-goto-this-file)
11440 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11441 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11442 (speedbar-make-button, speedbar-reset-scanners)
11443 (speedbar-files-item-info, speedbar-line-text)
11444 (speedbar-find-file-in-frame, speedbar-set-timer)
11445 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11446 (speedbar-with-writable): Do not (re)define it.
11447 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11448 rather than speedbar- alias.
11449
11450 2013-05-21 Leo Liu <sdl.web@gmail.com>
11451
11452 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11453 menu items.
11454 (octave-mode): Tweak fill-nobreak-predicate.
11455 (inferior-octave-startup): Check process to avoid infinite loop.
11456 (inferior-octave): Pop to buffer first to show abornmal process
11457 exit information.
11458
11459 2013-05-21 Glenn Morris <rgm@gnu.org>
11460
11461 * printing.el (pr-menu-bar): Define when compiling.
11462
11463 2013-05-21 Leo Liu <sdl.web@gmail.com>
11464
11465 * progmodes/octave.el (octave-auto-fill): Remove.
11466 (octave-indent-new-comment-line): Improve.
11467 (octave-mode): Use auto fill mode through
11468 comment-line-break-function and fill-nobreak-predicate.
11469 (octave-goto-function-definition): Support DEFUN_DLD.
11470 (octave-beginning-of-defun): Small tweak.
11471 (octave-help): Show parent directory.
11472
11473 2013-05-21 Glenn Morris <rgm@gnu.org>
11474
11475 * files.el (dired-unmark):
11476 * progmodes/gud.el (gdb-input): Update declarations.
11477
11478 * calculator.el (electric, ehelp): No need to load when compiling.
11479 (Electric-command-loop, electric-describe-mode): Declare.
11480
11481 * doc-view.el (doc-view-current-converter-processes): Move before use.
11482
11483 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11484 Move MODE-set-explicitly definition before use.
11485
11486 * international/mule-diag.el (mule-diag):
11487 Don't use obsolete window-system-version.
11488
11489 * mail/feedmail.el (smtpmail): No need to load when compiling.
11490 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11491
11492 * mail/mail-utils.el (rfc822): No need to load when compiling.
11493 (rfc822-addresses): Autoload it.
11494 (mail-strip-quoted-names): Trivial simplification.
11495
11496 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11497 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11498
11499 * net/snmp-mode.el (tempo): Don't duplicate requires.
11500
11501 * progmodes/prolog.el (info): No need to load when compiling.
11502 (comint): Require before shell requires it.
11503 (Info-goto-node): Autoload it.
11504 (Info-follow-nearest-node): Declare.
11505 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11506
11507 * textmodes/artist.el (picture-mode-exit): Declare.
11508
11509 * textmodes/reftex-parse.el (reftex-parse-from-file):
11510 Trivial rewrite so the compiler can parse it better.
11511
11512 2013-05-20 Leo Liu <sdl.web@gmail.com>
11513
11514 * progmodes/octave.el (octave-help-mode-map)
11515 (octave-help-mode-finish-hook): New variables.
11516 (octave-help-mode, octave-help-mode-finish): New functions.
11517 (octave-help): Use octave-help-mode.
11518
11519 2013-05-20 Glenn Morris <rgm@gnu.org>
11520
11521 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11522
11523 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11524
11525 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11526 start at point, so that expansion starting right after opening
11527 slash in a regexp is recognized.
11528 (ruby-syntax-before-regexp-re): New defvar, extracted from
11529 ruby-syntax-propertize-function. Since the value of this regexp
11530 is looked up at runtime now, we should be able to turn
11531 `ruby-syntax-methods-before-regexp' into a defcustom later.
11532 (ruby-syntax-propertize-function): Split regexp matching into two
11533 parts, for opening and closing slashes. That allows us to skip
11534 over string interpolations and support multiline regexps.
11535 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11536 for them, which calls `ruby-syntax-propertize-expansion'.
11537 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11538 call to `ruby-syntax-propertize-function'.
11539 (ruby-syntax-propertize-expansion): Extracted from
11540 `ruby-syntax-propertize-expansions'. Handles one expansion.
11541 (ruby-syntax-propertize-percent-literal): Leave point right after
11542 the percent symbol, so that the expression expansion rule can
11543 propertize the contents.
11544 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11545 heredoc openers.
11546 (ruby-syntax-propertize-expansions): Remove.
11547
11548 2013-05-18 Juri Linkov <juri@jurta.org>
11549
11550 * man.el (Man-default-man-entry): Remove `-' from the end
11551 of the default value. (Bug#14400)
11552
11553 2013-05-18 Glenn Morris <rgm@gnu.org>
11554
11555 * comint.el (comint-password-prompt-regexp):
11556 Allow "password for XXX" where XXX contains colons (eg https://...).
11557
11558 2013-05-18 Leo Liu <sdl.web@gmail.com>
11559
11560 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11561 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11562 (octave-source-directories): Don't check process.
11563 (octave-source-directories, octave-find-definition): Doc fix.
11564
11565 2013-05-18 Glenn Morris <rgm@gnu.org>
11566
11567 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11568 Remove backspace/delete bindings. (Bug#14392)
11569
11570 * cus-dep.el (custom-make-dependencies): Sort the output.
11571 (custom-versions-load-alist): Convert comment to doc.
11572
11573 2013-05-17 Leo Liu <sdl.web@gmail.com>
11574
11575 * newcomment.el (comment-search-backward): Stricter in finding
11576 comment start. (Bug#14303)
11577
11578 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11579 (octave-comment-start-skip): Properly anchored.
11580
11581 2013-05-17 Leo Liu <sdl.web@gmail.com>
11582
11583 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11584 Clean up when turned off. (Bug#14395)
11585 (smie--highlight-matching-block-overlay): No longer buffer-local.
11586 (smie-highlight-matching-block): Adjust.
11587
11588 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11589
11590 Doc string fix for "nanoseconds" (Bug#14406).
11591 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11592 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11593
11594 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11595
11596 * calc/calc-units.el (math-extract-units): Preserve powers
11597 of units.
11598
11599 2013-05-17 Leo Liu <sdl.web@gmail.com>
11600
11601 * subr.el (delete-consecutive-dups): New function.
11602 * ido.el (ido-set-matches-1): Use it.
11603 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11604 * ido.el (ido-remove-consecutive-dups): Remove.
11605
11606 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11609 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11610 regexp-opt's `words'.
11611
11612 2013-05-16 Leo Liu <sdl.web@gmail.com>
11613
11614 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11615 (smie--highlight-matching-block-overlay)
11616 (smie--highlight-matching-block-lastpos)
11617 (smie--highlight-matching-block-timer): New variables.
11618 (smie-highlight-matching-block): New function.
11619 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11620 (smie-setup): Conditionally enable smie-blink-matching-open.
11621
11622 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11623
11624 Sync with upstream verilog-mode r840.
11625 * progmodes/verilog-mode.el (verilog-mode-version)
11626 (verilog-mode-release-date): Update.
11627 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11628 (verilog-sig-tieoff): Fix string error on
11629 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11630 (verilog-read-decls): Fix parameters confusing
11631 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11632
11633 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11634
11635 * subr.el (reveal-filename): New function.
11636
11637 * loadup.el: Compute Emacs executable versions on MS-Windows,
11638 where executables have the .exe extension. Add a hard link
11639 emacs-XX.YY.ZZ.exe on MS-Windows.
11640
11641 * Makefile.in (XARGS_LIMIT): New variable.
11642 (custom-deps, finder-data, autoloads)
11643 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11644 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11645 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11646 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11647
11648 2013-05-16 Leo Liu <sdl.web@gmail.com>
11649
11650 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11651 (octave-mode-menu, octave-mode-map): Remove its uses.
11652
11653 2013-05-16 Reto Zimmermann <reto@gnu.org>
11654
11655 Sync with upstream vhdl mode v3.34.2.
11656 * progmodes/vhdl-mode.el: Use `push' throughout.
11657 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11658 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11659 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11660 (vhdl-actual-generic-name): New option to derive actual generic name.
11661 (vhdl-port-paste-signals): Replace formal by actual generics.
11662 (vhdl-beautify): New name for old group vhdl-align. Update users.
11663 (vhdl-beautify-options): New option.
11664 (vhdl-last-input-event): New compat alias. Use throughout.
11665 (vhdl-goto-line): Replace user level function `goto-line'.
11666 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11667 vhdl-fix-statement-buffer.
11668 (vhdl-create-mode-menu): Add some entries.
11669 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11670 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11671 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11672 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11673 to force statements on one line.
11674 (vhdl-remove-trailing-spaces-region):
11675 New, split from vhdl-remove-trailing-spaces.
11676 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11677 Respect vhdl-beautify-options.
11678 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11679 (vhdl-update-sensitivity-list): Not add with index if exists without.
11680 Not include array index with signal. Ignore keywords in comments.
11681 (vhdl-get-visible-signals): Regexp tweaks.
11682 (vhdl-template-component-inst): Handle empty library.
11683 (vhdl-template-type): Add template for 'enum' type.
11684 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11685 Use vhdl-replace-string.
11686 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11687 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11688 (vhdl-speedbar-initialize): Update for above name change.
11689 (vhdl-compose-wire-components): Fix in handling of constants.
11690 (vhdl-error-regexp-emacs-alist): New variable.
11691 (vhdl-error-regexp-add-emacs): New function;
11692 adds support for new compile.el (Emacs 22+)
11693 (vhdl-generate-makefile-1): Change target order for single lib. units.
11694 Allow use of absolute file names.
11695
11696 2013-05-16 Leo Liu <sdl.web@gmail.com>
11697
11698 * simple.el (prog-indent-sexp): Indent enclosing defun.
11699
11700 2013-05-15 Glenn Morris <rgm@gnu.org>
11701
11702 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11703 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11704 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11705 (whitespace-highlight): Move to whitespace group.
11706
11707 * comint.el (comint-source):
11708 * pcmpl-linux.el (pcmpl-linux):
11709 * shell.el (shell-faces):
11710 * eshell/esh-opt.el (eshell-opt):
11711 * international/ccl.el (ccl): Remove empty custom groups.
11712
11713 * completion.el (dynamic-completion-mode):
11714 * jit-lock.el (jit-lock-debug-mode):
11715 * minibuffer.el (completion-in-region-mode):
11716 * type-break.el (type-break-mode-line-message-mode)
11717 (type-break-query-mode):
11718 * emulation/tpu-edt.el (tpu-edt-mode):
11719 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11720 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11721 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11722
11723 * term/xterm.el (xterm): Change parent group to terminals.
11724
11725 * master.el (master): Remove empty custom group.
11726 (master-mode): Remove unused :group argument.
11727 * textmodes/refill.el (refill): Remove empty custom group.
11728 (refill-mode): Remove unused :group argument.
11729
11730 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11731
11732 * cus-dep.el: Provide a feature.
11733 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11734 Don't mistakenly ignore files whose basenames match a basename
11735 from preloaded-file-list (eg cedet/ede/simple.el).
11736 Add a fallback method for getting :group.
11737
11738 2013-05-15 Juri Linkov <juri@jurta.org>
11739
11740 * isearch.el (isearch-char-by-name): Rename from
11741 `isearch-insert-char-by-name'. Doc fix.
11742 (isearch-forward): Mention `isearch-char-by-name' in
11743 the docstring. (Bug#13348)
11744
11745 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11746 `exit-minibuffer' instead of
11747 `isearch-nonincremental-exit-minibuffer'.
11748 (isearch-edit-string): Remove mention of
11749 `isearch-nonincremental-exit-minibuffer' from docstring.
11750 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11751 (isearch-forward-exit-minibuffer)
11752 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11753
11754 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * loadup.el: Just use unversioned DOC.
11757
11758 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11759 literals as extending to EOB.
11760 (nxml-last-fontify-end): Remove unused variable.
11761 (nxml-after-change1): Use with-silent-modifications.
11762 (nxml-extend-after-change-region): Simplify.
11763 (nxml-extend-after-change-region1): Remove function.
11764 (nxml-after-change1): Don't adjust for dependent regions.
11765 (nxml-fontify-matcher): Simplify.
11766 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11767 (xmltok-add-dependent): Remove function.
11768 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11769 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11770 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11771 unclosed <[[, <?, comment, and other literals as extending to EOB.
11772 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11773 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11774 Remove functions.
11775 (rng-do-some-validation-1): Don't mark dependent regions.
11776 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11777 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11778 (nxml-clear-dependent-regions): Remove functions.
11779 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11780 (nxml-ensure-scan-up-to-date):
11781 Don't clear&mark dependent regions.
11782
11783 2013-05-15 Leo Liu <sdl.web@gmail.com>
11784
11785 * progmodes/octave.el (octave-goto-function-definition):
11786 Improve and fix callers.
11787
11788 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11791 the setter (bug#14387).
11792
11793 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11794 surrounding group (bug#14402).
11795
11796 2013-05-14 Juri Linkov <juri@jurta.org>
11797
11798 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11799 (Bug#14390)
11800
11801 2013-05-14 Glenn Morris <rgm@gnu.org>
11802
11803 * progmodes/f90.el (f90-imenu-generic-expression):
11804 Fix typo in 2013-05-08 change. (Bug#14402)
11805
11806 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11807
11808 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11809 Remove signals for which replies are never received.
11810
11811 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11812
11813 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11814 (gdb-handler-alist, gdb-handler-number): Remove variables.
11815 (gdb-handler-list): New variable.
11816 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11817 (gdb-pending-handler-p, gdb-handle-reply)
11818 (gdb-remove-all-pending-triggers): New functions.
11819 (gdb-discard-unordered-replies): New defcustom.
11820 (gdb-handler): New defstruct.
11821 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11822 instead of gdb-pending-triggers. Update docstring.
11823 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11824 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11825 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11826 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11827 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11828 (gdb-frame-handler): Pending triggers are now automatically managed.
11829 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11830 Remove argument.
11831 (gdb-input): Automatically handles pending triggers. Update docstring.
11832 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11833 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11834 Update comments.
11835 (gdb-done-or-error): Now use gdb-handle-reply.
11836
11837 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11838
11839 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11840 gdb-debug-log.
11841
11842 2013-05-14 Glenn Morris <rgm@gnu.org>
11843
11844 * subr.el (user-emacs-directory-warning): New option.
11845 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11846
11847 2013-05-14 Leo Liu <sdl.web@gmail.com>
11848
11849 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11850 during redisplay.
11851 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11852 (octave-font-lock-texinfo-comment): Fix invalid search bound
11853 error: wrong side of point.
11854
11855 2013-05-14 Glenn Morris <rgm@gnu.org>
11856
11857 * progmodes/flymake.el (flymake-xml-program): New option.
11858 (flymake-xml-init): Use it.
11859
11860 * term/xterm.el: Provide a feature.
11861
11862 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11863
11864 2013-05-13 Glenn Morris <rgm@gnu.org>
11865
11866 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11867 Add compat aliases as a hack workaround. (Bug#14384)
11868
11869 2013-05-13 Leo Liu <sdl.web@gmail.com>
11870
11871 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11872 ###, and %!.
11873 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11874 C-M-q.
11875 (octave-comment-start-skip): Include %!.
11876 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11877
11878 2013-05-12 Leo Liu <sdl.web@gmail.com>
11879
11880 * progmodes/octave.el (inferior-octave-startup): Store the value
11881 of __octave_srcdir__ for octave-source-directories.
11882 (inferior-octave-check-process): New function refactored out of
11883 inferior-octave-send-list-and-digest.
11884 (octave-source-directories)
11885 (octave-find-definition-filename-function): New variables.
11886 (octave-source-directories)
11887 (octave-find-definition-default-filename): New functions.
11888 (octave-find-definition): Improve to find functions implemented in C++.
11889
11890 2013-05-12 Glenn Morris <rgm@gnu.org>
11891
11892 * calendar/diary-lib.el (diary-outlook-format-1):
11893 Don't include dayname in the output. (Bug#14349)
11894
11895 2013-05-11 Glenn Morris <rgm@gnu.org>
11896
11897 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11898
11899 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11900 Treat cc-provide like provide.
11901
11902 2013-05-11 Kevin Ryde <user42@zip.com.au>
11903
11904 * cus-dep.el (custom-make-dependencies):
11905 Use generated-autoload-load-name for the sake of files such
11906 such cedet/semantic/bovine/c.el, where the base file name
11907 is not in load-path. (Bug#5277)
11908
11909 2013-05-11 Glenn Morris <rgm@gnu.org>
11910
11911 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11912 Provide features.
11913
11914 2013-05-11 Leo Liu <sdl.web@gmail.com>
11915
11916 * progmodes/octave.el (octave-indent-comment): Improve.
11917 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11918 (octave-eldoc-function-signatures, octave-eldoc-function):
11919 New functions.
11920 (octave-mode, inferior-octave-mode): Add eldoc support.
11921
11922 2013-05-11 Richard Stallman <rms@gnu.org>
11923
11924 * epa.el (epa-decrypt-file): Take output file name as argument
11925 and read it using `interactive'.
11926
11927 2013-05-11 Leo Liu <sdl.web@gmail.com>
11928
11929 * progmodes/octave.el (octave-beginning-of-line)
11930 (octave-end-of-line): Check before using up-list because it jumps
11931 out of more syntactic contructs since moving to smie.
11932 (octave-indent-comment): New function.
11933 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11934 (octave-begin-keywords, octave-end-keywords)
11935 (octave-reserved-words, octave-smie-bnf-table)
11936 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11937
11938 2013-05-11 Glenn Morris <rgm@gnu.org>
11939
11940 * faces.el (internal-face-x-get-resource):
11941 * frame.el (ns-display-monitor-attributes-list):
11942 * calc/calc-aent.el (math-to-radians-2):
11943 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11944 Fix declarations.
11945
11946 * calc/calc-menu.el: Make it loadable in isolation.
11947
11948 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11949 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11950 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11951 (eudc-bbdb-query-internal): Require 'bbdb.
11952
11953 * lpr.el (lpr-headers-switches):
11954 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11955
11956 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11957
11958 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11959
11960 * term.el (term-set-escape-char): Make it idempotent.
11961
11962 2013-05-10 Leo Liu <sdl.web@gmail.com>
11963
11964 * progmodes/octave.el (inferior-octave-completion-table):
11965 No longer a function and all uses changed. Use cache to speed up
11966 completion due to bug#11906.
11967 (octave-beginning-of-defun): Re-write to be more general.
11968
11969 2013-05-10 Glenn Morris <rgm@gnu.org>
11970
11971 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11972
11973 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * comint.el (comint-redirect-send-command-to-process): Use :around
11976 rather than :override for comint-redirect-filter.
11977 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11978 Call it instead of comint-redirect-original-filter-function (which
11979 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11980
11981 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11982
11983 * frame.el (display-monitor-attributes-list): Add NS case.
11984 (ns-display-monitor-attributes-list): Declare.
11985
11986 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11987
11988 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11989
11990 2013-05-09 Glenn Morris <rgm@gnu.org>
11991
11992 * international/fontset.el (vertical-centering-font-regexp):
11993 Set standard-value.
11994
11995 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11996
11997 * bookmark.el (bookmark-search-delay):
11998 * cus-start.el (vertical-centering-font-regexp):
11999 * ps-mule.el (ps-mule-font-info-database-default):
12000 * ps-print.el (ps-default-fg, ps-default-bg):
12001 * type-break.el (type-break-good-break-interval):
12002 * whitespace.el (whitespace-indentation-regexp)
12003 (whitespace-space-after-tab-regexp):
12004 * emacs-lisp/testcover.el (testcover-1value-functions)
12005 (testcover-noreturn-functions, testcover-progn-functions)
12006 (testcover-prog1-functions):
12007 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12008 * eshell/em-glob.el (eshell-glob-translate-alist):
12009 * play/tetris.el (tetris-tty-colors):
12010 * progmodes/cpp.el (cpp-face-default-list):
12011 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12012 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12013 (idlwave-help-browser-generic-args):
12014 * progmodes/make-mode.el (makefile-special-targets-list):
12015 * progmodes/python.el (python-shell-virtualenv-path):
12016 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12017 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12018 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12019 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12020 * textmodes/reftex-vars.el (reftex-format-label-function):
12021 * textmodes/remember.el (remember-diary-file): Fix custom types.
12022
12023 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12024 Add :version.
12025
12026 2013-05-09 Leo Liu <sdl.web@gmail.com>
12027
12028 * progmodes/octave.el (inferior-octave-completion-at-point):
12029 Restore file completion. (Bug#14300)
12030 (inferior-octave-startup): Fix incorrect highlighting for the
12031 first prompt.
12032
12033 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * progmodes/ruby-mode.el: First cut at SMIE support.
12036 (ruby-use-smie): New var.
12037 (ruby-smie-grammar): New constant.
12038 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12039 (ruby-smie--forward-token, ruby-smie--backward-token)
12040 (ruby-smie-rules): New functions.
12041 (ruby-mode-variables): Setup SMIE if applicable.
12042
12043 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12044
12045 * simple.el (line-move-visual): Signal beginning/end of buffer
12046 only if vertical-motion moved less than it was requested. Avoids
12047 silly incorrect error messages when there are display strings with
12048 multiple newlines at EOL.
12049
12050 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12053 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12054 (prolog-char-quote-workaround):
12055 * progmodes/cperl-mode.el (cperl-under-as-char):
12056 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12057 Mark as obsolete.
12058 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12059 their declaration.
12060 (vhdl-mode-syntax-table-init): Remove.
12061
12062 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12063 last change.
12064
12065 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12066 syntax for "_".
12067 (ld-script-font-lock-keywords):
12068 Change regexps to use things like \_< and \_>.
12069
12070 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12071 Change all regexps to use things like \_< and \_>.
12072
12073 * progmodes/autoconf.el (autoconf-definition-regexp)
12074 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12075 Handle a _ with symbol syntax.
12076 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12077
12078 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12079 Consolidate declaration.
12080 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12081 the declaration.
12082 (ada-create-syntax-table): Remove.
12083 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12084 already has the right syntax nowadays.
12085 (ada-goto-next-word): Don't change the syntax of "_".
12086
12087 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12088 with-wrapper-hook.
12089
12090 2013-05-08 Sam Steingold <sds@gnu.org>
12091
12092 * thingatpt.el (thing-at-point): Accept optional second argument
12093 NO-PROPERTIES to strip the text properties from the return value.
12094 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12095 to `thing-at-point' instead of stripping the properties ourselves.
12096 Also, when `thing-at-point' fails to find a url, prepend "http://"
12097 to the filename at point on the assumption that the user is
12098 pointing at something like gnu.org/gnu.
12099
12100 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12101
12102 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12103 * faces.el (crm-separator):
12104 Silence byte-compiler.
12105
12106 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12107 (tool-bar-map): Remove unneeded defvars.
12108
12109 2013-05-08 Leo Liu <sdl.web@gmail.com>
12110
12111 Re-work a fix for bug#10994 based on Le Wang's patch.
12112 * ido.el (ido-remove-consecutive-dups): New helper.
12113 (ido-completing-read): Use it.
12114 (ido-chop): Revert fix for bug#10994.
12115
12116 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12117
12118 * cus-edit.el (custom-save-variables):
12119 Pretty-print long values. (Bug#14187)
12120
12121 2013-05-08 Glenn Morris <rgm@gnu.org>
12122
12123 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12124 (m4-mode-syntax-table): Init in the defvar.
12125 (m4-mode-abbrev-table): Let define-derived-mode define it.
12126
12127 2013-05-08 Tom Tromey <tromey@redhat.com>
12128
12129 * progmodes/m4-mode.el (m4-mode-syntax-table):
12130 Do not treat "_" as word constituent. (Bug#14167)
12131
12132 2013-05-07 Glenn Morris <rgm@gnu.org>
12133
12134 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12135 Remove explicit eshell-isearch-cancel-map.
12136
12137 * progmodes/f90.el (f90-smart-end-names): New option.
12138 (f90-smart-end): Doc fix.
12139 (f90-end-block-optional-name): New constant.
12140 (f90-block-match): Respect f90-smart-end-names.
12141
12142 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12143
12144 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12145 about implicit semi-colons (bug#14218).
12146
12147 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12148
12149 * frame.el (display-monitor-attributes-list)
12150 (frame-monitor-attributes): New functions.
12151
12152 2013-05-06 Leo Liu <sdl.web@gmail.com>
12153
12154 * progmodes/octave.el (octave-syntax-propertize-function): Change
12155 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12156 (octave-font-lock-keywords): Use octave-operator-regexp.
12157 (octave-completion-at-point): Rename from
12158 octave-completion-at-point-function.
12159 (inferior-octave-directory-tracker): Robustify.
12160 (octave-text-functions): Remove and fix its uses. No such things
12161 any more.
12162
12163 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * emacs-lisp/trace.el (trace--display-buffer): New function.
12166 (trace-make-advice): Use it.
12167
12168 2013-05-06 Juri Linkov <juri@jurta.org>
12169
12170 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12171 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12172 Doc fix.
12173 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12174 in the help string. (Bug#12985)
12175
12176 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12177
12178 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12179
12180 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * progmodes/perl-mode.el: Add support for here documents.
12183 (perl-syntax-propertize-function): Match here-doc markers.
12184 (perl-syntax-propertize-special-constructs): Find their end.
12185 (perl-imenu-generic-expression): Use [:alnum:].
12186
12187 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12188 (advice--add-function): Refresh the advice if already present
12189 (bug#14317).
12190
12191 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12192
12193 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12194
12195 2013-05-06 Glenn Morris <rgm@gnu.org>
12196
12197 * w32-fns.el (w32-charset-info-alist): Declare.
12198
12199 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12200 of its defcustom properties.
12201 (eshell-cmpl-initialize): No need to load pcomplete.
12202
12203 * generic-x.el: No need to require comint when compiling.
12204
12205 * net/eudc-export.el: Make it loadable without bbdb.
12206 (top-level): Use require rather than load-library.
12207 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12208 (eudc-batch-export-records-to-bbdb)
12209 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12210 Require bbdb.
12211
12212 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12215 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12216 some tweaks, instead.
12217
12218 2013-05-05 Leo Liu <sdl.web@gmail.com>
12219
12220 * progmodes/octave.el (octave-font-lock-keywords)
12221 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12222 (inferior-octave-send-list-and-digest): Improve error message.
12223 (octave-mode, inferior-octave-mode): Use setq-local.
12224 (octave-help): Set info-lookup-mode.
12225
12226 2013-05-05 Richard Stallman <rms@gnu.org>
12227
12228 * vc/compare-w.el (compare-windows-whitespace):
12229 Treat no-break space as whitespace.
12230
12231 * mail/rmailsum.el (rmail-summary-rmail-update):
12232 Detect empty summary and don't change selected message.
12233 (rmail-summary-goto-msg): Likewise.
12234
12235 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12236 Doc fixes, rename args.
12237
12238 2013-05-05 Alan Mackenzie <acm@muc.de>
12239
12240 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12241
12242 2013-05-05 Juri Linkov <juri@jurta.org>
12243
12244 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12245 to not add the length of the summary segment to the return value.
12246 (Bug#14125)
12247
12248 2013-05-05 Leo Liu <sdl.web@gmail.com>
12249
12250 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12251 (inferior-octave-output-filter): Remove.
12252 (octave-send-region, inferior-octave-startup): Fix callers.
12253 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12254 (octave-binary-file-extensions): New user variable.
12255 (octave-find-definition): Confirm if opening binary files.
12256 (octave-help-file): Use octave-find-definition to get the binary
12257 confirmation.
12258 (octave-help): Adjust for octave-help-file change.
12259
12260 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12263 Merge the two entries that handle function definitions.
12264 (pascal--syntax-propertize): New const.
12265 (pascal-mode): Use it. Use setq-local.
12266
12267 2013-05-04 Glenn Morris <rgm@gnu.org>
12268
12269 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12270 (diary-from-outlook): Respect diary-from-outlook-function.
12271
12272 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12275 Move the declaration from C.
12276 (read-minibuffer, eval-minibuffer): Move from C.
12277 (completion-setup-function): Avoid minibuffer-completion-contents.
12278
12279 2013-05-03 Leo Liu <sdl.web@gmail.com>
12280
12281 * progmodes/octave.el (octave-font-lock-keywords): Do not
12282 dehighlight 'end' in comments or strings.
12283 (octave-completing-read, octave-goto-function-definition):
12284 New helpers.
12285 (octave-help-buffer): New user variable.
12286 (octave-help-file, octave-help-function): New button types.
12287 (octave-help): New command and bind it to C-h ;.
12288 (octave-find-definition): New command and bind it to M-.
12289 (user-error): Alias to error if not defined.
12290
12291 2013-05-02 Leo Liu <sdl.web@gmail.com>
12292
12293 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12294 for \. (bug#14332)
12295 (octave-font-lock-keywords): Include [ and {.
12296
12297 2013-05-02 Leo Liu <sdl.web@gmail.com>
12298
12299 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12300 (inferior-octave): Remove calling comint-mode and return the buffer.
12301 (inferior-octave-startup): Cosmetic changes.
12302
12303 2013-05-02 Leo Liu <sdl.web@gmail.com>
12304
12305 * progmodes/octave.el (octave-syntax-propertize-function):
12306 Include the case when ' is at line beginning. (Bug#14336)
12307
12308 2013-05-02 Glenn Morris <rgm@gnu.org>
12309
12310 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12311 * desktop.el (vc-dir-mode): Just autoload it here.
12312
12313 2013-05-02 Alan Mackenzie <acm@muc.de>
12314
12315 Eliminate variable c-standard-font-lock-fontify-region-function.
12316 * progmodes/cc-mode.el
12317 (c-standard-font-lock-fontify-region-function): Remove.
12318 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12319
12320 2013-05-01 Leo Liu <sdl.web@gmail.com>
12321
12322 * progmodes/octave.el: Compatible with older emacs-24 releases.
12323 (inferior-octave-has-built-in-variables): Remove. Built-in
12324 variables were removed from Octave in 2007.
12325 (inferior-octave-startup): Fix uses.
12326 (comint-line-beginning-position): Remove compatibility code for
12327 emacs 21.
12328
12329 2013-05-01 Juri Linkov <juri@jurta.org>
12330
12331 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12332
12333 2013-05-01 Juri Linkov <juri@jurta.org>
12334
12335 * comint.el (comint-previous-matching-input): Don't print message
12336 "History item: %d" when `isearch-mode' is active.
12337 (comint-history-isearch-message): Print message "History item: %d"
12338 when `comint-input-ring-index' is not empty and this function is
12339 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12340
12341 2013-05-01 Leo Liu <sdl.web@gmail.com>
12342
12343 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12344 definitions. Use completion-at-point to insert keywords.
12345 (octave-abbrev-start): Remove.
12346 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12347
12348 2013-04-30 Leo Liu <sdl.web@gmail.com>
12349
12350 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12351 change.
12352
12353 2013-04-30 Alan Mackenzie <acm@muc.de>
12354
12355 Handle arbitrarily long C++ member initialisation lists.
12356 * progmodes/cc-engine.el (c-back-over-member-initializers):
12357 new function.
12358 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12359 (most) member init lists.
12360
12361 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12362
12363 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12364 variable.
12365
12366 2013-04-30 Leo Liu <sdl.web@gmail.com>
12367
12368 * progmodes/octave.el (octave-variables): Remove. No builtin
12369 variables any more. All converted to functions.
12370 (octave-font-lock-keywords, octave-completion-at-point-function):
12371 Fix uses.
12372 (octave-font-lock-texinfo-comment): New user variable.
12373 (octave-texinfo-font-lock-keywords): New variable for texinfo
12374 comment block.
12375 (octave-function-comment-block): New face.
12376 (octave-font-lock-texinfo-comment): New function.
12377 (octave-mode): Font lock texinfo comment block.
12378
12379 2013-04-29 Leo Liu <sdl.web@gmail.com>
12380
12381 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12382 indexing expression.
12383 (octave-continuation-string): Do not use \.
12384 (inferior-octave-complete-impossible): Remove.
12385 (inferior-octave-completion-table)
12386 (inferior-octave-completion-at-point): Remove its uses.
12387 (inferior-octave-startup): completion_matches was introduced to
12388 Octave in 1996 so safe to assume it.
12389 (octave-function-file-comment): Improve to follow how Octave does it.
12390 (octave-update-function-file-comment): Tweak.
12391
12392 2013-04-29 Leo Liu <sdl.web@gmail.com>
12393
12394 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12395 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12396 (octave-function-file-comment): Fix typo.
12397 (octave-sync-function-file-names): Use read-char-choice.
12398
12399 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12400
12401 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12402 to t for the less important warnings.
12403
12404 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12405
12406 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12407
12408 2013-04-27 Glenn Morris <rgm@gnu.org>
12409
12410 * vc/log-view.el (log-view-current-entry):
12411 Treat "---" separator lines as part of the following rev. (Bug#14169)
12412
12413 2013-04-27 Juri Linkov <juri@jurta.org>
12414
12415 * subr.el (read-number): Doc fix about using it by interactive
12416 code letter `n'. (Bug#14254)
12417
12418 2013-04-27 Juri Linkov <juri@jurta.org>
12419
12420 * desktop.el (desktop-auto-save-timeout): New option.
12421 (desktop-file-checksum): New variable.
12422 (desktop-save): Add optional arg `auto-save' and don't auto-save
12423 if nothing changed.
12424 (desktop-auto-save-timer): New variable.
12425 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12426 (after-init-hook): Call `desktop-auto-save-set-timer'.
12427 Suggested by Reuben Thomas <rrt@sc3d.org> in
12428 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12429
12430 2013-04-27 Leo Liu <sdl.web@gmail.com>
12431
12432 * progmodes/octave.el (octave-function-file-p)
12433 (octave-skip-comment-forward, octave-function-file-comment)
12434 (octave-update-function-file-comment): New functions.
12435 (octave-mode-map): Bind C-c ; to
12436 octave-update-function-file-comment.
12437 (octave-mode-menu): Add octave-update-function-file-comment.
12438 (octave-mode, inferior-octave-mode): Fix doc-string.
12439 (octave-insert-defun): Conform to Octave's coding convention.
12440 (Bug#14285)
12441
12442 * files.el (basic-save-buffer): Don't let errors in
12443 before-save-hook prevent saving buffer.
12444
12445 2013-04-20 Roland Winkler <winkler@gnu.org>
12446
12447 * faces.el (read-face-name): Use completing-read if arg multiple
12448 is nil.
12449
12450 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12451
12452 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12453 displayed, move point to after the totals line.
12454 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12455 for the details.
12456
12457 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12460 Add current dir to the load-path.
12461 (package-generate-autoloads): Don't rely on
12462 autoload-ensure-default-file.
12463
12464 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12465
12466 * textmodes/remember.el (remember-store-in-files): Document that
12467 the file name format is passed to `format-time-string'.
12468
12469 2013-04-26 Leo Liu <sdl.web@gmail.com>
12470
12471 * progmodes/octave.el (octave-sync-function-file-names): New function.
12472 (octave-mode): Use it in before-save-hook.
12473
12474 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12477 (bug#14274).
12478
12479 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12480 \n and comment, even if it's not an implicit ; (bug#14218).
12481
12482 2013-04-26 Glenn Morris <rgm@gnu.org>
12483
12484 * subr.el (read-number): Once more use `read' rather than
12485 `string-to-number', to trap non-numeric input. (Bug#14254)
12486
12487 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12488
12489 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12490 Use `syntax-multiline' text property consistently instead of
12491 `font-lock-multiline'. (Bug#14237)
12492
12493 2013-04-26 Glenn Morris <rgm@gnu.org>
12494
12495 * emacs-lisp/shadow.el (list-load-path-shadows):
12496 No longer necessary to check for duplicate simple.el, since
12497 2012-07-07 change to init_lread to not include installation lisp
12498 directories in load-path when running uninstalled. (Bug#14270)
12499
12500 2013-04-26 Leo Liu <sdl.web@gmail.com>
12501
12502 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12503 (octave-mode, inferior-octave-mode): Use setq-local.
12504 (octave-not-in-string-or-comment-p): Rename to
12505 octave-in-string-or-comment-p.
12506 (octave-in-comment-p, octave-in-string-p)
12507 (octave-in-string-or-comment-p): Replace defsubst with defun.
12508
12509 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12510
12511 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12512
12513 2013-04-25 Bastien Guerry <bzg@gnu.org>
12514
12515 * textmodes/remember.el (remember-data-directory)
12516 (remember-directory-file-name-format): Fix custom types.
12517
12518 2013-04-25 Leo Liu <sdl.web@gmail.com>
12519
12520 * progmodes/octave.el (octave-completion-at-point-function):
12521 Make use of inferior octave process.
12522 (octave-initialize-completions): Remove.
12523 (inferior-octave-completion-table): New function.
12524 (inferior-octave-completion-at-point): Use it.
12525 (octave-completion-alist): Remove.
12526
12527 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12528
12529 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12530 (opascal-mode-syntax-table): New var.
12531 (opascal-literal-kind, opascal-is-literal-end)
12532 (opascal-literal-token-at): Rewrite.
12533 (opascal--literal-start-re, opascal-font-lock-keywords)
12534 (opascal--syntax-propertize): New constants.
12535 (opascal-font-lock-defaults): Adjust.
12536 (opascal-mode): Use them. Set comment-<foo> variables as well.
12537 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12538 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12539 (delphi-other-face, opascal-other-face): Remove face variables.
12540 (opascal-save-state): Remove macro.
12541 (opascal-fontifying-progress-step): Remove constant.
12542 (opascal--ignore-changes): Remove var.
12543 (opascal-set-token-property, opascal-parse-next-literal)
12544 (opascal-is-stable-literal, opascal-complete-literal)
12545 (opascal-is-literal-start, opascal-face-of)
12546 (opascal-parse-region, opascal-parse-region-until-stable)
12547 (opascal-fontify-region, opascal-after-change)
12548 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12549 (opascal-debug-parse-region, opascal-debug-parse-window)
12550 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12551 (opascal-debug-fontify-buffer): Remove.
12552 (opascal-debug-mode-map): Adjust accordingly.
12553
12554 2013-04-25 Leo Liu <sdl.web@gmail.com>
12555
12556 Merge octave-mod.el and octave-inf.el into octave.el with some
12557 cleanups.
12558 * progmodes/octave.el: New file renamed from octave-mod.el.
12559 * progmodes/octave-inf.el: Merged into octave.el.
12560 * progmodes/octave-mod.el: Renamed to octave.el.
12561
12562 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12563
12564 * textmodes/reftex-vars.el
12565 (reftex-label-ignored-macros-and-environments): New defcustom.
12566
12567 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12568
12569 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12572 (smie-indent-keyword): Improve the check to ensure that the next
12573 comment is really on the same line.
12574 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12575
12576 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12577 semi-colons if the line is not otherwise empty (bug#14218).
12578
12579 2013-04-25 Glenn Morris <rgm@gnu.org>
12580
12581 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12582
12583 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * progmodes/opascal.el (opascal-set-token-property): Rename from
12586 opascal-set-text-properties and only set `token' (bug#14134).
12587 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12588 (opascal-literal-text-properties): Remove.
12589 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12590 Adjust callers.
12591
12592 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12593
12594 * textmodes/remember.el (remember-handler-functions): Add an
12595 option for a new handler `remember-store-in-files'.
12596 (remember-data-directory, remember-directory-file-name-format):
12597 New options.
12598 (remember-store-in-files): New function to store remember notes
12599 as separate files within a directory.
12600
12601 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12602
12603 * progmodes/compile.el (compilation-next-error-function):
12604 Pass "formats" to compilation-find-file (bug#11777).
12605
12606 2013-04-24 Glenn Morris <rgm@gnu.org>
12607
12608 * vc/vc-bzr.el (vc-bzr-print-log):
12609 * vc/vc-hg.el (vc-hg-print-log):
12610 * vc/vc-svn.el (vc-svn-print-log):
12611 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12612
12613 * vc/vc-bzr.el (vc-bzr-print-log):
12614 * vc/vc-cvs.el (vc-cvs-print-log):
12615 * vc/vc-git.el (vc-git-print-log):
12616 * vc/vc-hg.el (vc-hg-print-log):
12617 * vc/vc-mtn.el (vc-mtn-print-log):
12618 * vc/vc-rcs.el (vc-rcs-print-log):
12619 * vc/vc-sccs.el (vc-sccs-print-log):
12620 * vc/vc-svn.el (vc-svn-print-log):
12621 * vc/vc.el (vc-print-log-internal): Doc fixes.
12622
12623 2013-04-23 Glenn Morris <rgm@gnu.org>
12624
12625 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12626 Remove venerable code attempting to avoid substitute-command-keys.
12627
12628 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12629
12630 * textmodes/reftex-vars.el (reftex-label-regexps):
12631 Call `reftex-compile-variables' after changes to this variable.
12632
12633 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12636 Use lexical-binding.
12637 (jit-lock-force-redisplay): Use markers, check buffer's continued
12638 existence and beware narrowed buffers.
12639 (jit-lock-fontify-now): Adjust call accordingly.
12640
12641 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12644 to avoid misleading the user.
12645
12646 2013-04-22 Leo Liu <sdl.web@gmail.com>
12647
12648 * info-look.el: Prefer latex2e.info. (Bug#14240)
12649
12650 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12651
12652 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12653
12654 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12655 * net/tramp.el (tramp-call-process): ... here.
12656 (tramp-set-completion-function, tramp-parse-putty):
12657 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12658 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12659 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12660 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12661 (tramp-call-local-coding-command): Use `tramp-call-process'
12662 instead of `tramp-compat-call-process'.
12663
12664 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12665 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12666 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12667 (tramp-find-inline-compress): Improve traces.
12668 (tramp-maybe-send-script): Check for Perl binary.
12669 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12670
12671 2013-04-22 Daiki Ueno <ueno@gnu.org>
12672
12673 * epg.el (epg-context-pinentry-mode): New function.
12674 (epg-context-set-pinentry-mode): New function.
12675 (epg--start): Pass --pinentry-mode option to gpg command.
12676
12677 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12678
12679 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12680 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12681 `completion-at-point'. (Bug#13774)
12682
12683 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12684 default key binding for `describe-distribution' has been moved to
12685 `C-h C-o'. (Bug#13970)
12686
12687 2013-04-21 Glenn Morris <rgm@gnu.org>
12688
12689 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12690 Add doc strings.
12691 (vc-print-log): Clarify interactive prompt.
12692
12693 2013-04-20 Glenn Morris <rgm@gnu.org>
12694
12695 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12696 No longer include timestamp etc information.
12697
12698 2013-04-20 Roland Winkler <winkler@gnu.org>
12699
12700 * faces.el (read-face-name): Bug fix, return just one face if arg
12701 multiple is nil. (Bug#14209)
12702
12703 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12706 (remove-function): Autoload.
12707
12708 * comint.el (comint-redirect-original-filter-function): Remove.
12709 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12710 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12711 (vc-cvs-annotate-command):
12712 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12713 * progmodes/prolog.el (prolog-consult-compile):
12714 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12715 Use add/remove-function instead.
12716 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12717 (gud-tooltip-process-output, gud-tooltip-tips):
12718 Use add/remove-function instead.
12719 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12720 (scheme-interaction-mode, exit-scheme-interaction-mode):
12721 Use add/remove-function instead.
12722
12723 * vc/vc-dispatcher.el: Use lexical-binding.
12724 (vc--process-sentinel): Rename from vc-process-sentinel.
12725 Change last arg to be the code to run. Don't use vc-previous-sentinel
12726 and vc-sentinel-commands any more.
12727 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12728 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12729
12730 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12731
12732 * progmodes/sh-script.el (sh-imenu-generic-expression):
12733 Handle function names with a single character. (Bug#14111)
12734
12735 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12736
12737 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12738 for subroutines defined in an eval (bug#14182).
12739
12740 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12741
12742 * bookmark.el (bookmark-completing-read): Improve handling of empty
12743 string (bug#14176).
12744
12745 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12748
12749 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12750
12751 New faster Imenu implementation (bug#14058).
12752 * progmodes/python.el:
12753 (python-imenu-prev-index-position):
12754 (python-imenu-format-item-label-function)
12755 (python-imenu-format-parent-item-label-function)
12756 (python-imenu-format-parent-item-jump-label-function):
12757 New vars.
12758 (python-imenu-format-item-label)
12759 (python-imenu-format-parent-item-label)
12760 (python-imenu-format-parent-item-jump-label)
12761 (python-imenu--put-parent, python-imenu--build-tree)
12762 (python-imenu-create-index, python-imenu-create-flat-index)
12763 (python-util-popn): New functions.
12764 (python-mode): Set imenu-create-index-function to
12765 python-imenu-create-index.
12766
12767 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * winner.el (winner-active-region): Use region-active-p, activate-mark
12770 and deactivate-mark (bug#14225).
12771
12772 * simple.el (deactivate-mark): Don't inline it.
12773
12774 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12775
12776 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12777
12778 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12779
12780 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12781 file extensions from the archive-mode entry in order to prefer
12782 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12783
12784 2013-04-18 Leo Liu <sdl.web@gmail.com>
12785
12786 * bindings.el (help-event-list): Add ?\?.
12787
12788 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * subr.el (with-wrapper-hook): Declare obsolete.
12791 * simple.el (filter-buffer-substring-function): New hook.
12792 (filter-buffer-substring): Use it.
12793 (filter-buffer-substring-functions): Mark obsolete.
12794 * minibuffer.el (completion-in-region-function): New hook.
12795 (completion-in-region): Use it.
12796 (completion-in-region-functions): Mark obsolete.
12797 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12798 * abbrev.el (abbrev-expand-function): New hook.
12799 (expand-abbrev): Use it.
12800 (abbrev-expand-functions): Mark obsolete.
12801 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12802 and :filter-return.
12803
12804 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12805
12806 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12807 and do not care about match data.
12808
12809 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12812 completion tables when completing error conditions and
12813 `declare' arguments.
12814 (lisp-complete-symbol, field-complete): Mark as obsolete.
12815 (check-parens): Unmatched parens are user errors.
12816 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12817
12818 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12819
12820 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12821 command changed buffer (ie. `flyspell-pre-buffer' is not current
12822 buffer), which prevents making decisions based on invalid value of
12823 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12824 cause an error when `flyspell-pre-point' was nil after switching
12825 buffers.
12826 (flyspell-post-command-hook): No longer needs to change buffers when
12827 checking pre-word. While at it remove unnecessary progn.
12828
12829 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12830
12831 * textmodes/ispell.el (ispell-add-per-file-word-list):
12832 Fix `flyspell-correct-word-before-point' error when accepting
12833 words and `coment-padding' is an integer by using
12834 `comment-normalize-vars' (Bug #14214).
12835
12836 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12837
12838 New defun movement commands.
12839 * progmodes/python.el (python-nav--syntactically)
12840 (python-nav--forward-defun, python-nav-backward-defun)
12841 (python-nav-forward-defun): New functions.
12842
12843 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12844
12845 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12846 (python-syntax-context): Use named compiler-macro for backwards
12847 compatibility with Emacs 24.x.
12848
12849 2013-04-17 Leo Liu <sdl.web@gmail.com>
12850
12851 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12852 octave-hide-process-buffer.
12853
12854 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12857 (bug#14216).
12858
12859 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12860
12861 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12862 Fix adjustment of offset when receiving incomplete responses from GDB
12863 (bug#14129).
12864
12865 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12868 python-mode-abbrev-table.
12869 (python-skeleton-define): Adjust accordingly.
12870 (python-mode-abbrev-table): New table that inherits from it so that
12871 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12872
12873 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12874 (abbrev-symbol): Use it.
12875 (abbrev--before-point): Use it since we already handle inheritance.
12876
12877 2013-04-16 Leo Liu <sdl.web@gmail.com>
12878
12879 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12880 binding to info-lookup-symbol.
12881
12882 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12883
12884 * minibuffer.el (completion--twq-all):
12885 * term/ns-win.el (ns-initialize-window-system):
12886 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12887
12888 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12889
12890 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12891 global bindings.
12892
12893 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12894
12895 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12896
12897 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12898 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12899 to nil.
12900 (ruby-end-of-defun): Remove the unused arg, change the docstring
12901 to reflect that this function is only used as the value of
12902 `end-of-defun-function'.
12903 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12904 to reflect an earlier change that beginning/end-of-defun functions
12905 jump between methods in a class definition, as well as top-level
12906 functions.
12907
12908 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * minibuffer.el (minibuffer-complete): Don't just scroll
12911 a *Completions* that's been iconified.
12912 (minibuffer-force-complete): Make sure repetitions do cycle when going
12913 through completion-in-region -> minibuffer-complete.
12914
12915 2013-04-15 Alan Mackenzie <acm@muc.de>
12916
12917 Correct the placement of c-cpp-delimiters when there're #s not at
12918 col 0.
12919
12920 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12921 place a submatch around the #.
12922 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12923 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12924 on the #, not BOL.
12925
12926 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12927
12928 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12929 (advice--member-p): New arg `name'.
12930 (advice--add-function, advice-member-p): Use it (bug#14202).
12931
12932 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12933
12934 Reformulate java imenu-generic-expression.
12935 The old expression contained ill formed regexps.
12936
12937 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12938 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12939 (cc-imenu-java-method-arg-regexp): New defconsts.
12940 (cc-imenu-java-build-type-args-regex): New defun.
12941 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12942 handling of spaces in the regexp.
12943
12944 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12945
12946 * textmodes/ispell.el (ispell-command-loop): Remove
12947 flyspell highlight of a word when ispell accepts it (bug #14178).
12948
12949 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12950
12951 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12952 uses code from the previous `ange-ftp-run-real-handler'.
12953 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12954 only in case that function exist. This is needed for proper
12955 unloading of Tramp.
12956
12957 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12958
12959 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12960
12961 * textmodes/reftex.el (reftex-compile-variables): Use it.
12962
12963 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * files.el (normal-mode): Only use default major-mode if no other mode
12966 was specified.
12967
12968 * emacs-lisp/trace.el (trace-values): New function.
12969
12970 * files.el: Allow : in local variables (bug#14089).
12971 (hack-local-variable-regexp): New var.
12972 (hack-local-variables-prop-line, hack-local-variables): Use it.
12973
12974 2013-04-13 Roland Winkler <winkler@gnu.org>
12975
12976 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12977 data before it gets modified by bibtex-beginning-of-entry.
12978
12979 2013-04-13 Roland Winkler <winkler@gnu.org>
12980
12981 * textmodes/bibtex.el (bibtex-url): Doc fix.
12982
12983 2013-04-13 Roland Winkler <winkler@gnu.org>
12984
12985 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12986 does not visit a BibTeX file, exclude it from the list of buffers
12987 returned by bibtex-initialize.
12988
12989 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12990
12991 * window.el (split-window): Remove interactive form, since as a
12992 command this function is a special case of split-window-below.
12993 Correct doc string.
12994
12995 2013-04-12 Roland Winkler <winkler@gnu.org>
12996
12997 * faces.el (read-face-name): Do not override value of arg default.
12998 Allow single faces and strings as default values. Remove those
12999 elements from return value that are not faces.
13000 (describe-face): Simplify.
13001 (face-at-point): New optional args thing and multiple so that this
13002 function can provide the same functionality previously provided by
13003 read-face-name.
13004 (make-face-bold, make-face-unbold, make-face-italic)
13005 (make-face-unitalic, make-face-bold-italic, invert-face)
13006 (modify-face, read-face-and-attribute): Use face-at-point.
13007
13008 * cus-edit.el (customize-face, customize-face-other-window)
13009 * cus-theme.el (custom-theme-add-face)
13010 * face-remap.el (buffer-face-set)
13011 * facemenu.el (facemenu-set-face): Use face-at-point.
13012
13013 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13014
13015 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13016
13017 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13018
13019 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13020 off leading { and trailing } from field values.
13021
13022 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * emacs-lisp/timer.el (timer--check): New function.
13025 (timer--time, timer-set-function, timer-event-handler): Use it.
13026 (timer-set-idle-time): Simplify.
13027 (timer--activate): CSE.
13028 (timer-event-handler): Give more info in error message.
13029 (internal-timer-start-idle): New function, moved from C.
13030
13031 * mpc.el (mpc-proc): Add `restart' argument.
13032 (mpc-proc-cmd): Use it.
13033 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13034 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13035 less often.
13036
13037 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13038
13039 * progmodes/sh-script.el: Implement `sh-mode' own
13040 `add-log-current-defun-function' (bug#14112).
13041 (sh-current-defun-name): New function.
13042 (sh-mode): Use the function.
13043
13044 2013-04-09 Bastien Guerry <bzg@gnu.org>
13045
13046 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13047
13048 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13051
13052 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13053 timer (bug#14156).
13054
13055 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13056
13057 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13058 declaration.
13059
13060 2013-04-07 Leo Liu <sdl.web@gmail.com>
13061
13062 * pcmpl-x.el: New file.
13063
13064 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13065
13066 Do not set x-display-name until X connection is established.
13067 This is needed to prevent from weird situation described at
13068 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13069 * frame.el (make-frame): Set x-display-name after call to
13070 window system initialization function, not before.
13071 * term/x-win.el (x-initialize-window-system): Add optional
13072 display argument and use it.
13073 * term/w32-win.el (w32-initialize-window-system):
13074 * term/ns-win.el (ns-initialize-window-system):
13075 * term/pc-win.el (msdos-initialize-window-system):
13076 Add compatible optional display argument.
13077
13078 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13079
13080 * files.el (normal-backup-enable-predicate): On MS-Windows and
13081 MS-DOS compare truenames of temporary-file-directory and of the
13082 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13083 don't fail comparison by compare-strings. Also, compare file
13084 names case-insensitively on MS-Windows and MS-DOS.
13085
13086 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13089 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13090
13091 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13092
13093 * whitespace.el (whitespace-color-on, whitespace-color-off):
13094 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13095
13096 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13097
13098 * ispell.el (ispell-set-spellchecker-params):
13099 Really set `ispell-args' for all equivs.
13100
13101 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * ido.el (ido-completions): Use extra elements of ido-decorations
13104 (bug#14143).
13105 (ido-decorations): Update docstring.
13106
13107 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13108
13109 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13110 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13111 nil during initialization, in order not to miss changes since the
13112 file was opened. (Bug#14140)
13113
13114 2013-04-05 Leo Liu <sdl.web@gmail.com>
13115
13116 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13117
13118 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13119
13120 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13121
13122 2013-04-04 Glenn Morris <rgm@gnu.org>
13123
13124 * electric.el (electric-pair-inhibit-predicate): Add :version.
13125
13126 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13129 when a package is required several times (bug#14082).
13130
13131 2013-04-04 Roland Winkler <winkler@gnu.org>
13132
13133 * faces.el (read-face-name): Behave as promised by the docstring.
13134 Assume that arg default is a list of faces.
13135 (describe-face): Call read-face-name with list of default faces.
13136
13137 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13138
13139 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13140 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13141 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13142 the header.
13143 (bookmark-exit-hook-internal): Save even if list is empty.
13144
13145 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13146
13147 * emacs-lisp/package.el (package-pinned-packages): New var.
13148 (package--add-to-archive-contents): Obey it (bug#14118).
13149
13150 2013-04-03 Alan Mackenzie <acm@muc.de>
13151
13152 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13153 Also adapt to the new values of element 7 of a parse state.
13154
13155 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13156 parameter `not-in-delimiter'. Handle being inside comment opener.
13157 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13158 character in case we're typing a '*' after a '/'.
13159 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13160 instead by passing the parameter to c-state-pp-to-literal.
13161
13162 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13163 for elt. 7 of a parse state.
13164
13165 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13166
13167 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13168 * international/latin1-disp.el, international/mule-util.el:
13169 * language/cyril-util.el, language/european.el, language/ind-util.el:
13170 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13171 * language/tibetan.el, language/viet-util.el:
13172 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13173
13174 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13175
13176 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13177 (electric-pair-post-self-insert-function): Use it.
13178 (electric-pair-default-inhibit): New function, extracted from
13179 electric-pair-post-self-insert-function.
13180
13181 2013-03-31 Roland Winkler <winkler@gnu.org>
13182
13183 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13184
13185 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13188
13189 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13190
13191 Un-indent after "pass" and "return" statements (Bug#13888)
13192 * progmodes/python.el (python-indent-block-enders): New var.
13193 (python-indent-calculate-indentation): Use it.
13194
13195 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13196
13197 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13198 defun. Defining it as defalias could introduce too eager
13199 byte-compiler optimization. (Bug#14030)
13200
13201 2013-03-30 Chong Yidong <cyd@gnu.org>
13202
13203 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13204
13205 2013-03-30 Leo Liu <sdl.web@gmail.com>
13206
13207 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13208 (kmacro-execute-from-register): Pass the keyboard macro to
13209 kmacro-call-macro or repeating won't work correctly.
13210
13211 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13212
13213 * progmodes/subword.el: Back to using `forward-symbol'.
13214
13215 * subr.el (forward-whitespace, forward-symbol)
13216 (forward-same-syntax): Move from thingatpt.el.
13217
13218 2013-03-29 Leo Liu <sdl.web@gmail.com>
13219
13220 * kmacro.el (kmacro-to-register): New command.
13221 (kmacro-execute-from-register): New function.
13222 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13223
13224 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * mpc.el: Use defvar-local and setq-local.
13227 (mpc--proc-connect): Connection failures are not bugs.
13228 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13229 (mpc-volume-map): Bind to the up-events.
13230
13231 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13232
13233 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13234 instead of `forward-symbol'.
13235
13236 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13237
13238 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13239 (edebug--recursive-edit): Use it.
13240 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13241 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13242
13243 2013-03-28 Leo Liu <sdl.web@gmail.com>
13244
13245 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13246
13247 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13248
13249 * facemenu.el (list-colors-callback): New defvar.
13250 (list-colors-redisplay): New function.
13251 (list-colors-display): Install list-colors-redisplay as the
13252 revert-buffer-function. (Bug#14063)
13253
13254 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13257 and suffixes don't overlap (bug#14061).
13258
13259 * case-table.el: Use lexical-binding.
13260 (case-table-get-table): New function.
13261 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13262
13263 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13264
13265 * progmodes/subword.el: Add `superword-mode' to do word motion
13266 over symbol_words (parallels and leverages `subword-mode' which
13267 does word motion inside MixedCaseWords).
13268
13269 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13270
13271 * eshell/em-unix.el: Move su and sudo to...
13272 * eshell/em-tramp.el: ...Eshell tramp module.
13273
13274 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13275
13276 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13277 Change return value to be a sexp. Delay `get-buffer' to after
13278 restoring the desktop (bug#13951).
13279
13280 2013-03-26 Leo Liu <sdl.web@gmail.com>
13281
13282 * register.el: Move semantic tag handling back to
13283 cedet/semantic/senator.el. (Bug#14052)
13284
13285 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13288 into the prompt either (bug#13963).
13289
13290 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13291
13292 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13293 part of "(error-foo)".
13294
13295 2013-03-24 Juri Linkov <juri@jurta.org>
13296
13297 * replace.el (list-matching-lines-prefix-face): New defcustom.
13298 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13299 `occur-engine' if `face-differs-from-default-p' returns t.
13300 (occur-engine): Add `,' inside backquote construct to evaluate
13301 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13302 Pass `prefix-face' to the functions `occur-context-lines' and
13303 `occur-engine-add-prefix'.
13304 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13305 `prefix-face' and propertize the prefix with `prefix-face'.
13306 (Bug#14017)
13307
13308 2013-03-24 Leo Liu <sdl.web@gmail.com>
13309
13310 * nxml/rng-valid.el (rng-validate-while-idle)
13311 (rng-validate-quick-while-idle): Guard against deleted buffer.
13312 (Bug#13999)
13313
13314 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13315 is the last entry in kill-buffer-hook.
13316
13317 * files.el (kill-buffer-hook): Doc fix.
13318
13319 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13320
13321 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13322 Make it safe-local.
13323
13324 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13325
13326 2013-03-23 Leo Liu <sdl.web@gmail.com>
13327
13328 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13329 Remove.
13330
13331 * nxml/rng-valid.el (rng-validate-mode)
13332 (rng-after-change-function, rng-do-some-validation):
13333 * nxml/rng-maint.el (rng-validate-buffer):
13334 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13335 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13336 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13337 (nxml-extend-after-change-region): Use with-silent-modifications.
13338
13339 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13340 timer-idle-list.
13341
13342 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13343 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13344 timer-idle-list. (Bug#13999)
13345
13346 2013-03-23 Juri Linkov <juri@jurta.org>
13347
13348 * info.el (info-index-match): New face.
13349 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13350 main pattern and add text properties with the new face to matches
13351 in index entries relative to the beginning of the index entry.
13352 (Bug#14015)
13353
13354 2013-03-21 Eric Ludlam <zappo@gnu.org>
13355
13356 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13357 Inhibit read only while inserting objects.
13358
13359 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13360
13361 * progmodes/cfengine.el: Update docs to mention
13362 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13363 symbol motion. Remove "_" from the word syntax.
13364
13365 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13366
13367 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13368 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13369
13370 2013-03-20 Juri Linkov <juri@jurta.org>
13371
13372 * info.el (Info-next-reference-or-link)
13373 (Info-prev-reference-or-link): New functions.
13374 (Info-next-reference, Info-prev-reference): Use them.
13375 (Info-try-follow-nearest-node): Handle footnote navigation.
13376 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13377
13378 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13381 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13382
13383 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13384
13385 Suppress unnecessary non-ASCII chatter during build process.
13386 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13387 (batch-skkdic-convert): Suppress most of the chatter.
13388 It's not needed so much now that machines are faster,
13389 and its non-ASCII component was confusing; see Dmitry Gutov in
13390 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13391
13392 2013-03-20 Leo Liu <sdl.web@gmail.com>
13393
13394 * ido.el (ido-chop): Fix bug#10994.
13395
13396 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13397
13398 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13399 Remove vars.
13400 (whitespace-color-on, whitespace-color-off):
13401 Use `font-lock-fontify-buffer' (Bug#13817).
13402
13403 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13406 remapping in mode-line.
13407 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13408
13409 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13410
13411 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13412 value for `whitespace-line' face (Bug#13875).
13413 (whitespace-font-lock-keywords): Change description.
13414 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13415 the constructed keywords instead.
13416 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13417
13418 2013-03-19 Leo Liu <sdl.web@gmail.com>
13419
13420 * progmodes/compile.el (compilation-display-error): New command.
13421 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13422 C-o. (Bug#13992)
13423
13424 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13425
13426 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13427
13428 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13429
13430 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13431
13432 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13433
13434 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13435
13436 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13437 * net/tramp-gvfs.el (top):
13438 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13439 (tramp-handle-shell-command): Use it.
13440 (tramp-dissect-file-name): Raise an error when hostname is a
13441 method name, and neither method nor user is specified.
13442
13443 * net/trampver.el: Update release number.
13444
13445 2013-03-18 Leo Liu <sdl.web@gmail.com>
13446
13447 Make sure eldoc can be turned off properly.
13448 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13449 eldoc-mode.
13450 (eldoc-display-message-p): Revert last change.
13451 (eldoc-display-message-no-interference-p)
13452 (eldoc-print-current-symbol-info): Tweak.
13453
13454 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13455
13456 * doc-view.el (doc-view-new-window-function): Check the new window
13457 overlay's display property instead the char property of the
13458 buffer's first char. Use `with-selected-window' instead of
13459 `save-window-excursion' with `select-window'.
13460 (doc-view-document->bitmap): Check the current doc-view overlay's
13461 display property instead the char property of the buffer's first char.
13462
13463 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13464
13465 Automate the build of ja-dic.el (Bug#13984).
13466 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13467 from the input, rather than assume that it's been done for us by the
13468 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13469 the current date into a ja-dic.el comment, as that complicates
13470 regression testing.
13471
13472 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * whitespace.el: Fix double evaluation.
13475 (whitespace-space, whitespace-hspace, whitespace-tab)
13476 (whitespace-newline, whitespace-trailing, whitespace-line)
13477 (whitespace-space-before-tab, whitespace-indentation)
13478 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13479 obsolete defvars.
13480 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13481 (whitespace-color-on): Use a single font-lock-add-keywords call.
13482 Fix double-evaluation of face variables.
13483
13484 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13485
13486 * net/tramp-adb.el (tramp-adb-parse-device-names):
13487 Use `start-process' instead of `call-process'. Otherwise, the
13488 function might be blocked under MS Windows. (Bug#13299)
13489
13490 2013-03-17 Leo Liu <sdl.web@gmail.com>
13491
13492 Extend eldoc to display info in the mode-line. (Bug#13978)
13493 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13494 (eldoc-mode-line-string): New variable.
13495 (eldoc-minibuffer-message): New function.
13496 (eldoc-message-function): New variable.
13497 (eldoc-message): Use it.
13498 (eldoc-display-message-p)
13499 (eldoc-display-message-no-interference-p):
13500 Support eldoc-post-insert-mode.
13501
13502 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13503 (eval-expression): Run it.
13504
13505 2013-03-17 Roland Winkler <winkler@gnu.org>
13506
13507 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13508 strings in the list of return values.
13509
13510 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13511
13512 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13513 radix before checking for HMS forms.
13514
13515 2013-03-16 Leo Liu <sdl.web@gmail.com>
13516
13517 * progmodes/scheme.el: Add indentation and font-locking for λ.
13518 (Bug#13975)
13519
13520 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13523 token before point (bug#13942).
13524
13525 2013-03-16 Leo Liu <sdl.web@gmail.com>
13526
13527 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13528
13529 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13530
13531 * startup.el (command-line-normalize-file-name): Fix handling of
13532 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13533 <xfq.free@gmail.com> in
13534 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13535
13536 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13537
13538 Sync with Tramp 2.2.7.
13539
13540 * net/trampver.el: Update release number.
13541
13542 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13543
13544 * doc-view.el: Fix bug#13887.
13545 (doc-view-insert-image): Don't modify overlay associated to
13546 non-live windows, and implement horizontal centering of image in
13547 case it's smaller than the window.
13548 (doc-view-new-window-function): Force redisplay of new windows on
13549 doc-view buffers.
13550
13551 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13552
13553 * saveplace.el (save-place-alist-to-file): Don't sort
13554 `save-place-alist', just pretty-print it (bug#13882).
13555
13556 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13559 Check whether `default-file-name-coding-system' is bound.
13560 It isn't in XEmacs.
13561
13562 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13565 backquotes for `obsolete' (bug#13929).
13566
13567 * international/mule.el (find-auto-coding): Include file name in
13568 obsolescence warning (bug#13922).
13569
13570 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13571
13572 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13573 for CFEngine 3-specific indentation.
13574 (cfengine3-indent-line): Use it. Fix up category regex.
13575 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13576
13577 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * type-break.el (type-break-file-name):
13580 * textmodes/remember.el (remember-data-file):
13581 * strokes.el (strokes-file):
13582 * shadowfile.el (shadow-initialize):
13583 * saveplace.el (save-place-file):
13584 * ps-bdf.el (bdf-cache-file):
13585 * progmodes/idlwave.el (idlwave-config-directory):
13586 * net/quickurl.el (quickurl-url-file):
13587 * international/kkc.el (kkc-init-file-name):
13588 * ido.el (ido-save-directory-list-file):
13589 * emulation/viper.el (viper-custom-file-name):
13590 * emulation/vip.el (vip-startup-file):
13591 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13592 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13593
13594 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13595
13596 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13597 * language/thai-word.el: Switch to UTF-8.
13598
13599 See ChangeLog.16 for earlier changes.
13600
13601 ;; Local Variables:
13602 ;; coding: utf-8
13603 ;; End:
13604
13605 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13606
13607 This file is part of GNU Emacs.
13608
13609 GNU Emacs is free software: you can redistribute it and/or modify
13610 it under the terms of the GNU General Public License as published by
13611 the Free Software Foundation, either version 3 of the License, or
13612 (at your option) any later version.
13613
13614 GNU Emacs is distributed in the hope that it will be useful,
13615 but WITHOUT ANY WARRANTY; without even the implied warranty of
13616 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13617 GNU General Public License for more details.
13618
13619 You should have received a copy of the GNU General Public License
13620 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.