* lisp/htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4
5 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
6
7 * binding.el: Add comment describing why C-d binds to `delete-char'.
8 * simple.el (delete-forward-char): Mark as interactive-only.
9
10 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
11
12 * icomplete.el (icomplete-completions):
13 Follow-up to 2014-03-01 change.
14
15 * icomplete.el: Miscellaneous doc fixes.
16 Use Icomplete everywhere instead of icomplete for consistency.
17 (icomplete-max-delay-chars): Fix typo.
18 (icomplete-mode): Use \[].
19 (icomplete-tidy, icomplete-exhibit): Reflow.
20 (icomplete-minibuffer-setup-hook, icomplete-completions):
21 Remove superfluous backlashes.
22
23 * ido.el: Miscellaneous doc fixes.
24 Use Ido everywhere instead of ido or `ido' for consistency.
25 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
26 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
27 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
28 (ido-separator): Extract obsolescence info from docstring and declare
29 with make-obsolete-variable.
30 (ido-minibuffer-setup-hook): Simplify example.
31 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
32 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
33 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
34 (ido-everywhere): Reflow docstring.
35 (ido-toggle-vc): Doc fix.
36 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
37 of long list of keybindings.
38
39 2014-03-03 Glenn Morris <rgm@gnu.org>
40
41 * frame.el (display-pixel-height, display-pixel-width)
42 (display-mm-dimensions-alist, display-mm-height)
43 (display-mm-width): Doc tweaks.
44
45 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
46
47 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
48 case of undo in region.
49
50 2014-03-02 Martin Rudalics <rudalics@gmx.at>
51
52 * window.el (fit-window-to-buffer): Fix argument in window-size
53 call when window is horizontally combined.
54
55 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
56
57 * icomplete.el (icomplete-completions): Use string-width.
58 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
59
60 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
63 Highlight regexp options. (Bug#16914)
64
65 2014-03-01 Martin Rudalics <rudalics@gmx.at>
66
67 * window.el (window--max-delta-1): Round down when calculating
68 how many lines/columns we can get from a window.
69
70 2014-03-01 Glenn Morris <rgm@gnu.org>
71
72 * isearch.el (search-invisible): Doc fix.
73
74 * minibuffer.el (completion-hilit-commonality):
75 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
76 * comint.el (comint-dynamic-list-completions): Doc fix.
77 * comint.el (comint-dynamic-list-completions):
78 * filecache.el (file-cache-minibuffer-complete):
79 * tempo.el (tempo-display-completions):
80 * eshell/em-hist.el (eshell-list-history):
81 Replace use of obsolete argument of display-completion-list.
82
83 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
84
85 * icomplete.el (icomplete-completions):
86 Revert back to using "..." when ?… cannot be displayed.
87
88 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
89
90 * finder.el (finder-unload-function): New function.
91
92 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
93
94 * dframe.el (dframe-detach):
95 * find-dired.el (find-dired, find-name-dired):
96 * finder.el (finder-mode-map, finder-mode-syntax-table)
97 (finder-headmark, finder-select, finder-mouse-select):
98 Fix docstring typos.
99
100 2014-02-28 Martin Rudalics <rudalics@gmx.at>
101
102 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
103 * window.el (with-temp-buffer-window): Revert change from
104 2014-02-21. Suggested by Thierry Volpiatto.
105 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
106 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
107 * help.el (with-help-window): Fix doc-string.
108
109 2014-02-28 Ivan Kanis <ivan@kanis.fr>
110
111 * net/shr.el (shr-image-animate): New option.
112 (shr-put-image): Respect shr-image-animate.
113
114 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
115
116 * net/tramp-adb.el (tramp-adb-parse-device-names):
117 Use `accept-process-output'.
118 (tramp-adb-handle-file-truename): Cache the localname only.
119 (tramp-adb-handle-make-directory)
120 (tramp-adb-handle-delete-directory): Flush file properties correctly.
121 (tramp-adb-handle-set-file-modes): Do not raise an error when file
122 modes cannot be changed.
123
124 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
125 file properties of symlinks.
126
127 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
128
129 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
130 required/optional fields to match development biblatex. (Bug#16781)
131
132 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
133
134 * saveplace.el (toggle-save-place):
135 Fix argument handling. (Bug#16673)
136
137 2014-02-28 Glenn Morris <rgm@gnu.org>
138
139 * minibuffer.el (completions-first-difference)
140 (completions-common-part, completion-hilit-commonality): Doc fixes.
141
142 2014-02-28 Karl Berry <karl@gnu.org>
143
144 * info.el (Info-mode-map): Add H for describe-mode,
145 to synchronize with standalone Info.
146
147 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
148
149 * progmodes/sql.el (sql-interactive-mode):
150 Avoid setting global comint-input-ring-separator. (Bug#16814)
151
152 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
153
154 * net/dbus.el (dbus--init-bus): Declare function.
155 (dbus-path-local, dbus-interface-local): New defconst.
156 (dbus-init-bus): Use them.
157 (dbus-return-values-table): Extend doc.
158 (dbus-handle-bus-disconnect): Extend error message.
159
160 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
161
162 * subr.el (y-or-n-p): Fix double space issue in message.
163
164 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
165
166 * net/tramp.el (tramp-call-process): Improve trace message.
167 (tramp-handle-insert-file-contents): Trace error case.
168
169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
170 <insert-directory>: Use `tramp-handle-insert-directory'.
171 (tramp-adb-handle-insert-directory): Remove function.
172 (tramp-adb-send-command-and-check): New defun, replacing
173 `tramp-adb-command-exit-status'. Change all callees.
174 (tramp-adb-handle-file-attributes)
175 (tramp-adb-handle-directory-files-and-attributes): Use it.
176 (tramp-adb-ls-output-name-less-p):
177 Use `directory-listing-before-filename-regexp'.
178 (tramp-adb-handle-delete-directory): Flush also file properties of
179 the truename of directory.
180 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
181 (tramp-adb-handle-file-local-copy): Make the local copy readable.
182 (tramp-adb-handle-write-region): Implement APPEND.
183 (tramp-adb-handle-rename-file): Make it more robust. Flush file
184 properties correctly.
185 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
186 variables. Check for connected devices only when needed.
187
188 2014-02-27 Glenn Morris <rgm@gnu.org>
189
190 * minibuffer.el (completion-table-dynamic)
191 (completion-table-with-cache): Doc fixes.
192
193 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
194 (completing-read-multiple): Doc fixes.
195
196 2014-02-27 Daniel Colascione <dancol@dancol.org>
197
198 * minibuffer.el (completion--nth-completion): Fix indentation.
199
200 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
201 explicit tramp path is empty.
202
203 2014-02-27 Glenn Morris <rgm@gnu.org>
204
205 * emacs-lisp/crm.el (completing-read-multiple):
206 Empower help-enable-auto-load.
207
208 2014-02-26 Glenn Morris <rgm@gnu.org>
209
210 * startup.el (command-line): Don't init the tty in daemon mode.
211
212 Avoid calling tty-setup-hook twice, eg if a term file
213 explicitly calls tty-run-terminal-initialization. (Bug#16859)
214 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
215 (tty-create-frame-with-faces): Use it.
216 * startup.el (command-line): Pass run-hook argument
217 to tty-run-terminal-initialization.
218
219 * dired.el (dired-restore-desktop-buffer): Demote errors;
220 eg in case a glob match fails. (Bug#16884)
221
222 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
223
224 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
225 error from `read-from-string'. (Bug#16850)
226
227 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
228 result of `completing-read' in the interactive form. (Bug#16854)
229
230 2014-02-25 Glenn Morris <rgm@gnu.org>
231
232 * image.el (image-animate, image-animate-timeout):
233 Stop animating images in dead buffers. (Bug#16878)
234
235 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
236
237 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
238 Doc fixes.
239 * startup.el (term-setup-hook): Doc fix. Make obsolete.
240 * term/sun.el (sun-raw-prefix-hooks):
241 Use tty-setup-hook instead of term-setup-hook.
242 (terminal-init-sun): Construct message from bytecomp plist.
243 * term/wyse50.el (enable-arrow-keys): Doc fix.
244
245 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
246
247 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
248 Fix docstring typos.
249
250 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
251
252 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
253
254 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
255
256 * minibuffer.el (completion--try-word-completion):
257 Fix error when completing M-x commands (bug#16808).
258
259 2014-02-24 Leo Liu <sdl.web@gmail.com>
260
261 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
262
263 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
264
265 * apropos.el (apropos-print): Avoid formatting error when
266 apropos-do-all and apropos-compact-layout are both t.
267
268 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
269
270 * apropos.el (apropos-property, apropos-all-words-regexp)
271 (apropos-true-hit, apropos-variable, apropos-print):
272 Fix docstring typos, and remove obsolete comment.
273
274 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp-sh.el (tramp-sh-handle-file-truename):
277 Preserve trailing "/". (Bug#16851)
278
279 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
280
281 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
282 after `=>' (bug#16811).
283 (ruby-smie-rules): Handle the inconsistent second element of the
284 list returned by `smie-indent--parent'.
285 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
286 method call.
287
288 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
289
290 * elec-pair.el (electric-pair-text-syntax-table)
291 (electric-pair-syntax-info, electric-pair--syntax-ppss)
292 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
293 (electric-pair--looking-at-unterminated-string-p): Doc fix.
294 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
295
296 2014-02-22 Glenn Morris <rgm@gnu.org>
297
298 * imenu.el (imenu--generic-function): Doc fix.
299
300 * register.el (frame-configuration-to-register): Make obsolete.
301
302 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
303
304 * desktop.el (desktop-save-buffer-p): Do not fail when
305 desktop-files-not-to-save is nil. Return t for true result
306 as the doc says.
307
308 2014-02-22 Daniel Colascione <dancol@dancol.org>
309
310 * net/secrets.el (secrets-create-item,secrets-search-items):
311 Check that attribute values are strings, avoiding the construction
312 of invalid dbus messages.
313
314 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
315
316 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
317 defun-declarations-alist.
318
319 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
322 (bug#16829).
323
324 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
325
326 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
327 (whitespace-newline, whitespace-trailing, whitespace-line)
328 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
329 (whitespace-space-after-tab): Fix typo in docstrings.
330
331 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
332
333 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
334
335 * electric.el (electric-indent-functions-without-reindent):
336 Add `yaml-indent-line'.
337
338 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
339
340 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
341 It has done nothing for years; should be removed after the release.
342
343 * simple.el (choose-completion): Fix docstring typo.
344 (read-quoted-char-radix): Remove unneeded * in docstring.
345 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
346 Don't escape parentheses unnecessarily in docstrings.
347
348 2014-02-21 Martin Rudalics <rudalics@gmx.at>
349
350 Fix handling of window-min-height/-width (Bug#16738).
351 * window.el (window--dump-window, window--dump-frame):
352 New functions.
353 (window--min-size-1): Account for window dividers.
354 When window-resize-pixelwise is nil, delay rounding till after the
355 sum of the window components has been calculated.
356 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
357 nil make sure at least one text line and two text columns remain
358 fully visible.
359 (window-resize): Signal an error when window-resize-apply fails.
360 (window--resize-child-windows): Fix calculation of by how many
361 pixels a window can still be shrunk via window-new-normal.
362 (adjust-window-trailing-edge): Call window--resizable with
363 correct TRAIL argument.
364
365 (with-temp-buffer-window): Don't evaluate BODY within
366 with-current-buffer (Bug#16816).
367
368 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
369
370 * net/tramp.el (tramp-check-cached-permissions):
371 Call `file-attributes' with `suffix' being a symbol but a string.
372
373 2014-02-21 Daniel Colascione <dancol@dancol.org>
374
375 * net/dbus.el (dbus-init-bus-1): Declare new subr.
376 (dbus-init-bus): New function: call into dbus-init-bus-1
377 and installs a handler for the disconnect signal.
378 (dbus-call-method): Rewrite to look for result in cons.
379 (dbus-call-method-handler): Store result in cons.
380 (dbus-check-event): Recognize events with nil sender as valid.
381 (dbus-handle-bus-disconnect): New function. React to bus
382 disconnection signal by synthesizing dbus error for each
383 pending synchronous or asynchronous call.
384 (dbus-notice-synchronous-call-errors): New function.
385 (dbus-handle-event): Raise errors directly only when `dbus-debug'
386 is true, not all the time.
387
388 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
389
390 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
391 Remove obsolescence declarations, these variables do not exist anymore.
392
393 * savehist.el (savehist-save-minibuffer-history)
394 (savehist-additional-variables, savehist-file, savehist-mode-hook)
395 (savehist-save-hook, savehist-coding-system, savehist-loaded)
396 (savehist-load, savehist-install, savehist-autosave): Fix typos;
397 mostly, refer to "Savehist mode" when talking about the mode,
398 and not the function.
399
400 * saveplace.el (save-place): Remove redundant info in docstring.
401 (save-place-forget-unreadable-files, toggle-save-place)
402 (save-place-forget-unreadable-files, save-place-dired-hook):
403 Fix typos and remove unneeded backslashes.
404
405 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
406
407 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
408 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
409
410 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
411 <insert-directory>: Use `tramp-handle-insert-directory'.
412 (tramp-gvfs-handle-insert-directory): Remove function.
413
414 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
415 Call `tramp-handle-insert-directory'.
416
417 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
418
419 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
420 before the start of buffer/region (bug#16799).
421
422 2014-02-20 Glenn Morris <rgm@gnu.org>
423
424 * isearch.el (search-invisible): Doc fix.
425
426 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
427
428 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
429 (bug#16657).
430
431 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
432
433 * frameset.el (frameset-restore): Delay removing an old frame's
434 duplicate id until the new frame has been correctly created.
435
436 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
437
438 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
439 (tramp-check-cached-permissions): Call `file-attributes' if the
440 cache is empty.
441
442 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
443 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
444
445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
446 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
447 (tramp-gvfs-maybe-open-connection): Set always connection
448 properties, even if target is mounted already.
449
450 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
451 Set tramp-autoload cookie.
452 (tramp-get-remote-touch): New defun.
453 (tramp-sh-handle-set-file-times): Use it.
454 (tramp-sh-handle-directory-files-and-attributes):
455 Use `tramp-handle-directory-files-and-attributes' if neither stat
456 nor perl are available on the remote host.
457
458 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
459 "/". Write long listing only when "l" belongs to the switches.
460
461 * net/trampver.el: Update release number.
462
463 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
464
465 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
466
467 2014-02-19 Martin Rudalics <rudalics@gmx.at>
468
469 * window.el (window-state-put): Allow WINDOW to refer to an
470 internal window (Bug#16793).
471
472 2014-02-19 Glenn Morris <rgm@gnu.org>
473
474 * textmodes/remember.el: Move provide statement to end.
475 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
476 (remember-notes): Doc fixes.
477
478 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * delsel.el (delete-char): Restore incorrectly erased property
481 (bug#16795).
482
483 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
484
485 * frameset.el (frameset--restore-frame): When a frame is being reused
486 and its root window is not alive, delete all the frame's windows before
487 restoring the window state. This works around the issue in bug#16793.
488
489 2014-02-18 Glenn Morris <rgm@gnu.org>
490
491 * textmodes/remember.el (remember-data-directory)
492 (remember-directory-file-name-format, remember-store-in-files)
493 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
494 (remember-notes-save-and-bury-buffer)
495 (remember-notes--kill-buffer-query): Doc fixes.
496
497 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
498
499 2014-02-17 Alan Mackenzie <acm@muc.de>
500
501 Connect electric-indent-mode up with CC Mode. Bug #15478.
502 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
503 to electric-indent-{,local-}-mode.
504 (c-basic-common-init): Set electric-indent-inhibit.
505 Initialise c-electric-flag from electric-indent-mode.
506 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
507 New hook functions which propagate electric-indent-mode to CC mode.
508
509 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
510 hit, toggle electric-indent-local-mode.
511
512 * electric.el (electric-indent-mode-has-been-called):
513 New variable.
514
515 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
516
517 * frameset.el (frameset-cfg-id): New function.
518 (frameset--reuse-frame, frameset-restore): Use it.
519 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
520
521 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * ido.el (ido-file-internal): Remove unused var `d'.
524 Use \` for to match BoS. Fit within 80n columns.
525
526 2014-02-17 Daniel Colascione <dancol@dancol.org>
527
528 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
529 dbus-call-method check for completion using a busy-wait loop with
530 gradual backoff.
531
532 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
533
534 Sync with Tramp 2.2.9.
535
536 * net/trampver.el: Update release number.
537
538 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
539
540 * ido.el (ido-file-internal): Don't add the name of an existing
541 directory twice. (Bug#16747)
542
543 2014-02-16 Glenn Morris <rgm@gnu.org>
544
545 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
546 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
547
548 2014-02-15 Michael R. Mauger <michael@mauger.com>
549
550 * progmodes/sql.el: Version 3.4
551 (sql-oracle-options): New default value ("-L").
552 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
553 (sql-placeholders-filter): Correct placeholder pattern.
554 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
555 (sql-login-delay): New variable.
556 (sql-product-interactive): Use it.
557
558 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
559
560 * frameset.el (frameset--jump-to-register): Check that buffer is live
561 (bug#16749).
562
563 2014-02-15 Glenn Morris <rgm@gnu.org>
564
565 * info.el (info-initialize): Revert 2014-01-10 change.
566
567 2014-02-14 Glenn Morris <rgm@gnu.org>
568
569 * replace.el (map-query-replace-regexp)
570 (read-regexp-defaults-function, read-regexp): Doc fixes.
571
572 * dired.el (dired-read-regexp):
573 * faces.el (list-faces-display):
574 * misearch.el (multi-isearch-read-matching-buffers)
575 (multi-isearch-read-matching-files):
576 * play/cookie1.el (cookie-apropos):
577 * progmodes/grep.el (grep-read-regexp): Doc fixes.
578
579 * textmodes/remember.el (remember): Use frameset-to-register
580 rather than frame-configuration-to-register.
581
582 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
583
584 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
585 incorrect keybinding.
586
587 2014-02-13 Daniel Colascione <dancol@dancol.org>
588
589 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
590 when adding overlays so that line numbers from compiler match line
591 numbers we use.
592
593 2014-02-13 Glenn Morris <rgm@gnu.org>
594
595 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
596
597 * jit-lock.el (jit-lock-mode): Doc fix.
598
599 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
600
601 * apropos.el (apropos-read-pattern): When the user passes an empty
602 string, give a more helpful error message than "Wrong type
603 argument: stringp, nil".
604
605 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
608
609 2014-02-13 Glenn Morris <rgm@gnu.org>
610
611 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
612
613 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
616 shift-select commands.
617
618 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
619
620 * progmodes/js.el (js-indent-line): Don't widen.
621 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
622
623 2014-02-12 Glenn Morris <rgm@gnu.org>
624
625 * icomplete.el (icomplete): Add info-link to defgroup.
626 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
627 (icomplete-minibuffer-map, icomplete-mode)
628 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
629
630 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
631 (package-menu-filter): Rename from package-menu-filter-interactive.
632 Doc fix.
633
634 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
635
636 * frameset.el (frameset--jump-to-register): Select the required
637 window and buffer before restoring position (bug#16696).
638
639 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
640
641 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
642
643 2014-02-10 Glenn Morris <rgm@gnu.org>
644
645 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
646
647 2014-02-10 Eli Zaretskii <eliz@gnu.org>
648
649 * w32-common-fns.el (x-get-selection): Doc fix.
650 * select.el (x-get-selection): Doc fix. (Bug#15109)
651
652 * face-remap.el (face-remap-add-relative)
653 (face-remap-remove-relative, face-remap-reset-base)
654 (face-remap-set-base): Call force-mode-line-update to redisplay
655 the current buffer due to potential change in faces. (Bug#16709)
656
657 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
658
659 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
660 script more robustly.
661
662 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
663
664 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
665
666 * simple.el (choose-completion): Doc fix (bug#14160).
667
668 * subr.el (event-start): Say what a nil EVENT value means.
669
670 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
671 (bug#14197).
672
673 * progmodes/grep.el (find-program): Doc fix (bug#14289).
674
675 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
676
677 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
678
679 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
680 predicate function (bug#15455).
681
682 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
683
684 * ielm.el (inferior-emacs-lisp-mode): Instead of
685 `comment-use-global-state', set `comment-use-syntax'.
686
687 2014-02-10 Glenn Morris <rgm@gnu.org>
688
689 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
690
691 2014-02-09 Alan Mackenzie <acm@muc.de>
692
693 Fix c-invalidate-state-cache on narrowed buffers.
694 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
695 Widen when setting and clearing the CPP delimiter properties.
696
697 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
698
699 * help.el (describe-bindings): Doc fix (bug#9888).
700
701 * files.el (save-buffer): Use ARG as the parameter name for
702 consistency (bug#10346).
703 (save-buffer): Clarify the 0 argument (bug#10346).
704
705 * cus-edit.el (customize-apropos): Fix error string.
706 (custom-buffer-create): Doc fix (bug#11122).
707 (custom-sort-items): Doc fix (bug#11121).
708
709 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
710
711 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
712 (icomplete-simple-completing-p): Mention the previous variable.
713
714 * font-lock.el (font-lock-value-in-major-mode): Clarify the
715 meaning of the parameter (bug#12282).
716
717 * files.el (find-file-noselect): Clarify prompt when changing
718 readedness (bug#13261).
719 (locate-file): Suffixes aren't returned, so don't say that they
720 are (bug#12674).
721 (backup-inhibited): Doc clarification (bug#12525).
722
723 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
724 before we actually start to delete things (bug#16331).
725
726 * subr.el (event-start): Doc fix (bug#14228).
727 (event-end): Ditto.
728
729 2014-02-09 Glenn Morris <rgm@gnu.org>
730
731 * emacs-lisp/warnings.el (lwarn):
732 Empower help-enable-auto-load. (Bug#15940)
733
734 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
735
736 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
737 (Bug#16690)
738
739 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
740
741 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
742 Insert output at end of buffer. (Bug#16120)
743
744 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
745
746 * simple.el (choose-completion-string-functions): Document new
747 calling convention (bug#14153).
748 (execute-extended-command): Clarify doc string (bug#13373).
749
750 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
751
752 * find-dired.el (find-name-dired): Doc fix (bug#14290).
753 (find-grep-dired): Doc fix (bug#14288).
754
755 2014-02-08 Juri Linkov <juri@jurta.org>
756
757 * isearch.el (isearch-quote-char): Check character validity
758 like in `quoted-insert' (bug#16677).
759
760 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
761
762 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
763
764 * isearch.el (isearch-hide-immediately): Doc clarification
765 (bug#14723).
766
767 * simple.el (line-move): Document utility function used many
768 places in the Emacs sources (bug#14843).
769
770 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
771 (dired-prev-marked-file): Doc fix (bug#14855).
772 (dired-up-directory): Doc fix (bug#14848).
773
774 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
775
776 * files.el (file-relative-name): Doc fix (bug#15159).
777
778 * fringe.el (fringe-styles): Doc fix (bug#15239).
779
780 * isearch.el (isearch-filter-predicate): Documentation typo fix
781 (bug#15474).
782
783 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
784
785 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
786
787 * replace.el (replace-match-maybe-edit): Doc clarification
788 (bug#15632).
789
790 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
791
792 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
793
794 2014-02-08 Glenn Morris <rgm@gnu.org>
795
796 * help-fns.el (describe-variable):
797 Check {file,dir}-local-variables-alist, and buffer-file-name,
798 in the correct buffer.
799
800 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
801
802 * help-fns.el (describe-variable): Fix the case where
803 a value is directory-local with no dir-locals file. (Bug#16635)
804
805 2014-02-08 Glenn Morris <rgm@gnu.org>
806
807 * abbrev.el (edit-abbrevs-mode):
808 Derive from fundamental-mode. (Bug#16682)
809
810 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
811
812 * simple.el (quoted-insert): Check character validity (bug#16677).
813
814 2014-02-07 Juri Linkov <juri@jurta.org>
815
816 * desktop.el (desktop-read): Claim the lock when the owner is not
817 the current process. (Bug#16157)
818
819 2014-02-07 Juri Linkov <juri@jurta.org>
820
821 * desktop.el (desktop-buffers-not-to-save): Change default from nil
822 to "\\` ". (Bug#16651)
823
824 2014-02-07 Juri Linkov <juri@jurta.org>
825
826 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
827 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
828 (desktop-auto-save-cancel-timer): New function with some code from
829 `desktop-auto-save-set-timer'.
830 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
831 Instead of setting `desktop-save-mode' to nil, call
832 `desktop-save-mode' with arg 0. (Bug#16630)
833
834 2014-02-07 Glenn Morris <rgm@gnu.org>
835
836 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
837 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
838 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
839
840 * obsolete/iswitchb.el: Move to obsolete/.
841 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
842 since obsolete/ is not scanned for autoloads.
843 * emacs-lisp/authors.el (authors-valid-file-names):
844 Add iswitchb.el.
845
846 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
847 Disable now non-functional find-file-hook.
848
849 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
850
851 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
852 instead of ";" in order to avoid additional prompts. Let heredoc
853 scripts read from tty. (Bug#16582)
854 (tramp-send-command): No special handling of heredocs, it isn't
855 necessary anymore.
856
857 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
860 with a space (bug#16664). Limit the symbols considered to the ones
861 that are bound or fbound (bug#16646).
862
863 2014-02-06 Glenn Morris <rgm@gnu.org>
864
865 * epa.el (epa-mail-aliases): Doc fix.
866
867 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
868
869 * emacs-lisp/lisp.el (lisp-completion-at-point):
870 Use `completion-table-merge' instead of `completion-table-in-turn'
871 (bug#16604).
872
873 * minibuffer.el (completion-table-merge): New function.
874
875 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
876
877 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
878 (tramp-sh-handle-set-file-acl)
879 (tramp-sh-handle-start-file-process)
880 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
881 (tramp-find-executable, tramp-send-command): Use it.
882
883 2014-02-05 Glenn Morris <rgm@gnu.org>
884
885 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
886
887 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
888
889 * progmodes/python.el (python-shell-send-string)
890 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
891
892 2014-02-04 Anders Lindgren <andlind@gmail.com>
893
894 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
895 the names (bug#16620).
896
897 2014-02-03 Martin Rudalics <rudalics@gmx.at>
898
899 * faces.el (window-divider): New default value. Rewrite doc-string.
900 (window-divider-first-pixel, window-divider-last-pixel): New faces.
901
902 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
903
904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
905 `protected' and `public' can also be called without arguments.
906
907 2014-02-03 Glenn Morris <rgm@gnu.org>
908
909 * register.el (window-configuration-to-register)
910 (frame-configuration-to-register): Unadvertise unused argument.
911 * frameset.el (frameset-to-register): Remove unused argument.
912
913 * frameset.el (frameset-to-register):
914 * kmacro.el (kmacro-to-register):
915 * register.el (increment-register):
916 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
917 (calc-append-to-register, calc-prepend-to-register):
918 * play/gametree.el (gametree-layout-to-register)
919 (gametree-apply-register-layout):
920 * textmodes/picture.el (picture-clear-rectangle-to-register)
921 (picture-yank-rectangle-from-register):
922 * vc/emerge.el (emerge-combine-versions-register):
923 Use register-read-with-preview to read registers.
924
925 2014-02-03 João Távora <joaotavora@gmail.com>
926
927 * elec-pair.el (electric-pair-backward-delete-char): Don't error
928 when at beginning of (possibly narrowed) buffer.
929
930 2014-02-02 Daniel Colascione <dancol@dancol.org>
931
932 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
933 Also try to display local help from just before point.
934
935 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
936
937 c-parse-state. Don't "append-lower-brace-pair" in certain
938 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
939 recognised as a comment.
940
941 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
942 as well as normal comment starter.
943 (c-parse-state-get-strategy): Extra return possibility
944 'back-and-forward.
945 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
946 return value list to indicate replacement of a brace-pair cons
947 with its car.
948 (c-parse-state-1): With 'back-and-forward, only call
949 c-append-lower-brace-pair-to state-cache when cons-separated.
950
951 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
952
953 * term/ns-win.el (ns-suspend-error): New function.
954 (ns-initialize-window-system): Add ns-suspend-error to
955 suspend-hook (Bug#16612).
956
957 2014-02-02 Daniel Colascione <dancol@dancol.org>
958
959 * progmodes/cc-defs.el (c-find-assignment-for-mode):
960 Make loading cc-mode silent.
961
962 2014-02-02 Daniel Colascione <dancol@dancol.org>
963
964 * comint.el (comint-prompt-read-only): Change doc to suggest
965 remap keybinding.
966
967 2014-02-02 Glenn Morris <rgm@gnu.org>
968
969 * register.el (register-read-with-preview, point-to-register)
970 (window-configuration-to-register, frame-configuration-to-register)
971 (jump-to-register, number-to-register, view-register, insert-register)
972 (copy-to-register, append-to-register, prepend-to-register)
973 (copy-rectangle-to-register): Doc fixes.
974
975 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
978 * emacs-lisp/find-func.el (find-function-C-source): Idem.
979 * emacs-lisp/nadvice.el (advice--cd*r): New function.
980 * help-fns.el (describe-function-1): Use it.
981
982 2014-02-02 Glenn Morris <rgm@gnu.org>
983
984 * register.el (register-preview-default): New function,
985 split from register-preview.
986 (register-preview-function): Rename from register-preview-functions,
987 make it not a hook.
988 (register-preview): Use register-preview-function.
989 (register-read-with-preview): Error on non-character event. (Bug#16595)
990
991 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
992
993 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
994 `:' before binary operators (bug#16609). Don't check for `:'
995 before `[' and `(', or their syntax status. A percent literal
996 can't end with either.
997 (ruby-font-lock-keywords): For built-ins that require arguments,
998 check that they're followed by something that looks like argument
999 (bug#16610).
1000
1001 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1002
1003 * subr.el (butlast): Document what an omitted N means (bug#13437).
1004 (nbutlast): Ditto.
1005
1006 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1007
1008 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1009 depth shallower (bug#16587).
1010 (shr-tag-svg): Respect `shr-inhibit-images'.
1011 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1012
1013 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1014
1015 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1016 (ruby-smie-grammar): Make "." right-associative. Make its priority
1017 lower than the ternary and all binary operators.
1018 (ruby-smie-rules): Indent "(" relative to the first non-"."
1019 parent, or the first "." parent at indentation.
1020 Use `ruby-align-chained-calls' for indentation of "." tokens.
1021 (Bug#16593)
1022
1023 2014-01-31 Juri Linkov <juri@jurta.org>
1024
1025 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1026 from `make-hash-table'.
1027
1028 * textmodes/ispell.el (ispell-init-process): Change message format
1029 to be consistent with other messages.
1030
1031 2014-01-31 Glenn Morris <rgm@gnu.org>
1032
1033 * delsel.el (delete-selection-mode): Doc fix.
1034
1035 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1036 (trace-function-background): Doc fixes.
1037
1038 * ido.el (ido-use-virtual-buffers): Doc fix.
1039 Reset :version, since the default value has not changed.
1040
1041 * register.el (register-preview-delay, register-read-with-preview):
1042 Doc fixes.
1043
1044 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1045 do not mess with mail-buffer position (fixes 2009-11-03 change).
1046 * progmodes/cc-mode.el (c-submit-bug-report):
1047 Check auto-fill-mode is bound. (Bug#16592)
1048
1049 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1050
1051 * startup.el (fancy-splash-image-file): New function,
1052 split from fancy-splash-head.
1053 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1054 so that we are both using the same image. (Bug#16574)
1055
1056 2014-01-30 Glenn Morris <rgm@gnu.org>
1057
1058 * simple.el (eval-expression): Doc fix.
1059
1060 * hexl.el (hexl-mode-hook):
1061 * ielm.el (ielm-mode-hook):
1062 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1063 (lisp-interaction-mode-hook):
1064 * progmodes/cfengine.e (cfengine3-documentation-function):
1065 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1066
1067 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1070 is a symbol (bug#16584).
1071
1072 2014-01-30 Glenn Morris <rgm@gnu.org>
1073
1074 * help.el (help-for-help-internal): Add "P" to text.
1075
1076 2014-01-29 Glenn Morris <rgm@gnu.org>
1077
1078 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1079
1080 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1081
1082 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1083 height constraints.
1084
1085 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1086
1087 * progmodes/hideif.el: Extend to full CPP expression syntax.
1088 (hif-token-alist): Add missing tokens.
1089 (hif-token-regexp): Add support for float/octal/hex immediates.
1090 (hif-string-literal-regexp): New const.
1091 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1092 (hif-exprlist): New function.
1093 (hif-parse-if-exp): Use it.
1094 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1095 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1096 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1097 (hif-logxor, hif-comma): New functions.
1098
1099 2014-01-28 Glenn Morris <rgm@gnu.org>
1100
1101 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1102
1103 * indent.el (tab-stop-list): Doc fix. Add :version.
1104
1105 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1106 (cvs-append-to-ignore): Add compatibility alias.
1107
1108 2014-01-27 Glenn Morris <rgm@gnu.org>
1109
1110 * dired.el (dired-hide-details-mode): Don't autoload it,
1111 since it cannot be used outside Dired buffers anyway.
1112
1113 * emulation/cua-base.el (cua-mode): Doc fix.
1114
1115 * dired.el (dired-hide-details-hide-symlink-targets)
1116 (dired-hide-details-hide-information-lines)
1117 (dired-hide-details-mode): Doc fixes.
1118
1119 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1120 * strokes.el (strokes-file): Doc fix. Bump :version.
1121 (strokes-help): Doc fix.
1122 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1123 * emulation/viper.el (viper): Doc fix for custom group.
1124 (top-level): Remove oh-so-no-longer-relevant text about vip.
1125 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1126
1127 * ido.el (ido-save-directory-list-file):
1128 * saveplace.el (save-place-file):
1129 * calendar/timeclock.el (timeclock-file):
1130 * net/quickurl.el (quickurl-url-file):
1131 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1132 * progmodes/idlwave.el (idlwave-config-directory):
1133 * textmodes/remember.el (remember-data-file):
1134 Bump :version.
1135
1136 2014-01-26 Glenn Morris <rgm@gnu.org>
1137
1138 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1139 Doc fix. Make obsolete.
1140 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1141
1142 * sort.el (delete-duplicate-lines): Doc fix.
1143
1144 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1145
1146 * progmodes/ada-mode.el (ada):
1147 * woman.el (woman): Link to info manual and Commentary section.
1148
1149 * progmodes/flymake.el (flymake):
1150 * nxml/nxml-mode.el (nxml):
1151 * net/eww.el (eww):
1152 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1153 * htmlfontify.el (htmlfontify):
1154 * ses.el (ses):
1155 * epa.el (epa):
1156 * ido.el (ido): Link to info manual.
1157
1158 2014-01-25 Leo Liu <sdl.web@gmail.com>
1159
1160 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1161
1162 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1163
1164 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1165 (bug#16537).
1166
1167 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1168
1169 * net/eww.el (eww-download-callback):
1170 Fix reference to eww-download-directory.
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-file):
1173 Remove unused local variable `file-name'.
1174
1175 2014-01-24 Glenn Morris <rgm@gnu.org>
1176
1177 * woman.el (woman-default-faces, woman-monochrome-faces):
1178 Fix obsolescence specification.
1179
1180 * subr.el (with-demoted-errors): Doc fix.
1181
1182 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1185 (cl--macroexp-fboundp): New function.
1186 (cl--make-type-test): Use it.
1187
1188 2014-01-23 Glenn Morris <rgm@gnu.org>
1189
1190 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1191 * simple.el (eval-expression): Doc fixes.
1192
1193 2014-01-22 Glenn Morris <rgm@gnu.org>
1194
1195 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1196
1197 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * emacs-lisp/package.el: Write files silently.
1200 (package-autoload-ensure-default-file, package--write-file-no-coding)
1201 (package-generate-description-file, package--download-one-archive)
1202 (package-install-from-archive): Tell `write-region' to stay quiet.
1203 (package-menu-mode, package-menu--print-info): Omit the Archive column
1204 if there's only one archive.
1205 (package-all-keywords, package--has-keyword-p): Remove dead code.
1206
1207 2014-01-22 Glenn Morris <rgm@gnu.org>
1208
1209 * version.el (emacs-bzr-version-bzr): Fix typo.
1210
1211 * version.el (emacs-repository-get-version):
1212 Check either .bzr or .git, but not both.
1213 Make the git case actually use the DIR argument, and return nil
1214 rather than the empty string.
1215 Avoid error if .git exists but the git executable is not found.
1216
1217 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1218
1219 Fixes in window size functions around Bug#16430 and Bug#16470.
1220 * window.el (window-total-size, window-size): New argument ROUND.
1221 (window--min-delta-1, window-min-delta, window--max-delta-1):
1222 Be more conservative when calculating the numbers of lines or
1223 columns a window can shrink (Bug#16430).
1224 (fit-window-to-buffer): Simplify code.
1225 * term.el (term-window-width): Call window-body-width again.
1226
1227 2014-01-22 Glenn Morris <rgm@gnu.org>
1228
1229 * image.el (image-format-suffixes): Doc fix.
1230
1231 * international/quail.el (quail-define-package): Doc fix.
1232
1233 * emacs-lisp/authors.el (authors-valid-file-names)
1234 (authors-renamed-files-alist): Additions.
1235
1236 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1237 reverts 2014-01-09 change. (Bug#16422)
1238
1239 * calc/calc-embed.el (thing-at-point-looking-at):
1240 * emacs-lisp/map-ynp.el (x-popup-dialog):
1241 * obsolete/lmenu.el (x-popup-dialog):
1242 * emacs-lisp/package.el (url-recreate-url):
1243 * mail/mailclient.el (clipboard-kill-ring-save):
1244 * subr.el (x-popup-dialog): Update declaration.
1245 * mail/rmail.el (rmail-mime-message-p):
1246 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1247
1248 2014-01-21 Daniel Colascione <dancol@dancol.org>
1249
1250 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1251 Correctly detect when we're inside an arithmetic expansion form
1252 containing nested parenthesis.
1253 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1254 to detect cases where we shouldn't expand "<<" to a heredoc
1255 skeleton.
1256
1257 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1260 (eldoc--message-command-p): New function.
1261 (eldoc-display-message-p): Use it.
1262 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1263 message is not automatically erased for us.
1264 (eldoc-print-current-symbol-info): Erase previous message, if any.
1265
1266 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1267
1268 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1269 specify it's an interactive function.
1270
1271 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1272 Fix regex used for scanning for citation keys which failed for
1273 citations with optional arguments.
1274
1275 2014-01-21 Leo Liu <sdl.web@gmail.com>
1276
1277 * simple.el (read--expression): Don't enable eldoc-mode.
1278
1279 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * simple.el (move-beginning-of-line): Make sure we don't move forward
1282 (bug#16497).
1283
1284 2014-01-20 Juri Linkov <juri@jurta.org>
1285
1286 * saveplace.el (toggle-save-place, save-place-to-alist)
1287 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1288 'dired-mode) before checking for dired-directory. (Bug#16477)
1289
1290 2014-01-20 Juri Linkov <juri@jurta.org>
1291
1292 * indent.el (indent-line-to): Use backward-to-indentation
1293 instead of back-to-indentation. (Bug#16461)
1294
1295 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1296
1297 Revert some of the CANNOT_DUMP fix (Bug#16494).
1298 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1299 but fixing this can wait until after the next release.
1300 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1301
1302 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1303
1304 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1305 Use `password-word-equivalents'.
1306 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1307 to t. (Bug#5664, Bug#13124)
1308
1309 2014-01-19 Alan Mackenzie <acm@muc.de>
1310
1311 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1312 points.
1313 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1314 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1315 * progmodes/cc-mode.el (c-before-change, c-after-change)
1316 (c-font-lock-fontify-region): Bind it here.
1317
1318 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1319
1320 * term.el (term-window-width): Call window-text-width instead of
1321 window-width (Bug#16470).
1322
1323 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1324
1325 * simple.el (password-word-equivalents): Remove duplicates.
1326 Sort, to make this easier next time.
1327 Downcase. Omit ": " after "jelszó".
1328
1329 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1330
1331 * term/common-win.el (saved-region-selection): Defvar it.
1332 (x-select-text): Set saved-region-selection (Bug#16382).
1333
1334 2014-01-18 Glenn Morris <rgm@gnu.org>
1335
1336 * emacs-lisp/authors.el (authors-aliases)
1337 (authors-renamed-files-alist): Add some entries.
1338
1339 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1340
1341 * net/tramp.el (tramp-password-prompt-regexp):
1342 Use `password-word-equivalents' if available.
1343 (tramp-action-password, tramp-process-one-action)
1344 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1345
1346 2014-01-17 Chong Yidong <cyd@gnu.org>
1347
1348 * simple.el (password-word-equivalents): New defcustom.
1349 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1350 to 24.4.
1351 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1352 to t. (Bug#13124)
1353
1354 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1357 (ruby-align-to-stmt-keywords): Change the default value.
1358 Use `ruby-alignable-keywords' to generate the possible customization
1359 choices.
1360 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1361 keywords, check against the value of `ruby-alignable-keywords'
1362 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1363
1364 2014-01-17 Glenn Morris <rgm@gnu.org>
1365
1366 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1367
1368 Make M-x authors return zero *Authors Errors* from current logs.
1369 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1370 (authors-ignored-files): Add some entries, remove others.
1371 (authors-ambiguous-files, authors-valid-file-names):
1372 Add some entries.
1373 (authors-renamed-files-alist): Add, remove, and adjust entries.
1374 (authors-renamed-files-regexps): Add some entries.
1375 Remove some very broad ones. Make some entries `lax'.
1376 (authors-lax-changelogs): New constant.
1377 (authors-disambiguate-file-name): Treat top-level specially.
1378 (authors-lax-changelog-p): New function.
1379 (authors-canonical-file-name): Check file as written against
1380 authors-valid-file-names. Do not special-case etc/.
1381 Handle `lax' logs and authors-renamed-files-regexps elements.
1382
1383 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1384
1385 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1386 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1387 callers.
1388
1389 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1392 Assume we're already in the proper buffer.
1393 Inspired by Anders Lindgren <andlind@gmail.com>.
1394 (follow-post-command-hook): Call it from the right buffer.
1395 (follow-comint-scroll-to-bottom): Adjust call.
1396 (follow-all-followers): Use get-buffer-window-list.
1397
1398 2014-01-15 Daniel Colascione <dancol@dancol.org>
1399
1400 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1401 `buffer-file-name' in interactive-form so that we don't leave
1402 pathless file names in `file-name-history'.
1403
1404 2014-01-15 Juri Linkov <juri@jurta.org>
1405
1406 * indent.el (indent-rigidly): Set deactivate-mark to nil
1407 in transient indentation mode. (Bug#16438)
1408
1409 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1410
1411 * emacs-lisp/package.el (package-desc-keywords): New function
1412 (Bug#16222).
1413 (describe-package-1, package-all-keywords)
1414 (package--has-keyword-p): Use it.
1415
1416 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1417
1418 * simple.el (define-alternatives): When creating the
1419 COMMAND-alternatives variable, assign COMMAND as its definition
1420 name so that `describe-variable' can relocate it.
1421
1422 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1423
1424 * font-lock.el (font-lock-keywords): Fix typo in docstring
1425 (bug#16307).
1426
1427 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1428
1429 * ispell.el (ispell-region): Reset `in-comment' for new line
1430 instead of wrongly reset `add-coment' (bug#13577).
1431
1432 2014-01-14 Daiki Ueno <ueno@gnu.org>
1433
1434 * epa-file.el (epa-file-write-region): Encode the region according
1435 to `buffer-file-format'. Problem reported at:
1436 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1437
1438 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1441 so it applies in the right buffer (bug#16410).
1442
1443 2014-01-13 Daniel Colascione <dancol@dancol.org>
1444
1445 * textmodes/rst.el (rst-define-key): Provide deprecated
1446 keybindings through named functions instead of anonymous ones so
1447 that "??" doesn't appear in describe-mode output.
1448
1449 2014-01-13 Bastien Guerry <bzg@gnu.org>
1450
1451 * simple.el (define-alternatives): Call the selected command
1452 interactively. When setting `COMMAND--implementation' for the
1453 first time, tell the user how to chose another implementation.
1454 Enhance the docstring.
1455
1456 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1459 (log-edit--match-first-line): New function.
1460 (log-edit-font-lock-keywords): Use it.
1461 (log-edit-mode): Make jit-lock-defer-multiline work.
1462
1463 2014-01-13 Bastien Guerry <bzg@gnu.org>
1464
1465 * rect.el (rectangle-mark-mode): When the region is not active,
1466 display a message saying that the mark as been set and that
1467 rectangle mode is in use.
1468 (rectangle--highlight-for-redisplay): Only put an overlay with a
1469 visible vertical bar when (display-graphic-p) is non-nil.
1470 This partially fixes Bug#16403.
1471
1472 2014-01-13 Juri Linkov <juri@jurta.org>
1473
1474 * info.el (Info-find-file): Go to DIR before displaying the error
1475 about a nonexistent file if no previous Info file is visited.
1476 Use `user-error' instead of `error' for "Info file %s does not exist".
1477 (Info-find-node-2): In case of a nonexistent node in unwind forms
1478 go to the Top node if there is no previous node to revert to.
1479 (Bug#16405)
1480
1481 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1482
1483 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1484 * window.el (fit-frame-to-buffer): Fix doc-string.
1485 Respect window-min-height/-width. Fit pixelwise when
1486 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1487 when avoiding that frame goes partially off-screen.
1488 (fit-window-to-buffer): Respect window-min-height/-width
1489 (Bug#14096).
1490
1491 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1494 after an empty line.
1495
1496 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * net/shr.el (shr-render-region): Autoload.
1499
1500 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1501
1502 * net/eww.el (eww-download-directory): Rename from
1503 `eww-download-path' (Bug#16419).
1504
1505 2014-01-12 Leo Liu <sdl.web@gmail.com>
1506
1507 * dired-x.el (dired-mode-map): Fix last change.
1508
1509 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1510
1511 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1512
1513 Spelling fixes.
1514 * emacs-lisp/generic.el (generic--normalize-comments):
1515 Rename from generic--normalise-comments. All uses changed.
1516 * play/bubbles.el (bubbles--neighborhood-score)
1517 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1518 (bubbles--neighborhood-available)
1519 (bubbles--update-neighborhood-score):
1520 Rename from names with 'neighbourhood'. All uses changed.
1521
1522 2014-01-12 Leo Liu <sdl.web@gmail.com>
1523
1524 Re-implement the feature of showing eldoc info after editing.
1525 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1526 (eldoc-edit-message-commands): New function.
1527 (eldoc-print-after-edit): New variable.
1528 (eldoc-pre-command-refresh-echo-area): Emit message only by
1529 eldoc-message-commands.
1530 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1531 if eldoc-print-after-edit is set. (Bug#16346)
1532 * simple.el (read--expression): Enable eldoc-mode.
1533 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1534
1535 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1536 Eric S. Raymond <esr@thyrsus.com>
1537
1538 * version.el (emacs-repository-get-version): Enhance so the
1539 function works correctly in either a Bazaar or Git repo.
1540
1541 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1542
1543 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1544 Goes with removal of the joke manpages from /etc.
1545
1546 2014-01-10 Kenichi Handa <handa@gnu.org>
1547
1548 * mail/rmail.el (rmail-get-coding-system):
1549 Check rmail-get-coding-function before "funcall"ing it.
1550
1551 2014-01-10 Glenn Morris <rgm@gnu.org>
1552
1553 * emacs-lisp/authors.el (authors-fixed-entries):
1554 Update for files that no longer exist.
1555
1556 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1557
1558 * version.el (emacs-bzr-get-version): Restore compatibilty with
1559 24.3 (Tested).
1560
1561 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1562
1563 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1564 and Podfile.
1565
1566 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1567
1568 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1569
1570 2014-01-10 Chong Yidong <cyd@gnu.org>
1571
1572 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1573
1574 2014-01-10 Anders Lindgren <andlind@gmail.com>
1575
1576 * follow.el (follow-cache-command-list): Include right-char and
1577 left-char.
1578
1579 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1580
1581 Spelling fixes.
1582 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1583 * woman.el (woman-mark-horizontal-position):
1584 Rename from woman-mark-horizonal-position. Use changed.
1585
1586 2014-01-10 Glenn Morris <rgm@gnu.org>
1587
1588 * info.el (info-initialize): If running uninstalled, ensure our
1589 own info files are always found first, even if INFOPATH is set.
1590
1591 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1592
1593 2014-01-09 David Engster <deng@randomsample.de>
1594
1595 * emacs-lisp/eieio-custom.el:
1596 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1597 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1598 * emacs-lisp/eieio.el: Regenerate autoloads.
1599
1600 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1601
1602 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1603 following renames. (Bug#8756)
1604
1605 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1608 (bug#16382).
1609 (activate-mark): Add `no-tmm' argument.
1610 (set-mark, push-mark-command): Use it instead of running
1611 activate-mark-hook by hand.
1612
1613 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1614
1615 In preparation for the move to git, sanitize out some
1616 Bazaar-specific names.
1617
1618 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1619
1620 * version.el (emacs-bzr-version): Name changed to
1621 emacs-repository-version. Obsolete-variable alias made.
1622 * loadup.el: Follow through on this name change.
1623 * mail/emacsbug.el (report-emacs-bug): Factor out any
1624 assumption about the version control system in use.
1625
1626 2014-01-08 David Engster <deng@randomsample.de>
1627
1628 * help-fns.el (help-fns-describe-function-functions):
1629 New variable to call functions for augmenting help buffers.
1630 (describe-function-1): Remove explicit calls to
1631 `help-fns--compiler-macro', `help-fns--parent-mode' and
1632 `help-fns--obsolete'. Put them in above new variable instead, and
1633 call them through `run-hook-with-args'.
1634 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1635 `eieio-describe-class'. Not meant for interactive use anymore,
1636 but to augment existing help buffers. Remove optional second
1637 argument. Create proper button for file location.
1638 Rewrite function to use `insert' instead of `princ' and `prin1' where
1639 possible.
1640 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1641 (eieio-method-def, eieio-class-def): Move further up.
1642 (describe-method, describe-generic, eieio-describe-method):
1643 Remove aliases.
1644 (eieio-help-constructor, eieio-help-generic): Rename from
1645 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1646 Rewrite to use `insert' in the current buffer and use proper help
1647 buttons.
1648 (eieio-help-find-method-definition)
1649 (eieio-help-find-class-definition): Also accept symbols as
1650 arguments.
1651 (eieio-help-mode-augmentation-maybee): Remove.
1652 (eieio-describe-class-sb): Use `describe-function'.
1653 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1654 Add `eieio-help-generic' and `eieio-help-constructor'.
1655
1656 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1657
1658 Spelling fixes.
1659 * language/china-util.el (hz-ascii-designation):
1660 Rename from hz-ascii-designnation.
1661 (hz-ascii-designation): Rename from hz-ascii-designnation.
1662 All uses changed.
1663
1664 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1667 package-alist.
1668
1669 2014-01-08 Bastien Guerry <bzg@gnu.org>
1670
1671 * emacs-lisp/package.el (package-delete):
1672 Correctly delete the package from package-alist.
1673
1674 2014-01-08 Daiki Ueno <ueno@gnu.org>
1675
1676 * emacs-lisp/package.el (url-recreate-url): Declare.
1677 (url-http-target-url): Declare.
1678 (package-handle-response): Include requested URL in the error message.
1679 (package--check-signature): Don't re-signal errors from
1680 package--with-work-buffer. Suggested by Stefan Monnier.
1681
1682 2014-01-07 Bastien Guerry <bzg@gnu.org>
1683
1684 * minibuffer.el (completion--try-word-completion): When both a
1685 hyphen and a space are possible candidates for the character
1686 following a word, display both candidates. (Bug#15980)
1687
1688 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1689
1690 * window.el (balance-windows-2): While rounding don't give a
1691 window more than the remainder. Bug#16351, bug#16383.
1692
1693 2014-01-07 Glenn Morris <rgm@gnu.org>
1694
1695 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1696 (menu-bar-help-menu): Use view-external-packages instead.
1697
1698 2014-01-07 Bastien Guerry <bzg@gnu.org>
1699
1700 * emacs-lisp/package.el (package-delete): Also delete the package
1701 name from `package-alist', not its description only.
1702
1703 2014-01-07 Glenn Morris <rgm@gnu.org>
1704
1705 * help.el (view-external-packages):
1706 * menu-bar.el (menu-bar-help-extra-packages):
1707 Visit efaq.info rather than etc/MORE.STUFF.
1708
1709 2014-01-07 Juri Linkov <juri@jurta.org>
1710
1711 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1712 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1713
1714 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1715 that shadows RET. (Bug#16342)
1716
1717 2014-01-07 Chong Yidong <cyd@gnu.org>
1718
1719 * isearch.el (isearch-yank-char, isearch-yank-word)
1720 (isearch-yank-line): Doc fix.
1721
1722 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1725 * emacs-lisp/elint.el (elint-find-builtins):
1726 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1727 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1728 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1729 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1730 * apropos.el (apropos-safe-documentation):
1731 * subr.el (symbol-file): Remove redundant fboundp.
1732 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1733
1734 2014-01-06 Bastien Guerry <bzg@gnu.org>
1735
1736 * hl-line.el (global-hl-line-overlay): Make a local variable.
1737 (global-hl-line-overlays): New variable to store all overlays.
1738 (global-hl-line-mode): Don't delete overlays from the current
1739 buffer when `global-hl-line-sticky-flag' is non-nil.
1740 (global-hl-line-highlight): Add new overlays to
1741 `global-hl-line-overlays'.
1742 (global-hl-line-unhighlight-all): New function to delete all
1743 overlays when turning off `global-hl-line-mode'.
1744 This fixes Bug#16183.
1745
1746 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * subr.el (set-transient-map): Fix nested case and docstring.
1749
1750 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1751
1752 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1753 `Texinfo' entry.
1754
1755 2014-01-06 Daniel Colascione <dancol@dancol.org>
1756
1757 Fix defun navigation in vc log view.
1758
1759 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1760 like `beginning-of-defun'.
1761 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1762 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1763 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1764 (log-view-extract-comment): Call `log-view-current-entry' directly
1765 instead of relying on broken `log-view-beginning-of-defun' behavior.
1766
1767 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1768
1769 Spelling fixes.
1770 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1771 * emacs-lisp/debug.el (cancel-debug-on-entry):
1772 * epg.el (epg-error-to-string):
1773 * files.el (recover-file):
1774 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1775 * mail/emacsbug.el (report-emacs-bug-hook):
1776 * mail/sendmail.el (mail-recover):
1777 * ses.el (ses-yank-resize):
1778 * term/ns-win.el (ns-print-buffer):
1779 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1780 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1781 All uses changed.
1782 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1783
1784 2014-01-06 Leo Liu <sdl.web@gmail.com>
1785
1786 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1787 to avoid shadowing global key. (Bug#16354)
1788
1789 2014-01-06 Daniel Colascione <dancol@dancol.org>
1790
1791 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1792 rst-mode.
1793
1794 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1795
1796 * window.el (balance-windows): Add mising t to fix Bug#16351.
1797
1798 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1799
1800 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1801 (bug#16285).
1802 (shr-insert): If we have a word that's longer than `shr-width',
1803 break after it anyway. Otherwise we'll do no breaking once we get
1804 such a long word.
1805
1806 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1807
1808 * net/eww.el (eww): Support single/double quote for search.
1809 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1810 (eww-history-quit): Delete and use quit-window.
1811 (eww-history-kill): Delete, because it doesn't work well and
1812 not necessary.
1813 (eww-history-mode-map): Delete some keys and add easy-menu.
1814
1815 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1816
1817 Fix misspelling of 'chinese' in rx (Bug#16237).
1818 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1819 chinese-two-byte.
1820
1821 Change subword regexps back to vars (Bug#16296).
1822 * progmodes/subword.el (subword-forward-regexp)
1823 (subword-backward-regexp): Change these back to variables.
1824
1825 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1828 syntax-begin-function (bug#16247).
1829
1830 2014-01-03 Chong Yidong <cyd@gnu.org>
1831
1832 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1833 (advice--docstring): Delete variable.
1834 (advice--make-1): Leave the docstring empty.
1835 (advice-add): Use function-documentation for advised docstring.
1836
1837 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1838 Ignore function-documentation property when getting documentation.
1839 (ad-activate-advised-definition): Use function-documentation
1840 generate the docstring.
1841 (ad-make-advised-definition): Don't call
1842 ad-make-advised-definition-docstring.
1843 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1844 Delete functions.
1845
1846 * progmodes/sql.el (sql-help): Use function-documentation instead
1847 of dynamic-docstring-function property. No need to autoload now.
1848 (sql--help-docstring): New variable.
1849 (sql--make-help-docstring): Use it.
1850
1851 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * ielm.el (ielm-tab): Retarget.
1854 (ielm-map): Use ielm-tab for tab.
1855 (ielm-complete-filename): Use comint-filename-completion.
1856 (ielm-complete-symbol): Remove.
1857 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1858 remove ielm-tab from completion-at-point-functions (bug#16224).
1859
1860 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1861 Beware signals raised by predicates (bug#16201).
1862
1863 2014-01-02 Richard Stallman <rms@gnu.org>
1864
1865 * dired-aux.el (dired-do-print): Handle printer-name.
1866
1867 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1868 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1869 (rmail-epa-decrypt): Turn off mime processing.
1870
1871 * mail/rmail.el (rmail-make-in-reply-to-field):
1872 Add parens in message-id.
1873
1874 * mail/rmail.el (rmail-get-coding-function): Variable.
1875 (rmail-get-coding-system): Use it.
1876
1877 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1878
1879 * international/mule-conf.el: Unify the charset indian-is13194.
1880 (indian-is13194): Specify unify-map.
1881
1882 2013-12-31 Leo Liu <sdl.web@gmail.com>
1883
1884 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1885
1886 2013-12-30 Daniel Colascione <dancol@dancol.org>
1887
1888 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1889 of printing a useless when we resume from sleep.
1890
1891 * progmodes/sh-script.el
1892 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1893 in indentation code. (Bug#16233)
1894
1895 2013-12-28 João Távora <joaotavora@gmail.com>
1896
1897 * elec-pair.el (electric-pair-post-self-insert-function):
1898 Don't open extra newlines at beginning of buffer. (Bug#16272)
1899
1900 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1901
1902 * frame.el (window-system-for-display): Don't allow to create a
1903 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1904
1905 2013-12-28 Glenn Morris <rgm@gnu.org>
1906
1907 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1908 Update callers.
1909
1910 * apropos.el (apropos-match-face):
1911 * calculator.el (calculator-displayer):
1912 * dabbrev.el (dabbrev-search-these-buffers-only):
1913 * face-remap.el (buffer-face-mode-face):
1914 * simple.el (yank-handled-properties):
1915 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1916 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1917 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1918 (hashcash-double-spend-database):
1919 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1920 (ruby-deep-indent-paren-style):
1921 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1922 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1923 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1924 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1925 Specify custom types.
1926
1927 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1928 * bookmark.el (bookmark-bmenu-use-header-line):
1929 * doc-view.el (doc-view-scale-internally):
1930 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1931 * register.el (register-preview-delay):
1932 * net/shr.el (shr-bullet):
1933 * progmodes/cfengine.el (cfengine-cf-promises)
1934 (cfengine-parameters-indent):
1935 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1936 * textmodes/reftex-vars.el (reftex-label-regexps):
1937 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1938
1939 * net/tls.el (tls-certtool-program): Fix default value.
1940
1941 * desktop.el (desktop-restore-in-current-display):
1942 * newcomment.el (comment-empty-lines):
1943 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1944 (idlwave-pad-keyword):
1945 * progmodes/tcl.el (tcl-tab-always-indent):
1946 * textmodes/reftex-vars.el (reftex-index-default-tag):
1947 * elec-pair.el (electric-pair-skip-whitespace):
1948 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1949
1950 * emacs-lisp/authors.el (authors-ignored-files)
1951 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1952
1953 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1954
1955 * shell.el (shell-dynamic-complete-command): Doc fix.
1956 (shell--command-completion-data): Shell completion now matches
1957 executable filenames from the current buffer's directory, on
1958 systems in which this behavior is the default (windows-nt, ms-dos).
1959
1960 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1961
1962 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1963
1964 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1967 (bug#16251).
1968
1969 * electric.el: Move all electric-pair-* to elec-pair.el.
1970 * elec-pair.el: New file, split from electric.el.
1971
1972 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1973
1974 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1975 indentation level is larger than the width, because that will
1976 infloop.
1977 (shr-insert): Fill repeatedly long texts, so that Japanese is
1978 formatted correctly (bug#16263).
1979 (shr-find-fill-point): Off by one error in comparison with the
1980 indentation.
1981
1982 2013-12-26 João Távora <joaotavora@gmail.com>
1983
1984 * electric.el (electric-pair-mode): More flexible engine for skip-
1985 and inhibit predicates, new options for pairing-related functionality.
1986 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1987 if that keeps or improves their balance in buffers.
1988 (electric-pair-delete-adjacent-pairs): Delete the pair when
1989 backspacing over adjacent matched delimiters.
1990 (electric-pair-open-extra-newline): Open extra newline when
1991 inserting newlines between adjacent matched delimiters.
1992 (electric--sort-post-self-insertion-hook):
1993 Sort post-self-insert-hook according to priority values when
1994 minor-modes are activated.
1995 * simple.el (newline-and-indent): Call newline with interactive
1996 set to t.
1997 (blink-paren-post-self-insert-function): Set priority to 100.
1998 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1999 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2000 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2001 electric-pair-open-newline-between-pairs to nil.
2002
2003 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2004
2005 * progmodes/python.el: Use lexical-binding.
2006 (python-nav-beginning-of-defun): Stop searching ASAP.
2007
2008 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2009
2010 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2011 Fix interactive spec. Doc fix. (Bug#15754)
2012
2013 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2014
2015 * emacs-lisp/byte-run.el (eval-when-compile):
2016 * progmodes/cc-defs.el (cc-eval-when-compile):
2017 Fix edebug spec (bug#16184).
2018
2019 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2020
2021 * net/shr.el (shr-visit-file): Remove debugging function.
2022 (shr-insert): Don't infloop if we can't find a good place to break
2023 the line (bug#16256).
2024
2025 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2026
2027 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2028 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2029 python-nav-lisp-forward-sexp-safe.
2030 (python-nav--forward-sexp): New argument SAFE allows switching
2031 forward sexp movement behavior for parens.
2032 (python-nav-forward-sexp): Throw errors on unterminated parens
2033 (Bug#16191).
2034 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2035 (python-nav-backward-sexp-safe): New functions.
2036 (python-shell-buffer-substring):
2037 Use `python-nav-forward-sexp-safe'.
2038
2039 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2040
2041 * net/shr.el (shr-find-fill-point): Don't break lines before a
2042 quotation mark.
2043 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2044 (shr-find-fill-point): Remove the special checks for the quotation
2045 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2046
2047 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2048
2049 * net/eww.el (eww-form-textarea): Use a different face for
2050 textareas than text input since they have different keymaps
2051 (bug#16142).
2052
2053 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2054
2055 * progmodes/python.el (python-nav-beginning-of-statement):
2056 Speed up (Bug#15295).
2057
2058 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2059
2060 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2061 the window configuration.
2062
2063 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2064
2065 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2066 we run on MS-Windows or MS-DOS.
2067
2068 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2069
2070 * window.el (balance-windows-area): Call window-size instead of
2071 window-height and window-width. Bug#16241.
2072
2073 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2074
2075 * net/eww.el (eww-bookmark-quit): Remove.
2076 (eww-bookmark-browse): Restore the window configuration when you
2077 choose a bookmark (bug#16144).
2078
2079 2013-12-24 Daniel Colascione <dancol@dancol.org>
2080
2081 * icomplete.el: Remove redundant :group arguments to `defcustom'
2082 throughout.
2083 (icomplete-show-matches-on-no-input): New customizable variable.
2084 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2085 we have something to show.
2086 (icomplete-exhibit): Compute completions even if we have no user input.
2087
2088 2013-12-23 Daniel Colascione <dancol@dancol.org>
2089
2090 * icomplete.el: Move `provide' to end of file.
2091
2092 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2093
2094 * net/gnutls.el (gnutls-verify-error): Add version tag.
2095
2096 2013-12-23 Chong Yidong <cyd@gnu.org>
2097
2098 * subr.el (set-transient-map): Rename from
2099 set-temporary-overlay-map. Doc fix.
2100
2101 * face-remap.el (text-scale-adjust):
2102 * indent.el (indent-rigidly):
2103 * kmacro.el (kmacro-call-macro):
2104 * minibuffer.el (minibuffer-force-complete):
2105 * repeat.el (repeat):
2106 * simple.el (universal-argument--mode):
2107 * calendar/todo-mode.el (todo-insert-item--next-param):
2108 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2109
2110 * indent.el (indent-rigidly): Use substitute-command-keys.
2111
2112 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2113
2114 * net/eww.el (eww-tag-select): Add text-property to jump to next
2115 select field.
2116 (eww): Add non-supported ftp error.
2117
2118 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2119
2120 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2121 comments. Handle electric indent after typing `?' and `!'.
2122
2123 2013-12-22 Chong Yidong <cyd@gnu.org>
2124
2125 * faces.el (face-spec-recalc): If the theme specs are not
2126 applicable to a frame, fall back on the defface spec.
2127 This prevents themes from obliterating faces on low-color terminals.
2128
2129 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2130
2131 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2132 after `{'. We need it after block openers, and it doesn't seem
2133 to hurt after hash openers.
2134
2135 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2138 extracted from `ruby-smie-rules'.
2139 (ruby--electric-indent-chars): New variable.
2140 (ruby--electric-indent-p): New function.
2141 (ruby-mode): Use `electric-indent-functions' instead of
2142 `electric-indent-chars'.
2143
2144 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2145
2146 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2147 docstring.
2148 (ruby-smie-rules): Indent plus one level after `=>'.
2149
2150 2013-12-21 Richard Stallman <rms@gnu.org>
2151
2152 * simple.el (newline): Doc fix.
2153
2154 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2155
2156 * net/eww.el (eww-list-histories, eww-list-histories)
2157 (eww-history-browse, eww-history-quit, eww-history-kill)
2158 (eww-history-mode-map, eww-history-mode): New command and
2159 functions to list browser histories.
2160 (eww-form-text): Support text form with disabled
2161 and readonly attributes.
2162 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2163
2164 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2165
2166 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2167 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2168 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2169 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2170 Use `user-error'.
2171 (eww-bookmark-mode-map): Add menu.
2172 (eww-render, eww-mode): Use `setq-local'.
2173 (eww-tool-bar-map): New variable.
2174 (eww-mode): Set `tool-bar-map'.
2175 (eww-view-source): Check for `html-mode' with `fboundp'.
2176
2177 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2178
2179 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2180 elements with text inside. Also remove debugging.
2181
2182 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2183
2184 * cus-start.el (all): Add ns-use-srgb-colorspace.
2185
2186 2013-12-21 Chong Yidong <cyd@gnu.org>
2187
2188 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2189 undefined. Thus, theme settings for undefined faces do not take
2190 effect until the faces are defined with defface, the same as with
2191 theme variables.
2192
2193 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2194 (face-spec-reset-face): Don't assign extra properties in temacs.
2195 (face-spec-recalc): Apply X resources too.
2196
2197 2013-12-21 Chong Yidong <cyd@gnu.org>
2198
2199 * faces.el (face-spec-set):
2200 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2201 * custom.el (defface): Doc fixes (Bug#16203).
2202
2203 * indent.el (indent-rigidly-map): Add docstring, and move commands
2204 into named functions.
2205 (indent-rigidly-left, indent-rigidly-right)
2206 (indent-rigidly-left-to-tab-stop)
2207 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2208 indentation direction based on bidi direction, and accumulate
2209 sequential commands in a single undo boundary.
2210 (indent-rigidly--pop-undo): New utility function.
2211
2212 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2213
2214 * faces.el (read-face-name): Require crm.el when using crm-separator.
2215
2216 2013-12-20 Daniel Colascione <dancol@dancol.org>
2217
2218 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2219 so that we don't reflow comments into the shebang line.
2220
2221 2013-12-20 Juri Linkov <juri@jurta.org>
2222
2223 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2224 a position when `dired-directory' is non-nil. Check integer
2225 positions with `integerp'.
2226 (toggle-save-place, save-places-to-alist): Add check for
2227 `dired-directory'.
2228 (save-place-find-file-hook): Check integer positions with
2229 `integerp'.
2230 (save-place-dired-hook): Use `dired-goto-file' when
2231 `dired-filename' is found in the assoc list. Check integer
2232 positions with `integerp'.
2233 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2234
2235 * dired.el (dired-initial-position-hook): Rename back from
2236 `dired-initial-point-hook'.
2237 (dired-initial-position): Rename `dired-initial-point-hook' to
2238 `dired-initial-position-hook'.
2239 (dired-file-name-at-point): Doc fix. (Bug#15329)
2240
2241 2013-12-20 Juri Linkov <juri@jurta.org>
2242
2243 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2244 (read-regexp-suggestions): New function.
2245 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2246 Use `read-regexp-suggestions'. Add non-empty default to history
2247 for empty input.
2248 (occur-read-regexp-defaults-function): Remove function.
2249 (occur-read-primary-args): Use `regexp-history-last' instead of
2250 `occur-read-regexp-defaults-function'.
2251
2252 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2253 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2254 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2255 `hi-lock-read-regexp-defaults-function'. Doc fix.
2256 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2257 with `find-tag-default-as-symbol-regexp'. Doc fix.
2258 (hi-lock-read-regexp-defaults): Remove function.
2259 (hi-lock-regexp-okay): Add check for null.
2260
2261 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2262 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2263
2264 * subr.el (find-tag-default-as-symbol-regexp): New function.
2265 (find-tag-default-as-regexp): Move symbol regexp formatting to
2266 `find-tag-default-as-symbol-regexp'.
2267
2268 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2269
2270 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2271 (Bug#14179)
2272
2273 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2274
2275 * calendar/todo-mode.el: New implementation of item insertion
2276 commands and key bindings.
2277 (todo-key-prompt): New face.
2278 (todo-insert-item): New command.
2279 (todo-insert-item--parameters): New defconst, replacing defvar
2280 todo-insertion-commands-args-genlist.
2281 (todo-insert-item--param-key-alist): New defconst, replacing
2282 defvar todo-insertion-commands-arg-key-list.
2283 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2284 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2285 (todo-insert-item--next-param): New functions.
2286 (todo-insert-item--args, todo-insert-item--argleft)
2287 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2288 New variables.
2289 (todo-key-bindings-t): Change binding of "i" from
2290 todo-insertion-map to todo-insert-item.
2291 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2292 (todo-insertion-command-name, todo-insertion-commands-names)
2293 (todo-define-insertion-command, todo-insertion-commands)
2294 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2295
2296 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2297
2298 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2299 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2300 eval-when-compile.
2301 (todo-move-category): Allow choosing a non-existing todo file to
2302 move the category to, and create that file.
2303 (todo-default-priority): New user option.
2304 (todo-set-item-priority): Use it.
2305 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2306 (desktop-restore-file-buffer): Declare.
2307 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2308 (todo-modes-set-2): Locally set desktop-save-buffer to
2309 todo-desktop-save-buffer.
2310 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2311 (auto-mode-alist): Add autoload cookie.
2312
2313 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2314
2315 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2316 helpers.el was a poor choice of name.
2317 (string-remove-prefix): New function.
2318 (string-remove-suffix): New function.
2319
2320 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2321
2322 Fix assignment for new window total sizes.
2323 * window.el (window--pixel-to-size): Remove function.
2324 (window--pixel-to-total-1, window--pixel-to-total):
2325 Fix calculation of new total sizes.
2326
2327 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2328
2329 * comint.el (comint-output-filter): Fix rear-nonsticky property
2330 placement (Bug#16010).
2331
2332 2013-12-20 Chong Yidong <cyd@gnu.org>
2333
2334 * faces.el (read-color): Minor fix for completion function.
2335
2336 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2337
2338 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2339 New option. (Bug#16182)
2340 (ruby-smie--indent-to-stmt-p): Use it.
2341 (ruby-smie-rules): Revert the logic in the handling of `when'.
2342 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2343 (ruby-deep-arglist, ruby-deep-indent-paren)
2344 (ruby-deep-indent-paren-style): Update docstrings to note that the
2345 vars don't have any effect with SMIE.
2346
2347 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2348
2349 * calc/calc.el (calc-enter, calc-pop): Use the variable
2350 `calc-context-sensitive-enter'.
2351
2352 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2353
2354 * net/shr.el (shr-insert): Protect against infloops in degenerate
2355 tables.
2356
2357 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2358
2359 * progmodes/octave.el (octave): Add link to manual and octave
2360 homepage.
2361 (octave-mode-menu): Link to octave-mode manual.
2362
2363 2013-12-20 Leo Liu <sdl.web@gmail.com>
2364
2365 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2366 insertion using skeleton-end-newline. (Bug#16138)
2367
2368 2013-12-20 Juri Linkov <juri@jurta.org>
2369
2370 * replace.el (occur-engine): Use `add-face-text-property'
2371 to add the face property to matches and titles. (Bug#14645)
2372
2373 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2374 the palette of other hi-lock colors.
2375 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2376
2377 2013-12-19 Juri Linkov <juri@jurta.org>
2378
2379 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2380 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2381 (minibuffer-history-symbol): Move variable declaration closer to
2382 its usage.
2383
2384 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2385 (Bug#14785)
2386
2387 2013-12-19 Juri Linkov <juri@jurta.org>
2388
2389 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2390 New function.
2391 (log-edit-hook): Add it to :options. (Bug#16170)
2392
2393 2013-12-19 Juri Linkov <juri@jurta.org>
2394
2395 * simple.el (eval-expression-print-format): Don't check for
2396 command names and the last command. Always display additional
2397 formats of the integer result in the echo area, and insert them
2398 to the current buffer only with a zero prefix arg.
2399 Display character when char-displayable-p is non-nil.
2400 (eval-expression): With a zero prefix arg, set `print-length' and
2401 `print-level' to nil, and insert the integer values from
2402 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2403
2404 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2405 `eval-last-sexp-arg-internal'. Doc fix.
2406 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2407 `eval-last-sexp-print-value'. Doc fix.
2408 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2409 Set `print-length' and `print-level' to nil when arg is zero.
2410 (eval-last-sexp): Doc fix.
2411 (eval-defun-2): Print the integer values from
2412 `eval-expression-print-format' at the end.
2413
2414 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2415 values from `eval-expression-print-format' at the end.
2416
2417 * ielm.el (ielm-eval-input): Print the integer
2418 values from `eval-expression-print-format' at the end.
2419
2420 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2421
2422 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2423 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2424
2425 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2428 (hl-line-highlight, global-hl-line-highlight): Use it.
2429 (hl-line-overlay): Use defvar-local.
2430
2431 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2432
2433 * term/ns-win.el: Require dnd.
2434 (global-map): Remove drag items.
2435 (ns-insert-text, ns-set-foreground-at-mouse)
2436 (ns-set-background-at-mouse):
2437 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2438 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2439 New functions.
2440
2441 2013-12-19 Glenn Morris <rgm@gnu.org>
2442
2443 * emacs-lisp/ert.el (ert-select-tests):
2444 Fix string/symbol mixup. (Bug#16121)
2445
2446 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2447
2448 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2449 keywords to their parent.
2450
2451 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2452
2453 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2454 first arg to be a string (fixed dead code), or an operator symbol.
2455 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2456 operator symbols.
2457 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2458 did nothing. Don't respond to `(:after ".")', it will be called
2459 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2460 change anything. Only return indentation for binary operators
2461 when they are hanging. De-dent opening paren when its parent is
2462 `.', otherwise it looks bad when the dot is not at bol or eol
2463 (bug#16182).
2464
2465 2013-12-19 Juri Linkov <juri@jurta.org>
2466
2467 * replace.el (query-replace-read-args): Split a non-negative arg
2468 and a negative arg into separate elements.
2469 (query-replace, query-replace-regexp, replace-string)
2470 (replace-regexp): Add arg `backward'. Doc fix.
2471 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2472 move point to the beginning of the match.
2473 (replace-search, replace-highlight): Use new arg `backward'
2474 to set the value of `isearch-forward'.
2475 (perform-replace): Add arg `backward' and use it to perform
2476 replacement backward. (Bug#14979)
2477
2478 * isearch.el (isearch-query-replace): Use a negative prefix arg
2479 to call `perform-replace' with a non-nil arg `backward'.
2480
2481 2013-12-18 Juri Linkov <juri@jurta.org>
2482
2483 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2484 to the default list. Move `log-edit-show-files' to the end.
2485 Add more available functions to options.
2486 (log-edit): Move default specific settings to
2487 `log-edit-insert-message-template'. Don't move point.
2488 (log-edit-insert-message-template): New function.
2489 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2490 (Bug#16170)
2491
2492 2013-12-18 Juri Linkov <juri@jurta.org>
2493
2494 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2495 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2496
2497 2013-12-18 Leo Liu <sdl.web@gmail.com>
2498
2499 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2500 (Bug#16186)
2501
2502 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2503
2504 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2505 formats for displaying file sizes when the -s switch is given.
2506 Instead, compute a separate format for displaying the size in
2507 blocks, which is displayed in addition to the "regular" size.
2508 When -h is given in addition to -s, produce size in blocks in
2509 human-readable form as well. (Bug#16179)
2510
2511 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2512
2513 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2514 Reference tables with ~\ref{...} instead of only \ref{...}.
2515
2516 2013-12-18 Chong Yidong <cyd@gnu.org>
2517
2518 * cus-edit.el (custom-magic-alist): Fix "themed" description
2519 (Bug#14348).
2520
2521 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2522 is non-nil, do not create a new entry in the symbol's theme-value
2523 or theme-face property; update theme-settings only (Bug#14664).
2524 (custom-available-themes): Doc fix.
2525
2526 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2527 (Bug#15674).
2528
2529 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2530
2531 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2532
2533 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2534 (Bug#13914).
2535
2536 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2537
2538 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2539
2540 2013-12-18 Glenn Morris <rgm@gnu.org>
2541
2542 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2543 * cus-start.el (load-prefer-newer): New option.
2544
2545 2013-12-18 Le Wang <l26wang@gmail.com>
2546
2547 * comint.el (comint-previous-matching-input-from-input):
2548 Retain point (Bug#13404).
2549
2550 2013-12-18 Chong Yidong <cyd@gnu.org>
2551
2552 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2553
2554 2013-12-18 Glenn Morris <rgm@gnu.org>
2555
2556 * mail/emacsbug.el (report-emacs-bug):
2557 Only mention enable-multibyte-characters if non-standard.
2558
2559 2013-12-17 Juri Linkov <juri@jurta.org>
2560
2561 * arc-mode.el (archive-extract-by-file): Check if directory exists
2562 before deletion to not show irrelevant errors if it doesn't exist.
2563
2564 2013-12-17 Juri Linkov <juri@jurta.org>
2565
2566 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2567 (Bug#14751)
2568
2569 * net/eww.el (browse-web): Add alias to `eww'.
2570 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2571 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2572
2573 * net/browse-url.el (browse-url-browser-function): Move `eww'
2574 closer to similar functions.
2575
2576 * startup.el (fancy-startup-screen, fancy-about-screen):
2577 Set browse-url-browser-function to eww-browse-url locally.
2578 (Bug#14751)
2579
2580 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * window.el (window--pixel-to-total): Remove unused `mini' var.
2583 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2584 (split-window): Remove unused `new' var.
2585 (window--display-buffer): Remove unused `frame' and `delta' vars.
2586 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2587 and display-width'.
2588
2589 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2590
2591 * dired.el (dired-mark-pop-up):
2592 * register.el (register-preview): Don't bind
2593 split-height-threshold here since it's now done in
2594 display-buffer-below-selected.
2595
2596 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2597
2598 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2599 xterm-rgb-convert-to-16bit.
2600 (rxvt-register-default-colors): Standardize with
2601 xterm-register-default-colors (Bug#14078).
2602
2603 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2604
2605 * simple.el (kill-region): Pass mark first, then point, so that
2606 kill-append works right (Bug#12819).
2607 (copy-region-as-kill, kill-ring-save): Likewise.
2608
2609 2013-12-17 Leo Liu <sdl.web@gmail.com>
2610
2611 * net/rcirc.el (rcirc-add-face):
2612 * eshell/em-prompt.el (eshell-emit-prompt):
2613 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2614 (Bug#16167)
2615
2616 2013-12-17 Chong Yidong <cyd@gnu.org>
2617
2618 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2619 Suggested by Xue Fuqiao.
2620
2621 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2622
2623 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2624
2625 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * net/shr.el (shr-insert-document): Remove unused var
2628 `shr-preliminary-table-render'.
2629 (shr-rescale-image): Remove unused arg `force'.
2630 (shr-put-image): Update calls accordingly.
2631 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2632
2633 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2634
2635 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2636 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2637 :close-all, to see which indentation method to use (Bug#16116).
2638 (smie-rules-function): Document the method :close-all.
2639
2640 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2641
2642 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2643
2644 * net/eww.el (eww-display-html): If we can't find the anchor we're
2645 looking for, then go to point-min.
2646
2647 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2648
2649 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2650 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2651 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2652 Expand dir too, in case it's relative.
2653
2654 2013-12-16 Juri Linkov <juri@jurta.org>
2655
2656 * desktop.el (desktop-auto-save-timeout): Change default to
2657 `auto-save-timeout'. Doc fix.
2658 (desktop-save): Skip the timestamp in desktop-saved-frameset
2659 when checking for auto-save changes.
2660 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2661 `desktop-auto-save' is called repeatedly by the idle timer.
2662 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2663 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2664 (Bug#15331)
2665
2666 2013-12-16 Juri Linkov <juri@jurta.org>
2667
2668 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2669 (Bug#16035)
2670 (isearch-pre-command-hook): Check `this-command' for symbolp.
2671
2672 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2675
2676 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2677
2678 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2679 (cfengine3--current-function): Bring in the current-function
2680 functionality from `cfengine3--current-word'.
2681 (cfengine3-completion-function): Bring in the
2682 bounds-of-current-word functionality from
2683 `cfengine3--current-word'.
2684
2685 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2686
2687 * window.el (display-buffer-below-selected):
2688 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2689
2690 2013-12-16 Leo Liu <sdl.web@gmail.com>
2691
2692 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2693 Remove NOMSG arg and all uses changed.
2694
2695 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2698 (cua--deactivate-rectangle): Don't deactivate the mark.
2699 (cua-set-rectangle-mark): Don't set mark-active since
2700 cua--activate-rectangle already does it for us.
2701 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2702 non-rectangular region.
2703
2704 * emulation/cua-base.el (cua-repeat-replace-region):
2705 Use with-current-buffer.
2706
2707 * net/gnutls.el: Use cl-lib.
2708 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2709
2710 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2711
2712 * emacs-lisp/package.el (package-built-in-p): Support both
2713 built-in and the package.el converted package descriptions.
2714 (package-show-package-list): Allow keywords.
2715 (package-keyword-button-action): Use it instead of
2716 `finder-list-matches'.
2717 (package-menu-filter-interactive): Interactive filtering (by
2718 keyword) function.
2719 (package-menu--generate): Support keywords and change keymappings
2720 and headers when they are given.
2721 (package--has-keyword-p): Helper function.
2722 (package-menu--refresh): Use it.
2723 (package--mapc): Helper function.
2724 (package-all-keywords): Use it.
2725 (package-menu-mode-map): Set up menu items and keybindings to
2726 provide a filtering UI.
2727
2728 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2729
2730 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2731 the behavior when a certificate fails validation. Defaults to
2732 old behavior: never abort, just warn.
2733 (gnutls-negotiate): Use it.
2734
2735 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2736
2737 * window.el (display-buffer-below-selected): Never split window
2738 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2739
2740 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2741
2742 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2743 (package-buffer-info): Use it (bug#15108).
2744
2745 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * icomplete.el (icomplete-completions): Make sure the prefix is already
2748 displayed elsewhere before hiding it (bug#16219).
2749
2750 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2751
2752 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2753 open-paren tokens when preceded by a open-paren, too.
2754 (ruby-smie-rules): Handle virtual indentation after open-paren
2755 tokens specially. If there is code between it and eol, return the
2756 column where is starts (Bug#16118).
2757
2758 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2759
2760 * progmodes/cfengine.el: Fix `add-hook' doc.
2761 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2762 (cfengine3--current-word): Fix parameters.
2763 (cfengine3-make-syntax-cache): Simplify further.
2764 (cfengine3-completion-function, cfengine3--current-function):
2765 Use `assq' for symbols.
2766 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2767
2768 2013-12-13 Glenn Morris <rgm@gnu.org>
2769
2770 * loadup.el (load-path): Warn if site-load or site-init changes it.
2771 No more need to reset it when bootstrapping.
2772
2773 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2774
2775 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2776 locations for cf-promises.
2777 (cfengine-mode-syntax-functions-regex): New caching variable.
2778 (cfengine3-fallback-syntax): Fallback syntax for cases where
2779 cf-promises doesn't run.
2780 (cfengine3--current-word): Reimplement using
2781 `cfengine-mode-syntax-functions-regex'.
2782 (cfengine3-completion-function, cfengine3--current-function):
2783 Use `cfengine3-make-syntax-cache' directly.
2784 (cfengine3-clear-syntax-cache): New function.
2785 (cfengine3-make-syntax-cache): Simplify and create
2786 `cfengine-mode-syntax-functions-regex' on demand.
2787 (cfengine3-format-function-docstring): Don't call
2788 `cfengine3-make-syntax-cache' explicitly.
2789
2790 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2791
2792 Fix windmove-find-other-window broken after pixelwise resizing
2793 (Bug#16017).
2794 * windmove.el (windmove-other-window-loc): Revert change from
2795 2013-12-04.
2796 (windmove-find-other-window): Call window-in-direction.
2797 * window.el (window-in-direction): New arguments SIGN, WRAP and
2798 MINI to emulate original windmove-find-other-window behavior.
2799
2800 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2801
2802 * simple.el (blink-matching--overlay): New variable.
2803 (blink-matching-open): Instead of moving point, highlight the
2804 matching paren with an overlay
2805 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2806
2807 * faces.el (paren-showing-faces, show-paren-match)
2808 (show-paren-mismatch): Move from paren.el.
2809
2810 2013-12-13 Leo Liu <sdl.web@gmail.com>
2811
2812 * indent.el (indent-region): Disable progress reporter in
2813 minibuffer. (Bug#16108)
2814
2815 * bindings.el (visual-order-cursor-movement): Fix version.
2816
2817 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2818
2819 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2820 Also match after beginning of line.
2821 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2822 files. Thanks to Russell Sim. (Bug#15378)
2823
2824 2013-12-13 Juri Linkov <juri@jurta.org>
2825
2826 * simple.el <Keypad support>: Remove key bindings duplicated
2827 with bindings.el. (Bug#14397)
2828
2829 2013-12-13 Juri Linkov <juri@jurta.org>
2830
2831 * comint.el (comint-mode-map): Replace `delete-char' with
2832 `delete-forward-char'. (Bug#16109)
2833
2834 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2835
2836 * progmodes/python.el (python-indent-calculate-indentation):
2837 Fix de-denters cornercase. (Bug#15731)
2838
2839 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2842 (advice--make): Pay attention to `depth'.
2843 (advice--make-1): Don't autoload commands eagerly.
2844 * emacs-lisp/elp.el (elp-instrument-function):
2845 * emacs-lisp/trace.el (trace-function-internal):
2846 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2847
2848 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2849
2850 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2851
2852 * term/w32-win.el (w32-handle-dropped-file):
2853 * startup.el (normal-top-level):
2854 * net/browse-url.el (browse-url-file-url):
2855 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2856 decode file names using 'utf-8' rather than
2857 file-name-coding-system.
2858
2859 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2860
2861 * progmodes/python.el (python-indent-context)
2862 (python-indent-calculate-indentation): Fix auto-identation
2863 behavior for comment blocks. (Bug#15916)
2864
2865 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2866
2867 * progmodes/python.el (python-indent-calculate-indentation):
2868 When determining indentation, don't treat "return", "pass", etc., as
2869 operators when they are just string constituents. (Bug#15812)
2870
2871 2013-12-12 Juri Linkov <juri@jurta.org>
2872
2873 * uniquify.el (uniquify-buffer-name-style): Change default to
2874 `post-forward-angle-brackets'.
2875
2876 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2877 `uniquify'. Change default to `post-forward-angle-brackets'.
2878
2879 2013-12-11 Glenn Morris <rgm@gnu.org>
2880
2881 * emacs-lisp/package.el (finder-list-matches):
2882 Autoload rather than falsely declaring.
2883
2884 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2885
2886 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2887 (eww-mode-map): Use them.
2888
2889 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2890
2891 * window.el (display-buffer-in-side-window): Fix doc-string
2892 (Bug#16115).
2893
2894 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2895
2896 * vc/vc-git.el: Silence byte-compiler warnings.
2897 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2898 (log-edit-set-header): Declare.
2899
2900 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2901
2902 * Makefile.in (custom-deps, finder-data): Run output file names
2903 through unmsys--file-name. (Bug#16099)
2904
2905 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2908 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2909
2910 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2911 instead of deleting the selection "by hand" (bug#16098).
2912 Rely on insert-for-yank to yank rectangles.
2913 (cua-highlight-region-shift-only): Mark obsolete.
2914 (cua-mode): Don't enable/disable transient-mark-mode,
2915 shift-select-mode (cua-mode works both with and without them), and
2916 pc-selection-mode (obsolete).
2917 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2918 (cua--deactivate-rectangle): Deactivate it.
2919
2920 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2921 (delete-selection-helper): Make sure yank starts at the top of the
2922 deleted region.
2923 (minibuffer-keyboard-quit): Use region-active-p.
2924
2925 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2926
2927 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2928 to `delete' (bug#16109).
2929
2930 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2931
2932 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2933 info manual and show keybindings and set `:group' keyword.
2934
2935 2013-12-11 Juri Linkov <juri@jurta.org>
2936
2937 * delsel.el (delete-active-region): Let-bind `this-command'
2938 to prevent `kill-region' from changing its original value.
2939 (delete-selection-helper): Handle `overwrite-mode' for the type
2940 `kill' exactly the same way as for the type `t'.
2941 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2942 Support more commands. (Bug#13312)
2943
2944 2013-12-11 Juri Linkov <juri@jurta.org>
2945
2946 * bindings.el: Map kp keys to non-kp keys systematically
2947 with basic modifiers control, meta and shift. (Bug#14397)
2948
2949 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2950
2951 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2952 "Close browser" menu items. Fix wrong function of "List
2953 bookmarks".
2954
2955 2013-12-11 Juri Linkov <juri@jurta.org>
2956
2957 * misearch.el (multi-isearch-buffers): Set the value of
2958 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2959 arg of isearch-forward to t.
2960 (multi-isearch-buffers-regexp): Set the value of
2961 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2962 arg of isearch-forward-regexp to t.
2963 (multi-isearch-files): Set the value of
2964 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2965 arg of isearch-forward to t.
2966 (multi-isearch-files-regexp): Set the value of
2967 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2968 arg of isearch-forward-regexp to t. (Bug#16035)
2969
2970 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2971 arg of isearch-forward to t.
2972 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2973 arg of isearch-forward-regexp to t.
2974 (dired-isearch-filter-filenames): Remove unnecessary check for
2975 `dired-isearch-filenames'.
2976
2977 * comint.el (comint-history-isearch-backward):
2978 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2979 (comint-history-isearch-backward-regexp):
2980 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2981
2982 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2983
2984 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2985 unmsys--file-name. (Bug#16099)
2986
2987 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2988
2989 * emacs-lisp/package.el (package-keyword-button-action):
2990 Remove finder.el require dependency.
2991
2992 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2993
2994 * emacs-lisp/package.el: Require finder.el.
2995 (describe-package-1): Add keyword buttons.
2996 (package-make-button): New convenience function.
2997 (package-keyword-button-action): Keyword button action using
2998 `finder-list-matches'.
2999
3000 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3001
3002 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3003 last commit.
3004
3005 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3006
3007 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3008 symlinked files.
3009
3010 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3011
3012 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3013 after the end of a percent literal.
3014
3015 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3016
3017 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3018 Handle caret-delimited strings (Bug#16079).
3019
3020 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3021
3022 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3023 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3024 `ruby-parse-partial' (Bug#16078).
3025
3026 2013-12-09 Leo Liu <sdl.web@gmail.com>
3027
3028 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3029
3030 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3031
3032 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3033 (js-switch-indent-offset): New option.
3034 (js--proper-indentation): Use it. And handle the case when
3035 "default" is actually a key in an object literal.
3036 (js--same-line): New function.
3037 (js--multi-line-declaration-indentation): Use it.
3038 (js--indent-in-array-comp, js--array-comp-indentation):
3039 New functions.
3040 (js--proper-indentation): Use them, to handle array comprehension
3041 continuations.
3042
3043 2013-12-08 Leo Liu <sdl.web@gmail.com>
3044
3045 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3046 (flymake-make-overlay): Remove arg MOUSE-FACE.
3047 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3048
3049 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3052 New function.
3053 (redisplay-highlight-region-function): Use it.
3054
3055 * emulation/cua-base.el (cua--explicit-region-start)
3056 (cua--last-region-shifted): Remove.
3057 (cua--deactivate): Use deactivate-mark.
3058 (cua--pre-command-handler-1): Don't handle shift-selection.
3059 (cua--post-command-handler-1): Don't change transient-mark-mode.
3060 (cua--select-keymaps): Use region-active-p rather than
3061 cua--explicit-region-start or cua--last-region-shifted.
3062 (cua-mode): Enable shift-select-mode.
3063
3064 2013-12-08 Leo Liu <sdl.web@gmail.com>
3065
3066 * progmodes/flymake.el (flymake-popup-current-error-menu):
3067 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3068 (flymake-posn-at-point-as-event, flymake-popup-menu)
3069 (flymake-make-emacs-menu): Remove. (Bug#16077)
3070
3071 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * rect.el (rectangle-mark-mode): Activate mark even if
3074 transient-mark-mode is off (bug#16066).
3075 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3076 is > mark and at bolp.
3077
3078 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3079 (region-extract-function): Use it.
3080 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3081 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3082 Delete functions.
3083 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3084 kill-ring-save, kill-region, delete-char, delete-forward-char.
3085 Ignore self-insert-iso.
3086
3087 * emulation/cua-gmrk.el (cua--init-global-mark):
3088 Ignore `self-insert-iso'.
3089
3090 * emulation/cua-base.el (cua--prefix-copy-handler)
3091 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3092 checking cua--rectangle.
3093 (cua-delete-region): Use region-extract-function.
3094 (cua-replace-region): Delete function.
3095 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3096 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3097 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3098 (cua--init-keymaps): Don't remap delete-selection commands.
3099 (cua-mode): Use delete-selection-mode instead of rolling our own
3100 (bug#16085).
3101
3102 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3103 Obey region-extract-function.
3104
3105 Make registers and delete-selection-mode work on rectangles.
3106 * register.el (describe-register-1): Don't modify the register's value.
3107 (copy-to-register): Obey region-extract-function.
3108 * delsel.el (delete-active-region): Obey region-extract-function.
3109
3110 2013-12-08 Leo Liu <sdl.web@gmail.com>
3111
3112 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3113 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3114 (flymake-compilation-prevents-syntax-check)
3115 (flymake-start-syntax-check-on-newline)
3116 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3117 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3118 (flymake-xml-program, flymake-master-file-dirs)
3119 (flymake-master-file-count-limit)
3120 (flymake-allowed-file-name-masks): Relocate.
3121 (flymake-makehash, flymake-float-time)
3122 (flymake-replace-regexp-in-string, flymake-split-string)
3123 (flymake-get-temp-dir): Remove.
3124 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3125 (flymake-current-row, flymake-selected-frame)
3126 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3127 related functions. (Bug#16077)
3128
3129 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3130
3131 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3132
3133 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3134
3135 * help-fns.el (describe-function-1): Use new advice-* functions
3136 rather than old ad-* functions. Fix function type description and
3137 source links for advised functions and subrs.
3138
3139 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3140
3141 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3142
3143 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3144
3145 * progmodes/compile.el (compilation-start):
3146 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3147
3148 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3149 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3150
3151 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3152
3153 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3154 Touch up the last change.
3155
3156 2013-12-06 Leo Liu <sdl.web@gmail.com>
3157
3158 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3159 (inferior-octave-startup): Always use "octave> " for prompt.
3160 (octave-goto-function-definition)
3161 (octave-sync-function-file-names)
3162 (octave-find-definition-default-filename): Remove redundant backquotes.
3163
3164 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3165
3166 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3167 syntax for `?'.
3168 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3169 where appropriate already.
3170 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3171 end of method names (Bug#15874).
3172
3173 2013-12-06 Juri Linkov <juri@jurta.org>
3174
3175 * isearch.el (isearch--saved-overriding-local-map):
3176 New internal variable.
3177 (isearch-mode): Set it to the initial value of
3178 `overriding-terminal-local-map'.
3179 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3180 with `isearch--saved-overriding-local-map'. (Bug#16035)
3181
3182 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3183
3184 * progmodes/octave.el (inferior-octave-completion-table):
3185 Turn back into function, use `completion-table-with-cache'
3186 (Bug#11906). Update all references.
3187
3188 * minibuffer.el (completion-table-with-cache): New function.
3189
3190 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3191
3192 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3193
3194 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3195
3196 * net/eww.el (eww-current-source): New variable to store page
3197 source.
3198 (eww-display-html, eww-mode, eww-save-history)
3199 (eww-restore-history): Use it.
3200 (eww-view-source): New command to view page source.
3201 Opportunistically uses `html-mode' to highlight the buffer.
3202 (eww-mode-map): Install it.
3203
3204 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/dbus.el (dbus-unregister-service)
3207 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3208 Fix docstring.
3209 (dbus-unregister-service): Skip :serial entries in
3210 `dbus-registered-objects-table'.
3211 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3212
3213 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3214
3215 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3216 around keywords with extra `split-string' argument.
3217
3218 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3219
3220 * windmove.el (windmove-other-window-loc): Handle navigation
3221 between windows (excluding the minibuffer window - Bug#16017).
3222
3223 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3224
3225 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3226 in D-Bus type syntax.
3227 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3228 preserve unibyte strings. (Bug#16048)
3229
3230 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3233 Call force-mode-line-update is the proper buffer (bug#16042).
3234
3235 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3236
3237 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3238 `log-edit-remember-comment', make argument optional. Adjust all
3239 callers.
3240 (log-edit-mode): Add `log-edit-remember-comment' to
3241 `kill-buffer-hook' locally.
3242 (log-edit-kill-buffer): Don't remember comment explicitly since
3243 the buffer is killed anyway.
3244
3245 2013-12-04 Juri Linkov <juri@jurta.org>
3246
3247 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3248 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3249
3250 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3251
3252 * notifications.el (notifications-close-notification): Call the
3253 D-Bus method with ID being a `:uint32'. (Bug#16030)
3254
3255 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3256
3257 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3258
3259 2013-12-03 Juri Linkov <juri@jurta.org>
3260
3261 * progmodes/compile.el (compilation-start): Rename window alist
3262 entry `no-display-ok' to `allow-no-window'.
3263
3264 * simple.el (shell-command): Add window alist entry
3265 `allow-no-window' to `display-buffer'.
3266 (async-shell-command): Doc fix.
3267
3268 * window.el (display-buffer-no-window): New action function.
3269 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3270
3271 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3272
3273 * vc/log-edit.el (log-edit-set-header): Extract from
3274 `log-edit-toggle-header'.
3275 (log-edit-extract-headers): Separate the summary, when extracted
3276 from header, from the rest of the message with an empty line.
3277
3278 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3279 line, if present, to the Summary header.
3280
3281 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3284 in current-buffer (bug#16029).
3285
3286 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3287
3288 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3289 (debugger-mode-map): Bind it.
3290 (debugger--backtrace-base): New function.
3291 (debugger-eval-expression): Use it.
3292 (debugger-frame-number): Skip local vars when present.
3293 (debugger--locals-visible-p, debugger--insert-locals)
3294 (debugger--show-locals, debugger--hide-locals): New functions.
3295
3296 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3297
3298 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3299 "LC_ALL".
3300 (tramp-get-remote-locale): New defun.
3301 (tramp-open-connection-setup-interactive-shell): Use it.
3302
3303 2013-12-02 Leo Liu <sdl.web@gmail.com>
3304
3305 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3306
3307 * progmodes/sh-script.el (sh-shell-process):
3308 * progmodes/octave.el (inferior-octave-process-live-p):
3309 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3310 (gdb-inferior-io-sentinel):
3311 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3312
3313 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3314
3315 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3316 `save-selected-window' to `log-edit-hide-buf'. This makes
3317 `log-edit-show-files' idempotent.
3318 (log-edit-show-files): Mark the new window as dedicated.
3319
3320 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3321
3322 * vc/log-edit.el (log-edit-mode-map): Add binding for
3323 `log-edit-kill-biffer'.
3324 (log-edit-hide-buf): Add a FIXME comment.
3325 (log-edit-add-new-comment): New function, extracted from
3326 `log-edit-done'.
3327 (log-edit-done, log-edit-add-to-changelog): Use it.
3328 (log-edit-kill-buffer): New command.
3329
3330 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3331
3332 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3333 instead of killing the buffer.
3334
3335 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3338
3339 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3340
3341 * net/eww.el (eww-form-checkbox-selected-symbol)
3342 (eww-form-checkbox-symbol): New customizable variable.
3343 (eww-form-checkbox, eww-toggle-checkbox):
3344 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3345
3346 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3347 (shr--get-media-pref, shr--extract-best-source): New function.
3348 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3349 no :src tag was specified.
3350
3351 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3352 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3353 Use \\` to match beginning of string instead of ^.
3354 (eww-browse-with-external-browser): Provide optional URL parameter.
3355 (eww-render): Set `eww-current-title' back to "".
3356
3357 * net/shr.el (shr-tag-video): Display content for video if no
3358 poster is available.
3359 (shr-tag-audio): Add support for <audio> tag.
3360
3361 * net/eww.el (eww-text-input-types): New const.
3362 (eww-process-text-input): Treat input types in
3363 `eww-text-input-types' as text.
3364
3365 * net/shr.el (shr-tag-table): Fix comment typo.
3366
3367 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3368
3369 * net/eww.el (eww-follow-link): New command to avoid reloading
3370 pages when we follow #target links (bug#15243).
3371 (eww-quit): Special mode buffers shouldn't query before exiting.
3372
3373 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3374
3375 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3376 forms.
3377
3378 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3379
3380 * net/eww.el (eww-restore-history): Update the window title after
3381 moving in the history.
3382 (eww-current-dom): New variable used to save the current DOM.
3383
3384 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3385
3386 * vc/log-edit.el (log-edit-mode-map): Add binding for
3387 `log-edit-beginning-of-line'.
3388 (log-edit-setup-add-author): New user option.
3389 (log-edit-beginning-of-line): New command.
3390 (log-edit): Move major mode call above the contents setup so that
3391 the local variable values are already applied.
3392 (log-edit): Only insert "Author: " when
3393 `log-edit-setup-add-author' is non-nil.
3394 (log-edit): When SETUP is non-nil, position point after ": "
3395 instead of point-min.
3396
3397 2013-12-01 Glenn Morris <rgm@gnu.org>
3398
3399 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3400
3401 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3402
3403 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3404 redisplay to make sure the initial frame gets a chance to become
3405 visible. (Bug#16014)
3406
3407 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3408
3409 Support resizing frames and windows pixelwise.
3410 * cus-start.el (frame-resize-pixelwise)
3411 (window-resize-pixelwise): New entries.
3412 * emacs-lisp/debug.el (debug): Use window-total-height instead
3413 of window-total-size.
3414 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3415 * help.el (describe-bindings-internal): Use help-buffer as
3416 argument for with-help-window.
3417 (temp-buffer-max-width): New option.
3418 (resize-temp-buffer-window, help-window-setup)
3419 (with-help-window): Rewrite.
3420 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3421 dragging dividers.
3422 * window.el (frame-char-size, window-min-pixel-height)
3423 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3424 (window-min-pixel-width, window-safe-min-pixel-size)
3425 (window-combination-p, window-safe-min-size)
3426 (window-resizable-p, window--size-to-pixel)
3427 (window--pixel-to-size, window--resize-apply-p): New functions.
3428 (window-safe-min-height): Fix doc-string.
3429 (window-size, window-min-size, window--min-size-1)
3430 (window-sizable, window-sizable-p, window--min-delta-1)
3431 (window-min-delta, window--max-delta-1, window-max-delta)
3432 (window--resizable, window--resizable-p, window-resizable)
3433 (window-full-height-p, window-full-width-p, window-at-side-p)
3434 (window--in-direction-2, window-in-direction)
3435 (window--resize-reset-1, window--resize-mini-window)
3436 (window-resize, window-resize-no-error)
3437 (window--resize-child-windows-normal)
3438 (window--resize-child-windows, window--resize-siblings)
3439 (window--resize-this-window, window--resize-root-window)
3440 (window--resize-root-window-vertically)
3441 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3442 (maximize-window, minimize-window, delete-window)
3443 (quit-restore-window, window-split-min-size, split-window)
3444 (balance-windows-2, balance-windows)
3445 (balance-windows-area-adjust, balance-windows-area)
3446 (window--state-get-1, window-state-get, window--state-put-1)
3447 (window--state-put-2, window-state-put)
3448 (display-buffer-record-window, window--display-buffer):
3449 Make functions handle pixelwise sizing of windows.
3450 (display-buffer--action-function-custom-type)
3451 (display-buffer-fallback-action):
3452 Add display-buffer-in-previous-window.
3453 (display-buffer-use-some-window): Resize window to height it had
3454 before.
3455 (fit-window-to-buffer-horizontally): New option.
3456 (fit-frame-to-buffer): Describe new values.
3457 (fit-frame-to-buffer-bottom-margin): Replace with
3458 fit-frame-to-buffer-margins.
3459 (window--sanitize-margin): New function.
3460 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3461 using window-text-pixel-size.
3462
3463 2013-11-30 Glenn Morris <rgm@gnu.org>
3464
3465 * emacs-lisp/bytecomp.el (byte-compile-form):
3466 Make the `interactive-only' warning like the `obsolete' one.
3467 * comint.el (comint-run):
3468 * files.el (insert-file-literally, insert-file):
3469 * replace.el (replace-string, replace-regexp):
3470 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3471 (goto-line, insert-buffer, next-line, previous-line):
3472 Tweak `interactive-only' spec.
3473
3474 Stop keeping (most) generated cedet grammar files in the repository.
3475 * Makefile.in (semantic): New.
3476 (compile-main): Depend on semantic.
3477
3478 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3481 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3482
3483 * uniquify.el (uniquify-buffer-name-style): Change default.
3484
3485 * loadup.el: Preload "uniquify".
3486
3487 * time.el (display-time-update): Update all mode lines (bug#15999).
3488
3489 * electric.el (electric-indent-mode): Enable by default.
3490 * loadup.el: Preload "electric".
3491
3492 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3493
3494 * emacs-lisp/helpers.el (string-empty-p): New function.
3495 (string-blank-p): New function.
3496
3497 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3498
3499 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3500 (Bug#14029).
3501
3502 2013-11-29 Andreas Politz <politza@fh-trier.de>
3503 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3504 allow non-lambda lists as functions.
3505 (imenu--in-alist): Don't recurse into non-subalists.
3506 (imenu): Don't pass function itself as an argument (Bug#14029).
3507
3508 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * progmodes/python.el (python-mode-map): Remove binding for ":".
3511 (python-indent-electric-colon): Remove command.
3512 (python-indent-post-self-insert-function): Integrate the previous code
3513 of python-indent-electric-colon. Make it conditional on
3514 electric-indent-mode.
3515 (python-mode): Add ?: to electric-indent-chars.
3516 Move python-indent-post-self-insert-function to the end of
3517 post-self-insert-hook.
3518
3519 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * doc-view.el (doc-view-goto-page): Update mode-line.
3522
3523 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3524
3525 2013-11-27 Glenn Morris <rgm@gnu.org>
3526
3527 * international/charprop.el, international/uni-bidi.el:
3528 * international/uni-category.el, international/uni-combining.el:
3529 * international/uni-comment.el, international/uni-decimal.el:
3530 * international/uni-decomposition.el, international/uni-digit.el:
3531 * international/uni-lowercase.el, international/uni-mirrored.el:
3532 * international/uni-name.el, international/uni-numeric.el:
3533 * international/uni-old-name.el, international/uni-titlecase.el:
3534 * international/uni-uppercase.el:
3535 Remove generated files from VCS repository.
3536
3537 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3538
3539 * filenotify.el (file-notify-add-watch): Don't special-case
3540 w32notify when computing the directory to watch.
3541
3542 2013-11-27 Glenn Morris <rgm@gnu.org>
3543
3544 Make bootstrap without generated uni-*.el files possible again.
3545 * loadup.el: Update command-line-args checking for unidata-gen.
3546 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3547 * composite.el, international/characters.el:
3548 Handle unicode tables being undefined.
3549
3550 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3551 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3552 (compile-main): Depend on leim rule.
3553 (leim): New rule.
3554 * loadup.el: Move leim-list.el to leim/ subdirectory.
3555 * startup.el (normal-top-level): No more leim directory.
3556 * international/ja-dic-cnv.el (skkdic-convert):
3557 Disable version-control and autoloads in output files.
3558 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3559 Disable version-control and autoloads in output files.
3560 * leim/quail: Move here from ../leim.
3561 * leim/quail/hangul.el (hangul-input-method-activate):
3562 Add autoload cookie.
3563 (generated-autoload-load-name): Set file-local value.
3564 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3565 (generated-autoload-load-name): Set file-local value.
3566
3567 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3568
3569 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3570 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3571 (eww-quit): Ask confirmation before quitting eww.
3572
3573 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3574
3575 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3576 reading output from Diff on MS-Windows and MS-DOS.
3577
3578 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3579
3580 * emacs-lisp/helpers.el (string-reverse): New function.
3581
3582 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3583
3584 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3585 names on MS Windows, like "/[::1]:".
3586
3587 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3588 SWITCHES.
3589
3590 2013-11-26 Glenn Morris <rgm@gnu.org>
3591
3592 * progmodes/python.el (python-indent-guess-indent-offset):
3593 Avoid corner-case error. (Bug#15975)
3594
3595 Preload leim-list.el. (Bug#4789)
3596 * loadup.el: Load leim-list.el when found.
3597 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3598
3599 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3600
3601 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3602
3603 * emacs-lisp/helpers.el (string-join): New function.
3604
3605 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3606
3607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3608 Mark as obsolete and replace it with a symbol property.
3609 (byte-compile-form): Use new 'interactive-only property.
3610 * comint.el, files.el, replace.el, simple.el:
3611 Apply new 'interactive-only properly.
3612
3613 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3614
3615 * window.el (display-buffer-at-bottom): Make sure that
3616 split-window-sensibly creates the new window on bottom
3617 (Bug#15961).
3618
3619 2013-11-23 David Kastrup <dak@gnu.org>
3620
3621 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3622 on the conflict markers when available.
3623 (smerge--get-marker): New function.
3624 (smerge-end-re, smerge-base-re): Add subgroup.
3625
3626 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 * frame.el (handle-focus-in, handle-focus-out): Add missing
3629 interactive spec.
3630
3631 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3634 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3635
3636 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3639 (gomoku--last-pos): New var.
3640 (gomoku--intangible-chars): New const.
3641 (gomoku--intangible): New function.
3642 (gomoku-mode): Use it. Derive from special-mode.
3643 (gomoku-move-up): Adjust line count.
3644 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3645 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3646 Simplify accordingly.
3647
3648 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3649 Remove blink-cursor code.
3650 (blink-cursor-timer-function, blink-cursor-suspend):
3651 Don't special-case GUIs.
3652 (blink-cursor-mode): Use focus-in/out-hook.
3653
3654 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3655
3656 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3657 work when annotation is invisible (Bug#13886).
3658
3659 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3660
3661 * json.el (json-alist-p): Only return non-nil if the alist has
3662 simple keys (Bug#13518).
3663
3664 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3665
3666 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3667 when control-statement is the first statement in a buffer (Bug#15956).
3668
3669 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3670
3671 * imenu.el (imenu-generic-skip-comments-and-strings):
3672 New option (Bug#15560).
3673 (imenu--generic-function): Use it.
3674
3675 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3676
3677 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3678 (Bug#13898)
3679
3680 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3681
3682 * emacs-lisp/helpers.el: Add some string helpers.
3683 (string-trim-left): Removes leading whitespace.
3684 (string-trim-right): Removes trailing whitespace.
3685 (string-trim): Removes leading and trailing whitespace.
3686
3687 * subr.el (string-suffix-p): New function.
3688
3689 2013-11-23 Glenn Morris <rgm@gnu.org>
3690
3691 * progmodes/python.el (python-shell-send-file):
3692 Add option to delete file when done. (Bug#15647)
3693 (python-shell-send-string, python-shell-send-region): Use it.
3694
3695 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3696
3697 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3698 to set buffer-read-only to t, never to nil. (Bug#15938)
3699
3700 * textmodes/tex-mode.el (latex-noindent-environments):
3701 Add safe-local-variable property. (Bug#15936)
3702
3703 2013-11-23 Glenn Morris <rgm@gnu.org>
3704
3705 * textmodes/enriched.el (enriched-mode): Doc fix.
3706 * emacs-lisp/authors.el (authors-renamed-files-alist):
3707 Add enriched.doc -> enriched.txt.
3708
3709 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3710
3711 2013-11-22 Leo Liu <sdl.web@gmail.com>
3712
3713 * progmodes/octave.el (inferior-octave-startup): Spit out error
3714 message.
3715
3716 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3717
3718 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3719 Improve docstring.
3720 Add :version.
3721 (ruby-encoding-magic-comment-style): Add :version.
3722
3723 2013-11-22 Leo Liu <sdl.web@gmail.com>
3724
3725 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3726 (Bug#15076)
3727 (octave-help-mode): Adapt to change to help-mode-finish to use
3728 derived-mode-p on 2013-09-17.
3729 (inferior-octave-prompt): Also match octave-gui.
3730 (octave-kill-process): Don't ask twice. (Bug#10564)
3731
3732 2013-11-22 Leo Liu <sdl.web@gmail.com>
3733
3734 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3735 (inferior-octave-startup, inferior-octave-check-process)
3736 (inferior-octave-track-window-width-change)
3737 (octave-completion-at-point, octave-eldoc-function): Use it.
3738 (octave-kill-process): Provide confirmation. (Bug#10564)
3739
3740 2013-11-21 Leo Liu <sdl.web@gmail.com>
3741
3742 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3743 Fix obsolete variable comment-use-global-state.
3744
3745 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3746
3747 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3748 Add `octave-source-file'.
3749 (octave-source-file): New function. (Bug#15935)
3750
3751 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3752
3753 * net/eww.el (eww-local-regex): New variable.
3754 (eww): Use it to detect localhost and similar.
3755
3756 2013-11-21 Leo Liu <sdl.web@gmail.com>
3757
3758 Add completion for command `ag'.
3759 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3760 (pcomplete/ag): New function.
3761 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3762
3763 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3766 (bug#14646).
3767 (make-obsolete): Remove interactive spec.
3768
3769 2013-11-21 Glenn Morris <rgm@gnu.org>
3770
3771 * startup.el (command-line-1): Use path-separator with -L.
3772
3773 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3774
3775 * emacs-lisp/package.el (describe-package-1): Add package archive
3776 to shown fields.
3777
3778 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3779
3780 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3781 Change default to "# encoding: %s" to differentiate it from the
3782 default Ruby encoding comment template.
3783
3784 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3785
3786 * ses.el (ses-mode): Doc fix. (Bug#14748)
3787
3788 2013-11-20 Leo Liu <sdl.web@gmail.com>
3789
3790 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3791
3792 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3793
3794 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3795 when rebase or bisect are in progress.
3796
3797 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3798
3799 * filenotify.el (file-notify-add-watch): Doc fix.
3800
3801 2013-11-19 Leo Liu <sdl.web@gmail.com>
3802
3803 * obsolete/rcompile.el: Mark obsolete.
3804
3805 * progmodes/compile.el (compilation-start)
3806 (compilation-goto-locus, compilation-find-file):
3807 Pass no-display-ok and handle nil value from display-buffer.
3808 (Bug#13594)
3809
3810 * window.el (display-buffer-alist, display-buffer): Document the
3811 new parameter no-display-ok. Return either a window or nil
3812 but never a non-window value.
3813
3814 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * electric.el (electric-indent-mode-map): Remove.
3817 (electric-indent-mode): Change the global-map instead (bug#15915).
3818
3819 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3820 Use add-function.
3821
3822 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * emacs-lisp/nadvice.el (remove-function): Align with
3825 add-function's behavior.
3826
3827 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3828 (gdb--string-regexp): New constant.
3829 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3830 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3831 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3832 submatch 1.
3833 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3834 Adjust use accordingly.
3835 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3836
3837 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3838
3839 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3840 interpolation curlies (Bug#15914).
3841
3842 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3843
3844 * calc/calc.el (calc-context-sensitive-enter): New variable.
3845 (calc-enter): Use `calc-context-sensitive-enter'.
3846
3847 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3848
3849 * progmodes/cfengine.el: Version bump.
3850 (cfengine-cf-promises): New defcustom to locate cf-promises.
3851 (cfengine3-vartypes): Add new "data" type.
3852 (cfengine3--current-word): New function to get current name-like
3853 word or its bounds.
3854 (cfengine3--current-function): New function to look up a CFEngine
3855 function's definition.
3856 (cfengine3-format-function-docstring): New function.
3857 (cfengine3-make-syntax-cache): New function.
3858 (cfengine3-documentation-function): New function: ElDoc glue.
3859 (cfengine3-completion-function): New function: completion glue.
3860 (cfengine3-mode): Set `compile-command',
3861 `eldoc-documentation-function', and add to
3862 `completion-at-point-functions'.
3863
3864 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3865
3866 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3867 `tramp-current-connection'.
3868
3869 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3870
3871 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3872 nil/self/true/false with "end of symbol".
3873
3874 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3875
3876 * subr.el (version-regexp-alist): Fix a typo.
3877
3878 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3881 "en_US.utf8" and "LC_CTYPE" to "".
3882 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3883 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3884
3885 2013-11-15 Leo Liu <sdl.web@gmail.com>
3886
3887 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3888
3889 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * progmodes/gud.el (ctl-x-map):
3892 Remove C-x SPC binding. (Bug#12342)
3893 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3894
3895 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3896
3897 * subr.el (version-regexp-alist):
3898 Recognize hg, svn and darcs versions as snapshot versions.
3899
3900 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3901 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3902 (ruby--encoding-comment-required-p): Extract from
3903 `ruby-mode-set-encoding'.
3904 (ruby-mode-set-encoding): Add the ability to always insert an
3905 utf-8 encoding comment. Fix and simplify coding comment update
3906 logic.
3907
3908 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * net/tramp-gvfs.el (top): Run init code only when
3911 `tramp-gvfs-enabled' is not nil.
3912 (tramp-gvfs-enabled): Check also :system bus.
3913
3914 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 Sync with upstream verilog-mode revision 78e66ba.
3917 * progmodes/verilog-mode.el (verilog-end-of-defun)
3918 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3919 (verilog-get-end-of-defun): Remove unused argument.
3920 (verilog-comment-depth): Remove unused local `e'.
3921 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3922 Don't pass arg to verilog-get-end-of-defun.
3923
3924 2013-11-14 Glenn Morris <rgm@gnu.org>
3925
3926 * obsolete/assoc.el (aget): Prefix dynamic variable.
3927
3928 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3929
3930 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * widget.el, hfy-cmap.el: Remove bogus package version number.
3933
3934 2013-11-13 Glenn Morris <rgm@gnu.org>
3935
3936 * replace.el (replace-eval-replacement):
3937 Try to give more helpful error message. (Bug#15836)
3938
3939 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3940 (archive-7z-update): Avoid custom type mismatches.
3941
3942 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3943
3944 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3945
3946 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3947 address can be empty.
3948
3949 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3950 Accept nil SWITCHES.
3951 (tramp-gvfs-handle-write-region): Implement APPEND.
3952
3953 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3954
3955 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3956 binary "|" operator and closing block args delimiter.
3957 Remove FIXME comment referring to Ruby 1.8-only syntax.
3958 (ruby-smie--implicit-semi-p): Not after "|" operator.
3959 (ruby-smie--closing-pipe-p): New function.
3960 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3961 (ruby-smie-rules): Indent after "|".
3962
3963 2013-11-12 Glenn Morris <rgm@gnu.org>
3964
3965 * ps-print.el (ps-face-attribute-list):
3966 Handle anonymous faces. (Bug#15827)
3967
3968 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3969
3970 * window.el (display-buffer-other-frame): Fix doc-string.
3971 (Bug#15868)
3972
3973 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3976
3977 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3980 (tramp-sh-handle-file-local-copy): Don't write a message when
3981 saving temporary files.
3982
3983 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3984 both directories are remote.
3985 (tramp-smb-handle-directory-files): Do not return double entries.
3986 Do not expand full file names.
3987 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3988 (tramp-smb-handle-write-region): Implement APPEND.
3989 (tramp-smb-get-stat-capability): Fix a stupid bug.
3990
3991 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3994
3995 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3996
3997 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3998 throwing error over malformed let/let* (bug#15814).
3999
4000 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * iswitchb.el (iswitchb-mode): Mark obsolete.
4003
4004 2013-11-11 Glenn Morris <rgm@gnu.org>
4005
4006 * international/uni-bidi.el, international/uni-category.el:
4007 * international/uni-name.el, international/uni-numeric.el:
4008 Regenerate for Unicode 6.3.0.
4009
4010 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4011
4012 * net/tramp.el (tramp-methods):
4013 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4014 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4015
4016 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4017
4018 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4019 Force highlighting text after Summary keyword in doc face for rpm.
4020
4021 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4022
4023 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4024 available and the word has no wildcards, append one to the grep pattern.
4025 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4026 (ispell-complete-word): Call `ispell-lookup-words' with the value
4027 independent of `ispell-look-p'.
4028
4029 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4030
4031 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4032 Not after "||".
4033 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4034 their parent.
4035
4036 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4039 (ruby-font-lock-keywords): Use backquote.
4040
4041 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4042
4043 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4044 (ruby-smie--backward-token): Only consider full-string matches.
4045
4046 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4047
4048 * faces.el (describe-face): Add distant-foreground.
4049
4050 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4051
4052 * progmodes/ruby-mode.el: Improve encoding comment handling.
4053 (ruby-encoding-magic-comment-style): New option.
4054 (ruby-custom-encoding-magic-comment-template): New option.
4055 (ruby--insert-coding-comment, ruby--detect-encoding):
4056 New functions extracted from `ruby-mode-set-encoding'.
4057 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4058 to control the style of the auto-inserted encoding comment.
4059
4060 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4061
4062 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4063 Use `smie-backward-sexp' with token argument.
4064
4065 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4066
4067 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4068 Remove instrumentation code.
4069
4070 2013-11-08 Glenn Morris <rgm@gnu.org>
4071
4072 * progmodes/autoconf.el (autoconf-mode):
4073 Tweak comment-start-skip. (Bug#15822)
4074
4075 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4078 at bobp (bug#15826).
4079 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4080
4081 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4082
4083 * man.el (Man-start-calling): New macro, extracted from
4084 Man-getpage-in-background.
4085 (Man-getpage-in-background): Use it.
4086 (Man-update-manpage): New command.
4087 (Man-mode-map): Bind it.
4088
4089 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4090
4091 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4092 of "and", "or", "&&" and "||".
4093 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4094 argument. Prohibit opening curly brace because it could only be a
4095 block opener in that position.
4096 (ruby-smie--forward-token, ruby-smie--backward-token):
4097 Separate "|" from "&" or "*" going after it. That can happen in block
4098 arguments.
4099 (ruby-smie--indent-to-stmt): New function, seeks the end of
4100 previous statement or beginning of buffer.
4101 (ruby-smie-rules): Use it.
4102 (ruby-smie-rules): Check if there's a ":" before a curly block
4103 opener candidate; if there is, it's a hash.
4104
4105 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4108 (cl--block-wrapper): Fix last accidental change.
4109
4110 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4111
4112 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4113 Instrument, in order to hunt failure on hydra.
4114
4115 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4116
4117 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4118 malformed bindings form (bug#15814).
4119
4120 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4121
4122 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4123 "." compared to " @ ". This incidentally fixes some indentation
4124 examples with "do".
4125 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4126 (ruby-smie-grammar): New tokens: "and" and "or".
4127 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4128 Exclude "and" and "or". Remove "do" in order to work around token
4129 priorities.
4130 (ruby-smie-rules): Add all infix tokens. Handle the case of
4131 beginning-of-buffer.
4132
4133 2013-11-06 Glenn Morris <rgm@gnu.org>
4134
4135 * Makefile.in (setwins_almost, setwins_for_subdirs):
4136 Avoid accidental matches.
4137
4138 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * menu-bar.el (popup-menu): Use key-binding.
4141
4142 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4143
4144 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4145 menus, support also the menus produced by minor modes.
4146 (Bug#15817)
4147
4148 2013-11-06 Leo Liu <sdl.web@gmail.com>
4149
4150 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4151 DISTANCE to bound the search. All uses changed. (Bug#15808)
4152
4153 2013-11-06 Glenn Morris <rgm@gnu.org>
4154
4155 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4156 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4157 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4158
4159 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * electric.el (electric-indent-just-newline): New command.
4162 (electric-indent-mode-map): New keymap.
4163 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4164 Re-add :group which weren't redundant.
4165
4166 * electric.el (electric-indent-local-mode): New minor mode.
4167 (electric-indent-functions-without-reindent): New var.
4168 (electric-indent-post-self-insert-function): Use it.
4169 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4170
4171 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4172
4173 * international/quail.el (quail-help): Be more explicit about the
4174 meaning of the labels shown on the keys. (Bug#15800)
4175
4176 * startup.el (normal-top-level): Load the subdirs.el files before
4177 setting the locale environment. (Bug#15805)
4178
4179 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4182 via arguments so as to get the right ones (bug#15418).
4183
4184 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4185
4186 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4187
4188 Fix problems found while writing a test suite.
4189
4190 * net/tramp-compat.el (tramp-compat-load): New defun.
4191 * net/tramp.el (tramp-handle-load): Use it.
4192
4193 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4194 "(numberp ok-if-already-exists)" correctly.
4195
4196 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4197
4198 * international/characters.el (glyphless-char-display-control):
4199 Add usage note.
4200
4201 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4202
4203 * progmodes/python.el (python-mode):
4204 * progmodes/scheme.el (scheme-mode):
4205 * progmodes/prolog.el (prolog-mode):
4206 * progmodes/ruby-mode.el (ruby-mode):
4207 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4208 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4209
4210 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * rect.el (rectangle--highlight-for-redisplay):
4213 * emacs-lisp/smie.el (smie--next-indent-change):
4214 Use buffer-chars-modified-tick.
4215
4216 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4217
4218 * electric.el (electric-indent-post-self-insert-function):
4219 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4220
4221 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4222
4223 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4224
4225 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4226
4227 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4228 (bug#15786).
4229
4230 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4233
4234 * progmodes/python.el: Fix up last change.
4235 (python-shell--save-temp-file): New function.
4236 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4237 `string' comes from the current buffer.
4238 (python-shell-send-string-no-output): Remove `msg' arg.
4239 (python--use-fake-loc): New var.
4240 (python-shell-buffer-substring): Obey it. Try to compensate for the
4241 extra coding line added by python-shell--save-temp-file.
4242 (python-shell-send-region): Use python-shell--save-temp-file and
4243 python-shell-send-file directly. Add `nomain' argument.
4244 (python-shell-send-buffer): Use python-shell-send-region.
4245 (python-electric-pair-string-delimiter): New function.
4246 (python-mode): Use it.
4247
4248 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4249
4250 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4251 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4252 environment and decoding all of the default-directory's to here
4253 from command-line.
4254 (command-line): Decode also argv[0].
4255
4256 * loadup.el: Error out if default-directory is a multibyte string
4257 when we are dumping.
4258
4259 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4260
4261 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4262
4263 * emacs-lisp/package.el (package-menu-mode)
4264 (package-menu--print-info, package-menu--archive-predicate):
4265 Add Archive column to package list.
4266
4267 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4268
4269 Fix problems found while writing a test suite.
4270
4271 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4272 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4273 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4274 to nil when running original file name handler. Otherwise,
4275 there are problems with constructs like "$$FOO".
4276
4277 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4278 for `localname'.
4279
4280 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4281
4282 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4283
4284 * subr.el (version<, version<=, version=):
4285 Update docstrings with information for snapshot versions.
4286
4287 * helpers.el: New library for misc helper functions.
4288 (hash-table-keys): New function returning a list of hash keys.
4289 (hash-table-values): New function returning a list of hash values.
4290
4291 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4292
4293 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4294 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4295
4296 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4297
4298 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4299 checking whether point is after a 1-letter word.
4300
4301 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4302
4303 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4304 Don't infloop when expanding region over `multiline' syntax-type that
4305 begins a line (bug#15778).
4306
4307 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4310 Make it into a proper minor mode.
4311 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4312 (rectangle-mark-mode-map): New keymap.
4313 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4314
4315 2013-11-04 Glenn Morris <rgm@gnu.org>
4316
4317 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4318
4319 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4322 (ruby-smie-rules): Use smie-rule-parent instead.
4323
4324 * emacs-lisp/smie.el (smie-rule-parent): Always call
4325 smie-indent-virtual rather than only for hanging tokens.
4326 (smie--next-indent-change): New helper command.
4327
4328 2013-11-03 Glenn Morris <rgm@gnu.org>
4329
4330 * Makefile.in (abs_srcdir): Remove.
4331 (emacs): Unset EMACSLOADPATH.
4332
4333 2013-11-02 Glenn Morris <rgm@gnu.org>
4334
4335 * Makefile.in (EMACS): Use a relative filename.
4336 (abs_top_builddir): Remove.
4337 (custom-deps, finder-data, autoloads): Use --chdir.
4338
4339 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4340
4341 Use relative filenames in TAGS files.
4342 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4343 (lisptagsfiles4, TAGS): Use relative file names.
4344 (TAGS-LISP): Remove.
4345 (maintainer-clean): No more TAGS-LISP file.
4346
4347 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4348 (lisptagsfiles4): Use absolute filenames again.
4349 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4350 Remove all *loaddefs files, not just the first. Remove esh-groups.
4351 (maintainer-clean): Delete TAGS, TAGS-LISP.
4352
4353 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4354
4355 * emacs-lisp/package.el (package-version-join):
4356 Recognize snapshot versions.
4357
4358 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4359
4360 * subr.el (version-regexp-alist): Add support for snapshot versions.
4361
4362 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4363
4364 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4365 New function, replacement for `smie-rule-parent' for when we want to
4366 skip over our direct parent if it's an assignment token..
4367 (ruby-smie-rules): Use it.
4368
4369 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4372 unconditionally. Remove now unnecessary forward declarations.
4373 Remove XEmacs-specific setup.
4374 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4375 (ruby-font-lock-syntactic-keywords)
4376 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4377 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4378 (ruby-here-doc-end-syntax): Remove.
4379 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4380 defined as function.
4381
4382 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4383
4384 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4385
4386 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4387
4388 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4389 table and abbrev table, `define-derived-mode' does that for us
4390 anyway.
4391
4392 2013-11-01 Glenn Morris <rgm@gnu.org>
4393
4394 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4395 files is atomic for some time, so no parallel compilation issues).
4396
4397 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4398
4399 * faces.el (face-x-resources): Add :distant-foreground.
4400 (region): Use :distant-foreground for gtk and ns.
4401
4402 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4403
4404 Allow multiple bibliographies when BibLaTeX is used rather than
4405 BibTeX.
4406 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4407 (reftex-locate-bibliography-files): Us it.
4408
4409 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4410
4411 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4412 allow comments in pbm files.
4413
4414 * term/w32-win.el (dynamic-library-alist): Support newer versions
4415 of libjpeg starting with v7: look only for the DLL from the
4416 version against which Emacs was built.
4417 Support versions of libpng beyond 1.4.x.
4418 Support libtiff v4.x.
4419
4420 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4421
4422 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4423 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4424 Add property :safe.
4425 (ruby-deep-arglist): Add property :type.
4426
4427 2013-10-31 Glenn Morris <rgm@gnu.org>
4428
4429 * Makefile.in (custom-deps, finder-data): No need to setq the target
4430 variables, we are in the right directory and the defaults work fine.
4431
4432 2013-10-30 Glenn Morris <rgm@gnu.org>
4433
4434 * Makefile.in (autoloads): Do not use abs_lisp.
4435
4436 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4437 `newline' does not respect `standard-output', so use `princ'.
4438
4439 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4440
4441 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4442 * buff-menu.el (Buffer-menu--unmark): New function.
4443 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4444
4445 2013-10-30 Glenn Morris <rgm@gnu.org>
4446
4447 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4448
4449 * emacs-lisp/package.el (lm-homepage): Declare.
4450
4451 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4452 Fix doc typos.
4453
4454 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4455
4456 * Makefile.in (finder-data, autoloads, update-subdirs)
4457 (compile-main, compile-clean, compile-always, bootstrap-clean):
4458 Check return value of cd.
4459 (compile-calc): Remove.
4460
4461 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4464
4465 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4466 (byte-compile-and-folded): New function.
4467 (=, <, >, <=, >=): Use it.
4468
4469 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4470 (path-separator, null-device, buffer-file-coding-system)
4471 (lpr-headers-switches): Check system-type before modifying them.
4472 (find-buffer-file-type-coding-system): Mark obsolete.
4473 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4474 find-file-not-found-set-buffer-file-coding-system.
4475 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4476 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4477 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4478 (w32-direct-print-region-helper, w32-direct-print-region-function)
4479 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4480 * startup.el (normal-top-level-add-subdirs-to-load-path):
4481 * ps-print.el (ps-print-region-function):
4482 * lpr.el (print-region-function): Use new name.
4483
4484 * subr.el (custom-declare-variable-early): Remove function.
4485 (custom-declare-variable-list): Remove var.
4486 (error, user-error): Remove `while' loop.
4487 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4488 (user-emacs-directory-warning, locate-user-emacs-file):
4489 Move to files.el.
4490 * simple.el (read-quoted-char-radix, read-quoted-char):
4491 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4492 Move from subr.el.
4493 * custom.el (custom-declare-variable-list): Don't process
4494 custom-declare-variable-list.
4495
4496 * progmodes/python.el (python-shell-get-buffer): New function.
4497 (python-shell-get-process): Use it.
4498 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4499 Python which encoding was used. Don't split-string since we only care
4500 about the first line. Return the temp-file, if applicable.
4501 (python-shell-send-region): Tell compile.el how to turn locations in
4502 the temp-file into locations in the source buffer.
4503
4504 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * subr.el (undefined): Add missing behavior from the C code for
4507 unbound keys.
4508
4509 * rect.el: Use lexical-binding. Add new rectangular region support.
4510 (rectangle-mark): New command.
4511 (rectangle--region): New var.
4512 (deactivate-mark-hook): Reset rectangle--region.
4513 (rectangle--extract-region, rectangle--insert-for-yank)
4514 (rectangle--highlight-for-redisplay)
4515 (rectangle--unhighlight-for-redisplay): New functions.
4516 (region-extract-function, redisplay-unhighlight-region-function)
4517 (redisplay-highlight-region-function): Use them to handle
4518 rectangular region.
4519 * simple.el (region-extract-function): New var.
4520 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4521 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4522 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4523 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4524 (redisplay-unhighlight-region-function)
4525 (redisplay-highlight-region-function): New vars.
4526 (redisplay--update-region-highlight): New function.
4527 (pre-redisplay-function): Use it.
4528 (exchange-point-and-mark): Don't deactivate the mark before
4529 reactivate-it anyway.
4530 * comint.el (comint-kill-region): Remove yank-handler argument.
4531 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4532 (delete-char): Remove property, since it's now part of their
4533 default behavior.
4534 (self-insert-iso): Remove property since this command doesn't exist.
4535
4536 * emacs-lisp/package.el (package--download-one-archive)
4537 (describe-package-1): Don't query the user about final newline.
4538
4539 2013-10-29 Daniel Colascione <dancol@dancol.org>
4540
4541 * net/tramp.el (tramp-methods): Document new functionality.
4542 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4543 tramp-hostname-checker if method provides one instead of scanning
4544 argument list for "%h" to decide hostname acceptability.
4545
4546 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4547
4548 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4549 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4550 Handle COPY-CONTENTS. (Bug#15737)
4551
4552 2013-10-28 Daiki Ueno <ueno@gnu.org>
4553
4554 * epa-file.el
4555 (epa-file-cache-passphrase-for-symmetric-encryption):
4556 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4557
4558 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4559
4560 * image.el (defimage, image-load-path): Doc fixes.
4561
4562 2013-10-27 Alan Mackenzie <acm@muc.de>
4563
4564 Indent statements in macros following "##" correctly.
4565 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4566 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4567
4568 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4569
4570 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4571
4572 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4573
4574 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4575 after `=' is probably a new expression.
4576
4577 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4578
4579 * man.el (man-imenu-title): New option.
4580 (Man-mode-map): Add menu. (Bug#15722)
4581 (Man-mode): Add imenu to menu.
4582
4583 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4584
4585 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4586 specific in what the first arg can be: a non-keyword word,
4587 string/regexp/percent literal opener, opening paren, or unary
4588 operator followed directly by word.
4589
4590 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4593 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4594 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4595 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4596 Remove vars, they do not apply any more.
4597 (prolog-mode-abbrev-table): Remove redundant declaration.
4598 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4599 (prolog-use-smie): Remove.
4600 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4601 supported by prolog-electric-if-then-else-flag.
4602 (prolog-mode-variables, prolog-menu): Use setq-local.
4603 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4604 Remove binding to `Backspace' since this key doesn't exist anyway.
4605 Remove bindings for electric self-inserting keys.
4606 (prog-mode): Assume it's defined.
4607 (prolog-post-self-insert): New function.
4608 (prolog-mode): Use it.
4609 (prolog-indent-line, prolog-indent-level)
4610 (prolog-find-indent-of-matching-paren)
4611 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4612 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4613 (prolog-goto-next-paren, prolog-in-string-or-comment)
4614 (prolog-tokenize, prolog-inside-mline-comment)
4615 (prolog-find-start-of-mline-comment): Remove functions.
4616 (prolog-find-unmatched-paren, prolog-clause-end)
4617 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4618 (prolog-electric--if-then-else): Rename from
4619 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4620 (prolog-tokenize-searchkey): Remove const.
4621 (prolog-clause-info): Use forward-sexp.
4622 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4623 (prolog-electric-if-then-else): Remove commands.
4624 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4625 for use in post-self-insert-hook.
4626 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4627 for use in post-self-insert-hook.
4628 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4629 for use in post-self-insert-hook.
4630 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4631 adapt it for use in post-self-insert-hook.
4632
4633 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4634
4635 * emacs-lisp/ert.el (ert-run-tests-interactively):
4636 Use `completing-read'. (Bug#9756)
4637
4638 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4639
4640 * simple.el (line-move): Call line-move-1 instead of
4641 line-move-visual when the current window hscroll is zero, but
4642 temporary-goal-column indicates we will need to hscroll as result
4643 of the movement. (Bug#15712)
4644
4645 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4646
4647 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4648 capitalization. Use :visible instead of :active.
4649 Fix `ruby-indent-exp' reference. Add menu items for the generic
4650 commands that are used with SMIE.
4651 (ruby-do-end-to-brace): Insert space after `{'.
4652
4653 2013-10-25 John Anthony <john@jo.hnanthony.com>
4654
4655 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4656
4657 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4658
4659 2013-10-25 Glenn Morris <rgm@gnu.org>
4660
4661 * vc/vc.el (vc-print-log): Don't use a working revision unless
4662 one was explicitly specified. (Bug#15322)
4663
4664 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * subr.el (add-to-list): Preserve return value in compiler-macro
4667 (bug#15692).
4668
4669 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4670
4671 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4672 result. Ask user to retry using '-all' flag. (Bug#15701)
4673
4674 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * emacs-lisp/smie.el: New smie-config system.
4677 (smie-config): New defcustom.
4678 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4679 (smie-config-guess, smie-config-save): New commands.
4680 (smie-config--mode-local, smie-config--buffer-local)
4681 (smie-config--trace, smie-config--modefuns): New vars.
4682 (smie-config--advice, smie-config--mode-hook)
4683 (smie-config--setter, smie-config-local, smie-config--get-trace)
4684 (smie-config--guess-value, smie-config--guess): New functions.
4685 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4686 text properties. Treat "string fence" syntax like string syntax.
4687
4688 * progmodes/sh-script.el (sh-use-smie): Change default.
4689 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4690 (sh-var-value): Simplify by CSE.
4691 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4692 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4693 is used.
4694 (sh-guess-basic-offset): Use cl-incf.
4695 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4696
4697 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4698
4699 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4700 (bug#15699).
4701
4702 2013-10-24 Glenn Morris <rgm@gnu.org>
4703
4704 * Makefile.in (abs_top_srcdir): Remove.
4705 (update-subdirs): Use relative path to update-subdirs.
4706
4707 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4708
4709 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4710 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4711 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4712 Call unmsys--file-name before expand-file-name, not after it.
4713
4714 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4715
4716 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4717 (ert-test-skipped): New error.
4718 (ert-skip, ert-stats-skipped): New defuns.
4719 (ert--skip-unless): New macro.
4720 (ert-test-skipped): New struct.
4721 (ert--run-test-debugger, ert-test-result-type-p)
4722 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4723 (ert--stats-set-test-and-result, ert-char-for-test-result)
4724 (ert-string-for-test-result, ert-run-tests-batch)
4725 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4726 Handle skipped tests. (Bug#9803)
4727
4728 2013-10-24 Glenn Morris <rgm@gnu.org>
4729
4730 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4731
4732 * Makefile.in (abs_top_srcdir): New, set by configure.
4733 (update-subdirs): Correct build-aux location.
4734
4735 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4736
4737 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4738 value, whether we could auto-deduce `backend', or not.
4739
4740 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4741 with parameters" example. Simplify the "is it block or is it
4742 hash" check, but also make it more thorough.
4743
4744 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4745
4746 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4747
4748 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4751 { if it is hanging.
4752
4753 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4754 :before ";".
4755
4756 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4757
4758 * progmodes/compile.el (compilation-directory-matcher)
4759 (compilation-page-delimiter):
4760 Support GNU Make-4.0 directory quoting. (Bug#15678)
4761
4762 2013-10-23 Leo Liu <sdl.web@gmail.com>
4763
4764 * ido.el (ido-tidy): Handle read-only text.
4765
4766 2013-10-23 Glenn Morris <rgm@gnu.org>
4767
4768 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4769 (emacs, compile, compile-always):
4770 Quote entities that might contain whitespace.
4771 (custom-deps, finder-data, autoloads): Use abs_lisp.
4772 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4773 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4774 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4775
4776 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4777
4778 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4779 Use `following-char'.
4780
4781 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4784 * progmodes/ruby-mode.el (ruby-smie-rules):
4785 Remove corresponding workaround. Fix indentation rule of ";" so it
4786 also applies when ";" is the parent.
4787
4788 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4789
4790 * frame.el (display-screens, display-pixel-height)
4791 (display-pixel-width, display-mm-width, display-backing-store)
4792 (display-save-under, display-planes, display-color-cells)
4793 (display-visual-class, display-monitor-attributes-list):
4794 Mention the optional ‘display’ argument in doc strings.
4795
4796 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4797
4798 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4799 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4800
4801 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4804 TODO. Add "." after " @ ".
4805 (ruby-smie--at-dot-call): New function. Checks if point at method
4806 call with explicit target.
4807 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4808 to the method name tokens when it precedes them.
4809 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4810 (ruby-smie-rules): Add rule for indentation before and after "."
4811 token.
4812
4813 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * textmodes/remember.el (remember-diary-extract-entries):
4816 Avoid add-to-list.
4817
4818 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4819 an instruction.
4820
4821 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4822
4823 * progmodes/ruby-mode.el (ruby-smie-grammar):
4824 Add (almost) all infix operators.
4825 (ruby-smie--implicit-semi-p): Add new operator chars.
4826
4827 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4828 `smie-down-list'.
4829 (ruby-smie--args-separator-p): Check that there's no newline
4830 between method call and its arguments.
4831
4832 2013-10-20 Alan Mackenzie <acm@muc.de>
4833
4834 Allow comma separated lists after Java "implements".
4835
4836 * progmodes/cc-engine.el (c-backward-over-enum-header):
4837 Parse commas.
4838 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4839 from a "disallowed" list in enum fontification.
4840
4841 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4842
4843 * startup.el (default-frame-background-mode): Remove unused defvar.
4844
4845 * progmodes/verilog-mode.el (verilog-mode): Don't set
4846 comment-indent-function globally.
4847
4848 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4849
4850 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4851 Move Info menu item creation to ns-win.el.
4852
4853 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4854 in menu bar.
4855
4856 * menu-bar.el: Move GNUstep specific menus...
4857
4858 * term/ns-win.el (ns-initialize-window-system): ... to here.
4859
4860 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * simple.el (newline): Only run post-self-insert-hook when
4863 called interactively.
4864
4865 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4866
4867 * icomplete.el (icomplete-with-completion-tables): Add :version.
4868
4869 2013-10-19 Alan Mackenzie <acm@muc.de>
4870
4871 Fix fontification bugs with constructors and const.
4872
4873 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4874 CASE 2) Remove the check for the absence of a suffix construct
4875 after a function declaration with only types (no identifiers) in
4876 the parentheses. Also, accept a function declaration with just a
4877 type inside the parentheses, if this type can be positively
4878 recognised as such, or if a prefix keyword like "explicit" nails
4879 down the construct as a declaration.
4880
4881 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4882
4883 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4884 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4885 the problem whereby selecting a menu item that leads to a
4886 minibuffer prompt moves the cursor out of the minibuffer window,
4887 making it hard to type at the prompt. Suggested by Stefan Monnier
4888 <monnier@iro.umontreal.ca>.
4889
4890 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4891
4892 * menu-bar.el: Don't make Services menu.
4893
4894 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4895
4896 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4897 (ffap-alist): Use ffap-c++-mode for c++-mode.
4898 (ffap-c++-path): New variable.
4899 (ffap-c++-mode): New function.
4900
4901 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4902
4903 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4904
4905 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4906
4907 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4908 introduced on 2013-09-08, which results in an infinite loop
4909 requesting a password.
4910
4911 2013-10-18 Glenn Morris <rgm@gnu.org>
4912
4913 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4914
4915 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4916
4917 Sync with upstream verilog-mode revision 1a6ecec7.
4918 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4919 (verilog-mode-release-date): Remove.
4920 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4921 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4922 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4923 (verilog-auto-tieoff-ignore-regexp)
4924 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4925 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4926 (verilog-signals-with, verilog-dir-cache-preserving)
4927 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4928 Doc fixes.
4929 (verilog-case-fold): New option, to control case folding in
4930 regexp searches, bug597.
4931 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4932 (verilog-string-match-fold, verilog-in-paren-count)
4933 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4934 (verilog-at-close-struct-p): New functions.
4935 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4936 (verilog-forward-sexp, verilog-set-auto-endcomments)
4937 (verilog-leap-to-case-head): Handle "unique0" case.
4938 (verilog-in-constraint-re): New constant.
4939 (verilog-keywords, verilog-type-font-keywords):
4940 Add some SystemVerilog 1800-2012 keywords.
4941 (verilog-label-be): Remove unimplemented argument, bug669.
4942 (verilog-batch-execute-func): When batch expanding clear
4943 create-lockfiles to prevent spurious user locks when a file ends
4944 up not changing.
4945 (verilog-calculate-indent, verilog-calc-1)
4946 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4947 (verilog-do-indent): Fix indentation of nested constraints
4948 and structures.
4949 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4950 (verilog-auto-inst-param): Use verilog-string-match-fold.
4951 (verilog-read-inst-module-matcher):
4952 Fix AUTOINST on gate primitives with #1.
4953 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4954 Reads all user-defined typed variables.
4955 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4956 (verilog-signals-matching-regexp)
4957 (verilog-signals-not-matching-regexp, verilog-auto):
4958 Respect verilog-case-fold.
4959 (verilog-diff-report): Fix line count.
4960 (verilog-auto-assign-modport): Remove unused local `modi'.
4961 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4962 better handle multidimensional arrays.
4963 Fix packed array ports misadding bit index in AUTOINST, bug637.
4964 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4965 to not double-declare existing outputs and inputs, respectively.
4966 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4967 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4968 (verilog-sk-uvm-component): New skeleton.
4969 (verilog-submit-bug-report): Add verilog-case-fold,
4970 remove verilog-mode-release-date.
4971
4972 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4973
4974 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4975 as before.
4976
4977 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4978
4979 * textmodes/remember.el (remember): Set buffer-offer-save in
4980 remember buffers (bug#13566).
4981
4982 2013-10-18 Daniel Colascione <dancol@dancol.org>
4983
4984 When evaluating forms in ielm, direct standard output to ielm
4985 buffer. Add new ielm-return-for-effect command. Remove trailing
4986 whitespace throughout.
4987
4988 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4989 (ielm-return-for-effect): New command.
4990 (ielm-send-input): Accept optional `for-effect' parameter.
4991 (ielm-eval-input): Accept optional `for-effect' parameter.
4992 Bind `standard-output' to stream we create using
4993 `ielm-standard-output-impl'. Suppress printing result when
4994 `for-effect'.
4995 (ielm-standard-output-impl): New function.
4996 (inferior-emacs-lisp-mode): Explain new features in documentation.
4997
4998 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4999
5000 Code cleanup.
5001
5002 * net/tramp.el (tramp-debug-message): Do not check for connection
5003 buffer.
5004 (tramp-message): Use "vector" connection property.
5005
5006 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5007 (tramp-equal-remote, tramp-eshell-directory-change)
5008 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5009 (tramp-adb-handle-rename-file)
5010 * net/tramp-cmds.el (tramp-list-remote-buffers)
5011 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5012 * net/tramp-compat.el (tramp-compat-process-running-p)
5013 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5014 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5015 (tramp-gvfs-handle-rename-file)
5016 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5017 (tramp-set-file-uid-gid)
5018 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5019 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5020 of `file-remote-p'.
5021
5022 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5023 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5024 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5025 (tramp-gw-open-network-stream): Suppress unrelated traces.
5026
5027 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5028 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5029 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5030 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5031 connection property.
5032
5033 * net/tramp-cache.el (top): Suppress traces when reading
5034 persistency file.
5035
5036 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5037 Refactor common code. Improve debug message.
5038 (tramp-maybe-open-connection)
5039 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5040 connection buffer too early.
5041
5042 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5043 from `tramp-smb-actions-with-acl'.
5044 (tramp-smb-actions-set-acl): New defconst.
5045 (tramp-smb-handle-copy-directory)
5046 (tramp-smb-action-get-acl): New defun, renamed from
5047 `tramp-smb-action-with-acl'.
5048 (tramp-smb-action-set-acl): New defun.
5049 (tramp-smb-handle-set-file-acl): Rewrite.
5050
5051 2013-10-17 Glenn Morris <rgm@gnu.org>
5052
5053 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5054
5055 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 * skeleton.el (skeleton-newline): Remove.
5058 (skeleton-internal-1): Use (insert "\n") instead.
5059
5060 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5061 let-bindings.
5062
5063 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5064 forward-sexp-function while we redo its job (bug#15613).
5065
5066 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5067
5068 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5069 represented by lists.
5070
5071 2013-10-16 Glenn Morris <rgm@gnu.org>
5072
5073 * tmm.el (tmm--history): New dynamic variable.
5074 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5075
5076 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5077
5078 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5079 (tramp-smb-errors): Add error messages.
5080 (tramp-smb-actions-with-acl): New defconst.
5081 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5082 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5083 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5084 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5085 (tramp-smb-get-stat-capability): Fix tests.
5086
5087 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5088
5089 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5090 (bug#15580).
5091
5092 2013-10-16 Glenn Morris <rgm@gnu.org>
5093
5094 * ansi-color.el (ansi-color-drop-regexp):
5095 Add 1J, 1K, 2K. (Bug#15617)
5096
5097 * files.el (hack-local-variables--warned-lexical): New.
5098 (hack-local-variables):
5099 Warn about misplaced lexical-binding. (Bug#15616)
5100
5101 * net/eww.el (eww-render): Always set eww-current-url,
5102 and update header line. (Bug#15622)
5103 (eww-display-html): ... Rather than just doing it here.
5104
5105 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5106
5107 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5108 menu navigations commands.
5109
5110 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5111
5112 * progmodes/subword.el (subword-capitalize): Be careful when
5113 the search for [[:alpha:]] fails (bug#15580).
5114
5115 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5116
5117 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5118 to commands that scroll the menu.
5119
5120 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5121
5122 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5123 Handle methods ending with `?' and `!'.
5124
5125 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5126
5127 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5128 `japanese-cp932' to `cp932' to fix the problem where saving a
5129 source file written in Shift_JIS twice would end up having
5130 `coding: japanese-cp932' which Ruby could not recognize.
5131 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5132 in `ruby-encoding-map'.
5133 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5134 doesn't need to be explicitly declared in magic comment.
5135 (ruby-encoding-map): Add type declaration for better customize UI.
5136
5137 2013-10-13 Glenn Morris <rgm@gnu.org>
5138
5139 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5140 Occur buffers are read-only. http://bugs.debian.org/720775
5141
5142 * emacs-lisp/authors.el (authors-fixed-entries):
5143 Comment out old alpha stuff.
5144
5145 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5146
5147 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5148 to `after-save-hook' instead of `before-save-hook'.
5149 (ruby-mode-set-encoding): Use the value of coding system used to
5150 write the file. Call `basic-save-buffer-1' after modifying the
5151 buffer.
5152
5153 2013-10-13 Alan Mackenzie <acm@muc.de>
5154
5155 Fix indentation/fontification of Java enum with
5156 "implements"/generic.
5157
5158 * progmodes/cc-engine.el (c-backward-over-enum-header):
5159 Extracted from the three other places and enhanced to handle generics.
5160 (c-inside-bracelist-p): Uses new function above.
5161 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5162 function above.
5163 (c-font-lock-enum-tail): Uses new function above.
5164
5165 2013-10-13 Kenichi Handa <handa@gnu.org>
5166
5167 * international/mule-cmds.el (select-safe-coding-system): Remove a
5168 superfluous condition in chekcing whether a coding system is safe
5169 or not.
5170
5171 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5172
5173 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5174
5175 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5176
5177 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5178
5179 2013-10-13 Glenn Morris <rgm@gnu.org>
5180
5181 * menu-bar.el (menu-bar-update-buffers):
5182 Unify Buffers menu prompt string. (Bug#15576)
5183
5184 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5185
5186 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5187 Add some entries.
5188 (authors-fixed-entries): Use accented form of name.
5189
5190 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5193 method calls (bug#15594).
5194 (ruby-smie--args-separator-p): New function.
5195 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5196 recognize paren-free method calls.
5197
5198 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5199 internals of universal-argument.
5200
5201 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5202
5203 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5204 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5205 dropped menu on second mouse click on the menu bar.
5206
5207 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5210 (explicit-shell-file-name): Declare.
5211 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5212 (sh-completion-at-point-function): New function.
5213 (sh-mode): Use it.
5214 (sh-smie--keyword-p): Remove unused argument.
5215 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5216 vars.
5217 (sh-set-shell): Always setup SMIE, even if we use the
5218 old indentation code.
5219
5220 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5221
5222 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5223 cases of ? and =.
5224 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5225 predicate would return nil are almost non-existent.
5226 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5227
5228 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5229 cache also after commands that modify the buffer but don't move
5230 point.
5231
5232 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * env.el (substitute-env-in-file-name): New function.
5235 (substitute-env-vars): Extend the meaning of the optional arg.
5236
5237 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5238
5239 * term/w32-win.el (dynamic-library-alist): Define separate lists
5240 of GIF DLLs for versions before and after 5.0.0 of giflib.
5241 (Bug#15531)
5242
5243 2013-10-10 João Távora <joaotavora@gmail.com>
5244
5245 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5246 not locked, use last revision and current source as
5247 defaults. (Bug#15569)
5248
5249 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5250
5251 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5252 menu-bar is hidden.
5253
5254 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5255
5256 * window.el (pop-to-buffer-same-window): Fix doc-string.
5257 (Bug#15492)
5258
5259 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5262
5263 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5264
5265 * calendar/icalendar.el (icalendar-import-file):
5266 Fix interactive spec. (Bug#15482)
5267
5268 2013-10-10 Glenn Morris <rgm@gnu.org>
5269
5270 * desktop.el (desktop-save): Default to saving in .emacs.d,
5271 since PWD is no longer in desktop-path by default. (Bug#15319)
5272
5273 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5274 now that text mode has a menu with the same entry.
5275 (menu-bar-text-mode-auto-fill): Remove now unused func.
5276 * textmodes/text-mode.el (text-mode-map):
5277 Use auto-fill help text from menu-bar.el.
5278
5279 2013-10-10 John Anthony <john@jo.hnanthony.com>
5280
5281 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5282
5283 2013-10-09 Juri Linkov <juri@jurta.org>
5284
5285 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5286 instead of this-command-keys. Add universal-argument-more and
5287 universal-argument-minus to the list of prefix commands. (Bug#15568)
5288
5289 2013-10-09 Glenn Morris <rgm@gnu.org>
5290
5291 * vc/vc-svn.el (vc-svn-create-repo):
5292 Expand paths in file://... url. (Bug#15446)
5293
5294 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5295 Add some entries.
5296 (authors): Remove unused local variables.
5297
5298 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * profiler.el: Create a more coherent calltree from partial backtraces.
5301 (profiler-format): Hide the tail with `invisible' so that C-s can still
5302 find the hidden elements.
5303 (profiler-calltree-depth): Don't recurse so enthusiastically.
5304 (profiler-function-equal): New hash-table-test.
5305 (profiler-calltree-build-unified): New function.
5306 (profiler-calltree-build): Use it.
5307 (profiler-report-make-name-part): Indent the calltree less.
5308 (profiler-report-mode): Add visibility specs for profiler-format.
5309 (profiler-report-expand-entry, profiler-report-toggle-entry):
5310 Expand the whole subtree when provided with a prefix arg.
5311
5312 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5315 iuwu-mod token.
5316 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5317 hanging iuwu-mod token.
5318 (ruby-smie--forward-token): Do not include a dot after a token in
5319 that token.
5320 (ruby-smie--backward-token): Likewise.
5321
5322 2013-10-08 Juri Linkov <juri@jurta.org>
5323
5324 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5325 to isearch-other-control-char.
5326 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5327 and isearch-post-command-hook to post-command-hook.
5328 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5329 and isearch-post-command-hook from post-command-hook.
5330 (isearch-unread-key-sequence)
5331 (isearch-reread-key-sequence-naturally)
5332 (isearch-lookup-scroll-key, isearch-other-control-char)
5333 (isearch-other-meta-char): Remove functions.
5334 (isearch-pre-command-hook, isearch-post-command-hook):
5335 New functions based on isearch-other-meta-char rewritten
5336 relying on the new behavior of overriding-terminal-local-map
5337 that does not replace the local keymaps any more. (Bug#15200)
5338
5339 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5340
5341 Support menus on text-mode terminals.
5342 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5343 functionality.
5344
5345 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5346
5347 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5348 Move here from mouse.el.
5349 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5350 and arrow keys.
5351 (tty-menu-navigation-map): New map for TTY menu navigation.
5352
5353 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5354
5355 * frame.el (display-mouse-p): Report text-mode mouse as available
5356 on w32.
5357 (display-popup-menus-p): Report availability if mouse is
5358 available; don't condition on window-system.
5359
5360 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5361 (tty-menu-selected-face): New faces.
5362
5363 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5366 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5367 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5368 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5369 New constants.
5370 (lisp-mode-variables): New `elisp' argument.
5371 (emacs-lisp-mode): Use it.
5372 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5373 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5374
5375 * indent.el: Use lexical-binding.
5376 (indent-region): Add progress reporter.
5377 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5378 last step.
5379 (indent--next-tab-stop): New function to implement this behavior.
5380 (tab-to-tab-stop, move-to-tab-stop): Use it.
5381
5382 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5383
5384 * indent.el (indent-rigidly--current-indentation): New function.
5385 (indent-rigidly-map): New var.
5386 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5387
5388 2013-10-08 Bastien Guerry <bzg@gnu.org>
5389
5390 * register.el (insert-register): Fix 2013-10-07 change.
5391
5392 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * progmodes/perl-mode.el: Use lexical-binding.
5395 Remove redundant :group args.
5396 (perl-nochange): Change default to be closer to other major modes's
5397 standard behavior.
5398 (perl-indent-line): Don't consider text on current line as a
5399 valid beginning of function from which to indent.
5400
5401 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5402 with more than one argument (bug#15538).
5403
5404 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5405
5406 * vc/pcvs.el: Use lexical-binding.
5407 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5408 environment of `eval'.
5409 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5410 than a list of expressions. Adjust callers.
5411 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5412
5413 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5414
5415 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5416 case of the dot in a chained method call being on the following line.
5417
5418 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * electric.el (electric-indent-inhibit): New var.
5421 (electric-indent-post-self-insert-function): Use it.
5422 * progmodes/python.el (python-mode): Set it.
5423
5424 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5425 open braces.
5426
5427 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5428
5429 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5430 (css-mode): Use electric-indent-chars.
5431
5432 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5433 (font-lock-beg, font-lock-end): Move before first use.
5434 (nxml-mode): Use syntax-propertize-function.
5435 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5436 (nxml-extend-after-change-region): Remove.
5437 * nxml/xmltok.el: Use lexical-binding.
5438 (xmltok-save): Use `declare'.
5439 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5440 * nxml/nxml-util.el: Use lexical-binding.
5441 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5442 Use `declare'.
5443 * nxml/nxml-ns.el: Use lexical-binding.
5444 (nxml-ns-save): Use `declare'.
5445 (nxml-ns-prefixes-for): Avoid add-to-list.
5446 * nxml/rng-match.el: Use lexical-binding.
5447 (rng--ipattern): Use cl-defstruct.
5448 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5449 (rng-cons-group-after, rng-subst-group-after)
5450 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5451 Use closures instead of `(lambda...).
5452
5453 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5454
5455 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5456 of BEG and END.
5457
5458 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5459 Use `tramp-handle-insert-file-contents'.
5460 (tramp-gvfs-handle-insert-file-contents): Remove function.
5461
5462 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5463 Use `save-restriction' in order to keep markers.
5464
5465 * net/trampver.el: Update release number.
5466
5467 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * progmodes/compile.el (compilation-parse-errors):
5470 Use compilation--put-prop.
5471 (compilation--ensure-parse): Check compilation-multiline.
5472
5473 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5474
5475 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5476 lexical-binding.
5477
5478 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5479
5480 * progmodes/ruby-mode.el: Fix recently added tests.
5481 (ruby-smie-grammar): Add - and +.
5482 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5483 (ruby-smie--backward-id): New functions.
5484 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5485 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5486 any more.
5487
5488 2013-10-07 Leo Liu <sdl.web@gmail.com>
5489
5490 * register.el (register-preview-delay)
5491 (register-preview-functions): New variables.
5492 (register-read-with-preview, register-preview)
5493 (register-describe-oneline): New functions.
5494 (point-to-register, window-configuration-to-register)
5495 (frame-configuration-to-register, jump-to-register)
5496 (number-to-register, view-register, insert-register)
5497 (copy-to-register, append-to-register, prepend-to-register)
5498 (copy-rectangle-to-register): Use register-read-with-preview to
5499 read register. (Bug#15525)
5500
5501 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5502
5503 * net/network-stream.el (network-stream-open-starttls): Don't add
5504 --insecure if it's already present, because that gnutls-cli
5505 rejects getting that parameter twice.
5506
5507 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5508
5509 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5510 keyword, too.
5511
5512 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5513
5514 * newcomment.el (comment-use-global-state): Change default value
5515 to t, mark obsolete (Bug#15251).
5516 (comment-beginning): In addition to `comment-to-syntax', check the
5517 value of `comment-use-global-state'.
5518
5519 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5522 (ruby-comment-column): Follow the global default, by default.
5523 (ruby-smie-grammar): Add assignment syntax.
5524 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5525 open-paren, a comma, or a \.
5526 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5527 and line continuations.
5528 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5529 followed by implicit semi-colons. Add rule for string concatenation
5530 and for indentation at BOB.
5531 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5532
5533 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5534 calling next-sexp, since next-token may have skipped chars which
5535 next-sexp doesn't know should be skipped!
5536
5537 2013-10-05 Leo Liu <sdl.web@gmail.com>
5538
5539 * progmodes/octave.el (octave-send-region):
5540 Call compilation-forget-errors.
5541
5542 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5543
5544 * vc/vc-svn.el (vc-svn-find-admin-dir):
5545 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5546 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5547 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5548 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5549
5550 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5553
5554 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * subr.el (read-passwd): Hide chars even when called within a context
5557 where after-change-functions is disabled (bug#15501).
5558 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5559 until we removed ourself from overriding-terminal-local-map.
5560
5561 2013-10-04 Leo Liu <sdl.web@gmail.com>
5562
5563 * progmodes/octave.el (inferior-octave-mode):
5564 Call compilation-forget-errors.
5565
5566 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5567
5568 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5569
5570 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5571
5572 * net/secrets.el (secrets-create-collection): Add optional
5573 argument ALIAS. Use proper Label keyword. Append ALIAS as
5574 dbus-call-method argument. (Bug#15516)
5575
5576 2013-10-04 Leo Liu <sdl.web@gmail.com>
5577
5578 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5579 (inferior-octave-compilation-font-lock-keywords): New variables.
5580 (compilation-error-regexp-alist)
5581 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5582 (inferior-octave-mode): Use compilation-shell-minor-mode.
5583
5584 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5585
5586 * minibuffer.el (completion--replace): Be careful that `end' might be
5587 a marker.
5588
5589 2013-10-03 Daiki Ueno <ueno@gnu.org>
5590
5591 Add support for package signature checking.
5592 * emacs-lisp/package.el (url-http-file-exists-p)
5593 (epg-make-context, epg-context-set-home-directory)
5594 (epg-verify-string, epg-context-result-for)
5595 (epg-signature-status, epg-signature-to-string)
5596 (epg-check-configuration, epg-configuration)
5597 (epg-import-keys-from-file): Declare.
5598 (package-check-signature): New user option.
5599 (package-unsigned-archives): New user option.
5600 (package-desc): Add `signed' field.
5601 (package-load-descriptor): Set `signed' field if .signed file exists.
5602 (package--archive-file-exists-p): New function.
5603 (package--check-signature): New function.
5604 (package-install-from-archive): Check package signature.
5605 (package--download-one-archive): Check archive signature.
5606 (package-delete): Remove .signed file.
5607 (package-import-keyring): New command.
5608 (package-refresh-contents): Import default keyring.
5609 (package-desc-status): Add "unsigned" status.
5610 (describe-package-1, package-menu--print-info)
5611 (package-menu-mark-delete, package-menu--find-upgrades)
5612 (package-menu--status-predicate): Support "unsigned" status.
5613
5614 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5617 the new compilation scheme using the new byte-codes.
5618
5619 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5620 (byte-pophandler): New byte codes.
5621 (byte-goto-ops): Adjust accordingly.
5622 (byte-compile--use-old-handlers): New var.
5623 (byte-compile-catch): Use new byte codes depending on
5624 byte-compile--use-old-handlers.
5625 (byte-compile-condition-case--old): Rename from
5626 byte-compile-condition-case.
5627 (byte-compile-condition-case--new): New function.
5628 (byte-compile-condition-case): New function that dispatches depending
5629 on byte-compile--use-old-handlers.
5630 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5631 when we can.
5632
5633 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5634 Optimize under `condition-case' and `catch' if
5635 byte-compile--use-old-handlers is nil.
5636 (disassemble-offset): Handle new bytecodes.
5637
5638 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * subr.el (error): Use `declare'.
5641 (decode-char, encode-char): Use advertised-calling-convention instead
5642 of the docstring to discourage use of the `restriction' arg.
5643
5644 2013-10-03 Daiki Ueno <ueno@gnu.org>
5645
5646 * epg.el (epg-verify-file): Add a comment saying that it does not
5647 notify verification error as a return value nor a signal.
5648 (epg-verify-string): Ditto.
5649
5650 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5651
5652 * progmodes/compile.el (compilation-start): Try globbing the arg to
5653 `cd' (bug#15417).
5654
5655 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5656
5657 Sync with Tramp 2.2.8.
5658
5659 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5660 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5661 * net/trampver.el: Update release number.
5662
5663 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5664
5665 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5666 and default-process-coding-system for darwin only.
5667
5668 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5671
5672 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5673
5674 * vc/vc-git.el (vc-git-grep): Disable pager.
5675
5676 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5677
5678 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5679 Use :url instead of :homepage, as per
5680 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5681
5682 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5683 non-nil, use `syntax-ppss' (Bug#15251).
5684
5685 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5686
5687 * progmodes/octave.el (inferior-octave-startup-file):
5688 Prefer ~/.emacs.d/init_octave.m.
5689
5690 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5691
5692 * emacs-lisp/package.el (package-desc-from-define):
5693 Accept additional arguments as plist, convert them to an alist and store
5694 them in the `extras' slot.
5695 (package-generate-description-file): Convert extras alist back to
5696 plist and append to the `define-package' form arguments.
5697 (package--alist-to-plist): New function.
5698 (package--ac-desc): Add `extras' slot.
5699 (package--add-to-archive-contents): Check if the archive-contents
5700 vector is long enough, and if it is, pass its `extras' slot value
5701 to `package-desc-create'.
5702 (package-buffer-info): Call `lm-homepage', pass the returned value
5703 to `package-desc-from-define'.
5704 (describe-package-1): Render the homepage button (Bug#13291).
5705
5706 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5707 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5708
5709 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5710
5711 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5712 and default-process-coding-system to utf-8-unix (Bug#15402).
5713
5714 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5715
5716 * subr.el (looking-back): Do not recommend using looking-back.
5717
5718 2013-09-28 Alan Mackenzie <acm@muc.de>
5719
5720 Fix indentation/fontification of Java enum with "implements".
5721
5722 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5723 regexp which matches "implements", etc., in Java.
5724 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5725 specifier clauses coming after "enum".
5726 * progmodes/cc-fonts.el (c-font-lock-declarations)
5727 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5728 after "enum".
5729
5730 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5731
5732 * faces.el (region): Change ns_selection_color to
5733 ns_selection_fg_color, add ns_selection_bg_color.
5734
5735 2013-09-28 Leo Liu <sdl.web@gmail.com>
5736
5737 * progmodes/octave.el (inferior-octave-completion-table)
5738 (inferior-octave-completion-at-point): Minor tweaks.
5739
5740 * textmodes/ispell.el (ispell-lookup-words): Rename from
5741 lookup-words. (Bug#15460)
5742 (lookup-words): Obsolete.
5743 (ispell-complete-word, ispell-command-loop): All uses changed.
5744
5745 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5746
5747 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5748 (octave-mode-menu): Add octave-send-buffer.
5749 (octave-send-buffer): New function.
5750
5751 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5752
5753 * progmodes/octave.el (octave-mode-map): Add key binding for
5754 octave-lookfor.
5755 (octave-mode-menu): Add octave-lookfor.
5756 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5757 octave-lookfor.
5758 (octave-lookfor): New function.
5759
5760 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5763 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5764 its convention.
5765 (cl--loop-set-iterator-function): New function.
5766 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5767 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5768 Bind `it' with `let' instead of substituting it with `cl-subst'.
5769 (cl--unused-var-p): New function.
5770 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5771 Eliminate some unused variable warnings (bug#15326).
5772
5773 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5774
5775 * doc-view.el (doc-view-scale-reset): Rename from
5776 `doc-view-reset-zoom-level'.
5777 (doc-view-scale-adjust): New command.
5778 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5779 `doc-view-scale-adjust'.
5780
5781 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5782
5783 * doc-view.el (doc-view-reset-zoom-level): New command.
5784 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5785 zoom commands (bug#15466).
5786
5787 2013-09-26 Kenichi Handa <handa@gnu.org>
5788
5789 * international/quail.el (quail-help): Make it not a command.
5790
5791 2013-09-26 Leo Liu <sdl.web@gmail.com>
5792
5793 * minibuffer.el (completion-all-sorted-completions): Make args
5794 optional as they are.
5795
5796 2013-09-25 Daniel Colascione <dancol@dancol.org>
5797
5798 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5799 specs are and that they're not evaluated.
5800
5801 2013-09-24 Sam Steingold <sds@gnu.org>
5802
5803 * midnight.el (clean-buffer-list-kill-regexps)
5804 (clean-buffer-list-kill-buffer-names): Update for the new Man
5805 buffer naming which includes the object name.
5806
5807 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5810 (eshell-parse-command, eshell-parse-pipeline): Use it since
5811 eshell-separate-commands requires a dynamic scoped var.
5812 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5813
5814 2013-09-23 Leo Liu <sdl.web@gmail.com>
5815
5816 * autoinsert.el (auto-insert-alist): Make the value of
5817 lexical-binding match its file setting.
5818
5819 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5820
5821 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5822
5823 * autoarg.el (autoarg-kp-digit-argument):
5824 * electric.el (Electric-command-loop):
5825 * kmacro.el (kmacro-step-edit-insert):
5826 Do not set universal-argument-num-events.
5827
5828 2013-09-22 Leo Liu <sdl.web@gmail.com>
5829
5830 * files.el (interpreter-mode-alist): Add octave.
5831
5832 2013-09-21 Alan Mackenzie <acm@muc.de>
5833
5834 C++: fontify identifier in declaration following "public:" correctly.
5835 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5836 to match "public", etc.
5837 (c-decl-prefix-re): Add ":" into the C++ value.
5838 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5839 bit. Add a check for a ":" preceded by "public", etc.
5840
5841 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5842
5843 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5844 recognized by GDB 7.5 and later.
5845
5846 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5847
5848 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5849
5850 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * subr.el (internal--call-interactively): New const.
5853 (called-interactively-p): Use it (bug#3984).
5854
5855 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5856
5857 * vc/pcvs.el (cvs-mode-ignore):
5858 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5859 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5860
5861 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5864 (eshell-ls-orig-insert-directory): Remove.
5865 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5866 (eshell-ls-use-in-dired): Use advice-add/remove.
5867 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5868 Add `orig-fun' arg for use in :around advice.
5869 Make it check (redundantly) eshell-ls-use-in-dired.
5870
5871 2013-09-19 Glenn Morris <rgm@gnu.org>
5872
5873 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5874
5875 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5876
5877 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5878
5879 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5882 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5883 (tramp-get-remote-python): New defuns.
5884 (tramp-get-remote-uid-with-perl)
5885 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5886 contributed by yary <not.com@gmail.com> (tiny change).
5887 (tramp-get-remote-uid-with-python)
5888 (tramp-get-remote-gid-with-python): New defuns. Python code
5889 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5890 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5891
5892 2013-09-19 Glenn Morris <rgm@gnu.org>
5893
5894 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5895
5896 * eshell/em-unix.el (eshell-remove-entries):
5897 Rename argument to avoid name-clash with global `top-level'.
5898
5899 * eshell/esh-proc.el (eshell-kill-process-function):
5900 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5901 (eshell-reset-after-proc): Remove unused arg `proc'.
5902
5903 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5904 (directory-files-and-attributes): Mark unused arg.
5905
5906 * eshell/em-unix.el (eshell-remove-entries):
5907 Remove unused arg `path'. Update callers.
5908
5909 * eshell/em-hist.el (eshell-hist-parse-arguments):
5910 Remove unused arg `silent'. Update callers.
5911
5912 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5913 Fix (f)boundp mix-up.
5914
5915 * eshell/em-smart.el (eshell-smart-scroll-window)
5916 (eshell-disable-after-change):
5917 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5918
5919 2013-09-18 Alan Mackenzie <acm@muc.de>
5920
5921 Fix fontification of type when followed by "const".
5922 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5923 "known" types from fontification.
5924
5925 2013-09-18 Glenn Morris <rgm@gnu.org>
5926
5927 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5928 (chart-face-list): Drop Emacsen without display-color-p.
5929
5930 * net/eww.el (libxml-parse-html-region): Declare.
5931 (eww-display-html): Explicit error if no libxml2 support.
5932
5933 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5934
5935 * image.el (image-type-from-buffer, image-multi-frame-p):
5936 Remove --without-x warning/error.
5937
5938 * mouse.el (mouse-yank-primary):
5939 * term.el (term-mouse-paste):
5940 Reorder to silence --without-x compilation.
5941
5942 * mpc.el (doc-view-mode): Silence --without-x compilation.
5943
5944 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5945 Silence --without-x compilation.
5946
5947 * progmodes/gud.el (gud-find-file, gud-mode):
5948 Silence --without-x compilation.
5949 (tooltip-mode): Declare.
5950
5951 * wdired.el (dired-backup-overwrite): Remove declaration.
5952 (wdired-mode-map): Add doc string.
5953
5954 * custom.el (x-get-resource): Declare.
5955
5956 * eshell/em-glob.el (ange-cache):
5957 * eshell/em-unix.el (ange-cache): Declare.
5958
5959 * faces.el (x-display-list, x-open-connection, x-get-resource):
5960 Declare.
5961
5962 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5963 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5964 Declare.
5965
5966 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5967
5968 * net/gnutls.el (gnutls-log-level): Declare.
5969
5970 * net/shr.el (image-size, image-animate): Declare.
5971
5972 * simple.el (font-info): Declare.
5973
5974 * subr.el (x-popup-dialog): Declare.
5975
5976 * term/common-win.el (x-select-enable-primary)
5977 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5978 Declare.
5979
5980 * term/ns-win.el (x-handle-args): Declare.
5981
5982 * term/x-win.el (x-select-enable-clipboard): Declare.
5983
5984 * term/w32-win.el (create-default-fontset): Declare.
5985
5986 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5987 Declare.
5988
5989 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5990 (fit-frame-to-buffer): Explicit error if --without-x.
5991 (mouse-autoselect-window-select): Silence compiler.
5992
5993 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5994
5995 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5996 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5997 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5998 * eshell/esh-util.el (eshell-sublist):
5999 Remove unused local variables.
6000
6001 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6002
6003 * textmodes/two-column.el: Make 2C-split work for --without-x.
6004 (scroll-bar-columns): Autoload.
6005 (top-level): Require fringe when compiling.
6006
6007 2013-09-18 Leo Liu <sdl.web@gmail.com>
6008
6009 * subr.el (add-hook): Robustify to handle closure as well.
6010
6011 2013-09-17 Glenn Morris <rgm@gnu.org>
6012
6013 * simple.el (messages-buffer-mode-map): Unbind "g".
6014
6015 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * help-mode.el (help-mode-finish): Use derived-mode-p.
6018 Remove obsolete highlighting.
6019
6020 * play/life.el (life-mode): Use define-derived-mode. Derive from
6021 special-mode.
6022 (life): Let-bind inhibit-read-only.
6023 (life-setup): Avoid `setq'. Use `life-mode'.
6024
6025 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6026 which should not be needed any more.
6027 (package-menu-refresh, package-menu-describe-package): Use user-error.
6028
6029 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6030 (eshell-post-rewrite-command-hook): Make obsolete.
6031 (eshell-parse-command): Simplify.
6032 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6033 (eshell--cmd): Declare.
6034 (eshell-parse-pipeline): Remove unused var `final-p'.
6035 Pass a dynvar to eshell-post-rewrite-command-hook.
6036 Implement the new eshell-post-rewrite-command-function.
6037 (eshell-invoke-directly): Remove unused arg `input'.
6038 * eshell/esh-io.el (eshell-io-initialize):
6039 Use eshell-post-rewrite-command-function (bug#15399).
6040 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6041 adjust to new calling convention.
6042 (eshell-create-handles): Rename args to avoid clashing with dynvar
6043 `standard-output'.
6044
6045 2013-09-17 Glenn Morris <rgm@gnu.org>
6046
6047 * simple.el (messages-buffer-mode): New major mode.
6048 (messages-buffer): New function.
6049 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6050 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6051 (ert-run-test): Use `messages-buffer' function.
6052 (ert--force-message-log-buffer-truncation): Ignore read-only.
6053 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6054 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6055
6056 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6059
6060 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6061
6062 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * icomplete.el (icomplete-in-buffer): New var.
6065 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6066 vars and replace them with functions.
6067 (icomplete-minibuffer-setup): Adjust accordingly.
6068 (icomplete--completion-table, icomplete--completion-predicate)
6069 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6070 New functions.
6071 (icomplete-forward-completions, icomplete-backward-completions)
6072 (icomplete-simple-completing-p, icomplete-exhibit)
6073 (icomplete-completions): Use them.
6074 (icomplete--in-region-buffer): New var.
6075 (icomplete--in-region-setup): New function.
6076 (icomplete-mode): Use it.
6077
6078 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6079 (bug#15379).
6080 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6081 return args and options.
6082 (eshell-eval-using-options): Use the new return value of
6083 eshell--do-opts to set the options's vars in their scope.
6084 (eshell--set-option): Rename from eshell-set-option.
6085 Add arg `opt-vals'.
6086 (eshell--process-option): Rename from eshell-process-option.
6087 Add arg `opt-vals'.
6088 (eshell--process-args): Use an `opt-vals' alist to store the options's
6089 values during their processing and return them additionally to the
6090 remaining args.
6091
6092 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6093
6094 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6095 continuation character an operator, as far as indentation is
6096 concerned (Bug#15369).
6097
6098 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6099
6100 * window.el (window--state-put-2): Don't process buffer state
6101 when buffer doesn't exist any more (Bug#15382).
6102
6103 2013-09-15 Glenn Morris <rgm@gnu.org>
6104
6105 * eshell/em-unix.el (eshell/rm):
6106 Make -f ignore missing files. (Bug#15373)
6107
6108 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6109 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6110 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6111
6112 2013-09-14 Glenn Morris <rgm@gnu.org>
6113
6114 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6115
6116 2013-09-13 Glenn Morris <rgm@gnu.org>
6117
6118 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6119 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6120
6121 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6122
6123 * frame.el (x-focus-frame): Mark as declared in frame.c.
6124
6125 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * ls-lisp.el: Use advice-add.
6128 (original-insert-directory): Remove.
6129 (ls-lisp--insert-directory): Rename from insert-directory; add
6130 `orig-fun' argument.
6131 (insert-directory): Advise.
6132
6133 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6134
6135 * term.el (term-emulate-terminal): Decode the command string
6136 before passing it to term-command-hook. (Bug#15337)
6137
6138 2013-09-13 Glenn Morris <rgm@gnu.org>
6139
6140 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6141
6142 * eshell/esh-ext.el (eshell-search-path): Declare.
6143
6144 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6145 Otherwise an error occurs if eshell-dirs module not loaded.
6146
6147 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6148
6149 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6150
6151 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6152 `tramp-check-proper-host'. Check for a valid method name.
6153
6154 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6155 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6156 * net/tramp-sh.el (tramp-maybe-open-connection):
6157 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6158
6159 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6160 also for hash values.
6161
6162 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * term/ns-win.el (parameters): Don't declare as dynamic.
6165 (before-make-frame-hook): Don't add ineffective function.
6166
6167 * eshell/*.el: Use lexical-binding (bug#15231).
6168
6169 2013-09-12 Kenichi Handa <handa@gnu.org>
6170
6171 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6172
6173 2013-09-12 Glenn Morris <rgm@gnu.org>
6174
6175 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6176 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6177
6178 * subr.el (do-after-load-evaluation): Also give compiler warnings
6179 when obsolete files are used (except by obsolete files).
6180
6181 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6182 in the status output, assume `filename' is the first. (Bug#15322)
6183
6184 * vc/vc.el (vc-deduce-fileset): Doc fix.
6185
6186 * calc/calc-help.el (Info-goto-node):
6187 * progmodes/cperl-mode.el (Info-find-node):
6188 * vc/ediff.el (Info-goto-node): Update declarations.
6189
6190 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6191
6192 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6193 (vc-bzr-pull): Require vc-dispatcher.
6194 * vc/vc-git.el (vc-compilation-mode): Declare.
6195 (vc-git-pull): Require vc-dispatcher.
6196
6197 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6198
6199 * progmodes/octave.el (help-button-action): Declare.
6200
6201 * shell.el (shell-directory-tracker): Output error as a message
6202 rather than just returning it as a string.
6203 (shell-process-pushd): Remove useless use of message.
6204
6205 * dframe.el (dframe-timer-fn):
6206 * files.el (dir-locals-read-from-file):
6207 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6208 (mpc-format):
6209 * reveal.el (reveal-post-command):
6210 * saveplace.el (load-save-place-alist-from-file):
6211 * shell.el (shell-resync-dirs):
6212 * w32-common-fns.el (x-get-selection-value):
6213 * emacs-lisp/copyright.el (copyright-find-copyright):
6214 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6215 * emulation/tpu-edt.el (tpu-copy-keyfile):
6216 * play/bubbles.el (bubbles--mark-neighbourhood):
6217 * progmodes/executable.el
6218 (executable-make-buffer-file-executable-if-script-p):
6219 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6220
6221 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 Cleanup Eshell to rely less on dynamic scoping.
6224 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6225 last-value, and ext-command here. Bind `args' closer to `body'.
6226 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6227 (eshell--args): Declare new dynamic var.
6228 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6229 last-value, and ext-command. Pass `args' to `body'.
6230 (eshell-process-args): Bind eshell--args.
6231 (eshell-set-option): Use eshell--args.
6232 * eshell/eshell.el (eshell): Use derived-mode-p.
6233 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6234 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6235 (eshell-glob-function): Declare.
6236 * eshell/esh-util.el: Require cl-lib.
6237 (eshell-read-hosts-file): Avoid add-to-list.
6238 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6239 `err'.
6240 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6241 Declare.
6242 (eshell/diff): Remove unused var `err'.
6243 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6244 `killflag'.
6245 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6246 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6247 first use.
6248 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6249 Move declaration before first use.
6250 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6251 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6252 rely on cl-return.
6253
6254 2013-09-12 Glenn Morris <rgm@gnu.org>
6255
6256 * term/ns-win.el (global-map): Remove binding for ispell-next,
6257 deleted 1999-05-29. (Bug#15357)
6258
6259 2013-09-11 Glenn Morris <rgm@gnu.org>
6260
6261 * echistory.el (electric-command-history): Remove call to deleted func.
6262
6263 * play/landmark.el (landmark-mode): Fix typos.
6264
6265 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6266 Check cvs-sort-ignore-file is bound.
6267
6268 * savehist.el: No need for cl when compiling on Emacs.
6269
6270 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6273 (bug#15338).
6274 (eshell-self-insert-command, eshell-send-invisible):
6275 Remove unused argument.
6276 (eshell-handle-control-codes): Remove unused var `orig'.
6277 Avoid delete-backward-char.
6278
6279 * files.el (set-auto-mode): Simplify a bit further.
6280
6281 2013-09-11 Glenn Morris <rgm@gnu.org>
6282
6283 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6284 (set-auto-mode): Don't regexp-quote elements.
6285 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6286 * progmodes/cc-mode.el (interpreter-mode-alist):
6287 * progmodes/ruby-mode.el (interpreter-mode-alist):
6288 Revert previous change.
6289
6290 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * play/snake.el (snake-mode):
6293 * play/mpuz.el (mpuz-mode):
6294 * play/landmark.el (lm-mode):
6295 * play/blackbox.el (blackbox-mode):
6296 * play/5x5.el (5x5-mode):
6297 * obsolete/options.el (Edit-options-mode):
6298 * net/quickurl.el (quickurl-list-mode):
6299 * net/newst-treeview.el (newsticker-treeview-mode):
6300 * mail/rmailsum.el (rmail-summary-mode):
6301 * mail/mspools.el (mspools-mode):
6302 * locate.el (locate-mode):
6303 * ibuffer.el (ibuffer-mode):
6304 * emulation/ws-mode.el (wordstar-mode):
6305 * emacs-lisp/debug.el (debugger-mode):
6306 * array.el (array-mode):
6307 * net/eudc.el (eudc-mode): Use define-derived-mode.
6308 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6309 Move initialization into declaration.
6310 (mairix-searches-mode): Use define-derived-mode.
6311 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6312 (eudc-edit-hotlist): Use dolist.
6313 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6314 (Man-mode): Use define-derived-mode.
6315 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6316 (Info-edit-mode): Use define-derived-mode.
6317 (Info-cease-edit): Use Info-mode.
6318 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6319 into declaration.
6320 (eshell-mode): Use define-derived-mode.
6321 * chistory.el (command-history-mode-map): Rename from
6322 command-history-map.
6323 (command-history-mode): Use define-derived-mode.
6324 (Command-history-setup): Remove function.
6325 * calc/calc.el (calc-trail-mode-map): New var.
6326 (calc-trail-mode): Use define-derived-mode.
6327 (calc-trail-buffer): Set calc-main-buffer manually.
6328 * bookmark.el (bookmark-insert-annotation): New function.
6329 (bookmark-edit-annotation): Use it.
6330 (bookmark-edit-annotation-mode): Make it a proper major mode.
6331 (bookmark-send-edited-annotation): Use derived-mode-p.
6332 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6333 closer to its ideal place. Use \' to match EOS.
6334
6335 * profiler.el (profiler-calltree-find): Use function-equal.
6336
6337 2013-09-10 Glenn Morris <rgm@gnu.org>
6338
6339 * files.el (interpreter-mode-alist): Convert to regexps.
6340 (set-auto-mode): Adapt for this. (Bug#15306)
6341 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6342 Comment out unused variable.
6343 * progmodes/cc-mode.el (interpreter-mode-alist):
6344 * progmodes/python.el (interpreter-mode-alist):
6345 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6346 * progmodes/sh-script.el (sh-set-shell):
6347 No longer use interpreter-mode-alist to get list of shells.
6348
6349 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6350
6351 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * simple.el: Use set-temporary-overlay-map for universal-argument.
6354 (universal-argument-map): Don't use default-bindings (bug#15317).
6355 Bind switch-frame explicitly. Replace universal-argument-minus with
6356 a conditional binding.
6357 (universal-argument-num-events, saved-overriding-map): Remove.
6358 (restore-overriding-map): Remove.
6359 (universal-argument--mode): Rename from save&set-overriding-map,
6360 and rewrite.
6361 (universal-argument, universal-argument-more, negative-argument)
6362 (digit-argument): Adjust accordingly.
6363 (universal-argument-minus): Remove.
6364 (universal-argument-other-key): Remove.
6365
6366 * subr.el (with-demoted-errors): Add `format' argument.
6367
6368 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6369
6370 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6371 `tramp-cleanup-connection'.
6372
6373 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6374 parameters KEEP-DEBUG and KEEP-PASSWORD.
6375
6376 * net/tramp.el (tramp-file-name-handler):
6377 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6378 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6379 (tramp-maybe-open-connection):
6380 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6381 Use `tramp-cleanup-connection'.
6382
6383 * net/tramp-sh.el (tramp-maybe-open-connection):
6384 Catch 'uname-changed inside the progress reporter.
6385
6386 2013-09-10 Glenn Morris <rgm@gnu.org>
6387
6388 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6389
6390 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6391 returns "alternate access method" in mode (eg "-rw-r--r--.").
6392
6393 2013-09-08 Glenn Morris <rgm@gnu.org>
6394
6395 * saveplace.el (load-save-place-alist-from-file):
6396 Demote errors. (Bug#15305)
6397
6398 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6399
6400 Improve compatibility with older Emacsen, and XEmacs.
6401
6402 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6403 only if it is bound. It isn't for XEmacs.
6404 (with-tramp-progress-reporter): Do not let-bind `result'.
6405 This yields to scoping errors in XEmacs.
6406 (tramp-handle-make-auto-save-file-name): New function, moved from
6407 tramp-sh.el.
6408
6409 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6410 for `make-auto-save-file-name'.
6411 (tramp-adb--gnu-switches-to-ash):
6412 Use `tramp-compat-replace-regexp-in-string'.
6413
6414 * net/tramp-cache.el (tramp-cache-print): Call
6415 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6416
6417 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6418 bound. It isn't for XEmacs.
6419
6420 * net/tramp-compat.el (tramp-compat-copy-file):
6421 Catch `wrong-number-of-arguments' error.
6422 (tramp-compat-replace-regexp-in-string): New defun.
6423
6424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6425 for `make-auto-save-file-name'.
6426 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6427 `copy-file'.
6428 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6429 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6430 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6431
6432 * net/tramp-gw.el (tramp-gw-open-network-stream):
6433 Use `tramp-compat-replace-regexp-in-string'.
6434
6435 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6436 Call `tramp-handle-make-auto-save-file-name'.
6437 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6438 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6439 (tramp-sh-file-inotifywait-process-filter):
6440 Use `tramp-compat-replace-regexp-in-string'.
6441 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6442
6443 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6444 for `make-auto-save-file-name'.
6445 (tramp-smb-handle-copy-directory):
6446 Call `tramp-compat-replace-regexp-in-string'.
6447 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6448 (tramp-smb-handle-copy-file): Improve error message.
6449 (tramp-smb-handle-rename-file): Rename directly only in case
6450 `newname' does not exist yet. This is a restriction of smbclient.
6451 (tramp-smb-maybe-open-connection): Rerun the function only when
6452 `auth-sources' is non-nil.
6453
6454 2013-09-08 Kenichi Handa <handa@gnu.org>
6455
6456 * international/characters.el: Set category "^" (Combining) for
6457 more characters.
6458
6459 2013-09-07 Alan Mackenzie <acm@muc.de>
6460
6461 Correctly fontify Java class constructors.
6462 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6463 in Java Mode.
6464 (c-recognize-typeless-decls): Set the Java value to t.
6465 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6466 While handling a "(", add a check for, effectively, Java, and handle a
6467 "typeless" declaration there.
6468
6469 2013-09-07 Roland Winkler <winkler@gnu.org>
6470
6471 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6472 field subtitle for entry type book.
6473
6474 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * minibuffer.el: Make minibuffer-complete call completion-in-region
6477 rather than other way around.
6478 (completion--some, completion-pcm--find-all-completions):
6479 Don't delay signals when debugging.
6480 (minibuffer-completion-contents): Beware fields within the
6481 minibuffer contents.
6482 (completion-all-sorted-completions): Use defvar-local.
6483 (completion--do-completion, completion--cache-all-sorted-completions)
6484 (completion-all-sorted-completions, minibuffer-force-complete):
6485 Add args `beg' and `end'.
6486 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6487 (minibuffer-complete): Use completion-in-region.
6488 (completion-complete-and-exit): New fun, extracted from
6489 minibuffer-complete-and-exit.
6490 (minibuffer-complete-and-exit): Use it.
6491 (completion--complete-and-exit): Rename from
6492 minibuffer--complete-and-exit.
6493 (completion-in-region--single-word): New function, extracted from
6494 minibuffer-complete-word.
6495 (minibuffer-complete-word): Use it.
6496 (display-completion-list): Make `common-substring' argument obsolete.
6497 (completion--in-region): Call completion--in-region-1 instead of
6498 minibuffer-complete.
6499 (completion-help-at-point): Pass boundaries to
6500 minibuffer-completion-help as args rather than via an overlay.
6501 (completion-pcm--string->pattern): Use `any-delim'.
6502 (completion-pcm--optimize-pattern): New function.
6503 (completion-pcm--pattern->regex): Handle `any-delim'.
6504 * icomplete.el (icomplete-forward-completions)
6505 (icomplete-backward-completions, icomplete-completions):
6506 Adjust calls to completion-all-sorted-completions and
6507 completion--cache-all-sorted-completions.
6508 (icomplete-with-completion-tables): Default to t.
6509 * emacs-lisp/crm.el (crm--current-element): Rename from
6510 crm--select-current-element. Don't put an overlay but return the
6511 boundaries instead.
6512 (crm--completion-command): Take two new args to bind to the boundaries.
6513 (crm-completion-help): Adjust accordingly.
6514 (crm-complete): Use completion-in-region.
6515 (crm-complete-word): Use completion-in-region--single-word.
6516 (crm-complete-and-exit): Use completion-complete-and-exit.
6517
6518 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6521 than dynamically.
6522
6523 2013-09-06 Juri Linkov <juri@jurta.org>
6524
6525 * info.el (Info-display-images-node): When image file doesn't exist
6526 display text version of the image if it's provided in the Info file.
6527 Otherwise, display the location of missing image from SRC attribute.
6528 Add help-echo text property from ALT attribute. (Bug#15279)
6529
6530 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6533 (edit-abbrevs-mode): Use define-derived-mode.
6534
6535 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6536 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6537 that it's defined.
6538 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6539 Use define-derived-mode.
6540
6541 * epg.el (epg-start-encrypt): Minor CSE simplification.
6542
6543 2013-09-06 William Xu <william.xwl@gmail.com>
6544
6545 * arc-mode.el: Add support for 7za (bug#15264).
6546 (archive-7z-program): New var.
6547 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6548 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6549 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6550
6551 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6552
6553 Remove URL syntax.
6554
6555 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6556 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6557 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6558 (tramp-postfix-host-format, tramp-file-name-regexp)
6559 (tramp-completion-file-name-regexp)
6560 (tramp-completion-dissect-file-name)
6561 (tramp-handle-substitute-in-file-name): Remove 'url case.
6562 (tramp-file-name-regexp-url)
6563 (tramp-completion-file-name-regexp-url): Remove constants.
6564
6565 2013-09-06 Glenn Morris <rgm@gnu.org>
6566
6567 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6568
6569 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6570
6571 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6572 keywords" below "here-doc beginnings" (Bug#15270).
6573
6574 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * subr.el (pop): Use `car-safe'.
6577 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6578 to detect unused `pop' return value.
6579
6580 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6581 var `block-regexp'.
6582 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6583 (python-fill-string): Remove unused var `marker'.
6584 (python-skeleton-add-menu-items): Remove unused var `items'.
6585
6586 * international/mule-cmds.el: Require CL.
6587 (find-coding-systems-for-charsets): Avoid add-to-list.
6588 (sanitize-coding-system-list): New function, extracted from
6589 select-safe-coding-system-interactively.
6590 (select-safe-coding-system-interactively): Use it.
6591 (read-input-method-name): Accept symbols for `default'.
6592
6593 * emacs-lisp/advice.el (defadvice): Add indent rule.
6594
6595 2013-09-05 Daniel Hackney <dan@haxney.org>
6596
6597 * dired-x.el:
6598 * net/ange-ftp.el:
6599 * net/browse-url.el:
6600 * net/dbus.el:
6601 * net/eudc.el:
6602 * net/eudcb-ldap.el:
6603 * net/eww.el:
6604 * net/imap.el:
6605 * printing.el:
6606 * vc/ediff-diff.el:
6607 * vc/ediff-init.el:
6608 * vc/ediff-merg.el:
6609 * vc/ediff-mult.el:
6610 * vc/ediff-util.el:
6611 * vc/ediff-wind.el:
6612 * vc/ediff.el:
6613 * vc/emerge.el:
6614 * vc/pcvs.el:
6615 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6616 byte compiler. Remove some unused let-bound variables.
6617
6618 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6621 a "ref-cell", since it gets better optimized (bug#14883).
6622
6623 2013-09-05 Glenn Morris <rgm@gnu.org>
6624
6625 * progmodes/cc-awk.el (c-forward-sws): Declare.
6626
6627 2013-09-04 Glenn Morris <rgm@gnu.org>
6628
6629 * generic-x.el [rul-generic-mode]: Require cc-mode.
6630 (c++-mode-syntax-table): Declare.
6631 (rul-generic-mode-syntax-table): Init in the defvar.
6632
6633 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6636 (vc-do-command, vc-set-async-update):
6637 * vc/vc-mtn.el (vc-mtn-dir-status):
6638 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6639 (vc-hg-pull, vc-hg-merge-branch):
6640 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6641 (vc-git-merge-branch):
6642 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6643 (vc-cvs-dir-status-files):
6644 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6645 (vc-bzr-dir-status-files):
6646 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6647 * vc/vc-annotate.el: Use lexical-binding.
6648 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6649 (vc-sentinel-movepoint): Declare.
6650 (vc-annotate): Don't use `goto-line'.
6651 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6652 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6653 (vc-sentinel-movepoint): Declare.
6654 * vc/vc-svn.el: Use lexical-binding.
6655 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6656 * vc/vc-sccs.el:
6657 * vc/vc-rcs.el: Use lexical-binding.
6658
6659 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6660 `deleted'. Don't drop errors silently.
6661
6662 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6663
6664 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6665
6666 * vc/vc.el (vc-ignore): Rewrite.
6667 (vc-default-ignore): New function.
6668 (vc-default-ignore-completion-table): Use find-ignore-file.
6669
6670 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6671 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6672 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6673 Remove. Most code moved to vc.el.
6674
6675 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6678 * net/tramp-smb.el (tramp-smb-get-file-entries):
6679 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6680 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6681
6682 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6683 Update call to it.
6684 (eww-change-select): Remove unused var `properties'.
6685 (eww-make-unique-file-name): Remove unused var `base'.
6686
6687 * finder.el (finder-compile-keywords): Don't mess with windows.
6688
6689 * calculator.el (calculator-funcall): Fix typo in last change.
6690
6691 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6692
6693 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6694 <pkg>-autoloads.el file stop us.
6695
6696 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6697 warnings, and factor out common code.
6698
6699 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6700
6701 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6702 two-character operators and whether the character preceding them
6703 changes their meaning (Bug#15208).
6704
6705 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6706
6707 Format code sent to Python shell for robustness.
6708 * progmodes/python.el (python-shell-buffer-substring):
6709 New function.
6710 (python-shell-send-region, python-shell-send-buffer): Use it.
6711
6712 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6713
6714 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6715 * net/tramp.el (tramp-user-error): ... here.
6716 (tramp-find-method, tramp-check-proper-host)
6717 (tramp-dissect-file-name, tramp-debug-message)
6718 (tramp-handle-shell-command):
6719 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6721
6722 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6723
6724 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6725
6726 * avoid.el (mouse-avoidance-point-position)
6727 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6728 returns nil.
6729
6730 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6731
6732 * progmodes/python.el (python-shell-completion-get-completions):
6733 Drop use of deleted `comint-last-prompt-overlay'.
6734 (python-nav-if-name-main): New command.
6735
6736 2013-09-01 Glenn Morris <rgm@gnu.org>
6737
6738 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6739 Avoid leading space in $wins. Otherwise the sed command used by
6740 eg compile-main ends up containing "/*.el". (Bug#15170)
6741
6742 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6743
6744 2013-08-30 Glenn Morris <rgm@gnu.org>
6745
6746 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6747 Fix is-this-a-directory logic. (Bug#15220)
6748
6749 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * textmodes/css-mode.el: Use SMIE.
6752 (css-smie-grammar): New var.
6753 (css-smie--forward-token, css-smie--backward-token)
6754 (css-smie-rules): New functions.
6755 (css-mode): Use them.
6756 (css-navigation-syntax-table): Remove var.
6757 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6758 (css-indent-calculate, css-indent-line): Remove functions.
6759
6760 Misc changes to reduce use of `(lambda...); and other cleanups.
6761 * cus-edit.el: Use lexical-binding.
6762 (customize-push-and-save, customize-apropos)
6763 (custom-buffer-create-internal): Use closures.
6764 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6765 * progmodes/ada-xref.el: Use setq.
6766 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6767 * dframe.el: Use lexical-binding.
6768 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6769 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6770 * descr-text.el: Use lexical-binding.
6771 (describe-text-widget, describe-text-sexp, describe-property-list):
6772 Use closures.
6773 * comint.el (comint-history-isearch-push-state): Use a closure.
6774 * calculator.el: Use lexical-binding.
6775 (calculator-number-to-string): Make it work with lexical-binding.
6776 (calculator-funcall): Same and use cl-letf.
6777
6778 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6779 (lisp--company-doc-string, lisp--company-location): New functions.
6780 (lisp-completion-at-point): Use them to improve Company support.
6781
6782 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6783 params of lambda expressions.
6784 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6785 (ruby-smie--opening-pipe-p): New function.
6786 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6787 symbols and matched |...| for formal params.
6788 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6789 from being treated as hanging. Handle "rescue".
6790
6791 2013-08-29 Glenn Morris <rgm@gnu.org>
6792
6793 * progmodes/cc-engine.el (c-pull-open-brace):
6794 Move definition before use.
6795
6796 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6799 are immutable. Don't use `unsafe' any more.
6800 (cl--defsubst-expand): Don't substitute at the same time as keeping
6801 a residual unused let-binding. Don't use `unsafe' any more.
6802
6803 2013-08-29 Glenn Morris <rgm@gnu.org>
6804
6805 * calendar/cal-china.el (calendar-chinese-year-cache):
6806 Recenter on 2015.
6807
6808 * nxml/nxml-util.el (nxml-debug-clear-inside):
6809 Use cl-loop rather than loop.
6810
6811 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6812
6813 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6814
6815 2013-08-28 Glenn Morris <rgm@gnu.org>
6816
6817 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6818
6819 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6820
6821 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6822
6823 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * simple.el (repeat-complex-command--called-interactively-skip):
6826 New function.
6827 (repeat-complex-command): Use it (bug#14136).
6828
6829 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6830 (c-define-abbrev-table): Add `doc' argument.
6831 (c-mode-abbrev-table, c++-mode-abbrev-table)
6832 (objc-mode-abbrev-table, java-mode-abbrev-table)
6833 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6834 (awk-mode-abbrev-table): Use it.
6835 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6836 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6837 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6838 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6839 Move initialization into the declaration; and remove any
6840 autoload cookie.
6841
6842 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6843 and dynamic let binding.
6844
6845 * vc/smerge-mode.el: Remove redundant :group args.
6846
6847 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6848 to load-path.
6849
6850 2013-08-28 Juri Linkov <juri@jurta.org>
6851
6852 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6853 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6854 (isearch-other-meta-char): Handle an undefined shifted printing
6855 character by downshifting it. (Bug#15200)
6856
6857 2013-08-28 Juri Linkov <juri@jurta.org>
6858
6859 * isearch.el (isearch-search): Change regexp error message for
6860 non-regexp searches. (Bug#15166)
6861
6862 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6863
6864 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6865 for portability to hosts where /bin/sh has problems.
6866
6867 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6870
6871 2013-08-27 Juri Linkov <juri@jurta.org>
6872
6873 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6874 in the keyboard macro. (Bug#15126)
6875
6876 2013-08-27 Juri Linkov <juri@jurta.org>
6877
6878 * isearch.el (isearch-quote-char): Comment out converting unibyte
6879 to multibyte, thus syncing with its `quoted-insert' counterpart.
6880 (Bug#15166)
6881
6882 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6883
6884 * window.el (display-buffer-use-some-window): Add missing
6885 argument in call of get-largest-window (Bug#15185).
6886 Reported by Stephen Leake.
6887
6888 2013-08-27 Glenn Morris <rgm@gnu.org>
6889
6890 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6891
6892 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6895 from a matcher-function unless there's no more matches (bug#15161).
6896
6897 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6898
6899 * minibuffer.el: Revert change from 2013-08-20.
6900
6901 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6902 with text property `tramp-default', if appropriate.
6903 (tramp-check-proper-host): New defun.
6904 (tramp-dissect-file-name): Do not check hostname. Revert change
6905 of 2013-03-18.
6906 (tramp-backtrace): Make VEC-OR-PROC optional.
6907
6908 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6909 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6910 * net/tramp-sh.el (tramp-maybe-open-connection):
6911 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6912 Apply `tramp-check-proper-host'.
6913
6914 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6915
6916 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6917 lambda expression in order to have `describe-variable' display it.
6918
6919 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6920
6921 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6922 BUF can be optional. (Bug#15186)
6923
6924 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6925
6926 * progmodes/flymake.el (flymake-get-real-file-name-function):
6927 Fix broken customization. (Bug#15184)
6928
6929 2013-08-25 Alan Mackenzie <acm@muc.de>
6930
6931 Improve indentation of bracelists defined by macros (without "=").
6932
6933 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6934 expansion begins with "{", regard it as bracelist when it doesn't
6935 contain a ";".
6936
6937 Parse C++ inher-intro when there's a template split over 2 lines.
6938
6939 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6940 rigorously the search for "class" etc. followed by ":".
6941
6942 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6943 random languages a regexp which never matches rather than nil.
6944
6945 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6946
6947 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6948 (c-awk-regexp-one-line-possibly-open-char-list-re)
6949 (c-awk-one-line-possibly-open-regexp-re)
6950 (c-awk-one-line-non-syn-ws*-re): Remove.
6951 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6952 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6953 (c-awk-space*-unclosed-regexp-/-re): New constants.
6954 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6955 aren't regexp delimiters.
6956
6957 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6958 handling for a rare situation in AWK Mode involving unterminated
6959 strings/regexps.
6960
6961 2013-08-23 Glenn Morris <rgm@gnu.org>
6962
6963 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6964
6965 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6966
6967 * files.el (create-file-buffer): If the result would begin with
6968 spaces, prepend a "|" instead of removing them. (Bug#15162)
6969
6970 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6973 text-properties (bug#15155).
6974
6975 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6976 exist any more.
6977 (calc-keypad-redraw): Remove unused var `pad'.
6978 (calc-keypad-press): Remove unused var `menu'.
6979
6980 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6981
6982 * window.el (display-buffer-pop-up-frame):
6983 Call pop-up-frame-function with BUFFER current so `make-frame' will
6984 use it as the new frame's buffer (Bug#15133).
6985
6986 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * calendar/timeclock.el: Minor cleanups.
6989 (timeclock-ask-before-exiting, timeclock-use-display-time):
6990 Use `symbol'.
6991 (timeclock-modeline-display): Define as alias before the
6992 actual definition.
6993 (timeclock-mode-line-display): Use define-minor-mode.
6994 (timeclock-day-list-template): Make it a function, add an argument.
6995 (timeclock-day-list-required, timeclock-day-list-length)
6996 (timeclock-day-list-debt, timeclock-day-list-span)
6997 (timeclock-day-list-break): Adjust calls accordingly.
6998
6999 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7002 Use read--expression so that completion works again.
7003
7004 2013-08-21 Sam Steingold <sds@gnu.org>
7005
7006 Add rudimentary inferior shell interaction
7007 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7008 (sh-set-shell): Reset it.
7009 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7010 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7011
7012 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * align.el: Use lexical-binding.
7015 (align-region): Simplify accordingly.
7016
7017 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7018
7019 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7020
7021 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7022 `non-essential' up.
7023
7024 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7025
7026 * net/tramp.el:
7027 * net/tramp-adb.el:
7028 * net/tramp-cmds.el:
7029 * net/tramp-ftp.el:
7030 * net/tramp-gvfs.el:
7031 * net/tramp-gw.el:
7032 * net/tramp-sh.el: Don't wrap external variable declarations by
7033 `eval-when-compile'.
7034
7035 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7036
7037 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7038 now that Emacs supports ImageMagick animations.
7039
7040 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7041
7042 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7043 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7044
7045 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7046
7047 * window.el (mouse-autoselect-window-select): Do autoselect when
7048 mouse pointer is on margin.
7049
7050 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7051
7052 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7053
7054 2013-08-16 Glenn Morris <rgm@gnu.org>
7055
7056 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7057 Handle "Remote Directory" response of some clients. (Bug#15058)
7058
7059 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7060 Tweak warning. (Bug#14926)
7061
7062 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7063 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7064
7065 * image-mode.el (image-mode-map): Add menu items to reverse,
7066 increase, decrease, reset animation speed.
7067 (image--set-speed, image-increase-speed, image-decrease-speed)
7068 (image-reverse-speed, image-reset-speed): New functions.
7069 (image-mode-map): Add bindings for speed commands.
7070
7071 * image.el (image-animate-get-speed, image-animate-set-speed):
7072 New functions.
7073 (image-animate-timeout): Respect image :speed property.
7074
7075 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7078 previous line (bug#15101).
7079 (debugger-eval-expression, debugger-record-expression):
7080 Use read--expression (bug#15102).
7081
7082 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7083
7084 Remove byte compiler warnings, visible when compiling with
7085 `byte-compile-force-lexical-warnings' set to t.
7086
7087 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7088 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7089 (tramp-handle-unhandled-file-name-directory)
7090 (tramp-handle-file-notify-add-watch, tramp-action-login)
7091 (tramp-action-succeed, tramp-action-permission-denied)
7092 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7093 arguments with "_".
7094
7095 * net/tramp-adb.el (tramp-adb-parse-device-names)
7096 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7097 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7098 (tramp-adb-handle-file-truename): Remove unused arguments.
7099
7100 * net/tramp-cache.el (tramp-flush-directory-property)
7101 (tramp-flush-connection-property, tramp-list-connections)
7102 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7103
7104 * net/tramp-compat.el (tramp-compat-make-temp-file):
7105 Rename FILENAME to F.
7106
7107 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7108 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7109 (tramp-zeroconf-parse-workstation-device-names)
7110 (tramp-zeroconf-parse-webdav-device-names)
7111 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7112
7113 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7114 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7115
7116 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7117 arguments.
7118 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7119 (tramp-sh-handle-insert-file-contents-literally)
7120 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7121 with "_".
7122 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7123 Remove unused variables.
7124
7125 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7126 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7127 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7128
7129 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7130 Make them a defconst.
7131 (tramp-uuencode-region): Remove unused variable.
7132
7133 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * frameset.el (frameset--prop-setter): New function.
7136 (frameset-prop): Add gv-setter declaration.
7137 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7138 parameter was already set in FILTERED. Doc fix.
7139 (frameset--record-minibuffer-relationships): Allow saving a
7140 minibufferless frame without its corresponding minibuffer frame.
7141 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7142 frame, if the frame id matches.
7143 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7144 frames before orphaned ones.
7145 (frameset-restore): Warn about orphaned windows, instead of error out.
7146
7147 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7148
7149 * window.el (window-make-atom): Don't overwrite parameter
7150 already present.
7151 (display-buffer-in-atom-window): Handle special case where we
7152 split an already atomic window.
7153 (window--major-non-side-window, display-buffer-in-side-window)
7154 (window--side-check): Ignore minibuffer window when walking
7155 window tree.
7156 (window-deletable-p): Return 'frame only if no other frame uses
7157 our minibuffer window.
7158 (record-window-buffer): Run buffer-list-update-hook.
7159 (split-window): Make sure window--check-frame won't destroy an
7160 existing atomic window in case the new window gets nested
7161 inside.
7162 (display-buffer-at-bottom): Ignore minibuffer window when
7163 walking window tree. Don't split a side window.
7164 (pop-to-buffer): Don't set-buffer here, the select-window call
7165 should do that.
7166 (mouse-autoselect-window-select): Autoselect only if we are in the
7167 text portion of the window.
7168
7169 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7170
7171 * net/shr.el (shr-parse-image-data): New function to grab both the
7172 data itself and the Content-Type.
7173 (shr-put-image): Use it.
7174
7175 * net/eww.el (eww-display-image): Ditto.
7176
7177 * image.el (image-content-type-suffixes): New variable.
7178
7179 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7180
7181 * progmodes/python.el (python-imenu--build-tree)
7182 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7183
7184 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7185
7186 * simple.el (backward-word): Mention the optional argument.
7187
7188 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * frameset.el (frameset--make): Rename constructor from make-frameset.
7191 (frameset-p, frameset-valid-p): Don't autoload.
7192 (frameset-valid-p): Use normal accessors.
7193
7194 2013-08-13 Glenn Morris <rgm@gnu.org>
7195
7196 * progmodes/compile.el (compile-command): Tweak example in doc.
7197 * obsolete/scribe.el (scribe-mode):
7198 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7199
7200 * mail/feedmail.el (feedmail-confirm-outgoing)
7201 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7202
7203 * cus-start.el (truncate-partial-width-windows): Fix type.
7204
7205 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7206
7207 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7208
7209 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/timer.el (timer--time-setter): New function.
7212 (timer--time): Use it as gv-setter.
7213
7214 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7215 setter is not a symbol.
7216
7217 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7218
7219 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7220 if sending fails. This makes debugging easier.
7221
7222 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7223
7224 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7225 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7226 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7227
7228 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7229
7230 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7231
7232 2013-08-12 Glenn Morris <rgm@gnu.org>
7233
7234 * format.el (format-annotate-function):
7235 Handle read-only text properties in the source. (Bug#14887)
7236
7237 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238
7239 * net/eww.el (eww-display-html): Ignore coding system errors.
7240 One web site uses "utf-8lias" as the coding system.
7241
7242 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7243
7244 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7245
7246 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7247
7248 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7249 (tutorial--detailed-help): Remove unused local variables.
7250 (tutorial--save-tutorial-to): Use ignore-errors.
7251 (help-with-tutorial): Use looking-at-p.
7252
7253 * view.el (view-buffer-other-window, view-buffer-other-frame):
7254 Mark unused arguments.
7255
7256 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7257 (woman-select-symbol-fonts, woman, woman-find-file)
7258 (woman-insert-file-contents, woman-non-underline-faces):
7259 Use string-match-p.
7260 (woman1-unquote): Move declaration.
7261
7262 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7263 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7264 argument. Remove unused local variable.
7265 (xml-parse-elem-type): Use string-match-p.
7266 (xml-substitute-numeric-entities): Use ignore-errors.
7267
7268 * calculator.el (calculator): Mark unused argument.
7269 (calculator-paste, calculator-quit, calculator-integer-p):
7270 Use ignore-errors.
7271 (calculator-string-to-number, calculator-decimal, calculator-exp)
7272 (calculator-op-or-exp): Use string-match-p.
7273
7274 * dired.el (dired-buffer-more-recently-used-p): Declare.
7275 (dired-insert-set-properties, dired-insert-old-subdirs):
7276 Use ignore-errors.
7277
7278 * dired-aux.el (dired-compress): Use ignore-errors.
7279 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7280 (dired-do-async-shell-command, dired-do-shell-command)
7281 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7282 (dired-insert-subdir-validate): Use string-match-p.
7283 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7284 (dired-add-entry): Use string-match-p, looking-at-p.
7285 (dired-insert-subdir-newpos): Remove unused local variable.
7286
7287 * filenotify.el (file-notify-callback): Remove unused local variable.
7288
7289 * filesets.el (filesets-error): Mark unused argument.
7290 (filesets-which-command-p, filesets-filter-dir-names)
7291 (filesets-directory-files, filesets-get-external-viewer)
7292 (filesets-ingroup-get-data): Use string-match-p.
7293
7294 * find-file.el (ff-other-file-name, ff-other-file-name)
7295 (ff-find-the-other-file, ff-cc-hh-converter):
7296 Remove unused local variables.
7297 (ff-get-file-name): Use string-match-p.
7298 (ff-all-dirs-under): Use ignore-errors.
7299
7300 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7301 (follow-select-if-visible): Remove unused local variable.
7302
7303 * forms.el (read-file-filter): Move declaration.
7304 (forms--make-format, forms--make-parser, forms-insert-record):
7305 Quote function with #'.
7306 (forms--update): Use string-match-p. Quote function with #'.
7307
7308 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7309 (help-make-xrefs): Use looking-at-p.
7310 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7311
7312 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7313 (ibuffer-confirm-operation-on): Use string-match-p.
7314
7315 * msb.el (msb-item-handler, msb-dired-item-handler):
7316 Mark unused arguments.
7317
7318 * ses.el (ses-decode-cell-symbol)
7319 (ses-kill-override): Remove unused local variable.
7320 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7321 (ses-load): Use ignore-errors, looking-at-p.
7322 (ses-jump-safe): Use ignore-errors.
7323 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7324
7325 * tabify.el (untabify, tabify): Mark unused arguments.
7326
7327 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7328 Mark unused argument.
7329 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7330 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7331
7332 * emacs-lisp/timer.el (timer--time): Define setter with
7333 gv-define-setter to avoid deprecation warning.
7334
7335 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7336 (*record-cmpl-statistics-p*): Remove (was commented out).
7337 (cmpl-statistics-block): Remove (body was commented out).
7338 All callers changed.
7339 (add-completions-from-buffer, load-completions-from-file):
7340 Remove unused variables.
7341
7342 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7343
7344 * filecache.el (file-cache-delete-file-list):
7345 Print message only when told so.
7346 (file-cache-files-matching): Use #' in mapconcat argument.
7347
7348 * ffap.el (ffap-url-at-point): Fix reference to variable
7349 thing-at-point-default-mail-uri-scheme.
7350
7351 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * subr.el (define-error): New function.
7354 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7355 error-file-not-found and define with define-error.
7356 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7357 and define with define-error.
7358 * userlock.el (file-locked, file-supersession):
7359 * simple.el (mark-inactive):
7360 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7361 * progmodes/ada-mode.el (ada-mode-errors):
7362 * play/life.el (life-extinct):
7363 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7364 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7365 * nxml/rng-util.el (rng-error):
7366 * nxml/rng-uri.el (rng-uri-error):
7367 * nxml/rng-match.el (rng-compile-error):
7368 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7369 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7370 * nxml/nxml-rap.el (nxml-scan-error):
7371 * nxml/nxml-outln.el (nxml-outline-error):
7372 * net/soap-client.el (soap-error):
7373 * net/gnutls.el (gnutls-error):
7374 * net/ange-ftp.el (ftp-error):
7375 * mpc.el (mpc-proc-error):
7376 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7377 (json-number-format, json-string-escape, json-string-format)
7378 (json-key-format, json-object-format):
7379 * jka-compr.el (compression-error):
7380 * international/quail.el (quail-error):
7381 * international/kkc.el (kkc-error):
7382 * emacs-lisp/ert.el (ert-test-failed):
7383 * calc/calc.el (calc-error, inexact-result, math-overflow)
7384 (math-underflow):
7385 * bookmark.el (bookmark-error-no-filename):
7386 * epg.el (epg-error): Define with define-error.
7387
7388 * time.el (display-time-event-handler)
7389 (display-time-next-load-average): Don't call sit-for since it seems
7390 unnecessary (bug#15045).
7391
7392 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7393 Use #' instead of ' to quote functions.
7394 (checkdoc-output-mode): Use setq-local.
7395 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7396 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7397 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7398 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7399 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7400 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7401 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7402 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7403
7404 * ido.el (ido-completion-help): Fix up compiler warning.
7405
7406 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * frameset.el (frameset-p): Add autoload cookie.
7409 (frameset--jump-to-register): New function, based on code moved from
7410 register.el.
7411 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7412
7413 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7414 (frameset-restore, frameset-save, frameset-session-filter-alist):
7415 Remove declarations.
7416 (register-alist): Doc fix.
7417 (frameset-to-register): Move to frameset.el.
7418 (jump-to-register, describe-register-1): Remove frameset-specific code.
7419
7420 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7421
7422 * allout-widgets.el (allout-widgets-pre-command-business)
7423 (allout-widgets-post-command-business)
7424 (allout-widgets-after-change-handler)
7425 (allout-decorate-item-and-context, allout-set-boundary-marker)
7426 (allout-body-modification-handler)
7427 (allout-graphics-modification-handler): Mark ignored arguments.
7428 (allout-widgets-post-command-business)
7429 (allout-widgets-exposure-change-processor)
7430 (allout-widgets-exposure-undo-processor)
7431 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7432 (allout-parse-item-at-point, allout-decorate-item-guides)
7433 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7434 * allout.el (epa-passphrase-callback-function): Declare.
7435 (allout-overlay-insert-in-front-handler)
7436 (allout-overlay-interior-modification-handler)
7437 (allout-isearch-end-handler, allout-chart-siblings)
7438 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7439 (allout-yank-processing, allout-process-exposed)
7440 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7441 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7442 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7443 (lisp-indent-defform): Mark ignored arguments.
7444 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7445 (calculate-lisp-indent): Remove unused variables.
7446 * international/characters.el (indian-2-column, arabic-2-column)
7447 (tibetan): Mark ignored arguments.
7448 (use-cjk-char-width-table): Mark ignored arguments.
7449 Remove unused variables.
7450 * international/fontset.el (build-default-fontset-data)
7451 (x-compose-font-name, create-fontset-from-fontset-spec):
7452 Mark ignored arguments.
7453 (fontset-plain-name): Remove unused variables.
7454 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7455 (keyboard-coding-system): Mark ignored arguments.
7456 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7457 * help.el (resize-temp-buffer-window):
7458 * window.el (display-buffer-in-major-side-window)
7459 (display-buffer-in-side-window, display-buffer-in-previous-window):
7460 Remove unused variables.
7461 * isearch.el (isearch-forward-symbol):
7462 * version.el (emacs-bzr-version-bzr):
7463 * international/mule-cmds.el (current-language-environment):
7464 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7465 (x-handle-display):
7466 * term/pc-win.el (x-list-fonts, x-display-planes)
7467 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7468 (x-server-version, x-display-screens, x-display-mm-height)
7469 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7470 (x-selection-owner-p, x-own-selection-internal)
7471 (x-disown-selection-internal, x-get-selection-internal)
7472 (msdos-initialize-window-system):
7473 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7474 * term/x-win.el (x-handle-no-bitmap-icon):
7475 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7476 (vc-default-find-file-hook, vc-default-extra-menu):
7477 Mark ignored arguments.
7478
7479 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7482 break-condition in the context of the debugged code (bug#12685).
7483
7484 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7485
7486 * comint.el:
7487 Do not use an overlay to highlight the last prompt. (Bug#14744)
7488 (comint-mode): Make comint-last-prompt buffer local.
7489 (comint-last-prompt): New variable.
7490 (comint-last-prompt-overlay): Remove. Superseded by
7491 comint-last-prompt.
7492 (comint-snapshot-last-prompt, comint-output-filter):
7493 Use comint-last-prompt.
7494
7495 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7496
7497 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7498 (frameset-save): Check validity of the resulting frameset.
7499
7500 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7501
7502 * ido.el (ido-record-command): Add doc string.
7503
7504 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7505
7506 * frameset.el (frameset): Do not disable creation of the default
7507 frameset-p predicate. Doc fix.
7508 (frameset-valid-p): New function, copied from the old predicate-p.
7509 Add additional checks.
7510 (frameset-restore): Check with frameset-valid-p.
7511 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7512 (frameset-name, frameset-description, frameset-properties)
7513 (frameset-states): Add docstring.
7514 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7515 (frameset-filter-alist): Doc fixes.
7516
7517 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7520
7521 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7524 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7525 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7526 (byte-compile-normal-call): Remove obsolescence check.
7527
7528 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * frameset.el (frameset-restore): Doc fix.
7531
7532 * register.el (frameset-frame-id, frameset-frame-with-id)
7533 (frameset-p, frameset-restore, frameset-save): Declare.
7534 (register-alist): Document framesets.
7535 (frameset-session-filter-alist): Declare.
7536 (frameset-to-register): New function.
7537 (jump-to-register): Implement jumping to framesets. Doc fix.
7538 (describe-register-1): Describe framesets.
7539
7540 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7541
7542 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7545 Use lexical-binding.
7546
7547 * frameset.el (frameset): Use type vector, not list (incompatible
7548 change). Do not declare a new constructor, use the default one.
7549 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7550 `name' and `description', respectively, and add read-only slot
7551 `timestamp'. Doc fixes.
7552 (frameset-copy, frameset-persistent-filter-alist)
7553 (frameset-filter-alist, frameset-switch-to-gui-p)
7554 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7555 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7556 (frameset-filter-iconified, frameset-keep-original-display-p):
7557 Doc fixes.
7558 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7559 Rename from frameset-filter-(save|restore)-param. All callers changed.
7560 Doc fix.
7561 (frameset-p): Adapt to change to vector and be more thorough.
7562 Change arg name to OBJECT. Doc fix.
7563 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7564 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7565 All callers changed.
7566 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7567 All callers changed.
7568 (frameset--record-minibuffer-relationships): Rename from
7569 frameset--process-minibuffer-frames. All callers changed.
7570 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7571 Use new default constructor (again). Doc fix.
7572 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7573 All callers changed.
7574 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7575 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7576 Doc fix.
7577 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7578 PARAMETERS and WINDOW-STATE, respectively.
7579 (frameset-restore): Add new keyword argument PREDICATE.
7580 Reset frameset--target-display to nil. Doc fix.
7581
7582 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7585 (bat-mode): Use it.
7586 (bat-mode-syntax-table): Mark \n as end-of-comment.
7587 (bat-font-lock-keywords): Remove comment rule.
7588
7589 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7590 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7591
7592 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7593 (byte-compile-callargs-warn): Use `push'.
7594 (byte-compile-arglist-warn): Ignore higher-order "calls".
7595 (byte-compile-file-form-autoload): Use `pcase'.
7596 (byte-compile-function-form): If quoting a symbol, check that it exists.
7597
7598 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7599
7600 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7601 and add a few popular commands found in batch files.
7602 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7603 (dos-mode): Doc fixes.
7604
7605 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7608 (dos-mode): Use setq-local. Add space after "rem".
7609 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7610 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7611
7612 2013-08-07 Arni Magnusson <arnima@hafro.is>
7613
7614 * progmodes/dos.el: New file.
7615 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7616 dos-mode.
7617
7618 2013-08-06 Glenn Morris <rgm@gnu.org>
7619
7620 * calendar/calendar.el: Add new faces, and day-header-array.
7621 (calendar-weekday-header, calendar-weekend-header)
7622 (calendar-month-header): New faces.
7623 (calendar-day-header-construct): New function.
7624 (calendar-day-header-width): Also :set calendar-day-header-array.
7625 (calendar-american-month-header, calendar-european-month-header)
7626 (calendar-iso-month-header): Use calendar- faces.
7627 (calendar-generate-month):
7628 Use calendar-day-header-array for day headers; apply faces to them.
7629 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7630 (calendar-abbrev-construct): Add optional maxlen argument.
7631 (calendar-day-name-array): Doc fix.
7632 (calendar-day-name-array, calendar-abbrev-length)
7633 (calendar-day-abbrev-array):
7634 Also :set calendar-day-header-array, and maybe redraw.
7635 (calendar-day-header-array): New option. (Bug#15007)
7636 (calendar-font-lock-keywords): Set to nil and make obsolete.
7637 (calendar-day-name): Add option to use header array.
7638
7639 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640
7641 * net/shr.el (shr-render-td): Remove debugging.
7642 (shr-render-td): Make width computation consistent by defaulting
7643 all zero-width columns to 10 characters. This may not be optimal,
7644 but it's at least consistent.
7645 (shr-make-table-1): Redo last change to fix the real problem in
7646 colspan handling.
7647
7648 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7649
7650 * files.el (cache-long-line-scans):
7651 Make obsolete alias to `cache-long-scans'.
7652
7653 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7654
7655 * frameset.el (frameset, frameset-filter-alist)
7656 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7657 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7658 (frameset-compute-pos): Rename from frameset--compute-pos,
7659 and add docstring.
7660 (frameset-move-onscreen): Use frameset-compute-pos.
7661 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7662
7663 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7664 Fix typos in docstrings.
7665
7666 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7667
7668 * frame.el (get-other-frame): Tiny cleanup.
7669
7670 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * vc/vc.el (vc-default-ignore-completion-table):
7673 Silence byte-compiler warning.
7674
7675 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7676 slot, which can indeed be nil.
7677 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7678 Move entry for `left' from persistent to live filter alist.
7679 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7680 Doc fixes.
7681 (frameset-filter-params): When restoring a frame, copy items added to
7682 `filtered', to avoid unwittingly modifying the original parameters.
7683 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7684 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7685
7686 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7687 to use looking-at-p instead of looking-at. (Bug#15028)
7688
7689 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 Revert introduction of isearch-filter-predicates (bug#14714).
7692 Rely on add-function instead.
7693 * isearch.el (isearch-filter-predicates): Rename it back to
7694 isearch-filter-predicate.
7695 (isearch-message-prefix): Use advice-function-mapc and advice
7696 properties to get the isearch-message-prefix.
7697 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7698 instead of run-hook-with-args-until-failure.
7699 (isearch-filter-visible): Not obsolete any more.
7700 * loadup.el: Preload nadvice.
7701 * replace.el (perform-replace): Revert to funcall
7702 instead of run-hook-with-args-until-failure.
7703 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7704 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7705 dired-isearch-filenames-toggle; make it into a proper minor mode.
7706 Use add/remove-function.
7707 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7708 Call the minor-mode rather than add/remove-hook.
7709 (dired-isearch-filter-filenames):
7710 Remove isearch-message-prefix property.
7711 * info.el (Info--search-loop): New function, extracted from Info-search.
7712 Funcall isearch-filter-predicate instead of
7713 run-hook-with-args-until-failure isearch-filter-predicates.
7714 (Info-search): Use it.
7715 (Info-mode): Use isearch-filter-predicate instead of
7716 isearch-filter-predicates.
7717
7718 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7719
7720 Do not call to `selected-window' where it is assumed by default.
7721 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7722 `window-hscroll', `window-width', `window-height', `window-buffer',
7723 `window-frame', `window-start', `window-point', `next-window'
7724 and `window-display-table'.
7725 * abbrev.el (abbrev--default-expand):
7726 * bs.el (bs--show-with-configuration):
7727 * buff-menu.el (Buffer-menu-mouse-select):
7728 * calc/calc.el (calc):
7729 * calendar/calendar.el (calendar-generate-window):
7730 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7731 (diary-make-entry):
7732 * comint.el (send-invisible, comint-dynamic-complete-filename)
7733 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7734 * completion.el (complete):
7735 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7736 * disp-table.el (describe-current-display-table):
7737 * doc-view.el (doc-view-insert-image):
7738 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7739 * ehelp.el (with-electric-help):
7740 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7741 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7742 * emacs-lisp/helper.el (Helper-help-scroller):
7743 * emulation/cua-base.el (cua--post-command-handler-1):
7744 * eshell/esh-mode.el (eshell-output-filter):
7745 * ffap.el (ffap-gnus-wrapper):
7746 * help-macro.el (make-help-screen):
7747 * hilit-chg.el (highlight-compare-buffers):
7748 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7749 * hl-line.el (global-hl-line-highlight):
7750 * icomplete.el (icomplete-simple-completing-p):
7751 * isearch.el (isearch-done):
7752 * jit-lock.el (jit-lock-stealth-fontify):
7753 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7754 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7755 * mpc.el (mpc-tagbrowser, mpc):
7756 * net/rcirc.el (rcirc-any-buffer):
7757 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7758 * play/landmark.el (landmark-max-width, landmark-max-height):
7759 * play/zone.el (zone):
7760 * progmodes/compile.el (compilation-goto-locus):
7761 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7762 * progmodes/etags.el (find-tag-other-window):
7763 * progmodes/fortran.el (fortran-column-ruler):
7764 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7765 * progmodes/verilog-mode.el (verilog-point-text):
7766 * reposition.el (reposition-window):
7767 * rot13.el (toggle-rot13-mode):
7768 * server.el (server-switch-buffer):
7769 * shell.el (shell-dynamic-complete-command)
7770 (shell-dynamic-complete-environment-variable):
7771 * simple.el (insert-buffer, set-selective-display)
7772 (delete-completion-window):
7773 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7774 (speedbar-recenter):
7775 * startup.el (fancy-splash-head):
7776 * textmodes/ispell.el (ispell-command-loop):
7777 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7778 * tutorial.el (help-with-tutorial):
7779 * vc/add-log.el (add-change-log-entry):
7780 * vc/compare-w.el (compare-windows):
7781 * vc/ediff-help.el (ediff-indent-help-message):
7782 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7783 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7784 (ediff-setup-control-frame):
7785 * vc/emerge.el (emerge-position-region):
7786 * vc/pcvs-util.el (cvs-bury-buffer):
7787 * window.el (walk-windows, mouse-autoselect-window-select):
7788 * winner.el (winner-set-conf, winner-undo): Related users changed.
7789
7790 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * frameset.el (frameset--set-id): Doc fix.
7793 (frameset-frame-id, frameset-frame-id-equal-p)
7794 (frameset-locate-frame-id): New functions.
7795 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7796 (frameset-restore): Use them.
7797
7798 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7799
7800 Do not call to `selected-frame' where it is assumed by default.
7801 Affected functions are `raise-frame', `redraw-frame',
7802 `frame-first-window', `frame-terminal' and `delete-frame'.
7803 * calendar/appt.el (appt-disp-window):
7804 * epg.el (epg-wait-for-completion):
7805 * follow.el (follow-delete-other-windows-and-split)
7806 (follow-avoid-tail-recenter):
7807 * international/mule.el (set-terminal-coding-system):
7808 * mail/rmail.el (rmail-mail-return):
7809 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7810 * progmodes/f90.el (f90-add-imenu-menu):
7811 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7812 * server.el (server-switch-buffer):
7813 * simple.el (delete-completion-window):
7814 * talk.el (talk):
7815 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7816 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7817 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7818 * vc/ediff.el (ediff-documentation): Related users changed.
7819 * frame.el (selected-terminal): Remove the leftover.
7820
7821 2013-08-05 Glenn Morris <rgm@gnu.org>
7822
7823 * calendar/calendar.el (calendar-generate-month):
7824 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7825 (calendar-generate-month, calendar-font-lock-keywords):
7826 Fix for calendar-day-header-width > length of any day name.
7827
7828 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7829
7830 * desktop.el (desktop-clear): Use new name of sort predicate.
7831
7832 * frameset.el (frameset): Add docstring. Move :version property to its
7833 own `version' slot.
7834 (frameset-copy): Rename from copy-frameset.
7835 (frameset-p): Check more thoroughly.
7836 (frameset-prop): Do not check for :version, which is no longer a prop.
7837 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7838 Use new :never value instead of t.
7839 (frameset-filter-alist): Expand and clarify docstring.
7840 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7841 (frameset-filter-minibuffer, frameset-filter-save-param)
7842 (frameset-filter-restore-param, frameset-filter-iconified):
7843 Add pointer to docstring of frameset-filter-alist.
7844 (frameset-filter-params): Rename filter values to be more meaningful:
7845 :never instead of t, and reverse the meanings of :save and :restore.
7846 (frameset--process-minibuffer-frames): Clarify error message.
7847 (frameset-save): Avoid unnecessary and confusing call to framep.
7848 Use new BOA constructor for framesets.
7849 (frameset--reuse-list): Doc fix.
7850 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7851 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7852 (frameset-minibufferless-first-p): Doc fix.
7853 Rename from frameset-sort-frames-for-deletion.
7854 (frameset-restore): Doc fixes. Use new function names.
7855 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7856
7857 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7858
7859 * desktop.el (desktop-restore-forces-onscreen)
7860 (desktop-restore-reuses-frames): Document :keyword constant values.
7861 (desktop-filter-parameters-alist): Remove, now identical to
7862 frameset-filter-alist.
7863 (desktop--filter-tty*): Remove, moved to frameset.el.
7864 (desktop-save-frameset, desktop-restore-frameset):
7865 Do not pass :filters argument.
7866
7867 * frameset.el (frameset-live-filter-alist)
7868 (frameset-persistent-filter-alist): New variables.
7869 (frameset-filter-alist): Use them. Add autoload cookie.
7870 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7871 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7872 `frameset--id' (it's supposed to be internal to frameset.el).
7873 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7874 (frameset--initial-params): New function.
7875 (frameset--get-frame): Use it. Doc fix.
7876 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7877 Accept :all, not 'all.
7878 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7879 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7880 with fbound symbols. Fix frame id matching, and remove matching ids if
7881 the frame being restored is deleted. Obey :delete.
7882
7883 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * subr.el (macrop): New function.
7886 (text-clone--maintaining): New var.
7887 (text-clone--maintain): Rename from text-clone-maintain. Use it
7888 instead of inhibit-modification-hooks.
7889
7890 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7891 a proxy, so as handle autoloads and redefinitions of the target.
7892 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7893
7894 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7895 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7896 (pcase--mutually-exclusive-p): New function.
7897 (pcase--split-consp): Use it.
7898 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7899 mutually exclusive with the current predicate.
7900
7901 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7902 (edebug-macrop): Remove. Use `macrop' instead.
7903 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7904 (ad-macro-p):
7905 * eshell/esh-cmd.el (eshell-macrop):
7906 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7907
7908 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7911 (advice-mapc): New function, using it.
7912 (advice-function-member-p): New function.
7913 (advice--normalize): Store the cdr in advice--saved-rewrite since
7914 that's the part that will be changed.
7915 (advice--symbol-function): New function.
7916 (advice-remove): Handle removal before the function is defined.
7917 Adjust to new advice--saved-rewrite.
7918 (advice-member-p): Use advice-function-member-p and
7919 advice--symbol-function.
7920
7921 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7922
7923 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7924 (frameset-filter-minibuffer): Doc fix.
7925 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7926 (frameset--set-id, frameset--process-minibuffer-frames)
7927 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7928 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7929
7930 * desktop.el (desktop-clear): Only delete frames when called
7931 interactively and desktop-restore-frames is non-nil. Doc fix.
7932 (desktop-read): Set desktop-saved-frameset to nil.
7933
7934 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7935
7936 * vc/vc.el (vc-ignore): Rewrite.
7937 (vc-default-ignore-completion-table, vc--read-lines)
7938 (vc--add-line, vc--remove-regexp): New functions.
7939
7940 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7941 (vc-svn-ignore-completion-table): New function.
7942
7943 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7944 (vc-hg-ignore-completion-table)
7945 (vc-hg-find-ignore-file): New functions.
7946
7947 * vc/vc-git.el (vc-git-ignore): Rewrite.
7948 (vc-git-ignore-completion-table)
7949 (vc-git-find-ignore-file): New functions.
7950
7951 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7952
7953 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7954 (vc-bzr-ignore-completion-table)
7955 (vc-bzr-find-ignore-file): New functions.
7956
7957 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * frameset.el (frameset-prop): New function and setter.
7960 (frameset-save): Do not modify frame list passed by the caller.
7961
7962 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7965
7966 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7969 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7970
7971 * custom.el (custom-initialize-default, custom-initialize-set)
7972 (custom-initialize-reset, custom-initialize-changed): Affect the
7973 toplevel-default-value (bug#6275, bug#14586).
7974 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7975 for bug#6275.
7976
7977 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7978
7979 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7980 Add cl-def* expressions.
7981
7982 * frameset.el (frameset-filter-params): Fix order of arguments.
7983
7984 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7985
7986 Move code related to saving frames to frameset.el.
7987 * desktop.el: Require frameset.
7988 (desktop-restore-frames): Doc fix.
7989 (desktop-restore-reuses-frames): Rename from
7990 desktop-restoring-reuses-frames.
7991 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7992 (desktop-clear): Clear frames too.
7993 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7994 (desktop--filter-tty*, desktop-save, desktop-read):
7995 Use frameset functions.
7996 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7997 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7998 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7999 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8000 (desktop--process-minibuffer-frames, desktop-save-frames)
8001 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8002 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8003 (desktop--sort-states, desktop-restoring-frames-p)
8004 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8005 (desktop-restoring-frameset-p, desktop-restore-frameset)
8006 (desktop--check-dont-save, desktop-save-frameset): New functions.
8007 (desktop--app-id): New constant.
8008 (desktop-first-buffer, desktop-buffer-ok-count)
8009 (desktop-buffer-fail-count): Move before first use.
8010 * frameset.el: New file.
8011
8012 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * files.el: Use lexical-binding.
8015 (dir-locals-read-from-file): Remove unused `err' variable.
8016 (hack-dir-local-variables--warned-coding): New var.
8017 (hack-dir-local-variables): Use it to avoid repeated warnings.
8018 (make-backup-file-name--default-function): New function.
8019 (make-backup-file-name-function): Use it as default.
8020 (buffer-stale--default-function): New function.
8021 (buffer-stale-function): Use it as default.
8022 (revert-buffer-insert-file-contents--default-function): New function.
8023 (revert-buffer-insert-file-contents-function): Use it as default.
8024 (insert-directory): Avoid add-to-list.
8025
8026 * autorevert.el (auto-revert-handler): Simplify.
8027 Use buffer-stale--default-function.
8028
8029 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8030
8031 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8032
8033 * whitespace.el (whitespace-ensure-local-variables): New function.
8034 (whitespace-cleanup-region): Call it.
8035 (whitespace-turn-on): Call it.
8036
8037 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8038
8039 Complete file name handlers.
8040
8041 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8042 (tramp-handle-verify-visited-file-modtime)
8043 (tramp-handle-file-notify-rm-watch): New functions.
8044 (tramp-call-process): Do not bind `default-directory'.
8045
8046 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8047 Order alphabetically.
8048 <access-file, add-name-to-file, dired-call-process>:
8049 <dired-compress-file, file-acl, file-notify-rm-watch>:
8050 <file-ownership-preserved-p, file-selinux-context>:
8051 <make-directory-internal, make-symbolic-link, set-file-acl>:
8052 <set-file-selinux-context, set-visited-file-modtime>:
8053 <verify-visited-file-modtime>: Add handler.
8054 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8055
8056 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8057 <file-notify-add-watch, file-notify-rm-watch>:
8058 <set-file-times, set-visited-file-modtime>:
8059 <verify-visited-file-modtime>: Add handler.
8060 (with-tramp-gvfs-error-message)
8061 (tramp-gvfs-handle-set-visited-file-modtime)
8062 (tramp-gvfs-fuse-file-name): Remove.
8063 (tramp-gvfs-handle-file-notify-add-watch)
8064 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8065 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8066
8067 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8068 Order alphabetically.
8069 <file-notify-rm-watch>: Use default Tramp handler.
8070 <executable-find>: Remove private handler.
8071 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8072 `default-directory'.
8073 (tramp-sh-handle-executable-find)
8074 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8075 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8076 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8077 Do not use `format' in `tramp-message'.
8078
8079 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8080 <file-notify-rm-watch, set-visited-file-modtime>:
8081 <verify-visited-file-modtime>: Add handler.
8082 (tramp-smb-call-winexe): Do not bind `default-directory'.
8083
8084 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8085
8086 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8087
8088 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8089
8090 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8091 use it.
8092 (log-view-diff-changeset): Same.
8093 (log-view-diff-common): Call backend command `previous-revision'
8094 to find out the previous revision, in both cases. Swap the
8095 variables `to' and `fr', so that `fr' usually refers to the
8096 earlier revision (Bug#14989).
8097
8098 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8099
8100 * ibuf-ext.el (ibuffer-filter-by-filename):
8101 Make it work with dired buffers too.
8102
8103 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8104
8105 * emacs-lisp/re-builder.el (reb-color-display-p):
8106 * files.el (save-buffers-kill-terminal):
8107 * net/browse-url.el (browse-url):
8108 * server.el (server-save-buffers-kill-terminal):
8109 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8110 Prefer nil to selected-frame for the first arg of frame-parameter.
8111
8112 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8113
8114 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8115
8116 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8117
8118 * minibuffer.el (completion--twq-all): Try and preserve each
8119 completion's case choice (bug#14907).
8120
8121 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8122
8123 * net/network-stream.el (open-network-stream): Mention the new
8124 :nogreeting parameter.
8125 (network-stream-open-starttls): Use the :nogreeting parameter
8126 (bug#14938).
8127
8128 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8129
8130 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8131 more natural than popping.
8132
8133 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8134 (shr-urlify): Highlight under mouse.
8135
8136 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8137
8138 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8139
8140 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8141
8142 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8143 buffer for output.
8144
8145 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8146 point-min==1. Fix search string. Fix parentheses missing.
8147
8148 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8149 assume point-min==1. Fix search string. Fix parentheses missing.
8150
8151 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8152
8153 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8154 buffer for output.
8155
8156 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8157
8158 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8159 initial frame is minibuffer-less. (Bug#14841)
8160
8161 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8162
8163 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8164 option.
8165
8166 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8167 (tramp-maybe-open-connection): Use it.
8168
8169 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8172 minimal set of parameters passed when creating a frame, because
8173 the minibuffer status of a frame cannot be changed later.
8174
8175 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8176
8177 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8178 replace-regexp-in-string and inadvertent omissions in previous change.
8179 (todo-filter-items): Ensure only file names are comma-separated in
8180 name of filtered items buffer.
8181
8182 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * desktop.el: Optionally force offscreen frames back onscreen.
8185 (desktop-restoring-reuses-frames): New option.
8186 (desktop--compute-pos, desktop--move-onscreen): New functions.
8187 (desktop--make-frame): Use desktop--move-onscreen.
8188
8189 2013-07-27 Alan Mackenzie <acm@muc.de>
8190
8191 Fontify a Java generic method as a function.
8192 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8193 value to t.
8194
8195 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8196
8197 * calendar/todo-mode.el: Add command to rename todo files.
8198 (todo-rename-file): New command.
8199 (todo-key-bindings-t): Add key binding for it. Change the
8200 bindings of todo-filter-regexp-items(-multifile) to use `x'
8201 instead of `r', since the latter is better suited to the new
8202 renaming command.
8203
8204 2013-07-27 Alan Mackenzie <acm@muc.de>
8205
8206 Make Java try-with-resources statement parse properly.
8207 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8208 (c-block-stmt-1-2-key): New language constants/variables.
8209 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8210 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8211 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8212 with c-block-stmt-1-2-key.
8213
8214 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * desktop.el (desktop--make-frame): Apply most frame parameters after
8217 creating the frame to force (partially or totally) offscreen frames to
8218 be restored as such.
8219
8220 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8221
8222 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8223 (Bug#14948)
8224
8225 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8228 `base' arg of backtrace-frame.
8229
8230 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8231
8232 * simple.el (list-processes): Doc fix.
8233
8234 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8235
8236 * desktop.el (desktop--select-frame):
8237 Try harder to reuse existing frames.
8238
8239 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8242 (edebug-eval): Use backtrace-eval.
8243 (edebug--display, edebug--recursive-edit): Don't let-bind the
8244 edebug-outer-* vars that keep track of variables we locally let-bind.
8245 (edebug-outside-excursion): Don't restore outside values of locally
8246 let-bound vars.
8247 (edebug--display): Use user-error.
8248 (cl-lexical-debug, cl-debug-env): Remove.
8249
8250 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8251
8252 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8253 are restored to be sure that they are visible before deleting any
8254 remaining ones.
8255
8256 2013-07-26 Matthias Meulien <orontee@gmail.com>
8257
8258 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8259 vc-print-root-log. (Bug#14948)
8260
8261 2013-07-26 Richard Stallman <rms@gnu.org>
8262
8263 Add aliases for encrypting mail.
8264 * epa.el (epa-mail-aliases): New option.
8265 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8266 Bind inhibit-read-only so read-only text doesn't ruin everything.
8267 (epa-mail-default-recipients): New subroutine broken out.
8268 Handle epa-mail-aliases.
8269
8270 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 Add support for lexical variables to the debugger's `e' command.
8273 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8274 vars, except for debugger-outer-match-data.
8275 (debugger-frame-number): Move check for "on a function call" from
8276 callers into it. Add `skip-base' argument.
8277 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8278 (debugger-env-macro): Only reset the state stored in non-variables,
8279 i.e. current-buffer and match-data.
8280 (debugger-eval-expression): Rewrite using backtrace-eval.
8281 * subr.el (internal--called-interactively-p--get-frame): Remove.
8282 (called-interactively-p):
8283 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8284 `base' arg of backtrace-frame instead.
8285
8286 2013-07-26 Glenn Morris <rgm@gnu.org>
8287
8288 * align.el (align-regexp): Doc fix. (Bug#14857)
8289 (align-region): Explicit error if subexpression missing/does not match.
8290
8291 * simple.el (global-visual-line-mode):
8292 Do not duplicate the mode lighter. (Bug#14858)
8293
8294 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8295
8296 * window.el (display-buffer): In display-buffer bind
8297 split-window-keep-point to t, bug#14829.
8298
8299 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8302 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8303 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8304 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8305 Change accordingly.
8306 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8307 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8308
8309 2013-07-25 Glenn Morris <rgm@gnu.org>
8310
8311 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8312
8313 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8314
8315 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8316 parameter to modify-frame-parameters if the value has not changed;
8317 this is a workaround for bug#14949.
8318 (desktop--make-frame): On cl-delete-if call, check parameter name,
8319 not full parameter.
8320
8321 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8322
8323 * vc/vc.el (vc-ignore): New function.
8324
8325 * vc/vc-svn.el (vc-svn-ignore): New function.
8326
8327 * vc/vc-hg.el (vc-hg-ignore): New function.
8328
8329 * vc/vc-git.el (vc-git-ignore): New function.
8330
8331 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8332 (vc-dir-ignore): New function.
8333
8334 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8335 (cvs-append-to-ignore): Move here from pcvs.el.
8336
8337 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8338
8339 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8340
8341 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8342
8343 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8344 (desktop-restore-frames): Warn when deleting an existing frame failed.
8345
8346 2013-07-24 Glenn Morris <rgm@gnu.org>
8347
8348 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8349
8350 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8351
8352 * filenotify.el (file-notify-supported-p):
8353 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8354 Remove functions.
8355
8356 * autorevert.el (auto-revert-use-notify)
8357 (auto-revert-notify-add-watch):
8358 * net/tramp.el (tramp-file-name-for-operation):
8359 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8362 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8363 Remove `file-notify-supported-p' entry.
8364
8365 2013-07-24 Glenn Morris <rgm@gnu.org>
8366
8367 * printing.el: Replace all uses of deleted ps-windows-system,
8368 ps-lp-system, ps-flatten-list with lpr- versions.
8369
8370 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8373 checked with memq (bug#14935).
8374
8375 * files.el (revert-buffer-function): Use a non-nil default.
8376 (revert-buffer-preserve-modes): Declare var to
8377 provide access to the `preserve-modes' argument.
8378 (revert-buffer): Let-bind it.
8379 (revert-buffer--default): New function, extracted from revert-buffer.
8380
8381 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * lpr.el: Signal print errors more prominently.
8384 (print-region-function): Don't default to nil.
8385 (lpr-print-region): New function, extracted from print-region-1.
8386 Check lpr's return value and signal an error in case of problem.
8387 (print-region-1): Use it.
8388 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8389 versions instead.
8390 (ps-printer-name): Default to nil.
8391 (ps-printer-name-option): Default to lpr-printer-switch.
8392 (ps-print-region-function): Don't default to nil.
8393 (ps-postscript-code-directory): Simplify default.
8394 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8395 (ps-string-list, ps-eval-switch, ps-flatten-list)
8396 (ps-flatten-list-1): Remove.
8397 (ps-multibyte-buffer): Avoid setq.
8398 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8399 (print-region-function, ps-print-region-function): Don't set them here.
8400
8401 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8402
8403 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8404 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8405 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8406 (ido-decorations): Doc fix.
8407
8408 * ansi-color.el: Fix old URL.
8409
8410 2013-07-23 Michael R. Mauger <michael@mauger.com>
8411
8412 * progmodes/sql.el: Version 3.3
8413 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8414 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8415 (sql-interactive-remove-continuation-prompt): Rewrite, use
8416 functions above. Fix continuation prompt and complete output line
8417 handling.
8418 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8419 redirected output buffer.
8420 (sql-mode): Restore deleted code (Bug#13591).
8421
8422 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8423
8424 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8425
8426 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8427
8428 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8429
8430 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8432 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8433
8434 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8435
8436 * desktop.el (desktop-clear): Simplify; remove useless checks
8437 against invalid buffer names.
8438 (desktop-list*): Use cl-list*.
8439 (desktop-buffer-info, desktop-create-buffer): Simplify.
8440
8441 2013-07-23 Leo Liu <sdl.web@gmail.com>
8442
8443 * bookmark.el (bookmark-make-record): Restore NAME as a default
8444 value. (Bug#14933)
8445
8446 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8447
8448 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8449 extracted from autoload--insert-text.
8450 (autoload--insert-text): Remove.
8451 (autoload--print-cookie-text): New function, extracted from
8452 autoload--insert-cookie-text.
8453 (autoload--insert-cookie-text): Remove.
8454 (autoload-generate-file-autoloads): Adjust calls accordingly.
8455
8456 * winner.el (winner-hook-installed-p): Remove.
8457 (winner-mode): Simplify accordingly.
8458
8459 * subr.el (add-to-list): Fix compiler-macro when `append' is
8460 not constant. Don't use `cl-member' for the base case.
8461
8462 * progmodes/subword.el: Fix boundary case (bug#13758).
8463 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8464 own group.
8465 (subword-backward-regexp): Make it a constant.
8466 (subword-forward-internal): Don't treat a trailing capital as the
8467 beginning of a word.
8468
8469 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8470
8471 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8472 global value of tabulated-list-revert-hook (bug#14930).
8473
8474 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * desktop.el: Require 'cl-lib.
8477 (desktop-before-saving-frames-functions): New hook.
8478 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8479 for frames being saved. Rename from desktop--save-minibuffer-frames.
8480 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8481 Do not save frames with non-nil `desktop-dont-save' parameter.
8482 Filter out deleted frames.
8483 (desktop--find-frame): Use cl-find-if.
8484 (desktop--select-frame): Use cl-(first|second|third) to access values
8485 of desktop-mini.
8486 (desktop--make-frame): Use cl-delete-if.
8487 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8488 (desktop-restore-frames): Use cl-(first|second|third) to access values
8489 of desktop-mini. Look for visible frame at the end, not while
8490 restoring frames.
8491
8492 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8493 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8494 Use string-match-p, looking-at-p (bug#14927).
8495
8496 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8497
8498 * desktop.el (desktop-saved-frame-states):
8499 Rename from desktop--saved-states; all users changed.
8500 (desktop-save-frames): Rename from desktop--save-frames.
8501 Do not save state to desktop file.
8502 (desktop-save): Save desktop-saved-frame-states to desktop file
8503 and reset to nil.
8504 (desktop-restoring-frames-p): New function.
8505 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8506 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8507 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8508
8509 * desktop.el: Correctly restore iconified frames.
8510 (desktop--filter-iconified-position): New function.
8511 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8512
8513 2013-07-20 Glenn Morris <rgm@gnu.org>
8514
8515 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8516 Let `message' do the formatting.
8517 (def-gdb-preempt-display-buffer): Add explicit format.
8518
8519 * image-dired.el (image-dired-track-original-file):
8520 Use with-current-buffer.
8521 (image-dired-track-thumbnail): Use with-current-buffer.
8522 Avoid changing point of wrong window.
8523
8524 * image-dired.el (image-dired-track-original-file):
8525 Avoid changing point of wrong window. (Bug#14909)
8526
8527 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8528
8529 * progmodes/gdb-mi.el (gdb-done-or-error):
8530 Guard against "%" in gdb output. (Bug#14127)
8531
8532 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8533
8534 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8535 (Bug#14826)
8536
8537 * international/mule.el (coding-system-iso-2022-flags): Fix last
8538 change.
8539
8540 2013-07-20 Kenichi Handa <handa@gnu.org>
8541
8542 * international/mule.el (coding-system-iso-2022-flags):
8543 Add `8-bit-level-4'. (Bug#8522)
8544
8545 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8546
8547 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8548 (bug#14815).
8549
8550 * net/eww.el (eww-process-text-input): Allow inputting when the
8551 point is at the start of the line, as the properties aren't
8552 front-sticky.
8553
8554 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8555 degenerate widths.
8556
8557 2013-07-19 Richard Stallman <rms@gnu.org>
8558
8559 * epa.el (epa-popup-info-window): Doc fix.
8560
8561 * subr.el (split-string): New arg TRIM.
8562
8563 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8566 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8567
8568 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8569
8570 * filenotify.el (file-notify--library): Rename from
8571 `file-notify-support'. Do not autoload. Adapt all uses.
8572 (file-notify-supported-p): New defun.
8573
8574 * autorevert.el (auto-revert-use-notify):
8575 Use `file-notify-supported-p' instead of `file-notify-support'.
8576 Adapt docstring.
8577 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8578
8579 * net/tramp.el (tramp-file-name-for-operation):
8580 Add `file-notify-supported-p'.
8581
8582 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8583 New defun.
8584 (tramp-sh-file-name-handler-alist): Add it as handler for
8585 `file-notify-supported-p '.
8586
8587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8589 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8590 Add `ignore' as handler for `file-notify-*' functions.
8591
8592 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8593
8594 * simple.el (line-move-partial, line-move): Don't start vscroll or
8595 scroll-up if the current line is not taller than the window.
8596 (Bug#14881)
8597
8598 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8599
8600 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8601 highlight question marks in the method names as strings.
8602 (ruby-block-beg-keywords): Inline.
8603 (ruby-font-lock-keyword-beg-re): Extract from
8604 `ruby-font-lock-keywords'.
8605
8606 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8607
8608 * frame.el (blink-cursor-blinks): New defcustom.
8609 (blink-cursor-blinks-done): New defvar.
8610 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8611 (blink-cursor-timer-function): Check if number of blinks has been
8612 done on X and NS.
8613 (blink-cursor-suspend, blink-cursor-check): New defuns.
8614
8615 2013-07-15 Glenn Morris <rgm@gnu.org>
8616
8617 * edmacro.el (edmacro-format-keys): Fix previous change.
8618
8619 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8620
8621 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8622 The hack didn't work outside English locales anyway.
8623
8624 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8625
8626 * simple.el (define-alternatives): Rename from alternatives-define,
8627 per RMS' suggestion.
8628
8629 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8630
8631 * desktop.el (desktop-restore-frames): Change default to t.
8632 (desktop-restore-in-current-display): Now offer more options.
8633 (desktop-restoring-reuses-frames): New customization option.
8634 (desktop--saved-states): Doc fix.
8635 (desktop-filter-parameters-alist): New variable, renamed and expanded
8636 from desktop--excluded-frame-parameters.
8637 (desktop--target-display): New variable.
8638 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8639 (desktop--filter-tty*, desktop--filter-*-color)
8640 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8641 (desktop--filter-save-desktop-parm)
8642 (desktop-restore-in-original-display-p): New functions.
8643 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8644 (desktop--save-minibuffer-frames): New function, inspired by a similar
8645 function from Martin Rudalics.
8646 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8647 (desktop--restore-in-this-display-p): Remove.
8648 (desktop--find-frame): Rename from desktop--find-frame-in-display
8649 and add predicate argument.
8650 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8651 (desktop--reuse-list): New variable.
8652 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8653 New functions.
8654 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8655
8656 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8657
8658 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8659
8660 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8661
8662 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8663 Highlight conversion methods on Kernel.
8664
8665 2013-07-13 Alan Mackenzie <acm@muc.de>
8666
8667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8668 and comment it out. This out-commenting enables certain C++
8669 declarations to be parsed correctly.
8670
8671 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8672
8673 * international/mule.el (define-coding-system): Doc fix.
8674
8675 * simple.el (default-font-height): Don't call font-info if the
8676 frame's default font didn't change since the frame was created.
8677 (Bug#14838)
8678
8679 2013-07-13 Leo Liu <sdl.web@gmail.com>
8680
8681 * ido.el (ido-read-file-name): Guard against non-symbol value.
8682
8683 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8684
8685 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8686 in nested defuns.
8687
8688 2013-07-13 Leo Liu <sdl.web@gmail.com>
8689
8690 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8691 ido-set-matches call. (Bug#6852)
8692
8693 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8694
8695 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8696 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8697 Ruby 2.0.
8698 (ruby-font-lock-keywords): Distinguish calls to functions with
8699 module-like names from module references. Highlight character
8700 literals.
8701
8702 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8703
8704 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8705 (gdb-send): Handle continued commands. (Bug#14847)
8706
8707 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8708
8709 * desktop.el (desktop--v2s): Remove unused local variable.
8710 (desktop-save-buffer): Make defvar-local; adjust docstring.
8711 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8712 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8713
8714 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8715
8716 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8717
8718 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8719
8720 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8721 (Bug#14842)
8722
8723 2013-07-12 Glenn Morris <rgm@gnu.org>
8724
8725 * doc-view.el: Require cl-lib at runtime too.
8726 (doc-view-remove-if): Remove.
8727 (doc-view-search-next-match, doc-view-search-previous-match):
8728 Use cl-remove-if.
8729
8730 * edmacro.el: Require cl-lib at runtime too.
8731 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8732 (edmacro-mismatch, edmacro-subseq): Remove.
8733
8734 * shadowfile.el: Require cl-lib.
8735 (shadow-remove-if): Remove.
8736 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8737 Use cl-remove-if.
8738
8739 * wid-edit.el: Require cl-lib.
8740 (widget-choose): Use cl-remove-if.
8741 (widget-remove-if): Remove.
8742
8743 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8744 (ebrowse-delete-if-not): Remove.
8745 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8746 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8747 Use cl-delete-if-not.
8748
8749 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8750
8751 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8752 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8753
8754 2013-07-12 Leo Liu <sdl.web@gmail.com>
8755
8756 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8757
8758 2013-07-11 Glenn Morris <rgm@gnu.org>
8759
8760 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8761 (edebug-gensym-index, edebug-gensym):
8762 Remove reimplementation of cl-gensym.
8763 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8764
8765 * thumbs.el: Require cl-lib at run-time too.
8766 (thumbs-gensym-counter, thumbs-gensym):
8767 Remove reimplementation of cl-gensym.
8768 (thumbs-temp-file): Use cl-gensym.
8769
8770 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8771 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8772 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8773 (ert--union, ert--gensym-counter, ert--gensym-counter)
8774 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8775 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8776 (ert-make-test-unbound, ert--expand-should-1)
8777 (ert--expand-should, ert--should-error-handle-error)
8778 (should-error, ert--explain-equal-rec)
8779 (ert--plist-difference-explanation, ert-select-tests)
8780 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8781 Use cl-lib functions rather than reimplementations.
8782
8783 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8784
8785 * net/tramp.el (tramp-methods): Extend docstring.
8786 (tramp-connection-timeout): New defcustom.
8787 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8788 (with-tramp-progress-reporter): Simplify.
8789 (tramp-process-actions): Improve messages.
8790
8791 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8792 * net/tramp-sh.el (tramp-maybe-open-connection):
8793 Use `tramp-connection-timeout'.
8794 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8795 (Bug#14808)
8796
8797 2013-07-11 Leo Liu <sdl.web@gmail.com>
8798
8799 * ido.el (ido-read-file-name): Conform to the requirements of
8800 read-file-name. (Bug#11861)
8801 (ido-read-directory-name): Conform to the requirements of
8802 read-directory-name.
8803
8804 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8805
8806 * subr.el (delay-warning): New function.
8807
8808 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8809
8810 * simple.el (default-line-height): New function.
8811 (line-move-partial, line-move): Use it instead of computing the
8812 line height inline.
8813 (line-move-partial): Always compute ROWH. If the last line is
8814 partially-visible, but its text is completely visible, allow
8815 cursor to enter such a partially-visible line.
8816
8817 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8818
8819 Improve error messages. (Bug#14808)
8820
8821 * net/tramp.el (tramp-current-connection): New defvar, moved from
8822 tramp-sh.el.
8823 (tramp-message-show-progress-reporter-message): Remove, not
8824 needed anymore.
8825 (tramp-error-with-buffer): Show message in minibuffer.
8826 Discard input before waiting. Reset connection timestamp.
8827 (with-tramp-progress-reporter): Improve messages.
8828 (tramp-process-actions): Use progress reporter. Delete process in
8829 case of error. Improve messages.
8830
8831 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8832 Call `tramp-error-with-buffer' with vector and buffer.
8833 (tramp-current-connection): Remove.
8834 (tramp-maybe-open-connection): The car of
8835 `tramp-current-connection' are the first 3 slots of the vector.
8836
8837 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8838
8839 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8840 inside continued strings.
8841
8842 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8843
8844 Timestamp fixes for undo (Bug#14824).
8845 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8846
8847 2013-07-10 Leo Liu <sdl.web@gmail.com>
8848
8849 * files.el (require-final-newline): Allow safe local value.
8850 (Bug#14834)
8851
8852 2013-07-09 Leo Liu <sdl.web@gmail.com>
8853
8854 * ido.el (ido-read-directory-name): Handle fallback.
8855 (ido-read-file-name): Update DIR to ido-current-directory.
8856 (Bug#1516)
8857 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8858
8859 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8860
8861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8862 "autoload". Remove "warn lower camel case" section, previously
8863 commented out. Highlight negation char. Do not highlight the
8864 target in singleton method definitions.
8865
8866 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * faces.el (tty-setup-hook): Declare the hook.
8869
8870 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8871 and detect when a guard/pred depends on local vars (bug#14773).
8872 (pcase--u1): Adjust caller.
8873
8874 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8875
8876 * simple.el (line-move-partial, line-move): Account for
8877 line-spacing.
8878 (line-move-partial): Avoid setting vscroll when the last
8879 partially-visible line in window is of default height.
8880
8881 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8882
8883 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8884 been used a while.
8885
8886 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8887
8888 * subr.el (read-quoted-char): Remove unused local variable `char'.
8889
8890 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8891
8892 * ediff.el (ediff-version): Version update.
8893 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8894 (ediff-merge-with-ancestor-command, ediff-directories-command)
8895 (ediff-directories3-command, ediff-merge-directories-command)
8896 (ediff-merge-directories-with-ancestor-command): New functions.
8897 All are command-line interfaces to ediff: to facilitate calling
8898 Emacs with the appropriate ediff functions invoked.
8899
8900 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8901 (viper-save-kill-buffer): Check if buffer is modified.
8902
8903 * viper.el (viper-version): Version update.
8904 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8905
8906 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8907
8908 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8909 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8910 (viper-intercept-ESC-key): Simplify.
8911 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8912 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8913 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8914 (viper-setup-ESC-to-escape): New functions.
8915 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8916 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8917
8918 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8919
8920 * simple.el (default-font-height, window-screen-lines):
8921 New functions.
8922 (line-move, line-move-partial): Use them instead of
8923 frame-char-height and window-text-height. This makes scrolling
8924 text smoother when the buffer's default face uses a font that is
8925 different from the frame's default font.
8926
8927 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8928
8929 * files.el (write-file): Do not display confirm dialog for NS,
8930 it does its own dialog, which can't be canceled (Bug#14578).
8931
8932 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8933
8934 * simple.el (line-move-partial): Adjust the row returned by
8935 posn-at-point for the current window-vscroll. (Bug#14567)
8936
8937 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8938
8939 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
8940 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8941 spaces.
8942
8943 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8944
8945 * window.el (window-state-put-stale-windows): New variable.
8946 (window--state-put-2): Save list of windows without matching buffer.
8947 (window-state-put): Remove "bufferless" windows if possible.
8948
8949 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8950
8951 * simple.el (alternatives-define): Remove leftover :group keyword.
8952 Tweak docstring.
8953
8954 2013-07-06 Leo Liu <sdl.web@gmail.com>
8955
8956 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8957 (ido-enable-virtual-buffers): New variable.
8958 (ido-buffer-internal, ido-toggle-virtual-buffers)
8959 (ido-make-buffer-list): Use it.
8960 (ido-exhibit): Support turning on and off virtual buffers
8961 automatically.
8962
8963 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8964
8965 * simple.el (alternatives-define): New macro.
8966
8967 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * subr.el (read-quoted-char): Use read-key.
8970 (sit-for): Let read-event decode tty input (bug#14782).
8971
8972 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8973
8974 * calendar/todo-mode.el: Add handling of file deletion, both by
8975 mode command and externally. Fix various related bugs.
8976 Clarify Commentary and improve some documentation strings and code.
8977 (todo-delete-file): New command.
8978 (todo-check-file): New function.
8979 (todo-show): Handle external deletion of the file we're trying to
8980 show (bug#14688). Replace called-interactively-p by an optional
8981 prefix argument to avoid problematic interaction with catch form
8982 when byte compiled (bug#14702).
8983 (todo-quit): Handle external deletion of the archive's todo file.
8984 Make sure the buffer that was visiting the archive file is still
8985 live before trying to bury it.
8986 (todo-category-completions): Handle external deletion of any
8987 category completion files.
8988 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8989 of todo files, in case of external deletion.
8990 (todo-add-file): Replace unnecessary setq by let-binding.
8991 (todo-find-archive): Check whether there are any archives.
8992 Replace unnecessary setq by let-binding.
8993 (todo-archive-done-item): Use find-file-noselect to get the
8994 archive buffer whether or not the archive already exists.
8995 Remove superfluous code. Use file size instead of buffer-file-name to
8996 check if the archive is new; if it is, update list of archives.
8997 (todo-default-todo-file): Allow nil to be a valid value for when
8998 there are no todo files.
8999 (todo-reevaluate-default-file-defcustom): Use corrected definition
9000 of todo-default-todo-file.
9001 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9002 (todo-delete-category, todo-show-categories-table)
9003 (todo-category-number): Clarify comment.
9004 (todo-filter-items): Clarify documentation string.
9005 (todo-show-current-file, todo-display-as-todo-file)
9006 (todo-reset-and-enable-done-separator): Tweak documentation string.
9007 (todo-done-separator): Make separator length window-width, since
9008 bug#2749 is now fixed.
9009
9010 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9011
9012 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9013 Support both "gvfs-monitor-dir" and "inotifywait".
9014 (tramp-sh-file-inotifywait-process-filter): Rename from
9015 `tramp-sh-file-notify-process-filter'.
9016 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9017 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9018
9019 2013-07-05 Leo Liu <sdl.web@gmail.com>
9020
9021 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9022
9023 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9024
9025 * frame.el (display-pixel-height, display-pixel-width)
9026 (display-mm-height, display-mm-width): Mention behavior on
9027 multi-monitor setups in docstrings.
9028 (w32-display-monitor-attributes-list): Declare function.
9029 (display-monitor-attributes-list): Use it.
9030
9031 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9032
9033 * filenotify.el: New package.
9034
9035 * autorevert.el (top): Require filenotify.el.
9036 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9037 instead.
9038 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9039 (auto-revert-notify-handler): Use `file-notify-*' functions.
9040
9041 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9042
9043 * net/tramp.el (tramp-file-name-for-operation):
9044 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9045
9046 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9047 for `file-notify-add-watch' and `file-notify-rm-watch'.
9048 (tramp-process-sentinel): Improve trace.
9049 (tramp-sh-handle-file-notify-add-watch)
9050 (tramp-sh-file-notify-process-filter)
9051 (tramp-sh-handle-file-notify-rm-watch)
9052 (tramp-get-remote-inotifywait): New defuns.
9053
9054 2013-07-03 Juri Linkov <juri@jurta.org>
9055
9056 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9057 call of `occur-read-primary-args' to interactive spec.
9058
9059 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9060 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9061
9062 2013-07-03 Matthias Meulien <orontee@gmail.com>
9063
9064 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9065 `Buffer-menu-multi-occur'. Add it to the menu.
9066 (Buffer-menu-mode): Document it in docstring.
9067 (Buffer-menu-multi-occur): New command. (Bug#14673)
9068
9069 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9070
9071 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9072 keywords and built-ins.
9073
9074 2013-07-03 Glenn Morris <rgm@gnu.org>
9075
9076 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9077
9078 Make info-xref checks case-sensitive by default
9079 * info.el (Info-find-node, Info-find-in-tag-table)
9080 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9081 Add option for exact case matching of nodes.
9082 * info-xref.el (info-xref): New custom group.
9083 (info-xref-case-fold): New option.
9084 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9085
9086 2013-07-03 Leo Liu <sdl.web@gmail.com>
9087
9088 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9089
9090 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9091
9092 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9093 middle of block statement initially, lower the depth. Remove
9094 FIXME comment, not longer valid. Remove middle of block statement
9095 detection, no need to do that anymore since we've been using
9096 `ruby-parse-region' here.
9097
9098 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9099
9100 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9101
9102 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9103
9104 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9105
9106 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9107
9108 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9109 (desktop-restore-in-current-display): New customization option.
9110 (desktop--excluded-frame-parameters): Add `font'.
9111 (desktop--save-frames): Rename from desktop--save-windows.
9112 (desktop--restore-in-this-display-p): New function.
9113 (desktop--make-full-frame): Remove unwanted width/height from
9114 full(width|height) frames.
9115 (desktop--restore-frames): Rename from desktop--restore-windows.
9116 Obey desktop-restore-current-display. Do not delete old frames or
9117 select a new frame unless we were able to restore at least one frame.
9118
9119 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9120
9121 * files.el (find-file-noselect): Simplify conditional expression.
9122
9123 * textmodes/remember.el (remember-append-to-file):
9124 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9125
9126 Add `remember-notes' function to store random notes across Emacs
9127 restarts.
9128 * textmodes/remember.el (remember-data-file): Add :set callback to
9129 affect notes buffer (if any).
9130 (remember-notes): New command.
9131 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9132 New defcustoms for the `remember-notes' function.
9133 (remember-notes-save-and-bury-buffer): New command.
9134 (remember-notes-mode-map): New variable.
9135 (remember-mode): New minor mode.
9136 (remember-notes--kill-buffer-query): New function.
9137 * startup.el (initial-buffer-choice): Add notes to custom type.
9138
9139 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9140
9141 * bindings.el (right-char, left-char): Don't call sit-for, this is
9142 no longer needed. Use arithmetic comparison only for numerical
9143 arguments.
9144
9145 * international/mule-cmds.el (select-safe-coding-system):
9146 Handle the case of FROM being a string correctly. (Bug#14755)
9147
9148 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9149
9150 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9151 progression on degenerate tables.
9152 (shr-rescale-image): ImageMagick animated images currently don't work.
9153
9154 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9155
9156 Some fixes and improvements for desktop frame restoration.
9157 It is still experimental and disabled by default.
9158 * desktop.el (desktop--save-windows): Put the selected frame at
9159 the head of the list.
9160 (desktop--make-full-frame): New function.
9161 (desktop--restore-windows): Try to re-select the frame that was
9162 selected upon saving. Do not abort if some frames fail to restore,
9163 just show an error message and continue. Set up maximized frames
9164 so they have default non-maximized dimensions.
9165
9166 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9167
9168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9169 Don't start heredoc inside a string or comment.
9170
9171 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9172
9173 * bindings.el (visual-order-cursor-movement): New defcustom.
9174 (right-char, left-char): Provide visual-order cursor motion by
9175 calling move-point-visually. Update the doc strings.
9176
9177 2013-06-28 Kenichi Handa <handa@gnu.org>
9178
9179 * international/mule.el (define-coding-system): New coding system
9180 properties :inhibit-null-byte-detection,
9181 :inhibit-iso-escape-detection, and :prefer-utf-8.
9182 (set-buffer-file-coding-system): If :charset-list property of
9183 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9184 appropriate for setting.
9185
9186 * international/mule-cmds.el (select-safe-coding-system):
9187 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9188 multibyte characters, return utf-8 (or one of its siblings).
9189
9190 * international/mule-conf.el (prefer-utf-8): New coding system.
9191 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9192 files.
9193
9194 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9195
9196 * net/shr.el (shr-render-region): New function.
9197
9198 * net/eww.el: Autoload `eww-browse-url'.
9199
9200 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9201
9202 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9203 Adapt to `package-desc-version' being a list.
9204 Use `package--ac-desc-version' to retrieve version from a package
9205 archive element.
9206
9207 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9208
9209 New experimental feature to save&restore window and frame setup.
9210 * desktop.el (desktop-save-windows): New defcustom.
9211 (desktop--saved-states): New var.
9212 (desktop--excluded-frame-parameters): New defconst.
9213 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9214 (desktop--restore-windows, desktop--save-windows): New functions.
9215 (desktop-save): Call `desktop--save-windows'.
9216 (desktop-read): Call `desktop--restore-windows'.
9217
9218 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9219
9220 * net/shr.el (add-face-text-property): Remove compat definition.
9221
9222 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9223
9224 * info.el (Info-try-follow-nearest-node): Move search for footnote
9225 above search for node name to prevent missing a footnote (bug#14717).
9226
9227 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9228
9229 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9230
9231 2013-06-27 Leo Liu <sdl.web@gmail.com>
9232
9233 * net/eww.el (eww-read-bookmarks): Check file size.
9234
9235 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9238 advice--pending if newdef is nil or an autoload (bug#13820).
9239 (advice-mapc): New function.
9240
9241 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9242
9243 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9244 probably.
9245 (eww-mode-map): Add a menu bar.
9246 (eww-add-bookmark): New command.
9247 (eww-bookmark-mode): New mode and commands.
9248 (eww-add-bookmark): Remove newlines from the title.
9249 (eww-bookmark-browse): Don't bug out if it's the only window.
9250
9251 2013-06-26 Glenn Morris <rgm@gnu.org>
9252
9253 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9254 (hfy-size): Handle ttys. (Bug#14668)
9255
9256 * info-xref.el: Update for Texinfo 5 change in *note format.
9257 (info-xref-node-re, info-xref-note-re): New constants.
9258 (info-xref-check-buffer): Use info-xref-note-re.
9259
9260 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9263
9264 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9265 nil terminate the loop (bug#14718).
9266
9267 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
9269 * net/eww.el: Rework history traversal. When going forward/back,
9270 put these actions into the history, too, so that they can be
9271 replayed.
9272 (eww-render): Move the history reset to the correct buffer.
9273
9274 2013-06-25 Juri Linkov <juri@jurta.org>
9275
9276 * files-x.el (modify-dir-local-variable): Change the header comment
9277 in the file with directory local variables. (Bug#14692)
9278
9279 * files-x.el (read-file-local-variable-value): Add `default'.
9280 (Bug#14710)
9281
9282 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9283
9284 * net/eww.el (eww-make-unique-file-name): Create a unique file
9285 name before saving to entering `y' accidentally asynchronously.
9286
9287 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9288
9289 * net/eww.el (eww-download): New command and keystroke.
9290
9291 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9292
9293 * net/eww.el (eww-copy-page-url): Change name of command.
9294
9295 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9296 be more consistent with Info and dired.
9297
9298 * net/eww.el (eww-mode-map): Ditto.
9299
9300 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9303 packages from archives.
9304 (package-archive-contents): Change format; include obsolete packages.
9305 (package-desc): Use `dir' to mark builtin packages.
9306 (package--from-builtin): Set the `dir' field to `builtin'.
9307 (generated-autoload-file, version-control): Declare.
9308 (package-compute-transaction): Change first arg and return value to be
9309 lists of package-descs. Adjust to new package-archive-contents format.
9310 (package--add-to-archive-contents): Adjust to new
9311 package-archive-contents format.
9312 (package-download-transaction): Arg is now a list of package-descs.
9313 (package-install): If `pkg' is a package name, pass it as
9314 a requirement, so it is subject to the usual (e.g. disabled) checks.
9315 (describe-package): Accept package-desc as well.
9316 (describe-package-1): Describe a specific package-desc. Add links to
9317 other package-descs for the same package name.
9318 (package-menu-describe-package): Pass the actual package-desc.
9319 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9320 works correctly.
9321 (package-desc-status): New function.
9322 (package-menu--refresh): New function, extracted
9323 from package-menu--generate.
9324 (package-menu--generate): Use it.
9325 (package-delete): Update package-alist.
9326 (package-menu-execute): Don't call package-initialize.
9327
9328 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9329 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9330 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9331 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9332 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9333 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9334
9335 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9336
9337 * window.el (window--state-get-1): Workaround for bug#14527.
9338 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9339
9340 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9341
9342 * net/eww.el (eww-back-url): Implement the history by stashing all
9343 the data into a list.
9344 (eww-forward-url): Allow going forward in the history, too.
9345
9346 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9349 for values and use read--expression for expressions (bug#14710).
9350 (read-file-local-variable): Avoid setq.
9351 (read-file-local-variable-mode): Use minor-mode-list.
9352
9353 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9354
9355 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9356 for DOI URLs.
9357
9358 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9359
9360 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9361 Update imenu-support when dialect changes.
9362
9363 2013-06-25 Leo Liu <sdl.web@gmail.com>
9364
9365 * ido.el (ido-read-internal): Allow forward slash on windows.
9366
9367 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
9369 * net/eww.el (eww): Start of strings is \\`, not ^.
9370
9371 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9372
9373 * net/shr.el (shr-browse-url): Fix interactive spec.
9374
9375 * net/eww.el (eww): Add a trailing slash to domain names.
9376
9377 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9380
9381 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9382
9383 * net/shr.el (shr-browse-url): Use an external browser if given a
9384 prefix.
9385
9386 * net/eww.el (eww-external-browser): Move to shr.
9387
9388 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9389
9390 * net/eww.el (eww): Work more correctly for file: URLs.
9391 (eww-detect-charset): Allow quoted charsets.
9392 (eww-yank-page-url): New command and keystroke.
9393
9394 2013-06-24 Daiki Ueno <ueno@gnu.org>
9395
9396 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9397 file name of gpg executable.
9398 (epg-context-program): New function.
9399 (epg-context-home-directory): New function.
9400 (epg-context-set-program): New function.
9401 (epg-context-set-home-directory): New function.
9402 (epg--start): Use `epg-context-program' instead of
9403 'epg-gpg-program'.
9404 (epg--list-keys-1): Likewise.
9405
9406 2013-06-24 Leo Liu <sdl.web@gmail.com>
9407
9408 * ido.el (ido-read-internal): Fix bug#14620.
9409
9410 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * faces.el (face-documentation): Simplify.
9413 (read-face-attribute, tty-find-type, x-resolve-font-name):
9414 Use `string-match-p'.
9415 (list-faces-display): Use `string-match-p'. Simplify.
9416 (face-spec-recalc): Check face to avoid face alias loops.
9417 (read-color): Use `string-match-p' and non-capturing parenthesis.
9418
9419 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9420
9421 * net/shr.el (shr-rescale-image): Use the new
9422 :max-width/:max-height functionality.
9423
9424 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9425
9426 * net/eww.el (eww-search-prefix): New variable.
9427 (eww): Use it.
9428 (eww-external-browser): New variable.
9429 (eww-mode-map): New keystroke.
9430 (eww-browse-with-external-browser): New command.
9431
9432 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9433
9434 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9437 Don't skip aligning the next header field when padding is 0;
9438 otherwise, field width is not respected unless the title is as
9439 wide as the field.
9440
9441 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * emacs-lisp/package.el (package-el-version): Remove.
9444 (package-process-define-package): Fix inf-loop.
9445 (package-install): Allow symbols as arguments again.
9446
9447 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9448
9449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9450 add some more keyword-like methods.
9451 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9452
9453 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9454
9455 * bs.el (bs-buffer-show-mark): Make defvar-local.
9456 (bs-mode): Use setq-local.
9457
9458 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9459 (emacs-lock--try-unlocking): Make defvar-local.
9460
9461 2013-06-22 Glenn Morris <rgm@gnu.org>
9462
9463 * play/cookie1.el (cookie-apropos): Minor simplification.
9464
9465 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9466
9467 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9468
9469 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9470 `regexp-opt', it breaks the build during dumping.
9471
9472 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9473
9474 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9475 Highlight keyword-like methods on Kernel and Module with
9476 font-lock-builtin-face.
9477 (auto-mode-alist): Consolidate different entries into one regexp
9478 and add more *file-s.
9479
9480 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9481
9482 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9483
9484 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9485 (diary-entry): Use it in the action of this button type instead of
9486 diary-goto-entry.
9487
9488 * calendar/todo-mode.el: New version.
9489 (todo-add-category): Append new category to end of file and give
9490 it the highest number, instead of putting it at the beginning and
9491 giving it 0. Incorporate noninteractive functionality.
9492 (todo-forward-category): Adapt to 1-based category numbering.
9493 Allow skipping over archived categories.
9494 (todo-backward-category): Derive from todo-forward-category.
9495 (todo-backward-item, todo-forward-item): Make noninteractive and
9496 delegate interactive part to new commands. Make sensitive to done items.
9497 (todo-categories): Make value an alist of category names and
9498 vectors of item counts.
9499 (todo-category-beg): Make a defconst.
9500 (todo-category-number): Use 1 instead of 0 as initial value.
9501 (todo-category-select): Make sensitive to overlays, optional item
9502 highlighting and done items.
9503 (todo-delete-item): Make sensitive to overlays and marked and done items.
9504 (todo-edit-item): Make sensitive to overlays and editing of
9505 date/time header optional. Add format checks.
9506 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9507 no-op if point is not on an item. Advertise using todo-edit-quit.
9508 (todo-edit-mode): Make sensitive to new format, font-locking, and
9509 multiple todo files.
9510 (todo-insert-item, todo-insert-item-here): Derive from
9511 todo-basic-insert-item and extend functionality.
9512 (todo-item-end, todo-item-start): Make sensitive to done items.
9513 (todo-item-string): Don't return text properties. Restore point.
9514 (todo-jump-to-category): Make sensitive to multiple todo files and
9515 todo archives. Use extended category completion.
9516 (todo-lower-item, todo-raise-item): Rename to *-priority and
9517 derive from todo-set-item-priority.
9518 (todo-mode): Derive from special-mode. Make sensitive to new
9519 format, font-locking and multiple todo files. Make read-only.
9520 (todo-mode-map): Don't suppress digit keys, so they can supply
9521 prefix arguments. Add many new key bindings.
9522 (todo-prefix): Insert as an overlay instead of file text.
9523 Change semantics from diary date expression to purely visual mark.
9524 (todo-print): Rename to todo-print-buffer. Make buffer display
9525 features printable. Remove option to restrict number of items
9526 printed. Add option to print to file.
9527 (todo-print-function): Rename to todo-print-buffer-function.
9528 (todo-quit): Extend to handle exiting new todo modes.
9529 (todo-remove-item): Make sensitive to overlays.
9530 (todo-save): Extend to buffers of filtered items.
9531 (todo-show): Make sensitive to done items, multiple todo files and
9532 new todo modes. Offer to convert legacy todo file before creating
9533 first new todo file.
9534 (todo-show-priorities): Rename to todo-top-priorities.
9535 Change semantics of value 0.
9536 (todo-top-priorities): Rename to todo-filter-top-priorities,
9537 derive from todo-filter-items and extend functionality.
9538 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9539 and extend functionality to other types of filtered items.
9540 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9541 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9542 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9543 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9544 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9545 (todo-edit-mode-hook, todo-entry-prefix-function)
9546 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9547 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9548 (todo-initials, todo-insert-threshold, todo-item-string-start)
9549 (todo-line-string, todo-menu, todo-mode-hook)
9550 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9551 (todo-print-priorities, todo-remove-separator)
9552 (todo-save-top-priorities-too, todo-string-count-lines)
9553 (todo-string-multiline-p, todo-time-string-format)
9554 (todo-tmp-buffer-name): Remove.
9555 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9556 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9557 (todo-edit-category-diary-inclusion)
9558 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9559 (todo-edit-file, todo-edit-item-date-day)
9560 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9561 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9562 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9563 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9564 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9565 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9566 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9567 (todo-filter-top-priorities-multifile, todo-find-archive)
9568 (todo-find-filtered-items-file, todo-go-to-source-item)
9569 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9570 (todo-jump-to-archive-category, todo-lower-category)
9571 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9572 (todo-move-category, todo-move-item, todo-next-button)
9573 (todo-next-item, todo-padded-string, todo-powerset)
9574 (todo-previous-button, todo-previous-item)
9575 (todo-print-buffer-to-file, todo-raise-category)
9576 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9577 (todo-set-category-number, todo-set-item-priority)
9578 (todo-set-top-priorities-in-category)
9579 (todo-set-top-priorities-in-file, todo-show-categories-table)
9580 (todo-sort-categories-alphabetically-or-numerically)
9581 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9582 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9583 (todo-toggle-item-header, todo-toggle-item-highlighting)
9584 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9585 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9586 (todo-unarchive-items, todo-unmark-category): New commands.
9587 (todo-absolute-file-name, todo-add-to-buffer-list)
9588 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9589 (todo-basic-insert-item, todo-category-completions)
9590 (todo-category-number, todo-category-string-matcher-1)
9591 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9592 (todo-check-format, todo-clear-matches)
9593 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9594 (todo-current-category, todo-date-string-matcher)
9595 (todo-define-insertion-command, todo-diary-expired-matcher)
9596 (todo-diary-goto-entry, todo-diary-item-p)
9597 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9598 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9599 (todo-done-item-section-p, todo-done-separator)
9600 (todo-done-string-matcher, todo-files, todo-filter-items)
9601 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9602 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9603 (todo-insert-category-line, todo-insert-item-from-calendar)
9604 (todo-insert-sort-button, todo-insert-with-overlays)
9605 (todo-insertion-command-name, todo-insertion-key-bindings)
9606 (todo-label-to-key, todo-longest-category-name-length)
9607 (todo-make-categories-list, todo-mode-external-set)
9608 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9609 (todo-modes-set-3, todo-multiple-filter-files)
9610 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9611 (todo-read-category, todo-read-date, todo-read-dayname)
9612 (todo-read-file-name, todo-read-time)
9613 (todo-reevaluate-category-completions-files-defcustom)
9614 (todo-reevaluate-default-file-defcustom)
9615 (todo-reevaluate-filelist-defcustoms)
9616 (todo-reevaluate-filter-files-defcustom)
9617 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9618 (todo-reset-done-separator, todo-reset-done-separator-string)
9619 (todo-reset-done-string, todo-reset-global-current-todo-file)
9620 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9621 (todo-reset-prefix, todo-set-categories)
9622 (todo-set-date-from-calendar, todo-set-show-current-file)
9623 (todo-set-top-priorities, todo-short-file-name)
9624 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9625 (todo-total-item-counts, todo-update-buffer-list)
9626 (todo-update-categories-display, todo-update-categories-sexp)
9627 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9628 New functions.
9629 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9630 New major modes.
9631 (todo-categories, todo-display, todo-edit, todo-faces)
9632 (todo-filtered): New defgroups.
9633 (todo-archived-only, todo-button, todo-category-string, todo-date)
9634 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9635 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9636 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9637 (todo-add-item-if-new-category, todo-always-add-time-string)
9638 (todo-categories-align, todo-categories-archived-label)
9639 (todo-categories-category-label, todo-categories-diary-label)
9640 (todo-categories-done-label, todo-categories-number-separator)
9641 (todo-categories-todo-label, todo-categories-totals-label)
9642 (todo-category-completions-files, todo-completion-ignore-case)
9643 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9644 (todo-done-separator-string, todo-done-string)
9645 (todo-files-function, todo-filter-done-items, todo-filter-files)
9646 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9647 (todo-initial-category, todo-initial-file, todo-item-mark)
9648 (todo-legacy-date-time-regexp, todo-mode-line-function)
9649 (todo-nondiary-marker, todo-number-prefix)
9650 (todo-print-buffer-function, todo-show-current-file)
9651 (todo-show-done-only, todo-show-first, todo-show-with-done)
9652 (todo-skip-archived-categories, todo-top-priorities-overrides)
9653 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9654 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9655 New defcustoms.
9656 (todo-category-done, todo-date-pattern, todo-date-string-start)
9657 (todo-diary-items-buffer, todo-done-string-start)
9658 (todo-filtered-items-buffer, todo-item-start)
9659 (todo-month-abbrev-array, todo-month-name-array)
9660 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9661 (todo-top-priorities-buffer): New defconsts.
9662 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9663 (todo-categories-with-marks, todo-category-string-face)
9664 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9665 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9666 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9667 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9668 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9669 (todo-font-lock-keywords, todo-global-current-todo-file)
9670 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9671 (todo-insertion-commands-args)
9672 (todo-insertion-commands-args-genlist)
9673 (todo-insertion-commands-names, todo-insertion-map)
9674 (todo-key-bindings-t, todo-key-bindings-t+a)
9675 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9676 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9677 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9678 (todo-visited): New variables.
9679
9680 2013-06-21 Glenn Morris <rgm@gnu.org>
9681
9682 * play/cookie1.el (cookie-apropos): Add optional display argument.
9683 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9684 (psychoanalyze-pinhead): Use cookie-doctor.
9685
9686 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9687
9688 * emacs-lisp/package.el (tar-get-file-descriptor)
9689 (tar--extract): Declare.
9690
9691 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9692
9693 Extend flymake's warning predicate to be a function (bug#14217).
9694 * progmodes/flymake.el (flymake-warning-predicate): New.
9695 (flymake-parse-line): Use it.
9696 (flymake-warning-re): Make obsolete alias to
9697 `flymake-warning-predicate'.
9698
9699 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9702 (package-obsolete-list): Remove.
9703 (package-activate): Remove min-version argument. Add `force' argument.
9704 Adjust to new package-alist format.
9705 (package-mark-obsolete): Remove.
9706 (package-unpack): Force reload of the package's autoloads.
9707 (package-installed-p): Check builtins if the installed package is not
9708 recent enough.
9709 (package-initialize): Don't reset package-obsolete-list.
9710 Don't specify which package version to activate.
9711 (package-process-define-package, describe-package-1)
9712 (package-menu--generate): Adjust to new package-alist format.
9713
9714 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * allout-widgets.el (allout-widgets-mode-off)
9717 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9718 (allout-widgets-post-command-business)
9719 (allout-widgets-after-copy-or-kill-function)
9720 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9721 (allout-decorate-item-and-context)
9722 (allout-graphics-modification-handler): Fix typos in docstrings.
9723 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9724
9725 * cmuscheme.el (scheme-start-file): Doc fix.
9726 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9727 (scheme-input-filter): Use `string-match-p'.
9728
9729 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9730
9731 * dired-x.el: Use Dired consistently in docstrings.
9732
9733 * dired.el: Use Dired consistently in docstrings.
9734 (dired-readin, dired-mode): Use `setq-local'.
9735 (dired-switches-alist): Make defvar-local.
9736 (dired-buffers-for-dir): Use `zerop'.
9737 (dired-safe-switches-p, dired-switches-escape-p)
9738 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9739 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9740 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9741 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9742 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9743 (dired-toggle-marks, dired-mark-files-containing-regexp)
9744 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9745 (dired-flag-auto-save-files, dired-flag-backup-files):
9746 Use `looking-at-p'.
9747 (dired-mark-files-regexp, dired-build-subdir-alist):
9748 Use `string-match-p', `looking-at-p'.
9749
9750 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9751 (direct-print-region-helper): Use `string-match-p'.
9752
9753 2013-06-21 Leo Liu <sdl.web@gmail.com>
9754
9755 * comint.el (comint-redirect-results-list-from-process):
9756 Fix infinite loop.
9757
9758 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9759
9760 * net/eww.el (eww-update-header-line-format): Quote % characters.
9761
9762 2013-06-21 Glenn Morris <rgm@gnu.org>
9763
9764 * play/cookie1.el (cookie): New custom group.
9765 (cookie-file): New option.
9766 (cookie-check-file): New function.
9767 (cookie): Make it interactive. Make start and end messages optional.
9768 Interactively, display the result. Default to cookie-file.
9769 (cookie-insert): Default to cookie-file.
9770 (cookie-snarf): Make start and end messages optional.
9771 Default to cookie-file. Use with-temp-buffer.
9772 (cookie-read): Rename from read-cookie.
9773 Make start and end messages optional. Default to cookie-file.
9774 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9775 Do not autoload it.
9776 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9777 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9778
9779 2013-06-21 Leo Liu <sdl.web@gmail.com>
9780
9781 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9782
9783 2013-06-21 Glenn Morris <rgm@gnu.org>
9784
9785 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9786
9787 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9788 Daniel Hackney <dan@haxney.org>
9789
9790 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9791 Consolidate the single-file vs tarball code.
9792 (package-desc-suffix): New function.
9793 (package-desc-full-name): Don't bother inlining it.
9794 (package-load-descriptor): Return the new package-desc.
9795 (package-mark-obsolete): Remove unused arg `package'.
9796 (package-unpack): Make it work for single files as well.
9797 Make it update package-alist.
9798 (package--make-autoloads-and-stuff): Rename from
9799 package--make-autoloads-and-compile. Don't compile any more.
9800 (package--compile): New function.
9801 (package-generate-description-file): New function, extracted from
9802 package-unpack-single.
9803 (package-unpack-single): Remove.
9804 (package--with-work-buffer): Add indentation and debugging info.
9805 (package-download-single): Remove.
9806 (package-install-from-archive): Rename from package-download-tar, make
9807 it take a pkg-desc, and make it work for single files as well.
9808 (package-download-transaction): Simplify.
9809 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9810 external tar program.
9811 (package-install-from-buffer): Remove `pkg-desc' argument.
9812 Use package-tar-file-info for tar-mode buffers.
9813 (package-install-file): Simplify accordingly.
9814 (package-archive-base): Change to take a pkg-desc.
9815 * tar-mode.el (tar--check-descriptor): New function, extracted from
9816 tar-get-descriptor.
9817 (tar-get-descriptor): Use it.
9818 (tar-get-file-descriptor): New function.
9819 (tar--extract): New function, extracted from tar-extract.
9820 (tar--extract): Use it.
9821 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9822 case the summary uses non-ascii. Adjust to new calling convention of
9823 package-tar-file-info.
9824
9825 2013-06-21 Leo Liu <sdl.web@gmail.com>
9826
9827 * comint.el (comint-redirect-results-list-from-process):
9828 Fix random delay. (Bug#14681)
9829
9830 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * profiler.el (profiler-format-number): Use log, not log10.
9833
9834 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9835
9836 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9837
9838 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9841 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9842 yet available.
9843 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9844 (AUTOGENEL): ... here.
9845 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9846 (cl--defsubst-expand): Use it.
9847
9848 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9849
9850 * subr.el (log10): Move here from C code, and declare as obsolete.
9851 All uses of (log10 X) replaced with (log X 10).
9852
9853 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9854
9855 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9856 Declare with `defvar-local'.
9857 (tabulated-list-use-header-line, tabulated-list-entries)
9858 (tabulated-list-padding, tabulated-list-printer)
9859 (tabulated-list-sort-key): Declare with `defvar-local'.
9860 (tabulated-list-init-header, tabulated-list-print-fake-header):
9861 Use `setq-local'.
9862
9863 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9864
9865 * arc-mode.el (archive-mode): Add `archive-write-file' to
9866 `write-contents-functions' also for remote files. (Bug#14652)
9867
9868 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9869
9870 * cus-edit.el (custom-commands): Fix typos.
9871 (custom-display): Fix tooltip text.
9872 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9873 Fix typos in docstrings.
9874 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9875 (custom-unlispify-menu-entry, custom-magic-value-create)
9876 (custom-add-see-also, custom-group-value-create): Use ?\s.
9877 (custom-guess-type, customize-apropos, editable-field)
9878 (custom-face-value-create): Use `string-match-p'.
9879 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9880
9881 * custom.el (custom-load-symbol): Use `string-match-p'.
9882
9883 * ansi-color.el: Convert to lexical binding.
9884 (ansi-colors): Fix URL.
9885 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9886 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9887 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9888
9889 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890
9891 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9892
9893 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9894
9895 2013-06-19 Tom Tromey <tromey@redhat.com>
9896
9897 * net/eww.el (eww-top-url): Remove.
9898 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9899 (eww-render): Set new variables. Don't set eww-top-url.
9900 (eww-handle-link): Handle "prev", "home", and "contents".
9901 Downcase the rel text.
9902 (eww-top-url): Choose best top URL.
9903
9904 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9905
9906 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9907 relying in widget.el. Using widget.el leads to too many
9908 user interface inconsistencies.
9909 (eww-self-insert): Implement entering commands in text fields.
9910 (eww-process-text-input): New function to make text input field editing
9911 work.
9912 (eww-submit): Rewrite to use the new-style form methods.
9913 (eww-select-display): Display the correct selected item.
9914 (eww-change-select): Implement changing the select value.
9915 (eww-toggle-checkbox): Implement radio/checkboxes.
9916 (eww-update-field): Fix compilation error.
9917 (eww-tag-textarea): Implement <textarea>.
9918
9919 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9920 we don't shadow mode-specific bindings.
9921
9922 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9923 nothing to push.
9924
9925 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9926
9927 2013-06-19 Glenn Morris <rgm@gnu.org>
9928
9929 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9930
9931 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9932
9933 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9934 not needed.
9935
9936 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9937
9938 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9939
9940 * net/browse-url.el (browse-url-browser-function):
9941 `eww-browse-url' has the right calling signature, `eww' does not.
9942
9943 2013-06-19 Glenn Morris <rgm@gnu.org>
9944
9945 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9946 Only eval autoloaded macros.
9947 (byte-compile-autoload): Only give the macro warning for macros.
9948
9949 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9950 (ps-underlined-faces): Declare.
9951
9952 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9953 (speedbar-add-supported-extension): Declare.
9954
9955 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9956 Don't include a date stamp in the header of the generated file;
9957 it leads to needless differences between output files.
9958
9959 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9960
9961 * net/secrets.el (secrets-struct-secret-content-type):
9962 Replace check of introspection data by a test call of "CreateItem".
9963 Some servers do not offer introspection.
9964
9965 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * electric.el (electric-pair-mode): Improve interaction with
9968 electric-layout-mode.
9969 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9970 (electric-pair-syntax): Use text-mode-syntax-table in comments
9971 and strings.
9972 (electric-pair--insert): New function.
9973 (electric-pair-post-self-insert-function): Use it and
9974 electric--after-char-pos.
9975
9976 2013-06-19 Leo Liu <sdl.web@gmail.com>
9977
9978 * progmodes/octave.el (octave-help): Fix regexp.
9979
9980 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9981
9982 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9983 (shr-table-horizontal-line): Allow nil as a value, and change the
9984 default.
9985 (shr-insert-table-ruler): Respect the nil value.
9986
9987 2013-06-18 Tom Tromey <tromey@barimba>
9988
9989 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9990 New defvars.
9991 (eww-open-file): New defun.
9992 (eww-render): Initialize new variables.
9993 (eww-display-html): Handle "link" and "a".
9994 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9995 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9996 (eww-back-url): Rename from eww-previous-url.
9997 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9998 New defuns.
9999
10000 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10001
10002 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10003 Distinguish ternary operator tokens from slash symbol and slash
10004 char literal.
10005
10006 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10007
10008 Convert symbol prettification into minor mode and global minor mode.
10009
10010 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10011 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10012 (prettify-symbols--keywords): Rename from
10013 `prog-prettify-symbols-alist' and make a local defvar.
10014 (prettify-symbols--compose-symbol): Rename from
10015 `prog--prettify-font-lock-compose-symbol'.
10016 (prettify-symbols--make-keywords): Rename from
10017 `prog-prettify-font-lock-symbols-keywords' and simplify.
10018 (prog-prettify-install): Remove.
10019 (prettify-symbols-mode): New minor mode, based on
10020 `prog-prettify-install'.
10021 (turn-on-prettify-symbols-mode): New function.
10022 (global-prettify-symbols-mode): New globalized minor mode.
10023
10024 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10025 * progmodes/cfengine.el (cfengine3-mode):
10026 * progmodes/perl-mode.el (perl-mode): Don't call
10027 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10028
10029 2013-06-18 Juri Linkov <juri@jurta.org>
10030
10031 * files-x.el (modify-file-local-variable-message): New function.
10032 (modify-file-local-variable)
10033 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10034 and call `modify-file-local-variable-message' when it's non-nil.
10035 (add-file-local-variable, delete-file-local-variable)
10036 (add-file-local-variable-prop-line)
10037 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10038 and use it. (Bug#9820)
10039
10040 2013-06-18 Juri Linkov <juri@jurta.org>
10041
10042 * emulation/vi.el (vi-shell-op):
10043 * emulation/vip.el (vip-execute-com, ex-command):
10044 * emulation/viper-cmd.el (viper-exec-bang):
10045 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10046 the call of `shell-command-on-region'. (Bug#14637)
10047
10048 * simple.el (shell-command-on-region): Doc fix.
10049
10050 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10051
10052 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10053 (bug#14633).
10054
10055 2013-06-18 Glenn Morris <rgm@gnu.org>
10056
10057 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10058
10059 * newcomment.el (comment-search-forward, comment-search-backward):
10060 Doc fix. (Bug#14376)
10061
10062 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10063
10064 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10065 (buffer-face-mode-invoke): Doc fix.
10066
10067 2013-06-18 Matthias Meulien <orontee@gmail.com>
10068
10069 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10070 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10071
10072 2013-06-18 Glenn Morris <rgm@gnu.org>
10073
10074 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10075 Replace obsolete function generic-make-keywords with its expansion.
10076
10077 * progmodes/python.el (ffap-alist): Declare.
10078
10079 * textmodes/reftex.el (bibtex-mode-map): Declare.
10080
10081 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10084 (package-unpack, package-unpack-single): Return the pkg-dir.
10085 (package-download-transaction): Use it to update package-alist.
10086
10087 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10088
10089 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10090 possible choice.
10091
10092 2013-06-17 Juri Linkov <juri@jurta.org>
10093
10094 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10095
10096 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10097
10098 * emacs-lisp/package.el (package-load-descriptor):
10099 Remove `with-syntax-table' call, `read' doesn't need it.
10100 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10101
10102 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * startup.el (command-line): Expand package name returned by
10105 `package--description-file' (bug#14639).
10106
10107 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10108
10109 * emacs-lisp/package.el (package-load-descriptor): Do not call
10110 `emacs-lisp-mode', just use its syntax table.
10111
10112 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10113
10114 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10115 `font-lock-extra-managed-props' if any prettifying keyword is added.
10116 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10117 (prog-mode): Use `setq-local'.
10118
10119 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * international/characters.el (standard-case-table): Set syntax of ?»
10122 and ?« to punctuation.
10123
10124 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10125
10126 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10127 Save relevant match data before calling `syntax-ppss' (bug#14595).
10128
10129 2013-06-15 Juri Linkov <juri@jurta.org>
10130
10131 * files-x.el (modify-file-local-variable-prop-line): Add local
10132 variables to the end of the existing comment on the first line.
10133 Use `file-auto-mode-skip' to skip interpreter magic line,
10134 and also skip XML declaration.
10135
10136 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * startup.el (package--builtin-versions): New var.
10139 (package-subdirectory-regexp): Remove.
10140 (package--description-file): Hard code its value instead.
10141
10142 * emacs-lisp/package.el: Don't activate packages older than builtin.
10143 (package-obsolete-list): Rename from package-obsolete-alist, and make
10144 it into a simple list of package-desc.
10145 (package-strip-version): Remove.
10146 (package-built-in-p): Use package--builtin-versions.
10147 (package-mark-obsolete): Simplify.
10148 (package-process-define-package): Mark it obsolete if older than the
10149 builtin version.
10150 (package-handle-response): Use line-end-position.
10151 (package-read-archive-contents, package--download-one-archive):
10152 Simplify.
10153 (package--add-to-archive-contents): Skip if older than the builtin or
10154 installed version.
10155 (package-menu-describe-package): Fix last change.
10156 (package-list-unversioned): New var.
10157 (package-menu--generate): Use it.
10158
10159 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10160 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10161 (autoload-builtin-package-versions): New variable.
10162 (autoload-generate-file-autoloads): Use them.
10163 Remove the list of autoloaded functions/macros from the
10164 (autoload...) comments.
10165
10166 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10167
10168 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10169
10170 * simple.el (line-move-partial): Don't jump to the next screen
10171 line as soon as it becomes visible. Instead, continue enlarging
10172 the vscroll until the portion of a tall screen line that's left on
10173 display is about the height of the frame's default font.
10174 (Bug#14567)
10175
10176 2013-06-15 Glenn Morris <rgm@gnu.org>
10177
10178 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10179 compilation-error-regexp-alist void, or local while let-bound.
10180
10181 * progmodes/make-mode.el (makefile-mode-syntax-table):
10182 Treat "=" as punctuation. (Bug#14614)
10183
10184 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10185
10186 * help-fns.el (describe-variable):
10187 Add extra line for permanent-local variables.
10188
10189 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10190
10191 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10192 Add export, import, library. (Bug#9164)
10193 (library): Set indent function.
10194
10195 2013-06-14 Glenn Morris <rgm@gnu.org>
10196
10197 * term/xterm.el (xterm--query):
10198 Stop after first matching handler. (Bug#14615)
10199
10200 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10201
10202 Add support for dired in saveplace.
10203 * dired.el (dired-initial-position-hook): New variable.
10204 (dired-initial-position): Call hook to place cursor position.
10205 * saveplace.el (save-place-to-alist): Add dired position.
10206 (save-place-dired-hook): New function.
10207
10208 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10211 through a symbol rather than letrec.
10212
10213 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10214 (package-desc): Add `dir' field.
10215 (package-desc-full-name): New function.
10216 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10217 (package-maybe-load-descriptor): Remove.
10218 (package-load-all-descriptors): Just call package-load-descriptor.
10219 (package--disabled-p): New function.
10220 (package-desc-vers, package-desc-doc): Remove aliases.
10221 (package--dir): Remove function.
10222 (package-activate): Check if a package is disabled.
10223 (package-process-define-package): New function, extracted from
10224 define-package.
10225 (define-package): Turn into a place holder.
10226 (package-unpack-single, package-tar-file-info):
10227 Use package--description-file.
10228 (package-compute-transaction): Use package--disabled-p.
10229 (package-download-transaction): Don't call
10230 package-maybe-load-descriptor since they're all loaded anyway.
10231 (package-install): Change argument to be a pkg-desc.
10232 (package-delete): Use a single pkg-desc argument.
10233 (describe-package-1): Use package-desc-dir instead of package--dir.
10234 Use package-desc property instead of package-symbol.
10235 (package-install-button-action): Adjust accordingly.
10236 (package--push): Rewrite.
10237 (package-menu--print-info): Adjust accordingly. Change the ID format
10238 to be a pkg-desc.
10239 (package-menu-describe-package, package-menu-get-status)
10240 (package-menu--find-upgrades, package-menu-mark-upgrades)
10241 (package-menu-execute, package-menu--name-predicate):
10242 Adjust accordingly.
10243 * startup.el (package--description-file): New function.
10244 (command-line): Use it.
10245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10246 Use package-desc-version.
10247
10248 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10249 (byte-compile-preprocess): Use it.
10250 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10251 can't quite recognize.
10252 (byte-compile-add-to-list): Remove.
10253 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10254 (cconv-closure-convert): Add assertion.
10255
10256 * emacs-lisp/map-ynp.el: Use lexical-binding.
10257 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10258 Factor out some repeated code.
10259
10260 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * subr.el (with-eval-after-load): New macro.
10263 (eval-after-load): Allow form to be a function.
10264 take advantage of lexical-binding.
10265 (do-after-load-evaluation): Use dolist and adjust to new format.
10266 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10267
10268 2013-06-13 Juri Linkov <juri@jurta.org>
10269
10270 * replace.el (perform-replace): Display "symbol " and other search
10271 modes from `isearch-message-prefix' in the *Help* buffer.
10272
10273 * isearch.el (isearch-query-replace): Add " symbol" and other
10274 possible search modes from `isearch-message-prefix' to the prompt.
10275 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10276 when reading a regexp to collect.
10277
10278 2013-06-13 Juri Linkov <juri@jurta.org>
10279
10280 * isearch.el (word-search-regexp): Match whitespace if the search
10281 string begins or ends in whitespace. The LAX arg is applied to
10282 both ends of the search string. Use `regexp-quote' and explicit
10283 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10284 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10285 boundaries are replaced with symbol boundaries, and characters
10286 between symbols match non-word non-symbol syntax. (Bug#14602)
10287
10288 2013-06-13 Juri Linkov <juri@jurta.org>
10289
10290 * isearch.el (isearch-del-char): Don't exceed the length of
10291 `isearch-string' by the prefix arg. (Bug#14563)
10292
10293 2013-06-13 Juri Linkov <juri@jurta.org>
10294
10295 * isearch.el (isearch-yank-word, isearch-yank-line)
10296 (isearch-char-by-name, isearch-quote-char)
10297 (isearch-printing-char, isearch-process-search-char):
10298 Add optional count prefix arg. (Bug#14563)
10299
10300 * international/isearch-x.el
10301 (isearch-process-search-multibyte-characters):
10302 Add optional count prefix arg.
10303
10304 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10307 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10308 lexical-binding.
10309
10310 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10311
10312 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10313
10314 2013-06-13 Glenn Morris <rgm@gnu.org>
10315
10316 * startup.el (tty-handle-args):
10317 Don't just discard "--" and anything after. (Bug#14608)
10318
10319 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10320
10321 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10322
10323 Implement changes in Secret Service API. Make it backward compatible.
10324 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10325 (secrets-create-item): Use it. Prefix properties with interface.
10326
10327 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10328
10329 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10330 (term-emulate-terminal): Respect term-suppress-hard-newline.
10331
10332 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10333
10334 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10335 Only remove a `thumb-file' overlay. (Bug#14548)
10336
10337 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10338
10339 * mail/reporter.el (reporter-submit-bug-report):
10340 Handle missing package-name. (Bug#14600)
10341
10342 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10343
10344 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10345 (reftex-citation-prompt, reftex-default-bibliography)
10346 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10347 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10348 (reftex-bib-sort-author, reftex-bib-sort-year)
10349 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10350 (reftex-extract-bib-entries-from-thebibliography)
10351 (reftex-get-bibkey-default, reftex-get-bib-names)
10352 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10353 (reftex-format-bib-entry, reftex-parse-bibitem)
10354 (reftex-format-bibitem, reftex-do-citation)
10355 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10356 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10357 (reftex-insert-bib-matches, reftex-format-citation)
10358 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10359 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10360 existing comments into docstrings.
10361
10362 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10363
10364 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10365
10366 2013-06-12 Andreas Schwab <schwab@suse.de>
10367
10368 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10369 for auto-save files.
10370
10371 2013-06-12 Glenn Morris <rgm@gnu.org>
10372
10373 * ido.el (ido-delete-ignored-files): Remove.
10374 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10375 Go back to calling ido-ignore-item-p directly.
10376
10377 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10378
10379 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10380
10381 * ido.el (ido-delete-ignored-files): New function,
10382 split from ido-make-file-list-1.
10383 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10384 (ido-make-file-list-1): Use ido-delete-ignored-files.
10385
10386 2013-06-12 Leo Liu <sdl.web@gmail.com>
10387
10388 * progmodes/octave.el (inferior-octave-startup)
10389 (inferior-octave-completion-table)
10390 (inferior-octave-track-window-width-change)
10391 (octave-eldoc-function-signatures, octave-help)
10392 (octave-find-definition): Use single quoted strings.
10393 (inferior-octave-startup-args): Change default value.
10394 (inferior-octave-startup): Do not hard code "-i" and
10395 "--no-line-editing".
10396 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10397 (inferior-octave-directory-tracker): Use it.
10398 (octave-goto-function-definition): Robustify.
10399 (octave-help): Support highlighting operators in 'See also'.
10400 (octave-find-definition): Find subfunctions only in Octave mode.
10401
10402 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * help-fns.el (help-fns--compiler-macro): If the handler function is
10405 named, then put a link to it.
10406 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10407 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10408 (cl-typep): Use it.
10409 (cl-eval-when): Simplify debug spec.
10410 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10411 compiler-macro function instead of setting `compiler-macro-file'.
10412
10413 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10414
10415 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10416 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10417
10418 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10419 Daniel Hackney <dan@haxney.org>
10420
10421 First part of Daniel Hackney's patch to package.el.
10422 * emacs-lisp/package.el: Use defstruct.
10423 (package-desc): New, main struct.
10424 (package--bi-desc, package--ac-desc): New structs, used to describe the
10425 format in external files.
10426 (package-desc-vers): Replace with package-desc-version accessor.
10427 (package-desc-doc): Replace with package-desc-summary accessor.
10428 (package-activate-1): Remove `package' arg since the pkg-vec now
10429 includes the name.
10430 (define-package): Use package-desc-from-define.
10431 (package-unpack-single): Change file-name arg to be a symbol.
10432 (package--add-to-archive-contents): Use package-desc-create and new
10433 accessor functions to package--ac-desc.
10434 (package-buffer-info, package-tar-file-info): Return a package-desc.
10435 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10436 arg to be a package-desc.
10437 (package-install-file): Adjust accordingly. Use \' to match EOS.
10438 (package--from-builtin): New function.
10439 (describe-package-1, package-menu--generate): Use it.
10440 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10441 (package-generate-autoloads): Idem and return the name of the file.
10442 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10443 Change pkg-info arg to be a package-desc.
10444 Use package-make-ac-desc.
10445 (package-upload-file): Use \' to match EOS.
10446 * finder.el (finder-compile-keywords): Use package-make-builtin.
10447
10448 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * vc/vc.el (vc-deduce-fileset): Change error message.
10451 (vc-read-backend): New function.
10452 (vc-next-action): Use it.
10453
10454 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10455
10456 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10457 (prolog-font-lock-keywords): Use regexp-opt instead.
10458 Don't manually highlight strings.
10459 (prolog-mode-variables): Simplify comment-start-skip.
10460 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10461
10462 * emacs-lisp/generic.el (generic--normalise-comments)
10463 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10464 (generic-mode-set-comments): Use them.
10465 (generic-bracket-support): Use setq-local.
10466 (generic-make-keywords-list): Declare obsolete.
10467
10468 2013-06-11 Glenn Morris <rgm@gnu.org>
10469
10470 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10471 Prettify after setting font-lock-defaults. (Bug#14574)
10472
10473 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * replace.el (query-replace, occur-read-regexp-defaults-function)
10476 (replace-search):
10477 * subr.el (declare-function, number-sequence, local-set-key)
10478 (substitute-key-definition, locate-user-emacs-file)
10479 (with-silent-modifications, split-string, eval-after-load):
10480 Fix typos, remove unneeded backslashes and reflow some docstrings.
10481
10482 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10485 default for Elisp files.
10486
10487 2013-06-11 Glenn Morris <rgm@gnu.org>
10488
10489 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10490 although define-derived-mode was doing this anyway. (Bug#14583)
10491
10492 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10493
10494 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10495 Fix make-variable-buffer-local call to refer to the correct variable.
10496
10497 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10498
10499 * eshell/em-term.el (eshell-visual-commands)
10500 (eshell-visual-subcommands, eshell-visual-options):
10501 Add summary line to docstrings. Add cross-references.
10502
10503 2013-06-10 Glenn Morris <rgm@gnu.org>
10504
10505 * epa.el (epa-read-file-name): New function. (Bug#14510)
10506 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10507
10508 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10509
10510 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10511 output redirection to be ignored with visual commands.
10512
10513 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10514
10515 * eshell/em-term.el (eshell-visual-command-p): New function.
10516 (eshell-term-initialize): Move long lambda to separate function
10517 eshell-visual-command-p.
10518 * eshell/em-dirs.el (eshell-dirs-initialise):
10519 * eshell/em-script.el (eshell-script-initialize):
10520 Add missing #' to lambda.
10521
10522 2013-06-08 Leo Liu <sdl.web@gmail.com>
10523
10524 * progmodes/octave.el (octave-add-log-current-defun): New function.
10525 (octave-mode): Set add-log-current-defun-function.
10526 (octave-goto-function-definition): Do not move point if not found.
10527 (octave-find-definition): Enhance to try subfunctions first.
10528
10529 2013-06-08 Glenn Morris <rgm@gnu.org>
10530
10531 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10532 (byte-compile-backward-char, byte-compile-backward-word):
10533 Improve previous change, to handle non-explicit nil.
10534
10535 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10538 (smie--opener/closer-at-point): New function.
10539 (smie--matching-block-data): Use it. Don't match from right after an
10540 opener or right before a closer. Obey smie-blink-matching-inners.
10541 Don't signal a mismatch for repeated inners like "switch..case..case".
10542
10543 2013-06-07 Leo Liu <sdl.web@gmail.com>
10544
10545 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10546 to t. (Bug#14303)
10547 (octave-function-header-regexp): Fix. (Bug#14570)
10548 (octave-help-mode-finish-hook, octave-help-mode-finish):
10549 Remove. Just use temp-buffer-show-hook.
10550
10551 * newcomment.el (comment-search-backward): Revert last change.
10552 (Bug#14434)
10553
10554 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10555
10556 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10557
10558 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10559 through xargs, to avoid failure due to MS-Windows limitations on
10560 command-line length.
10561
10562 2013-06-06 Glenn Morris <rgm@gnu.org>
10563
10564 * font-lock.el (lisp-font-lock-keywords-2):
10565 Treat user-error like error.
10566
10567 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10568 (byte-compile-backward-char, byte-compile-backward-word):
10569 Handle explicit nil arguments. (Bug#14565)
10570
10571 2013-06-05 Alan Mackenzie <acm@muc.de>
10572
10573 * isearch.el (isearch-allow-prefix): New user option.
10574 (isearch-other-meta-char): Don't exit isearch when a prefix
10575 argument is typed whilst `isearch-allow-prefix' is non-nil.
10576 (Bug#9706)
10577
10578 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * autorevert.el (auto-revert-notify-handler): Use memq.
10581 Hide assertion failure.
10582
10583 * skeleton.el: Use cl-lib.
10584 (skeleton-further-elements): Use defvar-local.
10585 (skeleton-insert): Use cl-progv.
10586
10587 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10588
10589 * progmodes/prog-mode.el (prog-prettify-symbols)
10590 (prog-prettify-install): Update docstrings.
10591
10592 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * simple.el: Move all the prog-mode code to prog-mode.el.
10595 * progmodes/prog-mode.el: New file.
10596 * loadup.el: Add prog-mode.el.
10597
10598 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10599
10600 * simple.el (prog-prettify-symbols): Add version.
10601 (prog-prettify-install): Add convenience function to prettify symbols.
10602
10603 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10604 (perl--augmented-font-lock-keywords-1)
10605 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10606 variables and use it.
10607
10608 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10609 (cfengine3-mode): Remove unneeded variable and use it.
10610
10611 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10612 (lisp--augmented-font-lock-keywords-1)
10613 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10614 Remove unneeded variables and use it.
10615
10616 2013-06-05 João Távora <joaotavora@gmail.com>
10617
10618 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10619 to point when opening the connection. (Bug#14380)
10620
10621 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * subr.el (load-history-regexp, load-history-filename-element)
10624 (eval-after-load, after-load-functions, do-after-load-evaluation)
10625 (eval-next-after-load, display-delayed-warnings)
10626 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10627 definition of save-match-data.
10628 (overriding-local-map): Remove accidental obsolescence declaration.
10629
10630 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10631
10632 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10633
10634 Generalize symbol prettify support to prog-mode and implement it
10635 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10636 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10637 (prog--prettify-font-lock-compose-symbol)
10638 (prog-prettify-font-lock-symbols-keywords): New variables and
10639 functions to support symbol prettification.
10640 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10641 (lisp--augmented-font-lock-keywords-1)
10642 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10643 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10644 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10645 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10646 Implement prettify of -> => :: strings.
10647 * progmodes/perl-mode.el (perl-prettify-symbols)
10648 (perl--font-lock-compose-symbol)
10649 (perl--font-lock-symbols-keywords): Move to prog-mode.
10650 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10651 (perl-font-lock-keywords-1)
10652 (perl-font-lock-keywords-2): Remove explicit prettify support.
10653 (perl--augmented-font-lock-keywords)
10654 (perl--augmented-font-lock-keywords-1)
10655 (perl--augmented-font-lock-keywords-2, perl-mode):
10656 Implement prettify support.
10657
10658 2013-06-05 Leo Liu <sdl.web@gmail.com>
10659
10660 Re-implement smie matching block highlight using
10661 show-paren-data-function. (Bug#14395)
10662 * emacs-lisp/smie.el (smie-matching-block-highlight)
10663 (smie--highlight-matching-block-overlay)
10664 (smie--highlight-matching-block-lastpos)
10665 (smie-highlight-matching-block)
10666 (smie-highlight-matching-block-mode): Remove.
10667 (smie--matching-block-data-cache): New variable.
10668 (smie--matching-block-data): New function.
10669 (smie-setup): Use smie--matching-block-data for
10670 show-paren-data-function.
10671
10672 * progmodes/octave.el (octave-mode-menu): Fix.
10673 (octave-find-definition): Skip garbage lines.
10674
10675 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 Fix compilation error with simultaneous dynamic+lexical scoping.
10678 Add warning when a defvar appears after the first let-binding.
10679 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10680 (byte-compile-close-variables): Initialize it.
10681 (byte-compile--declare-var): New function.
10682 (byte-compile-file-form-defvar)
10683 (byte-compile-file-form-define-abbrev-table)
10684 (byte-compile-file-form-custom-declare-variable): Use it.
10685 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10686 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10687 (byte-compile-bind): Handle dynamic bindings that shadow
10688 lexical bindings.
10689 (byte-compile-unbind): Make arg non-optional.
10690 (byte-compile-let): Simplify.
10691 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10692 (cconv--analyse-function, cconv-analyse-form): Populate it.
10693 Protect byte-compile-bound-variables to limit the scope of defvars.
10694 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10695 Remove unneeded rule for `declare'.
10696
10697 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10698 so as to avoid depending on cl-adjoin at run-time.
10699 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10700
10701 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10702 (macroexp--warn-and-return): Use it.
10703
10704 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * subr.el: Convert to lexical binding.
10707 (overriding-local-map): Make obsolete.
10708 (add-to-list): Doc fix. Add compiler macro.
10709 (read-key): Swap values of local maps.
10710
10711 2013-06-05 Leo Liu <sdl.web@gmail.com>
10712
10713 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10714
10715 2013-06-04 Leo Liu <sdl.web@gmail.com>
10716
10717 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10718 (compilation-auto-jump): Suppress the "Mark set" message to give
10719 way to exit message.
10720
10721 2013-06-04 Alan Mackenzie <acm@muc.de>
10722
10723 Remove faulty optimisation from indentation calculation.
10724 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10725 search limit based on 2000 characters back from indent-point.
10726
10727 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10728
10729 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10730
10731 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * emacs-lisp/lisp.el: Use lexical-binding.
10734 (lisp--local-variables-1, lisp--local-variables): New functions.
10735 (lisp--local-variables-completion-table): New var.
10736 (lisp-completion-at-point): Use it complete let-bound vars.
10737
10738 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10739 eagerly (bug#14422).
10740
10741 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10742
10743 * autorevert.el (auto-revert-notify-enabled)
10744 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10745 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10746 (auto-revert-notify-handler): Handle also gfilenotify.
10747
10748 * subr.el (file-notify-handle-event): New defun. Replacing ...
10749 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10750 Remove.
10751
10752 2013-06-03 Juri Linkov <juri@jurta.org>
10753
10754 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10755 `M-s h .'. (Bug#14427)
10756
10757 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10758 command `hi-lock-face-symbol-at-point'.
10759 (hi-lock-face-symbol-at-point): New command.
10760 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10761 (hi-lock-menu): Add `highlight-symbol-at-point'.
10762 (hi-lock-mode): Doc fix.
10763
10764 * isearch.el (isearch-forward-symbol-at-point): New command.
10765 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10766 (isearch-highlight-regexp): Add a regexp which matches
10767 words/symbols for word/symbol mode.
10768
10769 * subr.el (find-tag-default-bounds): New function with the body
10770 mostly moved from `find-tag-default'.
10771 (find-tag-default): Move most code to `find-tag-default-bounds',
10772 call it and apply `buffer-substring-no-properties' afterwards.
10773
10774 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10775
10776 * eshell/em-term.el (eshell-term-initialize):
10777 Use `cl-intersection' rather than `intersection'.
10778
10779 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10780
10781 * vc/log-view.el: Doc fix.
10782 (log-view-mode-map): Copy keymap from `special-mode-map'.
10783
10784 2013-06-02 Eric Ludlam <zappo@gnu.org>
10785
10786 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10787 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10788 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10789 (eieio-unbound, eieio-default-superclass)
10790 (eieio--define-field-accessors, method-static, method-before)
10791 (method-primary, method-after, method-num-lists)
10792 (method-generic-before, method-generic-primary)
10793 (method-generic-after, method-num-slots)
10794 (eieio-specialized-key-to-generic-key)
10795 (eieio--check-type, class-v, class-p)
10796 (eieio-class-name, define-obsolete-function-alias)
10797 (eieio-class-parents-fast, eieio-class-children-fast)
10798 (same-class-fast-p, class-constructor, generic-p)
10799 (generic-primary-only-p, generic-primary-only-one-p)
10800 (class-option-assoc, class-option, eieio-object-p)
10801 (class-abstract-p, class-method-invocation-order)
10802 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10803 (eieio-class-un-autoload, eieio-defclass)
10804 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10805 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10806 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10807 (eieio-defgeneric-reset-generic-form)
10808 (eieio-defgeneric-form-primary-only)
10809 (eieio-defgeneric-reset-generic-form-primary-only)
10810 (eieio-defgeneric-form-primary-only-one)
10811 (eieio-defgeneric-reset-generic-form-primary-only-one)
10812 (eieio-unbind-method-implementations)
10813 (eieio--defmethod, eieio--typep)
10814 (eieio-perform-slot-validation, eieio-validate-slot-value)
10815 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10816 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10817 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10818 (eieio-slot-name-index, eieio-class-slot-name-index)
10819 (eieio-set-defaults, eieio-initarg-to-attribute)
10820 (eieio-attribute-to-initarg, eieio-c3-candidate)
10821 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10822 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10823 (eieio-class-precedence-list, eieio-generic-call-methodname)
10824 (eieio-generic-call-arglst, eieio-generic-call-key)
10825 (eieio-generic-call-next-method-list)
10826 (eieio-pre-method-execution-functions, eieio-generic-call)
10827 (eieio-generic-call-primary-only, eieiomt-method-list)
10828 (eieiomt-optimizing-obarray, eieiomt-install)
10829 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10830 (eieio-generic-form, eieio-defmethod, make-obsolete)
10831 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10832 (defclass): Remove `eval-and-compile' from macro.
10833 (call-next-method, shared-initialize): Instead of using
10834 `scoped-class' variable, use new eieio--scoped-class, and
10835 eieio--with-scoped-class.
10836 (initialize-instance): Rename local variable 'scoped-class' to
10837 'this-class' to remove ambiguitity from old global.
10838
10839 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10840 eieio.el.
10841 (eieio--scoped-class-stack): New variable.
10842 (eieio--scoped-class): New fcn.
10843 (eieio--with-scoped-class): New scoping macro.
10844 (eieio-defclass): Use pushnew instead of add-to-list.
10845 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10846 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10847 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10848 `scoped-class' variable, use new eieio--scoped-class, and
10849 eieio--with-scoped-class.
10850
10851 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10852
10853 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10854
10855 * eshell/esh-ext.el (eshell-external-command): Pass args to
10856 `eshell-find-interpreter'.
10857 (eshell-find-interpreter): Add new second parameter ARGS.
10858
10859 * eshell/em-script.el (eshell-script-initialize): Add second arg
10860 to the function added as MATCH to `eshell-interpreter-alist'.
10861
10862 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10863 the function added as MATCH to `eshell-interpreter-alist'.
10864
10865 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10866 (eshell-visual-options): New defcustom.
10867 (eshell-escape-control-x): Adapt docstring.
10868 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10869 `eshell-visual-options' in addition to `eshell-visual-commands'.
10870 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10871
10872 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10873
10874 * progmodes/python.el (python-indent-block-enders): Add break,
10875 continue and raise keywords.
10876
10877 2013-06-01 Glenn Morris <rgm@gnu.org>
10878
10879 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10880
10881 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10882 * progmodes/cc-cmds.el (delete-forward-p):
10883 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10884 * progmodes/cc-engine.el (buffer-syntactic-context):
10885 * progmodes/cc-fonts.el (face-property-instance):
10886 * progmodes/cc-mode.el (set-keymap-parents):
10887 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10888 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10889 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10890 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10891 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10892
10893 * progmodes/cc-vars.el (other): Emacs has this widget since
10894 at least 21.1, so don't (re)define it.
10895
10896 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10897 Replace the obsolete alias pcomplete-arg-quote-list.
10898
10899 2013-06-01 Leo Liu <sdl.web@gmail.com>
10900
10901 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10902 punctuation syntax.
10903 (inferior-octave-minimal-columns)
10904 (inferior-octave-last-column-width): New variables.
10905 (inferior-octave-track-window-width-change): New function.
10906 (inferior-octave-mode): Adjust column width so that Octave output,
10907 for example from 'ls', can fit into the window nicely.
10908
10909 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10910
10911 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10912 Highlight expansions inside regexp literals.
10913
10914 2013-05-31 Glenn Morris <rgm@gnu.org>
10915
10916 * obsolete/sym-comp.el (symbol-complete):
10917 Replace obsolete completion-annotate-function.
10918
10919 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10920
10921 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10922
10923 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10924 New function, checks if point is inside a literal that allows
10925 expression expansion.
10926 (ruby-syntax-propertize-expansion): Use it.
10927 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10928 around the body.
10929
10930 2013-05-30 Juri Linkov <juri@jurta.org>
10931
10932 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10933 to "\M-si".
10934 (isearch-invisible): New variable.
10935 (isearch-forward): Doc fix.
10936 (isearch-mode): Set `isearch-invisible'
10937 to the value of `search-invisible'.
10938 (isearch-toggle-case-fold): Doc fix.
10939 (isearch-toggle-invisible): New command.
10940 (isearch-query-replace): Let-bind `search-invisible'
10941 to the value of `isearch-invisible'.
10942 (isearch-search): Use `isearch-invisible' instead of
10943 `search-invisible'. Let-bind `search-invisible'
10944 to the value of `isearch-invisible'. (Bug#11378)
10945
10946 2013-05-30 Juri Linkov <juri@jurta.org>
10947
10948 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10949 call when `query-flag' is nil and `search-invisible' is non-nil.
10950 (Bug#11746)
10951
10952 2013-05-30 Glenn Morris <rgm@gnu.org>
10953
10954 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10955
10956 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10957 (cc-require): Suppress spurious "noruntime" warnings.
10958 (cc-require-when-compile): Use fboundp, for sake of compiler.
10959
10960 * progmodes/cc-mode.el: Move load of cc-vars before that of
10961 cc-langs (which in turn loads cc-vars), to quieten compiler.
10962
10963 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * paren.el: Simplify the code.
10966 (show-paren-mode): Always start the timer.
10967 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10968 (show-paren--overlay, show-paren--overlay-1): Rename from
10969 show-paren-overlay and show-paren-overlay-1, and initialize to an
10970 overlay rather than to nil.
10971 (show-paren-function): Misc cleanup and simplifications.
10972
10973 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * paren.el (show-paren-data-function): New hook.
10976 (show-paren--default): New function, extracted from show-paren-function.
10977 (show-paren-function): Use show-paren-data-function.
10978
10979 2013-05-30 Glenn Morris <rgm@gnu.org>
10980
10981 * ielm.el (ielm-map, ielm-complete-symbol):
10982 Use completion-at-point rather than obsolete functions.
10983 (inferior-emacs-lisp-mode): Doc fix.
10984 Set completion-at-point-functions, rather than
10985 comint-dynamic-complete-functions.
10986
10987 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10988 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10989 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10990
10991 * image.el (image-animated-p): Tweak definition.
10992
10993 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10994 (rlogin-process-connection-type): Tweak default. Add set-after.
10995 (rlogin-host): Doc fix.
10996 (rlogin): Tweak prompt.
10997 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10998
10999 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11000 * progmodes/tcl.el (inferior-tcl-mode-map):
11001 Use completion-at-point rather than obsolete alias.
11002
11003 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11004
11005 * minibuffer.el (read-file-name-completion-ignore-case):
11006 Move before completion--in-region, for eager macro expansion.
11007
11008 2013-05-29 Juri Linkov <juri@jurta.org>
11009
11010 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11011 for total count of matching lines. Add `global-matches' for total
11012 count of matches. Rename `matches' to `lines' for count of
11013 matching lines. Add `matches' for count of matches.
11014 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11015 to `prev-line' for line number of prev match endpt.
11016 Increment `matches' for every match. Print the number of
11017 matching lines in the header.
11018 (occur-context-lines): Rename `lines' to `curr-line'.
11019 Rename `prev-lines' to `prev-line'. (Bug#14017)
11020
11021 2013-05-29 Juri Linkov <juri@jurta.org>
11022
11023 * replace.el (perform-replace): Add `skip-read-only-count',
11024 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11025 Increment them for corresponding conditions and report the number
11026 of skipped occurrences in the final message. (Bug#11746)
11027 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11028 (replace-string, replace-regexp): Doc fix.
11029
11030 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11033
11034 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11035 prog-mode-map (bug#14504).
11036
11037 2013-05-29 Leo Liu <sdl.web@gmail.com>
11038
11039 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11040 (octave-help): Small simplification.
11041
11042 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11043 off the highlight first.
11044
11045 2013-05-29 Glenn Morris <rgm@gnu.org>
11046
11047 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11048 Handle idlwave-last-system-routine-info-cons-cell being nil.
11049
11050 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11051 (idlwave-write-paths): Simplify via with-temp-buffer.
11052
11053 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11054 * emulation/cua-rect.el: Also load cua-base at run time.
11055
11056 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11057 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11058 (cperl-imenu-on-info): Require imenu.
11059
11060 2013-05-28 Alan Mackenzie <acm@muc.de>
11061
11062 Handle "capitalised keywords" correctly.
11063 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11064
11065 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11066
11067 * eshell/em-unix.el: Add -r option to cp.
11068
11069 2013-05-28 Glenn Morris <rgm@gnu.org>
11070
11071 * vc/vc-arch.el (vc-exec-after): Declare.
11072 (vc-switches): Autoload.
11073 * vc/vc-bzr.el: No need to require vc when compiling.
11074 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11075 (vc-resynch-buffer, vc-dir-refresh): Declare.
11076 (vc-setup-buffer, vc-switches): Autoload.
11077 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11078 (vc-resynch-buffer): Declare.
11079 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11080 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11081 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11082 (grep-read-regexp, grep-read-files, grep-expand-template)
11083 (vc-dir-refresh): Declare.
11084 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11085 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11086 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11087 * vc/vc-mtn.el (vc-exec-after): Declare.
11088 (vc-switches): Autoload.
11089 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11090 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11091 (vc-file-tree-walk): Declare.
11092 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11093 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11094 (vc-tag-precondition, vc-rename-master): Autoload.
11095 * vc/vc-svn.el (vc-exec-after): Declare.
11096 (vc-switches, vc-setup-buffer): Autoload.
11097 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11098 Autoload.
11099 (vc-resynch-buffer): Declare.
11100
11101 * obsolete/fast-lock.el (byte-compile-warnings):
11102 Don't warn about obsolete features in this obsolete file.
11103
11104 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11105 Move definition before use.
11106
11107 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11108 (dun-unix-verbs): Remove dun-zippy.
11109 (dun-zippy): Remove function.
11110
11111 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11112
11113 2013-05-27 Juri Linkov <juri@jurta.org>
11114
11115 * replace.el (replace-search): New function with code moved out
11116 from `perform-replace'.
11117 (replace-highlight, replace-dehighlight): Move function definitions
11118 up closer to `replace-search'. (Bug#11746)
11119
11120 2013-05-27 Juri Linkov <juri@jurta.org>
11121
11122 * replace.el (perform-replace): Ignore invisible matches.
11123 In addition to checking `query-replace-skip-read-only', also
11124 filter out matches by calling `run-hook-with-args-until-failure'
11125 on `isearch-filter-predicates', and also check `search-invisible'
11126 for t or call `isearch-range-invisible'.
11127 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11128
11129 2013-05-27 Juri Linkov <juri@jurta.org>
11130
11131 * isearch.el (isearch-filter-predicates): Rename from
11132 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11133 (isearch-message-prefix): Display text from the property
11134 `isearch-message-prefix' of the currently active filters.
11135 (isearch-search): Don't compare `isearch-filter-predicate' with
11136 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11137 on `isearch-filter-predicates'. Also check `search-invisible' for t
11138 or call `isearch-range-invisible'.
11139 (isearch-filter-visible): Make obsolete.
11140 (isearch-lazy-highlight-search):
11141 Call `run-hook-with-args-until-failure' on
11142 `isearch-filter-predicates' and use `isearch-range-invisible'.
11143
11144 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11145 `isearch-filter-predicates' instead of `funcall'ing
11146 `isearch-filter-predicate'.
11147 (Info-mode): Set `Info-isearch-filter' to
11148 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11149
11150 * dired-aux.el (dired-isearch-filter-predicate-orig):
11151 Remove variable.
11152 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11153 (dired-isearch-filenames-end): Add and remove
11154 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11155 instead of changing the value of `isearch-filter-predicate'.
11156 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11157 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11158 Put property `isearch-message-prefix' to "filename " on
11159 `dired-isearch-filter-filenames'.
11160
11161 * wdired.el (wdired-change-to-wdired-mode):
11162 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11163 locally instead of changing `isearch-filter-predicate'.
11164 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11165
11166 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11167
11168 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11169 return the commit hash (Bug#14459). Also set the
11170 `vc-git-detached' property.
11171 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11172 (vc-git-mode-line-string): Use the same help-echo format whether
11173 in detached mode or not, because we know the actual revision now.
11174 When in detached mode, shorten the revision to 7 chars.
11175
11176 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * emacs-lisp/easy-mmode.el (define-minor-mode):
11179 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11180 mode hook and provide a docstring.
11181
11182 2013-05-27 Alan Mackenzie <acm@muc.de>
11183
11184 Remove spurious syntax-table text properties inserted by C-y.
11185 * progmodes/cc-mode.el (c-after-change): Also clear hard
11186 syntax-table property with value nil.
11187
11188 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11189
11190 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11191 when reading the events; the buffer layout shall not be changed.
11192
11193 2013-05-27 Leo Liu <sdl.web@gmail.com>
11194
11195 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11196 New variable.
11197 (inferior-octave-directory-tracker): Automatically re-sync
11198 default-directory.
11199 (octave-help): Improve handling of 'See also'.
11200
11201 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * doc-view.el: Minor naming convention tweaks.
11204 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11205
11206 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11207 even if there's no `display' property yet (bug#14435).
11208
11209 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11210
11211 * subr.el (unmsys--file-name): Rename from reveal-filename.
11212
11213 * Makefile.in (custom-deps, finder-data, autoloads)
11214 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11215 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11216 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11217
11218 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11221 error-completion on the first 2 args of condition-case (bug#14446).
11222 Don't burp at EOB.
11223
11224 2013-05-25 Leo Liu <sdl.web@gmail.com>
11225
11226 * comint.el (comint-previous-matching-input): Do not flood the
11227 *Messages* buffer with trivial messages.
11228
11229 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 * progmodes/flymake.el (flymake-nop): Don't return a string.
11232 (flymake-set-at): Fix typo.
11233
11234 * simple.el (read--expression): New function, extracted from
11235 eval-expression. Set completion-at-point-functions (bug#14465).
11236 (eval-expression, eval-minibuffer): Use it.
11237
11238 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11239
11240 * progmodes/flymake.el (flymake-save-buffer-in-file)
11241 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11242 (flymake-selected-frame, flymake-log, flymake-ins-after)
11243 (flymake-set-at, flymake-get-buildfile-from-cache)
11244 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11245 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11246 Refine the doc string.
11247 (flymake-get-file-name-mode-and-masks): Reformat.
11248 (flymake-get-real-file-name-function): Fix a minor bug.
11249
11250 2013-05-24 Juri Linkov <juri@jurta.org>
11251
11252 * progmodes/grep.el (grep-mode-font-lock-keywords):
11253 Support =linenumber= format used by git-grep for lines with
11254 function names. (Bug#13549)
11255
11256 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11259 0 after a semi-colon; it works better for smie-auto-fill.
11260 (octave--indent-new-comment-line): New function.
11261 (octave-indent-new-comment-line): Use it (indirectly).
11262 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11263 modify comment-line-break-function.
11264
11265 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11266 (smie-setup): Use add-function to set it.
11267
11268 2013-05-24 Sam Steingold <sds@gnu.org>
11269
11270 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11271 argument (before the `interactive' argument).
11272
11273 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * image-mode.el (image-mode-winprops): Add winprops to
11276 image-mode-winprops-alist before running
11277 image-mode-new-window-functions.
11278 * doc-view.el (doc-view-new-window-function): Don't delay
11279 doc-view-goto-page via timers (bug#14435).
11280
11281 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11282
11283 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11284 (doc-view-desktop-save-buffer): New function.
11285 (doc-view-restore-desktop-buffer): New function.
11286 (desktop-buffer-mode-handlers):
11287 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11288 handler.
11289 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11290 `desktop-save-buffer' function.
11291
11292 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11293
11294 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11295 (tramp-gvfs-file-name-handler): Raise a user error when
11296 `tramp-gvfs-enabled' is nil.
11297 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11298 Do not raise a user error when loading package. (Bug#14447)
11299
11300 * net/xesam.el: Move to obsolete/.
11301
11302 2013-05-24 Glenn Morris <rgm@gnu.org>
11303
11304 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11305
11306 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11307
11308 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11309 (Info-find-node, Man-getpage-in-background): Declare.
11310
11311 * mail/unrmail.el (unrmail):
11312 Replace obsolete detect-coding-with-priority.
11313
11314 * net/socks.el (socks-split-string): Use this rather than split-string.
11315 (socks-nslookup-host): Update for above change.
11316 (dynamic-choice, s5-dynamic-choice-match)
11317 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11318 Comment out unused code.
11319
11320 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11321 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11322 (gud-tooltip-echo-area): Make obsolete.
11323 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11324
11325 * progmodes/js.el (js--optimize-arglist): Declare.
11326
11327 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11328
11329 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11330 (ediff-window-C): Declare.
11331
11332 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11333 Tweak requires to silence compiler.
11334
11335 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11336 (he-search-string, he-tried-table, he-expand-list)
11337 (he-init-string, he-string-member, he-substitute-string)
11338 (he-reset-string): Declare.
11339
11340 * obsolete/options.el (list-options): Use custom-variable-p,
11341 rather than obsolete alias.
11342
11343 2013-05-23 Sam Steingold <sds@gnu.org>
11344
11345 * simple.el (shell-command-on-region): Pass the `replace' argument
11346 down to `call-process-region' to comply with the doc as reported on
11347 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11348
11349 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * emacs-lisp/smie.el (smie-indent-forward-token)
11352 (smie-indent-backward-token): Handle string tokens (bug#14381).
11353
11354 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11355
11356 * ielm.el (ielm-menu): New menu.
11357 (inferior-emacs-lisp-mode): Set comment-start.
11358
11359 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11360
11361 * textmodes/reftex.el (reftex-ref-style-toggle):
11362 Fix deactivate action.
11363
11364 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11365 Add cleveref macros.
11366
11367 * textmodes/reftex-parse.el
11368 (reftex-locate-bibliography-files): Accept options for
11369 bibliography commands.
11370 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11371 Add addbibresource. Basic Biblatex support.
11372
11373 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11374
11375 * net/tramp-gvfs.el (top):
11376 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11377 when loading package. (Bug#14447)
11378
11379 2013-05-23 Glenn Morris <rgm@gnu.org>
11380
11381 * progmodes/js.el: No need to load comint when compiling.
11382 (ring-insert, comint-send-string, comint-send-input)
11383 (comint-last-input-end, ido-chop): Declare.
11384
11385 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11386 * vc/ediff-mult.el: Adjust requires.
11387 (ediff-directories-internal, ediff-directory-revisions-internal)
11388 (ediff-patch-file-internal): Declare.
11389 * vc/ediff-ptch.el: Adjust requires.
11390 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11391 (ediff-find-file): Autoload.
11392 * vc/ediff-util.el: No need to load ediff when compiling.
11393 (ediff-regions-internal): Declare.
11394 * vc/ediff-wind.el: Adjust requires.
11395 (ediff-compute-toolbar-width): Define when compiling.
11396 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11397 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11398 (dired-get-filename, dired-get-marked-files)
11399 (ediff-last-dir-patch, ediff-patch-default-directory)
11400 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11401 (ediff-patch-buffer-internal): Declare.
11402
11403 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11404 (ispell-process, ispell-buffer-local-words, lm-summary)
11405 (lm-section-start, lm-section-end): Declare.
11406 (checkdoc-ispell-init): Simplify.
11407
11408 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11409 (he-string-member, he-reset-string, he-substitute-string): Declare.
11410
11411 * eshell/em-ls.el: Adjust requires.
11412 (eshell-glob-regexp): Declare.
11413 * eshell/em-tramp.el: Adjust requires.
11414 (eshell-parse-command): Autoload.
11415 * eshell/em-xtra.el: Adjust requires.
11416 (eshell-parse-command): Autoload.
11417 * eshell/esh-ext.el: Adjust requires.
11418 (eshell-parse-command, eshell-close-handles): Autoload.
11419 * eshell/esh-io.el: Adjust requires.
11420 (eshell-output-filter): Autoload.
11421 * eshell/esh-util.el: No need to load tramp when compiling.
11422 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11423 Declare.
11424 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11425 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11426 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11427 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11428 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11429 * eshell/esh-opt.el, eshell/esh-proc.el:
11430 * eshell/esh-var.el: Adjust requires.
11431 * eshell/eshell.el: Do not require esh-util twice.
11432 (eshell-add-input-to-history): Declare.
11433 (eshell-command): Check history module is active before using it.
11434
11435 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11436
11437 2013-05-22 Leo Liu <sdl.web@gmail.com>
11438
11439 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11440
11441 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11442
11443 * autorevert.el (auto-revert-notify-add-watch)
11444 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11445 it indicates changes in file modification time.
11446
11447 2013-05-22 Glenn Morris <rgm@gnu.org>
11448
11449 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11450 Always delete the autoloaded function from the noruntime and
11451 unresolved functions lists.
11452
11453 * allout.el: No need to load epa, epg, overlay when compiling.
11454 (epg-context-set-passphrase-callback, epg-list-keys)
11455 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11456 (epg-key-user-id-list): Declare.
11457
11458 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11459 (viper-set-parsing-style-toggling-macro)
11460 (viper-set-emacs-state-searchstyle-macros):
11461 Use called-interactively-p on Emacs.
11462 (viper-looking-back): Make it an obsolete alias. Update callers.
11463 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11464 Use looking-back rather than viper-looking-back.
11465 (viper-tmp-insert-at-eob, viper-enlarge-region)
11466 (viper-read-string-with-history, viper-register-to-point)
11467 (viper-append-to-register, viper-change-state-to-vi)
11468 (viper-backward-char-carefully, viper-forward-char-carefully)
11469 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11470 (viper-change-state-to-emacs): Declare.
11471 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11472 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11473 * emulation/viper-mous.el: Do not load viper-cmd.
11474 (viper-backward-char-carefully, viper-forward-char-carefully)
11475 (viper-forward-word, viper-adjust-window): Declare.
11476
11477 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11478
11479 * progmodes/idlw-help.el (idlwave-help-fontify):
11480 Use called-interactively-p.
11481
11482 * term/w32console.el (w32-get-console-codepage)
11483 (w32-get-console-output-codepage): Declare.
11484
11485 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11486 Remove unnecessary declarations.
11487 (dframe-message): Doc fix.
11488
11489 * info.el (dframe-select-attached-frame, dframe-current-frame):
11490 Declare.
11491
11492 * speedbar.el (speedbar-message): Make it an obsolete alias.
11493 Update all callers.
11494 (speedbar-with-attached-buffer)
11495 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11496 (speedbar-with-writable): Use backquote.
11497 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11498 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11499 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11500 rather than speedbar- aliases.
11501 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11502 (speedbar-make-specialized-keymap, speedbar-insert-button)
11503 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11504 (speedbar-do-function-pointer): Declare.
11505 (rmail-speedbar-button, rmail-speedbar-find-file)
11506 (rmail-speedbar-move-message):
11507 Use dframe-with-attached-buffer rather than speedbar- alias.
11508 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11509 (dframe-message, speedbar-make-specialized-keymap)
11510 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11511 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11512 (speedbar-insert-button, dframe-select-attached-frame)
11513 (dframe-maybee-jump-to-attached-frame)
11514 (speedbar-change-initial-expansion-list)
11515 (speedbar-previously-used-expansion-list-name): Declare.
11516 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11517 Use dframe-message, dframe-with-attached-buffer rather than
11518 speedbar- aliases.
11519 (gud-sentinel): Silence compiler.
11520 * progmodes/vhdl-mode.el (speedbar-refresh)
11521 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11522 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11523 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11524 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11525 (speedbar-file-lists, speedbar-make-tag-line)
11526 (speedbar-line-directory, speedbar-goto-this-file)
11527 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11528 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11529 (speedbar-make-button, speedbar-reset-scanners)
11530 (speedbar-files-item-info, speedbar-line-text)
11531 (speedbar-find-file-in-frame, speedbar-set-timer)
11532 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11533 (speedbar-with-writable): Do not (re)define it.
11534 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11535 rather than speedbar- alias.
11536
11537 2013-05-21 Leo Liu <sdl.web@gmail.com>
11538
11539 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11540 menu items.
11541 (octave-mode): Tweak fill-nobreak-predicate.
11542 (inferior-octave-startup): Check process to avoid infinite loop.
11543 (inferior-octave): Pop to buffer first to show abornmal process
11544 exit information.
11545
11546 2013-05-21 Glenn Morris <rgm@gnu.org>
11547
11548 * printing.el (pr-menu-bar): Define when compiling.
11549
11550 2013-05-21 Leo Liu <sdl.web@gmail.com>
11551
11552 * progmodes/octave.el (octave-auto-fill): Remove.
11553 (octave-indent-new-comment-line): Improve.
11554 (octave-mode): Use auto fill mode through
11555 comment-line-break-function and fill-nobreak-predicate.
11556 (octave-goto-function-definition): Support DEFUN_DLD.
11557 (octave-beginning-of-defun): Small tweak.
11558 (octave-help): Show parent directory.
11559
11560 2013-05-21 Glenn Morris <rgm@gnu.org>
11561
11562 * files.el (dired-unmark):
11563 * progmodes/gud.el (gdb-input): Update declarations.
11564
11565 * calculator.el (electric, ehelp): No need to load when compiling.
11566 (Electric-command-loop, electric-describe-mode): Declare.
11567
11568 * doc-view.el (doc-view-current-converter-processes): Move before use.
11569
11570 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11571 Move MODE-set-explicitly definition before use.
11572
11573 * international/mule-diag.el (mule-diag):
11574 Don't use obsolete window-system-version.
11575
11576 * mail/feedmail.el (smtpmail): No need to load when compiling.
11577 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11578
11579 * mail/mail-utils.el (rfc822): No need to load when compiling.
11580 (rfc822-addresses): Autoload it.
11581 (mail-strip-quoted-names): Trivial simplification.
11582
11583 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11584 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11585
11586 * net/snmp-mode.el (tempo): Don't duplicate requires.
11587
11588 * progmodes/prolog.el (info): No need to load when compiling.
11589 (comint): Require before shell requires it.
11590 (Info-goto-node): Autoload it.
11591 (Info-follow-nearest-node): Declare.
11592 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11593
11594 * textmodes/artist.el (picture-mode-exit): Declare.
11595
11596 * textmodes/reftex-parse.el (reftex-parse-from-file):
11597 Trivial rewrite so the compiler can parse it better.
11598
11599 2013-05-20 Leo Liu <sdl.web@gmail.com>
11600
11601 * progmodes/octave.el (octave-help-mode-map)
11602 (octave-help-mode-finish-hook): New variables.
11603 (octave-help-mode, octave-help-mode-finish): New functions.
11604 (octave-help): Use octave-help-mode.
11605
11606 2013-05-20 Glenn Morris <rgm@gnu.org>
11607
11608 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11609
11610 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11611
11612 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11613 start at point, so that expansion starting right after opening
11614 slash in a regexp is recognized.
11615 (ruby-syntax-before-regexp-re): New defvar, extracted from
11616 ruby-syntax-propertize-function. Since the value of this regexp
11617 is looked up at runtime now, we should be able to turn
11618 `ruby-syntax-methods-before-regexp' into a defcustom later.
11619 (ruby-syntax-propertize-function): Split regexp matching into two
11620 parts, for opening and closing slashes. That allows us to skip
11621 over string interpolations and support multiline regexps.
11622 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11623 for them, which calls `ruby-syntax-propertize-expansion'.
11624 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11625 call to `ruby-syntax-propertize-function'.
11626 (ruby-syntax-propertize-expansion): Extracted from
11627 `ruby-syntax-propertize-expansions'. Handles one expansion.
11628 (ruby-syntax-propertize-percent-literal): Leave point right after
11629 the percent symbol, so that the expression expansion rule can
11630 propertize the contents.
11631 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11632 heredoc openers.
11633 (ruby-syntax-propertize-expansions): Remove.
11634
11635 2013-05-18 Juri Linkov <juri@jurta.org>
11636
11637 * man.el (Man-default-man-entry): Remove `-' from the end
11638 of the default value. (Bug#14400)
11639
11640 2013-05-18 Glenn Morris <rgm@gnu.org>
11641
11642 * comint.el (comint-password-prompt-regexp):
11643 Allow "password for XXX" where XXX contains colons (eg https://...).
11644
11645 2013-05-18 Leo Liu <sdl.web@gmail.com>
11646
11647 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11648 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11649 (octave-source-directories): Don't check process.
11650 (octave-source-directories, octave-find-definition): Doc fix.
11651
11652 2013-05-18 Glenn Morris <rgm@gnu.org>
11653
11654 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11655 Remove backspace/delete bindings. (Bug#14392)
11656
11657 * cus-dep.el (custom-make-dependencies): Sort the output.
11658 (custom-versions-load-alist): Convert comment to doc.
11659
11660 2013-05-17 Leo Liu <sdl.web@gmail.com>
11661
11662 * newcomment.el (comment-search-backward): Stricter in finding
11663 comment start. (Bug#14303)
11664
11665 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11666 (octave-comment-start-skip): Properly anchored.
11667
11668 2013-05-17 Leo Liu <sdl.web@gmail.com>
11669
11670 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11671 Clean up when turned off. (Bug#14395)
11672 (smie--highlight-matching-block-overlay): No longer buffer-local.
11673 (smie-highlight-matching-block): Adjust.
11674
11675 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11676
11677 Doc string fix for "nanoseconds" (Bug#14406).
11678 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11679 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11680
11681 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11682
11683 * calc/calc-units.el (math-extract-units): Preserve powers
11684 of units.
11685
11686 2013-05-17 Leo Liu <sdl.web@gmail.com>
11687
11688 * subr.el (delete-consecutive-dups): New function.
11689 * ido.el (ido-set-matches-1): Use it.
11690 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11691 * ido.el (ido-remove-consecutive-dups): Remove.
11692
11693 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11696 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11697 regexp-opt's `words'.
11698
11699 2013-05-16 Leo Liu <sdl.web@gmail.com>
11700
11701 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11702 (smie--highlight-matching-block-overlay)
11703 (smie--highlight-matching-block-lastpos)
11704 (smie--highlight-matching-block-timer): New variables.
11705 (smie-highlight-matching-block): New function.
11706 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11707 (smie-setup): Conditionally enable smie-blink-matching-open.
11708
11709 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11710
11711 Sync with upstream verilog-mode r840.
11712 * progmodes/verilog-mode.el (verilog-mode-version)
11713 (verilog-mode-release-date): Update.
11714 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11715 (verilog-sig-tieoff): Fix string error on
11716 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11717 (verilog-read-decls): Fix parameters confusing
11718 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11719
11720 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11721
11722 * subr.el (reveal-filename): New function.
11723
11724 * loadup.el: Compute Emacs executable versions on MS-Windows,
11725 where executables have the .exe extension. Add a hard link
11726 emacs-XX.YY.ZZ.exe on MS-Windows.
11727
11728 * Makefile.in (XARGS_LIMIT): New variable.
11729 (custom-deps, finder-data, autoloads)
11730 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11731 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11732 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11733 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11734
11735 2013-05-16 Leo Liu <sdl.web@gmail.com>
11736
11737 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11738 (octave-mode-menu, octave-mode-map): Remove its uses.
11739
11740 2013-05-16 Reto Zimmermann <reto@gnu.org>
11741
11742 Sync with upstream vhdl mode v3.34.2.
11743 * progmodes/vhdl-mode.el: Use `push' throughout.
11744 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11745 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11746 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11747 (vhdl-actual-generic-name): New option to derive actual generic name.
11748 (vhdl-port-paste-signals): Replace formal by actual generics.
11749 (vhdl-beautify): New name for old group vhdl-align. Update users.
11750 (vhdl-beautify-options): New option.
11751 (vhdl-last-input-event): New compat alias. Use throughout.
11752 (vhdl-goto-line): Replace user level function `goto-line'.
11753 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11754 vhdl-fix-statement-buffer.
11755 (vhdl-create-mode-menu): Add some entries.
11756 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11757 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11758 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11759 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11760 to force statements on one line.
11761 (vhdl-remove-trailing-spaces-region):
11762 New, split from vhdl-remove-trailing-spaces.
11763 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11764 Respect vhdl-beautify-options.
11765 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11766 (vhdl-update-sensitivity-list): Not add with index if exists without.
11767 Not include array index with signal. Ignore keywords in comments.
11768 (vhdl-get-visible-signals): Regexp tweaks.
11769 (vhdl-template-component-inst): Handle empty library.
11770 (vhdl-template-type): Add template for 'enum' type.
11771 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11772 Use vhdl-replace-string.
11773 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11774 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11775 (vhdl-speedbar-initialize): Update for above name change.
11776 (vhdl-compose-wire-components): Fix in handling of constants.
11777 (vhdl-error-regexp-emacs-alist): New variable.
11778 (vhdl-error-regexp-add-emacs): New function;
11779 adds support for new compile.el (Emacs 22+)
11780 (vhdl-generate-makefile-1): Change target order for single lib. units.
11781 Allow use of absolute file names.
11782
11783 2013-05-16 Leo Liu <sdl.web@gmail.com>
11784
11785 * simple.el (prog-indent-sexp): Indent enclosing defun.
11786
11787 2013-05-15 Glenn Morris <rgm@gnu.org>
11788
11789 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11790 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11791 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11792 (whitespace-highlight): Move to whitespace group.
11793
11794 * comint.el (comint-source):
11795 * pcmpl-linux.el (pcmpl-linux):
11796 * shell.el (shell-faces):
11797 * eshell/esh-opt.el (eshell-opt):
11798 * international/ccl.el (ccl): Remove empty custom groups.
11799
11800 * completion.el (dynamic-completion-mode):
11801 * jit-lock.el (jit-lock-debug-mode):
11802 * minibuffer.el (completion-in-region-mode):
11803 * type-break.el (type-break-mode-line-message-mode)
11804 (type-break-query-mode):
11805 * emulation/tpu-edt.el (tpu-edt-mode):
11806 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11807 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11808 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11809
11810 * term/xterm.el (xterm): Change parent group to terminals.
11811
11812 * master.el (master): Remove empty custom group.
11813 (master-mode): Remove unused :group argument.
11814 * textmodes/refill.el (refill): Remove empty custom group.
11815 (refill-mode): Remove unused :group argument.
11816
11817 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11818
11819 * cus-dep.el: Provide a feature.
11820 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11821 Don't mistakenly ignore files whose basenames match a basename
11822 from preloaded-file-list (eg cedet/ede/simple.el).
11823 Add a fallback method for getting :group.
11824
11825 2013-05-15 Juri Linkov <juri@jurta.org>
11826
11827 * isearch.el (isearch-char-by-name): Rename from
11828 `isearch-insert-char-by-name'. Doc fix.
11829 (isearch-forward): Mention `isearch-char-by-name' in
11830 the docstring. (Bug#13348)
11831
11832 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11833 `exit-minibuffer' instead of
11834 `isearch-nonincremental-exit-minibuffer'.
11835 (isearch-edit-string): Remove mention of
11836 `isearch-nonincremental-exit-minibuffer' from docstring.
11837 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11838 (isearch-forward-exit-minibuffer)
11839 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11840
11841 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * loadup.el: Just use unversioned DOC.
11844
11845 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11846 literals as extending to EOB.
11847 (nxml-last-fontify-end): Remove unused variable.
11848 (nxml-after-change1): Use with-silent-modifications.
11849 (nxml-extend-after-change-region): Simplify.
11850 (nxml-extend-after-change-region1): Remove function.
11851 (nxml-after-change1): Don't adjust for dependent regions.
11852 (nxml-fontify-matcher): Simplify.
11853 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11854 (xmltok-add-dependent): Remove function.
11855 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11856 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11857 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11858 unclosed <[[, <?, comment, and other literals as extending to EOB.
11859 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11860 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11861 Remove functions.
11862 (rng-do-some-validation-1): Don't mark dependent regions.
11863 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11864 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11865 (nxml-clear-dependent-regions): Remove functions.
11866 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11867 (nxml-ensure-scan-up-to-date):
11868 Don't clear&mark dependent regions.
11869
11870 2013-05-15 Leo Liu <sdl.web@gmail.com>
11871
11872 * progmodes/octave.el (octave-goto-function-definition):
11873 Improve and fix callers.
11874
11875 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11878 the setter (bug#14387).
11879
11880 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11881 surrounding group (bug#14402).
11882
11883 2013-05-14 Juri Linkov <juri@jurta.org>
11884
11885 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11886 (Bug#14390)
11887
11888 2013-05-14 Glenn Morris <rgm@gnu.org>
11889
11890 * progmodes/f90.el (f90-imenu-generic-expression):
11891 Fix typo in 2013-05-08 change. (Bug#14402)
11892
11893 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11894
11895 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11896 Remove signals for which replies are never received.
11897
11898 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11899
11900 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11901 (gdb-handler-alist, gdb-handler-number): Remove variables.
11902 (gdb-handler-list): New variable.
11903 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11904 (gdb-pending-handler-p, gdb-handle-reply)
11905 (gdb-remove-all-pending-triggers): New functions.
11906 (gdb-discard-unordered-replies): New defcustom.
11907 (gdb-handler): New defstruct.
11908 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11909 instead of gdb-pending-triggers. Update docstring.
11910 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11911 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11912 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11913 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11914 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11915 (gdb-frame-handler): Pending triggers are now automatically managed.
11916 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11917 Remove argument.
11918 (gdb-input): Automatically handles pending triggers. Update docstring.
11919 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11920 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11921 Update comments.
11922 (gdb-done-or-error): Now use gdb-handle-reply.
11923
11924 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11925
11926 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11927 gdb-debug-log.
11928
11929 2013-05-14 Glenn Morris <rgm@gnu.org>
11930
11931 * subr.el (user-emacs-directory-warning): New option.
11932 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11933
11934 2013-05-14 Leo Liu <sdl.web@gmail.com>
11935
11936 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11937 during redisplay.
11938 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11939 (octave-font-lock-texinfo-comment): Fix invalid search bound
11940 error: wrong side of point.
11941
11942 2013-05-14 Glenn Morris <rgm@gnu.org>
11943
11944 * progmodes/flymake.el (flymake-xml-program): New option.
11945 (flymake-xml-init): Use it.
11946
11947 * term/xterm.el: Provide a feature.
11948
11949 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11950
11951 2013-05-13 Glenn Morris <rgm@gnu.org>
11952
11953 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11954 Add compat aliases as a hack workaround. (Bug#14384)
11955
11956 2013-05-13 Leo Liu <sdl.web@gmail.com>
11957
11958 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11959 ###, and %!.
11960 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11961 C-M-q.
11962 (octave-comment-start-skip): Include %!.
11963 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11964
11965 2013-05-12 Leo Liu <sdl.web@gmail.com>
11966
11967 * progmodes/octave.el (inferior-octave-startup): Store the value
11968 of __octave_srcdir__ for octave-source-directories.
11969 (inferior-octave-check-process): New function refactored out of
11970 inferior-octave-send-list-and-digest.
11971 (octave-source-directories)
11972 (octave-find-definition-filename-function): New variables.
11973 (octave-source-directories)
11974 (octave-find-definition-default-filename): New functions.
11975 (octave-find-definition): Improve to find functions implemented in C++.
11976
11977 2013-05-12 Glenn Morris <rgm@gnu.org>
11978
11979 * calendar/diary-lib.el (diary-outlook-format-1):
11980 Don't include dayname in the output. (Bug#14349)
11981
11982 2013-05-11 Glenn Morris <rgm@gnu.org>
11983
11984 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11985
11986 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11987 Treat cc-provide like provide.
11988
11989 2013-05-11 Kevin Ryde <user42@zip.com.au>
11990
11991 * cus-dep.el (custom-make-dependencies):
11992 Use generated-autoload-load-name for the sake of files such
11993 such cedet/semantic/bovine/c.el, where the base file name
11994 is not in load-path. (Bug#5277)
11995
11996 2013-05-11 Glenn Morris <rgm@gnu.org>
11997
11998 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11999 Provide features.
12000
12001 2013-05-11 Leo Liu <sdl.web@gmail.com>
12002
12003 * progmodes/octave.el (octave-indent-comment): Improve.
12004 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12005 (octave-eldoc-function-signatures, octave-eldoc-function):
12006 New functions.
12007 (octave-mode, inferior-octave-mode): Add eldoc support.
12008
12009 2013-05-11 Richard Stallman <rms@gnu.org>
12010
12011 * epa.el (epa-decrypt-file): Take output file name as argument
12012 and read it using `interactive'.
12013
12014 2013-05-11 Leo Liu <sdl.web@gmail.com>
12015
12016 * progmodes/octave.el (octave-beginning-of-line)
12017 (octave-end-of-line): Check before using up-list because it jumps
12018 out of more syntactic contructs since moving to smie.
12019 (octave-indent-comment): New function.
12020 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12021 (octave-begin-keywords, octave-end-keywords)
12022 (octave-reserved-words, octave-smie-bnf-table)
12023 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12024
12025 2013-05-11 Glenn Morris <rgm@gnu.org>
12026
12027 * faces.el (internal-face-x-get-resource):
12028 * frame.el (ns-display-monitor-attributes-list):
12029 * calc/calc-aent.el (math-to-radians-2):
12030 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12031 Fix declarations.
12032
12033 * calc/calc-menu.el: Make it loadable in isolation.
12034
12035 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12036 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12037 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12038 (eudc-bbdb-query-internal): Require 'bbdb.
12039
12040 * lpr.el (lpr-headers-switches):
12041 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12042
12043 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12044
12045 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12046
12047 * term.el (term-set-escape-char): Make it idempotent.
12048
12049 2013-05-10 Leo Liu <sdl.web@gmail.com>
12050
12051 * progmodes/octave.el (inferior-octave-completion-table):
12052 No longer a function and all uses changed. Use cache to speed up
12053 completion due to bug#11906.
12054 (octave-beginning-of-defun): Re-write to be more general.
12055
12056 2013-05-10 Glenn Morris <rgm@gnu.org>
12057
12058 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12059
12060 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * comint.el (comint-redirect-send-command-to-process): Use :around
12063 rather than :override for comint-redirect-filter.
12064 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12065 Call it instead of comint-redirect-original-filter-function (which
12066 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12067
12068 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12069
12070 * frame.el (display-monitor-attributes-list): Add NS case.
12071 (ns-display-monitor-attributes-list): Declare.
12072
12073 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12074
12075 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12076
12077 2013-05-09 Glenn Morris <rgm@gnu.org>
12078
12079 * international/fontset.el (vertical-centering-font-regexp):
12080 Set standard-value.
12081
12082 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12083
12084 * bookmark.el (bookmark-search-delay):
12085 * cus-start.el (vertical-centering-font-regexp):
12086 * ps-mule.el (ps-mule-font-info-database-default):
12087 * ps-print.el (ps-default-fg, ps-default-bg):
12088 * type-break.el (type-break-good-break-interval):
12089 * whitespace.el (whitespace-indentation-regexp)
12090 (whitespace-space-after-tab-regexp):
12091 * emacs-lisp/testcover.el (testcover-1value-functions)
12092 (testcover-noreturn-functions, testcover-progn-functions)
12093 (testcover-prog1-functions):
12094 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12095 * eshell/em-glob.el (eshell-glob-translate-alist):
12096 * play/tetris.el (tetris-tty-colors):
12097 * progmodes/cpp.el (cpp-face-default-list):
12098 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12099 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12100 (idlwave-help-browser-generic-args):
12101 * progmodes/make-mode.el (makefile-special-targets-list):
12102 * progmodes/python.el (python-shell-virtualenv-path):
12103 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12104 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12105 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12106 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12107 * textmodes/reftex-vars.el (reftex-format-label-function):
12108 * textmodes/remember.el (remember-diary-file): Fix custom types.
12109
12110 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12111 Add :version.
12112
12113 2013-05-09 Leo Liu <sdl.web@gmail.com>
12114
12115 * progmodes/octave.el (inferior-octave-completion-at-point):
12116 Restore file completion. (Bug#14300)
12117 (inferior-octave-startup): Fix incorrect highlighting for the
12118 first prompt.
12119
12120 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * progmodes/ruby-mode.el: First cut at SMIE support.
12123 (ruby-use-smie): New var.
12124 (ruby-smie-grammar): New constant.
12125 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12126 (ruby-smie--forward-token, ruby-smie--backward-token)
12127 (ruby-smie-rules): New functions.
12128 (ruby-mode-variables): Setup SMIE if applicable.
12129
12130 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12131
12132 * simple.el (line-move-visual): Signal beginning/end of buffer
12133 only if vertical-motion moved less than it was requested. Avoids
12134 silly incorrect error messages when there are display strings with
12135 multiple newlines at EOL.
12136
12137 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12138
12139 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12140 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12141 (prolog-char-quote-workaround):
12142 * progmodes/cperl-mode.el (cperl-under-as-char):
12143 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12144 Mark as obsolete.
12145 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12146 their declaration.
12147 (vhdl-mode-syntax-table-init): Remove.
12148
12149 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12150 last change.
12151
12152 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12153 syntax for "_".
12154 (ld-script-font-lock-keywords):
12155 Change regexps to use things like \_< and \_>.
12156
12157 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12158 Change all regexps to use things like \_< and \_>.
12159
12160 * progmodes/autoconf.el (autoconf-definition-regexp)
12161 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12162 Handle a _ with symbol syntax.
12163 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12164
12165 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12166 Consolidate declaration.
12167 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12168 the declaration.
12169 (ada-create-syntax-table): Remove.
12170 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12171 already has the right syntax nowadays.
12172 (ada-goto-next-word): Don't change the syntax of "_".
12173
12174 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12175 with-wrapper-hook.
12176
12177 2013-05-08 Sam Steingold <sds@gnu.org>
12178
12179 * thingatpt.el (thing-at-point): Accept optional second argument
12180 NO-PROPERTIES to strip the text properties from the return value.
12181 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12182 to `thing-at-point' instead of stripping the properties ourselves.
12183 Also, when `thing-at-point' fails to find a url, prepend "http://"
12184 to the filename at point on the assumption that the user is
12185 pointing at something like gnu.org/gnu.
12186
12187 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12188
12189 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12190 * faces.el (crm-separator):
12191 Silence byte-compiler.
12192
12193 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12194 (tool-bar-map): Remove unneeded defvars.
12195
12196 2013-05-08 Leo Liu <sdl.web@gmail.com>
12197
12198 Re-work a fix for bug#10994 based on Le Wang's patch.
12199 * ido.el (ido-remove-consecutive-dups): New helper.
12200 (ido-completing-read): Use it.
12201 (ido-chop): Revert fix for bug#10994.
12202
12203 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12204
12205 * cus-edit.el (custom-save-variables):
12206 Pretty-print long values. (Bug#14187)
12207
12208 2013-05-08 Glenn Morris <rgm@gnu.org>
12209
12210 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12211 (m4-mode-syntax-table): Init in the defvar.
12212 (m4-mode-abbrev-table): Let define-derived-mode define it.
12213
12214 2013-05-08 Tom Tromey <tromey@redhat.com>
12215
12216 * progmodes/m4-mode.el (m4-mode-syntax-table):
12217 Do not treat "_" as word constituent. (Bug#14167)
12218
12219 2013-05-07 Glenn Morris <rgm@gnu.org>
12220
12221 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12222 Remove explicit eshell-isearch-cancel-map.
12223
12224 * progmodes/f90.el (f90-smart-end-names): New option.
12225 (f90-smart-end): Doc fix.
12226 (f90-end-block-optional-name): New constant.
12227 (f90-block-match): Respect f90-smart-end-names.
12228
12229 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12232 about implicit semi-colons (bug#14218).
12233
12234 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12235
12236 * frame.el (display-monitor-attributes-list)
12237 (frame-monitor-attributes): New functions.
12238
12239 2013-05-06 Leo Liu <sdl.web@gmail.com>
12240
12241 * progmodes/octave.el (octave-syntax-propertize-function): Change
12242 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12243 (octave-font-lock-keywords): Use octave-operator-regexp.
12244 (octave-completion-at-point): Rename from
12245 octave-completion-at-point-function.
12246 (inferior-octave-directory-tracker): Robustify.
12247 (octave-text-functions): Remove and fix its uses. No such things
12248 any more.
12249
12250 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 * emacs-lisp/trace.el (trace--display-buffer): New function.
12253 (trace-make-advice): Use it.
12254
12255 2013-05-06 Juri Linkov <juri@jurta.org>
12256
12257 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12258 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12259 Doc fix.
12260 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12261 in the help string. (Bug#12985)
12262
12263 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12264
12265 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12266
12267 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12268
12269 * progmodes/perl-mode.el: Add support for here documents.
12270 (perl-syntax-propertize-function): Match here-doc markers.
12271 (perl-syntax-propertize-special-constructs): Find their end.
12272 (perl-imenu-generic-expression): Use [:alnum:].
12273
12274 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12275 (advice--add-function): Refresh the advice if already present
12276 (bug#14317).
12277
12278 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12279
12280 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12281
12282 2013-05-06 Glenn Morris <rgm@gnu.org>
12283
12284 * w32-fns.el (w32-charset-info-alist): Declare.
12285
12286 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12287 of its defcustom properties.
12288 (eshell-cmpl-initialize): No need to load pcomplete.
12289
12290 * generic-x.el: No need to require comint when compiling.
12291
12292 * net/eudc-export.el: Make it loadable without bbdb.
12293 (top-level): Use require rather than load-library.
12294 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12295 (eudc-batch-export-records-to-bbdb)
12296 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12297 Require bbdb.
12298
12299 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12302 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12303 some tweaks, instead.
12304
12305 2013-05-05 Leo Liu <sdl.web@gmail.com>
12306
12307 * progmodes/octave.el (octave-font-lock-keywords)
12308 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12309 (inferior-octave-send-list-and-digest): Improve error message.
12310 (octave-mode, inferior-octave-mode): Use setq-local.
12311 (octave-help): Set info-lookup-mode.
12312
12313 2013-05-05 Richard Stallman <rms@gnu.org>
12314
12315 * vc/compare-w.el (compare-windows-whitespace):
12316 Treat no-break space as whitespace.
12317
12318 * mail/rmailsum.el (rmail-summary-rmail-update):
12319 Detect empty summary and don't change selected message.
12320 (rmail-summary-goto-msg): Likewise.
12321
12322 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12323 Doc fixes, rename args.
12324
12325 2013-05-05 Alan Mackenzie <acm@muc.de>
12326
12327 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12328
12329 2013-05-05 Juri Linkov <juri@jurta.org>
12330
12331 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12332 to not add the length of the summary segment to the return value.
12333 (Bug#14125)
12334
12335 2013-05-05 Leo Liu <sdl.web@gmail.com>
12336
12337 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12338 (inferior-octave-output-filter): Remove.
12339 (octave-send-region, inferior-octave-startup): Fix callers.
12340 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12341 (octave-binary-file-extensions): New user variable.
12342 (octave-find-definition): Confirm if opening binary files.
12343 (octave-help-file): Use octave-find-definition to get the binary
12344 confirmation.
12345 (octave-help): Adjust for octave-help-file change.
12346
12347 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12350 Merge the two entries that handle function definitions.
12351 (pascal--syntax-propertize): New const.
12352 (pascal-mode): Use it. Use setq-local.
12353
12354 2013-05-04 Glenn Morris <rgm@gnu.org>
12355
12356 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12357 (diary-from-outlook): Respect diary-from-outlook-function.
12358
12359 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12362 Move the declaration from C.
12363 (read-minibuffer, eval-minibuffer): Move from C.
12364 (completion-setup-function): Avoid minibuffer-completion-contents.
12365
12366 2013-05-03 Leo Liu <sdl.web@gmail.com>
12367
12368 * progmodes/octave.el (octave-font-lock-keywords): Do not
12369 dehighlight 'end' in comments or strings.
12370 (octave-completing-read, octave-goto-function-definition):
12371 New helpers.
12372 (octave-help-buffer): New user variable.
12373 (octave-help-file, octave-help-function): New button types.
12374 (octave-help): New command and bind it to C-h ;.
12375 (octave-find-definition): New command and bind it to M-.
12376 (user-error): Alias to error if not defined.
12377
12378 2013-05-02 Leo Liu <sdl.web@gmail.com>
12379
12380 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12381 for \. (bug#14332)
12382 (octave-font-lock-keywords): Include [ and {.
12383
12384 2013-05-02 Leo Liu <sdl.web@gmail.com>
12385
12386 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12387 (inferior-octave): Remove calling comint-mode and return the buffer.
12388 (inferior-octave-startup): Cosmetic changes.
12389
12390 2013-05-02 Leo Liu <sdl.web@gmail.com>
12391
12392 * progmodes/octave.el (octave-syntax-propertize-function):
12393 Include the case when ' is at line beginning. (Bug#14336)
12394
12395 2013-05-02 Glenn Morris <rgm@gnu.org>
12396
12397 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12398 * desktop.el (vc-dir-mode): Just autoload it here.
12399
12400 2013-05-02 Alan Mackenzie <acm@muc.de>
12401
12402 Eliminate variable c-standard-font-lock-fontify-region-function.
12403 * progmodes/cc-mode.el
12404 (c-standard-font-lock-fontify-region-function): Remove.
12405 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12406
12407 2013-05-01 Leo Liu <sdl.web@gmail.com>
12408
12409 * progmodes/octave.el: Compatible with older emacs-24 releases.
12410 (inferior-octave-has-built-in-variables): Remove. Built-in
12411 variables were removed from Octave in 2007.
12412 (inferior-octave-startup): Fix uses.
12413 (comint-line-beginning-position): Remove compatibility code for
12414 emacs 21.
12415
12416 2013-05-01 Juri Linkov <juri@jurta.org>
12417
12418 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12419
12420 2013-05-01 Juri Linkov <juri@jurta.org>
12421
12422 * comint.el (comint-previous-matching-input): Don't print message
12423 "History item: %d" when `isearch-mode' is active.
12424 (comint-history-isearch-message): Print message "History item: %d"
12425 when `comint-input-ring-index' is not empty and this function is
12426 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12427
12428 2013-05-01 Leo Liu <sdl.web@gmail.com>
12429
12430 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12431 definitions. Use completion-at-point to insert keywords.
12432 (octave-abbrev-start): Remove.
12433 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12434
12435 2013-04-30 Leo Liu <sdl.web@gmail.com>
12436
12437 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12438 change.
12439
12440 2013-04-30 Alan Mackenzie <acm@muc.de>
12441
12442 Handle arbitrarily long C++ member initialisation lists.
12443 * progmodes/cc-engine.el (c-back-over-member-initializers):
12444 new function.
12445 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12446 (most) member init lists.
12447
12448 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12449
12450 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12451 variable.
12452
12453 2013-04-30 Leo Liu <sdl.web@gmail.com>
12454
12455 * progmodes/octave.el (octave-variables): Remove. No builtin
12456 variables any more. All converted to functions.
12457 (octave-font-lock-keywords, octave-completion-at-point-function):
12458 Fix uses.
12459 (octave-font-lock-texinfo-comment): New user variable.
12460 (octave-texinfo-font-lock-keywords): New variable for texinfo
12461 comment block.
12462 (octave-function-comment-block): New face.
12463 (octave-font-lock-texinfo-comment): New function.
12464 (octave-mode): Font lock texinfo comment block.
12465
12466 2013-04-29 Leo Liu <sdl.web@gmail.com>
12467
12468 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12469 indexing expression.
12470 (octave-continuation-string): Do not use \.
12471 (inferior-octave-complete-impossible): Remove.
12472 (inferior-octave-completion-table)
12473 (inferior-octave-completion-at-point): Remove its uses.
12474 (inferior-octave-startup): completion_matches was introduced to
12475 Octave in 1996 so safe to assume it.
12476 (octave-function-file-comment): Improve to follow how Octave does it.
12477 (octave-update-function-file-comment): Tweak.
12478
12479 2013-04-29 Leo Liu <sdl.web@gmail.com>
12480
12481 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12482 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12483 (octave-function-file-comment): Fix typo.
12484 (octave-sync-function-file-names): Use read-char-choice.
12485
12486 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12487
12488 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12489 to t for the less important warnings.
12490
12491 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12492
12493 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12494
12495 2013-04-27 Glenn Morris <rgm@gnu.org>
12496
12497 * vc/log-view.el (log-view-current-entry):
12498 Treat "---" separator lines as part of the following rev. (Bug#14169)
12499
12500 2013-04-27 Juri Linkov <juri@jurta.org>
12501
12502 * subr.el (read-number): Doc fix about using it by interactive
12503 code letter `n'. (Bug#14254)
12504
12505 2013-04-27 Juri Linkov <juri@jurta.org>
12506
12507 * desktop.el (desktop-auto-save-timeout): New option.
12508 (desktop-file-checksum): New variable.
12509 (desktop-save): Add optional arg `auto-save' and don't auto-save
12510 if nothing changed.
12511 (desktop-auto-save-timer): New variable.
12512 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12513 (after-init-hook): Call `desktop-auto-save-set-timer'.
12514 Suggested by Reuben Thomas <rrt@sc3d.org> in
12515 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12516
12517 2013-04-27 Leo Liu <sdl.web@gmail.com>
12518
12519 * progmodes/octave.el (octave-function-file-p)
12520 (octave-skip-comment-forward, octave-function-file-comment)
12521 (octave-update-function-file-comment): New functions.
12522 (octave-mode-map): Bind C-c ; to
12523 octave-update-function-file-comment.
12524 (octave-mode-menu): Add octave-update-function-file-comment.
12525 (octave-mode, inferior-octave-mode): Fix doc-string.
12526 (octave-insert-defun): Conform to Octave's coding convention.
12527 (Bug#14285)
12528
12529 * files.el (basic-save-buffer): Don't let errors in
12530 before-save-hook prevent saving buffer.
12531
12532 2013-04-20 Roland Winkler <winkler@gnu.org>
12533
12534 * faces.el (read-face-name): Use completing-read if arg multiple
12535 is nil.
12536
12537 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12538
12539 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12540 displayed, move point to after the totals line.
12541 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12542 for the details.
12543
12544 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12547 Add current dir to the load-path.
12548 (package-generate-autoloads): Don't rely on
12549 autoload-ensure-default-file.
12550
12551 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12552
12553 * textmodes/remember.el (remember-store-in-files): Document that
12554 the file name format is passed to `format-time-string'.
12555
12556 2013-04-26 Leo Liu <sdl.web@gmail.com>
12557
12558 * progmodes/octave.el (octave-sync-function-file-names): New function.
12559 (octave-mode): Use it in before-save-hook.
12560
12561 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12564 (bug#14274).
12565
12566 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12567 \n and comment, even if it's not an implicit ; (bug#14218).
12568
12569 2013-04-26 Glenn Morris <rgm@gnu.org>
12570
12571 * subr.el (read-number): Once more use `read' rather than
12572 `string-to-number', to trap non-numeric input. (Bug#14254)
12573
12574 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12575
12576 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12577 Use `syntax-multiline' text property consistently instead of
12578 `font-lock-multiline'. (Bug#14237)
12579
12580 2013-04-26 Glenn Morris <rgm@gnu.org>
12581
12582 * emacs-lisp/shadow.el (list-load-path-shadows):
12583 No longer necessary to check for duplicate simple.el, since
12584 2012-07-07 change to init_lread to not include installation lisp
12585 directories in load-path when running uninstalled. (Bug#14270)
12586
12587 2013-04-26 Leo Liu <sdl.web@gmail.com>
12588
12589 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12590 (octave-mode, inferior-octave-mode): Use setq-local.
12591 (octave-not-in-string-or-comment-p): Rename to
12592 octave-in-string-or-comment-p.
12593 (octave-in-comment-p, octave-in-string-p)
12594 (octave-in-string-or-comment-p): Replace defsubst with defun.
12595
12596 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12597
12598 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12599
12600 2013-04-25 Bastien Guerry <bzg@gnu.org>
12601
12602 * textmodes/remember.el (remember-data-directory)
12603 (remember-directory-file-name-format): Fix custom types.
12604
12605 2013-04-25 Leo Liu <sdl.web@gmail.com>
12606
12607 * progmodes/octave.el (octave-completion-at-point-function):
12608 Make use of inferior octave process.
12609 (octave-initialize-completions): Remove.
12610 (inferior-octave-completion-table): New function.
12611 (inferior-octave-completion-at-point): Use it.
12612 (octave-completion-alist): Remove.
12613
12614 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12617 (opascal-mode-syntax-table): New var.
12618 (opascal-literal-kind, opascal-is-literal-end)
12619 (opascal-literal-token-at): Rewrite.
12620 (opascal--literal-start-re, opascal-font-lock-keywords)
12621 (opascal--syntax-propertize): New constants.
12622 (opascal-font-lock-defaults): Adjust.
12623 (opascal-mode): Use them. Set comment-<foo> variables as well.
12624 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12625 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12626 (delphi-other-face, opascal-other-face): Remove face variables.
12627 (opascal-save-state): Remove macro.
12628 (opascal-fontifying-progress-step): Remove constant.
12629 (opascal--ignore-changes): Remove var.
12630 (opascal-set-token-property, opascal-parse-next-literal)
12631 (opascal-is-stable-literal, opascal-complete-literal)
12632 (opascal-is-literal-start, opascal-face-of)
12633 (opascal-parse-region, opascal-parse-region-until-stable)
12634 (opascal-fontify-region, opascal-after-change)
12635 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12636 (opascal-debug-parse-region, opascal-debug-parse-window)
12637 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12638 (opascal-debug-fontify-buffer): Remove.
12639 (opascal-debug-mode-map): Adjust accordingly.
12640
12641 2013-04-25 Leo Liu <sdl.web@gmail.com>
12642
12643 Merge octave-mod.el and octave-inf.el into octave.el with some
12644 cleanups.
12645 * progmodes/octave.el: New file renamed from octave-mod.el.
12646 * progmodes/octave-inf.el: Merged into octave.el.
12647 * progmodes/octave-mod.el: Renamed to octave.el.
12648
12649 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12650
12651 * textmodes/reftex-vars.el
12652 (reftex-label-ignored-macros-and-environments): New defcustom.
12653
12654 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12655
12656 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12659 (smie-indent-keyword): Improve the check to ensure that the next
12660 comment is really on the same line.
12661 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12662
12663 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12664 semi-colons if the line is not otherwise empty (bug#14218).
12665
12666 2013-04-25 Glenn Morris <rgm@gnu.org>
12667
12668 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12669
12670 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * progmodes/opascal.el (opascal-set-token-property): Rename from
12673 opascal-set-text-properties and only set `token' (bug#14134).
12674 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12675 (opascal-literal-text-properties): Remove.
12676 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12677 Adjust callers.
12678
12679 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12680
12681 * textmodes/remember.el (remember-handler-functions): Add an
12682 option for a new handler `remember-store-in-files'.
12683 (remember-data-directory, remember-directory-file-name-format):
12684 New options.
12685 (remember-store-in-files): New function to store remember notes
12686 as separate files within a directory.
12687
12688 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12689
12690 * progmodes/compile.el (compilation-next-error-function):
12691 Pass "formats" to compilation-find-file (bug#11777).
12692
12693 2013-04-24 Glenn Morris <rgm@gnu.org>
12694
12695 * vc/vc-bzr.el (vc-bzr-print-log):
12696 * vc/vc-hg.el (vc-hg-print-log):
12697 * vc/vc-svn.el (vc-svn-print-log):
12698 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12699
12700 * vc/vc-bzr.el (vc-bzr-print-log):
12701 * vc/vc-cvs.el (vc-cvs-print-log):
12702 * vc/vc-git.el (vc-git-print-log):
12703 * vc/vc-hg.el (vc-hg-print-log):
12704 * vc/vc-mtn.el (vc-mtn-print-log):
12705 * vc/vc-rcs.el (vc-rcs-print-log):
12706 * vc/vc-sccs.el (vc-sccs-print-log):
12707 * vc/vc-svn.el (vc-svn-print-log):
12708 * vc/vc.el (vc-print-log-internal): Doc fixes.
12709
12710 2013-04-23 Glenn Morris <rgm@gnu.org>
12711
12712 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12713 Remove venerable code attempting to avoid substitute-command-keys.
12714
12715 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12716
12717 * textmodes/reftex-vars.el (reftex-label-regexps):
12718 Call `reftex-compile-variables' after changes to this variable.
12719
12720 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12723 Use lexical-binding.
12724 (jit-lock-force-redisplay): Use markers, check buffer's continued
12725 existence and beware narrowed buffers.
12726 (jit-lock-fontify-now): Adjust call accordingly.
12727
12728 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12731 to avoid misleading the user.
12732
12733 2013-04-22 Leo Liu <sdl.web@gmail.com>
12734
12735 * info-look.el: Prefer latex2e.info. (Bug#14240)
12736
12737 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12738
12739 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12740
12741 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12742 * net/tramp.el (tramp-call-process): ... here.
12743 (tramp-set-completion-function, tramp-parse-putty):
12744 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12745 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12746 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12747 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12748 (tramp-call-local-coding-command): Use `tramp-call-process'
12749 instead of `tramp-compat-call-process'.
12750
12751 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12752 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12753 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12754 (tramp-find-inline-compress): Improve traces.
12755 (tramp-maybe-send-script): Check for Perl binary.
12756 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12757
12758 2013-04-22 Daiki Ueno <ueno@gnu.org>
12759
12760 * epg.el (epg-context-pinentry-mode): New function.
12761 (epg-context-set-pinentry-mode): New function.
12762 (epg--start): Pass --pinentry-mode option to gpg command.
12763
12764 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12765
12766 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12767 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12768 `completion-at-point'. (Bug#13774)
12769
12770 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12771 default key binding for `describe-distribution' has been moved to
12772 `C-h C-o'. (Bug#13970)
12773
12774 2013-04-21 Glenn Morris <rgm@gnu.org>
12775
12776 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12777 Add doc strings.
12778 (vc-print-log): Clarify interactive prompt.
12779
12780 2013-04-20 Glenn Morris <rgm@gnu.org>
12781
12782 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12783 No longer include timestamp etc information.
12784
12785 2013-04-20 Roland Winkler <winkler@gnu.org>
12786
12787 * faces.el (read-face-name): Bug fix, return just one face if arg
12788 multiple is nil. (Bug#14209)
12789
12790 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12791
12792 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12793 (remove-function): Autoload.
12794
12795 * comint.el (comint-redirect-original-filter-function): Remove.
12796 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12797 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12798 (vc-cvs-annotate-command):
12799 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12800 * progmodes/prolog.el (prolog-consult-compile):
12801 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12802 Use add/remove-function instead.
12803 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12804 (gud-tooltip-process-output, gud-tooltip-tips):
12805 Use add/remove-function instead.
12806 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12807 (scheme-interaction-mode, exit-scheme-interaction-mode):
12808 Use add/remove-function instead.
12809
12810 * vc/vc-dispatcher.el: Use lexical-binding.
12811 (vc--process-sentinel): Rename from vc-process-sentinel.
12812 Change last arg to be the code to run. Don't use vc-previous-sentinel
12813 and vc-sentinel-commands any more.
12814 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12815 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12816
12817 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12818
12819 * progmodes/sh-script.el (sh-imenu-generic-expression):
12820 Handle function names with a single character. (Bug#14111)
12821
12822 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12823
12824 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12825 for subroutines defined in an eval (bug#14182).
12826
12827 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12828
12829 * bookmark.el (bookmark-completing-read): Improve handling of empty
12830 string (bug#14176).
12831
12832 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12835
12836 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12837
12838 New faster Imenu implementation (bug#14058).
12839 * progmodes/python.el:
12840 (python-imenu-prev-index-position):
12841 (python-imenu-format-item-label-function)
12842 (python-imenu-format-parent-item-label-function)
12843 (python-imenu-format-parent-item-jump-label-function):
12844 New vars.
12845 (python-imenu-format-item-label)
12846 (python-imenu-format-parent-item-label)
12847 (python-imenu-format-parent-item-jump-label)
12848 (python-imenu--put-parent, python-imenu--build-tree)
12849 (python-imenu-create-index, python-imenu-create-flat-index)
12850 (python-util-popn): New functions.
12851 (python-mode): Set imenu-create-index-function to
12852 python-imenu-create-index.
12853
12854 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * winner.el (winner-active-region): Use region-active-p, activate-mark
12857 and deactivate-mark (bug#14225).
12858
12859 * simple.el (deactivate-mark): Don't inline it.
12860
12861 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12862
12863 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12864
12865 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12866
12867 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12868 file extensions from the archive-mode entry in order to prefer
12869 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12870
12871 2013-04-18 Leo Liu <sdl.web@gmail.com>
12872
12873 * bindings.el (help-event-list): Add ?\?.
12874
12875 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * subr.el (with-wrapper-hook): Declare obsolete.
12878 * simple.el (filter-buffer-substring-function): New hook.
12879 (filter-buffer-substring): Use it.
12880 (filter-buffer-substring-functions): Mark obsolete.
12881 * minibuffer.el (completion-in-region-function): New hook.
12882 (completion-in-region): Use it.
12883 (completion-in-region-functions): Mark obsolete.
12884 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12885 * abbrev.el (abbrev-expand-function): New hook.
12886 (expand-abbrev): Use it.
12887 (abbrev-expand-functions): Mark obsolete.
12888 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12889 and :filter-return.
12890
12891 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12892
12893 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12894 and do not care about match data.
12895
12896 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12897
12898 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12899 completion tables when completing error conditions and
12900 `declare' arguments.
12901 (lisp-complete-symbol, field-complete): Mark as obsolete.
12902 (check-parens): Unmatched parens are user errors.
12903 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12904
12905 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12906
12907 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12908 command changed buffer (ie. `flyspell-pre-buffer' is not current
12909 buffer), which prevents making decisions based on invalid value of
12910 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12911 cause an error when `flyspell-pre-point' was nil after switching
12912 buffers.
12913 (flyspell-post-command-hook): No longer needs to change buffers when
12914 checking pre-word. While at it remove unnecessary progn.
12915
12916 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12917
12918 * textmodes/ispell.el (ispell-add-per-file-word-list):
12919 Fix `flyspell-correct-word-before-point' error when accepting
12920 words and `coment-padding' is an integer by using
12921 `comment-normalize-vars' (Bug #14214).
12922
12923 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12924
12925 New defun movement commands.
12926 * progmodes/python.el (python-nav--syntactically)
12927 (python-nav--forward-defun, python-nav-backward-defun)
12928 (python-nav-forward-defun): New functions.
12929
12930 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12931
12932 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12933 (python-syntax-context): Use named compiler-macro for backwards
12934 compatibility with Emacs 24.x.
12935
12936 2013-04-17 Leo Liu <sdl.web@gmail.com>
12937
12938 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12939 octave-hide-process-buffer.
12940
12941 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12942
12943 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12944 (bug#14216).
12945
12946 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12947
12948 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12949 Fix adjustment of offset when receiving incomplete responses from GDB
12950 (bug#14129).
12951
12952 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12953
12954 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12955 python-mode-abbrev-table.
12956 (python-skeleton-define): Adjust accordingly.
12957 (python-mode-abbrev-table): New table that inherits from it so that
12958 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12959
12960 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12961 (abbrev-symbol): Use it.
12962 (abbrev--before-point): Use it since we already handle inheritance.
12963
12964 2013-04-16 Leo Liu <sdl.web@gmail.com>
12965
12966 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12967 binding to info-lookup-symbol.
12968
12969 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12970
12971 * minibuffer.el (completion--twq-all):
12972 * term/ns-win.el (ns-initialize-window-system):
12973 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12974
12975 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12978 global bindings.
12979
12980 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12981
12982 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12983
12984 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12985 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12986 to nil.
12987 (ruby-end-of-defun): Remove the unused arg, change the docstring
12988 to reflect that this function is only used as the value of
12989 `end-of-defun-function'.
12990 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12991 to reflect an earlier change that beginning/end-of-defun functions
12992 jump between methods in a class definition, as well as top-level
12993 functions.
12994
12995 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * minibuffer.el (minibuffer-complete): Don't just scroll
12998 a *Completions* that's been iconified.
12999 (minibuffer-force-complete): Make sure repetitions do cycle when going
13000 through completion-in-region -> minibuffer-complete.
13001
13002 2013-04-15 Alan Mackenzie <acm@muc.de>
13003
13004 Correct the placement of c-cpp-delimiters when there're #s not at
13005 col 0.
13006
13007 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13008 place a submatch around the #.
13009 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13010 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13011 on the #, not BOL.
13012
13013 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13016 (advice--member-p): New arg `name'.
13017 (advice--add-function, advice-member-p): Use it (bug#14202).
13018
13019 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13020
13021 Reformulate java imenu-generic-expression.
13022 The old expression contained ill formed regexps.
13023
13024 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13025 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13026 (cc-imenu-java-method-arg-regexp): New defconsts.
13027 (cc-imenu-java-build-type-args-regex): New defun.
13028 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13029 handling of spaces in the regexp.
13030
13031 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13032
13033 * textmodes/ispell.el (ispell-command-loop): Remove
13034 flyspell highlight of a word when ispell accepts it (bug #14178).
13035
13036 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13037
13038 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13039 uses code from the previous `ange-ftp-run-real-handler'.
13040 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13041 only in case that function exist. This is needed for proper
13042 unloading of Tramp.
13043
13044 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13045
13046 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13047
13048 * textmodes/reftex.el (reftex-compile-variables): Use it.
13049
13050 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * files.el (normal-mode): Only use default major-mode if no other mode
13053 was specified.
13054
13055 * emacs-lisp/trace.el (trace-values): New function.
13056
13057 * files.el: Allow : in local variables (bug#14089).
13058 (hack-local-variable-regexp): New var.
13059 (hack-local-variables-prop-line, hack-local-variables): Use it.
13060
13061 2013-04-13 Roland Winkler <winkler@gnu.org>
13062
13063 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13064 data before it gets modified by bibtex-beginning-of-entry.
13065
13066 2013-04-13 Roland Winkler <winkler@gnu.org>
13067
13068 * textmodes/bibtex.el (bibtex-url): Doc fix.
13069
13070 2013-04-13 Roland Winkler <winkler@gnu.org>
13071
13072 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13073 does not visit a BibTeX file, exclude it from the list of buffers
13074 returned by bibtex-initialize.
13075
13076 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13077
13078 * window.el (split-window): Remove interactive form, since as a
13079 command this function is a special case of split-window-below.
13080 Correct doc string.
13081
13082 2013-04-12 Roland Winkler <winkler@gnu.org>
13083
13084 * faces.el (read-face-name): Do not override value of arg default.
13085 Allow single faces and strings as default values. Remove those
13086 elements from return value that are not faces.
13087 (describe-face): Simplify.
13088 (face-at-point): New optional args thing and multiple so that this
13089 function can provide the same functionality previously provided by
13090 read-face-name.
13091 (make-face-bold, make-face-unbold, make-face-italic)
13092 (make-face-unitalic, make-face-bold-italic, invert-face)
13093 (modify-face, read-face-and-attribute): Use face-at-point.
13094
13095 * cus-edit.el (customize-face, customize-face-other-window)
13096 * cus-theme.el (custom-theme-add-face)
13097 * face-remap.el (buffer-face-set)
13098 * facemenu.el (facemenu-set-face): Use face-at-point.
13099
13100 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13101
13102 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13103
13104 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13105
13106 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13107 off leading { and trailing } from field values.
13108
13109 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13110
13111 * emacs-lisp/timer.el (timer--check): New function.
13112 (timer--time, timer-set-function, timer-event-handler): Use it.
13113 (timer-set-idle-time): Simplify.
13114 (timer--activate): CSE.
13115 (timer-event-handler): Give more info in error message.
13116 (internal-timer-start-idle): New function, moved from C.
13117
13118 * mpc.el (mpc-proc): Add `restart' argument.
13119 (mpc-proc-cmd): Use it.
13120 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13121 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13122 less often.
13123
13124 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13125
13126 * progmodes/sh-script.el: Implement `sh-mode' own
13127 `add-log-current-defun-function' (bug#14112).
13128 (sh-current-defun-name): New function.
13129 (sh-mode): Use the function.
13130
13131 2013-04-09 Bastien Guerry <bzg@gnu.org>
13132
13133 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13134
13135 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13138
13139 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13140 timer (bug#14156).
13141
13142 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13143
13144 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13145 declaration.
13146
13147 2013-04-07 Leo Liu <sdl.web@gmail.com>
13148
13149 * pcmpl-x.el: New file.
13150
13151 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13152
13153 Do not set x-display-name until X connection is established.
13154 This is needed to prevent from weird situation described at
13155 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13156 * frame.el (make-frame): Set x-display-name after call to
13157 window system initialization function, not before.
13158 * term/x-win.el (x-initialize-window-system): Add optional
13159 display argument and use it.
13160 * term/w32-win.el (w32-initialize-window-system):
13161 * term/ns-win.el (ns-initialize-window-system):
13162 * term/pc-win.el (msdos-initialize-window-system):
13163 Add compatible optional display argument.
13164
13165 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13166
13167 * files.el (normal-backup-enable-predicate): On MS-Windows and
13168 MS-DOS compare truenames of temporary-file-directory and of the
13169 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13170 don't fail comparison by compare-strings. Also, compare file
13171 names case-insensitively on MS-Windows and MS-DOS.
13172
13173 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13174
13175 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13176 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13177
13178 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13179
13180 * whitespace.el (whitespace-color-on, whitespace-color-off):
13181 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13182
13183 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13184
13185 * ispell.el (ispell-set-spellchecker-params):
13186 Really set `ispell-args' for all equivs.
13187
13188 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * ido.el (ido-completions): Use extra elements of ido-decorations
13191 (bug#14143).
13192 (ido-decorations): Update docstring.
13193
13194 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13195
13196 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13197 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13198 nil during initialization, in order not to miss changes since the
13199 file was opened. (Bug#14140)
13200
13201 2013-04-05 Leo Liu <sdl.web@gmail.com>
13202
13203 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13204
13205 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13206
13207 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13208
13209 2013-04-04 Glenn Morris <rgm@gnu.org>
13210
13211 * electric.el (electric-pair-inhibit-predicate): Add :version.
13212
13213 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13216 when a package is required several times (bug#14082).
13217
13218 2013-04-04 Roland Winkler <winkler@gnu.org>
13219
13220 * faces.el (read-face-name): Behave as promised by the docstring.
13221 Assume that arg default is a list of faces.
13222 (describe-face): Call read-face-name with list of default faces.
13223
13224 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13225
13226 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13227 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13228 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13229 the header.
13230 (bookmark-exit-hook-internal): Save even if list is empty.
13231
13232 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13233
13234 * emacs-lisp/package.el (package-pinned-packages): New var.
13235 (package--add-to-archive-contents): Obey it (bug#14118).
13236
13237 2013-04-03 Alan Mackenzie <acm@muc.de>
13238
13239 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13240 Also adapt to the new values of element 7 of a parse state.
13241
13242 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13243 parameter `not-in-delimiter'. Handle being inside comment opener.
13244 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13245 character in case we're typing a '*' after a '/'.
13246 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13247 instead by passing the parameter to c-state-pp-to-literal.
13248
13249 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13250 for elt. 7 of a parse state.
13251
13252 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13253
13254 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13255 * international/latin1-disp.el, international/mule-util.el:
13256 * language/cyril-util.el, language/european.el, language/ind-util.el:
13257 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13258 * language/tibetan.el, language/viet-util.el:
13259 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13260
13261 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13264 (electric-pair-post-self-insert-function): Use it.
13265 (electric-pair-default-inhibit): New function, extracted from
13266 electric-pair-post-self-insert-function.
13267
13268 2013-03-31 Roland Winkler <winkler@gnu.org>
13269
13270 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13271
13272 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13275
13276 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13277
13278 Un-indent after "pass" and "return" statements (Bug#13888)
13279 * progmodes/python.el (python-indent-block-enders): New var.
13280 (python-indent-calculate-indentation): Use it.
13281
13282 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13283
13284 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13285 defun. Defining it as defalias could introduce too eager
13286 byte-compiler optimization. (Bug#14030)
13287
13288 2013-03-30 Chong Yidong <cyd@gnu.org>
13289
13290 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13291
13292 2013-03-30 Leo Liu <sdl.web@gmail.com>
13293
13294 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13295 (kmacro-execute-from-register): Pass the keyboard macro to
13296 kmacro-call-macro or repeating won't work correctly.
13297
13298 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13299
13300 * progmodes/subword.el: Back to using `forward-symbol'.
13301
13302 * subr.el (forward-whitespace, forward-symbol)
13303 (forward-same-syntax): Move from thingatpt.el.
13304
13305 2013-03-29 Leo Liu <sdl.web@gmail.com>
13306
13307 * kmacro.el (kmacro-to-register): New command.
13308 (kmacro-execute-from-register): New function.
13309 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13310
13311 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * mpc.el: Use defvar-local and setq-local.
13314 (mpc--proc-connect): Connection failures are not bugs.
13315 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13316 (mpc-volume-map): Bind to the up-events.
13317
13318 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13319
13320 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13321 instead of `forward-symbol'.
13322
13323 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13326 (edebug--recursive-edit): Use it.
13327 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13328 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13329
13330 2013-03-28 Leo Liu <sdl.web@gmail.com>
13331
13332 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13333
13334 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13335
13336 * facemenu.el (list-colors-callback): New defvar.
13337 (list-colors-redisplay): New function.
13338 (list-colors-display): Install list-colors-redisplay as the
13339 revert-buffer-function. (Bug#14063)
13340
13341 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13344 and suffixes don't overlap (bug#14061).
13345
13346 * case-table.el: Use lexical-binding.
13347 (case-table-get-table): New function.
13348 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13349
13350 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13351
13352 * progmodes/subword.el: Add `superword-mode' to do word motion
13353 over symbol_words (parallels and leverages `subword-mode' which
13354 does word motion inside MixedCaseWords).
13355
13356 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13357
13358 * eshell/em-unix.el: Move su and sudo to...
13359 * eshell/em-tramp.el: ...Eshell tramp module.
13360
13361 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13364 Change return value to be a sexp. Delay `get-buffer' to after
13365 restoring the desktop (bug#13951).
13366
13367 2013-03-26 Leo Liu <sdl.web@gmail.com>
13368
13369 * register.el: Move semantic tag handling back to
13370 cedet/semantic/senator.el. (Bug#14052)
13371
13372 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13375 into the prompt either (bug#13963).
13376
13377 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13378
13379 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13380 part of "(error-foo)".
13381
13382 2013-03-24 Juri Linkov <juri@jurta.org>
13383
13384 * replace.el (list-matching-lines-prefix-face): New defcustom.
13385 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13386 `occur-engine' if `face-differs-from-default-p' returns t.
13387 (occur-engine): Add `,' inside backquote construct to evaluate
13388 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13389 Pass `prefix-face' to the functions `occur-context-lines' and
13390 `occur-engine-add-prefix'.
13391 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13392 `prefix-face' and propertize the prefix with `prefix-face'.
13393 (Bug#14017)
13394
13395 2013-03-24 Leo Liu <sdl.web@gmail.com>
13396
13397 * nxml/rng-valid.el (rng-validate-while-idle)
13398 (rng-validate-quick-while-idle): Guard against deleted buffer.
13399 (Bug#13999)
13400
13401 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13402 is the last entry in kill-buffer-hook.
13403
13404 * files.el (kill-buffer-hook): Doc fix.
13405
13406 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13407
13408 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13409 Make it safe-local.
13410
13411 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13412
13413 2013-03-23 Leo Liu <sdl.web@gmail.com>
13414
13415 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13416 Remove.
13417
13418 * nxml/rng-valid.el (rng-validate-mode)
13419 (rng-after-change-function, rng-do-some-validation):
13420 * nxml/rng-maint.el (rng-validate-buffer):
13421 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13422 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13423 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13424 (nxml-extend-after-change-region): Use with-silent-modifications.
13425
13426 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13427 timer-idle-list.
13428
13429 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13430 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13431 timer-idle-list. (Bug#13999)
13432
13433 2013-03-23 Juri Linkov <juri@jurta.org>
13434
13435 * info.el (info-index-match): New face.
13436 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13437 main pattern and add text properties with the new face to matches
13438 in index entries relative to the beginning of the index entry.
13439 (Bug#14015)
13440
13441 2013-03-21 Eric Ludlam <zappo@gnu.org>
13442
13443 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13444 Inhibit read only while inserting objects.
13445
13446 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13447
13448 * progmodes/cfengine.el: Update docs to mention
13449 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13450 symbol motion. Remove "_" from the word syntax.
13451
13452 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13453
13454 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13455 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13456
13457 2013-03-20 Juri Linkov <juri@jurta.org>
13458
13459 * info.el (Info-next-reference-or-link)
13460 (Info-prev-reference-or-link): New functions.
13461 (Info-next-reference, Info-prev-reference): Use them.
13462 (Info-try-follow-nearest-node): Handle footnote navigation.
13463 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13464
13465 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13466
13467 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13468 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13469
13470 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13471
13472 Suppress unnecessary non-ASCII chatter during build process.
13473 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13474 (batch-skkdic-convert): Suppress most of the chatter.
13475 It's not needed so much now that machines are faster,
13476 and its non-ASCII component was confusing; see Dmitry Gutov in
13477 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13478
13479 2013-03-20 Leo Liu <sdl.web@gmail.com>
13480
13481 * ido.el (ido-chop): Fix bug#10994.
13482
13483 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13484
13485 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13486 Remove vars.
13487 (whitespace-color-on, whitespace-color-off):
13488 Use `font-lock-fontify-buffer' (Bug#13817).
13489
13490 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13493 remapping in mode-line.
13494 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13495
13496 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13497
13498 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13499 value for `whitespace-line' face (Bug#13875).
13500 (whitespace-font-lock-keywords): Change description.
13501 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13502 the constructed keywords instead.
13503 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13504
13505 2013-03-19 Leo Liu <sdl.web@gmail.com>
13506
13507 * progmodes/compile.el (compilation-display-error): New command.
13508 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13509 C-o. (Bug#13992)
13510
13511 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13512
13513 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13514
13515 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13516
13517 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13518
13519 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13520
13521 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13522
13523 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13524 * net/tramp-gvfs.el (top):
13525 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13526 (tramp-handle-shell-command): Use it.
13527 (tramp-dissect-file-name): Raise an error when hostname is a
13528 method name, and neither method nor user is specified.
13529
13530 * net/trampver.el: Update release number.
13531
13532 2013-03-18 Leo Liu <sdl.web@gmail.com>
13533
13534 Make sure eldoc can be turned off properly.
13535 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13536 eldoc-mode.
13537 (eldoc-display-message-p): Revert last change.
13538 (eldoc-display-message-no-interference-p)
13539 (eldoc-print-current-symbol-info): Tweak.
13540
13541 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13542
13543 * doc-view.el (doc-view-new-window-function): Check the new window
13544 overlay's display property instead the char property of the
13545 buffer's first char. Use `with-selected-window' instead of
13546 `save-window-excursion' with `select-window'.
13547 (doc-view-document->bitmap): Check the current doc-view overlay's
13548 display property instead the char property of the buffer's first char.
13549
13550 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13551
13552 Automate the build of ja-dic.el (Bug#13984).
13553 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13554 from the input, rather than assume that it's been done for us by the
13555 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13556 the current date into a ja-dic.el comment, as that complicates
13557 regression testing.
13558
13559 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * whitespace.el: Fix double evaluation.
13562 (whitespace-space, whitespace-hspace, whitespace-tab)
13563 (whitespace-newline, whitespace-trailing, whitespace-line)
13564 (whitespace-space-before-tab, whitespace-indentation)
13565 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13566 obsolete defvars.
13567 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13568 (whitespace-color-on): Use a single font-lock-add-keywords call.
13569 Fix double-evaluation of face variables.
13570
13571 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13572
13573 * net/tramp-adb.el (tramp-adb-parse-device-names):
13574 Use `start-process' instead of `call-process'. Otherwise, the
13575 function might be blocked under MS Windows. (Bug#13299)
13576
13577 2013-03-17 Leo Liu <sdl.web@gmail.com>
13578
13579 Extend eldoc to display info in the mode-line. (Bug#13978)
13580 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13581 (eldoc-mode-line-string): New variable.
13582 (eldoc-minibuffer-message): New function.
13583 (eldoc-message-function): New variable.
13584 (eldoc-message): Use it.
13585 (eldoc-display-message-p)
13586 (eldoc-display-message-no-interference-p):
13587 Support eldoc-post-insert-mode.
13588
13589 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13590 (eval-expression): Run it.
13591
13592 2013-03-17 Roland Winkler <winkler@gnu.org>
13593
13594 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13595 strings in the list of return values.
13596
13597 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13598
13599 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13600 radix before checking for HMS forms.
13601
13602 2013-03-16 Leo Liu <sdl.web@gmail.com>
13603
13604 * progmodes/scheme.el: Add indentation and font-locking for λ.
13605 (Bug#13975)
13606
13607 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13610 token before point (bug#13942).
13611
13612 2013-03-16 Leo Liu <sdl.web@gmail.com>
13613
13614 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13615
13616 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13617
13618 * startup.el (command-line-normalize-file-name): Fix handling of
13619 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13620 <xfq.free@gmail.com> in
13621 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13622
13623 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13624
13625 Sync with Tramp 2.2.7.
13626
13627 * net/trampver.el: Update release number.
13628
13629 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13630
13631 * doc-view.el: Fix bug#13887.
13632 (doc-view-insert-image): Don't modify overlay associated to
13633 non-live windows, and implement horizontal centering of image in
13634 case it's smaller than the window.
13635 (doc-view-new-window-function): Force redisplay of new windows on
13636 doc-view buffers.
13637
13638 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13639
13640 * saveplace.el (save-place-alist-to-file): Don't sort
13641 `save-place-alist', just pretty-print it (bug#13882).
13642
13643 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13644
13645 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13646 Check whether `default-file-name-coding-system' is bound.
13647 It isn't in XEmacs.
13648
13649 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13652 backquotes for `obsolete' (bug#13929).
13653
13654 * international/mule.el (find-auto-coding): Include file name in
13655 obsolescence warning (bug#13922).
13656
13657 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13658
13659 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13660 for CFEngine 3-specific indentation.
13661 (cfengine3-indent-line): Use it. Fix up category regex.
13662 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13663
13664 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * type-break.el (type-break-file-name):
13667 * textmodes/remember.el (remember-data-file):
13668 * strokes.el (strokes-file):
13669 * shadowfile.el (shadow-initialize):
13670 * saveplace.el (save-place-file):
13671 * ps-bdf.el (bdf-cache-file):
13672 * progmodes/idlwave.el (idlwave-config-directory):
13673 * net/quickurl.el (quickurl-url-file):
13674 * international/kkc.el (kkc-init-file-name):
13675 * ido.el (ido-save-directory-list-file):
13676 * emulation/viper.el (viper-custom-file-name):
13677 * emulation/vip.el (vip-startup-file):
13678 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13679 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13680
13681 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13682
13683 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13684 * language/thai-word.el: Switch to UTF-8.
13685
13686 See ChangeLog.16 for earlier changes.
13687
13688 ;; Local Variables:
13689 ;; coding: utf-8
13690 ;; End:
13691
13692 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13693
13694 This file is part of GNU Emacs.
13695
13696 GNU Emacs is free software: you can redistribute it and/or modify
13697 it under the terms of the GNU General Public License as published by
13698 the Free Software Foundation, either version 3 of the License, or
13699 (at your option) any later version.
13700
13701 GNU Emacs is distributed in the hope that it will be useful,
13702 but WITHOUT ANY WARRANTY; without even the implied warranty of
13703 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13704 GNU General Public License for more details.
13705
13706 You should have received a copy of the GNU General Public License
13707 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.