68f7ebd6fb05f4c91288011b05878e1bc82864c7
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2
3 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4 * window.el (with-temp-buffer-window): Revert change from
5 2014-02-21. Suggested by Thierry Volpiatto
6 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
7 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
8 * help.el (with-help-window): Fix doc-string.
9
10 2014-02-28 Ivan Kanis <ivan@kanis.fr>
11
12 * net/shr.el (shr-put-image): Add custom variable
13 `shr-image-animate' to turn off image animation. It is so slow it
14 will render emacs unusable.
15
16 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp-adb.el (tramp-adb-parse-device-names):
19 Use `accept-process-output'.
20 (tramp-adb-handle-file-truename): Cache the localname only.
21 (tramp-adb-handle-make-directory)
22 (tramp-adb-handle-delete-directory): Flush file properties correctly.
23 (tramp-adb-handle-set-file-modes): Do not raise an error when file
24 modes cannot be changed.
25
26 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
27 file properties of symlinks.
28
29 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
30
31 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
32 required/optional fields to match development biblatex. (Bug#16781)
33
34 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
35
36 * saveplace.el (toggle-save-place):
37 Fix argument handling. (Bug#16673)
38
39 2014-02-28 Glenn Morris <rgm@gnu.org>
40
41 * minibuffer.el (completions-first-difference)
42 (completions-common-part, completion-hilit-commonality): Doc fixes.
43
44 2014-02-28 Karl Berry <karl@gnu.org>
45
46 * info.el (Info-mode-map): Add H for describe-mode,
47 to synchronize with standalone Info.
48
49 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
50
51 * progmodes/sql.el (sql-interactive-mode):
52 Avoid setting global comint-input-ring-separator. (Bug#16814)
53
54 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
55
56 * net/dbus.el (dbus--init-bus): Declare function.
57 (dbus-path-local, dbus-interface-local): New defconst.
58 (dbus-init-bus): Use them.
59 (dbus-return-values-table): Extend doc.
60 (dbus-handle-bus-disconnect): Extend error message.
61
62 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
63
64 * subr.el (y-or-n-p): Fix double space issue in message.
65
66 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
67
68 * net/tramp.el (tramp-call-process): Improve trace message.
69 (tramp-handle-insert-file-contents): Trace error case.
70
71 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
72 <insert-directory>: Use `tramp-handle-insert-directory'.
73 (tramp-adb-handle-insert-directory): Remove function.
74 (tramp-adb-send-command-and-check): New defun, replacing
75 `tramp-adb-command-exit-status'. Change all callees.
76 (tramp-adb-handle-file-attributes)
77 (tramp-adb-handle-directory-files-and-attributes): Use it.
78 (tramp-adb-ls-output-name-less-p): Use
79 `directory-listing-before-filename-regexp'.
80 (tramp-adb-handle-delete-directory): Flush also file properties of
81 the truename of directory.
82 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
83 (tramp-adb-handle-file-local-copy): Make the local copy readable.
84 (tramp-adb-handle-write-region): Implement APPEND.
85 (tramp-adb-handle-rename-file): Make it more robust. Flush file
86 properties correctly.
87 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
88 variables. Check for connected devices only when needed.
89
90 2014-02-27 Glenn Morris <rgm@gnu.org>
91
92 * minibuffer.el (completion-table-dynamic)
93 (completion-table-with-cache): Doc fixes.
94
95 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
96 (completing-read-multiple): Doc fixes.
97
98 2014-02-27 Daniel Colascione <dancol@dancol.org>
99
100 * minibuffer.el (completion--nth-completion): Fix indentation.
101
102 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
103 explicit tramp path is empty.
104
105 2014-02-27 Glenn Morris <rgm@gnu.org>
106
107 * emacs-lisp/crm.el (completing-read-multiple):
108 Empower help-enable-auto-load.
109
110 2014-02-26 Glenn Morris <rgm@gnu.org>
111
112 * startup.el (command-line): Don't init the tty in daemon mode.
113
114 Avoid calling tty-setup-hook twice, eg if a term file
115 explicitly calls tty-run-terminal-initialization. (Bug#16859)
116 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
117 (tty-create-frame-with-faces): Use it.
118 * startup.el (command-line): Pass run-hook argument
119 to tty-run-terminal-initialization.
120
121 * dired.el (dired-restore-desktop-buffer): Demote errors;
122 eg in case a glob match fails. (Bug#16884)
123
124 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
125
126 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
127 error from `read-from-string'. (Bug#16850)
128
129 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
130 result of `completing-read' in the interactive form. (Bug#16854)
131
132 2014-02-25 Glenn Morris <rgm@gnu.org>
133
134 * image.el (image-animate, image-animate-timeout):
135 Stop animating images in dead buffers. (Bug#16878)
136
137 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
138
139 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
140 Doc fixes.
141 * startup.el (term-setup-hook): Doc fix. Make obsolete.
142 * term/sun.el (sun-raw-prefix-hooks):
143 Use tty-setup-hook instead of term-setup-hook.
144 (terminal-init-sun): Construct message from bytecomp plist.
145 * term/wyse50.el (enable-arrow-keys): Doc fix.
146
147 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
148
149 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
150 Fix docstring typos.
151
152 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
153
154 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
155
156 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
157
158 * minibuffer.el (completion--try-word-completion):
159 Fix error when completing M-x commands (bug#16808).
160
161 2014-02-24 Leo Liu <sdl.web@gmail.com>
162
163 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
164
165 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
166
167 * apropos.el (apropos-print): Avoid formatting error when
168 apropos-do-all and apropos-compact-layout are both t.
169
170 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
171
172 * apropos.el (apropos-property, apropos-all-words-regexp)
173 (apropos-true-hit, apropos-variable, apropos-print):
174 Fix docstring typos, and remove obsolete comment.
175
176 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
177
178 * net/tramp-sh.el (tramp-sh-handle-file-truename):
179 Preserve trailing "/". (Bug#16851)
180
181 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
182
183 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
184 after `=>' (bug#16811).
185 (ruby-smie-rules): Handle the inconsistent second element of the
186 list returned by `smie-indent--parent'.
187 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
188 method call.
189
190 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
191
192 * elec-pair.el (electric-pair-text-syntax-table)
193 (electric-pair-syntax-info, electric-pair--syntax-ppss)
194 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
195 (electric-pair--looking-at-unterminated-string-p): Doc fix.
196 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
197
198 2014-02-22 Glenn Morris <rgm@gnu.org>
199
200 * imenu.el (imenu--generic-function): Doc fix.
201
202 * register.el (frame-configuration-to-register): Make obsolete.
203
204 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
205
206 * desktop.el (desktop-save-buffer-p): Do not fail when
207 desktop-files-not-to-save is nil. Return t for true result
208 as the doc says.
209
210 2014-02-22 Daniel Colascione <dancol@dancol.org>
211
212 * net/secrets.el (secrets-create-item,secrets-search-items): Check
213 that attribute values are strings, avoiding the construction of
214 invalid dbus messages.
215
216 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
217
218 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
219 defun-declarations-alist.
220
221 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
224 (bug#16829).
225
226 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
227
228 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
229 (whitespace-newline, whitespace-trailing, whitespace-line)
230 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
231 (whitespace-space-after-tab): Fix typo in docstrings.
232
233 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
234
235 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
236
237 * electric.el (electric-indent-functions-without-reindent):
238 Add `yaml-indent-line'.
239
240 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
241
242 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
243 It has done nothing for years; should be removed after the release.
244
245 * simple.el (choose-completion): Fix docstring typo.
246 (read-quoted-char-radix): Remove unneeded * in docstring.
247 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
248 Don't escape parentheses unnecessarily in docstrings.
249
250 2014-02-21 Martin Rudalics <rudalics@gmx.at>
251
252 Fix handling of window-min-height/-width (Bug#16738).
253 * window.el (window--dump-window, window--dump-frame):
254 New functions.
255 (window--min-size-1): Account for window dividers.
256 When window-resize-pixelwise is nil, delay rounding till after the
257 sum of the window components has been calculated.
258 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
259 nil make sure at least one text line and two text columns remain
260 fully visible.
261 (window-resize): Signal an error when window-resize-apply fails.
262 (window--resize-child-windows): Fix calculation of by how many
263 pixels a window can still be shrunk via window-new-normal.
264 (adjust-window-trailing-edge): Call window--resizable with
265 correct TRAIL argument.
266
267 (with-temp-buffer-window): Don't evaluate BODY within
268 with-current-buffer (Bug#16816).
269
270 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
271
272 * net/tramp.el (tramp-check-cached-permissions):
273 Call `file-attributes' with `suffix' being a symbol but a string.
274
275 2014-02-21 Daniel Colascione <dancol@dancol.org>
276
277 * net/dbus.el (dbus-init-bus-1): Declare new subr.
278 (dbus-init-bus): New function: call into dbus-init-bus-1
279 and installs a handler for the disconnect signal.
280 (dbus-call-method): Rewrite to look for result in cons.
281 (dbus-call-method-handler): Store result in cons.
282 (dbus-check-event): Recognize events with nil sender as valid.
283 (dbus-handle-bus-disconnect): New function. React to bus
284 disconnection signal by synthesizing dbus error for each
285 pending synchronous or asynchronous call.
286 (dbus-notice-synchronous-call-errors): New function.
287 (dbus-handle-event): Raise errors directly only when `dbus-debug'
288 is true, not all the time.
289
290 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
291
292 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
293 Remove obsolescence declarations, these variables do not exist anymore.
294
295 * savehist.el (savehist-save-minibuffer-history)
296 (savehist-additional-variables, savehist-file, savehist-mode-hook)
297 (savehist-save-hook, savehist-coding-system, savehist-loaded)
298 (savehist-load, savehist-install, savehist-autosave): Fix typos;
299 mostly, refer to "Savehist mode" when talking about the mode,
300 and not the function.
301
302 * saveplace.el (save-place): Remove redundant info in docstring.
303 (save-place-forget-unreadable-files, toggle-save-place)
304 (save-place-forget-unreadable-files, save-place-dired-hook):
305 Fix typos and remove unneeded backslashes.
306
307 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
308
309 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
310 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
311
312 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
313 <insert-directory>: Use `tramp-handle-insert-directory'.
314 (tramp-gvfs-handle-insert-directory): Remove function.
315
316 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
317 Call `tramp-handle-insert-directory'.
318
319 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
320
321 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
322 before the start of buffer/region (bug#16799).
323
324 2014-02-20 Glenn Morris <rgm@gnu.org>
325
326 * isearch.el (search-invisible): Doc fix.
327
328 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
329
330 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
331 (bug#16657).
332
333 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
334
335 * frameset.el (frameset-restore): Delay removing an old frame's
336 duplicate id until the new frame has been correctly created.
337
338 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
341 (tramp-check-cached-permissions): Call `file-attributes' if the
342 cache is empty.
343
344 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
345 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
346
347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
348 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
349 (tramp-gvfs-maybe-open-connection): Set always connection
350 properties, even if target is mounted already.
351
352 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
353 Set tramp-autoload cookie.
354 (tramp-get-remote-touch): New defun.
355 (tramp-sh-handle-set-file-times): Use it.
356 (tramp-sh-handle-directory-files-and-attributes):
357 Use `tramp-handle-directory-files-and-attributes' if neither stat
358 nor perl are available on the remote host.
359
360 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
361 "/". Write long listing only when "l" belongs to the switches.
362
363 * net/trampver.el: Update release number.
364
365 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
366
367 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
368
369 2014-02-19 Martin Rudalics <rudalics@gmx.at>
370
371 * window.el (window-state-put): Allow WINDOW to refer to an
372 internal window (Bug#16793).
373
374 2014-02-19 Glenn Morris <rgm@gnu.org>
375
376 * textmodes/remember.el: Move provide statement to end.
377 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
378 (remember-notes): Doc fixes.
379
380 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * delsel.el (delete-char): Restore incorrectly erased property
383 (bug#16795).
384
385 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
386
387 * frameset.el (frameset--restore-frame): When a frame is being reused
388 and its root window is not alive, delete all the frame's windows before
389 restoring the window state. This works around the issue in bug#16793.
390
391 2014-02-18 Glenn Morris <rgm@gnu.org>
392
393 * textmodes/remember.el (remember-data-directory)
394 (remember-directory-file-name-format, remember-store-in-files)
395 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
396 (remember-notes-save-and-bury-buffer)
397 (remember-notes--kill-buffer-query): Doc fixes.
398
399 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
400
401 2014-02-17 Alan Mackenzie <acm@muc.de>
402
403 Connect electric-indent-mode up with CC Mode. Bug #15478.
404 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
405 to electric-indent-{,local-}-mode.
406 (c-basic-common-init): Set electric-indent-inhibit.
407 Initialise c-electric-flag from electric-indent-mode.
408 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
409 New hook functions which propagate electric-indent-mode to CC mode.
410
411 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
412 hit, toggle electric-indent-local-mode.
413
414 * electric.el (electric-indent-mode-has-been-called):
415 New variable.
416
417 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
418
419 * frameset.el (frameset-cfg-id): New function.
420 (frameset--reuse-frame, frameset-restore): Use it.
421 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
422
423 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * ido.el (ido-file-internal): Remove unused var `d'.
426 Use \` for to match BoS. Fit within 80n columns.
427
428 2014-02-17 Daniel Colascione <dancol@dancol.org>
429
430 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
431 dbus-call-method check for completion using a busy-wait loop with
432 gradual backoff.
433
434 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
435
436 Sync with Tramp 2.2.9.
437
438 * net/trampver.el: Update release number.
439
440 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
441
442 * ido.el (ido-file-internal): Don't add the name of an existing
443 directory twice. (Bug#16747)
444
445 2014-02-16 Glenn Morris <rgm@gnu.org>
446
447 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
448 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
449
450 2014-02-15 Michael R. Mauger <michael@mauger.com>
451
452 * progmodes/sql.el: Version 3.4
453 (sql-oracle-options): New default value ("-L").
454 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
455 (sql-placeholders-filter): Correct placeholder pattern.
456 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
457 (sql-login-delay): New variable.
458 (sql-product-interactive): Use it.
459
460 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
461
462 * frameset.el (frameset--jump-to-register): Check that buffer is live
463 (bug#16749).
464
465 2014-02-15 Glenn Morris <rgm@gnu.org>
466
467 * info.el (info-initialize): Revert 2014-01-10 change.
468
469 2014-02-14 Glenn Morris <rgm@gnu.org>
470
471 * replace.el (map-query-replace-regexp)
472 (read-regexp-defaults-function, read-regexp): Doc fixes.
473
474 * dired.el (dired-read-regexp):
475 * faces.el (list-faces-display):
476 * misearch.el (multi-isearch-read-matching-buffers)
477 (multi-isearch-read-matching-files):
478 * play/cookie1.el (cookie-apropos):
479 * progmodes/grep.el (grep-read-regexp): Doc fixes.
480
481 * textmodes/remember.el (remember): Use frameset-to-register
482 rather than frame-configuration-to-register.
483
484 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
485
486 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
487 incorrect keybinding.
488
489 2014-02-13 Daniel Colascione <dancol@dancol.org>
490
491 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
492 when adding overlays so that line numbers from compiler match line
493 numbers we use.
494
495 2014-02-13 Glenn Morris <rgm@gnu.org>
496
497 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
498
499 * jit-lock.el (jit-lock-mode): Doc fix.
500
501 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
502
503 * apropos.el (apropos-read-pattern): When the user passes an empty
504 string, give a more helpful error message than "Wrong type
505 argument: stringp, nil".
506
507 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
510
511 2014-02-13 Glenn Morris <rgm@gnu.org>
512
513 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
514
515 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
518 shift-select commands.
519
520 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
521
522 * progmodes/js.el (js-indent-line): Don't widen.
523 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
524
525 2014-02-12 Glenn Morris <rgm@gnu.org>
526
527 * icomplete.el (icomplete): Add info-link to defgroup.
528 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
529 (icomplete-minibuffer-map, icomplete-mode)
530 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
531
532 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
533 (package-menu-filter): Rename from package-menu-filter-interactive.
534 Doc fix.
535
536 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
537
538 * frameset.el (frameset--jump-to-register): Select the required
539 window and buffer before restoring position (bug#16696).
540
541 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
542
543 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
544
545 2014-02-10 Glenn Morris <rgm@gnu.org>
546
547 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
548
549 2014-02-10 Eli Zaretskii <eliz@gnu.org>
550
551 * w32-common-fns.el (x-get-selection): Doc fix.
552 * select.el (x-get-selection): Doc fix. (Bug#15109)
553
554 * face-remap.el (face-remap-add-relative)
555 (face-remap-remove-relative, face-remap-reset-base)
556 (face-remap-set-base): Call force-mode-line-update to redisplay
557 the current buffer due to potential change in faces. (Bug#16709)
558
559 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
560
561 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
562 script more robustly.
563
564 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
565
566 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
567
568 * simple.el (choose-completion): Doc fix (bug#14160).
569
570 * subr.el (event-start): Say what a nil EVENT value means.
571
572 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
573 (bug#14197).
574
575 * progmodes/grep.el (find-program): Doc fix (bug#14289).
576
577 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
578
579 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
580
581 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
582 predicate function (bug#15455).
583
584 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
585
586 * ielm.el (inferior-emacs-lisp-mode): Instead of
587 `comment-use-global-state', set `comment-use-syntax'.
588
589 2014-02-10 Glenn Morris <rgm@gnu.org>
590
591 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
592
593 2014-02-09 Alan Mackenzie <acm@muc.de>
594
595 Fix c-invalidate-state-cache on narrowed buffers.
596 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
597 Widen when setting and clearing the CPP delimiter properties.
598
599 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
600
601 * help.el (describe-bindings): Doc fix (bug#9888).
602
603 * files.el (save-buffer): Use ARG as the parameter name for
604 consistency (bug#10346).
605 (save-buffer): Clarify the 0 argument (bug#10346).
606
607 * cus-edit.el (customize-apropos): Fix error string.
608 (custom-buffer-create): Doc fix (bug#11122).
609 (custom-sort-items): Doc fix (bug#11121).
610
611 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
612
613 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
614 (icomplete-simple-completing-p): Mention the previous variable.
615
616 * font-lock.el (font-lock-value-in-major-mode): Clarify the
617 meaning of the parameter (bug#12282).
618
619 * files.el (find-file-noselect): Clarify prompt when changing
620 readedness (bug#13261).
621 (locate-file): Suffixes aren't returned, so don't say that they
622 are (bug#12674).
623 (backup-inhibited): Doc clarification (bug#12525).
624
625 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
626 before we actually start to delete things (bug#16331).
627
628 * subr.el (event-start): Doc fix (bug#14228).
629 (event-end): Ditto.
630
631 2014-02-09 Glenn Morris <rgm@gnu.org>
632
633 * emacs-lisp/warnings.el (lwarn):
634 Empower help-enable-auto-load. (Bug#15940)
635
636 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
637
638 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
639 (Bug#16690)
640
641 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
642
643 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
644 Insert output at end of buffer. (Bug#16120)
645
646 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
647
648 * simple.el (choose-completion-string-functions): Document new
649 calling convention (bug#14153).
650 (execute-extended-command): Clarify doc string (bug#13373).
651
652 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
653
654 * find-dired.el (find-name-dired): Doc fix (bug#14290).
655 (find-grep-dired): Doc fix (bug#14288).
656
657 2014-02-08 Juri Linkov <juri@jurta.org>
658
659 * isearch.el (isearch-quote-char): Check character validity
660 like in `quoted-insert' (bug#16677).
661
662 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
663
664 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
665
666 * isearch.el (isearch-hide-immediately): Doc clarification
667 (bug#14723).
668
669 * simple.el (line-move): Document utility function used many
670 places in the Emacs sources (bug#14843).
671
672 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
673 (dired-prev-marked-file): Doc fix (bug#14855).
674 (dired-up-directory): Doc fix (bug#14848).
675
676 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
677
678 * files.el (file-relative-name): Doc fix (bug#15159).
679
680 * fringe.el (fringe-styles): Doc fix (bug#15239).
681
682 * isearch.el (isearch-filter-predicate): Documentation typo fix
683 (bug#15474).
684
685 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
686
687 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
688
689 * replace.el (replace-match-maybe-edit): Doc clarification
690 (bug#15632).
691
692 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
693
694 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
695
696 2014-02-08 Glenn Morris <rgm@gnu.org>
697
698 * help-fns.el (describe-variable):
699 Check {file,dir}-local-variables-alist, and buffer-file-name,
700 in the correct buffer.
701
702 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
703
704 * help-fns.el (describe-variable): Fix the case where
705 a value is directory-local with no dir-locals file. (Bug#16635)
706
707 2014-02-08 Glenn Morris <rgm@gnu.org>
708
709 * abbrev.el (edit-abbrevs-mode):
710 Derive from fundamental-mode. (Bug#16682)
711
712 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
713
714 * simple.el (quoted-insert): Check character validity (bug#16677).
715
716 2014-02-07 Juri Linkov <juri@jurta.org>
717
718 * desktop.el (desktop-read): Claim the lock when the owner is not
719 the current process. (Bug#16157)
720
721 2014-02-07 Juri Linkov <juri@jurta.org>
722
723 * desktop.el (desktop-buffers-not-to-save): Change default from nil
724 to "\\` ". (Bug#16651)
725
726 2014-02-07 Juri Linkov <juri@jurta.org>
727
728 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
729 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
730 (desktop-auto-save-cancel-timer): New function with some code from
731 `desktop-auto-save-set-timer'.
732 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
733 Instead of setting `desktop-save-mode' to nil, call
734 `desktop-save-mode' with arg 0. (Bug#16630)
735
736 2014-02-07 Glenn Morris <rgm@gnu.org>
737
738 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
739 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
740 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
741
742 * obsolete/iswitchb.el: Move to obsolete/.
743 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
744 since obsolete/ is not scanned for autoloads.
745 * emacs-lisp/authors.el (authors-valid-file-names):
746 Add iswitchb.el.
747
748 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
749 Disable now non-functional find-file-hook.
750
751 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
752
753 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
754 instead of ";" in order to avoid additional prompts. Let heredoc
755 scripts read from tty. (Bug#16582)
756 (tramp-send-command): No special handling of heredocs, it isn't
757 necessary anymore.
758
759 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
762 with a space (bug#16664). Limit the symbols considered to the ones
763 that are bound or fbound (bug#16646).
764
765 2014-02-06 Glenn Morris <rgm@gnu.org>
766
767 * epa.el (epa-mail-aliases): Doc fix.
768
769 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
770
771 * emacs-lisp/lisp.el (lisp-completion-at-point):
772 Use `completion-table-merge' instead of `completion-table-in-turn'
773 (bug#16604).
774
775 * minibuffer.el (completion-table-merge): New function.
776
777 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
778
779 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
780 (tramp-sh-handle-set-file-acl)
781 (tramp-sh-handle-start-file-process)
782 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
783 (tramp-find-executable, tramp-send-command): Use it.
784
785 2014-02-05 Glenn Morris <rgm@gnu.org>
786
787 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
788
789 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
790
791 * progmodes/python.el (python-shell-send-string):
792 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
793
794 2014-02-04 Anders Lindgren <andlind@gmail.com>
795
796 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
797 the names (bug#16620).
798
799 2014-02-03 Martin Rudalics <rudalics@gmx.at>
800
801 * faces.el (window-divider): New default value. Rewrite doc-string.
802 (window-divider-first-pixel, window-divider-last-pixel): New faces.
803
804 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
805
806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
807 `protected' and `public' can also be called without arguments.
808
809 2014-02-03 Glenn Morris <rgm@gnu.org>
810
811 * register.el (window-configuration-to-register)
812 (frame-configuration-to-register): Unadvertise unused argument.
813 * frameset.el (frameset-to-register): Remove unused argument.
814
815 * frameset.el (frameset-to-register):
816 * kmacro.el (kmacro-to-register):
817 * register.el (increment-register):
818 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
819 (calc-append-to-register, calc-prepend-to-register):
820 * play/gametree.el (gametree-layout-to-register)
821 (gametree-apply-register-layout):
822 * textmodes/picture.el (picture-clear-rectangle-to-register)
823 (picture-yank-rectangle-from-register):
824 * vc/emerge.el (emerge-combine-versions-register):
825 Use register-read-with-preview to read registers.
826
827 2014-02-03 João Távora <joaotavora@gmail.com>
828
829 * elec-pair.el (electric-pair-backward-delete-char): Don't error
830 when at beginning of (possibly narrowed) buffer.
831
832 2014-02-02 Daniel Colascione <dancol@dancol.org>
833
834 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
835 Also try to display local help from just before point.
836
837 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
838
839 c-parse-state. Don't "append-lower-brace-pair" in certain
840 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
841 recognised as a comment.
842
843 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
844 as well as normal comment starter.
845 (c-parse-state-get-strategy): Extra return possibility
846 'back-and-forward.
847 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
848 return value list to indicate replacement of a brace-pair cons
849 with its car.
850 (c-parse-state-1): With 'back-and-forward, only call
851 c-append-lower-brace-pair-to state-cache when cons-separated.
852
853 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
854
855 * term/ns-win.el (ns-suspend-error): New function.
856 (ns-initialize-window-system): Add ns-suspend-error to
857 suspend-hook (Bug#16612).
858
859 2014-02-02 Daniel Colascione <dancol@dancol.org>
860
861 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
862
863 2014-02-02 Daniel Colascione <dancol@dancol.org>
864
865 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
866
867 2014-02-02 Glenn Morris <rgm@gnu.org>
868
869 * register.el (register-read-with-preview, point-to-register)
870 (window-configuration-to-register, frame-configuration-to-register)
871 (jump-to-register, number-to-register, view-register, insert-register)
872 (copy-to-register, append-to-register, prepend-to-register)
873 (copy-rectangle-to-register): Doc fixes.
874
875 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
878 * emacs-lisp/find-func.el (find-function-C-source): Idem.
879 * emacs-lisp/nadvice.el (advice--cd*r): New function.
880 * help-fns.el (describe-function-1): Use it.
881
882 2014-02-02 Glenn Morris <rgm@gnu.org>
883
884 * register.el (register-preview-default): New function,
885 split from register-preview.
886 (register-preview-function): Rename from register-preview-functions,
887 make it not a hook.
888 (register-preview): Use register-preview-function.
889 (register-read-with-preview): Error on non-character event. (Bug#16595)
890
891 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
892
893 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
894 `:' before binary operators (bug#16609). Don't check for `:'
895 before `[' and `(', or their syntax status. A percent literal
896 can't end with either.
897 (ruby-font-lock-keywords): For built-ins that require arguments,
898 check that they're followed by something that looks like argument
899 (bug#16610).
900
901 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
902
903 * subr.el (butlast): Document what an omitted N means (bug#13437).
904 (nbutlast): Ditto.
905
906 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
907
908 * net/shr.el (shr-generic): Make into a defsubst to make the stack
909 depth shallower (bug#16587).
910 (shr-tag-svg): Respect `shr-inhibit-images'.
911 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
912
913 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
914
915 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
916 (ruby-smie-grammar): Make "." right-associative. Make its priority
917 lower than the ternary and all binary operators.
918 (ruby-smie-rules): Indent "(" relative to the first non-"."
919 parent, or the first "." parent at indentation.
920 Use `ruby-align-chained-calls' for indentation of "." tokens.
921 (Bug#16593)
922
923 2014-01-31 Juri Linkov <juri@jurta.org>
924
925 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
926 from `make-hash-table'.
927
928 * textmodes/ispell.el (ispell-init-process): Change message format
929 to be consistent with other messages.
930
931 2014-01-31 Glenn Morris <rgm@gnu.org>
932
933 * delsel.el (delete-selection-mode): Doc fix.
934
935 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
936 (trace-function-background): Doc fixes.
937
938 * ido.el (ido-use-virtual-buffers): Doc fix.
939 Reset :version, since the default value has not changed.
940
941 * register.el (register-preview-delay, register-read-with-preview):
942 Doc fixes.
943
944 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
945 do not mess with mail-buffer position (fixes 2009-11-03 change).
946 * progmodes/cc-mode.el (c-submit-bug-report):
947 Check auto-fill-mode is bound. (Bug#16592)
948
949 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
950
951 * startup.el (fancy-splash-image-file): New function,
952 split from fancy-splash-head.
953 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
954 so that we are both using the same image. (Bug#16574)
955
956 2014-01-30 Glenn Morris <rgm@gnu.org>
957
958 * simple.el (eval-expression): Doc fix.
959
960 * hexl.el (hexl-mode-hook):
961 * ielm.el (ielm-mode-hook):
962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
963 (lisp-interaction-mode-hook):
964 * progmodes/cfengine.e (cfengine3-documentation-function):
965 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
966
967 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
970 is a symbol (bug#16584).
971
972 2014-01-30 Glenn Morris <rgm@gnu.org>
973
974 * help.el (help-for-help-internal): Add "P" to text.
975
976 2014-01-29 Glenn Morris <rgm@gnu.org>
977
978 * simple.el (just-one-space, cycle-spacing): Doc fixes.
979
980 2014-01-28 Martin Rudalics <rudalics@gmx.at>
981
982 * window.el (fit-frame-to-buffer): Fix calculations for margins and
983 height constraints.
984
985 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
986
987 * progmodes/hideif.el: Extend to full CPP expression syntax.
988 (hif-token-alist): Add missing tokens.
989 (hif-token-regexp): Add support for float/octal/hex immediates.
990 (hif-string-literal-regexp): New const.
991 (hif-tokenize): Recognize strings and float/octal/hex immediates.
992 (hif-exprlist): New function.
993 (hif-parse-if-exp): Use it.
994 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
995 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
996 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
997 (hif-logxor, hif-comma): New functions.
998
999 2014-01-28 Glenn Morris <rgm@gnu.org>
1000
1001 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1002
1003 * indent.el (tab-stop-list): Doc fix. Add :version.
1004
1005 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1006 (cvs-append-to-ignore): Add compatibility alias.
1007
1008 2014-01-27 Glenn Morris <rgm@gnu.org>
1009
1010 * dired.el (dired-hide-details-mode): Don't autoload it,
1011 since it cannot be used outside Dired buffers anyway.
1012
1013 * emulation/cua-base.el (cua-mode): Doc fix.
1014
1015 * dired.el (dired-hide-details-hide-symlink-targets)
1016 (dired-hide-details-hide-information-lines)
1017 (dired-hide-details-mode): Doc fixes.
1018
1019 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1020 * strokes.el (strokes-file): Doc fix. Bump :version.
1021 (strokes-help): Doc fix.
1022 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1023 * emulation/viper.el (viper): Doc fix for custom group.
1024 (top-level): Remove oh-so-no-longer-relevant text about vip.
1025 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1026
1027 * ido.el (ido-save-directory-list-file):
1028 * saveplace.el (save-place-file):
1029 * calendar/timeclock.el (timeclock-file):
1030 * net/quickurl.el (quickurl-url-file):
1031 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1032 * progmodes/idlwave.el (idlwave-config-directory):
1033 * textmodes/remember.el (remember-data-file):
1034 Bump :version.
1035
1036 2014-01-26 Glenn Morris <rgm@gnu.org>
1037
1038 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1039 Doc fix. Make obsolete.
1040 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1041
1042 * sort.el (delete-duplicate-lines): Doc fix.
1043
1044 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1045
1046 * progmodes/ada-mode.el (ada):
1047 * woman.el (woman): Link to info manual and Commentary section.
1048
1049 * progmodes/flymake.el (flymake):
1050 * nxml/nxml-mode.el (nxml):
1051 * net/eww.el (eww):
1052 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1053 * htmlfontify.el (htmlfontify):
1054 * ses.el (ses):
1055 * epa.el (epa):
1056 * ido.el (ido): Link to info manual.
1057
1058 2014-01-25 Leo Liu <sdl.web@gmail.com>
1059
1060 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1061
1062 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1063
1064 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1065 (bug#16537).
1066
1067 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1068
1069 * net/eww.el (eww-download-callback):
1070 Fix reference to eww-download-directory.
1071
1072 * emacs-lisp/bytecomp.el (byte-compile-file):
1073 Remove unused local variable `file-name'.
1074
1075 2014-01-24 Glenn Morris <rgm@gnu.org>
1076
1077 * woman.el (woman-default-faces, woman-monochrome-faces):
1078 Fix obsolescence specification.
1079
1080 * subr.el (with-demoted-errors): Doc fix.
1081
1082 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1085 (cl--macroexp-fboundp): New function.
1086 (cl--make-type-test): Use it.
1087
1088 2014-01-23 Glenn Morris <rgm@gnu.org>
1089
1090 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1091 * simple.el (eval-expression): Doc fixes.
1092
1093 2014-01-22 Glenn Morris <rgm@gnu.org>
1094
1095 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1096
1097 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/package.el: Write files silently.
1100 (package-autoload-ensure-default-file, package--write-file-no-coding)
1101 (package-generate-description-file, package--download-one-archive)
1102 (package-install-from-archive): Tell `write-region' to stay quiet.
1103 (package-menu-mode, package-menu--print-info): Omit the Archive column
1104 if there's only one archive.
1105 (package-all-keywords, package--has-keyword-p): Remove dead code.
1106
1107 2014-01-22 Glenn Morris <rgm@gnu.org>
1108
1109 * version.el (emacs-bzr-version-bzr): Fix typo.
1110
1111 * version.el (emacs-repository-get-version):
1112 Check either .bzr or .git, but not both.
1113 Make the git case actually use the DIR argument, and return nil
1114 rather than the empty string.
1115 Avoid error if .git exists but the git executable is not found.
1116
1117 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1118
1119 Fixes in window size functions around Bug#16430 and Bug#16470.
1120 * window.el (window-total-size, window-size): New argument ROUND.
1121 (window--min-delta-1, window-min-delta, window--max-delta-1):
1122 Be more conservative when calculating the numbers of lines or
1123 columns a window can shrink (Bug#16430).
1124 (fit-window-to-buffer): Simplify code.
1125 * term.el (term-window-width): Call window-body-width again.
1126
1127 2014-01-22 Glenn Morris <rgm@gnu.org>
1128
1129 * image.el (image-format-suffixes): Doc fix.
1130
1131 * international/quail.el (quail-define-package): Doc fix.
1132
1133 * emacs-lisp/authors.el (authors-valid-file-names):
1134 (authors-renamed-files-alist): Additions.
1135
1136 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1137 reverts 2014-01-09 change. (Bug#16422)
1138
1139 * calc/calc-embed.el (thing-at-point-looking-at):
1140 * emacs-lisp/map-ynp.el (x-popup-dialog):
1141 * obsolete/lmenu.el (x-popup-dialog):
1142 * emacs-lisp/package.el (url-recreate-url):
1143 * mail/mailclient.el (clipboard-kill-ring-save):
1144 * subr.el (x-popup-dialog): Update declaration.
1145 * mail/rmail.el (rmail-mime-message-p):
1146 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1147
1148 2014-01-21 Daniel Colascione <dancol@dancol.org>
1149
1150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1151 Correctly detect when we're inside an arithmetic expansion form
1152 containing nested parenthesis.
1153 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1154 to detect cases where we shouldn't expand "<<" to a heredoc
1155 skeleton.
1156
1157 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1160 (eldoc--message-command-p): New function.
1161 (eldoc-display-message-p): Use it.
1162 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1163 message is not automatically erased for us.
1164 (eldoc-print-current-symbol-info): Erase previous message, if any.
1165
1166 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1167
1168 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1169 specify it's an interactive function.
1170
1171 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1172 Fix regex used for scanning for citation keys which failed for
1173 citations with optional arguments.
1174
1175 2014-01-21 Leo Liu <sdl.web@gmail.com>
1176
1177 * simple.el (read--expression): Don't enable eldoc-mode.
1178
1179 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * simple.el (move-beginning-of-line): Make sure we don't move forward
1182 (bug#16497).
1183
1184 2014-01-20 Juri Linkov <juri@jurta.org>
1185
1186 * saveplace.el (toggle-save-place, save-place-to-alist)
1187 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1188 'dired-mode) before checking for dired-directory. (Bug#16477)
1189
1190 2014-01-20 Juri Linkov <juri@jurta.org>
1191
1192 * indent.el (indent-line-to): Use backward-to-indentation
1193 instead of back-to-indentation. (Bug#16461)
1194
1195 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1196
1197 Revert some of the CANNOT_DUMP fix (Bug#16494).
1198 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1199 but fixing this can wait until after the next release.
1200 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1201
1202 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1203
1204 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1205 Use `password-word-equivalents'.
1206 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1207 to t. (Bug#5664, Bug#13124)
1208
1209 2014-01-19 Alan Mackenzie <acm@muc.de>
1210
1211 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1212 points.
1213 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1214 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1215 * progmodes/cc-mode.el (c-before-change, c-after-change)
1216 (c-font-lock-fontify-region): Bind it here.
1217
1218 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1219
1220 * term.el (term-window-width): Call window-text-width instead of
1221 window-width (Bug#16470).
1222
1223 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1224
1225 * simple.el (password-word-equivalents): Remove duplicates.
1226 Sort, to make this easier next time.
1227 Downcase. Omit ": " after "jelszó".
1228
1229 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1230
1231 * term/common-win.el (saved-region-selection): Defvar it.
1232 (x-select-text): Set saved-region-selection (Bug#16382).
1233
1234 2014-01-18 Glenn Morris <rgm@gnu.org>
1235
1236 * emacs-lisp/authors.el (authors-aliases)
1237 (authors-renamed-files-alist): Add some entries.
1238
1239 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1240
1241 * net/tramp.el (tramp-password-prompt-regexp):
1242 Use `password-word-equivalents' if available.
1243 (tramp-action-password, tramp-process-one-action)
1244 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1245
1246 2014-01-17 Chong Yidong <cyd@gnu.org>
1247
1248 * simple.el (password-word-equivalents): New defcustom.
1249 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1250 to 24.4.
1251 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1252 to t. (Bug#13124)
1253
1254 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1255
1256 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1257 (ruby-align-to-stmt-keywords): Change the default value.
1258 Use `ruby-alignable-keywords' to generate the possible customization
1259 choices.
1260 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1261 keywords, check against the value of `ruby-alignable-keywords'
1262 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1263
1264 2014-01-17 Glenn Morris <rgm@gnu.org>
1265
1266 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1267
1268 Make M-x authors return zero *Authors Errors* from current logs.
1269 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1270 (authors-ignored-files): Add some entries, remove others.
1271 (authors-ambiguous-files, authors-valid-file-names):
1272 Add some entries.
1273 (authors-renamed-files-alist): Add, remove, and adjust entries.
1274 (authors-renamed-files-regexps): Add some entries.
1275 Remove some very broad ones. Make some entries `lax'.
1276 (authors-lax-changelogs): New constant.
1277 (authors-disambiguate-file-name): Treat top-level specially.
1278 (authors-lax-changelog-p): New function.
1279 (authors-canonical-file-name): Check file as written against
1280 authors-valid-file-names. Do not special-case etc/.
1281 Handle `lax' logs and authors-renamed-files-regexps elements.
1282
1283 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1286 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1287 callers.
1288
1289 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1292 Assume we're already in the proper buffer.
1293 Inspired by Anders Lindgren <andlind@gmail.com>.
1294 (follow-post-command-hook): Call it from the right buffer.
1295 (follow-comint-scroll-to-bottom): Adjust call.
1296 (follow-all-followers): Use get-buffer-window-list.
1297
1298 2014-01-15 Daniel Colascione <dancol@dancol.org>
1299
1300 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1301 `buffer-file-name' in interactive-form so that we don't leave
1302 pathless file names in `file-name-history'.
1303
1304 2014-01-15 Juri Linkov <juri@jurta.org>
1305
1306 * indent.el (indent-rigidly): Set deactivate-mark to nil
1307 in transient indentation mode. (Bug#16438)
1308
1309 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * emacs-lisp/package.el (package-desc-keywords): New function
1312 (Bug#16222).
1313 (describe-package-1, package-all-keywords)
1314 (package--has-keyword-p): Use it.
1315
1316 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1317
1318 * simple.el (define-alternatives): When creating the
1319 COMMAND-alternatives variable, assign COMMAND as its definition
1320 name so that `describe-variable' can relocate it.
1321
1322 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1323
1324 * font-lock.el (font-lock-keywords): Fix typo in docstring
1325 (bug#16307).
1326
1327 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1328
1329 * ispell.el (ispell-region): Reset `in-comment' for new line
1330 instead of wrongly reset `add-coment' (bug#13577).
1331
1332 2014-01-14 Daiki Ueno <ueno@gnu.org>
1333
1334 * epa-file.el (epa-file-write-region): Encode the region according
1335 to `buffer-file-format'. Problem reported at:
1336 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1337
1338 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1341 so it applies in the right buffer (bug#16410).
1342
1343 2014-01-13 Daniel Colascione <dancol@dancol.org>
1344
1345 * textmodes/rst.el (rst-define-key): Provide deprecated
1346 keybindings through named functions instead of anonymous ones so
1347 that "??" doesn't appear in describe-mode output.
1348
1349 2014-01-13 Bastien Guerry <bzg@gnu.org>
1350
1351 * simple.el (define-alternatives): Call the selected command
1352 interactively. When setting `COMMAND--implementation' for the
1353 first time, tell the user how to chose another implementation.
1354 Enhance the docstring.
1355
1356 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1359 (log-edit--match-first-line): New function.
1360 (log-edit-font-lock-keywords): Use it.
1361 (log-edit-mode): Make jit-lock-defer-multiline work.
1362
1363 2014-01-13 Bastien Guerry <bzg@gnu.org>
1364
1365 * rect.el (rectangle-mark-mode): When the region is not active,
1366 display a message saying that the mark as been set and that
1367 rectangle mode is in use.
1368 (rectangle--highlight-for-redisplay): Only put an overlay with a
1369 visible vertical bar when (display-graphic-p) is non-nil.
1370 This partially fixes Bug#16403.
1371
1372 2014-01-13 Juri Linkov <juri@jurta.org>
1373
1374 * info.el (Info-find-file): Go to DIR before displaying the error
1375 about a nonexistent file if no previous Info file is visited.
1376 Use `user-error' instead of `error' for "Info file %s does not exist".
1377 (Info-find-node-2): In case of a nonexistent node in unwind forms
1378 go to the Top node if there is no previous node to revert to.
1379 (Bug#16405)
1380
1381 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1382
1383 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1384 * window.el (fit-frame-to-buffer): Fix doc-string.
1385 Respect window-min-height/-width. Fit pixelwise when
1386 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1387 when avoiding that frame goes partially off-screen.
1388 (fit-window-to-buffer): Respect window-min-height/-width
1389 (Bug#14096).
1390
1391 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1394 after an empty line.
1395
1396 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * net/shr.el (shr-render-region): Autoload.
1399
1400 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1401
1402 * net/eww.el (eww-download-directory): Rename from
1403 `eww-download-path' (Bug#16419).
1404
1405 2014-01-12 Leo Liu <sdl.web@gmail.com>
1406
1407 * dired-x.el (dired-mode-map): Fix last change.
1408
1409 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1410
1411 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1412
1413 Spelling fixes.
1414 * emacs-lisp/generic.el (generic--normalize-comments):
1415 Rename from generic--normalise-comments. All uses changed.
1416 * play/bubbles.el (bubbles--neighborhood-score):
1417 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1418 (bubbles--neighborhood-available)
1419 (bubbles--update-neighborhood-score):
1420 Rename from names with 'neighbourhood'. All uses changed.
1421
1422 2014-01-12 Leo Liu <sdl.web@gmail.com>
1423
1424 Re-implement the feature of showing eldoc info after editing.
1425 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1426 (eldoc-edit-message-commands): New function.
1427 (eldoc-print-after-edit): New variable.
1428 (eldoc-pre-command-refresh-echo-area): Emit message only by
1429 eldoc-message-commands.
1430 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1431 if eldoc-print-after-edit is set. (Bug#16346)
1432 * simple.el (read--expression): Enable eldoc-mode.
1433 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1434
1435 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1436 Eric S. Raymond <esr@thyrsus.com>
1437
1438 * version.el (emacs-repository-get-version): Enhance so the
1439 function works correctly in either a Bazaar or Git repo.
1440
1441 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1442
1443 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1444 Goes with removal of the joke manpages from /etc.
1445
1446 2014-01-10 Kenichi Handa <handa@gnu.org>
1447
1448 * mail/rmail.el (rmail-get-coding-system):
1449 Check rmail-get-coding-function before "funcall"ing it.
1450
1451 2014-01-10 Glenn Morris <rgm@gnu.org>
1452
1453 * emacs-lisp/authors.el (authors-fixed-entries):
1454 Update for files that no longer exist.
1455
1456 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1457
1458 * version.el (emacs-bzr-get-version): Restore compatibilty with
1459 24.3 (Tested).
1460
1461 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1462
1463 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1464 and Podfile.
1465
1466 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1467
1468 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1469
1470 2014-01-10 Chong Yidong <cyd@gnu.org>
1471
1472 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1473
1474 2014-01-10 Anders Lindgren <andlind@gmail.com>
1475
1476 * follow.el (follow-cache-command-list): Include right-char and
1477 left-char.
1478
1479 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1480
1481 Spelling fixes.
1482 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1483 * woman.el (woman-mark-horizontal-position):
1484 Rename from woman-mark-horizonal-position. Use changed.
1485
1486 2014-01-10 Glenn Morris <rgm@gnu.org>
1487
1488 * info.el (info-initialize): If running uninstalled, ensure our
1489 own info files are always found first, even if INFOPATH is set.
1490
1491 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1492
1493 2014-01-09 David Engster <deng@randomsample.de>
1494
1495 * emacs-lisp/eieio-custom.el:
1496 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1497 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1498 * emacs-lisp/eieio.el: Regenerate autoloads.
1499
1500 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1501
1502 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1503 following renames. (Bug#8756)
1504
1505 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1506
1507 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1508 (bug#16382).
1509 (activate-mark): Add `no-tmm' argument.
1510 (set-mark, push-mark-command): Use it instead of running
1511 activate-mark-hook by hand.
1512
1513 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1514
1515 In preparation for the move to git, sanitize out some
1516 Bazaar-specific names.
1517
1518 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1519
1520 * version.el (emacs-bzr-version): Name changed to
1521 emacs-repository-version. Obsolete-variable alias made.
1522 * loadup.el: Follow through on this name change.
1523 * mail/emacsbug.el (report-emacs-bug): Factor out any
1524 assumption about the version control system in use.
1525
1526 2014-01-08 David Engster <deng@randomsample.de>
1527
1528 * help-fns.el (help-fns-describe-function-functions):
1529 New variable to call functions for augmenting help buffers.
1530 (describe-function-1): Remove explicit calls to
1531 `help-fns--compiler-macro', `help-fns--parent-mode' and
1532 `help-fns--obsolete'. Put them in above new variable instead, and
1533 call them through `run-hook-with-args'.
1534 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1535 `eieio-describe-class'. Not meant for interactive use anymore,
1536 but to augment existing help buffers. Remove optional second
1537 argument. Create proper button for file location.
1538 Rewrite function to use `insert' instead of `princ' and `prin1' where
1539 possible.
1540 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1541 (eieio-method-def, eieio-class-def): Move further up.
1542 (describe-method, describe-generic, eieio-describe-method):
1543 Remove aliases.
1544 (eieio-help-constructor, eieio-help-generic): Rename from
1545 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1546 Rewrite to use `insert' in the current buffer and use proper help
1547 buttons.
1548 (eieio-help-find-method-definition)
1549 (eieio-help-find-class-definition): Also accept symbols as
1550 arguments.
1551 (eieio-help-mode-augmentation-maybee): Remove.
1552 (eieio-describe-class-sb): Use `describe-function'.
1553 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1554 Add `eieio-help-generic' and `eieio-help-constructor'.
1555
1556 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1557
1558 Spelling fixes.
1559 * language/china-util.el (hz-ascii-designation):
1560 Rename from hz-ascii-designnation.
1561 (hz-ascii-designation): Rename from hz-ascii-designnation.
1562 All uses changed.
1563
1564 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1567 package-alist.
1568
1569 2014-01-08 Bastien Guerry <bzg@gnu.org>
1570
1571 * emacs-lisp/package.el (package-delete):
1572 Correctly delete the package from package-alist.
1573
1574 2014-01-08 Daiki Ueno <ueno@gnu.org>
1575
1576 * emacs-lisp/package.el (url-recreate-url): Declare.
1577 (url-http-target-url): Declare.
1578 (package-handle-response): Include requested URL in the error message.
1579 (package--check-signature): Don't re-signal errors from
1580 package--with-work-buffer. Suggested by Stefan Monnier.
1581
1582 2014-01-07 Bastien Guerry <bzg@gnu.org>
1583
1584 * minibuffer.el (completion--try-word-completion): When both a
1585 hyphen and a space are possible candidates for the character
1586 following a word, display both candidates. (Bug#15980)
1587
1588 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1589
1590 * window.el (balance-windows-2): While rounding don't give a
1591 window more than the remainder. Bug#16351, bug#16383.
1592
1593 2014-01-07 Glenn Morris <rgm@gnu.org>
1594
1595 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1596 (menu-bar-help-menu): Use view-external-packages instead.
1597
1598 2014-01-07 Bastien Guerry <bzg@gnu.org>
1599
1600 * emacs-lisp/package.el (package-delete): Also delete the package
1601 name from `package-alist', not its description only.
1602
1603 2014-01-07 Glenn Morris <rgm@gnu.org>
1604
1605 * help.el (view-external-packages):
1606 * menu-bar.el (menu-bar-help-extra-packages):
1607 Visit efaq.info rather than etc/MORE.STUFF.
1608
1609 2014-01-07 Juri Linkov <juri@jurta.org>
1610
1611 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1612 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1613
1614 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1615 that shadows RET. (Bug#16342)
1616
1617 2014-01-07 Chong Yidong <cyd@gnu.org>
1618
1619 * isearch.el (isearch-yank-char, isearch-yank-word)
1620 (isearch-yank-line): Doc fix.
1621
1622 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1625 * emacs-lisp/elint.el (elint-find-builtins):
1626 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1627 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1628 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1629 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1630 * apropos.el (apropos-safe-documentation):
1631 * subr.el (symbol-file): Remove redundant fboundp.
1632 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1633
1634 2014-01-06 Bastien Guerry <bzg@gnu.org>
1635
1636 * hl-line.el (global-hl-line-overlay): Make a local variable.
1637 (global-hl-line-overlays): New variable to store all overlays.
1638 (global-hl-line-mode): Don't delete overlays from the current
1639 buffer when `global-hl-line-sticky-flag' is non-nil.
1640 (global-hl-line-highlight): Add new overlays to
1641 `global-hl-line-overlays'.
1642 (global-hl-line-unhighlight-all): New function to delete all
1643 overlays when turning off `global-hl-line-mode'.
1644 This fixes Bug#16183.
1645
1646 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * subr.el (set-transient-map): Fix nested case and docstring.
1649
1650 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1651
1652 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1653 `Texinfo' entry.
1654
1655 2014-01-06 Daniel Colascione <dancol@dancol.org>
1656
1657 Fix defun navigation in vc log view.
1658
1659 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1660 like `beginning-of-defun'.
1661 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1662 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1663 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1664 (log-view-extract-comment): Call `log-view-current-entry' directly
1665 instead of relying on broken `log-view-beginning-of-defun' behavior.
1666
1667 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1668
1669 Spelling fixes.
1670 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1671 * emacs-lisp/debug.el (cancel-debug-on-entry):
1672 * epg.el (epg-error-to-string):
1673 * files.el (recover-file):
1674 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1675 * mail/emacsbug.el (report-emacs-bug-hook):
1676 * mail/sendmail.el (mail-recover):
1677 * ses.el (ses-yank-resize):
1678 * term/ns-win.el (ns-print-buffer):
1679 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1680 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1681 All uses changed.
1682 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1683
1684 2014-01-06 Leo Liu <sdl.web@gmail.com>
1685
1686 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1687 to avoid shadowing global key. (Bug#16354)
1688
1689 2014-01-06 Daniel Colascione <dancol@dancol.org>
1690
1691 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1692 rst-mode.
1693
1694 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1695
1696 * window.el (balance-windows): Add mising t to fix Bug#16351.
1697
1698 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1699
1700 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1701 (bug#16285).
1702 (shr-insert): If we have a word that's longer than `shr-width',
1703 break after it anyway. Otherwise we'll do no breaking once we get
1704 such a long word.
1705
1706 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1707
1708 * net/eww.el (eww): Support single/double quote for search.
1709 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1710 (eww-history-quit): Delete and use quit-window.
1711 (eww-history-kill): Delete, because it doesn't work well and
1712 not necessary.
1713 (eww-history-mode-map): Delete some keys and add easy-menu.
1714
1715 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1716
1717 Fix misspelling of 'chinese' in rx (Bug#16237).
1718 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1719 chinese-two-byte.
1720
1721 Change subword regexps back to vars (Bug#16296).
1722 * progmodes/subword.el (subword-forward-regexp)
1723 (subword-backward-regexp): Change these back to variables.
1724
1725 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1728 syntax-begin-function (bug#16247).
1729
1730 2014-01-03 Chong Yidong <cyd@gnu.org>
1731
1732 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1733 (advice--docstring): Delete variable.
1734 (advice--make-1): Leave the docstring empty.
1735 (advice-add): Use function-documentation for advised docstring.
1736
1737 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1738 Ignore function-documentation property when getting documentation.
1739 (ad-activate-advised-definition): Use function-documentation
1740 generate the docstring.
1741 (ad-make-advised-definition): Don't call
1742 ad-make-advised-definition-docstring.
1743 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1744 Delete functions.
1745
1746 * progmodes/sql.el (sql-help): Use function-documentation instead
1747 of dynamic-docstring-function property. No need to autoload now.
1748 (sql--help-docstring): New variable.
1749 (sql--make-help-docstring): Use it.
1750
1751 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * ielm.el (ielm-tab): Retarget.
1754 (ielm-map): Use ielm-tab for tab.
1755 (ielm-complete-filename): Use comint-filename-completion.
1756 (ielm-complete-symbol): Remove.
1757 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1758 remove ielm-tab from completion-at-point-functions (bug#16224).
1759
1760 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1761 Beware signals raised by predicates (bug#16201).
1762
1763 2014-01-02 Richard Stallman <rms@gnu.org>
1764
1765 * dired-aux.el (dired-do-print): Handle printer-name.
1766
1767 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1768 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1769 (rmail-epa-decrypt): Turn off mime processing.
1770
1771 * mail/rmail.el (rmail-make-in-reply-to-field):
1772 Add parens in message-id.
1773
1774 * mail/rmail.el (rmail-get-coding-function): Variable.
1775 (rmail-get-coding-system): Use it.
1776
1777 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1778
1779 * international/mule-conf.el: Unify the charset indian-is13194.
1780 (indian-is13194): Specify unify-map.
1781
1782 2013-12-31 Leo Liu <sdl.web@gmail.com>
1783
1784 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1785
1786 2013-12-30 Daniel Colascione <dancol@dancol.org>
1787
1788 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1789 of printing a useless when we resume from sleep.
1790
1791 * progmodes/sh-script.el
1792 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1793 in indentation code. (Bug#16233)
1794
1795 2013-12-28 João Távora <joaotavora@gmail.com>
1796
1797 * elec-pair.el (electric-pair-post-self-insert-function):
1798 Don't open extra newlines at beginning of buffer. (Bug#16272)
1799
1800 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1801
1802 * frame.el (window-system-for-display): Don't allow to create a
1803 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1804
1805 2013-12-28 Glenn Morris <rgm@gnu.org>
1806
1807 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1808 Update callers.
1809
1810 * apropos.el (apropos-match-face):
1811 * calculator.el (calculator-displayer):
1812 * dabbrev.el (dabbrev-search-these-buffers-only):
1813 * face-remap.el (buffer-face-mode-face):
1814 * simple.el (yank-handled-properties):
1815 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1816 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1817 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1818 (hashcash-double-spend-database):
1819 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1820 (ruby-deep-indent-paren-style):
1821 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1822 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1823 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1824 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1825 Specify custom types.
1826
1827 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1828 * bookmark.el (bookmark-bmenu-use-header-line):
1829 * doc-view.el (doc-view-scale-internally):
1830 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1831 * register.el (register-preview-delay):
1832 * net/shr.el (shr-bullet):
1833 * progmodes/cfengine.el (cfengine-cf-promises)
1834 (cfengine-parameters-indent):
1835 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1836 * textmodes/reftex-vars.el (reftex-label-regexps):
1837 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1838
1839 * net/tls.el (tls-certtool-program): Fix default value.
1840
1841 * desktop.el (desktop-restore-in-current-display):
1842 * newcomment.el (comment-empty-lines):
1843 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1844 (idlwave-pad-keyword):
1845 * progmodes/tcl.el (tcl-tab-always-indent):
1846 * textmodes/reftex-vars.el (reftex-index-default-tag):
1847 * elec-pair.el (electric-pair-skip-whitespace):
1848 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1849
1850 * emacs-lisp/authors.el (authors-ignored-files)
1851 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1852
1853 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1854
1855 * shell.el (shell-dynamic-complete-command): Doc fix.
1856 (shell--command-completion-data): Shell completion now matches
1857 executable filenames from the current buffer's directory, on
1858 systems in which this behavior is the default (windows-nt, ms-dos).
1859
1860 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1861
1862 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1863
1864 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1867 (bug#16251).
1868
1869 * electric.el: Move all electric-pair-* to elec-pair.el.
1870 * elec-pair.el: New file, split from electric.el.
1871
1872 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1873
1874 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1875 indentation level is larger than the width, because that will
1876 infloop.
1877 (shr-insert): Fill repeatedly long texts, so that Japanese is
1878 formatted correctly (bug#16263).
1879 (shr-find-fill-point): Off by one error in comparison with the
1880 indentation.
1881
1882 2013-12-26 João Távora <joaotavora@gmail.com>
1883
1884 * electric.el (electric-pair-mode): More flexible engine for skip-
1885 and inhibit predicates, new options for pairing-related functionality.
1886 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1887 if that keeps or improves their balance in buffers.
1888 (electric-pair-delete-adjacent-pairs): Delete the pair when
1889 backspacing over adjacent matched delimiters.
1890 (electric-pair-open-extra-newline): Open extra newline when
1891 inserting newlines between adjacent matched delimiters.
1892 (electric--sort-post-self-insertion-hook):
1893 Sort post-self-insert-hook according to priority values when
1894 minor-modes are activated.
1895 * simple.el (newline-and-indent): Call newline with interactive
1896 set to t.
1897 (blink-paren-post-self-insert-function): Set priority to 100.
1898 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1899 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1900 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1901 electric-pair-open-newline-between-pairs to nil.
1902
1903 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1904
1905 * progmodes/python.el: Use lexical-binding.
1906 (python-nav-beginning-of-defun): Stop searching ASAP.
1907
1908 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1909
1910 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1911 Fix interactive spec. Doc fix. (Bug#15754)
1912
1913 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1914
1915 * emacs-lisp/byte-run.el (eval-when-compile):
1916 * progmodes/cc-defs.el (cc-eval-when-compile):
1917 Fix edebug spec (bug#16184).
1918
1919 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1920
1921 * net/shr.el (shr-visit-file): Remove debugging function.
1922 (shr-insert): Don't infloop if we can't find a good place to break
1923 the line (bug#16256).
1924
1925 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1926
1927 * progmodes/python.el:
1928 (python-nav--lisp-forward-sexp): New function.
1929 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1930 python-nav-lisp-forward-sexp-safe.
1931 (python-nav--forward-sexp): New argument SAFE allows switching
1932 forward sexp movement behavior for parens.
1933 (python-nav-forward-sexp): Throw errors on unterminated parens
1934 (Bug#16191).
1935 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1936 (python-nav-backward-sexp-safe): New functions.
1937 (python-shell-buffer-substring):
1938 Use `python-nav-forward-sexp-safe'.
1939
1940 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1941
1942 * net/shr.el (shr-find-fill-point): Don't break lines before a
1943 quotation mark.
1944 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1945 (shr-find-fill-point): Remove the special checks for the quotation
1946 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1947
1948 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1949
1950 * net/eww.el (eww-form-textarea): Use a different face for
1951 textareas than text input since they have different keymaps
1952 (bug#16142).
1953
1954 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1955
1956 * progmodes/python.el (python-nav-beginning-of-statement):
1957 Speed up (Bug#15295).
1958
1959 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1960
1961 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1962 the window configuration.
1963
1964 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1965
1966 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1967 we run on MS-Windows or MS-DOS.
1968
1969 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1970
1971 * window.el (balance-windows-area): Call window-size instead of
1972 window-height and window-width. Bug#16241.
1973
1974 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1975
1976 * net/eww.el (eww-bookmark-quit): Remove.
1977 (eww-bookmark-browse): Restore the window configuration when you
1978 choose a bookmark (bug#16144).
1979
1980 2013-12-24 Daniel Colascione <dancol@dancol.org>
1981
1982 * icomplete.el: Remove redundant :group arguments to `defcustom'
1983 throughout.
1984 (icomplete-show-matches-on-no-input): New customizable variable.
1985 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1986 we have something to show.
1987 (icomplete-exhibit): Compute completions even if we have no user input.
1988
1989 2013-12-23 Daniel Colascione <dancol@dancol.org>
1990
1991 * icomplete.el: Move `provide' to end of file.
1992
1993 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1994
1995 * net/gnutls.el (gnutls-verify-error): Add version tag.
1996
1997 2013-12-23 Chong Yidong <cyd@gnu.org>
1998
1999 * subr.el (set-transient-map): Rename from
2000 set-temporary-overlay-map. Doc fix.
2001
2002 * face-remap.el (text-scale-adjust):
2003 * indent.el (indent-rigidly):
2004 * kmacro.el (kmacro-call-macro):
2005 * minibuffer.el (minibuffer-force-complete):
2006 * repeat.el (repeat):
2007 * simple.el (universal-argument--mode):
2008 * calendar/todo-mode.el (todo-insert-item--next-param):
2009 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2010
2011 * indent.el (indent-rigidly): Use substitute-command-keys.
2012
2013 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2014
2015 * net/eww.el (eww-tag-select): Add text-property to jump to next
2016 select field.
2017 (eww): Add non-supported ftp error.
2018
2019 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2022 comments. Handle electric indent after typing `?' and `!'.
2023
2024 2013-12-22 Chong Yidong <cyd@gnu.org>
2025
2026 * faces.el (face-spec-recalc): If the theme specs are not
2027 applicable to a frame, fall back on the defface spec.
2028 This prevents themes from obliterating faces on low-color terminals.
2029
2030 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2033 after `{'. We need it after block openers, and it doesn't seem
2034 to hurt after hash openers.
2035
2036 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2037
2038 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2039 extracted from `ruby-smie-rules'.
2040 (ruby--electric-indent-chars): New variable.
2041 (ruby--electric-indent-p): New function.
2042 (ruby-mode): Use `electric-indent-functions' instead of
2043 `electric-indent-chars'.
2044
2045 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2048 docstring.
2049 (ruby-smie-rules): Indent plus one level after `=>'.
2050
2051 2013-12-21 Richard Stallman <rms@gnu.org>
2052
2053 * simple.el (newline): Doc fix.
2054
2055 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2056
2057 * net/eww.el (eww-list-histories, eww-list-histories)
2058 (eww-history-browse, eww-history-quit, eww-history-kill)
2059 (eww-history-mode-map, eww-history-mode): New command and
2060 functions to list browser histories.
2061 (eww-form-text): Support text form with disabled
2062 and readonly attributes.
2063 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2064
2065 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2066
2067 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2068 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2069 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2070 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2071 Use `user-error'.
2072 (eww-bookmark-mode-map): Add menu.
2073 (eww-render, eww-mode): Use `setq-local'.
2074 (eww-tool-bar-map): New variable.
2075 (eww-mode): Set `tool-bar-map'.
2076 (eww-view-source): Check for `html-mode' with `fboundp'.
2077
2078 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2079
2080 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2081 elements with text inside. Also remove debugging.
2082
2083 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2084
2085 * cus-start.el (all): Add ns-use-srgb-colorspace.
2086
2087 2013-12-21 Chong Yidong <cyd@gnu.org>
2088
2089 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2090 undefined. Thus, theme settings for undefined faces do not take
2091 effect until the faces are defined with defface, the same as with
2092 theme variables.
2093
2094 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2095 (face-spec-reset-face): Don't assign extra properties in temacs.
2096 (face-spec-recalc): Apply X resources too.
2097
2098 2013-12-21 Chong Yidong <cyd@gnu.org>
2099
2100 * faces.el (face-spec-set):
2101 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2102 * custom.el (defface): Doc fixes (Bug#16203).
2103
2104 * indent.el (indent-rigidly-map): Add docstring, and move commands
2105 into named functions.
2106 (indent-rigidly-left, indent-rigidly-right)
2107 (indent-rigidly-left-to-tab-stop)
2108 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2109 indentation direction based on bidi direction, and accumulate
2110 sequential commands in a single undo boundary.
2111 (indent-rigidly--pop-undo): New utility function.
2112
2113 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2114
2115 * faces.el (read-face-name): Require crm.el when using crm-separator.
2116
2117 2013-12-20 Daniel Colascione <dancol@dancol.org>
2118
2119 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2120 so that we don't reflow comments into the shebang line.
2121
2122 2013-12-20 Juri Linkov <juri@jurta.org>
2123
2124 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2125 a position when `dired-directory' is non-nil. Check integer
2126 positions with `integerp'.
2127 (toggle-save-place, save-places-to-alist): Add check for
2128 `dired-directory'.
2129 (save-place-find-file-hook): Check integer positions with
2130 `integerp'.
2131 (save-place-dired-hook): Use `dired-goto-file' when
2132 `dired-filename' is found in the assoc list. Check integer
2133 positions with `integerp'.
2134 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2135
2136 * dired.el (dired-initial-position-hook): Rename back from
2137 `dired-initial-point-hook'.
2138 (dired-initial-position): Rename `dired-initial-point-hook' to
2139 `dired-initial-position-hook'.
2140 (dired-file-name-at-point): Doc fix. (Bug#15329)
2141
2142 2013-12-20 Juri Linkov <juri@jurta.org>
2143
2144 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2145 (read-regexp-suggestions): New function.
2146 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2147 Use `read-regexp-suggestions'. Add non-empty default to history
2148 for empty input.
2149 (occur-read-regexp-defaults-function): Remove function.
2150 (occur-read-primary-args): Use `regexp-history-last' instead of
2151 `occur-read-regexp-defaults-function'.
2152
2153 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2154 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2155 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2156 `hi-lock-read-regexp-defaults-function'. Doc fix.
2157 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2158 with `find-tag-default-as-symbol-regexp'. Doc fix.
2159 (hi-lock-read-regexp-defaults): Remove function.
2160 (hi-lock-regexp-okay): Add check for null.
2161
2162 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2163 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2164
2165 * subr.el (find-tag-default-as-symbol-regexp): New function.
2166 (find-tag-default-as-regexp): Move symbol regexp formatting to
2167 `find-tag-default-as-symbol-regexp'.
2168
2169 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2170
2171 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2172 (Bug#14179)
2173
2174 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2175
2176 * calendar/todo-mode.el: New implementation of item insertion
2177 commands and key bindings.
2178 (todo-key-prompt): New face.
2179 (todo-insert-item): New command.
2180 (todo-insert-item--parameters): New defconst, replacing defvar
2181 todo-insertion-commands-args-genlist.
2182 (todo-insert-item--param-key-alist): New defconst, replacing
2183 defvar todo-insertion-commands-arg-key-list.
2184 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2185 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2186 (todo-insert-item--next-param): New functions.
2187 (todo-insert-item--args, todo-insert-item--argleft)
2188 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2189 New variables.
2190 (todo-key-bindings-t): Change binding of "i" from
2191 todo-insertion-map to todo-insert-item.
2192 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2193 (todo-insertion-command-name, todo-insertion-commands-names)
2194 (todo-define-insertion-command, todo-insertion-commands)
2195 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2196
2197 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2198
2199 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2200 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2201 eval-when-compile.
2202 (todo-move-category): Allow choosing a non-existing todo file to
2203 move the category to, and create that file.
2204 (todo-default-priority): New user option.
2205 (todo-set-item-priority): Use it.
2206 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2207 (desktop-restore-file-buffer): Declare.
2208 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2209 (todo-modes-set-2): Locally set desktop-save-buffer to
2210 todo-desktop-save-buffer.
2211 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2212 (auto-mode-alist): Add autoload cookie.
2213
2214 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2215
2216 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2217 helpers.el was a poor choice of name.
2218 (string-remove-prefix): New function.
2219 (string-remove-suffix): New function.
2220
2221 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2222
2223 Fix assignment for new window total sizes.
2224 * window.el (window--pixel-to-size): Remove function.
2225 (window--pixel-to-total-1, window--pixel-to-total):
2226 Fix calculation of new total sizes.
2227
2228 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2229
2230 * comint.el (comint-output-filter): Fix rear-nonsticky property
2231 placement (Bug#16010).
2232
2233 2013-12-20 Chong Yidong <cyd@gnu.org>
2234
2235 * faces.el (read-color): Minor fix for completion function.
2236
2237 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2238
2239 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2240 New option. (Bug#16182)
2241 (ruby-smie--indent-to-stmt-p): Use it.
2242 (ruby-smie-rules): Revert the logic in the handling of `when'.
2243 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2244 (ruby-deep-arglist, ruby-deep-indent-paren)
2245 (ruby-deep-indent-paren-style): Update docstrings to note that the
2246 vars don't have any effect with SMIE.
2247
2248 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2249
2250 * calc/calc.el (calc-enter, calc-pop): Use the variable
2251 `calc-context-sensitive-enter'.
2252
2253 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2254
2255 * net/shr.el (shr-insert): Protect against infloops in degenerate
2256 tables.
2257
2258 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2259
2260 * progmodes/octave.el (octave): Add link to manual and octave
2261 homepage.
2262 (octave-mode-menu): Link to octave-mode manual.
2263
2264 2013-12-20 Leo Liu <sdl.web@gmail.com>
2265
2266 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2267 insertion using skeleton-end-newline. (Bug#16138)
2268
2269 2013-12-20 Juri Linkov <juri@jurta.org>
2270
2271 * replace.el (occur-engine): Use `add-face-text-property'
2272 to add the face property to matches and titles. (Bug#14645)
2273
2274 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2275 the palette of other hi-lock colors.
2276 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2277
2278 2013-12-19 Juri Linkov <juri@jurta.org>
2279
2280 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2281 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2282 (minibuffer-history-symbol): Move variable declaration closer to
2283 its usage.
2284
2285 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2286 (Bug#14785)
2287
2288 2013-12-19 Juri Linkov <juri@jurta.org>
2289
2290 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2291 New function.
2292 (log-edit-hook): Add it to :options. (Bug#16170)
2293
2294 2013-12-19 Juri Linkov <juri@jurta.org>
2295
2296 * simple.el (eval-expression-print-format): Don't check for
2297 command names and the last command. Always display additional
2298 formats of the integer result in the echo area, and insert them
2299 to the current buffer only with a zero prefix arg.
2300 Display character when char-displayable-p is non-nil.
2301 (eval-expression): With a zero prefix arg, set `print-length' and
2302 `print-level' to nil, and insert the integer values from
2303 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2304
2305 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2306 `eval-last-sexp-arg-internal'. Doc fix.
2307 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2308 `eval-last-sexp-print-value'. Doc fix.
2309 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2310 Set `print-length' and `print-level' to nil when arg is zero.
2311 (eval-last-sexp): Doc fix.
2312 (eval-defun-2): Print the integer values from
2313 `eval-expression-print-format' at the end.
2314
2315 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2316 values from `eval-expression-print-format' at the end.
2317
2318 * ielm.el (ielm-eval-input): Print the integer
2319 values from `eval-expression-print-format' at the end.
2320
2321 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2322
2323 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2324 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2325
2326 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2329 (hl-line-highlight, global-hl-line-highlight): Use it.
2330 (hl-line-overlay): Use defvar-local.
2331
2332 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2333
2334 * term/ns-win.el: Require dnd.
2335 (global-map): Remove drag items.
2336 (ns-insert-text, ns-set-foreground-at-mouse)
2337 (ns-set-background-at-mouse):
2338 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2339 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2340 New functions.
2341
2342 2013-12-19 Glenn Morris <rgm@gnu.org>
2343
2344 * emacs-lisp/ert.el (ert-select-tests):
2345 Fix string/symbol mixup. (Bug#16121)
2346
2347 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2348
2349 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2350 keywords to their parent.
2351
2352 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2355 first arg to be a string (fixed dead code), or an operator symbol.
2356 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2357 operator symbols.
2358 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2359 did nothing. Don't respond to `(:after ".")', it will be called
2360 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2361 change anything. Only return indentation for binary operators
2362 when they are hanging. De-dent opening paren when its parent is
2363 `.', otherwise it looks bad when the dot is not at bol or eol
2364 (bug#16182).
2365
2366 2013-12-19 Juri Linkov <juri@jurta.org>
2367
2368 * replace.el (query-replace-read-args): Split a non-negative arg
2369 and a negative arg into separate elements.
2370 (query-replace, query-replace-regexp, replace-string)
2371 (replace-regexp): Add arg `backward'. Doc fix.
2372 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2373 move point to the beginning of the match.
2374 (replace-search, replace-highlight): Use new arg `backward'
2375 to set the value of `isearch-forward'.
2376 (perform-replace): Add arg `backward' and use it to perform
2377 replacement backward. (Bug#14979)
2378
2379 * isearch.el (isearch-query-replace): Use a negative prefix arg
2380 to call `perform-replace' with a non-nil arg `backward'.
2381
2382 2013-12-18 Juri Linkov <juri@jurta.org>
2383
2384 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2385 to the default list. Move `log-edit-show-files' to the end.
2386 Add more available functions to options.
2387 (log-edit): Move default specific settings to
2388 `log-edit-insert-message-template'. Don't move point.
2389 (log-edit-insert-message-template): New function.
2390 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2391 (Bug#16170)
2392
2393 2013-12-18 Juri Linkov <juri@jurta.org>
2394
2395 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2396 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2397
2398 2013-12-18 Leo Liu <sdl.web@gmail.com>
2399
2400 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2401 (Bug#16186)
2402
2403 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2404
2405 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2406 formats for displaying file sizes when the -s switch is given.
2407 Instead, compute a separate format for displaying the size in
2408 blocks, which is displayed in addition to the "regular" size.
2409 When -h is given in addition to -s, produce size in blocks in
2410 human-readable form as well. (Bug#16179)
2411
2412 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2413
2414 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2415 Reference tables with ~\ref{...} instead of only \ref{...}.
2416
2417 2013-12-18 Chong Yidong <cyd@gnu.org>
2418
2419 * cus-edit.el (custom-magic-alist): Fix "themed" description
2420 (Bug#14348).
2421
2422 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2423 is non-nil, do not create a new entry in the symbol's theme-value
2424 or theme-face property; update theme-settings only (Bug#14664).
2425 (custom-available-themes): Doc fix.
2426
2427 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2428 (Bug#15674).
2429
2430 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2431
2432 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2433
2434 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2435 (Bug#13914).
2436
2437 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2438
2439 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2440
2441 2013-12-18 Glenn Morris <rgm@gnu.org>
2442
2443 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2444 * cus-start.el (load-prefer-newer): New option.
2445
2446 2013-12-18 Le Wang <l26wang@gmail.com>
2447
2448 * comint.el (comint-previous-matching-input-from-input):
2449 Retain point (Bug#13404).
2450
2451 2013-12-18 Chong Yidong <cyd@gnu.org>
2452
2453 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2454
2455 2013-12-18 Glenn Morris <rgm@gnu.org>
2456
2457 * mail/emacsbug.el (report-emacs-bug):
2458 Only mention enable-multibyte-characters if non-standard.
2459
2460 2013-12-17 Juri Linkov <juri@jurta.org>
2461
2462 * arc-mode.el (archive-extract-by-file): Check if directory exists
2463 before deletion to not show irrelevant errors if it doesn't exist.
2464
2465 2013-12-17 Juri Linkov <juri@jurta.org>
2466
2467 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2468 (Bug#14751)
2469
2470 * net/eww.el (browse-web): Add alias to `eww'.
2471 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2472 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2473
2474 * net/browse-url.el (browse-url-browser-function): Move `eww'
2475 closer to similar functions.
2476
2477 * startup.el (fancy-startup-screen, fancy-about-screen):
2478 Set browse-url-browser-function to eww-browse-url locally.
2479 (Bug#14751)
2480
2481 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2482
2483 * window.el (window--pixel-to-total): Remove unused `mini' var.
2484 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2485 (split-window): Remove unused `new' var.
2486 (window--display-buffer): Remove unused `frame' and `delta' vars.
2487 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2488 and display-width'.
2489
2490 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2491
2492 * dired.el (dired-mark-pop-up):
2493 * register.el (register-preview): Don't bind
2494 split-height-threshold here since it's now done in
2495 display-buffer-below-selected.
2496
2497 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2498
2499 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2500 xterm-rgb-convert-to-16bit.
2501 (rxvt-register-default-colors): Standardize with
2502 xterm-register-default-colors (Bug#14078).
2503
2504 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2505
2506 * simple.el (kill-region): Pass mark first, then point, so that
2507 kill-append works right (Bug#12819).
2508 (copy-region-as-kill, kill-ring-save): Likewise.
2509
2510 2013-12-17 Leo Liu <sdl.web@gmail.com>
2511
2512 * net/rcirc.el (rcirc-add-face):
2513 * eshell/em-prompt.el (eshell-emit-prompt):
2514 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2515 (Bug#16167)
2516
2517 2013-12-17 Chong Yidong <cyd@gnu.org>
2518
2519 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2520 Suggested by Xue Fuqiao.
2521
2522 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2523
2524 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2525
2526 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * net/shr.el (shr-insert-document): Remove unused var
2529 `shr-preliminary-table-render'.
2530 (shr-rescale-image): Remove unused arg `force'.
2531 (shr-put-image): Update calls accordingly.
2532 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2533
2534 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2537 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2538 :close-all, to see which indentation method to use (Bug#16116).
2539 (smie-rules-function): Document the method :close-all.
2540
2541 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2542
2543 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2544
2545 * net/eww.el (eww-display-html): If we can't find the anchor we're
2546 looking for, then go to point-min.
2547
2548 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2549
2550 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2551 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2552 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2553 Expand dir too, in case it's relative.
2554
2555 2013-12-16 Juri Linkov <juri@jurta.org>
2556
2557 * desktop.el (desktop-auto-save-timeout): Change default to
2558 `auto-save-timeout'. Doc fix.
2559 (desktop-save): Skip the timestamp in desktop-saved-frameset
2560 when checking for auto-save changes.
2561 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2562 `desktop-auto-save' is called repeatedly by the idle timer.
2563 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2564 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2565 (Bug#15331)
2566
2567 2013-12-16 Juri Linkov <juri@jurta.org>
2568
2569 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2570 (Bug#16035)
2571 (isearch-pre-command-hook): Check `this-command' for symbolp.
2572
2573 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2576
2577 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2578
2579 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2580 (cfengine3--current-function): Bring in the current-function
2581 functionality from `cfengine3--current-word'.
2582 (cfengine3-completion-function): Bring in the
2583 bounds-of-current-word functionality from
2584 `cfengine3--current-word'.
2585
2586 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2587
2588 * window.el (display-buffer-below-selected):
2589 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2590
2591 2013-12-16 Leo Liu <sdl.web@gmail.com>
2592
2593 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2594 Remove NOMSG arg and all uses changed.
2595
2596 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2599 (cua--deactivate-rectangle): Don't deactivate the mark.
2600 (cua-set-rectangle-mark): Don't set mark-active since
2601 cua--activate-rectangle already does it for us.
2602 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2603 non-rectangular region.
2604
2605 * emulation/cua-base.el (cua-repeat-replace-region):
2606 Use with-current-buffer.
2607
2608 * net/gnutls.el: Use cl-lib.
2609 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2610
2611 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2612
2613 * emacs-lisp/package.el (package-built-in-p): Support both
2614 built-in and the package.el converted package descriptions.
2615 (package-show-package-list): Allow keywords.
2616 (package-keyword-button-action): Use it instead of
2617 `finder-list-matches'.
2618 (package-menu-filter-interactive): Interactive filtering (by
2619 keyword) function.
2620 (package-menu--generate): Support keywords and change keymappings
2621 and headers when they are given.
2622 (package--has-keyword-p): Helper function.
2623 (package-menu--refresh): Use it.
2624 (package--mapc): Helper function.
2625 (package-all-keywords): Use it.
2626 (package-menu-mode-map): Set up menu items and keybindings to
2627 provide a filtering UI.
2628
2629 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2630
2631 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2632 the behavior when a certificate fails validation. Defaults to
2633 old behavior: never abort, just warn.
2634 (gnutls-negotiate): Use it.
2635
2636 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2637
2638 * window.el (display-buffer-below-selected): Never split window
2639 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2640
2641 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2642
2643 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2644 (package-buffer-info): Use it (bug#15108).
2645
2646 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * icomplete.el (icomplete-completions): Make sure the prefix is already
2649 displayed elsewhere before hiding it (bug#16219).
2650
2651 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2652
2653 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2654 open-paren tokens when preceded by a open-paren, too.
2655 (ruby-smie-rules): Handle virtual indentation after open-paren
2656 tokens specially. If there is code between it and eol, return the
2657 column where is starts (Bug#16118).
2658
2659 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2660
2661 * progmodes/cfengine.el: Fix `add-hook' doc.
2662 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2663 (cfengine3--current-word): Fix parameters.
2664 (cfengine3-make-syntax-cache): Simplify further.
2665 (cfengine3-completion-function, cfengine3--current-function):
2666 Use `assq' for symbols.
2667 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2668
2669 2013-12-13 Glenn Morris <rgm@gnu.org>
2670
2671 * loadup.el (load-path): Warn if site-load or site-init changes it.
2672 No more need to reset it when bootstrapping.
2673
2674 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2675
2676 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2677 locations for cf-promises.
2678 (cfengine-mode-syntax-functions-regex): New caching variable.
2679 (cfengine3-fallback-syntax): Fallback syntax for cases where
2680 cf-promises doesn't run.
2681 (cfengine3--current-word): Reimplement using
2682 `cfengine-mode-syntax-functions-regex'.
2683 (cfengine3-completion-function, cfengine3--current-function):
2684 Use `cfengine3-make-syntax-cache' directly.
2685 (cfengine3-clear-syntax-cache): New function.
2686 (cfengine3-make-syntax-cache): Simplify and create
2687 `cfengine-mode-syntax-functions-regex' on demand.
2688 (cfengine3-format-function-docstring): Don't call
2689 `cfengine3-make-syntax-cache' explicitly.
2690
2691 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2692
2693 Fix windmove-find-other-window broken after pixelwise resizing
2694 (Bug#16017).
2695 * windmove.el (windmove-other-window-loc): Revert change from
2696 2013-12-04.
2697 (windmove-find-other-window): Call window-in-direction.
2698 * window.el (window-in-direction): New arguments SIGN, WRAP and
2699 MINI to emulate original windmove-find-other-window behavior.
2700
2701 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2702
2703 * simple.el (blink-matching--overlay): New variable.
2704 (blink-matching-open): Instead of moving point, highlight the
2705 matching paren with an overlay
2706 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2707
2708 * faces.el (paren-showing-faces, show-paren-match)
2709 (show-paren-mismatch): Move from paren.el.
2710
2711 2013-12-13 Leo Liu <sdl.web@gmail.com>
2712
2713 * indent.el (indent-region): Disable progress reporter in
2714 minibuffer. (Bug#16108)
2715
2716 * bindings.el (visual-order-cursor-movement): Fix version.
2717
2718 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2719
2720 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2721 Also match after beginning of line.
2722 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2723 files. Thanks to Russell Sim. (Bug#15378)
2724
2725 2013-12-13 Juri Linkov <juri@jurta.org>
2726
2727 * simple.el <Keypad support>: Remove key bindings duplicated
2728 with bindings.el. (Bug#14397)
2729
2730 2013-12-13 Juri Linkov <juri@jurta.org>
2731
2732 * comint.el (comint-mode-map): Replace `delete-char' with
2733 `delete-forward-char'. (Bug#16109)
2734
2735 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2736
2737 * progmodes/python.el (python-indent-calculate-indentation):
2738 Fix de-denters cornercase. (Bug#15731)
2739
2740 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2743 (advice--make): Pay attention to `depth'.
2744 (advice--make-1): Don't autoload commands eagerly.
2745 * emacs-lisp/elp.el (elp-instrument-function):
2746 * emacs-lisp/trace.el (trace-function-internal):
2747 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2748
2749 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2750
2751 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2752
2753 * term/w32-win.el (w32-handle-dropped-file):
2754 * startup.el (normal-top-level):
2755 * net/browse-url.el (browse-url-file-url):
2756 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2757 decode file names using 'utf-8' rather than
2758 file-name-coding-system.
2759
2760 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2761
2762 * progmodes/python.el (python-indent-context)
2763 (python-indent-calculate-indentation): Fix auto-identation
2764 behavior for comment blocks. (Bug#15916)
2765
2766 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2767
2768 * progmodes/python.el (python-indent-calculate-indentation):
2769 When determining indentation, don't treat "return", "pass", etc., as
2770 operators when they are just string constituents. (Bug#15812)
2771
2772 2013-12-12 Juri Linkov <juri@jurta.org>
2773
2774 * uniquify.el (uniquify-buffer-name-style): Change default to
2775 `post-forward-angle-brackets'.
2776
2777 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2778 `uniquify'. Change default to `post-forward-angle-brackets'.
2779
2780 2013-12-11 Glenn Morris <rgm@gnu.org>
2781
2782 * emacs-lisp/package.el (finder-list-matches):
2783 Autoload rather than falsely declaring.
2784
2785 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2786
2787 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2788 (eww-mode-map): Use them.
2789
2790 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2791
2792 * window.el (display-buffer-in-side-window): Fix doc-string
2793 (Bug#16115).
2794
2795 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2796
2797 * vc/vc-git.el: Silence byte-compiler warnings.
2798 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2799 (log-edit-set-header): Declare.
2800
2801 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2802
2803 * Makefile.in (custom-deps, finder-data): Run output file names
2804 through unmsys--file-name. (Bug#16099)
2805
2806 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2809 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2810
2811 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2812 instead of deleting the selection "by hand" (bug#16098).
2813 Rely on insert-for-yank to yank rectangles.
2814 (cua-highlight-region-shift-only): Mark obsolete.
2815 (cua-mode): Don't enable/disable transient-mark-mode,
2816 shift-select-mode (cua-mode works both with and without them), and
2817 pc-selection-mode (obsolete).
2818 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2819 (cua--deactivate-rectangle): Deactivate it.
2820
2821 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2822 (delete-selection-helper): Make sure yank starts at the top of the
2823 deleted region.
2824 (minibuffer-keyboard-quit): Use region-active-p.
2825
2826 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2827
2828 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2829 to `delete' (bug#16109).
2830
2831 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2832
2833 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2834 info manual and show keybindings and set `:group' keyword.
2835
2836 2013-12-11 Juri Linkov <juri@jurta.org>
2837
2838 * delsel.el (delete-active-region): Let-bind `this-command'
2839 to prevent `kill-region' from changing its original value.
2840 (delete-selection-helper): Handle `overwrite-mode' for the type
2841 `kill' exactly the same way as for the type `t'.
2842 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2843 Support more commands. (Bug#13312)
2844
2845 2013-12-11 Juri Linkov <juri@jurta.org>
2846
2847 * bindings.el: Map kp keys to non-kp keys systematically
2848 with basic modifiers control, meta and shift. (Bug#14397)
2849
2850 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2851
2852 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2853 "Close browser" menu items. Fix wrong function of "List
2854 bookmarks".
2855
2856 2013-12-11 Juri Linkov <juri@jurta.org>
2857
2858 * misearch.el (multi-isearch-buffers): Set the value of
2859 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2860 arg of isearch-forward to t.
2861 (multi-isearch-buffers-regexp): Set the value of
2862 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2863 arg of isearch-forward-regexp to t.
2864 (multi-isearch-files): Set the value of
2865 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2866 arg of isearch-forward to t.
2867 (multi-isearch-files-regexp): Set the value of
2868 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2869 arg of isearch-forward-regexp to t. (Bug#16035)
2870
2871 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2872 arg of isearch-forward to t.
2873 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2874 arg of isearch-forward-regexp to t.
2875 (dired-isearch-filter-filenames): Remove unnecessary check for
2876 `dired-isearch-filenames'.
2877
2878 * comint.el (comint-history-isearch-backward):
2879 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2880 (comint-history-isearch-backward-regexp):
2881 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2882
2883 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2884
2885 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2886 unmsys--file-name. (Bug#16099)
2887
2888 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2889
2890 * emacs-lisp/package.el (package-keyword-button-action):
2891 Remove finder.el require dependency.
2892
2893 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2894
2895 * emacs-lisp/package.el: Require finder.el.
2896 (describe-package-1): Add keyword buttons.
2897 (package-make-button): New convenience function.
2898 (package-keyword-button-action): Keyword button action using
2899 `finder-list-matches'.
2900
2901 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2902
2903 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2904 last commit.
2905
2906 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2907
2908 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2909 symlinked files.
2910
2911 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2912
2913 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2914 after the end of a percent literal.
2915
2916 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2917
2918 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2919 Handle caret-delimited strings (Bug#16079).
2920
2921 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2922
2923 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2924 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2925 `ruby-parse-partial' (Bug#16078).
2926
2927 2013-12-09 Leo Liu <sdl.web@gmail.com>
2928
2929 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2930
2931 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2932
2933 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2934 (js-switch-indent-offset): New option.
2935 (js--proper-indentation): Use it. And handle the case when
2936 "default" is actually a key in an object literal.
2937 (js--same-line): New function.
2938 (js--multi-line-declaration-indentation): Use it.
2939 (js--indent-in-array-comp, js--array-comp-indentation):
2940 New functions.
2941 (js--proper-indentation): Use them, to handle array comprehension
2942 continuations.
2943
2944 2013-12-08 Leo Liu <sdl.web@gmail.com>
2945
2946 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2947 (flymake-make-overlay): Remove arg MOUSE-FACE.
2948 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2949
2950 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2953 New function.
2954 (redisplay-highlight-region-function): Use it.
2955
2956 * emulation/cua-base.el (cua--explicit-region-start)
2957 (cua--last-region-shifted): Remove.
2958 (cua--deactivate): Use deactivate-mark.
2959 (cua--pre-command-handler-1): Don't handle shift-selection.
2960 (cua--post-command-handler-1): Don't change transient-mark-mode.
2961 (cua--select-keymaps): Use region-active-p rather than
2962 cua--explicit-region-start or cua--last-region-shifted.
2963 (cua-mode): Enable shift-select-mode.
2964
2965 2013-12-08 Leo Liu <sdl.web@gmail.com>
2966
2967 * progmodes/flymake.el (flymake-popup-current-error-menu):
2968 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2969 (flymake-posn-at-point-as-event, flymake-popup-menu)
2970 (flymake-make-emacs-menu): Remove. (Bug#16077)
2971
2972 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * rect.el (rectangle-mark-mode): Activate mark even if
2975 transient-mark-mode is off (bug#16066).
2976 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2977 is > mark and at bolp.
2978
2979 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2980 (region-extract-function): Use it.
2981 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2982 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2983 Delete functions.
2984 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2985 kill-ring-save, kill-region, delete-char, delete-forward-char.
2986 Ignore self-insert-iso.
2987
2988 * emulation/cua-gmrk.el (cua--init-global-mark):
2989 Ignore `self-insert-iso'.
2990
2991 * emulation/cua-base.el (cua--prefix-copy-handler)
2992 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2993 checking cua--rectangle.
2994 (cua-delete-region): Use region-extract-function.
2995 (cua-replace-region): Delete function.
2996 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2997 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2998 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2999 (cua--init-keymaps): Don't remap delete-selection commands.
3000 (cua-mode): Use delete-selection-mode instead of rolling our own
3001 (bug#16085).
3002
3003 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3004 Obey region-extract-function.
3005
3006 Make registers and delete-selection-mode work on rectangles.
3007 * register.el (describe-register-1): Don't modify the register's value.
3008 (copy-to-register): Obey region-extract-function.
3009 * delsel.el (delete-active-region): Obey region-extract-function.
3010
3011 2013-12-08 Leo Liu <sdl.web@gmail.com>
3012
3013 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3014 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3015 (flymake-compilation-prevents-syntax-check)
3016 (flymake-start-syntax-check-on-newline)
3017 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3018 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3019 (flymake-xml-program, flymake-master-file-dirs)
3020 (flymake-master-file-count-limit)
3021 (flymake-allowed-file-name-masks): Relocate.
3022 (flymake-makehash, flymake-float-time)
3023 (flymake-replace-regexp-in-string, flymake-split-string)
3024 (flymake-get-temp-dir): Remove.
3025 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3026 (flymake-current-row, flymake-selected-frame)
3027 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3028 related functions. (Bug#16077)
3029
3030 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3031
3032 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3033
3034 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3035
3036 * help-fns.el (describe-function-1): Use new advice-* functions
3037 rather than old ad-* functions. Fix function type description and
3038 source links for advised functions and subrs.
3039
3040 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3041
3042 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3043
3044 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * progmodes/compile.el (compilation-start):
3047 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3048
3049 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3050 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3051
3052 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3053
3054 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3055 Touch up the last change.
3056
3057 2013-12-06 Leo Liu <sdl.web@gmail.com>
3058
3059 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3060 (inferior-octave-startup): Always use "octave> " for prompt.
3061 (octave-goto-function-definition)
3062 (octave-sync-function-file-names)
3063 (octave-find-definition-default-filename): Remove redundant backquotes.
3064
3065 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3066
3067 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3068 syntax for `?'.
3069 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3070 where appropriate already.
3071 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3072 end of method names (Bug#15874).
3073
3074 2013-12-06 Juri Linkov <juri@jurta.org>
3075
3076 * isearch.el (isearch--saved-overriding-local-map):
3077 New internal variable.
3078 (isearch-mode): Set it to the initial value of
3079 `overriding-terminal-local-map'.
3080 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3081 with `isearch--saved-overriding-local-map'. (Bug#16035)
3082
3083 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/octave.el (inferior-octave-completion-table):
3086 Turn back into function, use `completion-table-with-cache'
3087 (Bug#11906). Update all references.
3088
3089 * minibuffer.el (completion-table-with-cache): New function.
3090
3091 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3092
3093 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3094
3095 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3096
3097 * net/eww.el (eww-current-source): New variable to store page
3098 source.
3099 (eww-display-html, eww-mode, eww-save-history)
3100 (eww-restore-history): Use it.
3101 (eww-view-source): New command to view page source.
3102 Opportunistically uses `html-mode' to highlight the buffer.
3103 (eww-mode-map): Install it.
3104
3105 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/dbus.el (dbus-unregister-service)
3108 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3109 Fix docstring.
3110 (dbus-unregister-service): Skip :serial entries in
3111 `dbus-registered-objects-table'.
3112 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3113
3114 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3115
3116 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3117 around keywords with extra `split-string' argument.
3118
3119 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3120
3121 * windmove.el (windmove-other-window-loc): Handle navigation
3122 between windows (excluding the minibuffer window - Bug#16017).
3123
3124 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3127 in D-Bus type syntax.
3128 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3129 preserve unibyte strings. (Bug#16048)
3130
3131 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3134 Call force-mode-line-update is the proper buffer (bug#16042).
3135
3136 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3137
3138 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3139 `log-edit-remember-comment', make argument optional. Adjust all
3140 callers.
3141 (log-edit-mode): Add `log-edit-remember-comment' to
3142 `kill-buffer-hook' locally.
3143 (log-edit-kill-buffer): Don't remember comment explicitly since
3144 the buffer is killed anyway.
3145
3146 2013-12-04 Juri Linkov <juri@jurta.org>
3147
3148 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3149 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3150
3151 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3152
3153 * notifications.el (notifications-close-notification): Call the
3154 D-Bus method with ID being a `:uint32'. (Bug#16030)
3155
3156 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3157
3158 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3159
3160 2013-12-03 Juri Linkov <juri@jurta.org>
3161
3162 * progmodes/compile.el (compilation-start): Rename window alist
3163 entry `no-display-ok' to `allow-no-window'.
3164
3165 * simple.el (shell-command): Add window alist entry
3166 `allow-no-window' to `display-buffer'.
3167 (async-shell-command): Doc fix.
3168
3169 * window.el (display-buffer-no-window): New action function.
3170 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3171
3172 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3173
3174 * vc/log-edit.el (log-edit-set-header): Extract from
3175 `log-edit-toggle-header'.
3176 (log-edit-extract-headers): Separate the summary, when extracted
3177 from header, from the rest of the message with an empty line.
3178
3179 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3180 line, if present, to the Summary header.
3181
3182 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3185 in current-buffer (bug#16029).
3186
3187 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3188
3189 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3190 (debugger-mode-map): Bind it.
3191 (debugger--backtrace-base): New function.
3192 (debugger-eval-expression): Use it.
3193 (debugger-frame-number): Skip local vars when present.
3194 (debugger--locals-visible-p, debugger--insert-locals)
3195 (debugger--show-locals, debugger--hide-locals): New functions.
3196
3197 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3200 "LC_ALL".
3201 (tramp-get-remote-locale): New defun.
3202 (tramp-open-connection-setup-interactive-shell): Use it.
3203
3204 2013-12-02 Leo Liu <sdl.web@gmail.com>
3205
3206 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3207
3208 * progmodes/sh-script.el (sh-shell-process):
3209 * progmodes/octave.el (inferior-octave-process-live-p):
3210 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3211 (gdb-inferior-io-sentinel):
3212 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3213
3214 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3215
3216 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3217 `save-selected-window' to `log-edit-hide-buf'. This makes
3218 `log-edit-show-files' idempotent.
3219 (log-edit-show-files): Mark the new window as dedicated.
3220
3221 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3222
3223 * vc/log-edit.el (log-edit-mode-map): Add binding for
3224 `log-edit-kill-biffer'.
3225 (log-edit-hide-buf): Add a FIXME comment.
3226 (log-edit-add-new-comment): New function, extracted from
3227 `log-edit-done'.
3228 (log-edit-done, log-edit-add-to-changelog): Use it.
3229 (log-edit-kill-buffer): New command.
3230
3231 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3232
3233 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3234 instead of killing the buffer.
3235
3236 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3239
3240 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3241
3242 * net/eww.el (eww-form-checkbox-selected-symbol)
3243 (eww-form-checkbox-symbol): New customizable variable.
3244 (eww-form-checkbox, eww-toggle-checkbox):
3245 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3246
3247 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3248 (shr--get-media-pref, shr--extract-best-source): New function.
3249 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3250 no :src tag was specified.
3251
3252 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3253 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3254 Use \\` to match beginning of string instead of ^.
3255 (eww-browse-with-external-browser): Provide optional URL parameter.
3256 (eww-render): Set `eww-current-title' back to "".
3257
3258 * net/shr.el (shr-tag-video): Display content for video if no
3259 poster is available.
3260 (shr-tag-audio): Add support for <audio> tag.
3261
3262 * net/eww.el (eww-text-input-types): New const.
3263 (eww-process-text-input): Treat input types in
3264 `eww-text-input-types' as text.
3265
3266 * net/shr.el (shr-tag-table): Fix comment typo.
3267
3268 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3269
3270 * net/eww.el (eww-follow-link): New command to avoid reloading
3271 pages when we follow #target links (bug#15243).
3272 (eww-quit): Special mode buffers shouldn't query before exiting.
3273
3274 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3275
3276 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3277 forms.
3278
3279 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3280
3281 * net/eww.el (eww-restore-history): Update the window title after
3282 moving in the history.
3283 (eww-current-dom): New variable used to save the current DOM.
3284
3285 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3286
3287 * vc/log-edit.el (log-edit-mode-map): Add binding for
3288 `log-edit-beginning-of-line'.
3289 (log-edit-setup-add-author): New user option.
3290 (log-edit-beginning-of-line): New command.
3291 (log-edit): Move major mode call above the contents setup so that
3292 the local variable values are already applied.
3293 (log-edit): Only insert "Author: " when
3294 `log-edit-setup-add-author' is non-nil.
3295 (log-edit): When SETUP is non-nil, position point after ": "
3296 instead of point-min.
3297
3298 2013-12-01 Glenn Morris <rgm@gnu.org>
3299
3300 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3301
3302 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3303
3304 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3305 redisplay to make sure the initial frame gets a chance to become
3306 visible. (Bug#16014)
3307
3308 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3309
3310 Support resizing frames and windows pixelwise.
3311 * cus-start.el (frame-resize-pixelwise)
3312 (window-resize-pixelwise): New entries.
3313 * emacs-lisp/debug.el (debug): Use window-total-height instead
3314 of window-total-size.
3315 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3316 * help.el (describe-bindings-internal): Use help-buffer as
3317 argument for with-help-window.
3318 (temp-buffer-max-width): New option.
3319 (resize-temp-buffer-window, help-window-setup)
3320 (with-help-window): Rewrite.
3321 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3322 dragging dividers.
3323 * window.el (frame-char-size, window-min-pixel-height)
3324 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3325 (window-min-pixel-width, window-safe-min-pixel-size)
3326 (window-combination-p, window-safe-min-size)
3327 (window-resizable-p, window--size-to-pixel)
3328 (window--pixel-to-size, window--resize-apply-p): New functions.
3329 (window-safe-min-height): Fix doc-string.
3330 (window-size, window-min-size, window--min-size-1)
3331 (window-sizable, window-sizable-p, window--min-delta-1)
3332 (window-min-delta, window--max-delta-1, window-max-delta)
3333 (window--resizable, window--resizable-p, window-resizable)
3334 (window-full-height-p, window-full-width-p, window-at-side-p)
3335 (window--in-direction-2, window-in-direction)
3336 (window--resize-reset-1, window--resize-mini-window)
3337 (window-resize, window-resize-no-error)
3338 (window--resize-child-windows-normal)
3339 (window--resize-child-windows, window--resize-siblings)
3340 (window--resize-this-window, window--resize-root-window)
3341 (window--resize-root-window-vertically)
3342 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3343 (maximize-window, minimize-window, delete-window)
3344 (quit-restore-window, window-split-min-size, split-window)
3345 (balance-windows-2, balance-windows)
3346 (balance-windows-area-adjust, balance-windows-area)
3347 (window--state-get-1, window-state-get, window--state-put-1)
3348 (window--state-put-2, window-state-put)
3349 (display-buffer-record-window, window--display-buffer):
3350 Make functions handle pixelwise sizing of windows.
3351 (display-buffer--action-function-custom-type)
3352 (display-buffer-fallback-action):
3353 Add display-buffer-in-previous-window.
3354 (display-buffer-use-some-window): Resize window to height it had
3355 before.
3356 (fit-window-to-buffer-horizontally): New option.
3357 (fit-frame-to-buffer): Describe new values.
3358 (fit-frame-to-buffer-bottom-margin): Replace with
3359 fit-frame-to-buffer-margins.
3360 (window--sanitize-margin): New function.
3361 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3362 using window-text-pixel-size.
3363
3364 2013-11-30 Glenn Morris <rgm@gnu.org>
3365
3366 * emacs-lisp/bytecomp.el (byte-compile-form):
3367 Make the `interactive-only' warning like the `obsolete' one.
3368 * comint.el (comint-run):
3369 * files.el (insert-file-literally, insert-file):
3370 * replace.el (replace-string, replace-regexp):
3371 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3372 (goto-line, insert-buffer, next-line, previous-line):
3373 Tweak `interactive-only' spec.
3374
3375 Stop keeping (most) generated cedet grammar files in the repository.
3376 * Makefile.in (semantic): New.
3377 (compile-main): Depend on semantic.
3378
3379 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3382 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3383
3384 * uniquify.el (uniquify-buffer-name-style): Change default.
3385
3386 * loadup.el: Preload "uniquify".
3387
3388 * time.el (display-time-update): Update all mode lines (bug#15999).
3389
3390 * electric.el (electric-indent-mode): Enable by default.
3391 * loadup.el: Preload "electric".
3392
3393 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3394
3395 * emacs-lisp/helpers.el (string-empty-p): New function.
3396 (string-blank-p): New function.
3397
3398 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3399
3400 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3401 (Bug#14029).
3402
3403 2013-11-29 Andreas Politz <politza@fh-trier.de>
3404 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3405 allow non-lambda lists as functions.
3406 (imenu--in-alist): Don't recurse into non-subalists.
3407 (imenu): Don't pass function itself as an argument (Bug#14029).
3408
3409 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * progmodes/python.el (python-mode-map): Remove binding for ":".
3412 (python-indent-electric-colon): Remove command.
3413 (python-indent-post-self-insert-function): Integrate the previous code
3414 of python-indent-electric-colon. Make it conditional on
3415 electric-indent-mode.
3416 (python-mode): Add ?: to electric-indent-chars.
3417 Move python-indent-post-self-insert-function to the end of
3418 post-self-insert-hook.
3419
3420 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * doc-view.el (doc-view-goto-page): Update mode-line.
3423
3424 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3425
3426 2013-11-27 Glenn Morris <rgm@gnu.org>
3427
3428 * international/charprop.el, international/uni-bidi.el:
3429 * international/uni-category.el, international/uni-combining.el:
3430 * international/uni-comment.el, international/uni-decimal.el:
3431 * international/uni-decomposition.el, international/uni-digit.el:
3432 * international/uni-lowercase.el, international/uni-mirrored.el:
3433 * international/uni-name.el, international/uni-numeric.el:
3434 * international/uni-old-name.el, international/uni-titlecase.el:
3435 * international/uni-uppercase.el:
3436 Remove generated files from VCS repository.
3437
3438 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3439
3440 * filenotify.el (file-notify-add-watch): Don't special-case
3441 w32notify when computing the directory to watch.
3442
3443 2013-11-27 Glenn Morris <rgm@gnu.org>
3444
3445 Make bootstrap without generated uni-*.el files possible again.
3446 * loadup.el: Update command-line-args checking for unidata-gen.
3447 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3448 * composite.el, international/characters.el:
3449 Handle unicode tables being undefined.
3450
3451 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3452 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3453 (compile-main): Depend on leim rule.
3454 (leim): New rule.
3455 * loadup.el: Move leim-list.el to leim/ subdirectory.
3456 * startup.el (normal-top-level): No more leim directory.
3457 * international/ja-dic-cnv.el (skkdic-convert):
3458 Disable version-control and autoloads in output files.
3459 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3460 Disable version-control and autoloads in output files.
3461 * leim/quail: Move here from ../leim.
3462 * leim/quail/hangul.el (hangul-input-method-activate):
3463 Add autoload cookie.
3464 (generated-autoload-load-name): Set file-local value.
3465 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3466 (generated-autoload-load-name): Set file-local value.
3467
3468 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3469
3470 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3471 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3472 (eww-quit): Ask confirmation before quitting eww.
3473
3474 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3475
3476 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3477 reading output from Diff on MS-Windows and MS-DOS.
3478
3479 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3480
3481 * emacs-lisp/helpers.el (string-reverse): New function.
3482
3483 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3484
3485 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3486 names on MS Windows, like "/[::1]:".
3487
3488 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3489 SWITCHES.
3490
3491 2013-11-26 Glenn Morris <rgm@gnu.org>
3492
3493 * progmodes/python.el (python-indent-guess-indent-offset):
3494 Avoid corner-case error. (Bug#15975)
3495
3496 Preload leim-list.el. (Bug#4789)
3497 * loadup.el: Load leim-list.el when found.
3498 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3499
3500 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3501
3502 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3503
3504 * emacs-lisp/helpers.el (string-join): New function.
3505
3506 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3507
3508 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3509 Mark as obsolete and replace it with a symbol property.
3510 (byte-compile-form): Use new 'interactive-only property.
3511 * comint.el, files.el, replace.el, simple.el:
3512 Apply new 'interactive-only properly.
3513
3514 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3515
3516 * window.el (display-buffer-at-bottom): Make sure that
3517 split-window-sensibly creates the new window on bottom
3518 (Bug#15961).
3519
3520 2013-11-23 David Kastrup <dak@gnu.org>
3521
3522 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3523 on the conflict markers when available.
3524 (smerge--get-marker): New function.
3525 (smerge-end-re, smerge-base-re): Add subgroup.
3526
3527 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * frame.el (handle-focus-in, handle-focus-out): Add missing
3530 interactive spec.
3531
3532 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3535 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3536
3537 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3540 (gomoku--last-pos): New var.
3541 (gomoku--intangible-chars): New const.
3542 (gomoku--intangible): New function.
3543 (gomoku-mode): Use it. Derive from special-mode.
3544 (gomoku-move-up): Adjust line count.
3545 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3546 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3547 Simplify accordingly.
3548
3549 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3550 Remove blink-cursor code.
3551 (blink-cursor-timer-function, blink-cursor-suspend):
3552 Don't special-case GUIs.
3553 (blink-cursor-mode): Use focus-in/out-hook.
3554
3555 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3556
3557 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3558 work when annotation is invisible (Bug#13886).
3559
3560 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3561
3562 * json.el (json-alist-p): Only return non-nil if the alist has
3563 simple keys (Bug#13518).
3564
3565 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3566
3567 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3568 when control-statement is the first statement in a buffer (Bug#15956).
3569
3570 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3571
3572 * imenu.el (imenu-generic-skip-comments-and-strings):
3573 New option (Bug#15560).
3574 (imenu--generic-function): Use it.
3575
3576 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3577
3578 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3579 (Bug#13898)
3580
3581 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3582
3583 * emacs-lisp/helpers.el: Add some string helpers.
3584 (string-trim-left): Removes leading whitespace.
3585 (string-trim-right): Removes trailing whitespace.
3586 (string-trim): Removes leading and trailing whitespace.
3587
3588 * subr.el (string-suffix-p): New function.
3589
3590 2013-11-23 Glenn Morris <rgm@gnu.org>
3591
3592 * progmodes/python.el (python-shell-send-file):
3593 Add option to delete file when done. (Bug#15647)
3594 (python-shell-send-string, python-shell-send-region): Use it.
3595
3596 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3597
3598 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3599 to set buffer-read-only to t, never to nil. (Bug#15938)
3600
3601 * textmodes/tex-mode.el (latex-noindent-environments):
3602 Add safe-local-variable property. (Bug#15936)
3603
3604 2013-11-23 Glenn Morris <rgm@gnu.org>
3605
3606 * textmodes/enriched.el (enriched-mode): Doc fix.
3607 * emacs-lisp/authors.el (authors-renamed-files-alist):
3608 Add enriched.doc -> enriched.txt.
3609
3610 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3611
3612 2013-11-22 Leo Liu <sdl.web@gmail.com>
3613
3614 * progmodes/octave.el (inferior-octave-startup): Spit out error
3615 message.
3616
3617 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3618
3619 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3620 Improve docstring.
3621 Add :version.
3622 (ruby-encoding-magic-comment-style): Add :version.
3623
3624 2013-11-22 Leo Liu <sdl.web@gmail.com>
3625
3626 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3627 (Bug#15076)
3628 (octave-help-mode): Adapt to change to help-mode-finish to use
3629 derived-mode-p on 2013-09-17.
3630 (inferior-octave-prompt): Also match octave-gui.
3631 (octave-kill-process): Don't ask twice. (Bug#10564)
3632
3633 2013-11-22 Leo Liu <sdl.web@gmail.com>
3634
3635 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3636 (inferior-octave-startup, inferior-octave-check-process)
3637 (inferior-octave-track-window-width-change)
3638 (octave-completion-at-point, octave-eldoc-function): Use it.
3639 (octave-kill-process): Provide confirmation. (Bug#10564)
3640
3641 2013-11-21 Leo Liu <sdl.web@gmail.com>
3642
3643 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3644 Fix obsolete variable comment-use-global-state.
3645
3646 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3647
3648 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3649 Add `octave-source-file'.
3650 (octave-source-file): New function. (Bug#15935)
3651
3652 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3653
3654 * net/eww.el (eww-local-regex): New variable.
3655 (eww): Use it to detect localhost and similar.
3656
3657 2013-11-21 Leo Liu <sdl.web@gmail.com>
3658
3659 Add completion for command `ag'.
3660 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3661 (pcomplete/ag): New function.
3662 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3663
3664 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3667 (bug#14646).
3668 (make-obsolete): Remove interactive spec.
3669
3670 2013-11-21 Glenn Morris <rgm@gnu.org>
3671
3672 * startup.el (command-line-1): Use path-separator with -L.
3673
3674 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3675
3676 * emacs-lisp/package.el (describe-package-1): Add package archive
3677 to shown fields.
3678
3679 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3680
3681 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3682 Change default to "# encoding: %s" to differentiate it from the
3683 default Ruby encoding comment template.
3684
3685 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3686
3687 * ses.el (ses-mode): Doc fix. (Bug#14748)
3688
3689 2013-11-20 Leo Liu <sdl.web@gmail.com>
3690
3691 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3692
3693 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3694
3695 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3696 when rebase or bisect are in progress.
3697
3698 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3699
3700 * filenotify.el (file-notify-add-watch): Doc fix.
3701
3702 2013-11-19 Leo Liu <sdl.web@gmail.com>
3703
3704 * obsolete/rcompile.el: Mark obsolete.
3705
3706 * progmodes/compile.el (compilation-start)
3707 (compilation-goto-locus, compilation-find-file):
3708 Pass no-display-ok and handle nil value from display-buffer.
3709 (Bug#13594)
3710
3711 * window.el (display-buffer-alist, display-buffer): Document the
3712 new parameter no-display-ok. Return either a window or nil
3713 but never a non-window value.
3714
3715 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * electric.el (electric-indent-mode-map): Remove.
3718 (electric-indent-mode): Change the global-map instead (bug#15915).
3719
3720 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3721 Use add-function.
3722
3723 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * emacs-lisp/nadvice.el (remove-function): Align with
3726 add-function's behavior.
3727
3728 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3729 (gdb--string-regexp): New constant.
3730 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3731 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3732 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3733 submatch 1.
3734 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3735 Adjust use accordingly.
3736 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3737
3738 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3739
3740 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3741 interpolation curlies (Bug#15914).
3742
3743 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3744
3745 * calc/calc.el (calc-context-sensitive-enter): New variable.
3746 (calc-enter): Use `calc-context-sensitive-enter'.
3747
3748 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3749
3750 * progmodes/cfengine.el: Version bump.
3751 (cfengine-cf-promises): New defcustom to locate cf-promises.
3752 (cfengine3-vartypes): Add new "data" type.
3753 (cfengine3--current-word): New function to get current name-like
3754 word or its bounds.
3755 (cfengine3--current-function): New function to look up a CFEngine
3756 function's definition.
3757 (cfengine3-format-function-docstring): New function.
3758 (cfengine3-make-syntax-cache): New function.
3759 (cfengine3-documentation-function): New function: ElDoc glue.
3760 (cfengine3-completion-function): New function: completion glue.
3761 (cfengine3-mode): Set `compile-command',
3762 `eldoc-documentation-function', and add to
3763 `completion-at-point-functions'.
3764
3765 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3766
3767 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3768 `tramp-current-connection'.
3769
3770 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3771
3772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3773 nil/self/true/false with "end of symbol".
3774
3775 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3776
3777 * subr.el (version-regexp-alist): Fix a typo.
3778
3779 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3780
3781 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3782 "en_US.utf8" and "LC_CTYPE" to "".
3783 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3784 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3785
3786 2013-11-15 Leo Liu <sdl.web@gmail.com>
3787
3788 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3789
3790 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * progmodes/gud.el (ctl-x-map):
3793 Remove C-x SPC binding. (Bug#12342)
3794 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3795
3796 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3797
3798 * subr.el (version-regexp-alist):
3799 Recognize hg, svn and darcs versions as snapshot versions.
3800
3801 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3802 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3803 (ruby--encoding-comment-required-p): Extract from
3804 `ruby-mode-set-encoding'.
3805 (ruby-mode-set-encoding): Add the ability to always insert an
3806 utf-8 encoding comment. Fix and simplify coding comment update
3807 logic.
3808
3809 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3810
3811 * net/tramp-gvfs.el (top): Run init code only when
3812 `tramp-gvfs-enabled' is not nil.
3813 (tramp-gvfs-enabled): Check also :system bus.
3814
3815 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 Sync with upstream verilog-mode revision 78e66ba.
3818 * progmodes/verilog-mode.el (verilog-end-of-defun)
3819 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3820 (verilog-get-end-of-defun): Remove unused argument.
3821 (verilog-comment-depth): Remove unused local `e'.
3822 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3823 Don't pass arg to verilog-get-end-of-defun.
3824
3825 2013-11-14 Glenn Morris <rgm@gnu.org>
3826
3827 * obsolete/assoc.el (aget): Prefix dynamic variable.
3828
3829 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3830
3831 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * widget.el, hfy-cmap.el: Remove bogus package version number.
3834
3835 2013-11-13 Glenn Morris <rgm@gnu.org>
3836
3837 * replace.el (replace-eval-replacement):
3838 Try to give more helpful error message. (Bug#15836)
3839
3840 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3841 (archive-7z-update): Avoid custom type mismatches.
3842
3843 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3844
3845 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3846
3847 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3848 address can be empty.
3849
3850 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3851 Accept nil SWITCHES.
3852 (tramp-gvfs-handle-write-region): Implement APPEND.
3853
3854 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3855
3856 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3857 binary "|" operator and closing block args delimiter.
3858 Remove FIXME comment referring to Ruby 1.8-only syntax.
3859 (ruby-smie--implicit-semi-p): Not after "|" operator.
3860 (ruby-smie--closing-pipe-p): New function.
3861 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3862 (ruby-smie-rules): Indent after "|".
3863
3864 2013-11-12 Glenn Morris <rgm@gnu.org>
3865
3866 * ps-print.el (ps-face-attribute-list):
3867 Handle anonymous faces. (Bug#15827)
3868
3869 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3870
3871 * window.el (display-buffer-other-frame): Fix doc-string.
3872 (Bug#15868)
3873
3874 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3877
3878 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3881 (tramp-sh-handle-file-local-copy): Don't write a message when
3882 saving temporary files.
3883
3884 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3885 both directories are remote.
3886 (tramp-smb-handle-directory-files): Do not return double entries.
3887 Do not expand full file names.
3888 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3889 (tramp-smb-handle-write-region): Implement APPEND.
3890 (tramp-smb-get-stat-capability): Fix a stupid bug.
3891
3892 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3895
3896 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3897
3898 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3899 throwing error over malformed let/let* (bug#15814).
3900
3901 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * iswitchb.el (iswitchb-mode): Mark obsolete.
3904
3905 2013-11-11 Glenn Morris <rgm@gnu.org>
3906
3907 * international/uni-bidi.el, international/uni-category.el:
3908 * international/uni-name.el, international/uni-numeric.el:
3909 Regenerate for Unicode 6.3.0.
3910
3911 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/tramp.el (tramp-methods):
3914 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3915 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3916
3917 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3918
3919 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3920 Force highlighting text after Summary keyword in doc face for rpm.
3921
3922 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3923
3924 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3925 available and the word has no wildcards, append one to the grep pattern.
3926 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3927 (ispell-complete-word): Call `ispell-lookup-words' with the value
3928 independent of `ispell-look-p'.
3929
3930 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3933 Not after "||".
3934 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3935 their parent.
3936
3937 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3940 (ruby-font-lock-keywords): Use backquote.
3941
3942 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3943
3944 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3945 (ruby-smie--backward-token): Only consider full-string matches.
3946
3947 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3948
3949 * faces.el (describe-face): Add distant-foreground.
3950
3951 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3952
3953 * progmodes/ruby-mode.el: Improve encoding comment handling.
3954 (ruby-encoding-magic-comment-style): New option.
3955 (ruby-custom-encoding-magic-comment-template): New option.
3956 (ruby--insert-coding-comment, ruby--detect-encoding):
3957 New functions extracted from `ruby-mode-set-encoding'.
3958 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3959 to control the style of the auto-inserted encoding comment.
3960
3961 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3964 Use `smie-backward-sexp' with token argument.
3965
3966 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3967
3968 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3969 Remove instrumentation code.
3970
3971 2013-11-08 Glenn Morris <rgm@gnu.org>
3972
3973 * progmodes/autoconf.el (autoconf-mode):
3974 Tweak comment-start-skip. (Bug#15822)
3975
3976 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3979 at bobp (bug#15826).
3980 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3981
3982 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3983
3984 * man.el (Man-start-calling): New macro, extracted from
3985 Man-getpage-in-background.
3986 (Man-getpage-in-background): Use it.
3987 (Man-update-manpage): New command.
3988 (Man-mode-map): Bind it.
3989
3990 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3991
3992 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3993 of "and", "or", "&&" and "||".
3994 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3995 argument. Prohibit opening curly brace because it could only be a
3996 block opener in that position.
3997 (ruby-smie--forward-token, ruby-smie--backward-token):
3998 Separate "|" from "&" or "*" going after it. That can happen in block
3999 arguments.
4000 (ruby-smie--indent-to-stmt): New function, seeks the end of
4001 previous statement or beginning of buffer.
4002 (ruby-smie-rules): Use it.
4003 (ruby-smie-rules): Check if there's a ":" before a curly block
4004 opener candidate; if there is, it's a hash.
4005
4006 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4009 (cl--block-wrapper): Fix last accidental change.
4010
4011 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4012
4013 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4014 Instrument, in order to hunt failure on hydra.
4015
4016 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4017
4018 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4019 malformed bindings form (bug#15814).
4020
4021 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4022
4023 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4024 "." compared to " @ ". This incidentally fixes some indentation
4025 examples with "do".
4026 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4027 (ruby-smie-grammar): New tokens: "and" and "or".
4028 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4029 Exclude "and" and "or". Remove "do" in order to work around token
4030 priorities.
4031 (ruby-smie-rules): Add all infix tokens. Handle the case of
4032 beginning-of-buffer.
4033
4034 2013-11-06 Glenn Morris <rgm@gnu.org>
4035
4036 * Makefile.in (setwins_almost, setwins_for_subdirs):
4037 Avoid accidental matches.
4038
4039 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * menu-bar.el (popup-menu): Use key-binding.
4042
4043 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4044
4045 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4046 menus, support also the menus produced by minor modes.
4047 (Bug#15817)
4048
4049 2013-11-06 Leo Liu <sdl.web@gmail.com>
4050
4051 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4052 DISTANCE to bound the search. All uses changed. (Bug#15808)
4053
4054 2013-11-06 Glenn Morris <rgm@gnu.org>
4055
4056 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4057 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4058 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4059
4060 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * electric.el (electric-indent-just-newline): New command.
4063 (electric-indent-mode-map): New keymap.
4064 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4065 Re-add :group which weren't redundant.
4066
4067 * electric.el (electric-indent-local-mode): New minor mode.
4068 (electric-indent-functions-without-reindent): New var.
4069 (electric-indent-post-self-insert-function): Use it.
4070 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4071
4072 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4073
4074 * international/quail.el (quail-help): Be more explicit about the
4075 meaning of the labels shown on the keys. (Bug#15800)
4076
4077 * startup.el (normal-top-level): Load the subdirs.el files before
4078 setting the locale environment. (Bug#15805)
4079
4080 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4083 via arguments so as to get the right ones (bug#15418).
4084
4085 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4086
4087 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4088
4089 Fix problems found while writing a test suite.
4090
4091 * net/tramp-compat.el (tramp-compat-load): New defun.
4092 * net/tramp.el (tramp-handle-load): Use it.
4093
4094 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4095 "(numberp ok-if-already-exists)" correctly.
4096
4097 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4098
4099 * international/characters.el (glyphless-char-display-control):
4100 Add usage note.
4101
4102 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4103
4104 * progmodes/python.el (python-mode):
4105 * progmodes/scheme.el (scheme-mode):
4106 * progmodes/prolog.el (prolog-mode):
4107 * progmodes/ruby-mode.el (ruby-mode):
4108 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4109 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4110
4111 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * rect.el (rectangle--highlight-for-redisplay):
4114 * emacs-lisp/smie.el (smie--next-indent-change):
4115 Use buffer-chars-modified-tick.
4116
4117 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4118
4119 * electric.el (electric-indent-post-self-insert-function):
4120 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4121
4122 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4123
4124 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4125
4126 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4127
4128 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4129 (bug#15786).
4130
4131 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4134
4135 * progmodes/python.el: Fix up last change.
4136 (python-shell--save-temp-file): New function.
4137 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4138 `string' comes from the current buffer.
4139 (python-shell-send-string-no-output): Remove `msg' arg.
4140 (python--use-fake-loc): New var.
4141 (python-shell-buffer-substring): Obey it. Try to compensate for the
4142 extra coding line added by python-shell--save-temp-file.
4143 (python-shell-send-region): Use python-shell--save-temp-file and
4144 python-shell-send-file directly. Add `nomain' argument.
4145 (python-shell-send-buffer): Use python-shell-send-region.
4146 (python-electric-pair-string-delimiter): New function.
4147 (python-mode): Use it.
4148
4149 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4150
4151 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4152 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4153 environment and decoding all of the default-directory's to here
4154 from command-line.
4155 (command-line): Decode also argv[0].
4156
4157 * loadup.el: Error out if default-directory is a multibyte string
4158 when we are dumping.
4159
4160 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4161
4162 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4163
4164 * emacs-lisp/package.el (package-menu-mode)
4165 (package-menu--print-info, package-menu--archive-predicate):
4166 Add Archive column to package list.
4167
4168 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4169
4170 Fix problems found while writing a test suite.
4171
4172 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4173 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4174 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4175 to nil when running original file name handler. Otherwise,
4176 there are problems with constructs like "$$FOO".
4177
4178 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4179 for `localname'.
4180
4181 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4182
4183 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4184
4185 * subr.el (version<, version<=, version=):
4186 Update docstrings with information for snapshot versions.
4187
4188 * helpers.el: New library for misc helper functions.
4189 (hash-table-keys): New function returning a list of hash keys.
4190 (hash-table-values): New function returning a list of hash values.
4191
4192 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4193
4194 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4195 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4196
4197 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4198
4199 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4200 checking whether point is after a 1-letter word.
4201
4202 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4203
4204 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4205 Don't infloop when expanding region over `multiline' syntax-type that
4206 begins a line (bug#15778).
4207
4208 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4211 Make it into a proper minor mode.
4212 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4213 (rectangle-mark-mode-map): New keymap.
4214 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4215
4216 2013-11-04 Glenn Morris <rgm@gnu.org>
4217
4218 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4219
4220 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4223 (ruby-smie-rules): Use smie-rule-parent instead.
4224
4225 * emacs-lisp/smie.el (smie-rule-parent): Always call
4226 smie-indent-virtual rather than only for hanging tokens.
4227 (smie--next-indent-change): New helper command.
4228
4229 2013-11-03 Glenn Morris <rgm@gnu.org>
4230
4231 * Makefile.in (abs_srcdir): Remove.
4232 (emacs): Unset EMACSLOADPATH.
4233
4234 2013-11-02 Glenn Morris <rgm@gnu.org>
4235
4236 * Makefile.in (EMACS): Use a relative filename.
4237 (abs_top_builddir): Remove.
4238 (custom-deps, finder-data, autoloads): Use --chdir.
4239
4240 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4241
4242 Use relative filenames in TAGS files.
4243 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4244 (lisptagsfiles4, TAGS): Use relative file names.
4245 (TAGS-LISP): Remove.
4246 (maintainer-clean): No more TAGS-LISP file.
4247
4248 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4249 (lisptagsfiles4): Use absolute filenames again.
4250 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4251 Remove all *loaddefs files, not just the first. Remove esh-groups.
4252 (maintainer-clean): Delete TAGS, TAGS-LISP.
4253
4254 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4255
4256 * emacs-lisp/package.el (package-version-join):
4257 Recognize snapshot versions.
4258
4259 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4260
4261 * subr.el (version-regexp-alist): Add support for snapshot versions.
4262
4263 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4264
4265 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4266 New function, replacement for `smie-rule-parent' for when we want to
4267 skip over our direct parent if it's an assignment token..
4268 (ruby-smie-rules): Use it.
4269
4270 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4271
4272 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4273 unconditionally. Remove now unnecessary forward declarations.
4274 Remove XEmacs-specific setup.
4275 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4276 (ruby-font-lock-syntactic-keywords)
4277 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4278 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4279 (ruby-here-doc-end-syntax): Remove.
4280 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4281 defined as function.
4282
4283 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4284
4285 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4286
4287 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4288
4289 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4290 table and abbrev table, `define-derived-mode' does that for us
4291 anyway.
4292
4293 2013-11-01 Glenn Morris <rgm@gnu.org>
4294
4295 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4296 files is atomic for some time, so no parallel compilation issues).
4297
4298 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4299
4300 * faces.el (face-x-resources): Add :distant-foreground.
4301 (region): Use :distant-foreground for gtk and ns.
4302
4303 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4304
4305 Allow multiple bibliographies when BibLaTeX is used rather than
4306 BibTeX.
4307 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4308 (reftex-locate-bibliography-files): Us it.
4309
4310 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4311
4312 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4313 allow comments in pbm files.
4314
4315 * term/w32-win.el (dynamic-library-alist): Support newer versions
4316 of libjpeg starting with v7: look only for the DLL from the
4317 version against which Emacs was built.
4318 Support versions of libpng beyond 1.4.x.
4319 Support libtiff v4.x.
4320
4321 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4322
4323 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4324 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4325 Add property :safe.
4326 (ruby-deep-arglist): Add property :type.
4327
4328 2013-10-31 Glenn Morris <rgm@gnu.org>
4329
4330 * Makefile.in (custom-deps, finder-data): No need to setq the target
4331 variables, we are in the right directory and the defaults work fine.
4332
4333 2013-10-30 Glenn Morris <rgm@gnu.org>
4334
4335 * Makefile.in (autoloads): Do not use abs_lisp.
4336
4337 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4338 `newline' does not respect `standard-output', so use `princ'.
4339
4340 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4341
4342 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4343 * buff-menu.el (Buffer-menu--unmark): New function.
4344 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4345
4346 2013-10-30 Glenn Morris <rgm@gnu.org>
4347
4348 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4349
4350 * emacs-lisp/package.el (lm-homepage): Declare.
4351
4352 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4353 Fix doc typos.
4354
4355 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4356
4357 * Makefile.in (finder-data, autoloads, update-subdirs)
4358 (compile-main, compile-clean, compile-always, bootstrap-clean):
4359 Check return value of cd.
4360 (compile-calc): Remove.
4361
4362 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4365
4366 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4367 (byte-compile-and-folded): New function.
4368 (=, <, >, <=, >=): Use it.
4369
4370 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4371 (path-separator, null-device, buffer-file-coding-system)
4372 (lpr-headers-switches): Check system-type before modifying them.
4373 (find-buffer-file-type-coding-system): Mark obsolete.
4374 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4375 find-file-not-found-set-buffer-file-coding-system.
4376 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4377 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4378 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4379 (w32-direct-print-region-helper, w32-direct-print-region-function)
4380 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4381 * startup.el (normal-top-level-add-subdirs-to-load-path):
4382 * ps-print.el (ps-print-region-function):
4383 * lpr.el (print-region-function): Use new name.
4384
4385 * subr.el (custom-declare-variable-early): Remove function.
4386 (custom-declare-variable-list): Remove var.
4387 (error, user-error): Remove `while' loop.
4388 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4389 (user-emacs-directory-warning, locate-user-emacs-file):
4390 Move to files.el.
4391 * simple.el (read-quoted-char-radix, read-quoted-char):
4392 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4393 Move from subr.el.
4394 * custom.el (custom-declare-variable-list): Don't process
4395 custom-declare-variable-list.
4396
4397 * progmodes/python.el (python-shell-get-buffer): New function.
4398 (python-shell-get-process): Use it.
4399 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4400 Python which encoding was used. Don't split-string since we only care
4401 about the first line. Return the temp-file, if applicable.
4402 (python-shell-send-region): Tell compile.el how to turn locations in
4403 the temp-file into locations in the source buffer.
4404
4405 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * subr.el (undefined): Add missing behavior from the C code for
4408 unbound keys.
4409
4410 * rect.el: Use lexical-binding. Add new rectangular region support.
4411 (rectangle-mark): New command.
4412 (rectangle--region): New var.
4413 (deactivate-mark-hook): Reset rectangle--region.
4414 (rectangle--extract-region, rectangle--insert-for-yank)
4415 (rectangle--highlight-for-redisplay)
4416 (rectangle--unhighlight-for-redisplay): New functions.
4417 (region-extract-function, redisplay-unhighlight-region-function)
4418 (redisplay-highlight-region-function): Use them to handle
4419 rectangular region.
4420 * simple.el (region-extract-function): New var.
4421 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4422 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4423 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4424 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4425 (redisplay-unhighlight-region-function)
4426 (redisplay-highlight-region-function): New vars.
4427 (redisplay--update-region-highlight): New function.
4428 (pre-redisplay-function): Use it.
4429 (exchange-point-and-mark): Don't deactivate the mark before
4430 reactivate-it anyway.
4431 * comint.el (comint-kill-region): Remove yank-handler argument.
4432 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4433 (delete-char): Remove property, since it's now part of their
4434 default behavior.
4435 (self-insert-iso): Remove property since this command doesn't exist.
4436
4437 * emacs-lisp/package.el (package--download-one-archive)
4438 (describe-package-1): Don't query the user about final newline.
4439
4440 2013-10-29 Daniel Colascione <dancol@dancol.org>
4441
4442 * net/tramp.el (tramp-methods): Document new functionality.
4443 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4444 tramp-hostname-checker if method provides one instead of scanning
4445 argument list for "%h" to decide hostname acceptability.
4446
4447 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4448
4449 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4450 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4451 Handle COPY-CONTENTS. (Bug#15737)
4452
4453 2013-10-28 Daiki Ueno <ueno@gnu.org>
4454
4455 * epa-file.el
4456 (epa-file-cache-passphrase-for-symmetric-encryption):
4457 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4458
4459 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4460
4461 * image.el (defimage):
4462 (image-load-path): Doc fixes.
4463
4464 2013-10-27 Alan Mackenzie <acm@muc.de>
4465
4466 Indent statements in macros following "##" correctly.
4467 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4468 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4469
4470 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4471
4472 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4473
4474 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4475
4476 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4477 after `=' is probably a new expression.
4478
4479 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4480
4481 * man.el (man-imenu-title): New option.
4482 (Man-mode-map): Add menu. (Bug#15722)
4483 (Man-mode): Add imenu to menu.
4484
4485 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4486
4487 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4488 specific in what the first arg can be: a non-keyword word,
4489 string/regexp/percent literal opener, opening paren, or unary
4490 operator followed directly by word.
4491
4492 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4495 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4496 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4497 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4498 Remove vars, they do not apply any more.
4499 (prolog-mode-abbrev-table): Remove redundant declaration.
4500 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4501 (prolog-use-smie): Remove.
4502 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4503 supported by prolog-electric-if-then-else-flag.
4504 (prolog-mode-variables, prolog-menu): Use setq-local.
4505 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4506 Remove binding to `Backspace' since this key doesn't exist anyway.
4507 Remove bindings for electric self-inserting keys.
4508 (prog-mode): Assume it's defined.
4509 (prolog-post-self-insert): New function.
4510 (prolog-mode): Use it.
4511 (prolog-indent-line, prolog-indent-level)
4512 (prolog-find-indent-of-matching-paren)
4513 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4514 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4515 (prolog-goto-next-paren, prolog-in-string-or-comment)
4516 (prolog-tokenize, prolog-inside-mline-comment)
4517 (prolog-find-start-of-mline-comment): Remove functions.
4518 (prolog-find-unmatched-paren, prolog-clause-end)
4519 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4520 (prolog-electric--if-then-else): Rename from
4521 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4522 (prolog-tokenize-searchkey): Remove const.
4523 (prolog-clause-info): Use forward-sexp.
4524 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4525 (prolog-electric-if-then-else): Remove commands.
4526 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4527 for use in post-self-insert-hook.
4528 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4529 for use in post-self-insert-hook.
4530 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4531 for use in post-self-insert-hook.
4532 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4533 adapt it for use in post-self-insert-hook.
4534
4535 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * emacs-lisp/ert.el (ert-run-tests-interactively):
4538 Use `completing-read'. (Bug#9756)
4539
4540 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4541
4542 * simple.el (line-move): Call line-move-1 instead of
4543 line-move-visual when the current window hscroll is zero, but
4544 temporary-goal-column indicates we will need to hscroll as result
4545 of the movement. (Bug#15712)
4546
4547 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4548
4549 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4550 capitalization. Use :visible instead of :active.
4551 Fix `ruby-indent-exp' reference. Add menu items for the generic
4552 commands that are used with SMIE.
4553 (ruby-do-end-to-brace): Insert space after `{'.
4554
4555 2013-10-25 John Anthony <john@jo.hnanthony.com>
4556
4557 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4558
4559 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4560
4561 2013-10-25 Glenn Morris <rgm@gnu.org>
4562
4563 * vc/vc.el (vc-print-log): Don't use a working revision unless
4564 one was explicitly specified. (Bug#15322)
4565
4566 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * subr.el (add-to-list): Preserve return value in compiler-macro
4569 (bug#15692).
4570
4571 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4572
4573 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4574 result. Ask user to retry using '-all' flag. (Bug#15701)
4575
4576 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * emacs-lisp/smie.el: New smie-config system.
4579 (smie-config): New defcustom.
4580 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4581 (smie-config-guess, smie-config-save): New commands.
4582 (smie-config--mode-local, smie-config--buffer-local)
4583 (smie-config--trace, smie-config--modefuns): New vars.
4584 (smie-config--advice, smie-config--mode-hook)
4585 (smie-config--setter, smie-config-local, smie-config--get-trace)
4586 (smie-config--guess-value, smie-config--guess): New functions.
4587 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4588 text properties. Treat "string fence" syntax like string syntax.
4589
4590 * progmodes/sh-script.el (sh-use-smie): Change default.
4591 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4592 (sh-var-value): Simplify by CSE.
4593 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4594 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4595 is used.
4596 (sh-guess-basic-offset): Use cl-incf.
4597 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4598
4599 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4600
4601 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4602 (bug#15699).
4603
4604 2013-10-24 Glenn Morris <rgm@gnu.org>
4605
4606 * Makefile.in (abs_top_srcdir): Remove.
4607 (update-subdirs): Use relative path to update-subdirs.
4608
4609 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4610
4611 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4612 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4613 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4614 Call unmsys--file-name before expand-file-name, not after it.
4615
4616 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4617
4618 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4619 (ert-test-skipped): New error.
4620 (ert-skip, ert-stats-skipped): New defuns.
4621 (ert--skip-unless): New macro.
4622 (ert-test-skipped): New struct.
4623 (ert--run-test-debugger, ert-test-result-type-p)
4624 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4625 (ert--stats-set-test-and-result, ert-char-for-test-result)
4626 (ert-string-for-test-result, ert-run-tests-batch)
4627 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4628 Handle skipped tests. (Bug#9803)
4629
4630 2013-10-24 Glenn Morris <rgm@gnu.org>
4631
4632 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4633
4634 * Makefile.in (abs_top_srcdir): New, set by configure.
4635 (update-subdirs): Correct build-aux location.
4636
4637 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4638
4639 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4640 value, whether we could auto-deduce `backend', or not.
4641
4642 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4643 with parameters" example. Simplify the "is it block or is it
4644 hash" check, but also make it more thorough.
4645
4646 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4647
4648 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4649
4650 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4653 { if it is hanging.
4654
4655 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4656 :before ";".
4657
4658 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4659
4660 * progmodes/compile.el (compilation-directory-matcher)
4661 (compilation-page-delimiter):
4662 Support GNU Make-4.0 directory quoting. (Bug#15678)
4663
4664 2013-10-23 Leo Liu <sdl.web@gmail.com>
4665
4666 * ido.el (ido-tidy): Handle read-only text.
4667
4668 2013-10-23 Glenn Morris <rgm@gnu.org>
4669
4670 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4671 (emacs, compile, compile-always):
4672 Quote entities that might contain whitespace.
4673 (custom-deps, finder-data, autoloads): Use abs_lisp.
4674 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4675 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4676 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4677
4678 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4679
4680 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4681 Use `following-char'.
4682
4683 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4686 * progmodes/ruby-mode.el (ruby-smie-rules):
4687 Remove corresponding workaround. Fix indentation rule of ";" so it
4688 also applies when ";" is the parent.
4689
4690 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4691
4692 * frame.el (display-screens, display-pixel-height)
4693 (display-pixel-width, display-mm-width, display-backing-store)
4694 (display-save-under, display-planes, display-color-cells)
4695 (display-visual-class, display-monitor-attributes-list):
4696 Mention the optional ‘display’ argument in doc strings.
4697
4698 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4699
4700 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4701 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4702
4703 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4704
4705 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4706 TODO. Add "." after " @ ".
4707 (ruby-smie--at-dot-call): New function. Checks if point at method
4708 call with explicit target.
4709 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4710 to the method name tokens when it precedes them.
4711 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4712 (ruby-smie-rules): Add rule for indentation before and after "."
4713 token.
4714
4715 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * textmodes/remember.el (remember-diary-extract-entries):
4718 Avoid add-to-list.
4719
4720 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4721 an instruction.
4722
4723 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4724
4725 * progmodes/ruby-mode.el (ruby-smie-grammar):
4726 Add (almost) all infix operators.
4727 (ruby-smie--implicit-semi-p): Add new operator chars.
4728
4729 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4730 `smie-down-list'.
4731 (ruby-smie--args-separator-p): Check that there's no newline
4732 between method call and its arguments.
4733
4734 2013-10-20 Alan Mackenzie <acm@muc.de>
4735
4736 Allow comma separated lists after Java "implements".
4737
4738 * progmodes/cc-engine.el (c-backward-over-enum-header):
4739 Parse commas.
4740 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4741 from a "disallowed" list in enum fontification.
4742
4743 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4744
4745 * startup.el (default-frame-background-mode): Remove unused defvar.
4746
4747 * progmodes/verilog-mode.el (verilog-mode): Don't set
4748 comment-indent-function globally.
4749
4750 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4751
4752 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4753 Move Info menu item creation to ns-win.el.
4754
4755 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4756 in menu bar.
4757
4758 * menu-bar.el: Move GNUstep specific menus...
4759
4760 * term/ns-win.el (ns-initialize-window-system): ... to here.
4761
4762 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * simple.el (newline): Only run post-self-insert-hook when
4765 called interactively.
4766
4767 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4768
4769 * icomplete.el (icomplete-with-completion-tables): Add :version.
4770
4771 2013-10-19 Alan Mackenzie <acm@muc.de>
4772
4773 Fix fontification bugs with constructors and const.
4774
4775 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4776 CASE 2) Remove the check for the absence of a suffix construct
4777 after a function declaration with only types (no identifiers) in
4778 the parentheses. Also, accept a function declaration with just a
4779 type inside the parentheses, if this type can be positively
4780 recognised as such, or if a prefix keyword like "explicit" nails
4781 down the construct as a declaration.
4782
4783 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4784
4785 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4786 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4787 the problem whereby selecting a menu item that leads to a
4788 minibuffer prompt moves the cursor out of the minibuffer window,
4789 making it hard to type at the prompt. Suggested by Stefan Monnier
4790 <monnier@iro.umontreal.ca>.
4791
4792 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4793
4794 * menu-bar.el: Don't make Services menu.
4795
4796 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4797
4798 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4799 (ffap-alist): Use ffap-c++-mode for c++-mode.
4800 (ffap-c++-path): New variable.
4801 (ffap-c++-mode): New function.
4802
4803 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4804
4805 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4806
4807 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4808
4809 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4810 introduced on 2013-09-08, which results in an infinite loop
4811 requesting a password.
4812
4813 2013-10-18 Glenn Morris <rgm@gnu.org>
4814
4815 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4816
4817 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4818
4819 Sync with upstream verilog-mode revision 1a6ecec7.
4820 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4821 (verilog-mode-release-date): Remove.
4822 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4823 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4824 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4825 (verilog-auto-tieoff-ignore-regexp)
4826 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4827 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4828 (verilog-signals-with, verilog-dir-cache-preserving)
4829 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4830 Doc fixes.
4831 (verilog-case-fold): New option, to control case folding in
4832 regexp searches, bug597.
4833 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4834 (verilog-string-match-fold, verilog-in-paren-count)
4835 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4836 (verilog-at-close-struct-p): New functions.
4837 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4838 (verilog-forward-sexp, verilog-set-auto-endcomments):
4839 (verilog-leap-to-case-head): Handle "unique0" case.
4840 (verilog-in-constraint-re): New constant.
4841 (verilog-keywords, verilog-type-font-keywords):
4842 Add some SystemVerilog 1800-2012 keywords.
4843 (verilog-label-be): Remove unimplemented argument, bug669.
4844 (verilog-batch-execute-func): When batch expanding clear
4845 create-lockfiles to prevent spurious user locks when a file ends
4846 up not changing.
4847 (verilog-calculate-indent, verilog-calc-1)
4848 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4849 (verilog-do-indent): Fix indentation of nested constraints
4850 and structures.
4851 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4852 (verilog-auto-inst-param): Use verilog-string-match-fold.
4853 (verilog-read-inst-module-matcher):
4854 Fix AUTOINST on gate primitives with #1.
4855 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4856 Reads all user-defined typed variables.
4857 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4858 (verilog-signals-matching-regexp)
4859 (verilog-signals-not-matching-regexp, verilog-auto):
4860 Respect verilog-case-fold.
4861 (verilog-diff-report): Fix line count.
4862 (verilog-auto-assign-modport): Remove unused local `modi'.
4863 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4864 better handle multidimensional arrays.
4865 Fix packed array ports misadding bit index in AUTOINST, bug637.
4866 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4867 to not double-declare existing outputs and inputs, respectively.
4868 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4869 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4870 (verilog-sk-uvm-component): New skeleton.
4871 (verilog-submit-bug-report): Add verilog-case-fold,
4872 remove verilog-mode-release-date.
4873
4874 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4875
4876 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4877 as before.
4878
4879 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4880
4881 * textmodes/remember.el (remember): Set buffer-offer-save in
4882 remember buffers (bug#13566).
4883
4884 2013-10-18 Daniel Colascione <dancol@dancol.org>
4885
4886 When evaluating forms in ielm, direct standard output to ielm
4887 buffer. Add new ielm-return-for-effect command. Remove trailing
4888 whitespace throughout.
4889
4890 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4891 (ielm-return-for-effect): New command.
4892 (ielm-send-input): Accept optional `for-effect' parameter.
4893 (ielm-eval-input): Accept optional `for-effect' parameter.
4894 Bind `standard-output' to stream we create using
4895 `ielm-standard-output-impl'. Suppress printing result when
4896 `for-effect'.
4897 (ielm-standard-output-impl): New function.
4898 (inferior-emacs-lisp-mode): Explain new features in documentation.
4899
4900 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4901
4902 Code cleanup.
4903
4904 * net/tramp.el (tramp-debug-message): Do not check for connection
4905 buffer.
4906 (tramp-message): Use "vector" connection property.
4907
4908 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4909 (tramp-equal-remote, tramp-eshell-directory-change)
4910 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4911 (tramp-adb-handle-rename-file)
4912 * net/tramp-cmds.el (tramp-list-remote-buffers)
4913 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4914 * net/tramp-compat.el (tramp-compat-process-running-p)
4915 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4916 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4917 (tramp-gvfs-handle-rename-file)
4918 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4919 (tramp-set-file-uid-gid)
4920 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4921 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4922 of `file-remote-p'.
4923
4924 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4925 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4926 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4927 (tramp-gw-open-network-stream): Suppress unrelated traces.
4928
4929 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4930 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4931 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4932 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4933 connection property.
4934
4935 * net/tramp-cache.el (top): Suppress traces when reading
4936 persistency file.
4937
4938 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4939 Refactor common code. Improve debug message.
4940 (tramp-maybe-open-connection)
4941 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4942 connection buffer too early.
4943
4944 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4945 from `tramp-smb-actions-with-acl'.
4946 (tramp-smb-actions-set-acl): New defconst.
4947 (tramp-smb-handle-copy-directory)
4948 (tramp-smb-action-get-acl): New defun, renamed from
4949 `tramp-smb-action-with-acl'.
4950 (tramp-smb-action-set-acl): New defun.
4951 (tramp-smb-handle-set-file-acl): Rewrite.
4952
4953 2013-10-17 Glenn Morris <rgm@gnu.org>
4954
4955 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4956
4957 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * skeleton.el (skeleton-newline): Remove.
4960 (skeleton-internal-1): Use (insert "\n") instead.
4961
4962 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4963 let-bindings.
4964
4965 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4966 forward-sexp-function while we redo its job (bug#15613).
4967
4968 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4969
4970 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4971 represented by lists.
4972
4973 2013-10-16 Glenn Morris <rgm@gnu.org>
4974
4975 * tmm.el (tmm--history): New dynamic variable.
4976 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4977
4978 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4979
4980 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4981 (tramp-smb-errors): Add error messages.
4982 (tramp-smb-actions-with-acl): New defconst.
4983 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4984 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4985 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4986 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4987 (tramp-smb-get-stat-capability): Fix tests.
4988
4989 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4990
4991 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4992 (bug#15580).
4993
4994 2013-10-16 Glenn Morris <rgm@gnu.org>
4995
4996 * ansi-color.el (ansi-color-drop-regexp):
4997 Add 1J, 1K, 2K. (Bug#15617)
4998
4999 * files.el (hack-local-variables--warned-lexical): New.
5000 (hack-local-variables):
5001 Warn about misplaced lexical-binding. (Bug#15616)
5002
5003 * net/eww.el (eww-render): Always set eww-current-url,
5004 and update header line. (Bug#15622)
5005 (eww-display-html): ... Rather than just doing it here.
5006
5007 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5008
5009 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5010 menu navigations commands.
5011
5012 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5013
5014 * progmodes/subword.el (subword-capitalize): Be careful when
5015 the search for [[:alpha:]] fails (bug#15580).
5016
5017 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5018
5019 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5020 to commands that scroll the menu.
5021
5022 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5023
5024 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5025 Handle methods ending with `?' and `!'.
5026
5027 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5028
5029 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5030 `japanese-cp932' to `cp932' to fix the problem where saving a
5031 source file written in Shift_JIS twice would end up having
5032 `coding: japanese-cp932' which Ruby could not recognize.
5033 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5034 in `ruby-encoding-map'.
5035 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5036 doesn't need to be explicitly declared in magic comment.
5037 (ruby-encoding-map): Add type declaration for better customize UI.
5038
5039 2013-10-13 Glenn Morris <rgm@gnu.org>
5040
5041 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5042 Occur buffers are read-only. http://bugs.debian.org/720775
5043
5044 * emacs-lisp/authors.el (authors-fixed-entries):
5045 Comment out old alpha stuff.
5046
5047 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5050 to `after-save-hook' instead of `before-save-hook'.
5051 (ruby-mode-set-encoding): Use the value of coding system used to
5052 write the file. Call `basic-save-buffer-1' after modifying the
5053 buffer.
5054
5055 2013-10-13 Alan Mackenzie <acm@muc.de>
5056
5057 Fix indentation/fontification of Java enum with
5058 "implements"/generic.
5059
5060 * progmodes/cc-engine.el (c-backward-over-enum-header):
5061 Extracted from the three other places and enhanced to handle generics.
5062 (c-inside-bracelist-p): Uses new function above.
5063 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5064 function above.
5065 (c-font-lock-enum-tail): Uses new function above.
5066
5067 2013-10-13 Kenichi Handa <handa@gnu.org>
5068
5069 * international/mule-cmds.el (select-safe-coding-system): Remove a
5070 superfluous condition in chekcing whether a coding system is safe
5071 or not.
5072
5073 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5074
5075 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5076
5077 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5078
5079 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5080
5081 2013-10-13 Glenn Morris <rgm@gnu.org>
5082
5083 * menu-bar.el (menu-bar-update-buffers):
5084 Unify Buffers menu prompt string. (Bug#15576)
5085
5086 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5087
5088 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5089 Add some entries.
5090 (authors-fixed-entries): Use accented form of name.
5091
5092 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5095 method calls (bug#15594).
5096 (ruby-smie--args-separator-p): New function.
5097 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5098 recognize paren-free method calls.
5099
5100 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5101 internals of universal-argument.
5102
5103 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5104
5105 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5106 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5107 dropped menu on second mouse click on the menu bar.
5108
5109 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5112 (explicit-shell-file-name): Declare.
5113 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5114 (sh-completion-at-point-function): New function.
5115 (sh-mode): Use it.
5116 (sh-smie--keyword-p): Remove unused argument.
5117 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5118 vars.
5119 (sh-set-shell): Always setup SMIE, even if we use the
5120 old indentation code.
5121
5122 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5123
5124 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5125 cases of ? and =.
5126 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5127 predicate would return nil are almost non-existent.
5128 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5129
5130 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5131 cache also after commands that modify the buffer but don't move
5132 point.
5133
5134 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * env.el (substitute-env-in-file-name): New function.
5137 (substitute-env-vars): Extend the meaning of the optional arg.
5138
5139 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5140
5141 * term/w32-win.el (dynamic-library-alist): Define separate lists
5142 of GIF DLLs for versions before and after 5.0.0 of giflib.
5143 (Bug#15531)
5144
5145 2013-10-10 João Távora <joaotavora@gmail.com>
5146
5147 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5148 not locked, use last revision and current source as
5149 defaults. (Bug#15569)
5150
5151 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5152
5153 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5154 menu-bar is hidden.
5155
5156 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5157
5158 * window.el (pop-to-buffer-same-window): Fix doc-string.
5159 (Bug#15492)
5160
5161 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5164
5165 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5166
5167 * calendar/icalendar.el (icalendar-import-file):
5168 Fix interactive spec. (Bug#15482)
5169
5170 2013-10-10 Glenn Morris <rgm@gnu.org>
5171
5172 * desktop.el (desktop-save): Default to saving in .emacs.d,
5173 since PWD is no longer in desktop-path by default. (Bug#15319)
5174
5175 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5176 now that text mode has a menu with the same entry.
5177 (menu-bar-text-mode-auto-fill): Remove now unused func.
5178 * textmodes/text-mode.el (text-mode-map):
5179 Use auto-fill help text from menu-bar.el.
5180
5181 2013-10-10 John Anthony <john@jo.hnanthony.com>
5182
5183 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5184
5185 2013-10-09 Juri Linkov <juri@jurta.org>
5186
5187 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5188 instead of this-command-keys. Add universal-argument-more and
5189 universal-argument-minus to the list of prefix commands. (Bug#15568)
5190
5191 2013-10-09 Glenn Morris <rgm@gnu.org>
5192
5193 * vc/vc-svn.el (vc-svn-create-repo):
5194 Expand paths in file://... url. (Bug#15446)
5195
5196 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5197 Add some entries.
5198 (authors): Remove unused local variables.
5199
5200 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * profiler.el: Create a more coherent calltree from partial backtraces.
5203 (profiler-format): Hide the tail with `invisible' so that C-s can still
5204 find the hidden elements.
5205 (profiler-calltree-depth): Don't recurse so enthusiastically.
5206 (profiler-function-equal): New hash-table-test.
5207 (profiler-calltree-build-unified): New function.
5208 (profiler-calltree-build): Use it.
5209 (profiler-report-make-name-part): Indent the calltree less.
5210 (profiler-report-mode): Add visibility specs for profiler-format.
5211 (profiler-report-expand-entry, profiler-report-toggle-entry):
5212 Expand the whole subtree when provided with a prefix arg.
5213
5214 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5215
5216 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5217 iuwu-mod token.
5218 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5219 hanging iuwu-mod token.
5220 (ruby-smie--forward-token): Do not include a dot after a token in
5221 that token.
5222 (ruby-smie--backward-token): Likewise.
5223
5224 2013-10-08 Juri Linkov <juri@jurta.org>
5225
5226 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5227 to isearch-other-control-char.
5228 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5229 and isearch-post-command-hook to post-command-hook.
5230 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5231 and isearch-post-command-hook from post-command-hook.
5232 (isearch-unread-key-sequence)
5233 (isearch-reread-key-sequence-naturally)
5234 (isearch-lookup-scroll-key, isearch-other-control-char)
5235 (isearch-other-meta-char): Remove functions.
5236 (isearch-pre-command-hook, isearch-post-command-hook):
5237 New functions based on isearch-other-meta-char rewritten
5238 relying on the new behavior of overriding-terminal-local-map
5239 that does not replace the local keymaps any more. (Bug#15200)
5240
5241 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5242
5243 Support menus on text-mode terminals.
5244 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5245 functionality.
5246
5247 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5248
5249 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5250 Move here from mouse.el.
5251 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5252 and arrow keys.
5253 (tty-menu-navigation-map): New map for TTY menu navigation.
5254
5255 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5256
5257 * frame.el (display-mouse-p): Report text-mode mouse as available
5258 on w32.
5259 (display-popup-menus-p): Report availability if mouse is
5260 available; don't condition on window-system.
5261
5262 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5263 (tty-menu-selected-face): New faces.
5264
5265 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5268 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5269 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5270 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5271 New constants.
5272 (lisp-mode-variables): New `elisp' argument.
5273 (emacs-lisp-mode): Use it.
5274 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5275 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5276
5277 * indent.el: Use lexical-binding.
5278 (indent-region): Add progress reporter.
5279 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5280 last step.
5281 (indent--next-tab-stop): New function to implement this behavior.
5282 (tab-to-tab-stop, move-to-tab-stop): Use it.
5283
5284 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5285
5286 * indent.el (indent-rigidly--current-indentation): New function.
5287 (indent-rigidly-map): New var.
5288 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5289
5290 2013-10-08 Bastien Guerry <bzg@gnu.org>
5291
5292 * register.el (insert-register): Fix 2013-10-07 change.
5293
5294 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * progmodes/perl-mode.el: Use lexical-binding.
5297 Remove redundant :group args.
5298 (perl-nochange): Change default to be closer to other major modes's
5299 standard behavior.
5300 (perl-indent-line): Don't consider text on current line as a
5301 valid beginning of function from which to indent.
5302
5303 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5304 with more than one argument (bug#15538).
5305
5306 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5307
5308 * vc/pcvs.el: Use lexical-binding.
5309 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5310 environment of `eval'.
5311 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5312 than a list of expressions. Adjust callers.
5313 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5314
5315 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5316
5317 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5318 case of the dot in a chained method call being on the following line.
5319
5320 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 * electric.el (electric-indent-inhibit): New var.
5323 (electric-indent-post-self-insert-function): Use it.
5324 * progmodes/python.el (python-mode): Set it.
5325
5326 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5327 open braces.
5328
5329 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5330
5331 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5332 (css-mode): Use electric-indent-chars.
5333
5334 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5335 (font-lock-beg, font-lock-end): Move before first use.
5336 (nxml-mode): Use syntax-propertize-function.
5337 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5338 (nxml-extend-after-change-region): Remove.
5339 * nxml/xmltok.el: Use lexical-binding.
5340 (xmltok-save): Use `declare'.
5341 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5342 * nxml/nxml-util.el: Use lexical-binding.
5343 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5344 Use `declare'.
5345 * nxml/nxml-ns.el: Use lexical-binding.
5346 (nxml-ns-save): Use `declare'.
5347 (nxml-ns-prefixes-for): Avoid add-to-list.
5348 * nxml/rng-match.el: Use lexical-binding.
5349 (rng--ipattern): Use cl-defstruct.
5350 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5351 (rng-cons-group-after, rng-subst-group-after)
5352 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5353 Use closures instead of `(lambda...).
5354
5355 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5356
5357 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5358 of BEG and END.
5359
5360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5361 Use `tramp-handle-insert-file-contents'.
5362 (tramp-gvfs-handle-insert-file-contents): Remove function.
5363
5364 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5365 Use `save-restriction' in order to keep markers.
5366
5367 * net/trampver.el: Update release number.
5368
5369 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * progmodes/compile.el (compilation-parse-errors):
5372 Use compilation--put-prop.
5373 (compilation--ensure-parse): Check compilation-multiline.
5374
5375 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5376
5377 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5378 lexical-binding.
5379
5380 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5381
5382 * progmodes/ruby-mode.el: Fix recently added tests.
5383 (ruby-smie-grammar): Add - and +.
5384 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5385 (ruby-smie--backward-id): New functions.
5386 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5387 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5388 any more.
5389
5390 2013-10-07 Leo Liu <sdl.web@gmail.com>
5391
5392 * register.el (register-preview-delay)
5393 (register-preview-functions): New variables.
5394 (register-read-with-preview, register-preview)
5395 (register-describe-oneline): New functions.
5396 (point-to-register, window-configuration-to-register)
5397 (frame-configuration-to-register, jump-to-register)
5398 (number-to-register, view-register, insert-register)
5399 (copy-to-register, append-to-register, prepend-to-register)
5400 (copy-rectangle-to-register): Use register-read-with-preview to
5401 read register. (Bug#15525)
5402
5403 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5404
5405 * net/network-stream.el (network-stream-open-starttls): Don't add
5406 --insecure if it's already present, because that gnutls-cli
5407 rejects getting that parameter twice.
5408
5409 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5410
5411 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5412 keyword, too.
5413
5414 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5415
5416 * newcomment.el (comment-use-global-state): Change default value
5417 to t, mark obsolete (Bug#15251).
5418 (comment-beginning): In addition to `comment-to-syntax', check the
5419 value of `comment-use-global-state'.
5420
5421 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5424 (ruby-comment-column): Follow the global default, by default.
5425 (ruby-smie-grammar): Add assignment syntax.
5426 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5427 open-paren, a comma, or a \.
5428 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5429 and line continuations.
5430 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5431 followed by implicit semi-colons. Add rule for string concatenation
5432 and for indentation at BOB.
5433 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5434
5435 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5436 calling next-sexp, since next-token may have skipped chars which
5437 next-sexp doesn't know should be skipped!
5438
5439 2013-10-05 Leo Liu <sdl.web@gmail.com>
5440
5441 * progmodes/octave.el (octave-send-region):
5442 Call compilation-forget-errors.
5443
5444 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5445
5446 * vc/vc-svn.el (vc-svn-find-admin-dir):
5447 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5448 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5449 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5450 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5451
5452 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5455
5456 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * subr.el (read-passwd): Hide chars even when called within a context
5459 where after-change-functions is disabled (bug#15501).
5460 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5461 until we removed ourself from overriding-terminal-local-map.
5462
5463 2013-10-04 Leo Liu <sdl.web@gmail.com>
5464
5465 * progmodes/octave.el (inferior-octave-mode):
5466 Call compilation-forget-errors.
5467
5468 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5469
5470 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5471
5472 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5473
5474 * net/secrets.el (secrets-create-collection): Add optional
5475 argument ALIAS. Use proper Label keyword. Append ALIAS as
5476 dbus-call-method argument. (Bug#15516)
5477
5478 2013-10-04 Leo Liu <sdl.web@gmail.com>
5479
5480 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5481 (inferior-octave-compilation-font-lock-keywords): New variables.
5482 (compilation-error-regexp-alist)
5483 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5484 (inferior-octave-mode): Use compilation-shell-minor-mode.
5485
5486 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5487
5488 * minibuffer.el (completion--replace): Be careful that `end' might be
5489 a marker.
5490
5491 2013-10-03 Daiki Ueno <ueno@gnu.org>
5492
5493 Add support for package signature checking.
5494 * emacs-lisp/package.el (url-http-file-exists-p)
5495 (epg-make-context, epg-context-set-home-directory)
5496 (epg-verify-string, epg-context-result-for)
5497 (epg-signature-status, epg-signature-to-string)
5498 (epg-check-configuration, epg-configuration)
5499 (epg-import-keys-from-file): Declare.
5500 (package-check-signature): New user option.
5501 (package-unsigned-archives): New user option.
5502 (package-desc): Add `signed' field.
5503 (package-load-descriptor): Set `signed' field if .signed file exists.
5504 (package--archive-file-exists-p): New function.
5505 (package--check-signature): New function.
5506 (package-install-from-archive): Check package signature.
5507 (package--download-one-archive): Check archive signature.
5508 (package-delete): Remove .signed file.
5509 (package-import-keyring): New command.
5510 (package-refresh-contents): Import default keyring.
5511 (package-desc-status): Add "unsigned" status.
5512 (describe-package-1, package-menu--print-info)
5513 (package-menu-mark-delete, package-menu--find-upgrades)
5514 (package-menu--status-predicate): Support "unsigned" status.
5515
5516 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5519 the new compilation scheme using the new byte-codes.
5520
5521 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5522 (byte-pophandler): New byte codes.
5523 (byte-goto-ops): Adjust accordingly.
5524 (byte-compile--use-old-handlers): New var.
5525 (byte-compile-catch): Use new byte codes depending on
5526 byte-compile--use-old-handlers.
5527 (byte-compile-condition-case--old): Rename from
5528 byte-compile-condition-case.
5529 (byte-compile-condition-case--new): New function.
5530 (byte-compile-condition-case): New function that dispatches depending
5531 on byte-compile--use-old-handlers.
5532 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5533 when we can.
5534
5535 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5536 Optimize under `condition-case' and `catch' if
5537 byte-compile--use-old-handlers is nil.
5538 (disassemble-offset): Handle new bytecodes.
5539
5540 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * subr.el (error): Use `declare'.
5543 (decode-char, encode-char): Use advertised-calling-convention instead
5544 of the docstring to discourage use of the `restriction' arg.
5545
5546 2013-10-03 Daiki Ueno <ueno@gnu.org>
5547
5548 * epg.el (epg-verify-file): Add a comment saying that it does not
5549 notify verification error as a return value nor a signal.
5550 (epg-verify-string): Ditto.
5551
5552 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5553
5554 * progmodes/compile.el (compilation-start): Try globbing the arg to
5555 `cd' (bug#15417).
5556
5557 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5558
5559 Sync with Tramp 2.2.8.
5560
5561 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5562 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5563 * net/trampver.el: Update release number.
5564
5565 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5566
5567 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5568 and default-process-coding-system for darwin only.
5569
5570 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5573
5574 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5575
5576 * vc/vc-git.el (vc-git-grep): Disable pager.
5577
5578 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5579
5580 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5581 Use :url instead of :homepage, as per
5582 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5583
5584 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5585 non-nil, use `syntax-ppss' (Bug#15251).
5586
5587 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5588
5589 * progmodes/octave.el (inferior-octave-startup-file):
5590 Prefer ~/.emacs.d/init_octave.m.
5591
5592 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5593
5594 * emacs-lisp/package.el (package-desc-from-define):
5595 Accept additional arguments as plist, convert them to an alist and store
5596 them in the `extras' slot.
5597 (package-generate-description-file): Convert extras alist back to
5598 plist and append to the `define-package' form arguments.
5599 (package--alist-to-plist): New function.
5600 (package--ac-desc): Add `extras' slot.
5601 (package--add-to-archive-contents): Check if the archive-contents
5602 vector is long enough, and if it is, pass its `extras' slot value
5603 to `package-desc-create'.
5604 (package-buffer-info): Call `lm-homepage', pass the returned value
5605 to `package-desc-from-define'.
5606 (describe-package-1): Render the homepage button (Bug#13291).
5607
5608 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5609 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5610
5611 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5612
5613 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5614 and default-process-coding-system to utf-8-unix (Bug#15402).
5615
5616 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5617
5618 * subr.el (looking-back): Do not recommend using looking-back.
5619
5620 2013-09-28 Alan Mackenzie <acm@muc.de>
5621
5622 Fix indentation/fontification of Java enum with "implements".
5623
5624 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5625 regexp which matches "implements", etc., in Java.
5626 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5627 specifier clauses coming after "enum".
5628 * progmodes/cc-fonts.el (c-font-lock-declarations)
5629 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5630 after "enum".
5631
5632 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5633
5634 * faces.el (region): Change ns_selection_color to
5635 ns_selection_fg_color, add ns_selection_bg_color.
5636
5637 2013-09-28 Leo Liu <sdl.web@gmail.com>
5638
5639 * progmodes/octave.el (inferior-octave-completion-table)
5640 (inferior-octave-completion-at-point): Minor tweaks.
5641
5642 * textmodes/ispell.el (ispell-lookup-words): Rename from
5643 lookup-words. (Bug#15460)
5644 (lookup-words): Obsolete.
5645 (ispell-complete-word, ispell-command-loop): All uses changed.
5646
5647 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5648
5649 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5650 (octave-mode-menu): Add octave-send-buffer.
5651 (octave-send-buffer): New function.
5652
5653 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5654
5655 * progmodes/octave.el (octave-mode-map): Add key binding for
5656 octave-lookfor.
5657 (octave-mode-menu): Add octave-lookfor.
5658 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5659 octave-lookfor.
5660 (octave-lookfor): New function.
5661
5662 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * emacs-lisp/cl-macs.el:
5665 (cl--loop-destr-temps): Remove.
5666 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5667 its convention.
5668 (cl--loop-set-iterator-function): New function.
5669 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5670 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5671 Bind `it' with `let' instead of substituting it with `cl-subst'.
5672 (cl--unused-var-p): New function.
5673 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5674 Eliminate some unused variable warnings (bug#15326).
5675
5676 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5677
5678 * doc-view.el (doc-view-scale-reset): Rename from
5679 `doc-view-reset-zoom-level'.
5680 (doc-view-scale-adjust): New command.
5681 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5682 `doc-view-scale-adjust'.
5683
5684 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5685
5686 * doc-view.el (doc-view-reset-zoom-level): New command.
5687 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5688 zoom commands (bug#15466).
5689
5690 2013-09-26 Kenichi Handa <handa@gnu.org>
5691
5692 * international/quail.el (quail-help): Make it not a command.
5693
5694 2013-09-26 Leo Liu <sdl.web@gmail.com>
5695
5696 * minibuffer.el (completion-all-sorted-completions): Make args
5697 optional as they are.
5698
5699 2013-09-25 Daniel Colascione <dancol@dancol.org>
5700
5701 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5702 specs are and that they're not evaluated.
5703
5704 2013-09-24 Sam Steingold <sds@gnu.org>
5705
5706 * midnight.el (clean-buffer-list-kill-regexps)
5707 (clean-buffer-list-kill-buffer-names): Update for the new Man
5708 buffer naming which includes the object name.
5709
5710 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5713 (eshell-parse-command, eshell-parse-pipeline): Use it since
5714 eshell-separate-commands requires a dynamic scoped var.
5715 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5716
5717 2013-09-23 Leo Liu <sdl.web@gmail.com>
5718
5719 * autoinsert.el (auto-insert-alist): Make the value of
5720 lexical-binding match its file setting.
5721
5722 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5723
5724 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5725
5726 * autoarg.el (autoarg-kp-digit-argument):
5727 * electric.el (Electric-command-loop):
5728 * kmacro.el (kmacro-step-edit-insert):
5729 Do not set universal-argument-num-events.
5730
5731 2013-09-22 Leo Liu <sdl.web@gmail.com>
5732
5733 * files.el (interpreter-mode-alist): Add octave.
5734
5735 2013-09-21 Alan Mackenzie <acm@muc.de>
5736
5737 C++: fontify identifier in declaration following "public:" correctly.
5738 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5739 to match "public", etc.
5740 (c-decl-prefix-re): Add ":" into the C++ value.
5741 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5742 bit. Add a check for a ":" preceded by "public", etc.
5743
5744 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5745
5746 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5747 recognized by GDB 7.5 and later.
5748
5749 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5750
5751 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5752
5753 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * subr.el (internal--call-interactively): New const.
5756 (called-interactively-p): Use it (bug#3984).
5757
5758 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5759
5760 * vc/pcvs.el (cvs-mode-ignore):
5761 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5762 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5763
5764 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5767 (eshell-ls-orig-insert-directory): Remove.
5768 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5769 (eshell-ls-use-in-dired): Use advice-add/remove.
5770 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5771 Add `orig-fun' arg for use in :around advice.
5772 Make it check (redundantly) eshell-ls-use-in-dired.
5773
5774 2013-09-19 Glenn Morris <rgm@gnu.org>
5775
5776 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5777
5778 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5779
5780 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5781
5782 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5783
5784 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5785 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5786 (tramp-get-remote-python): New defuns.
5787 (tramp-get-remote-uid-with-perl)
5788 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5789 contributed by yary <not.com@gmail.com> (tiny change).
5790 (tramp-get-remote-uid-with-python)
5791 (tramp-get-remote-gid-with-python): New defuns. Python code
5792 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5793 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5794
5795 2013-09-19 Glenn Morris <rgm@gnu.org>
5796
5797 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5798
5799 * eshell/em-unix.el (eshell-remove-entries):
5800 Rename argument to avoid name-clash with global `top-level'.
5801
5802 * eshell/esh-proc.el (eshell-kill-process-function):
5803 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5804 (eshell-reset-after-proc): Remove unused arg `proc'.
5805
5806 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5807 (directory-files-and-attributes): Mark unused arg.
5808
5809 * eshell/em-unix.el (eshell-remove-entries):
5810 Remove unused arg `path'. Update callers.
5811
5812 * eshell/em-hist.el (eshell-hist-parse-arguments):
5813 Remove unused arg `silent'. Update callers.
5814
5815 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5816 Fix (f)boundp mix-up.
5817
5818 * eshell/em-smart.el (eshell-smart-scroll-window)
5819 (eshell-disable-after-change):
5820 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5821
5822 2013-09-18 Alan Mackenzie <acm@muc.de>
5823
5824 Fix fontification of type when followed by "const".
5825 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5826 "known" types from fontification.
5827
5828 2013-09-18 Glenn Morris <rgm@gnu.org>
5829
5830 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5831 (chart-face-list): Drop Emacsen without display-color-p.
5832
5833 * net/eww.el (libxml-parse-html-region): Declare.
5834 (eww-display-html): Explicit error if no libxml2 support.
5835
5836 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5837
5838 * image.el (image-type-from-buffer, image-multi-frame-p):
5839 Remove --without-x warning/error.
5840
5841 * mouse.el (mouse-yank-primary):
5842 * term.el (term-mouse-paste):
5843 Reorder to silence --without-x compilation.
5844
5845 * mpc.el (doc-view-mode): Silence --without-x compilation.
5846
5847 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5848 Silence --without-x compilation.
5849
5850 * progmodes/gud.el (gud-find-file, gud-mode):
5851 Silence --without-x compilation.
5852 (tooltip-mode): Declare.
5853
5854 * wdired.el (dired-backup-overwrite): Remove declaration.
5855 (wdired-mode-map): Add doc string.
5856
5857 * custom.el (x-get-resource): Declare.
5858
5859 * eshell/em-glob.el (ange-cache):
5860 * eshell/em-unix.el (ange-cache): Declare.
5861
5862 * faces.el (x-display-list, x-open-connection, x-get-resource):
5863 Declare.
5864
5865 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5866 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5867 Declare.
5868
5869 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5870
5871 * net/gnutls.el (gnutls-log-level): Declare.
5872
5873 * net/shr.el (image-size, image-animate): Declare.
5874
5875 * simple.el (font-info): Declare.
5876
5877 * subr.el (x-popup-dialog): Declare.
5878
5879 * term/common-win.el (x-select-enable-primary)
5880 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5881 Declare.
5882
5883 * term/ns-win.el (x-handle-args): Declare.
5884
5885 * term/x-win.el (x-select-enable-clipboard): Declare.
5886
5887 * term/w32-win.el (create-default-fontset): Declare.
5888
5889 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5890 Declare.
5891
5892 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5893 (fit-frame-to-buffer): Explicit error if --without-x.
5894 (mouse-autoselect-window-select): Silence compiler.
5895
5896 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5897
5898 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5899 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5900 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5901 * eshell/esh-util.el (eshell-sublist):
5902 Remove unused local variables.
5903
5904 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5905
5906 * textmodes/two-column.el: Make 2C-split work for --without-x.
5907 (scroll-bar-columns): Autoload.
5908 (top-level): Require fringe when compiling.
5909
5910 2013-09-18 Leo Liu <sdl.web@gmail.com>
5911
5912 * subr.el (add-hook): Robustify to handle closure as well.
5913
5914 2013-09-17 Glenn Morris <rgm@gnu.org>
5915
5916 * simple.el (messages-buffer-mode-map): Unbind "g".
5917
5918 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * help-mode.el (help-mode-finish): Use derived-mode-p.
5921 Remove obsolete highlighting.
5922
5923 * play/life.el (life-mode): Use define-derived-mode. Derive from
5924 special-mode.
5925 (life): Let-bind inhibit-read-only.
5926 (life-setup): Avoid `setq'. Use `life-mode'.
5927
5928 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5929 which should not be needed any more.
5930 (package-menu-refresh, package-menu-describe-package): Use user-error.
5931
5932 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5933 (eshell-post-rewrite-command-hook): Make obsolete.
5934 (eshell-parse-command): Simplify.
5935 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5936 (eshell--cmd): Declare.
5937 (eshell-parse-pipeline): Remove unused var `final-p'.
5938 Pass a dynvar to eshell-post-rewrite-command-hook.
5939 Implement the new eshell-post-rewrite-command-function.
5940 (eshell-invoke-directly): Remove unused arg `input'.
5941 * eshell/esh-io.el (eshell-io-initialize):
5942 Use eshell-post-rewrite-command-function (bug#15399).
5943 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5944 adjust to new calling convention.
5945 (eshell-create-handles): Rename args to avoid clashing with dynvar
5946 `standard-output'.
5947
5948 2013-09-17 Glenn Morris <rgm@gnu.org>
5949
5950 * simple.el (messages-buffer-mode): New major mode.
5951 (messages-buffer): New function.
5952 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5953 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5954 (ert-run-test): Use `messages-buffer' function.
5955 (ert--force-message-log-buffer-truncation): Ignore read-only.
5956 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5957 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5958
5959 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5962
5963 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5964
5965 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * icomplete.el (icomplete-in-buffer): New var.
5968 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5969 vars and replace them with functions.
5970 (icomplete-minibuffer-setup): Adjust accordingly.
5971 (icomplete--completion-table, icomplete--completion-predicate)
5972 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5973 New functions.
5974 (icomplete-forward-completions, icomplete-backward-completions)
5975 (icomplete-simple-completing-p, icomplete-exhibit)
5976 (icomplete-completions): Use them.
5977 (icomplete--in-region-buffer): New var.
5978 (icomplete--in-region-setup): New function.
5979 (icomplete-mode): Use it.
5980
5981 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5982 (bug#15379).
5983 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5984 return args and options.
5985 (eshell-eval-using-options): Use the new return value of
5986 eshell--do-opts to set the options's vars in their scope.
5987 (eshell--set-option): Rename from eshell-set-option.
5988 Add arg `opt-vals'.
5989 (eshell--process-option): Rename from eshell-process-option.
5990 Add arg `opt-vals'.
5991 (eshell--process-args): Use an `opt-vals' alist to store the options's
5992 values during their processing and return them additionally to the
5993 remaining args.
5994
5995 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5996
5997 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5998 continuation character an operator, as far as indentation is
5999 concerned (Bug#15369).
6000
6001 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6002
6003 * window.el (window--state-put-2): Don't process buffer state
6004 when buffer doesn't exist any more (Bug#15382).
6005
6006 2013-09-15 Glenn Morris <rgm@gnu.org>
6007
6008 * eshell/em-unix.el (eshell/rm):
6009 Make -f ignore missing files. (Bug#15373)
6010
6011 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6012 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6013 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6014
6015 2013-09-14 Glenn Morris <rgm@gnu.org>
6016
6017 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6018
6019 2013-09-13 Glenn Morris <rgm@gnu.org>
6020
6021 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6022 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6023
6024 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6025
6026 * frame.el (x-focus-frame): Mark as declared in frame.c.
6027
6028 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * ls-lisp.el: Use advice-add.
6031 (original-insert-directory): Remove.
6032 (ls-lisp--insert-directory): Rename from insert-directory; add
6033 `orig-fun' argument.
6034 (insert-directory): Advise.
6035
6036 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6037
6038 * term.el (term-emulate-terminal): Decode the command string
6039 before passing it to term-command-hook. (Bug#15337)
6040
6041 2013-09-13 Glenn Morris <rgm@gnu.org>
6042
6043 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6044
6045 * eshell/esh-ext.el (eshell-search-path): Declare.
6046
6047 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6048 Otherwise an error occurs if eshell-dirs module not loaded.
6049
6050 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6051
6052 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6055 `tramp-check-proper-host'. Check for a valid method name.
6056
6057 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6058 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6059 * net/tramp-sh.el (tramp-maybe-open-connection):
6060 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6061
6062 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6063 also for hash values.
6064
6065 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * term/ns-win.el (parameters): Don't declare as dynamic.
6068 (before-make-frame-hook): Don't add ineffective function.
6069
6070 * eshell/*.el: Use lexical-binding (bug#15231).
6071
6072 2013-09-12 Kenichi Handa <handa@gnu.org>
6073
6074 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6075
6076 2013-09-12 Glenn Morris <rgm@gnu.org>
6077
6078 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6079 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6080
6081 * subr.el (do-after-load-evaluation): Also give compiler warnings
6082 when obsolete files are used (except by obsolete files).
6083
6084 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6085 in the status output, assume `filename' is the first. (Bug#15322)
6086
6087 * vc/vc.el (vc-deduce-fileset): Doc fix.
6088
6089 * calc/calc-help.el (Info-goto-node):
6090 * progmodes/cperl-mode.el (Info-find-node):
6091 * vc/ediff.el (Info-goto-node): Update declarations.
6092
6093 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6094
6095 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6096 (vc-bzr-pull): Require vc-dispatcher.
6097 * vc/vc-git.el (vc-compilation-mode): Declare.
6098 (vc-git-pull): Require vc-dispatcher.
6099
6100 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6101
6102 * progmodes/octave.el (help-button-action): Declare.
6103
6104 * shell.el (shell-directory-tracker): Output error as a message
6105 rather than just returning it as a string.
6106 (shell-process-pushd): Remove useless use of message.
6107
6108 * dframe.el (dframe-timer-fn):
6109 * files.el (dir-locals-read-from-file):
6110 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6111 (mpc-format):
6112 * reveal.el (reveal-post-command):
6113 * saveplace.el (load-save-place-alist-from-file):
6114 * shell.el (shell-resync-dirs):
6115 * w32-common-fns.el (x-get-selection-value):
6116 * emacs-lisp/copyright.el (copyright-find-copyright):
6117 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6118 * emulation/tpu-edt.el (tpu-copy-keyfile):
6119 * play/bubbles.el (bubbles--mark-neighbourhood):
6120 * progmodes/executable.el
6121 (executable-make-buffer-file-executable-if-script-p):
6122 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6123
6124 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 Cleanup Eshell to rely less on dynamic scoping.
6127 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6128 last-value, and ext-command here. Bind `args' closer to `body'.
6129 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6130 (eshell--args): Declare new dynamic var.
6131 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6132 last-value, and ext-command. Pass `args' to `body'.
6133 (eshell-process-args): Bind eshell--args.
6134 (eshell-set-option): Use eshell--args.
6135 * eshell/eshell.el (eshell): Use derived-mode-p.
6136 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6137 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6138 (eshell-glob-function): Declare.
6139 * eshell/esh-util.el: Require cl-lib.
6140 (eshell-read-hosts-file): Avoid add-to-list.
6141 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6142 `err'.
6143 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6144 Declare.
6145 (eshell/diff): Remove unused var `err'.
6146 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6147 `killflag'.
6148 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6149 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6150 first use.
6151 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6152 Move declaration before first use.
6153 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6154 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6155 rely on cl-return.
6156
6157 2013-09-12 Glenn Morris <rgm@gnu.org>
6158
6159 * term/ns-win.el (global-map): Remove binding for ispell-next,
6160 deleted 1999-05-29. (Bug#15357)
6161
6162 2013-09-11 Glenn Morris <rgm@gnu.org>
6163
6164 * echistory.el (electric-command-history): Remove call to deleted func.
6165
6166 * play/landmark.el (landmark-mode): Fix typos.
6167
6168 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6169 Check cvs-sort-ignore-file is bound.
6170
6171 * savehist.el: No need for cl when compiling on Emacs.
6172
6173 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6176 (bug#15338).
6177 (eshell-self-insert-command, eshell-send-invisible):
6178 Remove unused argument.
6179 (eshell-handle-control-codes): Remove unused var `orig'.
6180 Avoid delete-backward-char.
6181
6182 * files.el (set-auto-mode): Simplify a bit further.
6183
6184 2013-09-11 Glenn Morris <rgm@gnu.org>
6185
6186 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6187 (set-auto-mode): Don't regexp-quote elements.
6188 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6189 * progmodes/cc-mode.el (interpreter-mode-alist):
6190 * progmodes/ruby-mode.el (interpreter-mode-alist):
6191 Revert previous change.
6192
6193 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * play/snake.el (snake-mode):
6196 * play/mpuz.el (mpuz-mode):
6197 * play/landmark.el (lm-mode):
6198 * play/blackbox.el (blackbox-mode):
6199 * play/5x5.el (5x5-mode):
6200 * obsolete/options.el (Edit-options-mode):
6201 * net/quickurl.el (quickurl-list-mode):
6202 * net/newst-treeview.el (newsticker-treeview-mode):
6203 * mail/rmailsum.el (rmail-summary-mode):
6204 * mail/mspools.el (mspools-mode):
6205 * locate.el (locate-mode):
6206 * ibuffer.el (ibuffer-mode):
6207 * emulation/ws-mode.el (wordstar-mode):
6208 * emacs-lisp/debug.el (debugger-mode):
6209 * array.el (array-mode):
6210 * net/eudc.el (eudc-mode): Use define-derived-mode.
6211 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6212 Move initialization into declaration.
6213 (mairix-searches-mode): Use define-derived-mode.
6214 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6215 (eudc-edit-hotlist): Use dolist.
6216 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6217 (Man-mode): Use define-derived-mode.
6218 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6219 (Info-edit-mode): Use define-derived-mode.
6220 (Info-cease-edit): Use Info-mode.
6221 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6222 into declaration.
6223 (eshell-mode): Use define-derived-mode.
6224 * chistory.el (command-history-mode-map): Rename from
6225 command-history-map.
6226 (command-history-mode): Use define-derived-mode.
6227 (Command-history-setup): Remove function.
6228 * calc/calc.el (calc-trail-mode-map): New var.
6229 (calc-trail-mode): Use define-derived-mode.
6230 (calc-trail-buffer): Set calc-main-buffer manually.
6231 * bookmark.el (bookmark-insert-annotation): New function.
6232 (bookmark-edit-annotation): Use it.
6233 (bookmark-edit-annotation-mode): Make it a proper major mode.
6234 (bookmark-send-edited-annotation): Use derived-mode-p.
6235 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6236 closer to its ideal place. Use \' to match EOS.
6237
6238 * profiler.el (profiler-calltree-find): Use function-equal.
6239
6240 2013-09-10 Glenn Morris <rgm@gnu.org>
6241
6242 * files.el (interpreter-mode-alist): Convert to regexps.
6243 (set-auto-mode): Adapt for this. (Bug#15306)
6244 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6245 Comment out unused variable.
6246 * progmodes/cc-mode.el (interpreter-mode-alist):
6247 * progmodes/python.el (interpreter-mode-alist):
6248 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6249 * progmodes/sh-script.el (sh-set-shell):
6250 No longer use interpreter-mode-alist to get list of shells.
6251
6252 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6253
6254 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * simple.el: Use set-temporary-overlay-map for universal-argument.
6257 (universal-argument-map): Don't use default-bindings (bug#15317).
6258 Bind switch-frame explicitly. Replace universal-argument-minus with
6259 a conditional binding.
6260 (universal-argument-num-events, saved-overriding-map): Remove.
6261 (restore-overriding-map): Remove.
6262 (universal-argument--mode): Rename from save&set-overriding-map,
6263 and rewrite.
6264 (universal-argument, universal-argument-more, negative-argument)
6265 (digit-argument): Adjust accordingly.
6266 (universal-argument-minus): Remove.
6267 (universal-argument-other-key): Remove.
6268
6269 * subr.el (with-demoted-errors): Add `format' argument.
6270
6271 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6272
6273 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6274 `tramp-cleanup-connection'.
6275
6276 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6277 parameters KEEP-DEBUG and KEEP-PASSWORD.
6278
6279 * net/tramp.el (tramp-file-name-handler):
6280 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6282 (tramp-maybe-open-connection):
6283 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6284 Use `tramp-cleanup-connection'.
6285
6286 * net/tramp-sh.el (tramp-maybe-open-connection):
6287 Catch 'uname-changed inside the progress reporter.
6288
6289 2013-09-10 Glenn Morris <rgm@gnu.org>
6290
6291 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6292
6293 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6294 returns "alternate access method" in mode (eg "-rw-r--r--.").
6295
6296 2013-09-08 Glenn Morris <rgm@gnu.org>
6297
6298 * saveplace.el (load-save-place-alist-from-file):
6299 Demote errors. (Bug#15305)
6300
6301 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6302
6303 Improve compatibility with older Emacsen, and XEmacs.
6304
6305 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6306 only if it is bound. It isn't for XEmacs.
6307 (with-tramp-progress-reporter): Do not let-bind `result'.
6308 This yields to scoping errors in XEmacs.
6309 (tramp-handle-make-auto-save-file-name): New function, moved from
6310 tramp-sh.el.
6311
6312 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6313 for `make-auto-save-file-name'.
6314 (tramp-adb--gnu-switches-to-ash):
6315 Use `tramp-compat-replace-regexp-in-string'.
6316
6317 * net/tramp-cache.el (tramp-cache-print): Call
6318 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6319
6320 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6321 bound. It isn't for XEmacs.
6322
6323 * net/tramp-compat.el (tramp-compat-copy-file):
6324 Catch `wrong-number-of-arguments' error.
6325 (tramp-compat-replace-regexp-in-string): New defun.
6326
6327 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6328 for `make-auto-save-file-name'.
6329 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6330 `copy-file'.
6331 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6332 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6333 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6334
6335 * net/tramp-gw.el (tramp-gw-open-network-stream):
6336 Use `tramp-compat-replace-regexp-in-string'.
6337
6338 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6339 Call `tramp-handle-make-auto-save-file-name'.
6340 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6341 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6342 (tramp-sh-file-inotifywait-process-filter):
6343 Use `tramp-compat-replace-regexp-in-string'.
6344 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6345
6346 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6347 for `make-auto-save-file-name'.
6348 (tramp-smb-handle-copy-directory):
6349 Call `tramp-compat-replace-regexp-in-string'.
6350 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6351 (tramp-smb-handle-copy-file): Improve error message.
6352 (tramp-smb-handle-rename-file): Rename directly only in case
6353 `newname' does not exist yet. This is a restriction of smbclient.
6354 (tramp-smb-maybe-open-connection): Rerun the function only when
6355 `auth-sources' is non-nil.
6356
6357 2013-09-08 Kenichi Handa <handa@gnu.org>
6358
6359 * international/characters.el: Set category "^" (Combining) for
6360 more characters.
6361
6362 2013-09-07 Alan Mackenzie <acm@muc.de>
6363
6364 Correctly fontify Java class constructors.
6365 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6366 in Java Mode.
6367 (c-recognize-typeless-decls): Set the Java value to t.
6368 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6369 While handling a "(", add a check for, effectively, Java, and handle a
6370 "typeless" declaration there.
6371
6372 2013-09-07 Roland Winkler <winkler@gnu.org>
6373
6374 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6375 field subtitle for entry type book.
6376
6377 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * minibuffer.el: Make minibuffer-complete call completion-in-region
6380 rather than other way around.
6381 (completion--some, completion-pcm--find-all-completions):
6382 Don't delay signals when debugging.
6383 (minibuffer-completion-contents): Beware fields within the
6384 minibuffer contents.
6385 (completion-all-sorted-completions): Use defvar-local.
6386 (completion--do-completion, completion--cache-all-sorted-completions)
6387 (completion-all-sorted-completions, minibuffer-force-complete):
6388 Add args `beg' and `end'.
6389 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6390 (minibuffer-complete): Use completion-in-region.
6391 (completion-complete-and-exit): New fun, extracted from
6392 minibuffer-complete-and-exit.
6393 (minibuffer-complete-and-exit): Use it.
6394 (completion--complete-and-exit): Rename from
6395 minibuffer--complete-and-exit.
6396 (completion-in-region--single-word): New function, extracted from
6397 minibuffer-complete-word.
6398 (minibuffer-complete-word): Use it.
6399 (display-completion-list): Make `common-substring' argument obsolete.
6400 (completion--in-region): Call completion--in-region-1 instead of
6401 minibuffer-complete.
6402 (completion-help-at-point): Pass boundaries to
6403 minibuffer-completion-help as args rather than via an overlay.
6404 (completion-pcm--string->pattern): Use `any-delim'.
6405 (completion-pcm--optimize-pattern): New function.
6406 (completion-pcm--pattern->regex): Handle `any-delim'.
6407 * icomplete.el (icomplete-forward-completions)
6408 (icomplete-backward-completions, icomplete-completions):
6409 Adjust calls to completion-all-sorted-completions and
6410 completion--cache-all-sorted-completions.
6411 (icomplete-with-completion-tables): Default to t.
6412 * emacs-lisp/crm.el (crm--current-element): Rename from
6413 crm--select-current-element. Don't put an overlay but return the
6414 boundaries instead.
6415 (crm--completion-command): Take two new args to bind to the boundaries.
6416 (crm-completion-help): Adjust accordingly.
6417 (crm-complete): Use completion-in-region.
6418 (crm-complete-word): Use completion-in-region--single-word.
6419 (crm-complete-and-exit): Use completion-complete-and-exit.
6420
6421 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6424 than dynamically.
6425
6426 2013-09-06 Juri Linkov <juri@jurta.org>
6427
6428 * info.el (Info-display-images-node): When image file doesn't exist
6429 display text version of the image if it's provided in the Info file.
6430 Otherwise, display the location of missing image from SRC attribute.
6431 Add help-echo text property from ALT attribute. (Bug#15279)
6432
6433 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6436 (edit-abbrevs-mode): Use define-derived-mode.
6437
6438 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6439 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6440 that it's defined.
6441 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6442 Use define-derived-mode.
6443
6444 * epg.el (epg-start-encrypt): Minor CSE simplification.
6445
6446 2013-09-06 William Xu <william.xwl@gmail.com>
6447
6448 * arc-mode.el: Add support for 7za (bug#15264).
6449 (archive-7z-program): New var.
6450 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6451 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6452 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6453
6454 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6455
6456 Remove URL syntax.
6457
6458 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6459 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6460 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6461 (tramp-postfix-host-format, tramp-file-name-regexp)
6462 (tramp-completion-file-name-regexp)
6463 (tramp-completion-dissect-file-name)
6464 (tramp-handle-substitute-in-file-name): Remove 'url case.
6465 (tramp-file-name-regexp-url)
6466 (tramp-completion-file-name-regexp-url): Remove constants.
6467
6468 2013-09-06 Glenn Morris <rgm@gnu.org>
6469
6470 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6471
6472 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6473
6474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6475 keywords" below "here-doc beginnings" (Bug#15270).
6476
6477 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * subr.el (pop): Use `car-safe'.
6480 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6481 to detect unused `pop' return value.
6482
6483 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6484 var `block-regexp'.
6485 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6486 (python-fill-string): Remove unused var `marker'.
6487 (python-skeleton-add-menu-items): Remove unused var `items'.
6488
6489 * international/mule-cmds.el: Require CL.
6490 (find-coding-systems-for-charsets): Avoid add-to-list.
6491 (sanitize-coding-system-list): New function, extracted from
6492 select-safe-coding-system-interactively.
6493 (select-safe-coding-system-interactively): Use it.
6494 (read-input-method-name): Accept symbols for `default'.
6495
6496 * emacs-lisp/advice.el (defadvice): Add indent rule.
6497
6498 2013-09-05 Daniel Hackney <dan@haxney.org>
6499
6500 * dired-x.el:
6501 * net/ange-ftp.el:
6502 * net/browse-url.el:
6503 * net/dbus.el:
6504 * net/eudc.el:
6505 * net/eudcb-ldap.el:
6506 * net/eww.el:
6507 * net/imap.el:
6508 * printing.el:
6509 * vc/ediff-diff.el:
6510 * vc/ediff-init.el:
6511 * vc/ediff-merg.el:
6512 * vc/ediff-mult.el:
6513 * vc/ediff-util.el:
6514 * vc/ediff-wind.el:
6515 * vc/ediff.el:
6516 * vc/emerge.el:
6517 * vc/pcvs.el:
6518 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6519 byte compiler. Remove some unused let-bound variables.
6520
6521 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6524 a "ref-cell", since it gets better optimized (bug#14883).
6525
6526 2013-09-05 Glenn Morris <rgm@gnu.org>
6527
6528 * progmodes/cc-awk.el (c-forward-sws): Declare.
6529
6530 2013-09-04 Glenn Morris <rgm@gnu.org>
6531
6532 * generic-x.el [rul-generic-mode]: Require cc-mode.
6533 (c++-mode-syntax-table): Declare.
6534 (rul-generic-mode-syntax-table): Init in the defvar.
6535
6536 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6539 (vc-do-command, vc-set-async-update):
6540 * vc/vc-mtn.el (vc-mtn-dir-status):
6541 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6542 (vc-hg-pull, vc-hg-merge-branch):
6543 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6544 (vc-git-merge-branch):
6545 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6546 (vc-cvs-dir-status-files):
6547 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6548 (vc-bzr-dir-status-files):
6549 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6550 * vc/vc-annotate.el: Use lexical-binding.
6551 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6552 (vc-sentinel-movepoint): Declare.
6553 (vc-annotate): Don't use `goto-line'.
6554 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6555 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6556 (vc-sentinel-movepoint): Declare.
6557 * vc/vc-svn.el: Use lexical-binding.
6558 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6559 * vc/vc-sccs.el:
6560 * vc/vc-rcs.el: Use lexical-binding.
6561
6562 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6563 `deleted'. Don't drop errors silently.
6564
6565 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6566
6567 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6568
6569 * vc/vc.el (vc-ignore): Rewrite.
6570 (vc-default-ignore): New function.
6571 (vc-default-ignore-completion-table): Use find-ignore-file.
6572
6573 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6574 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6575 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6576 Remove. Most code moved to vc.el.
6577
6578 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6581 * net/tramp-smb.el (tramp-smb-get-file-entries):
6582 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6583 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6584
6585 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6586 Update call to it.
6587 (eww-change-select): Remove unused var `properties'.
6588 (eww-make-unique-file-name): Remove unused var `base'.
6589
6590 * finder.el (finder-compile-keywords): Don't mess with windows.
6591
6592 * calculator.el (calculator-funcall): Fix typo in last change.
6593
6594 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6595
6596 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6597 <pkg>-autoloads.el file stop us.
6598
6599 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6600 warnings, and factor out common code.
6601
6602 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6603
6604 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6605 two-character operators and whether the character preceding them
6606 changes their meaning (Bug#15208).
6607
6608 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6609
6610 Format code sent to Python shell for robustness.
6611 * progmodes/python.el (python-shell-buffer-substring):
6612 New function.
6613 (python-shell-send-region, python-shell-send-buffer): Use it.
6614
6615 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6616
6617 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6618 * net/tramp.el (tramp-user-error): ... here.
6619 (tramp-find-method, tramp-check-proper-host)
6620 (tramp-dissect-file-name, tramp-debug-message)
6621 (tramp-handle-shell-command):
6622 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6624
6625 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6626
6627 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6628
6629 * avoid.el (mouse-avoidance-point-position)
6630 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6631 returns nil.
6632
6633 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6634
6635 * progmodes/python.el (python-shell-completion-get-completions):
6636 Drop use of deleted `comint-last-prompt-overlay'.
6637 (python-nav-if-name-main): New command.
6638
6639 2013-09-01 Glenn Morris <rgm@gnu.org>
6640
6641 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6642 Avoid leading space in $wins. Otherwise the sed command used by
6643 eg compile-main ends up containing "/*.el". (Bug#15170)
6644
6645 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6646
6647 2013-08-30 Glenn Morris <rgm@gnu.org>
6648
6649 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6650 Fix is-this-a-directory logic. (Bug#15220)
6651
6652 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * textmodes/css-mode.el: Use SMIE.
6655 (css-smie-grammar): New var.
6656 (css-smie--forward-token, css-smie--backward-token)
6657 (css-smie-rules): New functions.
6658 (css-mode): Use them.
6659 (css-navigation-syntax-table): Remove var.
6660 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6661 (css-indent-calculate, css-indent-line): Remove functions.
6662
6663 Misc changes to reduce use of `(lambda...); and other cleanups.
6664 * cus-edit.el: Use lexical-binding.
6665 (customize-push-and-save, customize-apropos)
6666 (custom-buffer-create-internal): Use closures.
6667 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6668 * progmodes/ada-xref.el: Use setq.
6669 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6670 * dframe.el: Use lexical-binding.
6671 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6672 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6673 * descr-text.el: Use lexical-binding.
6674 (describe-text-widget, describe-text-sexp, describe-property-list):
6675 Use closures.
6676 * comint.el (comint-history-isearch-push-state): Use a closure.
6677 * calculator.el: Use lexical-binding.
6678 (calculator-number-to-string): Make it work with lexical-binding.
6679 (calculator-funcall): Same and use cl-letf.
6680
6681 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6682 (lisp--company-doc-string, lisp--company-location): New functions.
6683 (lisp-completion-at-point): Use them to improve Company support.
6684
6685 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6686 params of lambda expressions.
6687 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6688 (ruby-smie--opening-pipe-p): New function.
6689 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6690 symbols and matched |...| for formal params.
6691 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6692 from being treated as hanging. Handle "rescue".
6693
6694 2013-08-29 Glenn Morris <rgm@gnu.org>
6695
6696 * progmodes/cc-engine.el (c-pull-open-brace):
6697 Move definition before use.
6698
6699 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6702 are immutable. Don't use `unsafe' any more.
6703 (cl--defsubst-expand): Don't substitute at the same time as keeping
6704 a residual unused let-binding. Don't use `unsafe' any more.
6705
6706 2013-08-29 Glenn Morris <rgm@gnu.org>
6707
6708 * calendar/cal-china.el (calendar-chinese-year-cache):
6709 Recenter on 2015.
6710
6711 * nxml/nxml-util.el (nxml-debug-clear-inside):
6712 Use cl-loop rather than loop.
6713
6714 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6715
6716 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6717
6718 2013-08-28 Glenn Morris <rgm@gnu.org>
6719
6720 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6721
6722 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6723
6724 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6725
6726 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * simple.el (repeat-complex-command--called-interactively-skip):
6729 New function.
6730 (repeat-complex-command): Use it (bug#14136).
6731
6732 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6733 (c-define-abbrev-table): Add `doc' argument.
6734 (c-mode-abbrev-table, c++-mode-abbrev-table)
6735 (objc-mode-abbrev-table, java-mode-abbrev-table)
6736 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6737 (awk-mode-abbrev-table): Use it.
6738 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6739 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6740 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6741 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6742 Move initialization into the declaration; and remove any
6743 autoload cookie.
6744
6745 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6746 and dynamic let binding.
6747
6748 * vc/smerge-mode.el: Remove redundant :group args.
6749
6750 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6751 to load-path.
6752
6753 2013-08-28 Juri Linkov <juri@jurta.org>
6754
6755 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6756 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6757 (isearch-other-meta-char): Handle an undefined shifted printing
6758 character by downshifting it. (Bug#15200)
6759
6760 2013-08-28 Juri Linkov <juri@jurta.org>
6761
6762 * isearch.el (isearch-search): Change regexp error message for
6763 non-regexp searches. (Bug#15166)
6764
6765 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6766
6767 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6768 for portability to hosts where /bin/sh has problems.
6769
6770 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6773
6774 2013-08-27 Juri Linkov <juri@jurta.org>
6775
6776 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6777 in the keyboard macro. (Bug#15126)
6778
6779 2013-08-27 Juri Linkov <juri@jurta.org>
6780
6781 * isearch.el (isearch-quote-char): Comment out converting unibyte
6782 to multibyte, thus syncing with its `quoted-insert' counterpart.
6783 (Bug#15166)
6784
6785 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6786
6787 * window.el (display-buffer-use-some-window): Add missing
6788 argument in call of get-largest-window (Bug#15185).
6789 Reported by Stephen Leake.
6790
6791 2013-08-27 Glenn Morris <rgm@gnu.org>
6792
6793 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6794
6795 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6798 from a matcher-function unless there's no more matches (bug#15161).
6799
6800 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6801
6802 * minibuffer.el: Revert change from 2013-08-20.
6803
6804 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6805 with text property `tramp-default', if appropriate.
6806 (tramp-check-proper-host): New defun.
6807 (tramp-dissect-file-name): Do not check hostname. Revert change
6808 of 2013-03-18.
6809 (tramp-backtrace): Make VEC-OR-PROC optional.
6810
6811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6812 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6813 * net/tramp-sh.el (tramp-maybe-open-connection):
6814 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6815 Apply `tramp-check-proper-host'.
6816
6817 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6818
6819 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6820 lambda expression in order to have `describe-variable' display it.
6821
6822 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6823
6824 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6825 BUF can be optional. (Bug#15186)
6826
6827 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6828
6829 * progmodes/flymake.el (flymake-get-real-file-name-function):
6830 Fix broken customization. (Bug#15184)
6831
6832 2013-08-25 Alan Mackenzie <acm@muc.de>
6833
6834 Improve indentation of bracelists defined by macros (without "=").
6835
6836 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6837 expansion begins with "{", regard it as bracelist when it doesn't
6838 contain a ";".
6839
6840 Parse C++ inher-intro when there's a template split over 2 lines.
6841
6842 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6843 rigorously the search for "class" etc. followed by ":".
6844
6845 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6846 random languages a regexp which never matches rather than nil.
6847
6848 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6849
6850 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6851 (c-awk-regexp-one-line-possibly-open-char-list-re)
6852 (c-awk-one-line-possibly-open-regexp-re)
6853 (c-awk-one-line-non-syn-ws*-re): Remove.
6854 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6855 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6856 (c-awk-space*-unclosed-regexp-/-re): New constants.
6857 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6858 aren't regexp delimiters.
6859
6860 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6861 handling for a rare situation in AWK Mode involving unterminated
6862 strings/regexps.
6863
6864 2013-08-23 Glenn Morris <rgm@gnu.org>
6865
6866 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6867
6868 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6869
6870 * files.el (create-file-buffer): If the result would begin with
6871 spaces, prepend a "|" instead of removing them. (Bug#15162)
6872
6873 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6874
6875 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6876 text-properties (bug#15155).
6877
6878 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6879 exist any more.
6880 (calc-keypad-redraw): Remove unused var `pad'.
6881 (calc-keypad-press): Remove unused var `menu'.
6882
6883 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6884
6885 * window.el (display-buffer-pop-up-frame):
6886 Call pop-up-frame-function with BUFFER current so `make-frame' will
6887 use it as the new frame's buffer (Bug#15133).
6888
6889 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * calendar/timeclock.el: Minor cleanups.
6892 (timeclock-ask-before-exiting, timeclock-use-display-time):
6893 Use `symbol'.
6894 (timeclock-modeline-display): Define as alias before the
6895 actual definition.
6896 (timeclock-mode-line-display): Use define-minor-mode.
6897 (timeclock-day-list-template): Make it a function, add an argument.
6898 (timeclock-day-list-required, timeclock-day-list-length)
6899 (timeclock-day-list-debt, timeclock-day-list-span)
6900 (timeclock-day-list-break): Adjust calls accordingly.
6901
6902 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6903
6904 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6905 Use read--expression so that completion works again.
6906
6907 2013-08-21 Sam Steingold <sds@gnu.org>
6908
6909 Add rudimentary inferior shell interaction
6910 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6911 (sh-set-shell): Reset it.
6912 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6913 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6914
6915 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * align.el: Use lexical-binding.
6918 (align-region): Simplify accordingly.
6919
6920 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6921
6922 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6923
6924 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6925 `non-essential' up.
6926
6927 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6928
6929 * net/tramp.el:
6930 * net/tramp-adb.el:
6931 * net/tramp-cmds.el:
6932 * net/tramp-ftp.el:
6933 * net/tramp-gvfs.el:
6934 * net/tramp-gw.el:
6935 * net/tramp-sh.el: Don't wrap external variable declarations by
6936 `eval-when-compile'.
6937
6938 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
6940 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6941 now that Emacs supports ImageMagick animations.
6942
6943 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6944
6945 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6946 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6947
6948 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6949
6950 * window.el (mouse-autoselect-window-select): Do autoselect when
6951 mouse pointer is on margin.
6952
6953 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6954
6955 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6956
6957 2013-08-16 Glenn Morris <rgm@gnu.org>
6958
6959 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6960 Handle "Remote Directory" response of some clients. (Bug#15058)
6961
6962 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6963 Tweak warning. (Bug#14926)
6964
6965 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6966 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6967
6968 * image-mode.el (image-mode-map): Add menu items to reverse,
6969 increase, decrease, reset animation speed.
6970 (image--set-speed, image-increase-speed, image-decrease-speed)
6971 (image-reverse-speed, image-reset-speed): New functions.
6972 (image-mode-map): Add bindings for speed commands.
6973
6974 * image.el (image-animate-get-speed, image-animate-set-speed):
6975 New functions.
6976 (image-animate-timeout): Respect image :speed property.
6977
6978 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6981 previous line (bug#15101).
6982 (debugger-eval-expression, debugger-record-expression):
6983 Use read--expression (bug#15102).
6984
6985 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6986
6987 Remove byte compiler warnings, visible when compiling with
6988 `byte-compile-force-lexical-warnings' set to t.
6989
6990 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6991 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6992 (tramp-handle-unhandled-file-name-directory)
6993 (tramp-handle-file-notify-add-watch, tramp-action-login)
6994 (tramp-action-succeed, tramp-action-permission-denied)
6995 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6996 arguments with "_".
6997
6998 * net/tramp-adb.el (tramp-adb-parse-device-names)
6999 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7000 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7001 (tramp-adb-handle-file-truename): Remove unused arguments.
7002
7003 * net/tramp-cache.el (tramp-flush-directory-property)
7004 (tramp-flush-connection-property, tramp-list-connections)
7005 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7006
7007 * net/tramp-compat.el (tramp-compat-make-temp-file):
7008 Rename FILENAME to F.
7009
7010 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7011 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7012 (tramp-zeroconf-parse-workstation-device-names)
7013 (tramp-zeroconf-parse-webdav-device-names)
7014 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7015
7016 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7017 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7018
7019 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7020 arguments.
7021 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7022 (tramp-sh-handle-insert-file-contents-literally)
7023 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7024 with "_".
7025 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7026 Remove unused variables.
7027
7028 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7029 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7030 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7031
7032 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7033 Make them a defconst.
7034 (tramp-uuencode-region): Remove unused variable.
7035
7036 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7037
7038 * frameset.el (frameset--prop-setter): New function.
7039 (frameset-prop): Add gv-setter declaration.
7040 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7041 parameter was already set in FILTERED. Doc fix.
7042 (frameset--record-minibuffer-relationships): Allow saving a
7043 minibufferless frame without its corresponding minibuffer frame.
7044 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7045 frame, if the frame id matches.
7046 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7047 frames before orphaned ones.
7048 (frameset-restore): Warn about orphaned windows, instead of error out.
7049
7050 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7051
7052 * window.el (window-make-atom): Don't overwrite parameter
7053 already present.
7054 (display-buffer-in-atom-window): Handle special case where we
7055 split an already atomic window.
7056 (window--major-non-side-window, display-buffer-in-side-window)
7057 (window--side-check): Ignore minibuffer window when walking
7058 window tree.
7059 (window-deletable-p): Return 'frame only if no other frame uses
7060 our minibuffer window.
7061 (record-window-buffer): Run buffer-list-update-hook.
7062 (split-window): Make sure window--check-frame won't destroy an
7063 existing atomic window in case the new window gets nested
7064 inside.
7065 (display-buffer-at-bottom): Ignore minibuffer window when
7066 walking window tree. Don't split a side window.
7067 (pop-to-buffer): Don't set-buffer here, the select-window call
7068 should do that.
7069 (mouse-autoselect-window-select): Autoselect only if we are in the
7070 text portion of the window.
7071
7072 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7073
7074 * net/shr.el (shr-parse-image-data): New function to grab both the
7075 data itself and the Content-Type.
7076 (shr-put-image): Use it.
7077
7078 * net/eww.el (eww-display-image): Ditto.
7079
7080 * image.el (image-content-type-suffixes): New variable.
7081
7082 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7083
7084 * progmodes/python.el (python-imenu--build-tree)
7085 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7086
7087 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7088
7089 * simple.el (backward-word): Mention the optional argument.
7090
7091 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * frameset.el (frameset--make): Rename constructor from make-frameset.
7094 (frameset-p, frameset-valid-p): Don't autoload.
7095 (frameset-valid-p): Use normal accessors.
7096
7097 2013-08-13 Glenn Morris <rgm@gnu.org>
7098
7099 * progmodes/compile.el (compile-command): Tweak example in doc.
7100 * obsolete/scribe.el (scribe-mode):
7101 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7102
7103 * mail/feedmail.el (feedmail-confirm-outgoing)
7104 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7105
7106 * cus-start.el (truncate-partial-width-windows): Fix type.
7107
7108 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7109
7110 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7111
7112 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * emacs-lisp/timer.el (timer--time-setter): New function.
7115 (timer--time): Use it as gv-setter.
7116
7117 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7118 setter is not a symbol.
7119
7120 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7121
7122 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7123 if sending fails. This makes debugging easier.
7124
7125 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7126
7127 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7128 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7129 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7130
7131 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7132
7133 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7134
7135 2013-08-12 Glenn Morris <rgm@gnu.org>
7136
7137 * format.el (format-annotate-function):
7138 Handle read-only text properties in the source. (Bug#14887)
7139
7140 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
7142 * net/eww.el (eww-display-html): Ignore coding system errors.
7143 One web site uses "utf-8lias" as the coding system.
7144
7145 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7148
7149 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7150
7151 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7152 (tutorial--detailed-help): Remove unused local variables.
7153 (tutorial--save-tutorial-to): Use ignore-errors.
7154 (help-with-tutorial): Use looking-at-p.
7155
7156 * view.el (view-buffer-other-window, view-buffer-other-frame):
7157 Mark unused arguments.
7158
7159 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7160 (woman-select-symbol-fonts, woman, woman-find-file)
7161 (woman-insert-file-contents, woman-non-underline-faces):
7162 Use string-match-p.
7163 (woman1-unquote): Move declaration.
7164
7165 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7166 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7167 argument. Remove unused local variable.
7168 (xml-parse-elem-type): Use string-match-p.
7169 (xml-substitute-numeric-entities): Use ignore-errors.
7170
7171 * calculator.el (calculator): Mark unused argument.
7172 (calculator-paste, calculator-quit, calculator-integer-p):
7173 Use ignore-errors.
7174 (calculator-string-to-number, calculator-decimal, calculator-exp)
7175 (calculator-op-or-exp): Use string-match-p.
7176
7177 * dired.el (dired-buffer-more-recently-used-p): Declare.
7178 (dired-insert-set-properties, dired-insert-old-subdirs):
7179 Use ignore-errors.
7180
7181 * dired-aux.el (dired-compress): Use ignore-errors.
7182 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7183 (dired-do-async-shell-command, dired-do-shell-command)
7184 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7185 (dired-insert-subdir-validate): Use string-match-p.
7186 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7187 (dired-add-entry): Use string-match-p, looking-at-p.
7188 (dired-insert-subdir-newpos): Remove unused local variable.
7189
7190 * filenotify.el (file-notify-callback): Remove unused local variable.
7191
7192 * filesets.el (filesets-error): Mark unused argument.
7193 (filesets-which-command-p, filesets-filter-dir-names)
7194 (filesets-directory-files, filesets-get-external-viewer)
7195 (filesets-ingroup-get-data): Use string-match-p.
7196
7197 * find-file.el (ff-other-file-name, ff-other-file-name)
7198 (ff-find-the-other-file, ff-cc-hh-converter):
7199 Remove unused local variables.
7200 (ff-get-file-name): Use string-match-p.
7201 (ff-all-dirs-under): Use ignore-errors.
7202
7203 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7204 (follow-select-if-visible): Remove unused local variable.
7205
7206 * forms.el (read-file-filter): Move declaration.
7207 (forms--make-format, forms--make-parser, forms-insert-record):
7208 Quote function with #'.
7209 (forms--update): Use string-match-p. Quote function with #'.
7210
7211 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7212 (help-make-xrefs): Use looking-at-p.
7213 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7214
7215 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7216 (ibuffer-confirm-operation-on): Use string-match-p.
7217
7218 * msb.el (msb-item-handler, msb-dired-item-handler):
7219 Mark unused arguments.
7220
7221 * ses.el (ses-decode-cell-symbol)
7222 (ses-kill-override): Remove unused local variable.
7223 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7224 (ses-load): Use ignore-errors, looking-at-p.
7225 (ses-jump-safe): Use ignore-errors.
7226 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7227
7228 * tabify.el (untabify, tabify): Mark unused arguments.
7229
7230 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7231 Mark unused argument.
7232 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7233 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7234
7235 * emacs-lisp/timer.el (timer--time): Define setter with
7236 gv-define-setter to avoid deprecation warning.
7237
7238 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7239 (*record-cmpl-statistics-p*): Remove (was commented out).
7240 (cmpl-statistics-block): Remove (body was commented out).
7241 All callers changed.
7242 (add-completions-from-buffer, load-completions-from-file):
7243 Remove unused variables.
7244
7245 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7246
7247 * filecache.el (file-cache-delete-file-list):
7248 Print message only when told so.
7249 (file-cache-files-matching): Use #' in mapconcat argument.
7250
7251 * ffap.el (ffap-url-at-point): Fix reference to variable
7252 thing-at-point-default-mail-uri-scheme.
7253
7254 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * subr.el (define-error): New function.
7257 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7258 error-file-not-found and define with define-error.
7259 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7260 and define with define-error.
7261 * userlock.el (file-locked, file-supersession):
7262 * simple.el (mark-inactive):
7263 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7264 * progmodes/ada-mode.el (ada-mode-errors):
7265 * play/life.el (life-extinct):
7266 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7267 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7268 * nxml/rng-util.el (rng-error):
7269 * nxml/rng-uri.el (rng-uri-error):
7270 * nxml/rng-match.el (rng-compile-error):
7271 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7272 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7273 * nxml/nxml-rap.el (nxml-scan-error):
7274 * nxml/nxml-outln.el (nxml-outline-error):
7275 * net/soap-client.el (soap-error):
7276 * net/gnutls.el (gnutls-error):
7277 * net/ange-ftp.el (ftp-error):
7278 * mpc.el (mpc-proc-error):
7279 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7280 (json-number-format, json-string-escape, json-string-format)
7281 (json-key-format, json-object-format):
7282 * jka-compr.el (compression-error):
7283 * international/quail.el (quail-error):
7284 * international/kkc.el (kkc-error):
7285 * emacs-lisp/ert.el (ert-test-failed):
7286 * calc/calc.el (calc-error, inexact-result, math-overflow)
7287 (math-underflow):
7288 * bookmark.el (bookmark-error-no-filename):
7289 * epg.el (epg-error): Define with define-error.
7290
7291 * time.el (display-time-event-handler)
7292 (display-time-next-load-average): Don't call sit-for since it seems
7293 unnecessary (bug#15045).
7294
7295 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7296 Use #' instead of ' to quote functions.
7297 (checkdoc-output-mode): Use setq-local.
7298 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7299 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7300 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7301 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7302 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7303 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7304 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7305 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7306
7307 * ido.el (ido-completion-help): Fix up compiler warning.
7308
7309 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7310
7311 * frameset.el (frameset-p): Add autoload cookie.
7312 (frameset--jump-to-register): New function, based on code moved from
7313 register.el.
7314 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7315
7316 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7317 (frameset-restore, frameset-save, frameset-session-filter-alist):
7318 Remove declarations.
7319 (register-alist): Doc fix.
7320 (frameset-to-register): Move to frameset.el.
7321 (jump-to-register, describe-register-1): Remove frameset-specific code.
7322
7323 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * allout-widgets.el (allout-widgets-pre-command-business)
7326 (allout-widgets-post-command-business)
7327 (allout-widgets-after-change-handler)
7328 (allout-decorate-item-and-context, allout-set-boundary-marker)
7329 (allout-body-modification-handler)
7330 (allout-graphics-modification-handler): Mark ignored arguments.
7331 (allout-widgets-post-command-business)
7332 (allout-widgets-exposure-change-processor)
7333 (allout-widgets-exposure-undo-processor)
7334 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7335 (allout-parse-item-at-point, allout-decorate-item-guides)
7336 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7337 * allout.el (epa-passphrase-callback-function): Declare.
7338 (allout-overlay-insert-in-front-handler)
7339 (allout-overlay-interior-modification-handler)
7340 (allout-isearch-end-handler, allout-chart-siblings)
7341 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7342 (allout-yank-processing, allout-process-exposed)
7343 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7344 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7345 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7346 (lisp-indent-defform): Mark ignored arguments.
7347 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7348 (calculate-lisp-indent): Remove unused variables.
7349 * international/characters.el (indian-2-column, arabic-2-column)
7350 (tibetan): Mark ignored arguments.
7351 (use-cjk-char-width-table): Mark ignored arguments.
7352 Remove unused variables.
7353 * international/fontset.el (build-default-fontset-data)
7354 (x-compose-font-name, create-fontset-from-fontset-spec):
7355 Mark ignored arguments.
7356 (fontset-plain-name): Remove unused variables.
7357 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7358 (keyboard-coding-system): Mark ignored arguments.
7359 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7360 * help.el (resize-temp-buffer-window):
7361 * window.el (display-buffer-in-major-side-window)
7362 (display-buffer-in-side-window, display-buffer-in-previous-window):
7363 Remove unused variables.
7364 * isearch.el (isearch-forward-symbol):
7365 * version.el (emacs-bzr-version-bzr):
7366 * international/mule-cmds.el (current-language-environment):
7367 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7368 (x-handle-display):
7369 * term/pc-win.el (x-list-fonts, x-display-planes)
7370 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7371 (x-server-version, x-display-screens, x-display-mm-height)
7372 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7373 (x-selection-owner-p, x-own-selection-internal)
7374 (x-disown-selection-internal, x-get-selection-internal)
7375 (msdos-initialize-window-system):
7376 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7377 * term/x-win.el (x-handle-no-bitmap-icon):
7378 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7379 (vc-default-find-file-hook, vc-default-extra-menu):
7380 Mark ignored arguments.
7381
7382 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7385 break-condition in the context of the debugged code (bug#12685).
7386
7387 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7388
7389 * comint.el:
7390 Do not use an overlay to highlight the last prompt. (Bug#14744)
7391 (comint-mode): Make comint-last-prompt buffer local.
7392 (comint-last-prompt): New variable.
7393 (comint-last-prompt-overlay): Remove. Superseded by
7394 comint-last-prompt.
7395 (comint-snapshot-last-prompt, comint-output-filter):
7396 Use comint-last-prompt.
7397
7398 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7401 (frameset-save): Check validity of the resulting frameset.
7402
7403 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7404
7405 * ido.el (ido-record-command): Add doc string.
7406
7407 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7408
7409 * frameset.el (frameset): Do not disable creation of the default
7410 frameset-p predicate. Doc fix.
7411 (frameset-valid-p): New function, copied from the old predicate-p.
7412 Add additional checks.
7413 (frameset-restore): Check with frameset-valid-p.
7414 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7415 (frameset-name, frameset-description, frameset-properties)
7416 (frameset-states): Add docstring.
7417 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7418 (frameset-filter-alist): Doc fixes.
7419
7420 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7421
7422 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7423
7424 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7427 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7428 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7429 (byte-compile-normal-call): Remove obsolescence check.
7430
7431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * frameset.el (frameset-restore): Doc fix.
7434
7435 * register.el (frameset-frame-id, frameset-frame-with-id)
7436 (frameset-p, frameset-restore, frameset-save): Declare.
7437 (register-alist): Document framesets.
7438 (frameset-session-filter-alist): Declare.
7439 (frameset-to-register): New function.
7440 (jump-to-register): Implement jumping to framesets. Doc fix.
7441 (describe-register-1): Describe framesets.
7442
7443 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7444
7445 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7446
7447 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7448 Use lexical-binding.
7449
7450 * frameset.el (frameset): Use type vector, not list (incompatible
7451 change). Do not declare a new constructor, use the default one.
7452 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7453 `name' and `description', respectively, and add read-only slot
7454 `timestamp'. Doc fixes.
7455 (frameset-copy, frameset-persistent-filter-alist)
7456 (frameset-filter-alist, frameset-switch-to-gui-p)
7457 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7458 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7459 (frameset-filter-iconified, frameset-keep-original-display-p):
7460 Doc fixes.
7461 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7462 Rename from frameset-filter-(save|restore)-param. All callers changed.
7463 Doc fix.
7464 (frameset-p): Adapt to change to vector and be more thorough.
7465 Change arg name to OBJECT. Doc fix.
7466 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7467 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7468 All callers changed.
7469 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7470 All callers changed.
7471 (frameset--record-minibuffer-relationships): Rename from
7472 frameset--process-minibuffer-frames. All callers changed.
7473 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7474 Use new default constructor (again). Doc fix.
7475 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7476 All callers changed.
7477 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7478 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7479 Doc fix.
7480 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7481 PARAMETERS and WINDOW-STATE, respectively.
7482 (frameset-restore): Add new keyword argument PREDICATE.
7483 Reset frameset--target-display to nil. Doc fix.
7484
7485 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7488 (bat-mode): Use it.
7489 (bat-mode-syntax-table): Mark \n as end-of-comment.
7490 (bat-font-lock-keywords): Remove comment rule.
7491
7492 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7493 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7494
7495 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7496 (byte-compile-callargs-warn): Use `push'.
7497 (byte-compile-arglist-warn): Ignore higher-order "calls".
7498 (byte-compile-file-form-autoload): Use `pcase'.
7499 (byte-compile-function-form): If quoting a symbol, check that it exists.
7500
7501 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7502
7503 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7504 and add a few popular commands found in batch files.
7505 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7506 (dos-mode): Doc fixes.
7507
7508 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7511 (dos-mode): Use setq-local. Add space after "rem".
7512 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7513 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7514
7515 2013-08-07 Arni Magnusson <arnima@hafro.is>
7516
7517 * progmodes/dos.el: New file.
7518 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7519 dos-mode.
7520
7521 2013-08-06 Glenn Morris <rgm@gnu.org>
7522
7523 * calendar/calendar.el: Add new faces, and day-header-array.
7524 (calendar-weekday-header, calendar-weekend-header)
7525 (calendar-month-header): New faces.
7526 (calendar-day-header-construct): New function.
7527 (calendar-day-header-width): Also :set calendar-day-header-array.
7528 (calendar-american-month-header, calendar-european-month-header)
7529 (calendar-iso-month-header): Use calendar- faces.
7530 (calendar-generate-month):
7531 Use calendar-day-header-array for day headers; apply faces to them.
7532 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7533 (calendar-abbrev-construct): Add optional maxlen argument.
7534 (calendar-day-name-array): Doc fix.
7535 (calendar-day-name-array, calendar-abbrev-length)
7536 (calendar-day-abbrev-array):
7537 Also :set calendar-day-header-array, and maybe redraw.
7538 (calendar-day-header-array): New option. (Bug#15007)
7539 (calendar-font-lock-keywords): Set to nil and make obsolete.
7540 (calendar-day-name): Add option to use header array.
7541
7542 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
7544 * net/shr.el (shr-render-td): Remove debugging.
7545 (shr-render-td): Make width computation consistent by defaulting
7546 all zero-width columns to 10 characters. This may not be optimal,
7547 but it's at least consistent.
7548 (shr-make-table-1): Redo last change to fix the real problem in
7549 colspan handling.
7550
7551 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7552
7553 * files.el (cache-long-line-scans):
7554 Make obsolete alias to `cache-long-scans'.
7555
7556 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7557
7558 * frameset.el (frameset, frameset-filter-alist)
7559 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7560 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7561 (frameset-compute-pos): Rename from frameset--compute-pos,
7562 and add docstring.
7563 (frameset-move-onscreen): Use frameset-compute-pos.
7564 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7565
7566 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7567 Fix typos in docstrings.
7568
7569 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7570
7571 * frame.el (get-other-frame): Tiny cleanup.
7572
7573 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7574
7575 * vc/vc.el (vc-default-ignore-completion-table):
7576 Silence byte-compiler warning.
7577
7578 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7579 slot, which can indeed be nil.
7580 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7581 Move entry for `left' from persistent to live filter alist.
7582 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7583 Doc fixes.
7584 (frameset-filter-params): When restoring a frame, copy items added to
7585 `filtered', to avoid unwittingly modifying the original parameters.
7586 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7587 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7588
7589 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7590 to use looking-at-p instead of looking-at. (Bug#15028)
7591
7592 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 Revert introduction of isearch-filter-predicates (bug#14714).
7595 Rely on add-function instead.
7596 * isearch.el (isearch-filter-predicates): Rename it back to
7597 isearch-filter-predicate.
7598 (isearch-message-prefix): Use advice-function-mapc and advice
7599 properties to get the isearch-message-prefix.
7600 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7601 instead of run-hook-with-args-until-failure.
7602 (isearch-filter-visible): Not obsolete any more.
7603 * loadup.el: Preload nadvice.
7604 * replace.el (perform-replace): Revert to funcall
7605 instead of run-hook-with-args-until-failure.
7606 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7607 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7608 dired-isearch-filenames-toggle; make it into a proper minor mode.
7609 Use add/remove-function.
7610 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7611 Call the minor-mode rather than add/remove-hook.
7612 (dired-isearch-filter-filenames):
7613 Remove isearch-message-prefix property.
7614 * info.el (Info--search-loop): New function, extracted from Info-search.
7615 Funcall isearch-filter-predicate instead of
7616 run-hook-with-args-until-failure isearch-filter-predicates.
7617 (Info-search): Use it.
7618 (Info-mode): Use isearch-filter-predicate instead of
7619 isearch-filter-predicates.
7620
7621 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7622
7623 Do not call to `selected-window' where it is assumed by default.
7624 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7625 `window-hscroll', `window-width', `window-height', `window-buffer',
7626 `window-frame', `window-start', `window-point', `next-window'
7627 and `window-display-table'.
7628 * abbrev.el (abbrev--default-expand):
7629 * bs.el (bs--show-with-configuration):
7630 * buff-menu.el (Buffer-menu-mouse-select):
7631 * calc/calc.el (calc):
7632 * calendar/calendar.el (calendar-generate-window):
7633 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7634 (diary-make-entry):
7635 * comint.el (send-invisible, comint-dynamic-complete-filename)
7636 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7637 * completion.el (complete):
7638 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7639 * disp-table.el (describe-current-display-table):
7640 * doc-view.el (doc-view-insert-image):
7641 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7642 * ehelp.el (with-electric-help):
7643 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7644 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7645 * emacs-lisp/helper.el (Helper-help-scroller):
7646 * emulation/cua-base.el (cua--post-command-handler-1):
7647 * eshell/esh-mode.el (eshell-output-filter):
7648 * ffap.el (ffap-gnus-wrapper):
7649 * help-macro.el (make-help-screen):
7650 * hilit-chg.el (highlight-compare-buffers):
7651 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7652 * hl-line.el (global-hl-line-highlight):
7653 * icomplete.el (icomplete-simple-completing-p):
7654 * isearch.el (isearch-done):
7655 * jit-lock.el (jit-lock-stealth-fontify):
7656 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7657 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7658 * mpc.el (mpc-tagbrowser, mpc):
7659 * net/rcirc.el (rcirc-any-buffer):
7660 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7661 * play/landmark.el (landmark-max-width, landmark-max-height):
7662 * play/zone.el (zone):
7663 * progmodes/compile.el (compilation-goto-locus):
7664 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7665 * progmodes/etags.el (find-tag-other-window):
7666 * progmodes/fortran.el (fortran-column-ruler):
7667 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7668 * progmodes/verilog-mode.el (verilog-point-text):
7669 * reposition.el (reposition-window):
7670 * rot13.el (toggle-rot13-mode):
7671 * server.el (server-switch-buffer):
7672 * shell.el (shell-dynamic-complete-command)
7673 (shell-dynamic-complete-environment-variable):
7674 * simple.el (insert-buffer, set-selective-display)
7675 (delete-completion-window):
7676 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7677 (speedbar-recenter):
7678 * startup.el (fancy-splash-head):
7679 * textmodes/ispell.el (ispell-command-loop):
7680 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7681 * tutorial.el (help-with-tutorial):
7682 * vc/add-log.el (add-change-log-entry):
7683 * vc/compare-w.el (compare-windows):
7684 * vc/ediff-help.el (ediff-indent-help-message):
7685 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7686 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7687 (ediff-setup-control-frame):
7688 * vc/emerge.el (emerge-position-region):
7689 * vc/pcvs-util.el (cvs-bury-buffer):
7690 * window.el (walk-windows, mouse-autoselect-window-select):
7691 * winner.el (winner-set-conf, winner-undo): Related users changed.
7692
7693 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7694
7695 * frameset.el (frameset--set-id): Doc fix.
7696 (frameset-frame-id, frameset-frame-id-equal-p)
7697 (frameset-locate-frame-id): New functions.
7698 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7699 (frameset-restore): Use them.
7700
7701 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7702
7703 Do not call to `selected-frame' where it is assumed by default.
7704 Affected functions are `raise-frame', `redraw-frame',
7705 `frame-first-window', `frame-terminal' and `delete-frame'.
7706 * calendar/appt.el (appt-disp-window):
7707 * epg.el (epg-wait-for-completion):
7708 * follow.el (follow-delete-other-windows-and-split)
7709 (follow-avoid-tail-recenter):
7710 * international/mule.el (set-terminal-coding-system):
7711 * mail/rmail.el (rmail-mail-return):
7712 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7713 * progmodes/f90.el (f90-add-imenu-menu):
7714 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7715 * server.el (server-switch-buffer):
7716 * simple.el (delete-completion-window):
7717 * talk.el (talk):
7718 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7719 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7720 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7721 * vc/ediff.el (ediff-documentation): Related users changed.
7722 * frame.el (selected-terminal): Remove the leftover.
7723
7724 2013-08-05 Glenn Morris <rgm@gnu.org>
7725
7726 * calendar/calendar.el (calendar-generate-month):
7727 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7728 (calendar-generate-month, calendar-font-lock-keywords):
7729 Fix for calendar-day-header-width > length of any day name.
7730
7731 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7732
7733 * desktop.el (desktop-clear): Use new name of sort predicate.
7734
7735 * frameset.el (frameset): Add docstring. Move :version property to its
7736 own `version' slot.
7737 (frameset-copy): Rename from copy-frameset.
7738 (frameset-p): Check more thoroughly.
7739 (frameset-prop): Do not check for :version, which is no longer a prop.
7740 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7741 Use new :never value instead of t.
7742 (frameset-filter-alist): Expand and clarify docstring.
7743 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7744 (frameset-filter-minibuffer, frameset-filter-save-param)
7745 (frameset-filter-restore-param, frameset-filter-iconified):
7746 Add pointer to docstring of frameset-filter-alist.
7747 (frameset-filter-params): Rename filter values to be more meaningful:
7748 :never instead of t, and reverse the meanings of :save and :restore.
7749 (frameset--process-minibuffer-frames): Clarify error message.
7750 (frameset-save): Avoid unnecessary and confusing call to framep.
7751 Use new BOA constructor for framesets.
7752 (frameset--reuse-list): Doc fix.
7753 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7754 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7755 (frameset-minibufferless-first-p): Doc fix.
7756 Rename from frameset-sort-frames-for-deletion.
7757 (frameset-restore): Doc fixes. Use new function names.
7758 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7759
7760 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * desktop.el (desktop-restore-forces-onscreen)
7763 (desktop-restore-reuses-frames): Document :keyword constant values.
7764 (desktop-filter-parameters-alist): Remove, now identical to
7765 frameset-filter-alist.
7766 (desktop--filter-tty*): Remove, moved to frameset.el.
7767 (desktop-save-frameset, desktop-restore-frameset):
7768 Do not pass :filters argument.
7769
7770 * frameset.el (frameset-live-filter-alist)
7771 (frameset-persistent-filter-alist): New variables.
7772 (frameset-filter-alist): Use them. Add autoload cookie.
7773 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7774 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7775 `frameset--id' (it's supposed to be internal to frameset.el).
7776 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7777 (frameset--initial-params): New function.
7778 (frameset--get-frame): Use it. Doc fix.
7779 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7780 Accept :all, not 'all.
7781 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7782 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7783 with fbound symbols. Fix frame id matching, and remove matching ids if
7784 the frame being restored is deleted. Obey :delete.
7785
7786 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * subr.el (macrop): New function.
7789 (text-clone--maintaining): New var.
7790 (text-clone--maintain): Rename from text-clone-maintain. Use it
7791 instead of inhibit-modification-hooks.
7792
7793 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7794 a proxy, so as handle autoloads and redefinitions of the target.
7795 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7796
7797 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7798 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7799 (pcase--mutually-exclusive-p): New function.
7800 (pcase--split-consp): Use it.
7801 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7802 mutually exclusive with the current predicate.
7803
7804 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7805 (edebug-macrop): Remove. Use `macrop' instead.
7806 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7807 (ad-macro-p):
7808 * eshell/esh-cmd.el (eshell-macrop):
7809 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7810
7811 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7814 (advice-mapc): New function, using it.
7815 (advice-function-member-p): New function.
7816 (advice--normalize): Store the cdr in advice--saved-rewrite since
7817 that's the part that will be changed.
7818 (advice--symbol-function): New function.
7819 (advice-remove): Handle removal before the function is defined.
7820 Adjust to new advice--saved-rewrite.
7821 (advice-member-p): Use advice-function-member-p and
7822 advice--symbol-function.
7823
7824 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7825
7826 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7827 (frameset-filter-minibuffer): Doc fix.
7828 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7829 (frameset--set-id, frameset--process-minibuffer-frames)
7830 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7831 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7832
7833 * desktop.el (desktop-clear): Only delete frames when called
7834 interactively and desktop-restore-frames is non-nil. Doc fix.
7835 (desktop-read): Set desktop-saved-frameset to nil.
7836
7837 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7838
7839 * vc/vc.el (vc-ignore): Rewrite.
7840 (vc-default-ignore-completion-table):
7841 (vc--read-lines):
7842 (vc--add-line, vc--remove-regexp): New functions.
7843
7844 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7845 (vc-svn-ignore-completion-table): New function.
7846
7847 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7848 (vc-hg-ignore-completion-table):
7849 (vc-hg-find-ignore-file): New functions.
7850
7851 * vc/vc-git.el (vc-git-ignore): Rewrite.
7852 (vc-git-ignore-completion-table):
7853 (vc-git-find-ignore-file): New functions.
7854
7855 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7856
7857 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7858 (vc-bzr-ignore-completion-table):
7859 (vc-bzr-find-ignore-file): New functions.
7860
7861 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * frameset.el (frameset-prop): New function and setter.
7864 (frameset-save): Do not modify frame list passed by the caller.
7865
7866 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7869
7870 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7873 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7874
7875 * custom.el (custom-initialize-default, custom-initialize-set)
7876 (custom-initialize-reset, custom-initialize-changed): Affect the
7877 toplevel-default-value (bug#6275, bug#14586).
7878 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7879 for bug#6275.
7880
7881 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7882
7883 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7884 Add cl-def* expressions.
7885
7886 * frameset.el (frameset-filter-params): Fix order of arguments.
7887
7888 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7889
7890 Move code related to saving frames to frameset.el.
7891 * desktop.el: Require frameset.
7892 (desktop-restore-frames): Doc fix.
7893 (desktop-restore-reuses-frames): Rename from
7894 desktop-restoring-reuses-frames.
7895 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7896 (desktop-clear): Clear frames too.
7897 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7898 (desktop--filter-tty*, desktop-save, desktop-read):
7899 Use frameset functions.
7900 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7901 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7902 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7903 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7904 (desktop--process-minibuffer-frames, desktop-save-frames)
7905 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7906 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7907 (desktop--sort-states, desktop-restoring-frames-p)
7908 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7909 (desktop-restoring-frameset-p, desktop-restore-frameset)
7910 (desktop--check-dont-save, desktop-save-frameset): New functions.
7911 (desktop--app-id): New constant.
7912 (desktop-first-buffer, desktop-buffer-ok-count)
7913 (desktop-buffer-fail-count): Move before first use.
7914 * frameset.el: New file.
7915
7916 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * files.el: Use lexical-binding.
7919 (dir-locals-read-from-file): Remove unused `err' variable.
7920 (hack-dir-local-variables--warned-coding): New var.
7921 (hack-dir-local-variables): Use it to avoid repeated warnings.
7922 (make-backup-file-name--default-function): New function.
7923 (make-backup-file-name-function): Use it as default.
7924 (buffer-stale--default-function): New function.
7925 (buffer-stale-function): Use it as default.
7926 (revert-buffer-insert-file-contents--default-function): New function.
7927 (revert-buffer-insert-file-contents-function): Use it as default.
7928 (insert-directory): Avoid add-to-list.
7929
7930 * autorevert.el (auto-revert-handler): Simplify.
7931 Use buffer-stale--default-function.
7932
7933 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7934
7935 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7936
7937 * whitespace.el (whitespace-ensure-local-variables): New function.
7938 (whitespace-cleanup-region): Call it.
7939 (whitespace-turn-on): Call it.
7940
7941 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7942
7943 Complete file name handlers.
7944
7945 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7946 (tramp-handle-verify-visited-file-modtime)
7947 (tramp-handle-file-notify-rm-watch): New functions.
7948 (tramp-call-process): Do not bind `default-directory'.
7949
7950 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7951 Order alphabetically.
7952 <access-file, add-name-to-file, dired-call-process>:
7953 <dired-compress-file, file-acl, file-notify-rm-watch>:
7954 <file-ownership-preserved-p, file-selinux-context>:
7955 <make-directory-internal, make-symbolic-link, set-file-acl>:
7956 <set-file-selinux-context, set-visited-file-modtime>:
7957 <verify-visited-file-modtime>: Add handler.
7958 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7959
7960 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7961 <file-notify-add-watch, file-notify-rm-watch>:
7962 <set-file-times, set-visited-file-modtime>:
7963 <verify-visited-file-modtime>: Add handler.
7964 (with-tramp-gvfs-error-message)
7965 (tramp-gvfs-handle-set-visited-file-modtime)
7966 (tramp-gvfs-fuse-file-name): Remove.
7967 (tramp-gvfs-handle-file-notify-add-watch)
7968 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7969 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7970
7971 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7972 Order alphabetically.
7973 <file-notify-rm-watch>: Use default Tramp handler.
7974 <executable-find>: Remove private handler.
7975 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7976 `default-directory'.
7977 (tramp-sh-handle-executable-find)
7978 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7979 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7980 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7981 Do not use `format' in `tramp-message'.
7982
7983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7984 <file-notify-rm-watch, set-visited-file-modtime>:
7985 <verify-visited-file-modtime>: Add handler.
7986 (tramp-smb-call-winexe): Do not bind `default-directory'.
7987
7988 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7989
7990 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7991
7992 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7993
7994 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7995 use it.
7996 (log-view-diff-changeset): Same.
7997 (log-view-diff-common): Call backend command `previous-revision'
7998 to find out the previous revision, in both cases. Swap the
7999 variables `to' and `fr', so that `fr' usually refers to the
8000 earlier revision (Bug#14989).
8001
8002 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8003
8004 * ibuf-ext.el (ibuffer-filter-by-filename):
8005 Make it work with dired buffers too.
8006
8007 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8008
8009 * emacs-lisp/re-builder.el (reb-color-display-p):
8010 * files.el (save-buffers-kill-terminal):
8011 * net/browse-url.el (browse-url):
8012 * server.el (server-save-buffers-kill-terminal):
8013 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8014 Prefer nil to selected-frame for the first arg of frame-parameter.
8015
8016 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8017
8018 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8019
8020 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8021
8022 * minibuffer.el (completion--twq-all): Try and preserve each
8023 completion's case choice (bug#14907).
8024
8025 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026
8027 * net/network-stream.el (open-network-stream): Mention the new
8028 :nogreeting parameter.
8029 (network-stream-open-starttls): Use the :nogreeting parameter
8030 (bug#14938).
8031
8032 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8033
8034 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8035 more natural than popping.
8036
8037 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8038 (shr-urlify): Highlight under mouse.
8039
8040 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8041
8042 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8043
8044 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8045
8046 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8047 buffer for output.
8048
8049 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8050 point-min==1. Fix search string. Fix parentheses missing.
8051
8052 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8053 assume point-min==1. Fix search string. Fix parentheses missing.
8054
8055 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8056
8057 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8058 buffer for output.
8059
8060 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8061
8062 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8063 initial frame is minibuffer-less. (Bug#14841)
8064
8065 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8066
8067 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8068 option.
8069
8070 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8071 (tramp-maybe-open-connection): Use it.
8072
8073 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8076 minimal set of parameters passed when creating a frame, because
8077 the minibuffer status of a frame cannot be changed later.
8078
8079 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8080
8081 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8082 replace-regexp-in-string and inadvertent omissions in previous change.
8083 (todo-filter-items): Ensure only file names are comma-separated in
8084 name of filtered items buffer.
8085
8086 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * desktop.el: Optionally force offscreen frames back onscreen.
8089 (desktop-restoring-reuses-frames): New option.
8090 (desktop--compute-pos, desktop--move-onscreen): New functions.
8091 (desktop--make-frame): Use desktop--move-onscreen.
8092
8093 2013-07-27 Alan Mackenzie <acm@muc.de>
8094
8095 Fontify a Java generic method as a function.
8096 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8097 value to t.
8098
8099 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8100
8101 * calendar/todo-mode.el: Add command to rename todo files.
8102 (todo-rename-file): New command.
8103 (todo-key-bindings-t): Add key binding for it. Change the
8104 bindings of todo-filter-regexp-items(-multifile) to use `x'
8105 instead of `r', since the latter is better suited to the new
8106 renaming command.
8107
8108 2013-07-27 Alan Mackenzie <acm@muc.de>
8109
8110 Make Java try-with-resources statement parse properly.
8111 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8112 (c-block-stmt-1-2-key): New language constants/variables.
8113 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8114 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8115 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8116 with c-block-stmt-1-2-key.
8117
8118 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8119
8120 * desktop.el (desktop--make-frame): Apply most frame parameters after
8121 creating the frame to force (partially or totally) offscreen frames to
8122 be restored as such.
8123
8124 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8125
8126 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8127 (Bug#14948)
8128
8129 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8132 `base' arg of backtrace-frame.
8133
8134 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8135
8136 * simple.el (list-processes): Doc fix.
8137
8138 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8139
8140 * desktop.el (desktop--select-frame):
8141 Try harder to reuse existing frames.
8142
8143 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8146 (edebug-eval): Use backtrace-eval.
8147 (edebug--display, edebug--recursive-edit): Don't let-bind the
8148 edebug-outer-* vars that keep track of variables we locally let-bind.
8149 (edebug-outside-excursion): Don't restore outside values of locally
8150 let-bound vars.
8151 (edebug--display): Use user-error.
8152 (cl-lexical-debug, cl-debug-env): Remove.
8153
8154 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8155
8156 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8157 are restored to be sure that they are visible before deleting any
8158 remaining ones.
8159
8160 2013-07-26 Matthias Meulien <orontee@gmail.com>
8161
8162 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8163 vc-print-root-log. (Bug#14948)
8164
8165 2013-07-26 Richard Stallman <rms@gnu.org>
8166
8167 Add aliases for encrypting mail.
8168 * epa.el (epa-mail-aliases): New option.
8169 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8170 Bind inhibit-read-only so read-only text doesn't ruin everything.
8171 (epa-mail-default-recipients): New subroutine broken out.
8172 Handle epa-mail-aliases.
8173
8174 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 Add support for lexical variables to the debugger's `e' command.
8177 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8178 vars, except for debugger-outer-match-data.
8179 (debugger-frame-number): Move check for "on a function call" from
8180 callers into it. Add `skip-base' argument.
8181 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8182 (debugger-env-macro): Only reset the state stored in non-variables,
8183 i.e. current-buffer and match-data.
8184 (debugger-eval-expression): Rewrite using backtrace-eval.
8185 * subr.el (internal--called-interactively-p--get-frame): Remove.
8186 (called-interactively-p):
8187 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8188 `base' arg of backtrace-frame instead.
8189
8190 2013-07-26 Glenn Morris <rgm@gnu.org>
8191
8192 * align.el (align-regexp): Doc fix. (Bug#14857)
8193 (align-region): Explicit error if subexpression missing/does not match.
8194
8195 * simple.el (global-visual-line-mode):
8196 Do not duplicate the mode lighter. (Bug#14858)
8197
8198 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8199
8200 * window.el (display-buffer): In display-buffer bind
8201 split-window-keep-point to t, bug#14829.
8202
8203 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8206 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8207 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8208 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8209 Change accordingly.
8210 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8211 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8212
8213 2013-07-25 Glenn Morris <rgm@gnu.org>
8214
8215 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8216
8217 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8218
8219 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8220 parameter to modify-frame-parameters if the value has not changed;
8221 this is a workaround for bug#14949.
8222 (desktop--make-frame): On cl-delete-if call, check parameter name,
8223 not full parameter.
8224
8225 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8226
8227 * vc/vc.el (vc-ignore): New function.
8228
8229 * vc/vc-svn.el (vc-svn-ignore): New function.
8230
8231 * vc/vc-hg.el (vc-hg-ignore): New function.
8232
8233 * vc/vc-git.el (vc-git-ignore): New function.
8234
8235 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8236 (vc-dir-ignore): New function.
8237
8238 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8239 (cvs-append-to-ignore): Move here from pcvs.el.
8240
8241 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8242
8243 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8244
8245 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8248 (desktop-restore-frames): Warn when deleting an existing frame failed.
8249
8250 2013-07-24 Glenn Morris <rgm@gnu.org>
8251
8252 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8253
8254 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8255
8256 * filenotify.el (file-notify-supported-p):
8257 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8258 Remove functions.
8259
8260 * autorevert.el (auto-revert-use-notify):
8261 (auto-revert-notify-add-watch):
8262 * net/tramp.el (tramp-file-name-for-operation):
8263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8265 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8266 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8267 Remove `file-notify-supported-p' entry.
8268
8269 2013-07-24 Glenn Morris <rgm@gnu.org>
8270
8271 * printing.el: Replace all uses of deleted ps-windows-system,
8272 ps-lp-system, ps-flatten-list with lpr- versions.
8273
8274 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8277 checked with memq (bug#14935).
8278
8279 * files.el (revert-buffer-function): Use a non-nil default.
8280 (revert-buffer-preserve-modes): Declare var to
8281 provide access to the `preserve-modes' argument.
8282 (revert-buffer): Let-bind it.
8283 (revert-buffer--default): New function, extracted from revert-buffer.
8284
8285 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * lpr.el: Signal print errors more prominently.
8288 (print-region-function): Don't default to nil.
8289 (lpr-print-region): New function, extracted from print-region-1.
8290 Check lpr's return value and signal an error in case of problem.
8291 (print-region-1): Use it.
8292 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8293 versions instead.
8294 (ps-printer-name): Default to nil.
8295 (ps-printer-name-option): Default to lpr-printer-switch.
8296 (ps-print-region-function): Don't default to nil.
8297 (ps-postscript-code-directory): Simplify default.
8298 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8299 (ps-string-list, ps-eval-switch, ps-flatten-list)
8300 (ps-flatten-list-1): Remove.
8301 (ps-multibyte-buffer): Avoid setq.
8302 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8303 (print-region-function, ps-print-region-function): Don't set them here.
8304
8305 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8306
8307 * ido.el (ido-fractionp):
8308 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8309 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8310 (ido-max-directory-size, ido-max-dir-file-cache)
8311 (ido-decorations): Doc fix.
8312
8313 * ansi-color.el: Fix old URL.
8314
8315 2013-07-23 Michael R. Mauger <michael@mauger.com>
8316
8317 * progmodes/sql.el: Version 3.3
8318 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8319 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8320 (sql-interactive-remove-continuation-prompt): Rewrite, use
8321 functions above. Fix continuation prompt and complete output line
8322 handling.
8323 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8324 redirected output buffer.
8325 (sql-mode): Restore deleted code (Bug#13591).
8326
8327 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8330
8331 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8332
8333 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8334
8335 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8338
8339 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8340
8341 * desktop.el (desktop-clear): Simplify; remove useless checks
8342 against invalid buffer names.
8343 (desktop-list*): Use cl-list*.
8344 (desktop-buffer-info, desktop-create-buffer): Simplify.
8345
8346 2013-07-23 Leo Liu <sdl.web@gmail.com>
8347
8348 * bookmark.el (bookmark-make-record): Restore NAME as a default
8349 value. (Bug#14933)
8350
8351 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8354 extracted from autoload--insert-text.
8355 (autoload--insert-text): Remove.
8356 (autoload--print-cookie-text): New function, extracted from
8357 autoload--insert-cookie-text.
8358 (autoload--insert-cookie-text): Remove.
8359 (autoload-generate-file-autoloads): Adjust calls accordingly.
8360
8361 * winner.el (winner-hook-installed-p): Remove.
8362 (winner-mode): Simplify accordingly.
8363
8364 * subr.el (add-to-list): Fix compiler-macro when `append' is
8365 not constant. Don't use `cl-member' for the base case.
8366
8367 * progmodes/subword.el: Fix boundary case (bug#13758).
8368 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8369 own group.
8370 (subword-backward-regexp): Make it a constant.
8371 (subword-forward-internal): Don't treat a trailing capital as the
8372 beginning of a word.
8373
8374 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8375
8376 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8377 global value of tabulated-list-revert-hook (bug#14930).
8378
8379 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8380
8381 * desktop.el: Require 'cl-lib.
8382 (desktop-before-saving-frames-functions): New hook.
8383 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8384 for frames being saved. Rename from desktop--save-minibuffer-frames.
8385 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8386 Do not save frames with non-nil `desktop-dont-save' parameter.
8387 Filter out deleted frames.
8388 (desktop--find-frame): Use cl-find-if.
8389 (desktop--select-frame): Use cl-(first|second|third) to access values
8390 of desktop-mini.
8391 (desktop--make-frame): Use cl-delete-if.
8392 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8393 (desktop-restore-frames): Use cl-(first|second|third) to access values
8394 of desktop-mini. Look for visible frame at the end, not while
8395 restoring frames.
8396
8397 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8398 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8399 Use string-match-p, looking-at-p (bug#14927).
8400
8401 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8402
8403 * desktop.el (desktop-saved-frame-states):
8404 Rename from desktop--saved-states; all users changed.
8405 (desktop-save-frames): Rename from desktop--save-frames.
8406 Do not save state to desktop file.
8407 (desktop-save): Save desktop-saved-frame-states to desktop file
8408 and reset to nil.
8409 (desktop-restoring-frames-p): New function.
8410 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8411 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8412 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8413
8414 * desktop.el: Correctly restore iconified frames.
8415 (desktop--filter-iconified-position): New function.
8416 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8417
8418 2013-07-20 Glenn Morris <rgm@gnu.org>
8419
8420 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8421 Let `message' do the formatting.
8422 (def-gdb-preempt-display-buffer): Add explicit format.
8423
8424 * image-dired.el (image-dired-track-original-file):
8425 Use with-current-buffer.
8426 (image-dired-track-thumbnail): Use with-current-buffer.
8427 Avoid changing point of wrong window.
8428
8429 * image-dired.el (image-dired-track-original-file):
8430 Avoid changing point of wrong window. (Bug#14909)
8431
8432 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8433
8434 * progmodes/gdb-mi.el (gdb-done-or-error):
8435 Guard against "%" in gdb output. (Bug#14127)
8436
8437 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8438
8439 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8440 (Bug#14826)
8441
8442 * international/mule.el (coding-system-iso-2022-flags): Fix last
8443 change.
8444
8445 2013-07-20 Kenichi Handa <handa@gnu.org>
8446
8447 * international/mule.el (coding-system-iso-2022-flags):
8448 Add `8-bit-level-4'. (Bug#8522)
8449
8450 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8451
8452 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8453 (bug#14815).
8454
8455 * net/eww.el (eww-process-text-input): Allow inputting when the
8456 point is at the start of the line, as the properties aren't
8457 front-sticky.
8458
8459 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8460 degenerate widths.
8461
8462 2013-07-19 Richard Stallman <rms@gnu.org>
8463
8464 * epa.el (epa-popup-info-window): Doc fix.
8465
8466 * subr.el (split-string): New arg TRIM.
8467
8468 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8469
8470 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8471 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8472
8473 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8474
8475 * filenotify.el (file-notify--library): Rename from
8476 `file-notify-support'. Do not autoload. Adapt all uses.
8477 (file-notify-supported-p): New defun.
8478
8479 * autorevert.el (auto-revert-use-notify):
8480 Use `file-notify-supported-p' instead of `file-notify-support'.
8481 Adapt docstring.
8482 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8483
8484 * net/tramp.el (tramp-file-name-for-operation):
8485 Add `file-notify-supported-p'.
8486
8487 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8488 New defun.
8489 (tramp-sh-file-name-handler-alist): Add it as handler for
8490 `file-notify-supported-p '.
8491
8492 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8493 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8494 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8495 Add `ignore' as handler for `file-notify-*' functions.
8496
8497 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8498
8499 * simple.el (line-move-partial, line-move): Don't start vscroll or
8500 scroll-up if the current line is not taller than the window.
8501 (Bug#14881)
8502
8503 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8504
8505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8506 highlight question marks in the method names as strings.
8507 (ruby-block-beg-keywords): Inline.
8508 (ruby-font-lock-keyword-beg-re): Extract from
8509 `ruby-font-lock-keywords'.
8510
8511 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8512
8513 * frame.el (blink-cursor-blinks): New defcustom.
8514 (blink-cursor-blinks-done): New defvar.
8515 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8516 (blink-cursor-timer-function): Check if number of blinks has been
8517 done on X and NS.
8518 (blink-cursor-suspend, blink-cursor-check): New defuns.
8519
8520 2013-07-15 Glenn Morris <rgm@gnu.org>
8521
8522 * edmacro.el (edmacro-format-keys): Fix previous change.
8523
8524 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8525
8526 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8527 The hack didn't work outside English locales anyway.
8528
8529 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * simple.el (define-alternatives): Rename from alternatives-define,
8532 per RMS' suggestion.
8533
8534 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8535
8536 * desktop.el (desktop-restore-frames): Change default to t.
8537 (desktop-restore-in-current-display): Now offer more options.
8538 (desktop-restoring-reuses-frames): New customization option.
8539 (desktop--saved-states): Doc fix.
8540 (desktop-filter-parameters-alist): New variable, renamed and expanded
8541 from desktop--excluded-frame-parameters.
8542 (desktop--target-display): New variable.
8543 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8544 (desktop--filter-tty*, desktop--filter-*-color)
8545 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8546 (desktop--filter-save-desktop-parm)
8547 (desktop-restore-in-original-display-p): New functions.
8548 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8549 (desktop--save-minibuffer-frames): New function, inspired by a similar
8550 function from Martin Rudalics.
8551 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8552 (desktop--restore-in-this-display-p): Remove.
8553 (desktop--find-frame): Rename from desktop--find-frame-in-display
8554 and add predicate argument.
8555 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8556 (desktop--reuse-list): New variable.
8557 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8558 New functions.
8559 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8560
8561 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8562
8563 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8564
8565 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8566
8567 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8568 Highlight conversion methods on Kernel.
8569
8570 2013-07-13 Alan Mackenzie <acm@muc.de>
8571
8572 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8573 and comment it out. This out-commenting enables certain C++
8574 declarations to be parsed correctly.
8575
8576 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8577
8578 * international/mule.el (define-coding-system): Doc fix.
8579
8580 * simple.el (default-font-height): Don't call font-info if the
8581 frame's default font didn't change since the frame was created.
8582 (Bug#14838)
8583
8584 2013-07-13 Leo Liu <sdl.web@gmail.com>
8585
8586 * ido.el (ido-read-file-name): Guard against non-symbol value.
8587
8588 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8589
8590 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8591 in nested defuns.
8592
8593 2013-07-13 Leo Liu <sdl.web@gmail.com>
8594
8595 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8596 ido-set-matches call. (Bug#6852)
8597
8598 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8599
8600 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8601 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8602 Ruby 2.0.
8603 (ruby-font-lock-keywords): Distinguish calls to functions with
8604 module-like names from module references. Highlight character
8605 literals.
8606
8607 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8608
8609 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8610 (gdb-send): Handle continued commands. (Bug#14847)
8611
8612 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8613
8614 * desktop.el (desktop--v2s): Remove unused local variable.
8615 (desktop-save-buffer): Make defvar-local; adjust docstring.
8616 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8617 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8618
8619 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8620
8621 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8622
8623 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8624
8625 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8626 (Bug#14842)
8627
8628 2013-07-12 Glenn Morris <rgm@gnu.org>
8629
8630 * doc-view.el: Require cl-lib at runtime too.
8631 (doc-view-remove-if): Remove.
8632 (doc-view-search-next-match, doc-view-search-previous-match):
8633 Use cl-remove-if.
8634
8635 * edmacro.el: Require cl-lib at runtime too.
8636 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8637 (edmacro-mismatch, edmacro-subseq): Remove.
8638
8639 * shadowfile.el: Require cl-lib.
8640 (shadow-remove-if): Remove.
8641 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8642 Use cl-remove-if.
8643
8644 * wid-edit.el: Require cl-lib.
8645 (widget-choose): Use cl-remove-if.
8646 (widget-remove-if): Remove.
8647
8648 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8649 (ebrowse-delete-if-not): Remove.
8650 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8651 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8652 Use cl-delete-if-not.
8653
8654 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8655
8656 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8657 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8658
8659 2013-07-12 Leo Liu <sdl.web@gmail.com>
8660
8661 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8662
8663 2013-07-11 Glenn Morris <rgm@gnu.org>
8664
8665 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8666 (edebug-gensym-index, edebug-gensym):
8667 Remove reimplementation of cl-gensym.
8668 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8669
8670 * thumbs.el: Require cl-lib at run-time too.
8671 (thumbs-gensym-counter, thumbs-gensym):
8672 Remove reimplementation of cl-gensym.
8673 (thumbs-temp-file): Use cl-gensym.
8674
8675 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8676 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8677 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8678 (ert--union, ert--gensym-counter, ert--gensym-counter)
8679 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8680 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8681 (ert-make-test-unbound, ert--expand-should-1)
8682 (ert--expand-should, ert--should-error-handle-error)
8683 (should-error, ert--explain-equal-rec)
8684 (ert--plist-difference-explanation, ert-select-tests)
8685 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8686 Use cl-lib functions rather than reimplementations.
8687
8688 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8689
8690 * net/tramp.el (tramp-methods): Extend docstring.
8691 (tramp-connection-timeout): New defcustom.
8692 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8693 (with-tramp-progress-reporter): Simplify.
8694 (tramp-process-actions): Improve messages.
8695
8696 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8697 * net/tramp-sh.el (tramp-maybe-open-connection):
8698 Use `tramp-connection-timeout'.
8699 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8700 (Bug#14808)
8701
8702 2013-07-11 Leo Liu <sdl.web@gmail.com>
8703
8704 * ido.el (ido-read-file-name): Conform to the requirements of
8705 read-file-name. (Bug#11861)
8706 (ido-read-directory-name): Conform to the requirements of
8707 read-directory-name.
8708
8709 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * subr.el (delay-warning): New function.
8712
8713 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8714
8715 * simple.el (default-line-height): New function.
8716 (line-move-partial, line-move): Use it instead of computing the
8717 line height inline.
8718 (line-move-partial): Always compute ROWH. If the last line is
8719 partially-visible, but its text is completely visible, allow
8720 cursor to enter such a partially-visible line.
8721
8722 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8723
8724 Improve error messages. (Bug#14808)
8725
8726 * net/tramp.el (tramp-current-connection): New defvar, moved from
8727 tramp-sh.el.
8728 (tramp-message-show-progress-reporter-message): Remove, not
8729 needed anymore.
8730 (tramp-error-with-buffer): Show message in minibuffer.
8731 Discard input before waiting. Reset connection timestamp.
8732 (with-tramp-progress-reporter): Improve messages.
8733 (tramp-process-actions): Use progress reporter. Delete process in
8734 case of error. Improve messages.
8735
8736 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8737 Call `tramp-error-with-buffer' with vector and buffer.
8738 (tramp-current-connection): Remove.
8739 (tramp-maybe-open-connection): The car of
8740 `tramp-current-connection' are the first 3 slots of the vector.
8741
8742 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8743
8744 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8745 inside continued strings.
8746
8747 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8748
8749 Timestamp fixes for undo (Bug#14824).
8750 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8751
8752 2013-07-10 Leo Liu <sdl.web@gmail.com>
8753
8754 * files.el (require-final-newline): Allow safe local value.
8755 (Bug#14834)
8756
8757 2013-07-09 Leo Liu <sdl.web@gmail.com>
8758
8759 * ido.el (ido-read-directory-name): Handle fallback.
8760 (ido-read-file-name): Update DIR to ido-current-directory.
8761 (Bug#1516)
8762 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8763
8764 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8765
8766 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8767 "autoload". Remove "warn lower camel case" section, previously
8768 commented out. Highlight negation char. Do not highlight the
8769 target in singleton method definitions.
8770
8771 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8772
8773 * faces.el (tty-setup-hook): Declare the hook.
8774
8775 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8776 and detect when a guard/pred depends on local vars (bug#14773).
8777 (pcase--u1): Adjust caller.
8778
8779 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8780
8781 * simple.el (line-move-partial, line-move): Account for
8782 line-spacing.
8783 (line-move-partial): Avoid setting vscroll when the last
8784 partially-visible line in window is of default height.
8785
8786 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8787
8788 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8789 been used a while.
8790
8791 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8792
8793 * subr.el (read-quoted-char): Remove unused local variable `char'.
8794
8795 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8796
8797 * ediff.el (ediff-version): Version update.
8798 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8799 (ediff-merge-with-ancestor-command, ediff-directories-command)
8800 (ediff-directories3-command, ediff-merge-directories-command)
8801 (ediff-merge-directories-with-ancestor-command): New functions.
8802 All are command-line interfaces to ediff: to facilitate calling
8803 Emacs with the appropriate ediff functions invoked.
8804
8805 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8806 (viper-save-kill-buffer): Check if buffer is modified.
8807
8808 * viper.el (viper-version): Version update.
8809 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8810
8811 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8814 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8815 (viper-intercept-ESC-key): Simplify.
8816 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8817 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8818 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8819 (viper-setup-ESC-to-escape): New functions.
8820 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8821 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8822
8823 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8824
8825 * simple.el (default-font-height, window-screen-lines):
8826 New functions.
8827 (line-move, line-move-partial): Use them instead of
8828 frame-char-height and window-text-height. This makes scrolling
8829 text smoother when the buffer's default face uses a font that is
8830 different from the frame's default font.
8831
8832 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8833
8834 * files.el (write-file): Do not display confirm dialog for NS,
8835 it does its own dialog, which can't be canceled (Bug#14578).
8836
8837 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8838
8839 * simple.el (line-move-partial): Adjust the row returned by
8840 posn-at-point for the current window-vscroll. (Bug#14567)
8841
8842 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8843
8844 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8845 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8846 spaces.
8847
8848 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8849
8850 * window.el (window-state-put-stale-windows): New variable.
8851 (window--state-put-2): Save list of windows without matching buffer.
8852 (window-state-put): Remove "bufferless" windows if possible.
8853
8854 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8855
8856 * simple.el (alternatives-define): Remove leftover :group keyword.
8857 Tweak docstring.
8858
8859 2013-07-06 Leo Liu <sdl.web@gmail.com>
8860
8861 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8862 (ido-enable-virtual-buffers): New variable.
8863 (ido-buffer-internal, ido-toggle-virtual-buffers)
8864 (ido-make-buffer-list): Use it.
8865 (ido-exhibit): Support turning on and off virtual buffers
8866 automatically.
8867
8868 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8869
8870 * simple.el (alternatives-define): New macro.
8871
8872 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * subr.el (read-quoted-char): Use read-key.
8875 (sit-for): Let read-event decode tty input (bug#14782).
8876
8877 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8878
8879 * calendar/todo-mode.el: Add handling of file deletion, both by
8880 mode command and externally. Fix various related bugs.
8881 Clarify Commentary and improve some documentation strings and code.
8882 (todo-delete-file): New command.
8883 (todo-check-file): New function.
8884 (todo-show): Handle external deletion of the file we're trying to
8885 show (bug#14688). Replace called-interactively-p by an optional
8886 prefix argument to avoid problematic interaction with catch form
8887 when byte compiled (bug#14702).
8888 (todo-quit): Handle external deletion of the archive's todo file.
8889 Make sure the buffer that was visiting the archive file is still
8890 live before trying to bury it.
8891 (todo-category-completions): Handle external deletion of any
8892 category completion files.
8893 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8894 of todo files, in case of external deletion.
8895 (todo-add-file): Replace unnecessary setq by let-binding.
8896 (todo-find-archive): Check whether there are any archives.
8897 Replace unnecessary setq by let-binding.
8898 (todo-archive-done-item): Use find-file-noselect to get the
8899 archive buffer whether or not the archive already exists.
8900 Remove superfluous code. Use file size instead of buffer-file-name to
8901 check if the archive is new; if it is, update list of archives.
8902 (todo-default-todo-file): Allow nil to be a valid value for when
8903 there are no todo files.
8904 (todo-reevaluate-default-file-defcustom): Use corrected definition
8905 of todo-default-todo-file.
8906 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8907 (todo-delete-category, todo-show-categories-table)
8908 (todo-category-number): Clarify comment.
8909 (todo-filter-items): Clarify documentation string.
8910 (todo-show-current-file, todo-display-as-todo-file)
8911 (todo-reset-and-enable-done-separator): Tweak documentation string.
8912 (todo-done-separator): Make separator length window-width, since
8913 bug#2749 is now fixed.
8914
8915 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8916
8917 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8918 Support both "gvfs-monitor-dir" and "inotifywait".
8919 (tramp-sh-file-inotifywait-process-filter): Rename from
8920 `tramp-sh-file-notify-process-filter'.
8921 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8922 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8923
8924 2013-07-05 Leo Liu <sdl.web@gmail.com>
8925
8926 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8927
8928 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8929
8930 * frame.el (display-pixel-height, display-pixel-width)
8931 (display-mm-height, display-mm-width): Mention behavior on
8932 multi-monitor setups in docstrings.
8933 (w32-display-monitor-attributes-list): Declare function.
8934 (display-monitor-attributes-list): Use it.
8935
8936 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8937
8938 * filenotify.el: New package.
8939
8940 * autorevert.el (top): Require filenotify.el.
8941 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8942 instead.
8943 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8944 (auto-revert-notify-handler): Use `file-notify-*' functions.
8945
8946 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8947
8948 * net/tramp.el (tramp-file-name-for-operation):
8949 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8950
8951 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8952 for `file-notify-add-watch' and `file-notify-rm-watch'.
8953 (tramp-process-sentinel): Improve trace.
8954 (tramp-sh-handle-file-notify-add-watch)
8955 (tramp-sh-file-notify-process-filter)
8956 (tramp-sh-handle-file-notify-rm-watch)
8957 (tramp-get-remote-inotifywait): New defuns.
8958
8959 2013-07-03 Juri Linkov <juri@jurta.org>
8960
8961 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8962 call of `occur-read-primary-args' to interactive spec.
8963
8964 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8965 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8966
8967 2013-07-03 Matthias Meulien <orontee@gmail.com>
8968
8969 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8970 `Buffer-menu-multi-occur'. Add it to the menu.
8971 (Buffer-menu-mode): Document it in docstring.
8972 (Buffer-menu-multi-occur): New command. (Bug#14673)
8973
8974 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8975
8976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8977 keywords and built-ins.
8978
8979 2013-07-03 Glenn Morris <rgm@gnu.org>
8980
8981 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8982
8983 Make info-xref checks case-sensitive by default
8984 * info.el (Info-find-node, Info-find-in-tag-table)
8985 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8986 Add option for exact case matching of nodes.
8987 * info-xref.el (info-xref): New custom group.
8988 (info-xref-case-fold): New option.
8989 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8990
8991 2013-07-03 Leo Liu <sdl.web@gmail.com>
8992
8993 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8994
8995 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8996
8997 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8998 middle of block statement initially, lower the depth. Remove
8999 FIXME comment, not longer valid. Remove middle of block statement
9000 detection, no need to do that anymore since we've been using
9001 `ruby-parse-region' here.
9002
9003 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9004
9005 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9006
9007 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9008
9009 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9010
9011 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9012
9013 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9014 (desktop-restore-in-current-display): New customization option.
9015 (desktop--excluded-frame-parameters): Add `font'.
9016 (desktop--save-frames): Rename from desktop--save-windows.
9017 (desktop--restore-in-this-display-p): New function.
9018 (desktop--make-full-frame): Remove unwanted width/height from
9019 full(width|height) frames.
9020 (desktop--restore-frames): Rename from desktop--restore-windows.
9021 Obey desktop-restore-current-display. Do not delete old frames or
9022 select a new frame unless we were able to restore at least one frame.
9023
9024 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9025
9026 * files.el (find-file-noselect): Simplify conditional expression.
9027
9028 * textmodes/remember.el (remember-append-to-file):
9029 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9030
9031 Add `remember-notes' function to store random notes across Emacs
9032 restarts.
9033 * textmodes/remember.el (remember-data-file): Add :set callback to
9034 affect notes buffer (if any).
9035 (remember-notes): New command.
9036 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9037 New defcustoms for the `remember-notes' function.
9038 (remember-notes-save-and-bury-buffer): New command.
9039 (remember-notes-mode-map): New variable.
9040 (remember-mode): New minor mode.
9041 (remember-notes--kill-buffer-query): New function.
9042 * startup.el (initial-buffer-choice): Add notes to custom type.
9043
9044 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9045
9046 * bindings.el (right-char, left-char): Don't call sit-for, this is
9047 no longer needed. Use arithmetic comparison only for numerical
9048 arguments.
9049
9050 * international/mule-cmds.el (select-safe-coding-system):
9051 Handle the case of FROM being a string correctly. (Bug#14755)
9052
9053 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9054
9055 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9056 progression on degenerate tables.
9057 (shr-rescale-image): ImageMagick animated images currently don't work.
9058
9059 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9060
9061 Some fixes and improvements for desktop frame restoration.
9062 It is still experimental and disabled by default.
9063 * desktop.el (desktop--save-windows): Put the selected frame at
9064 the head of the list.
9065 (desktop--make-full-frame): New function.
9066 (desktop--restore-windows): Try to re-select the frame that was
9067 selected upon saving. Do not abort if some frames fail to restore,
9068 just show an error message and continue. Set up maximized frames
9069 so they have default non-maximized dimensions.
9070
9071 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9072
9073 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9074 Don't start heredoc inside a string or comment.
9075
9076 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9077
9078 * bindings.el (visual-order-cursor-movement): New defcustom.
9079 (right-char, left-char): Provide visual-order cursor motion by
9080 calling move-point-visually. Update the doc strings.
9081
9082 2013-06-28 Kenichi Handa <handa@gnu.org>
9083
9084 * international/mule.el (define-coding-system): New coding system
9085 properties :inhibit-null-byte-detection,
9086 :inhibit-iso-escape-detection, and :prefer-utf-8.
9087 (set-buffer-file-coding-system): If :charset-list property of
9088 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9089 appropriate for setting.
9090
9091 * international/mule-cmds.el (select-safe-coding-system):
9092 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9093 multibyte characters, return utf-8 (or one of its siblings).
9094
9095 * international/mule-conf.el (prefer-utf-8): New coding system.
9096 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9097 files.
9098
9099 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9100
9101 * net/shr.el (shr-render-region): New function.
9102
9103 * net/eww.el: Autoload `eww-browse-url'.
9104
9105 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9106
9107 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9108 Adapt to `package-desc-version' being a list.
9109 Use `package--ac-desc-version' to retrieve version from a package
9110 archive element.
9111
9112 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9113
9114 New experimental feature to save&restore window and frame setup.
9115 * desktop.el (desktop-save-windows): New defcustom.
9116 (desktop--saved-states): New var.
9117 (desktop--excluded-frame-parameters): New defconst.
9118 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9119 (desktop--restore-windows, desktop--save-windows): New functions.
9120 (desktop-save): Call `desktop--save-windows'.
9121 (desktop-read): Call `desktop--restore-windows'.
9122
9123 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9124
9125 * net/shr.el (add-face-text-property): Remove compat definition.
9126
9127 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9128
9129 * info.el (Info-try-follow-nearest-node): Move search for footnote
9130 above search for node name to prevent missing a footnote (bug#14717).
9131
9132 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9133
9134 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9135
9136 2013-06-27 Leo Liu <sdl.web@gmail.com>
9137
9138 * net/eww.el (eww-read-bookmarks): Check file size.
9139
9140 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9143 advice--pending if newdef is nil or an autoload (bug#13820).
9144 (advice-mapc): New function.
9145
9146 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9147
9148 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9149 probably.
9150 (eww-mode-map): Add a menu bar.
9151 (eww-add-bookmark): New command.
9152 (eww-bookmark-mode): New mode and commands.
9153 (eww-add-bookmark): Remove newlines from the title.
9154 (eww-bookmark-browse): Don't bug out if it's the only window.
9155
9156 2013-06-26 Glenn Morris <rgm@gnu.org>
9157
9158 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9159 (hfy-size): Handle ttys. (Bug#14668)
9160
9161 * info-xref.el: Update for Texinfo 5 change in *note format.
9162 (info-xref-node-re, info-xref-note-re): New constants.
9163 (info-xref-check-buffer): Use info-xref-note-re.
9164
9165 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9168
9169 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9170 nil terminate the loop (bug#14718).
9171
9172 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
9174 * net/eww.el: Rework history traversal. When going forward/back,
9175 put these actions into the history, too, so that they can be
9176 replayed.
9177 (eww-render): Move the history reset to the correct buffer.
9178
9179 2013-06-25 Juri Linkov <juri@jurta.org>
9180
9181 * files-x.el (modify-dir-local-variable): Change the header comment
9182 in the file with directory local variables. (Bug#14692)
9183
9184 * files-x.el (read-file-local-variable-value): Add `default'.
9185 (Bug#14710)
9186
9187 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9188
9189 * net/eww.el (eww-make-unique-file-name): Create a unique file
9190 name before saving to entering `y' accidentally asynchronously.
9191
9192 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9193
9194 * net/eww.el (eww-download): New command and keystroke.
9195
9196 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197
9198 * net/eww.el (eww-copy-page-url): Change name of command.
9199
9200 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9201 be more consistent with Info and dired.
9202
9203 * net/eww.el (eww-mode-map): Ditto.
9204
9205 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9208 packages from archives.
9209 (package-archive-contents): Change format; include obsolete packages.
9210 (package-desc): Use `dir' to mark builtin packages.
9211 (package--from-builtin): Set the `dir' field to `builtin'.
9212 (generated-autoload-file, version-control): Declare.
9213 (package-compute-transaction): Change first arg and return value to be
9214 lists of package-descs. Adjust to new package-archive-contents format.
9215 (package--add-to-archive-contents): Adjust to new
9216 package-archive-contents format.
9217 (package-download-transaction): Arg is now a list of package-descs.
9218 (package-install): If `pkg' is a package name, pass it as
9219 a requirement, so it is subject to the usual (e.g. disabled) checks.
9220 (describe-package): Accept package-desc as well.
9221 (describe-package-1): Describe a specific package-desc. Add links to
9222 other package-descs for the same package name.
9223 (package-menu-describe-package): Pass the actual package-desc.
9224 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9225 works correctly.
9226 (package-desc-status): New function.
9227 (package-menu--refresh): New function, extracted
9228 from package-menu--generate.
9229 (package-menu--generate): Use it.
9230 (package-delete): Update package-alist.
9231 (package-menu-execute): Don't call package-initialize.
9232
9233 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9234 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9235 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9236 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9237 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9238 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9239
9240 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9241
9242 * window.el (window--state-get-1): Workaround for bug#14527.
9243 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9244
9245 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9246
9247 * net/eww.el (eww-back-url): Implement the history by stashing all
9248 the data into a list.
9249 (eww-forward-url): Allow going forward in the history, too.
9250
9251 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9254 for values and use read--expression for expressions (bug#14710).
9255 (read-file-local-variable): Avoid setq.
9256 (read-file-local-variable-mode): Use minor-mode-list.
9257
9258 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9259
9260 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9261 for DOI URLs.
9262
9263 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9264
9265 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9266 Update imenu-support when dialect changes.
9267
9268 2013-06-25 Leo Liu <sdl.web@gmail.com>
9269
9270 * ido.el (ido-read-internal): Allow forward slash on windows.
9271
9272 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9273
9274 * net/eww.el (eww): Start of strings is \\`, not ^.
9275
9276 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9277
9278 * net/shr.el (shr-browse-url): Fix interactive spec.
9279
9280 * net/eww.el (eww): Add a trailing slash to domain names.
9281
9282 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9283
9284 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9285
9286 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9287
9288 * net/shr.el (shr-browse-url): Use an external browser if given a
9289 prefix.
9290
9291 * net/eww.el (eww-external-browser): Move to shr.
9292
9293 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9294
9295 * net/eww.el (eww): Work more correctly for file: URLs.
9296 (eww-detect-charset): Allow quoted charsets.
9297 (eww-yank-page-url): New command and keystroke.
9298
9299 2013-06-24 Daiki Ueno <ueno@gnu.org>
9300
9301 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9302 file name of gpg executable.
9303 (epg-context-program): New function.
9304 (epg-context-home-directory): New function.
9305 (epg-context-set-program): New function.
9306 (epg-context-set-home-directory): New function.
9307 (epg--start): Use `epg-context-program' instead of
9308 'epg-gpg-program'.
9309 (epg--list-keys-1): Likewise.
9310
9311 2013-06-24 Leo Liu <sdl.web@gmail.com>
9312
9313 * ido.el (ido-read-internal): Fix bug#14620.
9314
9315 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9316
9317 * faces.el (face-documentation): Simplify.
9318 (read-face-attribute, tty-find-type, x-resolve-font-name):
9319 Use `string-match-p'.
9320 (list-faces-display): Use `string-match-p'. Simplify.
9321 (face-spec-recalc): Check face to avoid face alias loops.
9322 (read-color): Use `string-match-p' and non-capturing parenthesis.
9323
9324 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9325
9326 * net/shr.el (shr-rescale-image): Use the new
9327 :max-width/:max-height functionality.
9328
9329 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9330
9331 * net/eww.el (eww-search-prefix): New variable.
9332 (eww): Use it.
9333 (eww-external-browser): New variable.
9334 (eww-mode-map): New keystroke.
9335 (eww-browse-with-external-browser): New command.
9336
9337 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9338
9339 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9340
9341 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9342 Don't skip aligning the next header field when padding is 0;
9343 otherwise, field width is not respected unless the title is as
9344 wide as the field.
9345
9346 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * emacs-lisp/package.el (package-el-version): Remove.
9349 (package-process-define-package): Fix inf-loop.
9350 (package-install): Allow symbols as arguments again.
9351
9352 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9353
9354 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9355 add some more keyword-like methods.
9356 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9357
9358 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9359
9360 * bs.el (bs-buffer-show-mark): Make defvar-local.
9361 (bs-mode): Use setq-local.
9362
9363 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9364 (emacs-lock--try-unlocking): Make defvar-local.
9365
9366 2013-06-22 Glenn Morris <rgm@gnu.org>
9367
9368 * play/cookie1.el (cookie-apropos): Minor simplification.
9369
9370 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9371
9372 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9373
9374 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9375 `regexp-opt', it breaks the build during dumping.
9376
9377 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9378
9379 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9380 Highlight keyword-like methods on Kernel and Module with
9381 font-lock-builtin-face.
9382 (auto-mode-alist): Consolidate different entries into one regexp
9383 and add more *file-s.
9384
9385 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9386
9387 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9388
9389 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9390 (diary-entry): Use it in the action of this button type instead of
9391 diary-goto-entry.
9392
9393 * calendar/todo-mode.el: New version.
9394 (todo-add-category): Append new category to end of file and give
9395 it the highest number, instead of putting it at the beginning and
9396 giving it 0. Incorporate noninteractive functionality.
9397 (todo-forward-category): Adapt to 1-based category numbering.
9398 Allow skipping over archived categories.
9399 (todo-backward-category): Derive from todo-forward-category.
9400 (todo-backward-item, todo-forward-item): Make noninteractive and
9401 delegate interactive part to new commands. Make sensitive to done items.
9402 (todo-categories): Make value an alist of category names and
9403 vectors of item counts.
9404 (todo-category-beg): Make a defconst.
9405 (todo-category-number): Use 1 instead of 0 as initial value.
9406 (todo-category-select): Make sensitive to overlays, optional item
9407 highlighting and done items.
9408 (todo-delete-item): Make sensitive to overlays and marked and done items.
9409 (todo-edit-item): Make sensitive to overlays and editing of
9410 date/time header optional. Add format checks.
9411 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9412 no-op if point is not on an item. Advertise using todo-edit-quit.
9413 (todo-edit-mode): Make sensitive to new format, font-locking, and
9414 multiple todo files.
9415 (todo-insert-item, todo-insert-item-here): Derive from
9416 todo-basic-insert-item and extend functionality.
9417 (todo-item-end, todo-item-start): Make sensitive to done items.
9418 (todo-item-string): Don't return text properties. Restore point.
9419 (todo-jump-to-category): Make sensitive to multiple todo files and
9420 todo archives. Use extended category completion.
9421 (todo-lower-item, todo-raise-item): Rename to *-priority and
9422 derive from todo-set-item-priority.
9423 (todo-mode): Derive from special-mode. Make sensitive to new
9424 format, font-locking and multiple todo files. Make read-only.
9425 (todo-mode-map): Don't suppress digit keys, so they can supply
9426 prefix arguments. Add many new key bindings.
9427 (todo-prefix): Insert as an overlay instead of file text.
9428 Change semantics from diary date expression to purely visual mark.
9429 (todo-print): Rename to todo-print-buffer. Make buffer display
9430 features printable. Remove option to restrict number of items
9431 printed. Add option to print to file.
9432 (todo-print-function): Rename to todo-print-buffer-function.
9433 (todo-quit): Extend to handle exiting new todo modes.
9434 (todo-remove-item): Make sensitive to overlays.
9435 (todo-save): Extend to buffers of filtered items.
9436 (todo-show): Make sensitive to done items, multiple todo files and
9437 new todo modes. Offer to convert legacy todo file before creating
9438 first new todo file.
9439 (todo-show-priorities): Rename to todo-top-priorities.
9440 Change semantics of value 0.
9441 (todo-top-priorities): Rename to todo-filter-top-priorities,
9442 derive from todo-filter-items and extend functionality.
9443 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9444 and extend functionality to other types of filtered items.
9445 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9446 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9447 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9448 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9449 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9450 (todo-edit-mode-hook, todo-entry-prefix-function)
9451 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9452 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9453 (todo-initials, todo-insert-threshold, todo-item-string-start)
9454 (todo-line-string, todo-menu, todo-mode-hook)
9455 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9456 (todo-print-priorities, todo-remove-separator)
9457 (todo-save-top-priorities-too, todo-string-count-lines)
9458 (todo-string-multiline-p, todo-time-string-format)
9459 (todo-tmp-buffer-name): Remove.
9460 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9461 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9462 (todo-edit-category-diary-inclusion)
9463 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9464 (todo-edit-file, todo-edit-item-date-day)
9465 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9466 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9467 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9468 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9469 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9470 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9471 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9472 (todo-filter-top-priorities-multifile, todo-find-archive)
9473 (todo-find-filtered-items-file, todo-go-to-source-item)
9474 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9475 (todo-jump-to-archive-category, todo-lower-category)
9476 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9477 (todo-move-category, todo-move-item, todo-next-button)
9478 (todo-next-item, todo-padded-string, todo-powerset)
9479 (todo-previous-button, todo-previous-item)
9480 (todo-print-buffer-to-file, todo-raise-category)
9481 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9482 (todo-set-category-number, todo-set-item-priority)
9483 (todo-set-top-priorities-in-category)
9484 (todo-set-top-priorities-in-file, todo-show-categories-table)
9485 (todo-sort-categories-alphabetically-or-numerically)
9486 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9487 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9488 (todo-toggle-item-header, todo-toggle-item-highlighting)
9489 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9490 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9491 (todo-unarchive-items, todo-unmark-category): New commands.
9492 (todo-absolute-file-name, todo-add-to-buffer-list)
9493 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9494 (todo-basic-insert-item, todo-category-completions)
9495 (todo-category-number, todo-category-string-matcher-1)
9496 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9497 (todo-check-format, todo-clear-matches)
9498 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9499 (todo-current-category, todo-date-string-matcher)
9500 (todo-define-insertion-command, todo-diary-expired-matcher)
9501 (todo-diary-goto-entry, todo-diary-item-p)
9502 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9503 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9504 (todo-done-item-section-p, todo-done-separator)
9505 (todo-done-string-matcher, todo-files, todo-filter-items)
9506 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9507 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9508 (todo-insert-category-line, todo-insert-item-from-calendar)
9509 (todo-insert-sort-button, todo-insert-with-overlays)
9510 (todo-insertion-command-name, todo-insertion-key-bindings)
9511 (todo-label-to-key, todo-longest-category-name-length)
9512 (todo-make-categories-list, todo-mode-external-set)
9513 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9514 (todo-modes-set-3, todo-multiple-filter-files)
9515 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9516 (todo-read-category, todo-read-date, todo-read-dayname)
9517 (todo-read-file-name, todo-read-time)
9518 (todo-reevaluate-category-completions-files-defcustom)
9519 (todo-reevaluate-default-file-defcustom)
9520 (todo-reevaluate-filelist-defcustoms)
9521 (todo-reevaluate-filter-files-defcustom)
9522 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9523 (todo-reset-done-separator, todo-reset-done-separator-string)
9524 (todo-reset-done-string, todo-reset-global-current-todo-file)
9525 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9526 (todo-reset-prefix, todo-set-categories)
9527 (todo-set-date-from-calendar, todo-set-show-current-file)
9528 (todo-set-top-priorities, todo-short-file-name)
9529 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9530 (todo-total-item-counts, todo-update-buffer-list)
9531 (todo-update-categories-display, todo-update-categories-sexp)
9532 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9533 New functions.
9534 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9535 New major modes.
9536 (todo-categories, todo-display, todo-edit, todo-faces)
9537 (todo-filtered): New defgroups.
9538 (todo-archived-only, todo-button, todo-category-string, todo-date)
9539 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9540 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9541 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9542 (todo-add-item-if-new-category, todo-always-add-time-string)
9543 (todo-categories-align, todo-categories-archived-label)
9544 (todo-categories-category-label, todo-categories-diary-label)
9545 (todo-categories-done-label, todo-categories-number-separator)
9546 (todo-categories-todo-label, todo-categories-totals-label)
9547 (todo-category-completions-files, todo-completion-ignore-case)
9548 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9549 (todo-done-separator-string, todo-done-string)
9550 (todo-files-function, todo-filter-done-items, todo-filter-files)
9551 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9552 (todo-initial-category, todo-initial-file, todo-item-mark)
9553 (todo-legacy-date-time-regexp, todo-mode-line-function)
9554 (todo-nondiary-marker, todo-number-prefix)
9555 (todo-print-buffer-function, todo-show-current-file)
9556 (todo-show-done-only, todo-show-first, todo-show-with-done)
9557 (todo-skip-archived-categories, todo-top-priorities-overrides)
9558 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9559 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9560 New defcustoms.
9561 (todo-category-done, todo-date-pattern, todo-date-string-start)
9562 (todo-diary-items-buffer, todo-done-string-start)
9563 (todo-filtered-items-buffer, todo-item-start)
9564 (todo-month-abbrev-array, todo-month-name-array)
9565 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9566 (todo-top-priorities-buffer): New defconsts.
9567 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9568 (todo-categories-with-marks, todo-category-string-face)
9569 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9570 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9571 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9572 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9573 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9574 (todo-font-lock-keywords, todo-global-current-todo-file)
9575 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9576 (todo-insertion-commands-args)
9577 (todo-insertion-commands-args-genlist)
9578 (todo-insertion-commands-names, todo-insertion-map)
9579 (todo-key-bindings-t, todo-key-bindings-t+a)
9580 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9581 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9582 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9583 (todo-visited): New variables.
9584
9585 2013-06-21 Glenn Morris <rgm@gnu.org>
9586
9587 * play/cookie1.el (cookie-apropos): Add optional display argument.
9588 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9589 (psychoanalyze-pinhead): Use cookie-doctor.
9590
9591 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9592
9593 * emacs-lisp/package.el (tar-get-file-descriptor)
9594 (tar--extract): Declare.
9595
9596 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9597
9598 Extend flymake's warning predicate to be a function (bug#14217).
9599 * progmodes/flymake.el (flymake-warning-predicate): New.
9600 (flymake-parse-line): Use it.
9601 (flymake-warning-re): Make obsolete alias to
9602 `flymake-warning-predicate'.
9603
9604 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9607 (package-obsolete-list): Remove.
9608 (package-activate): Remove min-version argument. Add `force' argument.
9609 Adjust to new package-alist format.
9610 (package-mark-obsolete): Remove.
9611 (package-unpack): Force reload of the package's autoloads.
9612 (package-installed-p): Check builtins if the installed package is not
9613 recent enough.
9614 (package-initialize): Don't reset package-obsolete-list.
9615 Don't specify which package version to activate.
9616 (package-process-define-package, describe-package-1)
9617 (package-menu--generate): Adjust to new package-alist format.
9618
9619 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9620
9621 * allout-widgets.el (allout-widgets-mode-off)
9622 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9623 (allout-widgets-post-command-business)
9624 (allout-widgets-after-copy-or-kill-function)
9625 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9626 (allout-decorate-item-and-context)
9627 (allout-graphics-modification-handler): Fix typos in docstrings.
9628 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9629
9630 * cmuscheme.el (scheme-start-file): Doc fix.
9631 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9632 (scheme-input-filter): Use `string-match-p'.
9633
9634 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9635
9636 * dired-x.el: Use Dired consistently in docstrings.
9637
9638 * dired.el: Use Dired consistently in docstrings.
9639 (dired-readin, dired-mode): Use `setq-local'.
9640 (dired-switches-alist): Make defvar-local.
9641 (dired-buffers-for-dir): Use `zerop'.
9642 (dired-safe-switches-p, dired-switches-escape-p)
9643 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9644 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9645 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9646 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9647 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9648 (dired-toggle-marks, dired-mark-files-containing-regexp)
9649 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9650 (dired-flag-auto-save-files, dired-flag-backup-files):
9651 Use `looking-at-p'.
9652 (dired-mark-files-regexp, dired-build-subdir-alist):
9653 Use `string-match-p', `looking-at-p'.
9654
9655 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9656 (direct-print-region-helper): Use `string-match-p'.
9657
9658 2013-06-21 Leo Liu <sdl.web@gmail.com>
9659
9660 * comint.el (comint-redirect-results-list-from-process):
9661 Fix infinite loop.
9662
9663 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9664
9665 * net/eww.el (eww-update-header-line-format): Quote % characters.
9666
9667 2013-06-21 Glenn Morris <rgm@gnu.org>
9668
9669 * play/cookie1.el (cookie): New custom group.
9670 (cookie-file): New option.
9671 (cookie-check-file): New function.
9672 (cookie): Make it interactive. Make start and end messages optional.
9673 Interactively, display the result. Default to cookie-file.
9674 (cookie-insert): Default to cookie-file.
9675 (cookie-snarf): Make start and end messages optional.
9676 Default to cookie-file. Use with-temp-buffer.
9677 (cookie-read): Rename from read-cookie.
9678 Make start and end messages optional. Default to cookie-file.
9679 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9680 Do not autoload it.
9681 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9682 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9683
9684 2013-06-21 Leo Liu <sdl.web@gmail.com>
9685
9686 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9687
9688 2013-06-21 Glenn Morris <rgm@gnu.org>
9689
9690 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9691
9692 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9693 Daniel Hackney <dan@haxney.org>
9694
9695 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9696 Consolidate the single-file vs tarball code.
9697 (package-desc-suffix): New function.
9698 (package-desc-full-name): Don't bother inlining it.
9699 (package-load-descriptor): Return the new package-desc.
9700 (package-mark-obsolete): Remove unused arg `package'.
9701 (package-unpack): Make it work for single files as well.
9702 Make it update package-alist.
9703 (package--make-autoloads-and-stuff): Rename from
9704 package--make-autoloads-and-compile. Don't compile any more.
9705 (package--compile): New function.
9706 (package-generate-description-file): New function, extracted from
9707 package-unpack-single.
9708 (package-unpack-single): Remove.
9709 (package--with-work-buffer): Add indentation and debugging info.
9710 (package-download-single): Remove.
9711 (package-install-from-archive): Rename from package-download-tar, make
9712 it take a pkg-desc, and make it work for single files as well.
9713 (package-download-transaction): Simplify.
9714 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9715 external tar program.
9716 (package-install-from-buffer): Remove `pkg-desc' argument.
9717 Use package-tar-file-info for tar-mode buffers.
9718 (package-install-file): Simplify accordingly.
9719 (package-archive-base): Change to take a pkg-desc.
9720 * tar-mode.el (tar--check-descriptor): New function, extracted from
9721 tar-get-descriptor.
9722 (tar-get-descriptor): Use it.
9723 (tar-get-file-descriptor): New function.
9724 (tar--extract): New function, extracted from tar-extract.
9725 (tar--extract): Use it.
9726 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9727 case the summary uses non-ascii. Adjust to new calling convention of
9728 package-tar-file-info.
9729
9730 2013-06-21 Leo Liu <sdl.web@gmail.com>
9731
9732 * comint.el (comint-redirect-results-list-from-process):
9733 Fix random delay. (Bug#14681)
9734
9735 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9736
9737 * profiler.el (profiler-format-number): Use log, not log10.
9738
9739 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9740
9741 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9742
9743 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9746 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9747 yet available.
9748 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9749 (AUTOGENEL): ... here.
9750 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9751 (cl--defsubst-expand): Use it.
9752
9753 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9754
9755 * subr.el (log10): Move here from C code, and declare as obsolete.
9756 All uses of (log10 X) replaced with (log X 10).
9757
9758 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9761 Declare with `defvar-local'.
9762 (tabulated-list-use-header-line, tabulated-list-entries)
9763 (tabulated-list-padding, tabulated-list-printer)
9764 (tabulated-list-sort-key): Declare with `defvar-local'.
9765 (tabulated-list-init-header, tabulated-list-print-fake-header):
9766 Use `setq-local'.
9767
9768 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9769
9770 * arc-mode.el (archive-mode): Add `archive-write-file' to
9771 `write-contents-functions' also for remote files. (Bug#14652)
9772
9773 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9774
9775 * cus-edit.el (custom-commands): Fix typos.
9776 (custom-display): Fix tooltip text.
9777 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9778 Fix typos in docstrings.
9779 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9780 (custom-unlispify-menu-entry, custom-magic-value-create)
9781 (custom-add-see-also, custom-group-value-create): Use ?\s.
9782 (custom-guess-type, customize-apropos, editable-field)
9783 (custom-face-value-create): Use `string-match-p'.
9784 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9785
9786 * custom.el (custom-load-symbol): Use `string-match-p'.
9787
9788 * ansi-color.el: Convert to lexical binding.
9789 (ansi-colors): Fix URL.
9790 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9791 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9792 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9793
9794 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9795
9796 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9797
9798 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9799
9800 2013-06-19 Tom Tromey <tromey@redhat.com>
9801
9802 * net/eww.el (eww-top-url): Remove.
9803 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9804 (eww-render): Set new variables. Don't set eww-top-url.
9805 (eww-handle-link): Handle "prev", "home", and "contents".
9806 Downcase the rel text.
9807 (eww-top-url): Choose best top URL.
9808
9809 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9810
9811 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9812 relying in widget.el. Using widget.el leads to too many
9813 user interface inconsistencies.
9814 (eww-self-insert): Implement entering commands in text fields.
9815 (eww-process-text-input): New function to make text input field editing
9816 work.
9817 (eww-submit): Rewrite to use the new-style form methods.
9818 (eww-select-display): Display the correct selected item.
9819 (eww-change-select): Implement changing the select value.
9820 (eww-toggle-checkbox): Implement radio/checkboxes.
9821 (eww-update-field): Fix compilation error.
9822 (eww-tag-textarea): Implement <textarea>.
9823
9824 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9825 we don't shadow mode-specific bindings.
9826
9827 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9828 nothing to push.
9829
9830 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9831
9832 2013-06-19 Glenn Morris <rgm@gnu.org>
9833
9834 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9835
9836 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9837
9838 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9839 not needed.
9840
9841 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9842
9843 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9844
9845 * net/browse-url.el (browse-url-browser-function):
9846 `eww-browse-url' has the right calling signature, `eww' does not.
9847
9848 2013-06-19 Glenn Morris <rgm@gnu.org>
9849
9850 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9851 Only eval autoloaded macros.
9852 (byte-compile-autoload): Only give the macro warning for macros.
9853
9854 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9855 (ps-underlined-faces): Declare.
9856
9857 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9858 (speedbar-add-supported-extension): Declare.
9859
9860 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9861 Don't include a date stamp in the header of the generated file;
9862 it leads to needless differences between output files.
9863
9864 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9865
9866 * net/secrets.el (secrets-struct-secret-content-type):
9867 Replace check of introspection data by a test call of "CreateItem".
9868 Some servers do not offer introspection.
9869
9870 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * electric.el (electric-pair-mode): Improve interaction with
9873 electric-layout-mode.
9874 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9875 (electric-pair-syntax): Use text-mode-syntax-table in comments
9876 and strings.
9877 (electric-pair--insert): New function.
9878 (electric-pair-post-self-insert-function): Use it and
9879 electric--after-char-pos.
9880
9881 2013-06-19 Leo Liu <sdl.web@gmail.com>
9882
9883 * progmodes/octave.el (octave-help): Fix regexp.
9884
9885 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9886
9887 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9888 (shr-table-horizontal-line): Allow nil as a value, and change the
9889 default.
9890 (shr-insert-table-ruler): Respect the nil value.
9891
9892 2013-06-18 Tom Tromey <tromey@barimba>
9893
9894 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9895 New defvars.
9896 (eww-open-file): New defun.
9897 (eww-render): Initialize new variables.
9898 (eww-display-html): Handle "link" and "a".
9899 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9900 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9901 (eww-back-url): Rename from eww-previous-url.
9902 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9903 New defuns.
9904
9905 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9906
9907 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9908 Distinguish ternary operator tokens from slash symbol and slash
9909 char literal.
9910
9911 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9912
9913 Convert symbol prettification into minor mode and global minor mode.
9914
9915 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9916 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9917 (prettify-symbols--keywords): Rename from
9918 `prog-prettify-symbols-alist' and make a local defvar.
9919 (prettify-symbols--compose-symbol): Rename from
9920 `prog--prettify-font-lock-compose-symbol'.
9921 (prettify-symbols--make-keywords): Rename from
9922 `prog-prettify-font-lock-symbols-keywords' and simplify.
9923 (prog-prettify-install): Remove.
9924 (prettify-symbols-mode): New minor mode, based on
9925 `prog-prettify-install'.
9926 (turn-on-prettify-symbols-mode): New function.
9927 (global-prettify-symbols-mode): New globalized minor mode.
9928
9929 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9930 * progmodes/cfengine.el (cfengine3-mode):
9931 * progmodes/perl-mode.el (perl-mode): Don't call
9932 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9933
9934 2013-06-18 Juri Linkov <juri@jurta.org>
9935
9936 * files-x.el (modify-file-local-variable-message): New function.
9937 (modify-file-local-variable)
9938 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9939 and call `modify-file-local-variable-message' when it's non-nil.
9940 (add-file-local-variable, delete-file-local-variable)
9941 (add-file-local-variable-prop-line)
9942 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9943 and use it. (Bug#9820)
9944
9945 2013-06-18 Juri Linkov <juri@jurta.org>
9946
9947 * emulation/vi.el (vi-shell-op):
9948 * emulation/vip.el (vip-execute-com, ex-command):
9949 * emulation/viper-cmd.el (viper-exec-bang):
9950 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9951 the call of `shell-command-on-region'. (Bug#14637)
9952
9953 * simple.el (shell-command-on-region): Doc fix.
9954
9955 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9958 (bug#14633).
9959
9960 2013-06-18 Glenn Morris <rgm@gnu.org>
9961
9962 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9963
9964 * newcomment.el (comment-search-forward, comment-search-backward):
9965 Doc fix. (Bug#14376)
9966
9967 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9970 (buffer-face-mode-invoke): Doc fix.
9971
9972 2013-06-18 Matthias Meulien <orontee@gmail.com>
9973
9974 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9975 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9976
9977 2013-06-18 Glenn Morris <rgm@gnu.org>
9978
9979 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9980 Replace obsolete function generic-make-keywords with its expansion.
9981
9982 * progmodes/python.el (ffap-alist): Declare.
9983
9984 * textmodes/reftex.el (bibtex-mode-map): Declare.
9985
9986 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9989 (package-unpack, package-unpack-single): Return the pkg-dir.
9990 (package-download-transaction): Use it to update package-alist.
9991
9992 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9993
9994 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9995 possible choice.
9996
9997 2013-06-17 Juri Linkov <juri@jurta.org>
9998
9999 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10000
10001 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10002
10003 * emacs-lisp/package.el (package-load-descriptor):
10004 Remove `with-syntax-table' call, `read' doesn't need it.
10005 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10006
10007 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10008
10009 * startup.el (command-line): Expand package name returned by
10010 `package--description-file' (bug#14639).
10011
10012 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10013
10014 * emacs-lisp/package.el (package-load-descriptor): Do not call
10015 `emacs-lisp-mode', just use its syntax table.
10016
10017 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10018
10019 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10020 `font-lock-extra-managed-props' if any prettifying keyword is added.
10021 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10022 (prog-mode): Use `setq-local'.
10023
10024 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * international/characters.el (standard-case-table): Set syntax of ?»
10027 and ?« to punctuation.
10028
10029 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10032 Save relevant match data before calling `syntax-ppss' (bug#14595).
10033
10034 2013-06-15 Juri Linkov <juri@jurta.org>
10035
10036 * files-x.el (modify-file-local-variable-prop-line): Add local
10037 variables to the end of the existing comment on the first line.
10038 Use `file-auto-mode-skip' to skip interpreter magic line,
10039 and also skip XML declaration.
10040
10041 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * startup.el (package--builtin-versions): New var.
10044 (package-subdirectory-regexp): Remove.
10045 (package--description-file): Hard code its value instead.
10046
10047 * emacs-lisp/package.el: Don't activate packages older than builtin.
10048 (package-obsolete-list): Rename from package-obsolete-alist, and make
10049 it into a simple list of package-desc.
10050 (package-strip-version): Remove.
10051 (package-built-in-p): Use package--builtin-versions.
10052 (package-mark-obsolete): Simplify.
10053 (package-process-define-package): Mark it obsolete if older than the
10054 builtin version.
10055 (package-handle-response): Use line-end-position.
10056 (package-read-archive-contents, package--download-one-archive):
10057 Simplify.
10058 (package--add-to-archive-contents): Skip if older than the builtin or
10059 installed version.
10060 (package-menu-describe-package): Fix last change.
10061 (package-list-unversioned): New var.
10062 (package-menu--generate): Use it.
10063
10064 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10065 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10066 (autoload-builtin-package-versions): New variable.
10067 (autoload-generate-file-autoloads): Use them.
10068 Remove the list of autoloaded functions/macros from the
10069 (autoload...) comments.
10070
10071 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10072
10073 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10074
10075 * simple.el (line-move-partial): Don't jump to the next screen
10076 line as soon as it becomes visible. Instead, continue enlarging
10077 the vscroll until the portion of a tall screen line that's left on
10078 display is about the height of the frame's default font.
10079 (Bug#14567)
10080
10081 2013-06-15 Glenn Morris <rgm@gnu.org>
10082
10083 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10084 compilation-error-regexp-alist void, or local while let-bound.
10085
10086 * progmodes/make-mode.el (makefile-mode-syntax-table):
10087 Treat "=" as punctuation. (Bug#14614)
10088
10089 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * help-fns.el (describe-variable):
10092 Add extra line for permanent-local variables.
10093
10094 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10095
10096 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10097 Add export, import, library. (Bug#9164)
10098 (library): Set indent function.
10099
10100 2013-06-14 Glenn Morris <rgm@gnu.org>
10101
10102 * term/xterm.el (xterm--query):
10103 Stop after first matching handler. (Bug#14615)
10104
10105 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10106
10107 Add support for dired in saveplace.
10108 * dired.el (dired-initial-position-hook): New variable.
10109 (dired-initial-position): Call hook to place cursor position.
10110 * saveplace.el (save-place-to-alist): Add dired position.
10111 (save-place-dired-hook): New function.
10112
10113 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10116 through a symbol rather than letrec.
10117
10118 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10119 (package-desc): Add `dir' field.
10120 (package-desc-full-name): New function.
10121 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10122 (package-maybe-load-descriptor): Remove.
10123 (package-load-all-descriptors): Just call package-load-descriptor.
10124 (package--disabled-p): New function.
10125 (package-desc-vers, package-desc-doc): Remove aliases.
10126 (package--dir): Remove function.
10127 (package-activate): Check if a package is disabled.
10128 (package-process-define-package): New function, extracted from
10129 define-package.
10130 (define-package): Turn into a place holder.
10131 (package-unpack-single, package-tar-file-info):
10132 Use package--description-file.
10133 (package-compute-transaction): Use package--disabled-p.
10134 (package-download-transaction): Don't call
10135 package-maybe-load-descriptor since they're all loaded anyway.
10136 (package-install): Change argument to be a pkg-desc.
10137 (package-delete): Use a single pkg-desc argument.
10138 (describe-package-1): Use package-desc-dir instead of package--dir.
10139 Use package-desc property instead of package-symbol.
10140 (package-install-button-action): Adjust accordingly.
10141 (package--push): Rewrite.
10142 (package-menu--print-info): Adjust accordingly. Change the ID format
10143 to be a pkg-desc.
10144 (package-menu-describe-package, package-menu-get-status)
10145 (package-menu--find-upgrades, package-menu-mark-upgrades)
10146 (package-menu-execute, package-menu--name-predicate):
10147 Adjust accordingly.
10148 * startup.el (package--description-file): New function.
10149 (command-line): Use it.
10150 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10151 Use package-desc-version.
10152
10153 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10154 (byte-compile-preprocess): Use it.
10155 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10156 can't quite recognize.
10157 (byte-compile-add-to-list): Remove.
10158 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10159 (cconv-closure-convert): Add assertion.
10160
10161 * emacs-lisp/map-ynp.el: Use lexical-binding.
10162 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10163 Factor out some repeated code.
10164
10165 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * subr.el (with-eval-after-load): New macro.
10168 (eval-after-load): Allow form to be a function.
10169 take advantage of lexical-binding.
10170 (do-after-load-evaluation): Use dolist and adjust to new format.
10171 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10172
10173 2013-06-13 Juri Linkov <juri@jurta.org>
10174
10175 * replace.el (perform-replace): Display "symbol " and other search
10176 modes from `isearch-message-prefix' in the *Help* buffer.
10177
10178 * isearch.el (isearch-query-replace): Add " symbol" and other
10179 possible search modes from `isearch-message-prefix' to the prompt.
10180 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10181 when reading a regexp to collect.
10182
10183 2013-06-13 Juri Linkov <juri@jurta.org>
10184
10185 * isearch.el (word-search-regexp): Match whitespace if the search
10186 string begins or ends in whitespace. The LAX arg is applied to
10187 both ends of the search string. Use `regexp-quote' and explicit
10188 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10189 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10190 boundaries are replaced with symbol boundaries, and characters
10191 between symbols match non-word non-symbol syntax. (Bug#14602)
10192
10193 2013-06-13 Juri Linkov <juri@jurta.org>
10194
10195 * isearch.el (isearch-del-char): Don't exceed the length of
10196 `isearch-string' by the prefix arg. (Bug#14563)
10197
10198 2013-06-13 Juri Linkov <juri@jurta.org>
10199
10200 * isearch.el (isearch-yank-word, isearch-yank-line)
10201 (isearch-char-by-name, isearch-quote-char)
10202 (isearch-printing-char, isearch-process-search-char):
10203 Add optional count prefix arg. (Bug#14563)
10204
10205 * international/isearch-x.el
10206 (isearch-process-search-multibyte-characters):
10207 Add optional count prefix arg.
10208
10209 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10212 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10213 lexical-binding.
10214
10215 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10216
10217 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10218
10219 2013-06-13 Glenn Morris <rgm@gnu.org>
10220
10221 * startup.el (tty-handle-args):
10222 Don't just discard "--" and anything after. (Bug#14608)
10223
10224 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10225
10226 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10227
10228 Implement changes in Secret Service API. Make it backward compatible.
10229 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10230 (secrets-create-item): Use it. Prefix properties with interface.
10231
10232 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10233
10234 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10235 (term-emulate-terminal): Respect term-suppress-hard-newline.
10236
10237 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10238
10239 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10240 Only remove a `thumb-file' overlay. (Bug#14548)
10241
10242 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10243
10244 * mail/reporter.el (reporter-submit-bug-report):
10245 Handle missing package-name. (Bug#14600)
10246
10247 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10248
10249 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10250 (reftex-citation-prompt, reftex-default-bibliography)
10251 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10252 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10253 (reftex-bib-sort-author, reftex-bib-sort-year)
10254 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10255 (reftex-extract-bib-entries-from-thebibliography)
10256 (reftex-get-bibkey-default, reftex-get-bib-names)
10257 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10258 (reftex-format-bib-entry, reftex-parse-bibitem)
10259 (reftex-format-bibitem, reftex-do-citation)
10260 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10261 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10262 (reftex-insert-bib-matches, reftex-format-citation)
10263 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10264 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10265 existing comments into docstrings.
10266
10267 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10268
10269 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10270
10271 2013-06-12 Andreas Schwab <schwab@suse.de>
10272
10273 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10274 for auto-save files.
10275
10276 2013-06-12 Glenn Morris <rgm@gnu.org>
10277
10278 * ido.el (ido-delete-ignored-files): Remove.
10279 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10280 Go back to calling ido-ignore-item-p directly.
10281
10282 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10283
10284 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10285
10286 * ido.el (ido-delete-ignored-files): New function,
10287 split from ido-make-file-list-1.
10288 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10289 (ido-make-file-list-1): Use ido-delete-ignored-files.
10290
10291 2013-06-12 Leo Liu <sdl.web@gmail.com>
10292
10293 * progmodes/octave.el (inferior-octave-startup)
10294 (inferior-octave-completion-table)
10295 (inferior-octave-track-window-width-change)
10296 (octave-eldoc-function-signatures, octave-help)
10297 (octave-find-definition): Use single quoted strings.
10298 (inferior-octave-startup-args): Change default value.
10299 (inferior-octave-startup): Do not hard code "-i" and
10300 "--no-line-editing".
10301 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10302 (inferior-octave-directory-tracker): Use it.
10303 (octave-goto-function-definition): Robustify.
10304 (octave-help): Support highlighting operators in 'See also'.
10305 (octave-find-definition): Find subfunctions only in Octave mode.
10306
10307 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * help-fns.el (help-fns--compiler-macro): If the handler function is
10310 named, then put a link to it.
10311 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10312 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10313 (cl-typep): Use it.
10314 (cl-eval-when): Simplify debug spec.
10315 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10316 compiler-macro function instead of setting `compiler-macro-file'.
10317
10318 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10319
10320 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10321 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10322
10323 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10324 Daniel Hackney <dan@haxney.org>
10325
10326 First part of Daniel Hackney's patch to package.el.
10327 * emacs-lisp/package.el: Use defstruct.
10328 (package-desc): New, main struct.
10329 (package--bi-desc, package--ac-desc): New structs, used to describe the
10330 format in external files.
10331 (package-desc-vers): Replace with package-desc-version accessor.
10332 (package-desc-doc): Replace with package-desc-summary accessor.
10333 (package-activate-1): Remove `package' arg since the pkg-vec now
10334 includes the name.
10335 (define-package): Use package-desc-from-define.
10336 (package-unpack-single): Change file-name arg to be a symbol.
10337 (package--add-to-archive-contents): Use package-desc-create and new
10338 accessor functions to package--ac-desc.
10339 (package-buffer-info, package-tar-file-info): Return a package-desc.
10340 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10341 arg to be a package-desc.
10342 (package-install-file): Adjust accordingly. Use \' to match EOS.
10343 (package--from-builtin): New function.
10344 (describe-package-1, package-menu--generate): Use it.
10345 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10346 (package-generate-autoloads): Idem and return the name of the file.
10347 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10348 Change pkg-info arg to be a package-desc.
10349 Use package-make-ac-desc.
10350 (package-upload-file): Use \' to match EOS.
10351 * finder.el (finder-compile-keywords): Use package-make-builtin.
10352
10353 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * vc/vc.el (vc-deduce-fileset): Change error message.
10356 (vc-read-backend): New function.
10357 (vc-next-action): Use it.
10358
10359 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10360
10361 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10362 (prolog-font-lock-keywords): Use regexp-opt instead.
10363 Don't manually highlight strings.
10364 (prolog-mode-variables): Simplify comment-start-skip.
10365 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10366
10367 * emacs-lisp/generic.el (generic--normalise-comments)
10368 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10369 (generic-mode-set-comments): Use them.
10370 (generic-bracket-support): Use setq-local.
10371 (generic-make-keywords-list): Declare obsolete.
10372
10373 2013-06-11 Glenn Morris <rgm@gnu.org>
10374
10375 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10376 Prettify after setting font-lock-defaults. (Bug#14574)
10377
10378 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10379
10380 * replace.el (query-replace, occur-read-regexp-defaults-function)
10381 (replace-search):
10382 * subr.el (declare-function, number-sequence, local-set-key)
10383 (substitute-key-definition, locate-user-emacs-file)
10384 (with-silent-modifications, split-string, eval-after-load):
10385 Fix typos, remove unneeded backslashes and reflow some docstrings.
10386
10387 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10388
10389 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10390 default for Elisp files.
10391
10392 2013-06-11 Glenn Morris <rgm@gnu.org>
10393
10394 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10395 although define-derived-mode was doing this anyway. (Bug#14583)
10396
10397 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10398
10399 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10400 Fix make-variable-buffer-local call to refer to the correct variable.
10401
10402 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10403
10404 * eshell/em-term.el (eshell-visual-commands)
10405 (eshell-visual-subcommands, eshell-visual-options):
10406 Add summary line to docstrings. Add cross-references.
10407
10408 2013-06-10 Glenn Morris <rgm@gnu.org>
10409
10410 * epa.el (epa-read-file-name): New function. (Bug#14510)
10411 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10412
10413 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10414
10415 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10416 output redirection to be ignored with visual commands.
10417
10418 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10419
10420 * eshell/em-term.el (eshell-visual-command-p): New function.
10421 (eshell-term-initialize): Move long lambda to separate function
10422 eshell-visual-command-p.
10423 * eshell/em-dirs.el (eshell-dirs-initialise):
10424 * eshell/em-script.el (eshell-script-initialize):
10425 Add missing #' to lambda.
10426
10427 2013-06-08 Leo Liu <sdl.web@gmail.com>
10428
10429 * progmodes/octave.el (octave-add-log-current-defun): New function.
10430 (octave-mode): Set add-log-current-defun-function.
10431 (octave-goto-function-definition): Do not move point if not found.
10432 (octave-find-definition): Enhance to try subfunctions first.
10433
10434 2013-06-08 Glenn Morris <rgm@gnu.org>
10435
10436 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10437 (byte-compile-backward-char, byte-compile-backward-word):
10438 Improve previous change, to handle non-explicit nil.
10439
10440 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10443 (smie--opener/closer-at-point): New function.
10444 (smie--matching-block-data): Use it. Don't match from right after an
10445 opener or right before a closer. Obey smie-blink-matching-inners.
10446 Don't signal a mismatch for repeated inners like "switch..case..case".
10447
10448 2013-06-07 Leo Liu <sdl.web@gmail.com>
10449
10450 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10451 to t. (Bug#14303)
10452 (octave-function-header-regexp): Fix. (Bug#14570)
10453 (octave-help-mode-finish-hook, octave-help-mode-finish):
10454 Remove. Just use temp-buffer-show-hook.
10455
10456 * newcomment.el (comment-search-backward): Revert last change.
10457 (Bug#14434)
10458
10459 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10460
10461 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10462
10463 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10464 through xargs, to avoid failure due to MS-Windows limitations on
10465 command-line length.
10466
10467 2013-06-06 Glenn Morris <rgm@gnu.org>
10468
10469 * font-lock.el (lisp-font-lock-keywords-2):
10470 Treat user-error like error.
10471
10472 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10473 (byte-compile-backward-char, byte-compile-backward-word):
10474 Handle explicit nil arguments. (Bug#14565)
10475
10476 2013-06-05 Alan Mackenzie <acm@muc.de>
10477
10478 * isearch.el (isearch-allow-prefix): New user option.
10479 (isearch-other-meta-char): Don't exit isearch when a prefix
10480 argument is typed whilst `isearch-allow-prefix' is non-nil.
10481 (Bug#9706)
10482
10483 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10484
10485 * autorevert.el (auto-revert-notify-handler): Use memq.
10486 Hide assertion failure.
10487
10488 * skeleton.el: Use cl-lib.
10489 (skeleton-further-elements): Use defvar-local.
10490 (skeleton-insert): Use cl-progv.
10491
10492 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10493
10494 * progmodes/prog-mode.el (prog-prettify-symbols)
10495 (prog-prettify-install): Update docstrings.
10496
10497 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * simple.el: Move all the prog-mode code to prog-mode.el.
10500 * progmodes/prog-mode.el: New file.
10501 * loadup.el: Add prog-mode.el.
10502
10503 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10504
10505 * simple.el (prog-prettify-symbols): Add version.
10506 (prog-prettify-install): Add convenience function to prettify symbols.
10507
10508 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10509 (perl--augmented-font-lock-keywords-1)
10510 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10511 variables and use it.
10512
10513 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10514 (cfengine3-mode): Remove unneeded variable and use it.
10515
10516 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10517 (lisp--augmented-font-lock-keywords-1)
10518 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10519 Remove unneeded variables and use it.
10520
10521 2013-06-05 João Távora <joaotavora@gmail.com>
10522
10523 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10524 to point when opening the connection. (Bug#14380)
10525
10526 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * subr.el (load-history-regexp, load-history-filename-element)
10529 (eval-after-load, after-load-functions, do-after-load-evaluation)
10530 (eval-next-after-load, display-delayed-warnings)
10531 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10532 definition of save-match-data.
10533 (overriding-local-map): Remove accidental obsolescence declaration.
10534
10535 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10536
10537 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10538
10539 Generalize symbol prettify support to prog-mode and implement it
10540 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10541 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10542 (prog--prettify-font-lock-compose-symbol)
10543 (prog-prettify-font-lock-symbols-keywords): New variables and
10544 functions to support symbol prettification.
10545 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10546 (lisp--augmented-font-lock-keywords-1)
10547 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10548 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10549 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10550 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10551 Implement prettify of -> => :: strings.
10552 * progmodes/perl-mode.el (perl-prettify-symbols)
10553 (perl--font-lock-compose-symbol)
10554 (perl--font-lock-symbols-keywords): Move to prog-mode.
10555 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10556 (perl-font-lock-keywords-1)
10557 (perl-font-lock-keywords-2): Remove explicit prettify support.
10558 (perl--augmented-font-lock-keywords)
10559 (perl--augmented-font-lock-keywords-1)
10560 (perl--augmented-font-lock-keywords-2, perl-mode):
10561 Implement prettify support.
10562
10563 2013-06-05 Leo Liu <sdl.web@gmail.com>
10564
10565 Re-implement smie matching block highlight using
10566 show-paren-data-function. (Bug#14395)
10567 * emacs-lisp/smie.el (smie-matching-block-highlight)
10568 (smie--highlight-matching-block-overlay)
10569 (smie--highlight-matching-block-lastpos)
10570 (smie-highlight-matching-block)
10571 (smie-highlight-matching-block-mode): Remove.
10572 (smie--matching-block-data-cache): New variable.
10573 (smie--matching-block-data): New function.
10574 (smie-setup): Use smie--matching-block-data for
10575 show-paren-data-function.
10576
10577 * progmodes/octave.el (octave-mode-menu): Fix.
10578 (octave-find-definition): Skip garbage lines.
10579
10580 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 Fix compilation error with simultaneous dynamic+lexical scoping.
10583 Add warning when a defvar appears after the first let-binding.
10584 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10585 (byte-compile-close-variables): Initialize it.
10586 (byte-compile--declare-var): New function.
10587 (byte-compile-file-form-defvar)
10588 (byte-compile-file-form-define-abbrev-table)
10589 (byte-compile-file-form-custom-declare-variable): Use it.
10590 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10591 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10592 (byte-compile-bind): Handle dynamic bindings that shadow
10593 lexical bindings.
10594 (byte-compile-unbind): Make arg non-optional.
10595 (byte-compile-let): Simplify.
10596 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10597 (cconv--analyse-function, cconv-analyse-form): Populate it.
10598 Protect byte-compile-bound-variables to limit the scope of defvars.
10599 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10600 Remove unneeded rule for `declare'.
10601
10602 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10603 so as to avoid depending on cl-adjoin at run-time.
10604 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10605
10606 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10607 (macroexp--warn-and-return): Use it.
10608
10609 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * subr.el: Convert to lexical binding.
10612 (overriding-local-map): Make obsolete.
10613 (add-to-list): Doc fix. Add compiler macro.
10614 (read-key): Swap values of local maps.
10615
10616 2013-06-05 Leo Liu <sdl.web@gmail.com>
10617
10618 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10619
10620 2013-06-04 Leo Liu <sdl.web@gmail.com>
10621
10622 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10623 (compilation-auto-jump): Suppress the "Mark set" message to give
10624 way to exit message.
10625
10626 2013-06-04 Alan Mackenzie <acm@muc.de>
10627
10628 Remove faulty optimisation from indentation calculation.
10629 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10630 search limit based on 2000 characters back from indent-point.
10631
10632 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10633
10634 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10635
10636 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * emacs-lisp/lisp.el: Use lexical-binding.
10639 (lisp--local-variables-1, lisp--local-variables): New functions.
10640 (lisp--local-variables-completion-table): New var.
10641 (lisp-completion-at-point): Use it complete let-bound vars.
10642
10643 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10644 eagerly (bug#14422).
10645
10646 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10647
10648 * autorevert.el (auto-revert-notify-enabled)
10649 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10650 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10651 (auto-revert-notify-handler): Handle also gfilenotify.
10652
10653 * subr.el (file-notify-handle-event): New defun. Replacing ...
10654 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10655 Remove.
10656
10657 2013-06-03 Juri Linkov <juri@jurta.org>
10658
10659 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10660 `M-s h .'. (Bug#14427)
10661
10662 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10663 command `hi-lock-face-symbol-at-point'.
10664 (hi-lock-face-symbol-at-point): New command.
10665 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10666 (hi-lock-menu): Add `highlight-symbol-at-point'.
10667 (hi-lock-mode): Doc fix.
10668
10669 * isearch.el (isearch-forward-symbol-at-point): New command.
10670 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10671 (isearch-highlight-regexp): Add a regexp which matches
10672 words/symbols for word/symbol mode.
10673
10674 * subr.el (find-tag-default-bounds): New function with the body
10675 mostly moved from `find-tag-default'.
10676 (find-tag-default): Move most code to `find-tag-default-bounds',
10677 call it and apply `buffer-substring-no-properties' afterwards.
10678
10679 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10680
10681 * eshell/em-term.el (eshell-term-initialize):
10682 Use `cl-intersection' rather than `intersection'.
10683
10684 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10685
10686 * vc/log-view.el: Doc fix.
10687 (log-view-mode-map): Copy keymap from `special-mode-map'.
10688
10689 2013-06-02 Eric Ludlam <zappo@gnu.org>
10690
10691 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10692 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10693 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10694 (eieio-unbound, eieio-default-superclass)
10695 (eieio--define-field-accessors, method-static, method-before)
10696 (method-primary, method-after, method-num-lists)
10697 (method-generic-before, method-generic-primary)
10698 (method-generic-after, method-num-slots)
10699 (eieio-specialized-key-to-generic-key)
10700 (eieio--check-type, class-v, class-p)
10701 (eieio-class-name, define-obsolete-function-alias)
10702 (eieio-class-parents-fast, eieio-class-children-fast)
10703 (same-class-fast-p, class-constructor, generic-p)
10704 (generic-primary-only-p, generic-primary-only-one-p)
10705 (class-option-assoc, class-option, eieio-object-p)
10706 (class-abstract-p, class-method-invocation-order)
10707 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10708 (eieio-class-un-autoload, eieio-defclass)
10709 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10710 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10711 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10712 (eieio-defgeneric-reset-generic-form)
10713 (eieio-defgeneric-form-primary-only)
10714 (eieio-defgeneric-reset-generic-form-primary-only)
10715 (eieio-defgeneric-form-primary-only-one)
10716 (eieio-defgeneric-reset-generic-form-primary-only-one)
10717 (eieio-unbind-method-implementations)
10718 (eieio--defmethod, eieio--typep)
10719 (eieio-perform-slot-validation, eieio-validate-slot-value)
10720 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10721 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10722 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10723 (eieio-slot-name-index, eieio-class-slot-name-index)
10724 (eieio-set-defaults, eieio-initarg-to-attribute)
10725 (eieio-attribute-to-initarg, eieio-c3-candidate)
10726 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10727 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10728 (eieio-class-precedence-list, eieio-generic-call-methodname)
10729 (eieio-generic-call-arglst, eieio-generic-call-key)
10730 (eieio-generic-call-next-method-list)
10731 (eieio-pre-method-execution-functions, eieio-generic-call)
10732 (eieio-generic-call-primary-only, eieiomt-method-list)
10733 (eieiomt-optimizing-obarray, eieiomt-install)
10734 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10735 (eieio-generic-form, eieio-defmethod, make-obsolete)
10736 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10737 (defclass): Remove `eval-and-compile' from macro.
10738 (call-next-method, shared-initialize): Instead of using
10739 `scoped-class' variable, use new eieio--scoped-class, and
10740 eieio--with-scoped-class.
10741 (initialize-instance): Rename local variable 'scoped-class' to
10742 'this-class' to remove ambiguitity from old global.
10743
10744 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10745 eieio.el.
10746 (eieio--scoped-class-stack): New variable.
10747 (eieio--scoped-class): New fcn.
10748 (eieio--with-scoped-class): New scoping macro.
10749 (eieio-defclass): Use pushnew instead of add-to-list.
10750 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10751 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10752 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10753 `scoped-class' variable, use new eieio--scoped-class, and
10754 eieio--with-scoped-class.
10755
10756 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10757
10758 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10759
10760 * eshell/esh-ext.el (eshell-external-command): Pass args to
10761 `eshell-find-interpreter'.
10762 (eshell-find-interpreter): Add new second parameter ARGS.
10763
10764 * eshell/em-script.el (eshell-script-initialize): Add second arg
10765 to the function added as MATCH to `eshell-interpreter-alist'.
10766
10767 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10768 the function added as MATCH to `eshell-interpreter-alist'.
10769
10770 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10771 (eshell-visual-options): New defcustom.
10772 (eshell-escape-control-x): Adapt docstring.
10773 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10774 `eshell-visual-options' in addition to `eshell-visual-commands'.
10775 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10776
10777 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10778
10779 * progmodes/python.el (python-indent-block-enders): Add break,
10780 continue and raise keywords.
10781
10782 2013-06-01 Glenn Morris <rgm@gnu.org>
10783
10784 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10785
10786 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10787 * progmodes/cc-cmds.el (delete-forward-p):
10788 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10789 * progmodes/cc-engine.el (buffer-syntactic-context):
10790 * progmodes/cc-fonts.el (face-property-instance):
10791 * progmodes/cc-mode.el (set-keymap-parents):
10792 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10793 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10794 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10795 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10796 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10797
10798 * progmodes/cc-vars.el (other): Emacs has this widget since
10799 at least 21.1, so don't (re)define it.
10800
10801 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10802 Replace the obsolete alias pcomplete-arg-quote-list.
10803
10804 2013-06-01 Leo Liu <sdl.web@gmail.com>
10805
10806 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10807 punctuation syntax.
10808 (inferior-octave-minimal-columns)
10809 (inferior-octave-last-column-width): New variables.
10810 (inferior-octave-track-window-width-change): New function.
10811 (inferior-octave-mode): Adjust column width so that Octave output,
10812 for example from 'ls', can fit into the window nicely.
10813
10814 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10815
10816 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10817 Highlight expansions inside regexp literals.
10818
10819 2013-05-31 Glenn Morris <rgm@gnu.org>
10820
10821 * obsolete/sym-comp.el (symbol-complete):
10822 Replace obsolete completion-annotate-function.
10823
10824 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10825
10826 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10827
10828 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10829 New function, checks if point is inside a literal that allows
10830 expression expansion.
10831 (ruby-syntax-propertize-expansion): Use it.
10832 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10833 around the body.
10834
10835 2013-05-30 Juri Linkov <juri@jurta.org>
10836
10837 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10838 to "\M-si".
10839 (isearch-invisible): New variable.
10840 (isearch-forward): Doc fix.
10841 (isearch-mode): Set `isearch-invisible'
10842 to the value of `search-invisible'.
10843 (isearch-toggle-case-fold): Doc fix.
10844 (isearch-toggle-invisible): New command.
10845 (isearch-query-replace): Let-bind `search-invisible'
10846 to the value of `isearch-invisible'.
10847 (isearch-search): Use `isearch-invisible' instead of
10848 `search-invisible'. Let-bind `search-invisible'
10849 to the value of `isearch-invisible'. (Bug#11378)
10850
10851 2013-05-30 Juri Linkov <juri@jurta.org>
10852
10853 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10854 call when `query-flag' is nil and `search-invisible' is non-nil.
10855 (Bug#11746)
10856
10857 2013-05-30 Glenn Morris <rgm@gnu.org>
10858
10859 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10860
10861 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10862 (cc-require): Suppress spurious "noruntime" warnings.
10863 (cc-require-when-compile): Use fboundp, for sake of compiler.
10864
10865 * progmodes/cc-mode.el: Move load of cc-vars before that of
10866 cc-langs (which in turn loads cc-vars), to quieten compiler.
10867
10868 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * paren.el: Simplify the code.
10871 (show-paren-mode): Always start the timer.
10872 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10873 (show-paren--overlay, show-paren--overlay-1): Rename from
10874 show-paren-overlay and show-paren-overlay-1, and initialize to an
10875 overlay rather than to nil.
10876 (show-paren-function): Misc cleanup and simplifications.
10877
10878 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * paren.el (show-paren-data-function): New hook.
10881 (show-paren--default): New function, extracted from show-paren-function.
10882 (show-paren-function): Use show-paren-data-function.
10883
10884 2013-05-30 Glenn Morris <rgm@gnu.org>
10885
10886 * ielm.el (ielm-map, ielm-complete-symbol):
10887 Use completion-at-point rather than obsolete functions.
10888 (inferior-emacs-lisp-mode): Doc fix.
10889 Set completion-at-point-functions, rather than
10890 comint-dynamic-complete-functions.
10891
10892 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10893 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10894 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10895
10896 * image.el (image-animated-p): Tweak definition.
10897
10898 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10899 (rlogin-process-connection-type): Tweak default. Add set-after.
10900 (rlogin-host): Doc fix.
10901 (rlogin): Tweak prompt.
10902 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10903
10904 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10905 * progmodes/tcl.el (inferior-tcl-mode-map):
10906 Use completion-at-point rather than obsolete alias.
10907
10908 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10909
10910 * minibuffer.el (read-file-name-completion-ignore-case):
10911 Move before completion--in-region, for eager macro expansion.
10912
10913 2013-05-29 Juri Linkov <juri@jurta.org>
10914
10915 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10916 for total count of matching lines. Add `global-matches' for total
10917 count of matches. Rename `matches' to `lines' for count of
10918 matching lines. Add `matches' for count of matches.
10919 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10920 to `prev-line' for line number of prev match endpt.
10921 Increment `matches' for every match. Print the number of
10922 matching lines in the header.
10923 (occur-context-lines): Rename `lines' to `curr-line'.
10924 Rename `prev-lines' to `prev-line'. (Bug#14017)
10925
10926 2013-05-29 Juri Linkov <juri@jurta.org>
10927
10928 * replace.el (perform-replace): Add `skip-read-only-count',
10929 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10930 Increment them for corresponding conditions and report the number
10931 of skipped occurrences in the final message. (Bug#11746)
10932 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10933 (replace-string, replace-regexp): Doc fix.
10934
10935 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10938
10939 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10940 prog-mode-map (bug#14504).
10941
10942 2013-05-29 Leo Liu <sdl.web@gmail.com>
10943
10944 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10945 (octave-help): Small simplification.
10946
10947 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10948 off the highlight first.
10949
10950 2013-05-29 Glenn Morris <rgm@gnu.org>
10951
10952 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10953 Handle idlwave-last-system-routine-info-cons-cell being nil.
10954
10955 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10956 (idlwave-write-paths): Simplify via with-temp-buffer.
10957
10958 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10959 * emulation/cua-rect.el: Also load cua-base at run time.
10960
10961 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10962 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10963 (cperl-imenu-on-info): Require imenu.
10964
10965 2013-05-28 Alan Mackenzie <acm@muc.de>
10966
10967 Handle "capitalised keywords" correctly.
10968 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10969
10970 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10971
10972 * eshell/em-unix.el: Add -r option to cp.
10973
10974 2013-05-28 Glenn Morris <rgm@gnu.org>
10975
10976 * vc/vc-arch.el (vc-exec-after): Declare.
10977 (vc-switches): Autoload.
10978 * vc/vc-bzr.el: No need to require vc when compiling.
10979 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10980 (vc-resynch-buffer, vc-dir-refresh): Declare.
10981 (vc-setup-buffer, vc-switches): Autoload.
10982 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10983 (vc-resynch-buffer): Declare.
10984 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10985 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10986 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10987 (grep-read-regexp, grep-read-files, grep-expand-template)
10988 (vc-dir-refresh): Declare.
10989 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10990 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10991 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10992 * vc/vc-mtn.el (vc-exec-after): Declare.
10993 (vc-switches): Autoload.
10994 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10995 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10996 (vc-file-tree-walk): Declare.
10997 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10998 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10999 (vc-tag-precondition, vc-rename-master): Autoload.
11000 * vc/vc-svn.el (vc-exec-after): Declare.
11001 (vc-switches, vc-setup-buffer): Autoload.
11002 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11003 Autoload.
11004 (vc-resynch-buffer): Declare.
11005
11006 * obsolete/fast-lock.el (byte-compile-warnings):
11007 Don't warn about obsolete features in this obsolete file.
11008
11009 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11010 Move definition before use.
11011
11012 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11013 (dun-unix-verbs): Remove dun-zippy.
11014 (dun-zippy): Remove function.
11015
11016 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11017
11018 2013-05-27 Juri Linkov <juri@jurta.org>
11019
11020 * replace.el (replace-search): New function with code moved out
11021 from `perform-replace'.
11022 (replace-highlight, replace-dehighlight): Move function definitions
11023 up closer to `replace-search'. (Bug#11746)
11024
11025 2013-05-27 Juri Linkov <juri@jurta.org>
11026
11027 * replace.el (perform-replace): Ignore invisible matches.
11028 In addition to checking `query-replace-skip-read-only', also
11029 filter out matches by calling `run-hook-with-args-until-failure'
11030 on `isearch-filter-predicates', and also check `search-invisible'
11031 for t or call `isearch-range-invisible'.
11032 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11033
11034 2013-05-27 Juri Linkov <juri@jurta.org>
11035
11036 * isearch.el (isearch-filter-predicates): Rename from
11037 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11038 (isearch-message-prefix): Display text from the property
11039 `isearch-message-prefix' of the currently active filters.
11040 (isearch-search): Don't compare `isearch-filter-predicate' with
11041 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11042 on `isearch-filter-predicates'. Also check `search-invisible' for t
11043 or call `isearch-range-invisible'.
11044 (isearch-filter-visible): Make obsolete.
11045 (isearch-lazy-highlight-search):
11046 Call `run-hook-with-args-until-failure' on
11047 `isearch-filter-predicates' and use `isearch-range-invisible'.
11048
11049 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11050 `isearch-filter-predicates' instead of `funcall'ing
11051 `isearch-filter-predicate'.
11052 (Info-mode): Set `Info-isearch-filter' to
11053 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11054
11055 * dired-aux.el (dired-isearch-filter-predicate-orig):
11056 Remove variable.
11057 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11058 (dired-isearch-filenames-end): Add and remove
11059 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11060 instead of changing the value of `isearch-filter-predicate'.
11061 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11062 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11063 Put property `isearch-message-prefix' to "filename " on
11064 `dired-isearch-filter-filenames'.
11065
11066 * wdired.el (wdired-change-to-wdired-mode):
11067 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11068 locally instead of changing `isearch-filter-predicate'.
11069 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11070
11071 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11072
11073 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11074 return the commit hash (Bug#14459). Also set the
11075 `vc-git-detached' property.
11076 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11077 (vc-git-mode-line-string): Use the same help-echo format whether
11078 in detached mode or not, because we know the actual revision now.
11079 When in detached mode, shorten the revision to 7 chars.
11080
11081 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * emacs-lisp/easy-mmode.el (define-minor-mode):
11084 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11085 mode hook and provide a docstring.
11086
11087 2013-05-27 Alan Mackenzie <acm@muc.de>
11088
11089 Remove spurious syntax-table text properties inserted by C-y.
11090 * progmodes/cc-mode.el (c-after-change): Also clear hard
11091 syntax-table property with value nil.
11092
11093 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11094
11095 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11096 when reading the events; the buffer layout shall not be changed.
11097
11098 2013-05-27 Leo Liu <sdl.web@gmail.com>
11099
11100 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11101 New variable.
11102 (inferior-octave-directory-tracker): Automatically re-sync
11103 default-directory.
11104 (octave-help): Improve handling of 'See also'.
11105
11106 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * doc-view.el: Minor naming convention tweaks.
11109 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11110
11111 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11112 even if there's no `display' property yet (bug#14435).
11113
11114 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11115
11116 * subr.el (unmsys--file-name): Rename from reveal-filename.
11117
11118 * Makefile.in (custom-deps, finder-data, autoloads)
11119 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11120 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11121 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11122
11123 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11126 error-completion on the first 2 args of condition-case (bug#14446).
11127 Don't burp at EOB.
11128
11129 2013-05-25 Leo Liu <sdl.web@gmail.com>
11130
11131 * comint.el (comint-previous-matching-input): Do not flood the
11132 *Messages* buffer with trivial messages.
11133
11134 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * progmodes/flymake.el (flymake-nop): Don't return a string.
11137 (flymake-set-at): Fix typo.
11138
11139 * simple.el (read--expression): New function, extracted from
11140 eval-expression. Set completion-at-point-functions (bug#14465).
11141 (eval-expression, eval-minibuffer): Use it.
11142
11143 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11144
11145 * progmodes/flymake.el (flymake-save-buffer-in-file)
11146 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11147 (flymake-selected-frame, flymake-log, flymake-ins-after)
11148 (flymake-set-at, flymake-get-buildfile-from-cache)
11149 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11150 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11151 Refine the doc string.
11152 (flymake-get-file-name-mode-and-masks): Reformat.
11153 (flymake-get-real-file-name-function): Fix a minor bug.
11154
11155 2013-05-24 Juri Linkov <juri@jurta.org>
11156
11157 * progmodes/grep.el (grep-mode-font-lock-keywords):
11158 Support =linenumber= format used by git-grep for lines with
11159 function names. (Bug#13549)
11160
11161 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11164 0 after a semi-colon; it works better for smie-auto-fill.
11165 (octave--indent-new-comment-line): New function.
11166 (octave-indent-new-comment-line): Use it (indirectly).
11167 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11168 modify comment-line-break-function.
11169
11170 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11171 (smie-setup): Use add-function to set it.
11172
11173 2013-05-24 Sam Steingold <sds@gnu.org>
11174
11175 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11176 argument (before the `interactive' argument).
11177
11178 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * image-mode.el (image-mode-winprops): Add winprops to
11181 image-mode-winprops-alist before running
11182 image-mode-new-window-functions.
11183 * doc-view.el (doc-view-new-window-function): Don't delay
11184 doc-view-goto-page via timers (bug#14435).
11185
11186 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11187
11188 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11189 (doc-view-desktop-save-buffer): New function.
11190 (doc-view-restore-desktop-buffer): New function.
11191 (desktop-buffer-mode-handlers):
11192 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11193 handler.
11194 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11195 `desktop-save-buffer' function.
11196
11197 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11198
11199 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11200 (tramp-gvfs-file-name-handler): Raise a user error when
11201 `tramp-gvfs-enabled' is nil.
11202 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11203 Do not raise a user error when loading package. (Bug#14447)
11204
11205 * net/xesam.el: Move to obsolete/.
11206
11207 2013-05-24 Glenn Morris <rgm@gnu.org>
11208
11209 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11210
11211 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11212
11213 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11214 (Info-find-node, Man-getpage-in-background): Declare.
11215
11216 * mail/unrmail.el (unrmail):
11217 Replace obsolete detect-coding-with-priority.
11218
11219 * net/socks.el (socks-split-string): Use this rather than split-string.
11220 (socks-nslookup-host): Update for above change.
11221 (dynamic-choice, s5-dynamic-choice-match)
11222 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11223 Comment out unused code.
11224
11225 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11226 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11227 (gud-tooltip-echo-area): Make obsolete.
11228 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11229
11230 * progmodes/js.el (js--optimize-arglist): Declare.
11231
11232 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11233
11234 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11235 (ediff-window-C): Declare.
11236
11237 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11238 Tweak requires to silence compiler.
11239
11240 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11241 (he-search-string, he-tried-table, he-expand-list)
11242 (he-init-string, he-string-member, he-substitute-string)
11243 (he-reset-string): Declare.
11244
11245 * obsolete/options.el (list-options): Use custom-variable-p,
11246 rather than obsolete alias.
11247
11248 2013-05-23 Sam Steingold <sds@gnu.org>
11249
11250 * simple.el (shell-command-on-region): Pass the `replace' argument
11251 down to `call-process-region' to comply with the doc as reported on
11252 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11253
11254 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * emacs-lisp/smie.el (smie-indent-forward-token)
11257 (smie-indent-backward-token): Handle string tokens (bug#14381).
11258
11259 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11260
11261 * ielm.el (ielm-menu): New menu.
11262 (inferior-emacs-lisp-mode): Set comment-start.
11263
11264 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11265
11266 * textmodes/reftex.el (reftex-ref-style-toggle):
11267 Fix deactivate action.
11268
11269 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11270 Add cleveref macros.
11271
11272 * textmodes/reftex-parse.el
11273 (reftex-locate-bibliography-files): Accept options for
11274 bibliography commands.
11275 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11276 Add addbibresource. Basic Biblatex support.
11277
11278 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11279
11280 * net/tramp-gvfs.el (top):
11281 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11282 when loading package. (Bug#14447)
11283
11284 2013-05-23 Glenn Morris <rgm@gnu.org>
11285
11286 * progmodes/js.el: No need to load comint when compiling.
11287 (ring-insert, comint-send-string, comint-send-input)
11288 (comint-last-input-end, ido-chop): Declare.
11289
11290 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11291 * vc/ediff-mult.el: Adjust requires.
11292 (ediff-directories-internal, ediff-directory-revisions-internal)
11293 (ediff-patch-file-internal): Declare.
11294 * vc/ediff-ptch.el: Adjust requires.
11295 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11296 (ediff-find-file): Autoload.
11297 * vc/ediff-util.el: No need to load ediff when compiling.
11298 (ediff-regions-internal): Declare.
11299 * vc/ediff-wind.el: Adjust requires.
11300 (ediff-compute-toolbar-width): Define when compiling.
11301 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11302 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11303 (dired-get-filename, dired-get-marked-files)
11304 (ediff-last-dir-patch, ediff-patch-default-directory)
11305 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11306 (ediff-patch-buffer-internal): Declare.
11307
11308 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11309 (ispell-process, ispell-buffer-local-words, lm-summary)
11310 (lm-section-start, lm-section-end): Declare.
11311 (checkdoc-ispell-init): Simplify.
11312
11313 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11314 (he-string-member, he-reset-string, he-substitute-string): Declare.
11315
11316 * eshell/em-ls.el: Adjust requires.
11317 (eshell-glob-regexp): Declare.
11318 * eshell/em-tramp.el: Adjust requires.
11319 (eshell-parse-command): Autoload.
11320 * eshell/em-xtra.el: Adjust requires.
11321 (eshell-parse-command): Autoload.
11322 * eshell/esh-ext.el: Adjust requires.
11323 (eshell-parse-command, eshell-close-handles): Autoload.
11324 * eshell/esh-io.el: Adjust requires.
11325 (eshell-output-filter): Autoload.
11326 * eshell/esh-util.el: No need to load tramp when compiling.
11327 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11328 Declare.
11329 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11330 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11331 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11332 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11333 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11334 * eshell/esh-opt.el, eshell/esh-proc.el:
11335 * eshell/esh-var.el: Adjust requires.
11336 * eshell/eshell.el: Do not require esh-util twice.
11337 (eshell-add-input-to-history): Declare.
11338 (eshell-command): Check history module is active before using it.
11339
11340 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11341
11342 2013-05-22 Leo Liu <sdl.web@gmail.com>
11343
11344 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11345
11346 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11347
11348 * autorevert.el (auto-revert-notify-add-watch)
11349 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11350 it indicates changes in file modification time.
11351
11352 2013-05-22 Glenn Morris <rgm@gnu.org>
11353
11354 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11355 Always delete the autoloaded function from the noruntime and
11356 unresolved functions lists.
11357
11358 * allout.el: No need to load epa, epg, overlay when compiling.
11359 (epg-context-set-passphrase-callback, epg-list-keys)
11360 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11361 (epg-key-user-id-list): Declare.
11362
11363 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11364 (viper-set-parsing-style-toggling-macro)
11365 (viper-set-emacs-state-searchstyle-macros):
11366 Use called-interactively-p on Emacs.
11367 (viper-looking-back): Make it an obsolete alias. Update callers.
11368 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11369 Use looking-back rather than viper-looking-back.
11370 (viper-tmp-insert-at-eob, viper-enlarge-region)
11371 (viper-read-string-with-history, viper-register-to-point)
11372 (viper-append-to-register, viper-change-state-to-vi)
11373 (viper-backward-char-carefully, viper-forward-char-carefully)
11374 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11375 (viper-change-state-to-emacs): Declare.
11376 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11377 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11378 * emulation/viper-mous.el: Do not load viper-cmd.
11379 (viper-backward-char-carefully, viper-forward-char-carefully)
11380 (viper-forward-word, viper-adjust-window): Declare.
11381
11382 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11383
11384 * progmodes/idlw-help.el (idlwave-help-fontify):
11385 Use called-interactively-p.
11386
11387 * term/w32console.el (w32-get-console-codepage)
11388 (w32-get-console-output-codepage): Declare.
11389
11390 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11391 Remove unnecessary declarations.
11392 (dframe-message): Doc fix.
11393
11394 * info.el (dframe-select-attached-frame, dframe-current-frame):
11395 Declare.
11396
11397 * speedbar.el (speedbar-message): Make it an obsolete alias.
11398 Update all callers.
11399 (speedbar-with-attached-buffer)
11400 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11401 (speedbar-with-writable): Use backquote.
11402 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11403 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11404 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11405 rather than speedbar- aliases.
11406 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11407 (speedbar-make-specialized-keymap, speedbar-insert-button)
11408 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11409 (speedbar-do-function-pointer): Declare.
11410 (rmail-speedbar-button, rmail-speedbar-find-file)
11411 (rmail-speedbar-move-message):
11412 Use dframe-with-attached-buffer rather than speedbar- alias.
11413 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11414 (dframe-message, speedbar-make-specialized-keymap)
11415 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11416 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11417 (speedbar-insert-button, dframe-select-attached-frame)
11418 (dframe-maybee-jump-to-attached-frame)
11419 (speedbar-change-initial-expansion-list)
11420 (speedbar-previously-used-expansion-list-name): Declare.
11421 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11422 Use dframe-message, dframe-with-attached-buffer rather than
11423 speedbar- aliases.
11424 (gud-sentinel): Silence compiler.
11425 * progmodes/vhdl-mode.el (speedbar-refresh)
11426 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11427 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11428 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11429 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11430 (speedbar-file-lists, speedbar-make-tag-line)
11431 (speedbar-line-directory, speedbar-goto-this-file)
11432 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11433 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11434 (speedbar-make-button, speedbar-reset-scanners)
11435 (speedbar-files-item-info, speedbar-line-text)
11436 (speedbar-find-file-in-frame, speedbar-set-timer)
11437 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11438 (speedbar-with-writable): Do not (re)define it.
11439 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11440 rather than speedbar- alias.
11441
11442 2013-05-21 Leo Liu <sdl.web@gmail.com>
11443
11444 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11445 menu items.
11446 (octave-mode): Tweak fill-nobreak-predicate.
11447 (inferior-octave-startup): Check process to avoid infinite loop.
11448 (inferior-octave): Pop to buffer first to show abornmal process
11449 exit information.
11450
11451 2013-05-21 Glenn Morris <rgm@gnu.org>
11452
11453 * printing.el (pr-menu-bar): Define when compiling.
11454
11455 2013-05-21 Leo Liu <sdl.web@gmail.com>
11456
11457 * progmodes/octave.el (octave-auto-fill): Remove.
11458 (octave-indent-new-comment-line): Improve.
11459 (octave-mode): Use auto fill mode through
11460 comment-line-break-function and fill-nobreak-predicate.
11461 (octave-goto-function-definition): Support DEFUN_DLD.
11462 (octave-beginning-of-defun): Small tweak.
11463 (octave-help): Show parent directory.
11464
11465 2013-05-21 Glenn Morris <rgm@gnu.org>
11466
11467 * files.el (dired-unmark):
11468 * progmodes/gud.el (gdb-input): Update declarations.
11469
11470 * calculator.el (electric, ehelp): No need to load when compiling.
11471 (Electric-command-loop, electric-describe-mode): Declare.
11472
11473 * doc-view.el (doc-view-current-converter-processes): Move before use.
11474
11475 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11476 Move MODE-set-explicitly definition before use.
11477
11478 * international/mule-diag.el (mule-diag):
11479 Don't use obsolete window-system-version.
11480
11481 * mail/feedmail.el (smtpmail): No need to load when compiling.
11482 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11483
11484 * mail/mail-utils.el (rfc822): No need to load when compiling.
11485 (rfc822-addresses): Autoload it.
11486 (mail-strip-quoted-names): Trivial simplification.
11487
11488 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11489 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11490
11491 * net/snmp-mode.el (tempo): Don't duplicate requires.
11492
11493 * progmodes/prolog.el (info): No need to load when compiling.
11494 (comint): Require before shell requires it.
11495 (Info-goto-node): Autoload it.
11496 (Info-follow-nearest-node): Declare.
11497 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11498
11499 * textmodes/artist.el (picture-mode-exit): Declare.
11500
11501 * textmodes/reftex-parse.el (reftex-parse-from-file):
11502 Trivial rewrite so the compiler can parse it better.
11503
11504 2013-05-20 Leo Liu <sdl.web@gmail.com>
11505
11506 * progmodes/octave.el (octave-help-mode-map)
11507 (octave-help-mode-finish-hook): New variables.
11508 (octave-help-mode, octave-help-mode-finish): New functions.
11509 (octave-help): Use octave-help-mode.
11510
11511 2013-05-20 Glenn Morris <rgm@gnu.org>
11512
11513 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11514
11515 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11516
11517 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11518 start at point, so that expansion starting right after opening
11519 slash in a regexp is recognized.
11520 (ruby-syntax-before-regexp-re): New defvar, extracted from
11521 ruby-syntax-propertize-function. Since the value of this regexp
11522 is looked up at runtime now, we should be able to turn
11523 `ruby-syntax-methods-before-regexp' into a defcustom later.
11524 (ruby-syntax-propertize-function): Split regexp matching into two
11525 parts, for opening and closing slashes. That allows us to skip
11526 over string interpolations and support multiline regexps.
11527 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11528 for them, which calls `ruby-syntax-propertize-expansion'.
11529 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11530 call to `ruby-syntax-propertize-function'.
11531 (ruby-syntax-propertize-expansion): Extracted from
11532 `ruby-syntax-propertize-expansions'. Handles one expansion.
11533 (ruby-syntax-propertize-percent-literal): Leave point right after
11534 the percent symbol, so that the expression expansion rule can
11535 propertize the contents.
11536 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11537 heredoc openers.
11538 (ruby-syntax-propertize-expansions): Remove.
11539
11540 2013-05-18 Juri Linkov <juri@jurta.org>
11541
11542 * man.el (Man-default-man-entry): Remove `-' from the end
11543 of the default value. (Bug#14400)
11544
11545 2013-05-18 Glenn Morris <rgm@gnu.org>
11546
11547 * comint.el (comint-password-prompt-regexp):
11548 Allow "password for XXX" where XXX contains colons (eg https://...).
11549
11550 2013-05-18 Leo Liu <sdl.web@gmail.com>
11551
11552 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11553 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11554 (octave-source-directories): Don't check process.
11555 (octave-source-directories, octave-find-definition): Doc fix.
11556
11557 2013-05-18 Glenn Morris <rgm@gnu.org>
11558
11559 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11560 Remove backspace/delete bindings. (Bug#14392)
11561
11562 * cus-dep.el (custom-make-dependencies): Sort the output.
11563 (custom-versions-load-alist): Convert comment to doc.
11564
11565 2013-05-17 Leo Liu <sdl.web@gmail.com>
11566
11567 * newcomment.el (comment-search-backward): Stricter in finding
11568 comment start. (Bug#14303)
11569
11570 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11571 (octave-comment-start-skip): Properly anchored.
11572
11573 2013-05-17 Leo Liu <sdl.web@gmail.com>
11574
11575 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11576 Clean up when turned off. (Bug#14395)
11577 (smie--highlight-matching-block-overlay): No longer buffer-local.
11578 (smie-highlight-matching-block): Adjust.
11579
11580 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11581
11582 Doc string fix for "nanoseconds" (Bug#14406).
11583 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11584 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11585
11586 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11587
11588 * calc/calc-units.el (math-extract-units): Preserve powers
11589 of units.
11590
11591 2013-05-17 Leo Liu <sdl.web@gmail.com>
11592
11593 * subr.el (delete-consecutive-dups): New function.
11594 * ido.el (ido-set-matches-1): Use it.
11595 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11596 * ido.el (ido-remove-consecutive-dups): Remove.
11597
11598 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11601 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11602 regexp-opt's `words'.
11603
11604 2013-05-16 Leo Liu <sdl.web@gmail.com>
11605
11606 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11607 (smie--highlight-matching-block-overlay)
11608 (smie--highlight-matching-block-lastpos)
11609 (smie--highlight-matching-block-timer): New variables.
11610 (smie-highlight-matching-block): New function.
11611 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11612 (smie-setup): Conditionally enable smie-blink-matching-open.
11613
11614 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11615
11616 Sync with upstream verilog-mode r840.
11617 * progmodes/verilog-mode.el (verilog-mode-version)
11618 (verilog-mode-release-date): Update.
11619 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11620 (verilog-sig-tieoff): Fix string error on
11621 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11622 (verilog-read-decls): Fix parameters confusing
11623 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11624
11625 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11626
11627 * subr.el (reveal-filename): New function.
11628
11629 * loadup.el: Compute Emacs executable versions on MS-Windows,
11630 where executables have the .exe extension. Add a hard link
11631 emacs-XX.YY.ZZ.exe on MS-Windows.
11632
11633 * Makefile.in (XARGS_LIMIT): New variable.
11634 (custom-deps, finder-data, autoloads)
11635 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11636 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11637 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11638 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11639
11640 2013-05-16 Leo Liu <sdl.web@gmail.com>
11641
11642 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11643 (octave-mode-menu, octave-mode-map): Remove its uses.
11644
11645 2013-05-16 Reto Zimmermann <reto@gnu.org>
11646
11647 Sync with upstream vhdl mode v3.34.2.
11648 * progmodes/vhdl-mode.el: Use `push' throughout.
11649 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11650 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11651 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11652 (vhdl-actual-generic-name): New option to derive actual generic name.
11653 (vhdl-port-paste-signals): Replace formal by actual generics.
11654 (vhdl-beautify): New name for old group vhdl-align. Update users.
11655 (vhdl-beautify-options): New option.
11656 (vhdl-last-input-event): New compat alias. Use throughout.
11657 (vhdl-goto-line): Replace user level function `goto-line'.
11658 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11659 vhdl-fix-statement-buffer.
11660 (vhdl-create-mode-menu): Add some entries.
11661 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11662 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11663 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11664 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11665 to force statements on one line.
11666 (vhdl-remove-trailing-spaces-region):
11667 New, split from vhdl-remove-trailing-spaces.
11668 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11669 Respect vhdl-beautify-options.
11670 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11671 (vhdl-update-sensitivity-list): Not add with index if exists without.
11672 Not include array index with signal. Ignore keywords in comments.
11673 (vhdl-get-visible-signals): Regexp tweaks.
11674 (vhdl-template-component-inst): Handle empty library.
11675 (vhdl-template-type): Add template for 'enum' type.
11676 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11677 Use vhdl-replace-string.
11678 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11679 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11680 (vhdl-speedbar-initialize): Update for above name change.
11681 (vhdl-compose-wire-components): Fix in handling of constants.
11682 (vhdl-error-regexp-emacs-alist): New variable.
11683 (vhdl-error-regexp-add-emacs): New function;
11684 adds support for new compile.el (Emacs 22+)
11685 (vhdl-generate-makefile-1): Change target order for single lib. units.
11686 Allow use of absolute file names.
11687
11688 2013-05-16 Leo Liu <sdl.web@gmail.com>
11689
11690 * simple.el (prog-indent-sexp): Indent enclosing defun.
11691
11692 2013-05-15 Glenn Morris <rgm@gnu.org>
11693
11694 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11695 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11696 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11697 (whitespace-highlight): Move to whitespace group.
11698
11699 * comint.el (comint-source):
11700 * pcmpl-linux.el (pcmpl-linux):
11701 * shell.el (shell-faces):
11702 * eshell/esh-opt.el (eshell-opt):
11703 * international/ccl.el (ccl): Remove empty custom groups.
11704
11705 * completion.el (dynamic-completion-mode):
11706 * jit-lock.el (jit-lock-debug-mode):
11707 * minibuffer.el (completion-in-region-mode):
11708 * type-break.el (type-break-mode-line-message-mode)
11709 (type-break-query-mode):
11710 * emulation/tpu-edt.el (tpu-edt-mode):
11711 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11712 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11713 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11714
11715 * term/xterm.el (xterm): Change parent group to terminals.
11716
11717 * master.el (master): Remove empty custom group.
11718 (master-mode): Remove unused :group argument.
11719 * textmodes/refill.el (refill): Remove empty custom group.
11720 (refill-mode): Remove unused :group argument.
11721
11722 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11723
11724 * cus-dep.el: Provide a feature.
11725 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11726 Don't mistakenly ignore files whose basenames match a basename
11727 from preloaded-file-list (eg cedet/ede/simple.el).
11728 Add a fallback method for getting :group.
11729
11730 2013-05-15 Juri Linkov <juri@jurta.org>
11731
11732 * isearch.el (isearch-char-by-name): Rename from
11733 `isearch-insert-char-by-name'. Doc fix.
11734 (isearch-forward): Mention `isearch-char-by-name' in
11735 the docstring. (Bug#13348)
11736
11737 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11738 `exit-minibuffer' instead of
11739 `isearch-nonincremental-exit-minibuffer'.
11740 (isearch-edit-string): Remove mention of
11741 `isearch-nonincremental-exit-minibuffer' from docstring.
11742 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11743 (isearch-forward-exit-minibuffer)
11744 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11745
11746 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * loadup.el: Just use unversioned DOC.
11749
11750 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11751 literals as extending to EOB.
11752 (nxml-last-fontify-end): Remove unused variable.
11753 (nxml-after-change1): Use with-silent-modifications.
11754 (nxml-extend-after-change-region): Simplify.
11755 (nxml-extend-after-change-region1): Remove function.
11756 (nxml-after-change1): Don't adjust for dependent regions.
11757 (nxml-fontify-matcher): Simplify.
11758 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11759 (xmltok-add-dependent): Remove function.
11760 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11761 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11762 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11763 unclosed <[[, <?, comment, and other literals as extending to EOB.
11764 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11765 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11766 Remove functions.
11767 (rng-do-some-validation-1): Don't mark dependent regions.
11768 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11769 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11770 (nxml-clear-dependent-regions): Remove functions.
11771 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11772 (nxml-ensure-scan-up-to-date):
11773 Don't clear&mark dependent regions.
11774
11775 2013-05-15 Leo Liu <sdl.web@gmail.com>
11776
11777 * progmodes/octave.el (octave-goto-function-definition):
11778 Improve and fix callers.
11779
11780 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11781
11782 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11783 the setter (bug#14387).
11784
11785 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11786 surrounding group (bug#14402).
11787
11788 2013-05-14 Juri Linkov <juri@jurta.org>
11789
11790 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11791 (Bug#14390)
11792
11793 2013-05-14 Glenn Morris <rgm@gnu.org>
11794
11795 * progmodes/f90.el (f90-imenu-generic-expression):
11796 Fix typo in 2013-05-08 change. (Bug#14402)
11797
11798 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11799
11800 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11801 Remove signals for which replies are never received.
11802
11803 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11804
11805 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11806 (gdb-handler-alist, gdb-handler-number): Remove variables.
11807 (gdb-handler-list): New variable.
11808 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11809 (gdb-pending-handler-p, gdb-handle-reply)
11810 (gdb-remove-all-pending-triggers): New functions.
11811 (gdb-discard-unordered-replies): New defcustom.
11812 (gdb-handler): New defstruct.
11813 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11814 instead of gdb-pending-triggers. Update docstring.
11815 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11816 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11817 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11818 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11819 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11820 (gdb-frame-handler): Pending triggers are now automatically managed.
11821 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11822 Remove argument.
11823 (gdb-input): Automatically handles pending triggers. Update docstring.
11824 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11825 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11826 Update comments.
11827 (gdb-done-or-error): Now use gdb-handle-reply.
11828
11829 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11830
11831 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11832 gdb-debug-log.
11833
11834 2013-05-14 Glenn Morris <rgm@gnu.org>
11835
11836 * subr.el (user-emacs-directory-warning): New option.
11837 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11838
11839 2013-05-14 Leo Liu <sdl.web@gmail.com>
11840
11841 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11842 during redisplay.
11843 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11844 (octave-font-lock-texinfo-comment): Fix invalid search bound
11845 error: wrong side of point.
11846
11847 2013-05-14 Glenn Morris <rgm@gnu.org>
11848
11849 * progmodes/flymake.el (flymake-xml-program): New option.
11850 (flymake-xml-init): Use it.
11851
11852 * term/xterm.el: Provide a feature.
11853
11854 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11855
11856 2013-05-13 Glenn Morris <rgm@gnu.org>
11857
11858 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11859 Add compat aliases as a hack workaround. (Bug#14384)
11860
11861 2013-05-13 Leo Liu <sdl.web@gmail.com>
11862
11863 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11864 ###, and %!.
11865 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11866 C-M-q.
11867 (octave-comment-start-skip): Include %!.
11868 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11869
11870 2013-05-12 Leo Liu <sdl.web@gmail.com>
11871
11872 * progmodes/octave.el (inferior-octave-startup): Store the value
11873 of __octave_srcdir__ for octave-source-directories.
11874 (inferior-octave-check-process): New function refactored out of
11875 inferior-octave-send-list-and-digest.
11876 (octave-source-directories)
11877 (octave-find-definition-filename-function): New variables.
11878 (octave-source-directories)
11879 (octave-find-definition-default-filename): New functions.
11880 (octave-find-definition): Improve to find functions implemented in C++.
11881
11882 2013-05-12 Glenn Morris <rgm@gnu.org>
11883
11884 * calendar/diary-lib.el (diary-outlook-format-1):
11885 Don't include dayname in the output. (Bug#14349)
11886
11887 2013-05-11 Glenn Morris <rgm@gnu.org>
11888
11889 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11890
11891 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11892 Treat cc-provide like provide.
11893
11894 2013-05-11 Kevin Ryde <user42@zip.com.au>
11895
11896 * cus-dep.el (custom-make-dependencies):
11897 Use generated-autoload-load-name for the sake of files such
11898 such cedet/semantic/bovine/c.el, where the base file name
11899 is not in load-path. (Bug#5277)
11900
11901 2013-05-11 Glenn Morris <rgm@gnu.org>
11902
11903 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11904 Provide features.
11905
11906 2013-05-11 Leo Liu <sdl.web@gmail.com>
11907
11908 * progmodes/octave.el (octave-indent-comment): Improve.
11909 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11910 (octave-eldoc-function-signatures, octave-eldoc-function):
11911 New functions.
11912 (octave-mode, inferior-octave-mode): Add eldoc support.
11913
11914 2013-05-11 Richard Stallman <rms@gnu.org>
11915
11916 * epa.el (epa-decrypt-file): Take output file name as argument
11917 and read it using `interactive'.
11918
11919 2013-05-11 Leo Liu <sdl.web@gmail.com>
11920
11921 * progmodes/octave.el (octave-beginning-of-line)
11922 (octave-end-of-line): Check before using up-list because it jumps
11923 out of more syntactic contructs since moving to smie.
11924 (octave-indent-comment): New function.
11925 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11926 (octave-begin-keywords, octave-end-keywords)
11927 (octave-reserved-words, octave-smie-bnf-table)
11928 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11929
11930 2013-05-11 Glenn Morris <rgm@gnu.org>
11931
11932 * faces.el (internal-face-x-get-resource):
11933 * frame.el (ns-display-monitor-attributes-list):
11934 * calc/calc-aent.el (math-to-radians-2):
11935 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11936 Fix declarations.
11937
11938 * calc/calc-menu.el: Make it loadable in isolation.
11939
11940 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11941 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11942 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11943 (eudc-bbdb-query-internal): Require 'bbdb.
11944
11945 * lpr.el (lpr-headers-switches):
11946 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11947
11948 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11949
11950 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11951
11952 * term.el (term-set-escape-char): Make it idempotent.
11953
11954 2013-05-10 Leo Liu <sdl.web@gmail.com>
11955
11956 * progmodes/octave.el (inferior-octave-completion-table):
11957 No longer a function and all uses changed. Use cache to speed up
11958 completion due to bug#11906.
11959 (octave-beginning-of-defun): Re-write to be more general.
11960
11961 2013-05-10 Glenn Morris <rgm@gnu.org>
11962
11963 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11964
11965 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * comint.el (comint-redirect-send-command-to-process): Use :around
11968 rather than :override for comint-redirect-filter.
11969 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11970 Call it instead of comint-redirect-original-filter-function (which
11971 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11972
11973 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11974
11975 * frame.el (display-monitor-attributes-list): Add NS case.
11976 (ns-display-monitor-attributes-list): Declare.
11977
11978 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11979
11980 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11981
11982 2013-05-09 Glenn Morris <rgm@gnu.org>
11983
11984 * international/fontset.el (vertical-centering-font-regexp):
11985 Set standard-value.
11986
11987 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11988
11989 * bookmark.el (bookmark-search-delay):
11990 * cus-start.el (vertical-centering-font-regexp):
11991 * ps-mule.el (ps-mule-font-info-database-default):
11992 * ps-print.el (ps-default-fg, ps-default-bg):
11993 * type-break.el (type-break-good-break-interval):
11994 * whitespace.el (whitespace-indentation-regexp)
11995 (whitespace-space-after-tab-regexp):
11996 * emacs-lisp/testcover.el (testcover-1value-functions)
11997 (testcover-noreturn-functions, testcover-progn-functions)
11998 (testcover-prog1-functions):
11999 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12000 * eshell/em-glob.el (eshell-glob-translate-alist):
12001 * play/tetris.el (tetris-tty-colors):
12002 * progmodes/cpp.el (cpp-face-default-list):
12003 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12004 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12005 (idlwave-help-browser-generic-args):
12006 * progmodes/make-mode.el (makefile-special-targets-list):
12007 * progmodes/python.el (python-shell-virtualenv-path):
12008 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12009 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12010 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12011 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12012 * textmodes/reftex-vars.el (reftex-format-label-function):
12013 * textmodes/remember.el (remember-diary-file): Fix custom types.
12014
12015 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12016 Add :version.
12017
12018 2013-05-09 Leo Liu <sdl.web@gmail.com>
12019
12020 * progmodes/octave.el (inferior-octave-completion-at-point):
12021 Restore file completion. (Bug#14300)
12022 (inferior-octave-startup): Fix incorrect highlighting for the
12023 first prompt.
12024
12025 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * progmodes/ruby-mode.el: First cut at SMIE support.
12028 (ruby-use-smie): New var.
12029 (ruby-smie-grammar): New constant.
12030 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12031 (ruby-smie--forward-token, ruby-smie--backward-token)
12032 (ruby-smie-rules): New functions.
12033 (ruby-mode-variables): Setup SMIE if applicable.
12034
12035 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12036
12037 * simple.el (line-move-visual): Signal beginning/end of buffer
12038 only if vertical-motion moved less than it was requested. Avoids
12039 silly incorrect error messages when there are display strings with
12040 multiple newlines at EOL.
12041
12042 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12045 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12046 (prolog-char-quote-workaround):
12047 * progmodes/cperl-mode.el (cperl-under-as-char):
12048 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12049 Mark as obsolete.
12050 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12051 their declaration.
12052 (vhdl-mode-syntax-table-init): Remove.
12053
12054 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12055 last change.
12056
12057 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12058 syntax for "_".
12059 (ld-script-font-lock-keywords):
12060 Change regexps to use things like \_< and \_>.
12061
12062 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12063 Change all regexps to use things like \_< and \_>.
12064
12065 * progmodes/autoconf.el (autoconf-definition-regexp)
12066 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12067 Handle a _ with symbol syntax.
12068 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12069
12070 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12071 Consolidate declaration.
12072 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12073 the declaration.
12074 (ada-create-syntax-table): Remove.
12075 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12076 already has the right syntax nowadays.
12077 (ada-goto-next-word): Don't change the syntax of "_".
12078
12079 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12080 with-wrapper-hook.
12081
12082 2013-05-08 Sam Steingold <sds@gnu.org>
12083
12084 * thingatpt.el (thing-at-point): Accept optional second argument
12085 NO-PROPERTIES to strip the text properties from the return value.
12086 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12087 to `thing-at-point' instead of stripping the properties ourselves.
12088 Also, when `thing-at-point' fails to find a url, prepend "http://"
12089 to the filename at point on the assumption that the user is
12090 pointing at something like gnu.org/gnu.
12091
12092 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12093
12094 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12095 * faces.el (crm-separator):
12096 Silence byte-compiler.
12097
12098 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12099 (tool-bar-map): Remove unneeded defvars.
12100
12101 2013-05-08 Leo Liu <sdl.web@gmail.com>
12102
12103 Re-work a fix for bug#10994 based on Le Wang's patch.
12104 * ido.el (ido-remove-consecutive-dups): New helper.
12105 (ido-completing-read): Use it.
12106 (ido-chop): Revert fix for bug#10994.
12107
12108 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12109
12110 * cus-edit.el (custom-save-variables):
12111 Pretty-print long values. (Bug#14187)
12112
12113 2013-05-08 Glenn Morris <rgm@gnu.org>
12114
12115 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12116 (m4-mode-syntax-table): Init in the defvar.
12117 (m4-mode-abbrev-table): Let define-derived-mode define it.
12118
12119 2013-05-08 Tom Tromey <tromey@redhat.com>
12120
12121 * progmodes/m4-mode.el (m4-mode-syntax-table):
12122 Do not treat "_" as word constituent. (Bug#14167)
12123
12124 2013-05-07 Glenn Morris <rgm@gnu.org>
12125
12126 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12127 Remove explicit eshell-isearch-cancel-map.
12128
12129 * progmodes/f90.el (f90-smart-end-names): New option.
12130 (f90-smart-end): Doc fix.
12131 (f90-end-block-optional-name): New constant.
12132 (f90-block-match): Respect f90-smart-end-names.
12133
12134 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12137 about implicit semi-colons (bug#14218).
12138
12139 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12140
12141 * frame.el (display-monitor-attributes-list)
12142 (frame-monitor-attributes): New functions.
12143
12144 2013-05-06 Leo Liu <sdl.web@gmail.com>
12145
12146 * progmodes/octave.el (octave-syntax-propertize-function): Change
12147 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12148 (octave-font-lock-keywords): Use octave-operator-regexp.
12149 (octave-completion-at-point): Rename from
12150 octave-completion-at-point-function.
12151 (inferior-octave-directory-tracker): Robustify.
12152 (octave-text-functions): Remove and fix its uses. No such things
12153 any more.
12154
12155 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * emacs-lisp/trace.el (trace--display-buffer): New function.
12158 (trace-make-advice): Use it.
12159
12160 2013-05-06 Juri Linkov <juri@jurta.org>
12161
12162 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12163 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12164 Doc fix.
12165 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12166 in the help string. (Bug#12985)
12167
12168 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12169
12170 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12171
12172 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * progmodes/perl-mode.el: Add support for here documents.
12175 (perl-syntax-propertize-function): Match here-doc markers.
12176 (perl-syntax-propertize-special-constructs): Find their end.
12177 (perl-imenu-generic-expression): Use [:alnum:].
12178
12179 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12180 (advice--add-function): Refresh the advice if already present
12181 (bug#14317).
12182
12183 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12184
12185 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12186
12187 2013-05-06 Glenn Morris <rgm@gnu.org>
12188
12189 * w32-fns.el (w32-charset-info-alist): Declare.
12190
12191 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12192 of its defcustom properties.
12193 (eshell-cmpl-initialize): No need to load pcomplete.
12194
12195 * generic-x.el: No need to require comint when compiling.
12196
12197 * net/eudc-export.el: Make it loadable without bbdb.
12198 (top-level): Use require rather than load-library.
12199 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12200 (eudc-batch-export-records-to-bbdb)
12201 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12202 Require bbdb.
12203
12204 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12207 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12208 some tweaks, instead.
12209
12210 2013-05-05 Leo Liu <sdl.web@gmail.com>
12211
12212 * progmodes/octave.el (octave-font-lock-keywords)
12213 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12214 (inferior-octave-send-list-and-digest): Improve error message.
12215 (octave-mode, inferior-octave-mode): Use setq-local.
12216 (octave-help): Set info-lookup-mode.
12217
12218 2013-05-05 Richard Stallman <rms@gnu.org>
12219
12220 * vc/compare-w.el (compare-windows-whitespace):
12221 Treat no-break space as whitespace.
12222
12223 * mail/rmailsum.el (rmail-summary-rmail-update):
12224 Detect empty summary and don't change selected message.
12225 (rmail-summary-goto-msg): Likewise.
12226
12227 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12228 Doc fixes, rename args.
12229
12230 2013-05-05 Alan Mackenzie <acm@muc.de>
12231
12232 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12233
12234 2013-05-05 Juri Linkov <juri@jurta.org>
12235
12236 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12237 to not add the length of the summary segment to the return value.
12238 (Bug#14125)
12239
12240 2013-05-05 Leo Liu <sdl.web@gmail.com>
12241
12242 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12243 (inferior-octave-output-filter): Remove.
12244 (octave-send-region, inferior-octave-startup): Fix callers.
12245 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12246 (octave-binary-file-extensions): New user variable.
12247 (octave-find-definition): Confirm if opening binary files.
12248 (octave-help-file): Use octave-find-definition to get the binary
12249 confirmation.
12250 (octave-help): Adjust for octave-help-file change.
12251
12252 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12255 Merge the two entries that handle function definitions.
12256 (pascal--syntax-propertize): New const.
12257 (pascal-mode): Use it. Use setq-local.
12258
12259 2013-05-04 Glenn Morris <rgm@gnu.org>
12260
12261 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12262 (diary-from-outlook): Respect diary-from-outlook-function.
12263
12264 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12267 Move the declaration from C.
12268 (read-minibuffer, eval-minibuffer): Move from C.
12269 (completion-setup-function): Avoid minibuffer-completion-contents.
12270
12271 2013-05-03 Leo Liu <sdl.web@gmail.com>
12272
12273 * progmodes/octave.el (octave-font-lock-keywords): Do not
12274 dehighlight 'end' in comments or strings.
12275 (octave-completing-read, octave-goto-function-definition):
12276 New helpers.
12277 (octave-help-buffer): New user variable.
12278 (octave-help-file, octave-help-function): New button types.
12279 (octave-help): New command and bind it to C-h ;.
12280 (octave-find-definition): New command and bind it to M-.
12281 (user-error): Alias to error if not defined.
12282
12283 2013-05-02 Leo Liu <sdl.web@gmail.com>
12284
12285 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12286 for \. (bug#14332)
12287 (octave-font-lock-keywords): Include [ and {.
12288
12289 2013-05-02 Leo Liu <sdl.web@gmail.com>
12290
12291 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12292 (inferior-octave): Remove calling comint-mode and return the buffer.
12293 (inferior-octave-startup): Cosmetic changes.
12294
12295 2013-05-02 Leo Liu <sdl.web@gmail.com>
12296
12297 * progmodes/octave.el (octave-syntax-propertize-function):
12298 Include the case when ' is at line beginning. (Bug#14336)
12299
12300 2013-05-02 Glenn Morris <rgm@gnu.org>
12301
12302 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12303 * desktop.el (vc-dir-mode): Just autoload it here.
12304
12305 2013-05-02 Alan Mackenzie <acm@muc.de>
12306
12307 Eliminate variable c-standard-font-lock-fontify-region-function.
12308 * progmodes/cc-mode.el
12309 (c-standard-font-lock-fontify-region-function): Remove.
12310 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12311
12312 2013-05-01 Leo Liu <sdl.web@gmail.com>
12313
12314 * progmodes/octave.el: Compatible with older emacs-24 releases.
12315 (inferior-octave-has-built-in-variables): Remove. Built-in
12316 variables were removed from Octave in 2007.
12317 (inferior-octave-startup): Fix uses.
12318 (comint-line-beginning-position): Remove compatibility code for
12319 emacs 21.
12320
12321 2013-05-01 Juri Linkov <juri@jurta.org>
12322
12323 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12324
12325 2013-05-01 Juri Linkov <juri@jurta.org>
12326
12327 * comint.el (comint-previous-matching-input): Don't print message
12328 "History item: %d" when `isearch-mode' is active.
12329 (comint-history-isearch-message): Print message "History item: %d"
12330 when `comint-input-ring-index' is not empty and this function is
12331 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12332
12333 2013-05-01 Leo Liu <sdl.web@gmail.com>
12334
12335 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12336 definitions. Use completion-at-point to insert keywords.
12337 (octave-abbrev-start): Remove.
12338 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12339
12340 2013-04-30 Leo Liu <sdl.web@gmail.com>
12341
12342 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12343 change.
12344
12345 2013-04-30 Alan Mackenzie <acm@muc.de>
12346
12347 Handle arbitrarily long C++ member initialisation lists.
12348 * progmodes/cc-engine.el (c-back-over-member-initializers):
12349 new function.
12350 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12351 (most) member init lists.
12352
12353 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12354
12355 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12356 variable.
12357
12358 2013-04-30 Leo Liu <sdl.web@gmail.com>
12359
12360 * progmodes/octave.el (octave-variables): Remove. No builtin
12361 variables any more. All converted to functions.
12362 (octave-font-lock-keywords, octave-completion-at-point-function):
12363 Fix uses.
12364 (octave-font-lock-texinfo-comment): New user variable.
12365 (octave-texinfo-font-lock-keywords): New variable for texinfo
12366 comment block.
12367 (octave-function-comment-block): New face.
12368 (octave-font-lock-texinfo-comment): New function.
12369 (octave-mode): Font lock texinfo comment block.
12370
12371 2013-04-29 Leo Liu <sdl.web@gmail.com>
12372
12373 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12374 indexing expression.
12375 (octave-continuation-string): Do not use \.
12376 (inferior-octave-complete-impossible): Remove.
12377 (inferior-octave-completion-table)
12378 (inferior-octave-completion-at-point): Remove its uses.
12379 (inferior-octave-startup): completion_matches was introduced to
12380 Octave in 1996 so safe to assume it.
12381 (octave-function-file-comment): Improve to follow how Octave does it.
12382 (octave-update-function-file-comment): Tweak.
12383
12384 2013-04-29 Leo Liu <sdl.web@gmail.com>
12385
12386 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12387 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12388 (octave-function-file-comment): Fix typo.
12389 (octave-sync-function-file-names): Use read-char-choice.
12390
12391 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12392
12393 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12394 to t for the less important warnings.
12395
12396 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12397
12398 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12399
12400 2013-04-27 Glenn Morris <rgm@gnu.org>
12401
12402 * vc/log-view.el (log-view-current-entry):
12403 Treat "---" separator lines as part of the following rev. (Bug#14169)
12404
12405 2013-04-27 Juri Linkov <juri@jurta.org>
12406
12407 * subr.el (read-number): Doc fix about using it by interactive
12408 code letter `n'. (Bug#14254)
12409
12410 2013-04-27 Juri Linkov <juri@jurta.org>
12411
12412 * desktop.el (desktop-auto-save-timeout): New option.
12413 (desktop-file-checksum): New variable.
12414 (desktop-save): Add optional arg `auto-save' and don't auto-save
12415 if nothing changed.
12416 (desktop-auto-save-timer): New variable.
12417 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12418 (after-init-hook): Call `desktop-auto-save-set-timer'.
12419 Suggested by Reuben Thomas <rrt@sc3d.org> in
12420 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12421
12422 2013-04-27 Leo Liu <sdl.web@gmail.com>
12423
12424 * progmodes/octave.el (octave-function-file-p)
12425 (octave-skip-comment-forward, octave-function-file-comment)
12426 (octave-update-function-file-comment): New functions.
12427 (octave-mode-map): Bind C-c ; to
12428 octave-update-function-file-comment.
12429 (octave-mode-menu): Add octave-update-function-file-comment.
12430 (octave-mode, inferior-octave-mode): Fix doc-string.
12431 (octave-insert-defun): Conform to Octave's coding convention.
12432 (Bug#14285)
12433
12434 * files.el (basic-save-buffer): Don't let errors in
12435 before-save-hook prevent saving buffer.
12436
12437 2013-04-20 Roland Winkler <winkler@gnu.org>
12438
12439 * faces.el (read-face-name): Use completing-read if arg multiple
12440 is nil.
12441
12442 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12443
12444 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12445 displayed, move point to after the totals line.
12446 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12447 for the details.
12448
12449 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12452 Add current dir to the load-path.
12453 (package-generate-autoloads): Don't rely on
12454 autoload-ensure-default-file.
12455
12456 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12457
12458 * textmodes/remember.el (remember-store-in-files): Document that
12459 the file name format is passed to `format-time-string'.
12460
12461 2013-04-26 Leo Liu <sdl.web@gmail.com>
12462
12463 * progmodes/octave.el (octave-sync-function-file-names): New function.
12464 (octave-mode): Use it in before-save-hook.
12465
12466 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12467
12468 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12469 (bug#14274).
12470
12471 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12472 \n and comment, even if it's not an implicit ; (bug#14218).
12473
12474 2013-04-26 Glenn Morris <rgm@gnu.org>
12475
12476 * subr.el (read-number): Once more use `read' rather than
12477 `string-to-number', to trap non-numeric input. (Bug#14254)
12478
12479 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12480
12481 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12482 Use `syntax-multiline' text property consistently instead of
12483 `font-lock-multiline'. (Bug#14237)
12484
12485 2013-04-26 Glenn Morris <rgm@gnu.org>
12486
12487 * emacs-lisp/shadow.el (list-load-path-shadows):
12488 No longer necessary to check for duplicate simple.el, since
12489 2012-07-07 change to init_lread to not include installation lisp
12490 directories in load-path when running uninstalled. (Bug#14270)
12491
12492 2013-04-26 Leo Liu <sdl.web@gmail.com>
12493
12494 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12495 (octave-mode, inferior-octave-mode): Use setq-local.
12496 (octave-not-in-string-or-comment-p): Rename to
12497 octave-in-string-or-comment-p.
12498 (octave-in-comment-p, octave-in-string-p)
12499 (octave-in-string-or-comment-p): Replace defsubst with defun.
12500
12501 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12502
12503 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12504
12505 2013-04-25 Bastien Guerry <bzg@gnu.org>
12506
12507 * textmodes/remember.el (remember-data-directory)
12508 (remember-directory-file-name-format): Fix custom types.
12509
12510 2013-04-25 Leo Liu <sdl.web@gmail.com>
12511
12512 * progmodes/octave.el (octave-completion-at-point-function):
12513 Make use of inferior octave process.
12514 (octave-initialize-completions): Remove.
12515 (inferior-octave-completion-table): New function.
12516 (inferior-octave-completion-at-point): Use it.
12517 (octave-completion-alist): Remove.
12518
12519 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12522 (opascal-mode-syntax-table): New var.
12523 (opascal-literal-kind, opascal-is-literal-end)
12524 (opascal-literal-token-at): Rewrite.
12525 (opascal--literal-start-re, opascal-font-lock-keywords)
12526 (opascal--syntax-propertize): New constants.
12527 (opascal-font-lock-defaults): Adjust.
12528 (opascal-mode): Use them. Set comment-<foo> variables as well.
12529 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12530 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12531 (delphi-other-face, opascal-other-face): Remove face variables.
12532 (opascal-save-state): Remove macro.
12533 (opascal-fontifying-progress-step): Remove constant.
12534 (opascal--ignore-changes): Remove var.
12535 (opascal-set-token-property, opascal-parse-next-literal)
12536 (opascal-is-stable-literal, opascal-complete-literal)
12537 (opascal-is-literal-start, opascal-face-of)
12538 (opascal-parse-region, opascal-parse-region-until-stable)
12539 (opascal-fontify-region, opascal-after-change)
12540 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12541 (opascal-debug-parse-region, opascal-debug-parse-window)
12542 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12543 (opascal-debug-fontify-buffer): Remove.
12544 (opascal-debug-mode-map): Adjust accordingly.
12545
12546 2013-04-25 Leo Liu <sdl.web@gmail.com>
12547
12548 Merge octave-mod.el and octave-inf.el into octave.el with some
12549 cleanups.
12550 * progmodes/octave.el: New file renamed from octave-mod.el.
12551 * progmodes/octave-inf.el: Merged into octave.el.
12552 * progmodes/octave-mod.el: Renamed to octave.el.
12553
12554 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12555
12556 * textmodes/reftex-vars.el
12557 (reftex-label-ignored-macros-and-environments): New defcustom.
12558
12559 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12560
12561 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12564 (smie-indent-keyword): Improve the check to ensure that the next
12565 comment is really on the same line.
12566 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12567
12568 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12569 semi-colons if the line is not otherwise empty (bug#14218).
12570
12571 2013-04-25 Glenn Morris <rgm@gnu.org>
12572
12573 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12574
12575 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * progmodes/opascal.el (opascal-set-token-property): Rename from
12578 opascal-set-text-properties and only set `token' (bug#14134).
12579 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12580 (opascal-literal-text-properties): Remove.
12581 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12582 Adjust callers.
12583
12584 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12585
12586 * textmodes/remember.el (remember-handler-functions): Add an
12587 option for a new handler `remember-store-in-files'.
12588 (remember-data-directory, remember-directory-file-name-format):
12589 New options.
12590 (remember-store-in-files): New function to store remember notes
12591 as separate files within a directory.
12592
12593 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12594
12595 * progmodes/compile.el (compilation-next-error-function):
12596 Pass "formats" to compilation-find-file (bug#11777).
12597
12598 2013-04-24 Glenn Morris <rgm@gnu.org>
12599
12600 * vc/vc-bzr.el (vc-bzr-print-log):
12601 * vc/vc-hg.el (vc-hg-print-log):
12602 * vc/vc-svn.el (vc-svn-print-log):
12603 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12604
12605 * vc/vc-bzr.el (vc-bzr-print-log):
12606 * vc/vc-cvs.el (vc-cvs-print-log):
12607 * vc/vc-git.el (vc-git-print-log):
12608 * vc/vc-hg.el (vc-hg-print-log):
12609 * vc/vc-mtn.el (vc-mtn-print-log):
12610 * vc/vc-rcs.el (vc-rcs-print-log):
12611 * vc/vc-sccs.el (vc-sccs-print-log):
12612 * vc/vc-svn.el (vc-svn-print-log):
12613 * vc/vc.el (vc-print-log-internal): Doc fixes.
12614
12615 2013-04-23 Glenn Morris <rgm@gnu.org>
12616
12617 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12618 Remove venerable code attempting to avoid substitute-command-keys.
12619
12620 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12621
12622 * textmodes/reftex-vars.el (reftex-label-regexps):
12623 Call `reftex-compile-variables' after changes to this variable.
12624
12625 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12628 Use lexical-binding.
12629 (jit-lock-force-redisplay): Use markers, check buffer's continued
12630 existence and beware narrowed buffers.
12631 (jit-lock-fontify-now): Adjust call accordingly.
12632
12633 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12636 to avoid misleading the user.
12637
12638 2013-04-22 Leo Liu <sdl.web@gmail.com>
12639
12640 * info-look.el: Prefer latex2e.info. (Bug#14240)
12641
12642 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12643
12644 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12645
12646 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12647 * net/tramp.el (tramp-call-process): ... here.
12648 (tramp-set-completion-function, tramp-parse-putty):
12649 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12650 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12651 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12652 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12653 (tramp-call-local-coding-command): Use `tramp-call-process'
12654 instead of `tramp-compat-call-process'.
12655
12656 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12657 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12658 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12659 (tramp-find-inline-compress): Improve traces.
12660 (tramp-maybe-send-script): Check for Perl binary.
12661 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12662
12663 2013-04-22 Daiki Ueno <ueno@gnu.org>
12664
12665 * epg.el (epg-context-pinentry-mode): New function.
12666 (epg-context-set-pinentry-mode): New function.
12667 (epg--start): Pass --pinentry-mode option to gpg command.
12668
12669 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12670
12671 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12672 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12673 `completion-at-point'. (Bug#13774)
12674
12675 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12676 default key binding for `describe-distribution' has been moved to
12677 `C-h C-o'. (Bug#13970)
12678
12679 2013-04-21 Glenn Morris <rgm@gnu.org>
12680
12681 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12682 Add doc strings.
12683 (vc-print-log): Clarify interactive prompt.
12684
12685 2013-04-20 Glenn Morris <rgm@gnu.org>
12686
12687 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12688 No longer include timestamp etc information.
12689
12690 2013-04-20 Roland Winkler <winkler@gnu.org>
12691
12692 * faces.el (read-face-name): Bug fix, return just one face if arg
12693 multiple is nil. (Bug#14209)
12694
12695 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12698 (remove-function): Autoload.
12699
12700 * comint.el (comint-redirect-original-filter-function): Remove.
12701 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12702 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12703 (vc-cvs-annotate-command):
12704 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12705 * progmodes/prolog.el (prolog-consult-compile):
12706 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12707 Use add/remove-function instead.
12708 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12709 (gud-tooltip-process-output, gud-tooltip-tips):
12710 Use add/remove-function instead.
12711 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12712 (scheme-interaction-mode, exit-scheme-interaction-mode):
12713 Use add/remove-function instead.
12714
12715 * vc/vc-dispatcher.el: Use lexical-binding.
12716 (vc--process-sentinel): Rename from vc-process-sentinel.
12717 Change last arg to be the code to run. Don't use vc-previous-sentinel
12718 and vc-sentinel-commands any more.
12719 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12720 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12721
12722 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12723
12724 * progmodes/sh-script.el (sh-imenu-generic-expression):
12725 Handle function names with a single character. (Bug#14111)
12726
12727 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12728
12729 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12730 for subroutines defined in an eval (bug#14182).
12731
12732 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12733
12734 * bookmark.el (bookmark-completing-read): Improve handling of empty
12735 string (bug#14176).
12736
12737 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12740
12741 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12742
12743 New faster Imenu implementation (bug#14058).
12744 * progmodes/python.el:
12745 (python-imenu-prev-index-position):
12746 (python-imenu-format-item-label-function)
12747 (python-imenu-format-parent-item-label-function)
12748 (python-imenu-format-parent-item-jump-label-function):
12749 New vars.
12750 (python-imenu-format-item-label)
12751 (python-imenu-format-parent-item-label)
12752 (python-imenu-format-parent-item-jump-label)
12753 (python-imenu--put-parent, python-imenu--build-tree)
12754 (python-imenu-create-index, python-imenu-create-flat-index)
12755 (python-util-popn): New functions.
12756 (python-mode): Set imenu-create-index-function to
12757 python-imenu-create-index.
12758
12759 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * winner.el (winner-active-region): Use region-active-p, activate-mark
12762 and deactivate-mark (bug#14225).
12763
12764 * simple.el (deactivate-mark): Don't inline it.
12765
12766 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12767
12768 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12769
12770 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12771
12772 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12773 file extensions from the archive-mode entry in order to prefer
12774 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12775
12776 2013-04-18 Leo Liu <sdl.web@gmail.com>
12777
12778 * bindings.el (help-event-list): Add ?\?.
12779
12780 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * subr.el (with-wrapper-hook): Declare obsolete.
12783 * simple.el (filter-buffer-substring-function): New hook.
12784 (filter-buffer-substring): Use it.
12785 (filter-buffer-substring-functions): Mark obsolete.
12786 * minibuffer.el (completion-in-region-function): New hook.
12787 (completion-in-region): Use it.
12788 (completion-in-region-functions): Mark obsolete.
12789 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12790 * abbrev.el (abbrev-expand-function): New hook.
12791 (expand-abbrev): Use it.
12792 (abbrev-expand-functions): Mark obsolete.
12793 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12794 and :filter-return.
12795
12796 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12797
12798 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12799 and do not care about match data.
12800
12801 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12804 completion tables when completing error conditions and
12805 `declare' arguments.
12806 (lisp-complete-symbol, field-complete): Mark as obsolete.
12807 (check-parens): Unmatched parens are user errors.
12808 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12809
12810 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12811
12812 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12813 command changed buffer (ie. `flyspell-pre-buffer' is not current
12814 buffer), which prevents making decisions based on invalid value of
12815 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12816 cause an error when `flyspell-pre-point' was nil after switching
12817 buffers.
12818 (flyspell-post-command-hook): No longer needs to change buffers when
12819 checking pre-word. While at it remove unnecessary progn.
12820
12821 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12822
12823 * textmodes/ispell.el (ispell-add-per-file-word-list):
12824 Fix `flyspell-correct-word-before-point' error when accepting
12825 words and `coment-padding' is an integer by using
12826 `comment-normalize-vars' (Bug #14214).
12827
12828 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12829
12830 New defun movement commands.
12831 * progmodes/python.el (python-nav--syntactically)
12832 (python-nav--forward-defun, python-nav-backward-defun)
12833 (python-nav-forward-defun): New functions.
12834
12835 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12836
12837 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12838 (python-syntax-context): Use named compiler-macro for backwards
12839 compatibility with Emacs 24.x.
12840
12841 2013-04-17 Leo Liu <sdl.web@gmail.com>
12842
12843 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12844 octave-hide-process-buffer.
12845
12846 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12849 (bug#14216).
12850
12851 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12852
12853 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12854 Fix adjustment of offset when receiving incomplete responses from GDB
12855 (bug#14129).
12856
12857 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12860 python-mode-abbrev-table.
12861 (python-skeleton-define): Adjust accordingly.
12862 (python-mode-abbrev-table): New table that inherits from it so that
12863 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12864
12865 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12866 (abbrev-symbol): Use it.
12867 (abbrev--before-point): Use it since we already handle inheritance.
12868
12869 2013-04-16 Leo Liu <sdl.web@gmail.com>
12870
12871 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12872 binding to info-lookup-symbol.
12873
12874 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12875
12876 * minibuffer.el (completion--twq-all):
12877 * term/ns-win.el (ns-initialize-window-system):
12878 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12879
12880 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12881
12882 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12883 global bindings.
12884
12885 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12886
12887 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12888
12889 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12890 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12891 to nil.
12892 (ruby-end-of-defun): Remove the unused arg, change the docstring
12893 to reflect that this function is only used as the value of
12894 `end-of-defun-function'.
12895 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12896 to reflect an earlier change that beginning/end-of-defun functions
12897 jump between methods in a class definition, as well as top-level
12898 functions.
12899
12900 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * minibuffer.el (minibuffer-complete): Don't just scroll
12903 a *Completions* that's been iconified.
12904 (minibuffer-force-complete): Make sure repetitions do cycle when going
12905 through completion-in-region -> minibuffer-complete.
12906
12907 2013-04-15 Alan Mackenzie <acm@muc.de>
12908
12909 Correct the placement of c-cpp-delimiters when there're #s not at
12910 col 0.
12911
12912 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12913 place a submatch around the #.
12914 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12915 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12916 on the #, not BOL.
12917
12918 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12921 (advice--member-p): New arg `name'.
12922 (advice--add-function, advice-member-p): Use it (bug#14202).
12923
12924 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12925
12926 Reformulate java imenu-generic-expression.
12927 The old expression contained ill formed regexps.
12928
12929 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12930 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12931 (cc-imenu-java-method-arg-regexp): New defconsts.
12932 (cc-imenu-java-build-type-args-regex): New defun.
12933 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12934 handling of spaces in the regexp.
12935
12936 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12937
12938 * textmodes/ispell.el (ispell-command-loop): Remove
12939 flyspell highlight of a word when ispell accepts it (bug #14178).
12940
12941 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12942
12943 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12944 uses code from the previous `ange-ftp-run-real-handler'.
12945 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12946 only in case that function exist. This is needed for proper
12947 unloading of Tramp.
12948
12949 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12950
12951 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12952
12953 * textmodes/reftex.el (reftex-compile-variables): Use it.
12954
12955 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12956
12957 * files.el (normal-mode): Only use default major-mode if no other mode
12958 was specified.
12959
12960 * emacs-lisp/trace.el (trace-values): New function.
12961
12962 * files.el: Allow : in local variables (bug#14089).
12963 (hack-local-variable-regexp): New var.
12964 (hack-local-variables-prop-line, hack-local-variables): Use it.
12965
12966 2013-04-13 Roland Winkler <winkler@gnu.org>
12967
12968 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12969 data before it gets modified by bibtex-beginning-of-entry.
12970
12971 2013-04-13 Roland Winkler <winkler@gnu.org>
12972
12973 * textmodes/bibtex.el (bibtex-url): Doc fix.
12974
12975 2013-04-13 Roland Winkler <winkler@gnu.org>
12976
12977 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12978 does not visit a BibTeX file, exclude it from the list of buffers
12979 returned by bibtex-initialize.
12980
12981 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12982
12983 * window.el (split-window): Remove interactive form, since as a
12984 command this function is a special case of split-window-below.
12985 Correct doc string.
12986
12987 2013-04-12 Roland Winkler <winkler@gnu.org>
12988
12989 * faces.el (read-face-name): Do not override value of arg default.
12990 Allow single faces and strings as default values. Remove those
12991 elements from return value that are not faces.
12992 (describe-face): Simplify.
12993 (face-at-point): New optional args thing and multiple so that this
12994 function can provide the same functionality previously provided by
12995 read-face-name.
12996 (make-face-bold, make-face-unbold, make-face-italic)
12997 (make-face-unitalic, make-face-bold-italic, invert-face)
12998 (modify-face, read-face-and-attribute): Use face-at-point.
12999
13000 * cus-edit.el (customize-face, customize-face-other-window)
13001 * cus-theme.el (custom-theme-add-face)
13002 * face-remap.el (buffer-face-set)
13003 * facemenu.el (facemenu-set-face): Use face-at-point.
13004
13005 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13006
13007 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13008
13009 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13010
13011 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13012 off leading { and trailing } from field values.
13013
13014 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * emacs-lisp/timer.el (timer--check): New function.
13017 (timer--time, timer-set-function, timer-event-handler): Use it.
13018 (timer-set-idle-time): Simplify.
13019 (timer--activate): CSE.
13020 (timer-event-handler): Give more info in error message.
13021 (internal-timer-start-idle): New function, moved from C.
13022
13023 * mpc.el (mpc-proc): Add `restart' argument.
13024 (mpc-proc-cmd): Use it.
13025 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13026 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13027 less often.
13028
13029 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13030
13031 * progmodes/sh-script.el: Implement `sh-mode' own
13032 `add-log-current-defun-function' (bug#14112).
13033 (sh-current-defun-name): New function.
13034 (sh-mode): Use the function.
13035
13036 2013-04-09 Bastien Guerry <bzg@gnu.org>
13037
13038 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13039
13040 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13043
13044 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13045 timer (bug#14156).
13046
13047 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13048
13049 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13050 declaration.
13051
13052 2013-04-07 Leo Liu <sdl.web@gmail.com>
13053
13054 * pcmpl-x.el: New file.
13055
13056 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13057
13058 Do not set x-display-name until X connection is established.
13059 This is needed to prevent from weird situation described at
13060 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13061 * frame.el (make-frame): Set x-display-name after call to
13062 window system initialization function, not before.
13063 * term/x-win.el (x-initialize-window-system): Add optional
13064 display argument and use it.
13065 * term/w32-win.el (w32-initialize-window-system):
13066 * term/ns-win.el (ns-initialize-window-system):
13067 * term/pc-win.el (msdos-initialize-window-system):
13068 Add compatible optional display argument.
13069
13070 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13071
13072 * files.el (normal-backup-enable-predicate): On MS-Windows and
13073 MS-DOS compare truenames of temporary-file-directory and of the
13074 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13075 don't fail comparison by compare-strings. Also, compare file
13076 names case-insensitively on MS-Windows and MS-DOS.
13077
13078 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13081 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13082
13083 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13084
13085 * whitespace.el (whitespace-color-on, whitespace-color-off):
13086 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13087
13088 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13089
13090 * ispell.el (ispell-set-spellchecker-params):
13091 Really set `ispell-args' for all equivs.
13092
13093 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13094
13095 * ido.el (ido-completions): Use extra elements of ido-decorations
13096 (bug#14143).
13097 (ido-decorations): Update docstring.
13098
13099 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13102 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13103 nil during initialization, in order not to miss changes since the
13104 file was opened. (Bug#14140)
13105
13106 2013-04-05 Leo Liu <sdl.web@gmail.com>
13107
13108 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13109
13110 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13111
13112 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13113
13114 2013-04-04 Glenn Morris <rgm@gnu.org>
13115
13116 * electric.el (electric-pair-inhibit-predicate): Add :version.
13117
13118 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13121 when a package is required several times (bug#14082).
13122
13123 2013-04-04 Roland Winkler <winkler@gnu.org>
13124
13125 * faces.el (read-face-name): Behave as promised by the docstring.
13126 Assume that arg default is a list of faces.
13127 (describe-face): Call read-face-name with list of default faces.
13128
13129 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13130
13131 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13132 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13133 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13134 the header.
13135 (bookmark-exit-hook-internal): Save even if list is empty.
13136
13137 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13138
13139 * emacs-lisp/package.el (package-pinned-packages): New var.
13140 (package--add-to-archive-contents): Obey it (bug#14118).
13141
13142 2013-04-03 Alan Mackenzie <acm@muc.de>
13143
13144 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13145 Also adapt to the new values of element 7 of a parse state.
13146
13147 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13148 parameter `not-in-delimiter'. Handle being inside comment opener.
13149 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13150 character in case we're typing a '*' after a '/'.
13151 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13152 instead by passing the parameter to c-state-pp-to-literal.
13153
13154 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13155 for elt. 7 of a parse state.
13156
13157 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13158
13159 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13160 * international/latin1-disp.el, international/mule-util.el:
13161 * language/cyril-util.el, language/european.el, language/ind-util.el:
13162 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13163 * language/tibetan.el, language/viet-util.el:
13164 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13165
13166 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13167
13168 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13169 (electric-pair-post-self-insert-function): Use it.
13170 (electric-pair-default-inhibit): New function, extracted from
13171 electric-pair-post-self-insert-function.
13172
13173 2013-03-31 Roland Winkler <winkler@gnu.org>
13174
13175 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13176
13177 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13180
13181 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13182
13183 Un-indent after "pass" and "return" statements (Bug#13888)
13184 * progmodes/python.el (python-indent-block-enders): New var.
13185 (python-indent-calculate-indentation): Use it.
13186
13187 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13188
13189 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13190 defun. Defining it as defalias could introduce too eager
13191 byte-compiler optimization. (Bug#14030)
13192
13193 2013-03-30 Chong Yidong <cyd@gnu.org>
13194
13195 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13196
13197 2013-03-30 Leo Liu <sdl.web@gmail.com>
13198
13199 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13200 (kmacro-execute-from-register): Pass the keyboard macro to
13201 kmacro-call-macro or repeating won't work correctly.
13202
13203 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13204
13205 * progmodes/subword.el: Back to using `forward-symbol'.
13206
13207 * subr.el (forward-whitespace, forward-symbol)
13208 (forward-same-syntax): Move from thingatpt.el.
13209
13210 2013-03-29 Leo Liu <sdl.web@gmail.com>
13211
13212 * kmacro.el (kmacro-to-register): New command.
13213 (kmacro-execute-from-register): New function.
13214 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13215
13216 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * mpc.el: Use defvar-local and setq-local.
13219 (mpc--proc-connect): Connection failures are not bugs.
13220 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13221 (mpc-volume-map): Bind to the up-events.
13222
13223 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13224
13225 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13226 instead of `forward-symbol'.
13227
13228 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13231 (edebug--recursive-edit): Use it.
13232 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13233 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13234
13235 2013-03-28 Leo Liu <sdl.web@gmail.com>
13236
13237 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13238
13239 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13240
13241 * facemenu.el (list-colors-callback): New defvar.
13242 (list-colors-redisplay): New function.
13243 (list-colors-display): Install list-colors-redisplay as the
13244 revert-buffer-function. (Bug#14063)
13245
13246 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13247
13248 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13249 and suffixes don't overlap (bug#14061).
13250
13251 * case-table.el: Use lexical-binding.
13252 (case-table-get-table): New function.
13253 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13254
13255 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13256
13257 * progmodes/subword.el: Add `superword-mode' to do word motion
13258 over symbol_words (parallels and leverages `subword-mode' which
13259 does word motion inside MixedCaseWords).
13260
13261 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13262
13263 * eshell/em-unix.el: Move su and sudo to...
13264 * eshell/em-tramp.el: ...Eshell tramp module.
13265
13266 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13267
13268 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13269 Change return value to be a sexp. Delay `get-buffer' to after
13270 restoring the desktop (bug#13951).
13271
13272 2013-03-26 Leo Liu <sdl.web@gmail.com>
13273
13274 * register.el: Move semantic tag handling back to
13275 cedet/semantic/senator.el. (Bug#14052)
13276
13277 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13278
13279 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13280 into the prompt either (bug#13963).
13281
13282 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13285 part of "(error-foo)".
13286
13287 2013-03-24 Juri Linkov <juri@jurta.org>
13288
13289 * replace.el (list-matching-lines-prefix-face): New defcustom.
13290 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13291 `occur-engine' if `face-differs-from-default-p' returns t.
13292 (occur-engine): Add `,' inside backquote construct to evaluate
13293 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13294 Pass `prefix-face' to the functions `occur-context-lines' and
13295 `occur-engine-add-prefix'.
13296 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13297 `prefix-face' and propertize the prefix with `prefix-face'.
13298 (Bug#14017)
13299
13300 2013-03-24 Leo Liu <sdl.web@gmail.com>
13301
13302 * nxml/rng-valid.el (rng-validate-while-idle)
13303 (rng-validate-quick-while-idle): Guard against deleted buffer.
13304 (Bug#13999)
13305
13306 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13307 is the last entry in kill-buffer-hook.
13308
13309 * files.el (kill-buffer-hook): Doc fix.
13310
13311 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13312
13313 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13314 Make it safe-local.
13315
13316 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13317
13318 2013-03-23 Leo Liu <sdl.web@gmail.com>
13319
13320 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13321 Remove.
13322
13323 * nxml/rng-valid.el (rng-validate-mode)
13324 (rng-after-change-function, rng-do-some-validation):
13325 * nxml/rng-maint.el (rng-validate-buffer):
13326 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13327 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13328 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13329 (nxml-extend-after-change-region): Use with-silent-modifications.
13330
13331 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13332 timer-idle-list.
13333
13334 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13335 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13336 timer-idle-list. (Bug#13999)
13337
13338 2013-03-23 Juri Linkov <juri@jurta.org>
13339
13340 * info.el (info-index-match): New face.
13341 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13342 main pattern and add text properties with the new face to matches
13343 in index entries relative to the beginning of the index entry.
13344 (Bug#14015)
13345
13346 2013-03-21 Eric Ludlam <zappo@gnu.org>
13347
13348 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13349 Inhibit read only while inserting objects.
13350
13351 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13352
13353 * progmodes/cfengine.el: Update docs to mention
13354 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13355 symbol motion. Remove "_" from the word syntax.
13356
13357 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13358
13359 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13360 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13361
13362 2013-03-20 Juri Linkov <juri@jurta.org>
13363
13364 * info.el (Info-next-reference-or-link)
13365 (Info-prev-reference-or-link): New functions.
13366 (Info-next-reference, Info-prev-reference): Use them.
13367 (Info-try-follow-nearest-node): Handle footnote navigation.
13368 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13369
13370 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13371
13372 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13373 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13374
13375 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13376
13377 Suppress unnecessary non-ASCII chatter during build process.
13378 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13379 (batch-skkdic-convert): Suppress most of the chatter.
13380 It's not needed so much now that machines are faster,
13381 and its non-ASCII component was confusing; see Dmitry Gutov in
13382 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13383
13384 2013-03-20 Leo Liu <sdl.web@gmail.com>
13385
13386 * ido.el (ido-chop): Fix bug#10994.
13387
13388 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13389
13390 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13391 Remove vars.
13392 (whitespace-color-on, whitespace-color-off):
13393 Use `font-lock-fontify-buffer' (Bug#13817).
13394
13395 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13398 remapping in mode-line.
13399 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13400
13401 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13402
13403 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13404 value for `whitespace-line' face (Bug#13875).
13405 (whitespace-font-lock-keywords): Change description.
13406 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13407 the constructed keywords instead.
13408 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13409
13410 2013-03-19 Leo Liu <sdl.web@gmail.com>
13411
13412 * progmodes/compile.el (compilation-display-error): New command.
13413 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13414 C-o. (Bug#13992)
13415
13416 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13417
13418 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13419
13420 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13421
13422 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13423
13424 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13425
13426 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13427
13428 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13429 * net/tramp-gvfs.el (top):
13430 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13431 (tramp-handle-shell-command): Use it.
13432 (tramp-dissect-file-name): Raise an error when hostname is a
13433 method name, and neither method nor user is specified.
13434
13435 * net/trampver.el: Update release number.
13436
13437 2013-03-18 Leo Liu <sdl.web@gmail.com>
13438
13439 Make sure eldoc can be turned off properly.
13440 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13441 eldoc-mode.
13442 (eldoc-display-message-p): Revert last change.
13443 (eldoc-display-message-no-interference-p)
13444 (eldoc-print-current-symbol-info): Tweak.
13445
13446 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13447
13448 * doc-view.el (doc-view-new-window-function): Check the new window
13449 overlay's display property instead the char property of the
13450 buffer's first char. Use `with-selected-window' instead of
13451 `save-window-excursion' with `select-window'.
13452 (doc-view-document->bitmap): Check the current doc-view overlay's
13453 display property instead the char property of the buffer's first char.
13454
13455 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13456
13457 Automate the build of ja-dic.el (Bug#13984).
13458 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13459 from the input, rather than assume that it's been done for us by the
13460 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13461 the current date into a ja-dic.el comment, as that complicates
13462 regression testing.
13463
13464 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13465
13466 * whitespace.el: Fix double evaluation.
13467 (whitespace-space, whitespace-hspace, whitespace-tab)
13468 (whitespace-newline, whitespace-trailing, whitespace-line)
13469 (whitespace-space-before-tab, whitespace-indentation)
13470 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13471 obsolete defvars.
13472 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13473 (whitespace-color-on): Use a single font-lock-add-keywords call.
13474 Fix double-evaluation of face variables.
13475
13476 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13477
13478 * net/tramp-adb.el (tramp-adb-parse-device-names):
13479 Use `start-process' instead of `call-process'. Otherwise, the
13480 function might be blocked under MS Windows. (Bug#13299)
13481
13482 2013-03-17 Leo Liu <sdl.web@gmail.com>
13483
13484 Extend eldoc to display info in the mode-line. (Bug#13978)
13485 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13486 (eldoc-mode-line-string): New variable.
13487 (eldoc-minibuffer-message): New function.
13488 (eldoc-message-function): New variable.
13489 (eldoc-message): Use it.
13490 (eldoc-display-message-p)
13491 (eldoc-display-message-no-interference-p):
13492 Support eldoc-post-insert-mode.
13493
13494 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13495 (eval-expression): Run it.
13496
13497 2013-03-17 Roland Winkler <winkler@gnu.org>
13498
13499 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13500 strings in the list of return values.
13501
13502 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13503
13504 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13505 radix before checking for HMS forms.
13506
13507 2013-03-16 Leo Liu <sdl.web@gmail.com>
13508
13509 * progmodes/scheme.el: Add indentation and font-locking for λ.
13510 (Bug#13975)
13511
13512 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13515 token before point (bug#13942).
13516
13517 2013-03-16 Leo Liu <sdl.web@gmail.com>
13518
13519 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13520
13521 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13522
13523 * startup.el (command-line-normalize-file-name): Fix handling of
13524 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13525 <xfq.free@gmail.com> in
13526 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13527
13528 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13529
13530 Sync with Tramp 2.2.7.
13531
13532 * net/trampver.el: Update release number.
13533
13534 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13535
13536 * doc-view.el: Fix bug#13887.
13537 (doc-view-insert-image): Don't modify overlay associated to
13538 non-live windows, and implement horizontal centering of image in
13539 case it's smaller than the window.
13540 (doc-view-new-window-function): Force redisplay of new windows on
13541 doc-view buffers.
13542
13543 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13544
13545 * saveplace.el (save-place-alist-to-file): Don't sort
13546 `save-place-alist', just pretty-print it (bug#13882).
13547
13548 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13549
13550 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13551 Check whether `default-file-name-coding-system' is bound.
13552 It isn't in XEmacs.
13553
13554 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13557 backquotes for `obsolete' (bug#13929).
13558
13559 * international/mule.el (find-auto-coding): Include file name in
13560 obsolescence warning (bug#13922).
13561
13562 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13563
13564 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13565 for CFEngine 3-specific indentation.
13566 (cfengine3-indent-line): Use it. Fix up category regex.
13567 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13568
13569 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * type-break.el (type-break-file-name):
13572 * textmodes/remember.el (remember-data-file):
13573 * strokes.el (strokes-file):
13574 * shadowfile.el (shadow-initialize):
13575 * saveplace.el (save-place-file):
13576 * ps-bdf.el (bdf-cache-file):
13577 * progmodes/idlwave.el (idlwave-config-directory):
13578 * net/quickurl.el (quickurl-url-file):
13579 * international/kkc.el (kkc-init-file-name):
13580 * ido.el (ido-save-directory-list-file):
13581 * emulation/viper.el (viper-custom-file-name):
13582 * emulation/vip.el (vip-startup-file):
13583 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13584 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13585
13586 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13587
13588 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13589 * language/thai-word.el: Switch to UTF-8.
13590
13591 See ChangeLog.16 for earlier changes.
13592
13593 ;; Local Variables:
13594 ;; coding: utf-8
13595 ;; End:
13596
13597 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13598
13599 This file is part of GNU Emacs.
13600
13601 GNU Emacs is free software: you can redistribute it and/or modify
13602 it under the terms of the GNU General Public License as published by
13603 the Free Software Foundation, either version 3 of the License, or
13604 (at your option) any later version.
13605
13606 GNU Emacs is distributed in the hope that it will be useful,
13607 but WITHOUT ANY WARRANTY; without even the implied warranty of
13608 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13609 GNU General Public License for more details.
13610
13611 You should have received a copy of the GNU General Public License
13612 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.