Tweak earlier shr.el change
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2
3 * finder.el (finder-unload-function): New function.
4
5 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
6
7 * dframe.el (dframe-detach):
8 * find-dired.el (find-dired, find-name-dired):
9 * finder.el (finder-mode-map, finder-mode-syntax-table)
10 (finder-headmark, finder-select, finder-mouse-select):
11 Fix docstring typos.
12
13 2014-02-28 Martin Rudalics <rudalics@gmx.at>
14
15 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
16 * window.el (with-temp-buffer-window): Revert change from
17 2014-02-21. Suggested by Thierry Volpiatto.
18 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
19 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
20 * help.el (with-help-window): Fix doc-string.
21
22 2014-02-28 Ivan Kanis <ivan@kanis.fr>
23
24 * net/shr.el (shr-image-animate): New option.
25 (shr-put-image): Respect shr-image-animate.
26
27 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
28
29 * net/tramp-adb.el (tramp-adb-parse-device-names):
30 Use `accept-process-output'.
31 (tramp-adb-handle-file-truename): Cache the localname only.
32 (tramp-adb-handle-make-directory)
33 (tramp-adb-handle-delete-directory): Flush file properties correctly.
34 (tramp-adb-handle-set-file-modes): Do not raise an error when file
35 modes cannot be changed.
36
37 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
38 file properties of symlinks.
39
40 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
41
42 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
43 required/optional fields to match development biblatex. (Bug#16781)
44
45 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
46
47 * saveplace.el (toggle-save-place):
48 Fix argument handling. (Bug#16673)
49
50 2014-02-28 Glenn Morris <rgm@gnu.org>
51
52 * minibuffer.el (completions-first-difference)
53 (completions-common-part, completion-hilit-commonality): Doc fixes.
54
55 2014-02-28 Karl Berry <karl@gnu.org>
56
57 * info.el (Info-mode-map): Add H for describe-mode,
58 to synchronize with standalone Info.
59
60 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
61
62 * progmodes/sql.el (sql-interactive-mode):
63 Avoid setting global comint-input-ring-separator. (Bug#16814)
64
65 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
66
67 * net/dbus.el (dbus--init-bus): Declare function.
68 (dbus-path-local, dbus-interface-local): New defconst.
69 (dbus-init-bus): Use them.
70 (dbus-return-values-table): Extend doc.
71 (dbus-handle-bus-disconnect): Extend error message.
72
73 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
74
75 * subr.el (y-or-n-p): Fix double space issue in message.
76
77 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
78
79 * net/tramp.el (tramp-call-process): Improve trace message.
80 (tramp-handle-insert-file-contents): Trace error case.
81
82 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
83 <insert-directory>: Use `tramp-handle-insert-directory'.
84 (tramp-adb-handle-insert-directory): Remove function.
85 (tramp-adb-send-command-and-check): New defun, replacing
86 `tramp-adb-command-exit-status'. Change all callees.
87 (tramp-adb-handle-file-attributes)
88 (tramp-adb-handle-directory-files-and-attributes): Use it.
89 (tramp-adb-ls-output-name-less-p): Use
90 `directory-listing-before-filename-regexp'.
91 (tramp-adb-handle-delete-directory): Flush also file properties of
92 the truename of directory.
93 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
94 (tramp-adb-handle-file-local-copy): Make the local copy readable.
95 (tramp-adb-handle-write-region): Implement APPEND.
96 (tramp-adb-handle-rename-file): Make it more robust. Flush file
97 properties correctly.
98 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
99 variables. Check for connected devices only when needed.
100
101 2014-02-27 Glenn Morris <rgm@gnu.org>
102
103 * minibuffer.el (completion-table-dynamic)
104 (completion-table-with-cache): Doc fixes.
105
106 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
107 (completing-read-multiple): Doc fixes.
108
109 2014-02-27 Daniel Colascione <dancol@dancol.org>
110
111 * minibuffer.el (completion--nth-completion): Fix indentation.
112
113 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
114 explicit tramp path is empty.
115
116 2014-02-27 Glenn Morris <rgm@gnu.org>
117
118 * emacs-lisp/crm.el (completing-read-multiple):
119 Empower help-enable-auto-load.
120
121 2014-02-26 Glenn Morris <rgm@gnu.org>
122
123 * startup.el (command-line): Don't init the tty in daemon mode.
124
125 Avoid calling tty-setup-hook twice, eg if a term file
126 explicitly calls tty-run-terminal-initialization. (Bug#16859)
127 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
128 (tty-create-frame-with-faces): Use it.
129 * startup.el (command-line): Pass run-hook argument
130 to tty-run-terminal-initialization.
131
132 * dired.el (dired-restore-desktop-buffer): Demote errors;
133 eg in case a glob match fails. (Bug#16884)
134
135 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
136
137 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
138 error from `read-from-string'. (Bug#16850)
139
140 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
141 result of `completing-read' in the interactive form. (Bug#16854)
142
143 2014-02-25 Glenn Morris <rgm@gnu.org>
144
145 * image.el (image-animate, image-animate-timeout):
146 Stop animating images in dead buffers. (Bug#16878)
147
148 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
149
150 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
151 Doc fixes.
152 * startup.el (term-setup-hook): Doc fix. Make obsolete.
153 * term/sun.el (sun-raw-prefix-hooks):
154 Use tty-setup-hook instead of term-setup-hook.
155 (terminal-init-sun): Construct message from bytecomp plist.
156 * term/wyse50.el (enable-arrow-keys): Doc fix.
157
158 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
159
160 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
161 Fix docstring typos.
162
163 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
166
167 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
168
169 * minibuffer.el (completion--try-word-completion):
170 Fix error when completing M-x commands (bug#16808).
171
172 2014-02-24 Leo Liu <sdl.web@gmail.com>
173
174 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
175
176 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
177
178 * apropos.el (apropos-print): Avoid formatting error when
179 apropos-do-all and apropos-compact-layout are both t.
180
181 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
182
183 * apropos.el (apropos-property, apropos-all-words-regexp)
184 (apropos-true-hit, apropos-variable, apropos-print):
185 Fix docstring typos, and remove obsolete comment.
186
187 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
188
189 * net/tramp-sh.el (tramp-sh-handle-file-truename):
190 Preserve trailing "/". (Bug#16851)
191
192 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
193
194 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
195 after `=>' (bug#16811).
196 (ruby-smie-rules): Handle the inconsistent second element of the
197 list returned by `smie-indent--parent'.
198 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
199 method call.
200
201 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
202
203 * elec-pair.el (electric-pair-text-syntax-table)
204 (electric-pair-syntax-info, electric-pair--syntax-ppss)
205 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
206 (electric-pair--looking-at-unterminated-string-p): Doc fix.
207 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
208
209 2014-02-22 Glenn Morris <rgm@gnu.org>
210
211 * imenu.el (imenu--generic-function): Doc fix.
212
213 * register.el (frame-configuration-to-register): Make obsolete.
214
215 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
216
217 * desktop.el (desktop-save-buffer-p): Do not fail when
218 desktop-files-not-to-save is nil. Return t for true result
219 as the doc says.
220
221 2014-02-22 Daniel Colascione <dancol@dancol.org>
222
223 * net/secrets.el (secrets-create-item,secrets-search-items): Check
224 that attribute values are strings, avoiding the construction of
225 invalid dbus messages.
226
227 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
228
229 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
230 defun-declarations-alist.
231
232 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
235 (bug#16829).
236
237 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
238
239 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
240 (whitespace-newline, whitespace-trailing, whitespace-line)
241 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
242 (whitespace-space-after-tab): Fix typo in docstrings.
243
244 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
245
246 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
247
248 * electric.el (electric-indent-functions-without-reindent):
249 Add `yaml-indent-line'.
250
251 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
252
253 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
254 It has done nothing for years; should be removed after the release.
255
256 * simple.el (choose-completion): Fix docstring typo.
257 (read-quoted-char-radix): Remove unneeded * in docstring.
258 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
259 Don't escape parentheses unnecessarily in docstrings.
260
261 2014-02-21 Martin Rudalics <rudalics@gmx.at>
262
263 Fix handling of window-min-height/-width (Bug#16738).
264 * window.el (window--dump-window, window--dump-frame):
265 New functions.
266 (window--min-size-1): Account for window dividers.
267 When window-resize-pixelwise is nil, delay rounding till after the
268 sum of the window components has been calculated.
269 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
270 nil make sure at least one text line and two text columns remain
271 fully visible.
272 (window-resize): Signal an error when window-resize-apply fails.
273 (window--resize-child-windows): Fix calculation of by how many
274 pixels a window can still be shrunk via window-new-normal.
275 (adjust-window-trailing-edge): Call window--resizable with
276 correct TRAIL argument.
277
278 (with-temp-buffer-window): Don't evaluate BODY within
279 with-current-buffer (Bug#16816).
280
281 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
282
283 * net/tramp.el (tramp-check-cached-permissions):
284 Call `file-attributes' with `suffix' being a symbol but a string.
285
286 2014-02-21 Daniel Colascione <dancol@dancol.org>
287
288 * net/dbus.el (dbus-init-bus-1): Declare new subr.
289 (dbus-init-bus): New function: call into dbus-init-bus-1
290 and installs a handler for the disconnect signal.
291 (dbus-call-method): Rewrite to look for result in cons.
292 (dbus-call-method-handler): Store result in cons.
293 (dbus-check-event): Recognize events with nil sender as valid.
294 (dbus-handle-bus-disconnect): New function. React to bus
295 disconnection signal by synthesizing dbus error for each
296 pending synchronous or asynchronous call.
297 (dbus-notice-synchronous-call-errors): New function.
298 (dbus-handle-event): Raise errors directly only when `dbus-debug'
299 is true, not all the time.
300
301 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
302
303 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
304 Remove obsolescence declarations, these variables do not exist anymore.
305
306 * savehist.el (savehist-save-minibuffer-history)
307 (savehist-additional-variables, savehist-file, savehist-mode-hook)
308 (savehist-save-hook, savehist-coding-system, savehist-loaded)
309 (savehist-load, savehist-install, savehist-autosave): Fix typos;
310 mostly, refer to "Savehist mode" when talking about the mode,
311 and not the function.
312
313 * saveplace.el (save-place): Remove redundant info in docstring.
314 (save-place-forget-unreadable-files, toggle-save-place)
315 (save-place-forget-unreadable-files, save-place-dired-hook):
316 Fix typos and remove unneeded backslashes.
317
318 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
319
320 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
321 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
322
323 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
324 <insert-directory>: Use `tramp-handle-insert-directory'.
325 (tramp-gvfs-handle-insert-directory): Remove function.
326
327 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
328 Call `tramp-handle-insert-directory'.
329
330 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
331
332 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
333 before the start of buffer/region (bug#16799).
334
335 2014-02-20 Glenn Morris <rgm@gnu.org>
336
337 * isearch.el (search-invisible): Doc fix.
338
339 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
340
341 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
342 (bug#16657).
343
344 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
345
346 * frameset.el (frameset-restore): Delay removing an old frame's
347 duplicate id until the new frame has been correctly created.
348
349 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
350
351 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
352 (tramp-check-cached-permissions): Call `file-attributes' if the
353 cache is empty.
354
355 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
356 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
357
358 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
359 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
360 (tramp-gvfs-maybe-open-connection): Set always connection
361 properties, even if target is mounted already.
362
363 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
364 Set tramp-autoload cookie.
365 (tramp-get-remote-touch): New defun.
366 (tramp-sh-handle-set-file-times): Use it.
367 (tramp-sh-handle-directory-files-and-attributes):
368 Use `tramp-handle-directory-files-and-attributes' if neither stat
369 nor perl are available on the remote host.
370
371 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
372 "/". Write long listing only when "l" belongs to the switches.
373
374 * net/trampver.el: Update release number.
375
376 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
377
378 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
379
380 2014-02-19 Martin Rudalics <rudalics@gmx.at>
381
382 * window.el (window-state-put): Allow WINDOW to refer to an
383 internal window (Bug#16793).
384
385 2014-02-19 Glenn Morris <rgm@gnu.org>
386
387 * textmodes/remember.el: Move provide statement to end.
388 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
389 (remember-notes): Doc fixes.
390
391 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * delsel.el (delete-char): Restore incorrectly erased property
394 (bug#16795).
395
396 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
397
398 * frameset.el (frameset--restore-frame): When a frame is being reused
399 and its root window is not alive, delete all the frame's windows before
400 restoring the window state. This works around the issue in bug#16793.
401
402 2014-02-18 Glenn Morris <rgm@gnu.org>
403
404 * textmodes/remember.el (remember-data-directory)
405 (remember-directory-file-name-format, remember-store-in-files)
406 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
407 (remember-notes-save-and-bury-buffer)
408 (remember-notes--kill-buffer-query): Doc fixes.
409
410 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
411
412 2014-02-17 Alan Mackenzie <acm@muc.de>
413
414 Connect electric-indent-mode up with CC Mode. Bug #15478.
415 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
416 to electric-indent-{,local-}-mode.
417 (c-basic-common-init): Set electric-indent-inhibit.
418 Initialise c-electric-flag from electric-indent-mode.
419 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
420 New hook functions which propagate electric-indent-mode to CC mode.
421
422 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
423 hit, toggle electric-indent-local-mode.
424
425 * electric.el (electric-indent-mode-has-been-called):
426 New variable.
427
428 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
429
430 * frameset.el (frameset-cfg-id): New function.
431 (frameset--reuse-frame, frameset-restore): Use it.
432 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
433
434 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * ido.el (ido-file-internal): Remove unused var `d'.
437 Use \` for to match BoS. Fit within 80n columns.
438
439 2014-02-17 Daniel Colascione <dancol@dancol.org>
440
441 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
442 dbus-call-method check for completion using a busy-wait loop with
443 gradual backoff.
444
445 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
446
447 Sync with Tramp 2.2.9.
448
449 * net/trampver.el: Update release number.
450
451 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
452
453 * ido.el (ido-file-internal): Don't add the name of an existing
454 directory twice. (Bug#16747)
455
456 2014-02-16 Glenn Morris <rgm@gnu.org>
457
458 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
459 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
460
461 2014-02-15 Michael R. Mauger <michael@mauger.com>
462
463 * progmodes/sql.el: Version 3.4
464 (sql-oracle-options): New default value ("-L").
465 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
466 (sql-placeholders-filter): Correct placeholder pattern.
467 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
468 (sql-login-delay): New variable.
469 (sql-product-interactive): Use it.
470
471 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
472
473 * frameset.el (frameset--jump-to-register): Check that buffer is live
474 (bug#16749).
475
476 2014-02-15 Glenn Morris <rgm@gnu.org>
477
478 * info.el (info-initialize): Revert 2014-01-10 change.
479
480 2014-02-14 Glenn Morris <rgm@gnu.org>
481
482 * replace.el (map-query-replace-regexp)
483 (read-regexp-defaults-function, read-regexp): Doc fixes.
484
485 * dired.el (dired-read-regexp):
486 * faces.el (list-faces-display):
487 * misearch.el (multi-isearch-read-matching-buffers)
488 (multi-isearch-read-matching-files):
489 * play/cookie1.el (cookie-apropos):
490 * progmodes/grep.el (grep-read-regexp): Doc fixes.
491
492 * textmodes/remember.el (remember): Use frameset-to-register
493 rather than frame-configuration-to-register.
494
495 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
496
497 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
498 incorrect keybinding.
499
500 2014-02-13 Daniel Colascione <dancol@dancol.org>
501
502 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
503 when adding overlays so that line numbers from compiler match line
504 numbers we use.
505
506 2014-02-13 Glenn Morris <rgm@gnu.org>
507
508 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
509
510 * jit-lock.el (jit-lock-mode): Doc fix.
511
512 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
513
514 * apropos.el (apropos-read-pattern): When the user passes an empty
515 string, give a more helpful error message than "Wrong type
516 argument: stringp, nil".
517
518 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
521
522 2014-02-13 Glenn Morris <rgm@gnu.org>
523
524 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
525
526 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
529 shift-select commands.
530
531 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
532
533 * progmodes/js.el (js-indent-line): Don't widen.
534 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
535
536 2014-02-12 Glenn Morris <rgm@gnu.org>
537
538 * icomplete.el (icomplete): Add info-link to defgroup.
539 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
540 (icomplete-minibuffer-map, icomplete-mode)
541 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
542
543 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
544 (package-menu-filter): Rename from package-menu-filter-interactive.
545 Doc fix.
546
547 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
548
549 * frameset.el (frameset--jump-to-register): Select the required
550 window and buffer before restoring position (bug#16696).
551
552 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
553
554 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
555
556 2014-02-10 Glenn Morris <rgm@gnu.org>
557
558 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
559
560 2014-02-10 Eli Zaretskii <eliz@gnu.org>
561
562 * w32-common-fns.el (x-get-selection): Doc fix.
563 * select.el (x-get-selection): Doc fix. (Bug#15109)
564
565 * face-remap.el (face-remap-add-relative)
566 (face-remap-remove-relative, face-remap-reset-base)
567 (face-remap-set-base): Call force-mode-line-update to redisplay
568 the current buffer due to potential change in faces. (Bug#16709)
569
570 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
571
572 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
573 script more robustly.
574
575 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
576
577 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
578
579 * simple.el (choose-completion): Doc fix (bug#14160).
580
581 * subr.el (event-start): Say what a nil EVENT value means.
582
583 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
584 (bug#14197).
585
586 * progmodes/grep.el (find-program): Doc fix (bug#14289).
587
588 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
589
590 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
591
592 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
593 predicate function (bug#15455).
594
595 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
596
597 * ielm.el (inferior-emacs-lisp-mode): Instead of
598 `comment-use-global-state', set `comment-use-syntax'.
599
600 2014-02-10 Glenn Morris <rgm@gnu.org>
601
602 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
603
604 2014-02-09 Alan Mackenzie <acm@muc.de>
605
606 Fix c-invalidate-state-cache on narrowed buffers.
607 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
608 Widen when setting and clearing the CPP delimiter properties.
609
610 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
611
612 * help.el (describe-bindings): Doc fix (bug#9888).
613
614 * files.el (save-buffer): Use ARG as the parameter name for
615 consistency (bug#10346).
616 (save-buffer): Clarify the 0 argument (bug#10346).
617
618 * cus-edit.el (customize-apropos): Fix error string.
619 (custom-buffer-create): Doc fix (bug#11122).
620 (custom-sort-items): Doc fix (bug#11121).
621
622 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
623
624 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
625 (icomplete-simple-completing-p): Mention the previous variable.
626
627 * font-lock.el (font-lock-value-in-major-mode): Clarify the
628 meaning of the parameter (bug#12282).
629
630 * files.el (find-file-noselect): Clarify prompt when changing
631 readedness (bug#13261).
632 (locate-file): Suffixes aren't returned, so don't say that they
633 are (bug#12674).
634 (backup-inhibited): Doc clarification (bug#12525).
635
636 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
637 before we actually start to delete things (bug#16331).
638
639 * subr.el (event-start): Doc fix (bug#14228).
640 (event-end): Ditto.
641
642 2014-02-09 Glenn Morris <rgm@gnu.org>
643
644 * emacs-lisp/warnings.el (lwarn):
645 Empower help-enable-auto-load. (Bug#15940)
646
647 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
648
649 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
650 (Bug#16690)
651
652 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
653
654 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
655 Insert output at end of buffer. (Bug#16120)
656
657 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
658
659 * simple.el (choose-completion-string-functions): Document new
660 calling convention (bug#14153).
661 (execute-extended-command): Clarify doc string (bug#13373).
662
663 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
664
665 * find-dired.el (find-name-dired): Doc fix (bug#14290).
666 (find-grep-dired): Doc fix (bug#14288).
667
668 2014-02-08 Juri Linkov <juri@jurta.org>
669
670 * isearch.el (isearch-quote-char): Check character validity
671 like in `quoted-insert' (bug#16677).
672
673 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
674
675 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
676
677 * isearch.el (isearch-hide-immediately): Doc clarification
678 (bug#14723).
679
680 * simple.el (line-move): Document utility function used many
681 places in the Emacs sources (bug#14843).
682
683 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
684 (dired-prev-marked-file): Doc fix (bug#14855).
685 (dired-up-directory): Doc fix (bug#14848).
686
687 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
688
689 * files.el (file-relative-name): Doc fix (bug#15159).
690
691 * fringe.el (fringe-styles): Doc fix (bug#15239).
692
693 * isearch.el (isearch-filter-predicate): Documentation typo fix
694 (bug#15474).
695
696 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
697
698 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
699
700 * replace.el (replace-match-maybe-edit): Doc clarification
701 (bug#15632).
702
703 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
704
705 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
706
707 2014-02-08 Glenn Morris <rgm@gnu.org>
708
709 * help-fns.el (describe-variable):
710 Check {file,dir}-local-variables-alist, and buffer-file-name,
711 in the correct buffer.
712
713 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
714
715 * help-fns.el (describe-variable): Fix the case where
716 a value is directory-local with no dir-locals file. (Bug#16635)
717
718 2014-02-08 Glenn Morris <rgm@gnu.org>
719
720 * abbrev.el (edit-abbrevs-mode):
721 Derive from fundamental-mode. (Bug#16682)
722
723 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
724
725 * simple.el (quoted-insert): Check character validity (bug#16677).
726
727 2014-02-07 Juri Linkov <juri@jurta.org>
728
729 * desktop.el (desktop-read): Claim the lock when the owner is not
730 the current process. (Bug#16157)
731
732 2014-02-07 Juri Linkov <juri@jurta.org>
733
734 * desktop.el (desktop-buffers-not-to-save): Change default from nil
735 to "\\` ". (Bug#16651)
736
737 2014-02-07 Juri Linkov <juri@jurta.org>
738
739 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
740 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
741 (desktop-auto-save-cancel-timer): New function with some code from
742 `desktop-auto-save-set-timer'.
743 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
744 Instead of setting `desktop-save-mode' to nil, call
745 `desktop-save-mode' with arg 0. (Bug#16630)
746
747 2014-02-07 Glenn Morris <rgm@gnu.org>
748
749 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
750 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
751 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
752
753 * obsolete/iswitchb.el: Move to obsolete/.
754 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
755 since obsolete/ is not scanned for autoloads.
756 * emacs-lisp/authors.el (authors-valid-file-names):
757 Add iswitchb.el.
758
759 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
760 Disable now non-functional find-file-hook.
761
762 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
763
764 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
765 instead of ";" in order to avoid additional prompts. Let heredoc
766 scripts read from tty. (Bug#16582)
767 (tramp-send-command): No special handling of heredocs, it isn't
768 necessary anymore.
769
770 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
773 with a space (bug#16664). Limit the symbols considered to the ones
774 that are bound or fbound (bug#16646).
775
776 2014-02-06 Glenn Morris <rgm@gnu.org>
777
778 * epa.el (epa-mail-aliases): Doc fix.
779
780 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
781
782 * emacs-lisp/lisp.el (lisp-completion-at-point):
783 Use `completion-table-merge' instead of `completion-table-in-turn'
784 (bug#16604).
785
786 * minibuffer.el (completion-table-merge): New function.
787
788 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
789
790 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
791 (tramp-sh-handle-set-file-acl)
792 (tramp-sh-handle-start-file-process)
793 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
794 (tramp-find-executable, tramp-send-command): Use it.
795
796 2014-02-05 Glenn Morris <rgm@gnu.org>
797
798 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
799
800 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
801
802 * progmodes/python.el (python-shell-send-string):
803 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
804
805 2014-02-04 Anders Lindgren <andlind@gmail.com>
806
807 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
808 the names (bug#16620).
809
810 2014-02-03 Martin Rudalics <rudalics@gmx.at>
811
812 * faces.el (window-divider): New default value. Rewrite doc-string.
813 (window-divider-first-pixel, window-divider-last-pixel): New faces.
814
815 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
816
817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
818 `protected' and `public' can also be called without arguments.
819
820 2014-02-03 Glenn Morris <rgm@gnu.org>
821
822 * register.el (window-configuration-to-register)
823 (frame-configuration-to-register): Unadvertise unused argument.
824 * frameset.el (frameset-to-register): Remove unused argument.
825
826 * frameset.el (frameset-to-register):
827 * kmacro.el (kmacro-to-register):
828 * register.el (increment-register):
829 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
830 (calc-append-to-register, calc-prepend-to-register):
831 * play/gametree.el (gametree-layout-to-register)
832 (gametree-apply-register-layout):
833 * textmodes/picture.el (picture-clear-rectangle-to-register)
834 (picture-yank-rectangle-from-register):
835 * vc/emerge.el (emerge-combine-versions-register):
836 Use register-read-with-preview to read registers.
837
838 2014-02-03 João Távora <joaotavora@gmail.com>
839
840 * elec-pair.el (electric-pair-backward-delete-char): Don't error
841 when at beginning of (possibly narrowed) buffer.
842
843 2014-02-02 Daniel Colascione <dancol@dancol.org>
844
845 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
846 Also try to display local help from just before point.
847
848 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
849
850 c-parse-state. Don't "append-lower-brace-pair" in certain
851 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
852 recognised as a comment.
853
854 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
855 as well as normal comment starter.
856 (c-parse-state-get-strategy): Extra return possibility
857 'back-and-forward.
858 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
859 return value list to indicate replacement of a brace-pair cons
860 with its car.
861 (c-parse-state-1): With 'back-and-forward, only call
862 c-append-lower-brace-pair-to state-cache when cons-separated.
863
864 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
865
866 * term/ns-win.el (ns-suspend-error): New function.
867 (ns-initialize-window-system): Add ns-suspend-error to
868 suspend-hook (Bug#16612).
869
870 2014-02-02 Daniel Colascione <dancol@dancol.org>
871
872 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
873
874 2014-02-02 Daniel Colascione <dancol@dancol.org>
875
876 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
877
878 2014-02-02 Glenn Morris <rgm@gnu.org>
879
880 * register.el (register-read-with-preview, point-to-register)
881 (window-configuration-to-register, frame-configuration-to-register)
882 (jump-to-register, number-to-register, view-register, insert-register)
883 (copy-to-register, append-to-register, prepend-to-register)
884 (copy-rectangle-to-register): Doc fixes.
885
886 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
889 * emacs-lisp/find-func.el (find-function-C-source): Idem.
890 * emacs-lisp/nadvice.el (advice--cd*r): New function.
891 * help-fns.el (describe-function-1): Use it.
892
893 2014-02-02 Glenn Morris <rgm@gnu.org>
894
895 * register.el (register-preview-default): New function,
896 split from register-preview.
897 (register-preview-function): Rename from register-preview-functions,
898 make it not a hook.
899 (register-preview): Use register-preview-function.
900 (register-read-with-preview): Error on non-character event. (Bug#16595)
901
902 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
903
904 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
905 `:' before binary operators (bug#16609). Don't check for `:'
906 before `[' and `(', or their syntax status. A percent literal
907 can't end with either.
908 (ruby-font-lock-keywords): For built-ins that require arguments,
909 check that they're followed by something that looks like argument
910 (bug#16610).
911
912 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
913
914 * subr.el (butlast): Document what an omitted N means (bug#13437).
915 (nbutlast): Ditto.
916
917 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
918
919 * net/shr.el (shr-generic): Make into a defsubst to make the stack
920 depth shallower (bug#16587).
921 (shr-tag-svg): Respect `shr-inhibit-images'.
922 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
923
924 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
925
926 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
927 (ruby-smie-grammar): Make "." right-associative. Make its priority
928 lower than the ternary and all binary operators.
929 (ruby-smie-rules): Indent "(" relative to the first non-"."
930 parent, or the first "." parent at indentation.
931 Use `ruby-align-chained-calls' for indentation of "." tokens.
932 (Bug#16593)
933
934 2014-01-31 Juri Linkov <juri@jurta.org>
935
936 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
937 from `make-hash-table'.
938
939 * textmodes/ispell.el (ispell-init-process): Change message format
940 to be consistent with other messages.
941
942 2014-01-31 Glenn Morris <rgm@gnu.org>
943
944 * delsel.el (delete-selection-mode): Doc fix.
945
946 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
947 (trace-function-background): Doc fixes.
948
949 * ido.el (ido-use-virtual-buffers): Doc fix.
950 Reset :version, since the default value has not changed.
951
952 * register.el (register-preview-delay, register-read-with-preview):
953 Doc fixes.
954
955 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
956 do not mess with mail-buffer position (fixes 2009-11-03 change).
957 * progmodes/cc-mode.el (c-submit-bug-report):
958 Check auto-fill-mode is bound. (Bug#16592)
959
960 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
961
962 * startup.el (fancy-splash-image-file): New function,
963 split from fancy-splash-head.
964 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
965 so that we are both using the same image. (Bug#16574)
966
967 2014-01-30 Glenn Morris <rgm@gnu.org>
968
969 * simple.el (eval-expression): Doc fix.
970
971 * hexl.el (hexl-mode-hook):
972 * ielm.el (ielm-mode-hook):
973 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
974 (lisp-interaction-mode-hook):
975 * progmodes/cfengine.e (cfengine3-documentation-function):
976 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
977
978 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
981 is a symbol (bug#16584).
982
983 2014-01-30 Glenn Morris <rgm@gnu.org>
984
985 * help.el (help-for-help-internal): Add "P" to text.
986
987 2014-01-29 Glenn Morris <rgm@gnu.org>
988
989 * simple.el (just-one-space, cycle-spacing): Doc fixes.
990
991 2014-01-28 Martin Rudalics <rudalics@gmx.at>
992
993 * window.el (fit-frame-to-buffer): Fix calculations for margins and
994 height constraints.
995
996 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
997
998 * progmodes/hideif.el: Extend to full CPP expression syntax.
999 (hif-token-alist): Add missing tokens.
1000 (hif-token-regexp): Add support for float/octal/hex immediates.
1001 (hif-string-literal-regexp): New const.
1002 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1003 (hif-exprlist): New function.
1004 (hif-parse-if-exp): Use it.
1005 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1006 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1007 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1008 (hif-logxor, hif-comma): New functions.
1009
1010 2014-01-28 Glenn Morris <rgm@gnu.org>
1011
1012 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1013
1014 * indent.el (tab-stop-list): Doc fix. Add :version.
1015
1016 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1017 (cvs-append-to-ignore): Add compatibility alias.
1018
1019 2014-01-27 Glenn Morris <rgm@gnu.org>
1020
1021 * dired.el (dired-hide-details-mode): Don't autoload it,
1022 since it cannot be used outside Dired buffers anyway.
1023
1024 * emulation/cua-base.el (cua-mode): Doc fix.
1025
1026 * dired.el (dired-hide-details-hide-symlink-targets)
1027 (dired-hide-details-hide-information-lines)
1028 (dired-hide-details-mode): Doc fixes.
1029
1030 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1031 * strokes.el (strokes-file): Doc fix. Bump :version.
1032 (strokes-help): Doc fix.
1033 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1034 * emulation/viper.el (viper): Doc fix for custom group.
1035 (top-level): Remove oh-so-no-longer-relevant text about vip.
1036 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1037
1038 * ido.el (ido-save-directory-list-file):
1039 * saveplace.el (save-place-file):
1040 * calendar/timeclock.el (timeclock-file):
1041 * net/quickurl.el (quickurl-url-file):
1042 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1043 * progmodes/idlwave.el (idlwave-config-directory):
1044 * textmodes/remember.el (remember-data-file):
1045 Bump :version.
1046
1047 2014-01-26 Glenn Morris <rgm@gnu.org>
1048
1049 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1050 Doc fix. Make obsolete.
1051 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1052
1053 * sort.el (delete-duplicate-lines): Doc fix.
1054
1055 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1056
1057 * progmodes/ada-mode.el (ada):
1058 * woman.el (woman): Link to info manual and Commentary section.
1059
1060 * progmodes/flymake.el (flymake):
1061 * nxml/nxml-mode.el (nxml):
1062 * net/eww.el (eww):
1063 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1064 * htmlfontify.el (htmlfontify):
1065 * ses.el (ses):
1066 * epa.el (epa):
1067 * ido.el (ido): Link to info manual.
1068
1069 2014-01-25 Leo Liu <sdl.web@gmail.com>
1070
1071 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1072
1073 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1074
1075 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1076 (bug#16537).
1077
1078 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1079
1080 * net/eww.el (eww-download-callback):
1081 Fix reference to eww-download-directory.
1082
1083 * emacs-lisp/bytecomp.el (byte-compile-file):
1084 Remove unused local variable `file-name'.
1085
1086 2014-01-24 Glenn Morris <rgm@gnu.org>
1087
1088 * woman.el (woman-default-faces, woman-monochrome-faces):
1089 Fix obsolescence specification.
1090
1091 * subr.el (with-demoted-errors): Doc fix.
1092
1093 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1096 (cl--macroexp-fboundp): New function.
1097 (cl--make-type-test): Use it.
1098
1099 2014-01-23 Glenn Morris <rgm@gnu.org>
1100
1101 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1102 * simple.el (eval-expression): Doc fixes.
1103
1104 2014-01-22 Glenn Morris <rgm@gnu.org>
1105
1106 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1107
1108 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * emacs-lisp/package.el: Write files silently.
1111 (package-autoload-ensure-default-file, package--write-file-no-coding)
1112 (package-generate-description-file, package--download-one-archive)
1113 (package-install-from-archive): Tell `write-region' to stay quiet.
1114 (package-menu-mode, package-menu--print-info): Omit the Archive column
1115 if there's only one archive.
1116 (package-all-keywords, package--has-keyword-p): Remove dead code.
1117
1118 2014-01-22 Glenn Morris <rgm@gnu.org>
1119
1120 * version.el (emacs-bzr-version-bzr): Fix typo.
1121
1122 * version.el (emacs-repository-get-version):
1123 Check either .bzr or .git, but not both.
1124 Make the git case actually use the DIR argument, and return nil
1125 rather than the empty string.
1126 Avoid error if .git exists but the git executable is not found.
1127
1128 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1129
1130 Fixes in window size functions around Bug#16430 and Bug#16470.
1131 * window.el (window-total-size, window-size): New argument ROUND.
1132 (window--min-delta-1, window-min-delta, window--max-delta-1):
1133 Be more conservative when calculating the numbers of lines or
1134 columns a window can shrink (Bug#16430).
1135 (fit-window-to-buffer): Simplify code.
1136 * term.el (term-window-width): Call window-body-width again.
1137
1138 2014-01-22 Glenn Morris <rgm@gnu.org>
1139
1140 * image.el (image-format-suffixes): Doc fix.
1141
1142 * international/quail.el (quail-define-package): Doc fix.
1143
1144 * emacs-lisp/authors.el (authors-valid-file-names):
1145 (authors-renamed-files-alist): Additions.
1146
1147 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1148 reverts 2014-01-09 change. (Bug#16422)
1149
1150 * calc/calc-embed.el (thing-at-point-looking-at):
1151 * emacs-lisp/map-ynp.el (x-popup-dialog):
1152 * obsolete/lmenu.el (x-popup-dialog):
1153 * emacs-lisp/package.el (url-recreate-url):
1154 * mail/mailclient.el (clipboard-kill-ring-save):
1155 * subr.el (x-popup-dialog): Update declaration.
1156 * mail/rmail.el (rmail-mime-message-p):
1157 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1158
1159 2014-01-21 Daniel Colascione <dancol@dancol.org>
1160
1161 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1162 Correctly detect when we're inside an arithmetic expansion form
1163 containing nested parenthesis.
1164 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1165 to detect cases where we shouldn't expand "<<" to a heredoc
1166 skeleton.
1167
1168 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1171 (eldoc--message-command-p): New function.
1172 (eldoc-display-message-p): Use it.
1173 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1174 message is not automatically erased for us.
1175 (eldoc-print-current-symbol-info): Erase previous message, if any.
1176
1177 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1178
1179 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1180 specify it's an interactive function.
1181
1182 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1183 Fix regex used for scanning for citation keys which failed for
1184 citations with optional arguments.
1185
1186 2014-01-21 Leo Liu <sdl.web@gmail.com>
1187
1188 * simple.el (read--expression): Don't enable eldoc-mode.
1189
1190 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * simple.el (move-beginning-of-line): Make sure we don't move forward
1193 (bug#16497).
1194
1195 2014-01-20 Juri Linkov <juri@jurta.org>
1196
1197 * saveplace.el (toggle-save-place, save-place-to-alist)
1198 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1199 'dired-mode) before checking for dired-directory. (Bug#16477)
1200
1201 2014-01-20 Juri Linkov <juri@jurta.org>
1202
1203 * indent.el (indent-line-to): Use backward-to-indentation
1204 instead of back-to-indentation. (Bug#16461)
1205
1206 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1207
1208 Revert some of the CANNOT_DUMP fix (Bug#16494).
1209 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1210 but fixing this can wait until after the next release.
1211 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1212
1213 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1216 Use `password-word-equivalents'.
1217 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1218 to t. (Bug#5664, Bug#13124)
1219
1220 2014-01-19 Alan Mackenzie <acm@muc.de>
1221
1222 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1223 points.
1224 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1225 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1226 * progmodes/cc-mode.el (c-before-change, c-after-change)
1227 (c-font-lock-fontify-region): Bind it here.
1228
1229 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1230
1231 * term.el (term-window-width): Call window-text-width instead of
1232 window-width (Bug#16470).
1233
1234 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1235
1236 * simple.el (password-word-equivalents): Remove duplicates.
1237 Sort, to make this easier next time.
1238 Downcase. Omit ": " after "jelszó".
1239
1240 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1241
1242 * term/common-win.el (saved-region-selection): Defvar it.
1243 (x-select-text): Set saved-region-selection (Bug#16382).
1244
1245 2014-01-18 Glenn Morris <rgm@gnu.org>
1246
1247 * emacs-lisp/authors.el (authors-aliases)
1248 (authors-renamed-files-alist): Add some entries.
1249
1250 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1251
1252 * net/tramp.el (tramp-password-prompt-regexp):
1253 Use `password-word-equivalents' if available.
1254 (tramp-action-password, tramp-process-one-action)
1255 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1256
1257 2014-01-17 Chong Yidong <cyd@gnu.org>
1258
1259 * simple.el (password-word-equivalents): New defcustom.
1260 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1261 to 24.4.
1262 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1263 to t. (Bug#13124)
1264
1265 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1266
1267 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1268 (ruby-align-to-stmt-keywords): Change the default value.
1269 Use `ruby-alignable-keywords' to generate the possible customization
1270 choices.
1271 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1272 keywords, check against the value of `ruby-alignable-keywords'
1273 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1274
1275 2014-01-17 Glenn Morris <rgm@gnu.org>
1276
1277 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1278
1279 Make M-x authors return zero *Authors Errors* from current logs.
1280 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1281 (authors-ignored-files): Add some entries, remove others.
1282 (authors-ambiguous-files, authors-valid-file-names):
1283 Add some entries.
1284 (authors-renamed-files-alist): Add, remove, and adjust entries.
1285 (authors-renamed-files-regexps): Add some entries.
1286 Remove some very broad ones. Make some entries `lax'.
1287 (authors-lax-changelogs): New constant.
1288 (authors-disambiguate-file-name): Treat top-level specially.
1289 (authors-lax-changelog-p): New function.
1290 (authors-canonical-file-name): Check file as written against
1291 authors-valid-file-names. Do not special-case etc/.
1292 Handle `lax' logs and authors-renamed-files-regexps elements.
1293
1294 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1295
1296 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1297 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1298 callers.
1299
1300 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1303 Assume we're already in the proper buffer.
1304 Inspired by Anders Lindgren <andlind@gmail.com>.
1305 (follow-post-command-hook): Call it from the right buffer.
1306 (follow-comint-scroll-to-bottom): Adjust call.
1307 (follow-all-followers): Use get-buffer-window-list.
1308
1309 2014-01-15 Daniel Colascione <dancol@dancol.org>
1310
1311 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1312 `buffer-file-name' in interactive-form so that we don't leave
1313 pathless file names in `file-name-history'.
1314
1315 2014-01-15 Juri Linkov <juri@jurta.org>
1316
1317 * indent.el (indent-rigidly): Set deactivate-mark to nil
1318 in transient indentation mode. (Bug#16438)
1319
1320 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1321
1322 * emacs-lisp/package.el (package-desc-keywords): New function
1323 (Bug#16222).
1324 (describe-package-1, package-all-keywords)
1325 (package--has-keyword-p): Use it.
1326
1327 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1328
1329 * simple.el (define-alternatives): When creating the
1330 COMMAND-alternatives variable, assign COMMAND as its definition
1331 name so that `describe-variable' can relocate it.
1332
1333 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1334
1335 * font-lock.el (font-lock-keywords): Fix typo in docstring
1336 (bug#16307).
1337
1338 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1339
1340 * ispell.el (ispell-region): Reset `in-comment' for new line
1341 instead of wrongly reset `add-coment' (bug#13577).
1342
1343 2014-01-14 Daiki Ueno <ueno@gnu.org>
1344
1345 * epa-file.el (epa-file-write-region): Encode the region according
1346 to `buffer-file-format'. Problem reported at:
1347 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1348
1349 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1352 so it applies in the right buffer (bug#16410).
1353
1354 2014-01-13 Daniel Colascione <dancol@dancol.org>
1355
1356 * textmodes/rst.el (rst-define-key): Provide deprecated
1357 keybindings through named functions instead of anonymous ones so
1358 that "??" doesn't appear in describe-mode output.
1359
1360 2014-01-13 Bastien Guerry <bzg@gnu.org>
1361
1362 * simple.el (define-alternatives): Call the selected command
1363 interactively. When setting `COMMAND--implementation' for the
1364 first time, tell the user how to chose another implementation.
1365 Enhance the docstring.
1366
1367 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1370 (log-edit--match-first-line): New function.
1371 (log-edit-font-lock-keywords): Use it.
1372 (log-edit-mode): Make jit-lock-defer-multiline work.
1373
1374 2014-01-13 Bastien Guerry <bzg@gnu.org>
1375
1376 * rect.el (rectangle-mark-mode): When the region is not active,
1377 display a message saying that the mark as been set and that
1378 rectangle mode is in use.
1379 (rectangle--highlight-for-redisplay): Only put an overlay with a
1380 visible vertical bar when (display-graphic-p) is non-nil.
1381 This partially fixes Bug#16403.
1382
1383 2014-01-13 Juri Linkov <juri@jurta.org>
1384
1385 * info.el (Info-find-file): Go to DIR before displaying the error
1386 about a nonexistent file if no previous Info file is visited.
1387 Use `user-error' instead of `error' for "Info file %s does not exist".
1388 (Info-find-node-2): In case of a nonexistent node in unwind forms
1389 go to the Top node if there is no previous node to revert to.
1390 (Bug#16405)
1391
1392 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1393
1394 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1395 * window.el (fit-frame-to-buffer): Fix doc-string.
1396 Respect window-min-height/-width. Fit pixelwise when
1397 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1398 when avoiding that frame goes partially off-screen.
1399 (fit-window-to-buffer): Respect window-min-height/-width
1400 (Bug#14096).
1401
1402 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1405 after an empty line.
1406
1407 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * net/shr.el (shr-render-region): Autoload.
1410
1411 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1412
1413 * net/eww.el (eww-download-directory): Rename from
1414 `eww-download-path' (Bug#16419).
1415
1416 2014-01-12 Leo Liu <sdl.web@gmail.com>
1417
1418 * dired-x.el (dired-mode-map): Fix last change.
1419
1420 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1421
1422 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1423
1424 Spelling fixes.
1425 * emacs-lisp/generic.el (generic--normalize-comments):
1426 Rename from generic--normalise-comments. All uses changed.
1427 * play/bubbles.el (bubbles--neighborhood-score):
1428 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1429 (bubbles--neighborhood-available)
1430 (bubbles--update-neighborhood-score):
1431 Rename from names with 'neighbourhood'. All uses changed.
1432
1433 2014-01-12 Leo Liu <sdl.web@gmail.com>
1434
1435 Re-implement the feature of showing eldoc info after editing.
1436 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1437 (eldoc-edit-message-commands): New function.
1438 (eldoc-print-after-edit): New variable.
1439 (eldoc-pre-command-refresh-echo-area): Emit message only by
1440 eldoc-message-commands.
1441 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1442 if eldoc-print-after-edit is set. (Bug#16346)
1443 * simple.el (read--expression): Enable eldoc-mode.
1444 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1445
1446 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1447 Eric S. Raymond <esr@thyrsus.com>
1448
1449 * version.el (emacs-repository-get-version): Enhance so the
1450 function works correctly in either a Bazaar or Git repo.
1451
1452 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1453
1454 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1455 Goes with removal of the joke manpages from /etc.
1456
1457 2014-01-10 Kenichi Handa <handa@gnu.org>
1458
1459 * mail/rmail.el (rmail-get-coding-system):
1460 Check rmail-get-coding-function before "funcall"ing it.
1461
1462 2014-01-10 Glenn Morris <rgm@gnu.org>
1463
1464 * emacs-lisp/authors.el (authors-fixed-entries):
1465 Update for files that no longer exist.
1466
1467 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1468
1469 * version.el (emacs-bzr-get-version): Restore compatibilty with
1470 24.3 (Tested).
1471
1472 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1473
1474 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1475 and Podfile.
1476
1477 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1478
1479 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1480
1481 2014-01-10 Chong Yidong <cyd@gnu.org>
1482
1483 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1484
1485 2014-01-10 Anders Lindgren <andlind@gmail.com>
1486
1487 * follow.el (follow-cache-command-list): Include right-char and
1488 left-char.
1489
1490 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1491
1492 Spelling fixes.
1493 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1494 * woman.el (woman-mark-horizontal-position):
1495 Rename from woman-mark-horizonal-position. Use changed.
1496
1497 2014-01-10 Glenn Morris <rgm@gnu.org>
1498
1499 * info.el (info-initialize): If running uninstalled, ensure our
1500 own info files are always found first, even if INFOPATH is set.
1501
1502 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1503
1504 2014-01-09 David Engster <deng@randomsample.de>
1505
1506 * emacs-lisp/eieio-custom.el:
1507 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1508 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1509 * emacs-lisp/eieio.el: Regenerate autoloads.
1510
1511 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1512
1513 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1514 following renames. (Bug#8756)
1515
1516 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1519 (bug#16382).
1520 (activate-mark): Add `no-tmm' argument.
1521 (set-mark, push-mark-command): Use it instead of running
1522 activate-mark-hook by hand.
1523
1524 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1525
1526 In preparation for the move to git, sanitize out some
1527 Bazaar-specific names.
1528
1529 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1530
1531 * version.el (emacs-bzr-version): Name changed to
1532 emacs-repository-version. Obsolete-variable alias made.
1533 * loadup.el: Follow through on this name change.
1534 * mail/emacsbug.el (report-emacs-bug): Factor out any
1535 assumption about the version control system in use.
1536
1537 2014-01-08 David Engster <deng@randomsample.de>
1538
1539 * help-fns.el (help-fns-describe-function-functions):
1540 New variable to call functions for augmenting help buffers.
1541 (describe-function-1): Remove explicit calls to
1542 `help-fns--compiler-macro', `help-fns--parent-mode' and
1543 `help-fns--obsolete'. Put them in above new variable instead, and
1544 call them through `run-hook-with-args'.
1545 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1546 `eieio-describe-class'. Not meant for interactive use anymore,
1547 but to augment existing help buffers. Remove optional second
1548 argument. Create proper button for file location.
1549 Rewrite function to use `insert' instead of `princ' and `prin1' where
1550 possible.
1551 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1552 (eieio-method-def, eieio-class-def): Move further up.
1553 (describe-method, describe-generic, eieio-describe-method):
1554 Remove aliases.
1555 (eieio-help-constructor, eieio-help-generic): Rename from
1556 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1557 Rewrite to use `insert' in the current buffer and use proper help
1558 buttons.
1559 (eieio-help-find-method-definition)
1560 (eieio-help-find-class-definition): Also accept symbols as
1561 arguments.
1562 (eieio-help-mode-augmentation-maybee): Remove.
1563 (eieio-describe-class-sb): Use `describe-function'.
1564 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1565 Add `eieio-help-generic' and `eieio-help-constructor'.
1566
1567 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1568
1569 Spelling fixes.
1570 * language/china-util.el (hz-ascii-designation):
1571 Rename from hz-ascii-designnation.
1572 (hz-ascii-designation): Rename from hz-ascii-designnation.
1573 All uses changed.
1574
1575 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1578 package-alist.
1579
1580 2014-01-08 Bastien Guerry <bzg@gnu.org>
1581
1582 * emacs-lisp/package.el (package-delete):
1583 Correctly delete the package from package-alist.
1584
1585 2014-01-08 Daiki Ueno <ueno@gnu.org>
1586
1587 * emacs-lisp/package.el (url-recreate-url): Declare.
1588 (url-http-target-url): Declare.
1589 (package-handle-response): Include requested URL in the error message.
1590 (package--check-signature): Don't re-signal errors from
1591 package--with-work-buffer. Suggested by Stefan Monnier.
1592
1593 2014-01-07 Bastien Guerry <bzg@gnu.org>
1594
1595 * minibuffer.el (completion--try-word-completion): When both a
1596 hyphen and a space are possible candidates for the character
1597 following a word, display both candidates. (Bug#15980)
1598
1599 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1600
1601 * window.el (balance-windows-2): While rounding don't give a
1602 window more than the remainder. Bug#16351, bug#16383.
1603
1604 2014-01-07 Glenn Morris <rgm@gnu.org>
1605
1606 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1607 (menu-bar-help-menu): Use view-external-packages instead.
1608
1609 2014-01-07 Bastien Guerry <bzg@gnu.org>
1610
1611 * emacs-lisp/package.el (package-delete): Also delete the package
1612 name from `package-alist', not its description only.
1613
1614 2014-01-07 Glenn Morris <rgm@gnu.org>
1615
1616 * help.el (view-external-packages):
1617 * menu-bar.el (menu-bar-help-extra-packages):
1618 Visit efaq.info rather than etc/MORE.STUFF.
1619
1620 2014-01-07 Juri Linkov <juri@jurta.org>
1621
1622 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1623 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1624
1625 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1626 that shadows RET. (Bug#16342)
1627
1628 2014-01-07 Chong Yidong <cyd@gnu.org>
1629
1630 * isearch.el (isearch-yank-char, isearch-yank-word)
1631 (isearch-yank-line): Doc fix.
1632
1633 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1636 * emacs-lisp/elint.el (elint-find-builtins):
1637 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1638 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1639 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1640 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1641 * apropos.el (apropos-safe-documentation):
1642 * subr.el (symbol-file): Remove redundant fboundp.
1643 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1644
1645 2014-01-06 Bastien Guerry <bzg@gnu.org>
1646
1647 * hl-line.el (global-hl-line-overlay): Make a local variable.
1648 (global-hl-line-overlays): New variable to store all overlays.
1649 (global-hl-line-mode): Don't delete overlays from the current
1650 buffer when `global-hl-line-sticky-flag' is non-nil.
1651 (global-hl-line-highlight): Add new overlays to
1652 `global-hl-line-overlays'.
1653 (global-hl-line-unhighlight-all): New function to delete all
1654 overlays when turning off `global-hl-line-mode'.
1655 This fixes Bug#16183.
1656
1657 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * subr.el (set-transient-map): Fix nested case and docstring.
1660
1661 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1662
1663 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1664 `Texinfo' entry.
1665
1666 2014-01-06 Daniel Colascione <dancol@dancol.org>
1667
1668 Fix defun navigation in vc log view.
1669
1670 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1671 like `beginning-of-defun'.
1672 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1673 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1674 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1675 (log-view-extract-comment): Call `log-view-current-entry' directly
1676 instead of relying on broken `log-view-beginning-of-defun' behavior.
1677
1678 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1679
1680 Spelling fixes.
1681 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1682 * emacs-lisp/debug.el (cancel-debug-on-entry):
1683 * epg.el (epg-error-to-string):
1684 * files.el (recover-file):
1685 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1686 * mail/emacsbug.el (report-emacs-bug-hook):
1687 * mail/sendmail.el (mail-recover):
1688 * ses.el (ses-yank-resize):
1689 * term/ns-win.el (ns-print-buffer):
1690 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1691 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1692 All uses changed.
1693 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1694
1695 2014-01-06 Leo Liu <sdl.web@gmail.com>
1696
1697 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1698 to avoid shadowing global key. (Bug#16354)
1699
1700 2014-01-06 Daniel Colascione <dancol@dancol.org>
1701
1702 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1703 rst-mode.
1704
1705 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1706
1707 * window.el (balance-windows): Add mising t to fix Bug#16351.
1708
1709 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1710
1711 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1712 (bug#16285).
1713 (shr-insert): If we have a word that's longer than `shr-width',
1714 break after it anyway. Otherwise we'll do no breaking once we get
1715 such a long word.
1716
1717 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1718
1719 * net/eww.el (eww): Support single/double quote for search.
1720 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1721 (eww-history-quit): Delete and use quit-window.
1722 (eww-history-kill): Delete, because it doesn't work well and
1723 not necessary.
1724 (eww-history-mode-map): Delete some keys and add easy-menu.
1725
1726 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1727
1728 Fix misspelling of 'chinese' in rx (Bug#16237).
1729 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1730 chinese-two-byte.
1731
1732 Change subword regexps back to vars (Bug#16296).
1733 * progmodes/subword.el (subword-forward-regexp)
1734 (subword-backward-regexp): Change these back to variables.
1735
1736 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1739 syntax-begin-function (bug#16247).
1740
1741 2014-01-03 Chong Yidong <cyd@gnu.org>
1742
1743 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1744 (advice--docstring): Delete variable.
1745 (advice--make-1): Leave the docstring empty.
1746 (advice-add): Use function-documentation for advised docstring.
1747
1748 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1749 Ignore function-documentation property when getting documentation.
1750 (ad-activate-advised-definition): Use function-documentation
1751 generate the docstring.
1752 (ad-make-advised-definition): Don't call
1753 ad-make-advised-definition-docstring.
1754 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1755 Delete functions.
1756
1757 * progmodes/sql.el (sql-help): Use function-documentation instead
1758 of dynamic-docstring-function property. No need to autoload now.
1759 (sql--help-docstring): New variable.
1760 (sql--make-help-docstring): Use it.
1761
1762 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * ielm.el (ielm-tab): Retarget.
1765 (ielm-map): Use ielm-tab for tab.
1766 (ielm-complete-filename): Use comint-filename-completion.
1767 (ielm-complete-symbol): Remove.
1768 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1769 remove ielm-tab from completion-at-point-functions (bug#16224).
1770
1771 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1772 Beware signals raised by predicates (bug#16201).
1773
1774 2014-01-02 Richard Stallman <rms@gnu.org>
1775
1776 * dired-aux.el (dired-do-print): Handle printer-name.
1777
1778 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1779 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1780 (rmail-epa-decrypt): Turn off mime processing.
1781
1782 * mail/rmail.el (rmail-make-in-reply-to-field):
1783 Add parens in message-id.
1784
1785 * mail/rmail.el (rmail-get-coding-function): Variable.
1786 (rmail-get-coding-system): Use it.
1787
1788 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1789
1790 * international/mule-conf.el: Unify the charset indian-is13194.
1791 (indian-is13194): Specify unify-map.
1792
1793 2013-12-31 Leo Liu <sdl.web@gmail.com>
1794
1795 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1796
1797 2013-12-30 Daniel Colascione <dancol@dancol.org>
1798
1799 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1800 of printing a useless when we resume from sleep.
1801
1802 * progmodes/sh-script.el
1803 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1804 in indentation code. (Bug#16233)
1805
1806 2013-12-28 João Távora <joaotavora@gmail.com>
1807
1808 * elec-pair.el (electric-pair-post-self-insert-function):
1809 Don't open extra newlines at beginning of buffer. (Bug#16272)
1810
1811 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1812
1813 * frame.el (window-system-for-display): Don't allow to create a
1814 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1815
1816 2013-12-28 Glenn Morris <rgm@gnu.org>
1817
1818 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1819 Update callers.
1820
1821 * apropos.el (apropos-match-face):
1822 * calculator.el (calculator-displayer):
1823 * dabbrev.el (dabbrev-search-these-buffers-only):
1824 * face-remap.el (buffer-face-mode-face):
1825 * simple.el (yank-handled-properties):
1826 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1827 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1828 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1829 (hashcash-double-spend-database):
1830 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1831 (ruby-deep-indent-paren-style):
1832 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1833 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1834 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1835 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1836 Specify custom types.
1837
1838 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1839 * bookmark.el (bookmark-bmenu-use-header-line):
1840 * doc-view.el (doc-view-scale-internally):
1841 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1842 * register.el (register-preview-delay):
1843 * net/shr.el (shr-bullet):
1844 * progmodes/cfengine.el (cfengine-cf-promises)
1845 (cfengine-parameters-indent):
1846 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1847 * textmodes/reftex-vars.el (reftex-label-regexps):
1848 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1849
1850 * net/tls.el (tls-certtool-program): Fix default value.
1851
1852 * desktop.el (desktop-restore-in-current-display):
1853 * newcomment.el (comment-empty-lines):
1854 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1855 (idlwave-pad-keyword):
1856 * progmodes/tcl.el (tcl-tab-always-indent):
1857 * textmodes/reftex-vars.el (reftex-index-default-tag):
1858 * elec-pair.el (electric-pair-skip-whitespace):
1859 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1860
1861 * emacs-lisp/authors.el (authors-ignored-files)
1862 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1863
1864 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1865
1866 * shell.el (shell-dynamic-complete-command): Doc fix.
1867 (shell--command-completion-data): Shell completion now matches
1868 executable filenames from the current buffer's directory, on
1869 systems in which this behavior is the default (windows-nt, ms-dos).
1870
1871 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1872
1873 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1874
1875 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1878 (bug#16251).
1879
1880 * electric.el: Move all electric-pair-* to elec-pair.el.
1881 * elec-pair.el: New file, split from electric.el.
1882
1883 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1884
1885 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1886 indentation level is larger than the width, because that will
1887 infloop.
1888 (shr-insert): Fill repeatedly long texts, so that Japanese is
1889 formatted correctly (bug#16263).
1890 (shr-find-fill-point): Off by one error in comparison with the
1891 indentation.
1892
1893 2013-12-26 João Távora <joaotavora@gmail.com>
1894
1895 * electric.el (electric-pair-mode): More flexible engine for skip-
1896 and inhibit predicates, new options for pairing-related functionality.
1897 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1898 if that keeps or improves their balance in buffers.
1899 (electric-pair-delete-adjacent-pairs): Delete the pair when
1900 backspacing over adjacent matched delimiters.
1901 (electric-pair-open-extra-newline): Open extra newline when
1902 inserting newlines between adjacent matched delimiters.
1903 (electric--sort-post-self-insertion-hook):
1904 Sort post-self-insert-hook according to priority values when
1905 minor-modes are activated.
1906 * simple.el (newline-and-indent): Call newline with interactive
1907 set to t.
1908 (blink-paren-post-self-insert-function): Set priority to 100.
1909 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1910 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1911 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1912 electric-pair-open-newline-between-pairs to nil.
1913
1914 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1915
1916 * progmodes/python.el: Use lexical-binding.
1917 (python-nav-beginning-of-defun): Stop searching ASAP.
1918
1919 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1920
1921 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1922 Fix interactive spec. Doc fix. (Bug#15754)
1923
1924 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1925
1926 * emacs-lisp/byte-run.el (eval-when-compile):
1927 * progmodes/cc-defs.el (cc-eval-when-compile):
1928 Fix edebug spec (bug#16184).
1929
1930 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1931
1932 * net/shr.el (shr-visit-file): Remove debugging function.
1933 (shr-insert): Don't infloop if we can't find a good place to break
1934 the line (bug#16256).
1935
1936 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1937
1938 * progmodes/python.el:
1939 (python-nav--lisp-forward-sexp): New function.
1940 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1941 python-nav-lisp-forward-sexp-safe.
1942 (python-nav--forward-sexp): New argument SAFE allows switching
1943 forward sexp movement behavior for parens.
1944 (python-nav-forward-sexp): Throw errors on unterminated parens
1945 (Bug#16191).
1946 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1947 (python-nav-backward-sexp-safe): New functions.
1948 (python-shell-buffer-substring):
1949 Use `python-nav-forward-sexp-safe'.
1950
1951 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1952
1953 * net/shr.el (shr-find-fill-point): Don't break lines before a
1954 quotation mark.
1955 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1956 (shr-find-fill-point): Remove the special checks for the quotation
1957 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1958
1959 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1960
1961 * net/eww.el (eww-form-textarea): Use a different face for
1962 textareas than text input since they have different keymaps
1963 (bug#16142).
1964
1965 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1966
1967 * progmodes/python.el (python-nav-beginning-of-statement):
1968 Speed up (Bug#15295).
1969
1970 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1971
1972 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1973 the window configuration.
1974
1975 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1976
1977 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1978 we run on MS-Windows or MS-DOS.
1979
1980 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1981
1982 * window.el (balance-windows-area): Call window-size instead of
1983 window-height and window-width. Bug#16241.
1984
1985 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1986
1987 * net/eww.el (eww-bookmark-quit): Remove.
1988 (eww-bookmark-browse): Restore the window configuration when you
1989 choose a bookmark (bug#16144).
1990
1991 2013-12-24 Daniel Colascione <dancol@dancol.org>
1992
1993 * icomplete.el: Remove redundant :group arguments to `defcustom'
1994 throughout.
1995 (icomplete-show-matches-on-no-input): New customizable variable.
1996 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1997 we have something to show.
1998 (icomplete-exhibit): Compute completions even if we have no user input.
1999
2000 2013-12-23 Daniel Colascione <dancol@dancol.org>
2001
2002 * icomplete.el: Move `provide' to end of file.
2003
2004 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2005
2006 * net/gnutls.el (gnutls-verify-error): Add version tag.
2007
2008 2013-12-23 Chong Yidong <cyd@gnu.org>
2009
2010 * subr.el (set-transient-map): Rename from
2011 set-temporary-overlay-map. Doc fix.
2012
2013 * face-remap.el (text-scale-adjust):
2014 * indent.el (indent-rigidly):
2015 * kmacro.el (kmacro-call-macro):
2016 * minibuffer.el (minibuffer-force-complete):
2017 * repeat.el (repeat):
2018 * simple.el (universal-argument--mode):
2019 * calendar/todo-mode.el (todo-insert-item--next-param):
2020 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2021
2022 * indent.el (indent-rigidly): Use substitute-command-keys.
2023
2024 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2025
2026 * net/eww.el (eww-tag-select): Add text-property to jump to next
2027 select field.
2028 (eww): Add non-supported ftp error.
2029
2030 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2033 comments. Handle electric indent after typing `?' and `!'.
2034
2035 2013-12-22 Chong Yidong <cyd@gnu.org>
2036
2037 * faces.el (face-spec-recalc): If the theme specs are not
2038 applicable to a frame, fall back on the defface spec.
2039 This prevents themes from obliterating faces on low-color terminals.
2040
2041 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2042
2043 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2044 after `{'. We need it after block openers, and it doesn't seem
2045 to hurt after hash openers.
2046
2047 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2048
2049 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2050 extracted from `ruby-smie-rules'.
2051 (ruby--electric-indent-chars): New variable.
2052 (ruby--electric-indent-p): New function.
2053 (ruby-mode): Use `electric-indent-functions' instead of
2054 `electric-indent-chars'.
2055
2056 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2059 docstring.
2060 (ruby-smie-rules): Indent plus one level after `=>'.
2061
2062 2013-12-21 Richard Stallman <rms@gnu.org>
2063
2064 * simple.el (newline): Doc fix.
2065
2066 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2067
2068 * net/eww.el (eww-list-histories, eww-list-histories)
2069 (eww-history-browse, eww-history-quit, eww-history-kill)
2070 (eww-history-mode-map, eww-history-mode): New command and
2071 functions to list browser histories.
2072 (eww-form-text): Support text form with disabled
2073 and readonly attributes.
2074 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2075
2076 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2077
2078 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2079 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2080 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2081 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2082 Use `user-error'.
2083 (eww-bookmark-mode-map): Add menu.
2084 (eww-render, eww-mode): Use `setq-local'.
2085 (eww-tool-bar-map): New variable.
2086 (eww-mode): Set `tool-bar-map'.
2087 (eww-view-source): Check for `html-mode' with `fboundp'.
2088
2089 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2090
2091 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2092 elements with text inside. Also remove debugging.
2093
2094 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2095
2096 * cus-start.el (all): Add ns-use-srgb-colorspace.
2097
2098 2013-12-21 Chong Yidong <cyd@gnu.org>
2099
2100 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2101 undefined. Thus, theme settings for undefined faces do not take
2102 effect until the faces are defined with defface, the same as with
2103 theme variables.
2104
2105 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2106 (face-spec-reset-face): Don't assign extra properties in temacs.
2107 (face-spec-recalc): Apply X resources too.
2108
2109 2013-12-21 Chong Yidong <cyd@gnu.org>
2110
2111 * faces.el (face-spec-set):
2112 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2113 * custom.el (defface): Doc fixes (Bug#16203).
2114
2115 * indent.el (indent-rigidly-map): Add docstring, and move commands
2116 into named functions.
2117 (indent-rigidly-left, indent-rigidly-right)
2118 (indent-rigidly-left-to-tab-stop)
2119 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2120 indentation direction based on bidi direction, and accumulate
2121 sequential commands in a single undo boundary.
2122 (indent-rigidly--pop-undo): New utility function.
2123
2124 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * faces.el (read-face-name): Require crm.el when using crm-separator.
2127
2128 2013-12-20 Daniel Colascione <dancol@dancol.org>
2129
2130 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2131 so that we don't reflow comments into the shebang line.
2132
2133 2013-12-20 Juri Linkov <juri@jurta.org>
2134
2135 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2136 a position when `dired-directory' is non-nil. Check integer
2137 positions with `integerp'.
2138 (toggle-save-place, save-places-to-alist): Add check for
2139 `dired-directory'.
2140 (save-place-find-file-hook): Check integer positions with
2141 `integerp'.
2142 (save-place-dired-hook): Use `dired-goto-file' when
2143 `dired-filename' is found in the assoc list. Check integer
2144 positions with `integerp'.
2145 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2146
2147 * dired.el (dired-initial-position-hook): Rename back from
2148 `dired-initial-point-hook'.
2149 (dired-initial-position): Rename `dired-initial-point-hook' to
2150 `dired-initial-position-hook'.
2151 (dired-file-name-at-point): Doc fix. (Bug#15329)
2152
2153 2013-12-20 Juri Linkov <juri@jurta.org>
2154
2155 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2156 (read-regexp-suggestions): New function.
2157 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2158 Use `read-regexp-suggestions'. Add non-empty default to history
2159 for empty input.
2160 (occur-read-regexp-defaults-function): Remove function.
2161 (occur-read-primary-args): Use `regexp-history-last' instead of
2162 `occur-read-regexp-defaults-function'.
2163
2164 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2165 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2166 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2167 `hi-lock-read-regexp-defaults-function'. Doc fix.
2168 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2169 with `find-tag-default-as-symbol-regexp'. Doc fix.
2170 (hi-lock-read-regexp-defaults): Remove function.
2171 (hi-lock-regexp-okay): Add check for null.
2172
2173 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2174 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2175
2176 * subr.el (find-tag-default-as-symbol-regexp): New function.
2177 (find-tag-default-as-regexp): Move symbol regexp formatting to
2178 `find-tag-default-as-symbol-regexp'.
2179
2180 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2181
2182 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2183 (Bug#14179)
2184
2185 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2186
2187 * calendar/todo-mode.el: New implementation of item insertion
2188 commands and key bindings.
2189 (todo-key-prompt): New face.
2190 (todo-insert-item): New command.
2191 (todo-insert-item--parameters): New defconst, replacing defvar
2192 todo-insertion-commands-args-genlist.
2193 (todo-insert-item--param-key-alist): New defconst, replacing
2194 defvar todo-insertion-commands-arg-key-list.
2195 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2196 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2197 (todo-insert-item--next-param): New functions.
2198 (todo-insert-item--args, todo-insert-item--argleft)
2199 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2200 New variables.
2201 (todo-key-bindings-t): Change binding of "i" from
2202 todo-insertion-map to todo-insert-item.
2203 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2204 (todo-insertion-command-name, todo-insertion-commands-names)
2205 (todo-define-insertion-command, todo-insertion-commands)
2206 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2207
2208 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2209
2210 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2211 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2212 eval-when-compile.
2213 (todo-move-category): Allow choosing a non-existing todo file to
2214 move the category to, and create that file.
2215 (todo-default-priority): New user option.
2216 (todo-set-item-priority): Use it.
2217 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2218 (desktop-restore-file-buffer): Declare.
2219 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2220 (todo-modes-set-2): Locally set desktop-save-buffer to
2221 todo-desktop-save-buffer.
2222 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2223 (auto-mode-alist): Add autoload cookie.
2224
2225 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2226
2227 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2228 helpers.el was a poor choice of name.
2229 (string-remove-prefix): New function.
2230 (string-remove-suffix): New function.
2231
2232 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2233
2234 Fix assignment for new window total sizes.
2235 * window.el (window--pixel-to-size): Remove function.
2236 (window--pixel-to-total-1, window--pixel-to-total):
2237 Fix calculation of new total sizes.
2238
2239 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2240
2241 * comint.el (comint-output-filter): Fix rear-nonsticky property
2242 placement (Bug#16010).
2243
2244 2013-12-20 Chong Yidong <cyd@gnu.org>
2245
2246 * faces.el (read-color): Minor fix for completion function.
2247
2248 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2249
2250 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2251 New option. (Bug#16182)
2252 (ruby-smie--indent-to-stmt-p): Use it.
2253 (ruby-smie-rules): Revert the logic in the handling of `when'.
2254 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2255 (ruby-deep-arglist, ruby-deep-indent-paren)
2256 (ruby-deep-indent-paren-style): Update docstrings to note that the
2257 vars don't have any effect with SMIE.
2258
2259 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2260
2261 * calc/calc.el (calc-enter, calc-pop): Use the variable
2262 `calc-context-sensitive-enter'.
2263
2264 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2265
2266 * net/shr.el (shr-insert): Protect against infloops in degenerate
2267 tables.
2268
2269 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2270
2271 * progmodes/octave.el (octave): Add link to manual and octave
2272 homepage.
2273 (octave-mode-menu): Link to octave-mode manual.
2274
2275 2013-12-20 Leo Liu <sdl.web@gmail.com>
2276
2277 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2278 insertion using skeleton-end-newline. (Bug#16138)
2279
2280 2013-12-20 Juri Linkov <juri@jurta.org>
2281
2282 * replace.el (occur-engine): Use `add-face-text-property'
2283 to add the face property to matches and titles. (Bug#14645)
2284
2285 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2286 the palette of other hi-lock colors.
2287 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2288
2289 2013-12-19 Juri Linkov <juri@jurta.org>
2290
2291 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2292 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2293 (minibuffer-history-symbol): Move variable declaration closer to
2294 its usage.
2295
2296 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2297 (Bug#14785)
2298
2299 2013-12-19 Juri Linkov <juri@jurta.org>
2300
2301 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2302 New function.
2303 (log-edit-hook): Add it to :options. (Bug#16170)
2304
2305 2013-12-19 Juri Linkov <juri@jurta.org>
2306
2307 * simple.el (eval-expression-print-format): Don't check for
2308 command names and the last command. Always display additional
2309 formats of the integer result in the echo area, and insert them
2310 to the current buffer only with a zero prefix arg.
2311 Display character when char-displayable-p is non-nil.
2312 (eval-expression): With a zero prefix arg, set `print-length' and
2313 `print-level' to nil, and insert the integer values from
2314 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2315
2316 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2317 `eval-last-sexp-arg-internal'. Doc fix.
2318 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2319 `eval-last-sexp-print-value'. Doc fix.
2320 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2321 Set `print-length' and `print-level' to nil when arg is zero.
2322 (eval-last-sexp): Doc fix.
2323 (eval-defun-2): Print the integer values from
2324 `eval-expression-print-format' at the end.
2325
2326 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2327 values from `eval-expression-print-format' at the end.
2328
2329 * ielm.el (ielm-eval-input): Print the integer
2330 values from `eval-expression-print-format' at the end.
2331
2332 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2333
2334 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2335 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2336
2337 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2340 (hl-line-highlight, global-hl-line-highlight): Use it.
2341 (hl-line-overlay): Use defvar-local.
2342
2343 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2344
2345 * term/ns-win.el: Require dnd.
2346 (global-map): Remove drag items.
2347 (ns-insert-text, ns-set-foreground-at-mouse)
2348 (ns-set-background-at-mouse):
2349 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2350 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2351 New functions.
2352
2353 2013-12-19 Glenn Morris <rgm@gnu.org>
2354
2355 * emacs-lisp/ert.el (ert-select-tests):
2356 Fix string/symbol mixup. (Bug#16121)
2357
2358 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2359
2360 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2361 keywords to their parent.
2362
2363 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2364
2365 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2366 first arg to be a string (fixed dead code), or an operator symbol.
2367 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2368 operator symbols.
2369 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2370 did nothing. Don't respond to `(:after ".")', it will be called
2371 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2372 change anything. Only return indentation for binary operators
2373 when they are hanging. De-dent opening paren when its parent is
2374 `.', otherwise it looks bad when the dot is not at bol or eol
2375 (bug#16182).
2376
2377 2013-12-19 Juri Linkov <juri@jurta.org>
2378
2379 * replace.el (query-replace-read-args): Split a non-negative arg
2380 and a negative arg into separate elements.
2381 (query-replace, query-replace-regexp, replace-string)
2382 (replace-regexp): Add arg `backward'. Doc fix.
2383 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2384 move point to the beginning of the match.
2385 (replace-search, replace-highlight): Use new arg `backward'
2386 to set the value of `isearch-forward'.
2387 (perform-replace): Add arg `backward' and use it to perform
2388 replacement backward. (Bug#14979)
2389
2390 * isearch.el (isearch-query-replace): Use a negative prefix arg
2391 to call `perform-replace' with a non-nil arg `backward'.
2392
2393 2013-12-18 Juri Linkov <juri@jurta.org>
2394
2395 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2396 to the default list. Move `log-edit-show-files' to the end.
2397 Add more available functions to options.
2398 (log-edit): Move default specific settings to
2399 `log-edit-insert-message-template'. Don't move point.
2400 (log-edit-insert-message-template): New function.
2401 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2402 (Bug#16170)
2403
2404 2013-12-18 Juri Linkov <juri@jurta.org>
2405
2406 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2407 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2408
2409 2013-12-18 Leo Liu <sdl.web@gmail.com>
2410
2411 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2412 (Bug#16186)
2413
2414 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2415
2416 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2417 formats for displaying file sizes when the -s switch is given.
2418 Instead, compute a separate format for displaying the size in
2419 blocks, which is displayed in addition to the "regular" size.
2420 When -h is given in addition to -s, produce size in blocks in
2421 human-readable form as well. (Bug#16179)
2422
2423 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2424
2425 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2426 Reference tables with ~\ref{...} instead of only \ref{...}.
2427
2428 2013-12-18 Chong Yidong <cyd@gnu.org>
2429
2430 * cus-edit.el (custom-magic-alist): Fix "themed" description
2431 (Bug#14348).
2432
2433 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2434 is non-nil, do not create a new entry in the symbol's theme-value
2435 or theme-face property; update theme-settings only (Bug#14664).
2436 (custom-available-themes): Doc fix.
2437
2438 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2439 (Bug#15674).
2440
2441 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2442
2443 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2444
2445 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2446 (Bug#13914).
2447
2448 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2449
2450 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2451
2452 2013-12-18 Glenn Morris <rgm@gnu.org>
2453
2454 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2455 * cus-start.el (load-prefer-newer): New option.
2456
2457 2013-12-18 Le Wang <l26wang@gmail.com>
2458
2459 * comint.el (comint-previous-matching-input-from-input):
2460 Retain point (Bug#13404).
2461
2462 2013-12-18 Chong Yidong <cyd@gnu.org>
2463
2464 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2465
2466 2013-12-18 Glenn Morris <rgm@gnu.org>
2467
2468 * mail/emacsbug.el (report-emacs-bug):
2469 Only mention enable-multibyte-characters if non-standard.
2470
2471 2013-12-17 Juri Linkov <juri@jurta.org>
2472
2473 * arc-mode.el (archive-extract-by-file): Check if directory exists
2474 before deletion to not show irrelevant errors if it doesn't exist.
2475
2476 2013-12-17 Juri Linkov <juri@jurta.org>
2477
2478 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2479 (Bug#14751)
2480
2481 * net/eww.el (browse-web): Add alias to `eww'.
2482 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2483 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2484
2485 * net/browse-url.el (browse-url-browser-function): Move `eww'
2486 closer to similar functions.
2487
2488 * startup.el (fancy-startup-screen, fancy-about-screen):
2489 Set browse-url-browser-function to eww-browse-url locally.
2490 (Bug#14751)
2491
2492 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * window.el (window--pixel-to-total): Remove unused `mini' var.
2495 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2496 (split-window): Remove unused `new' var.
2497 (window--display-buffer): Remove unused `frame' and `delta' vars.
2498 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2499 and display-width'.
2500
2501 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2502
2503 * dired.el (dired-mark-pop-up):
2504 * register.el (register-preview): Don't bind
2505 split-height-threshold here since it's now done in
2506 display-buffer-below-selected.
2507
2508 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2509
2510 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2511 xterm-rgb-convert-to-16bit.
2512 (rxvt-register-default-colors): Standardize with
2513 xterm-register-default-colors (Bug#14078).
2514
2515 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2516
2517 * simple.el (kill-region): Pass mark first, then point, so that
2518 kill-append works right (Bug#12819).
2519 (copy-region-as-kill, kill-ring-save): Likewise.
2520
2521 2013-12-17 Leo Liu <sdl.web@gmail.com>
2522
2523 * net/rcirc.el (rcirc-add-face):
2524 * eshell/em-prompt.el (eshell-emit-prompt):
2525 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2526 (Bug#16167)
2527
2528 2013-12-17 Chong Yidong <cyd@gnu.org>
2529
2530 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2531 Suggested by Xue Fuqiao.
2532
2533 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2534
2535 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2536
2537 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * net/shr.el (shr-insert-document): Remove unused var
2540 `shr-preliminary-table-render'.
2541 (shr-rescale-image): Remove unused arg `force'.
2542 (shr-put-image): Update calls accordingly.
2543 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2544
2545 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2546
2547 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2548 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2549 :close-all, to see which indentation method to use (Bug#16116).
2550 (smie-rules-function): Document the method :close-all.
2551
2552 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2553
2554 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2555
2556 * net/eww.el (eww-display-html): If we can't find the anchor we're
2557 looking for, then go to point-min.
2558
2559 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2560
2561 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2562 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2563 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2564 Expand dir too, in case it's relative.
2565
2566 2013-12-16 Juri Linkov <juri@jurta.org>
2567
2568 * desktop.el (desktop-auto-save-timeout): Change default to
2569 `auto-save-timeout'. Doc fix.
2570 (desktop-save): Skip the timestamp in desktop-saved-frameset
2571 when checking for auto-save changes.
2572 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2573 `desktop-auto-save' is called repeatedly by the idle timer.
2574 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2575 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2576 (Bug#15331)
2577
2578 2013-12-16 Juri Linkov <juri@jurta.org>
2579
2580 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2581 (Bug#16035)
2582 (isearch-pre-command-hook): Check `this-command' for symbolp.
2583
2584 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2587
2588 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2589
2590 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2591 (cfengine3--current-function): Bring in the current-function
2592 functionality from `cfengine3--current-word'.
2593 (cfengine3-completion-function): Bring in the
2594 bounds-of-current-word functionality from
2595 `cfengine3--current-word'.
2596
2597 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2598
2599 * window.el (display-buffer-below-selected):
2600 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2601
2602 2013-12-16 Leo Liu <sdl.web@gmail.com>
2603
2604 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2605 Remove NOMSG arg and all uses changed.
2606
2607 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2610 (cua--deactivate-rectangle): Don't deactivate the mark.
2611 (cua-set-rectangle-mark): Don't set mark-active since
2612 cua--activate-rectangle already does it for us.
2613 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2614 non-rectangular region.
2615
2616 * emulation/cua-base.el (cua-repeat-replace-region):
2617 Use with-current-buffer.
2618
2619 * net/gnutls.el: Use cl-lib.
2620 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2621
2622 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2623
2624 * emacs-lisp/package.el (package-built-in-p): Support both
2625 built-in and the package.el converted package descriptions.
2626 (package-show-package-list): Allow keywords.
2627 (package-keyword-button-action): Use it instead of
2628 `finder-list-matches'.
2629 (package-menu-filter-interactive): Interactive filtering (by
2630 keyword) function.
2631 (package-menu--generate): Support keywords and change keymappings
2632 and headers when they are given.
2633 (package--has-keyword-p): Helper function.
2634 (package-menu--refresh): Use it.
2635 (package--mapc): Helper function.
2636 (package-all-keywords): Use it.
2637 (package-menu-mode-map): Set up menu items and keybindings to
2638 provide a filtering UI.
2639
2640 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2641
2642 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2643 the behavior when a certificate fails validation. Defaults to
2644 old behavior: never abort, just warn.
2645 (gnutls-negotiate): Use it.
2646
2647 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2648
2649 * window.el (display-buffer-below-selected): Never split window
2650 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2651
2652 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2653
2654 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2655 (package-buffer-info): Use it (bug#15108).
2656
2657 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * icomplete.el (icomplete-completions): Make sure the prefix is already
2660 displayed elsewhere before hiding it (bug#16219).
2661
2662 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2663
2664 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2665 open-paren tokens when preceded by a open-paren, too.
2666 (ruby-smie-rules): Handle virtual indentation after open-paren
2667 tokens specially. If there is code between it and eol, return the
2668 column where is starts (Bug#16118).
2669
2670 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2671
2672 * progmodes/cfengine.el: Fix `add-hook' doc.
2673 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2674 (cfengine3--current-word): Fix parameters.
2675 (cfengine3-make-syntax-cache): Simplify further.
2676 (cfengine3-completion-function, cfengine3--current-function):
2677 Use `assq' for symbols.
2678 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2679
2680 2013-12-13 Glenn Morris <rgm@gnu.org>
2681
2682 * loadup.el (load-path): Warn if site-load or site-init changes it.
2683 No more need to reset it when bootstrapping.
2684
2685 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2686
2687 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2688 locations for cf-promises.
2689 (cfengine-mode-syntax-functions-regex): New caching variable.
2690 (cfengine3-fallback-syntax): Fallback syntax for cases where
2691 cf-promises doesn't run.
2692 (cfengine3--current-word): Reimplement using
2693 `cfengine-mode-syntax-functions-regex'.
2694 (cfengine3-completion-function, cfengine3--current-function):
2695 Use `cfengine3-make-syntax-cache' directly.
2696 (cfengine3-clear-syntax-cache): New function.
2697 (cfengine3-make-syntax-cache): Simplify and create
2698 `cfengine-mode-syntax-functions-regex' on demand.
2699 (cfengine3-format-function-docstring): Don't call
2700 `cfengine3-make-syntax-cache' explicitly.
2701
2702 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2703
2704 Fix windmove-find-other-window broken after pixelwise resizing
2705 (Bug#16017).
2706 * windmove.el (windmove-other-window-loc): Revert change from
2707 2013-12-04.
2708 (windmove-find-other-window): Call window-in-direction.
2709 * window.el (window-in-direction): New arguments SIGN, WRAP and
2710 MINI to emulate original windmove-find-other-window behavior.
2711
2712 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * simple.el (blink-matching--overlay): New variable.
2715 (blink-matching-open): Instead of moving point, highlight the
2716 matching paren with an overlay
2717 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2718
2719 * faces.el (paren-showing-faces, show-paren-match)
2720 (show-paren-mismatch): Move from paren.el.
2721
2722 2013-12-13 Leo Liu <sdl.web@gmail.com>
2723
2724 * indent.el (indent-region): Disable progress reporter in
2725 minibuffer. (Bug#16108)
2726
2727 * bindings.el (visual-order-cursor-movement): Fix version.
2728
2729 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2730
2731 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2732 Also match after beginning of line.
2733 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2734 files. Thanks to Russell Sim. (Bug#15378)
2735
2736 2013-12-13 Juri Linkov <juri@jurta.org>
2737
2738 * simple.el <Keypad support>: Remove key bindings duplicated
2739 with bindings.el. (Bug#14397)
2740
2741 2013-12-13 Juri Linkov <juri@jurta.org>
2742
2743 * comint.el (comint-mode-map): Replace `delete-char' with
2744 `delete-forward-char'. (Bug#16109)
2745
2746 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2747
2748 * progmodes/python.el (python-indent-calculate-indentation):
2749 Fix de-denters cornercase. (Bug#15731)
2750
2751 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2754 (advice--make): Pay attention to `depth'.
2755 (advice--make-1): Don't autoload commands eagerly.
2756 * emacs-lisp/elp.el (elp-instrument-function):
2757 * emacs-lisp/trace.el (trace-function-internal):
2758 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2759
2760 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2761
2762 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2763
2764 * term/w32-win.el (w32-handle-dropped-file):
2765 * startup.el (normal-top-level):
2766 * net/browse-url.el (browse-url-file-url):
2767 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2768 decode file names using 'utf-8' rather than
2769 file-name-coding-system.
2770
2771 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2772
2773 * progmodes/python.el (python-indent-context)
2774 (python-indent-calculate-indentation): Fix auto-identation
2775 behavior for comment blocks. (Bug#15916)
2776
2777 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2778
2779 * progmodes/python.el (python-indent-calculate-indentation):
2780 When determining indentation, don't treat "return", "pass", etc., as
2781 operators when they are just string constituents. (Bug#15812)
2782
2783 2013-12-12 Juri Linkov <juri@jurta.org>
2784
2785 * uniquify.el (uniquify-buffer-name-style): Change default to
2786 `post-forward-angle-brackets'.
2787
2788 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2789 `uniquify'. Change default to `post-forward-angle-brackets'.
2790
2791 2013-12-11 Glenn Morris <rgm@gnu.org>
2792
2793 * emacs-lisp/package.el (finder-list-matches):
2794 Autoload rather than falsely declaring.
2795
2796 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2797
2798 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2799 (eww-mode-map): Use them.
2800
2801 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2802
2803 * window.el (display-buffer-in-side-window): Fix doc-string
2804 (Bug#16115).
2805
2806 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2807
2808 * vc/vc-git.el: Silence byte-compiler warnings.
2809 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2810 (log-edit-set-header): Declare.
2811
2812 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2813
2814 * Makefile.in (custom-deps, finder-data): Run output file names
2815 through unmsys--file-name. (Bug#16099)
2816
2817 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2820 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2821
2822 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2823 instead of deleting the selection "by hand" (bug#16098).
2824 Rely on insert-for-yank to yank rectangles.
2825 (cua-highlight-region-shift-only): Mark obsolete.
2826 (cua-mode): Don't enable/disable transient-mark-mode,
2827 shift-select-mode (cua-mode works both with and without them), and
2828 pc-selection-mode (obsolete).
2829 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2830 (cua--deactivate-rectangle): Deactivate it.
2831
2832 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2833 (delete-selection-helper): Make sure yank starts at the top of the
2834 deleted region.
2835 (minibuffer-keyboard-quit): Use region-active-p.
2836
2837 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2838
2839 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2840 to `delete' (bug#16109).
2841
2842 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2843
2844 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2845 info manual and show keybindings and set `:group' keyword.
2846
2847 2013-12-11 Juri Linkov <juri@jurta.org>
2848
2849 * delsel.el (delete-active-region): Let-bind `this-command'
2850 to prevent `kill-region' from changing its original value.
2851 (delete-selection-helper): Handle `overwrite-mode' for the type
2852 `kill' exactly the same way as for the type `t'.
2853 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2854 Support more commands. (Bug#13312)
2855
2856 2013-12-11 Juri Linkov <juri@jurta.org>
2857
2858 * bindings.el: Map kp keys to non-kp keys systematically
2859 with basic modifiers control, meta and shift. (Bug#14397)
2860
2861 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2862
2863 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2864 "Close browser" menu items. Fix wrong function of "List
2865 bookmarks".
2866
2867 2013-12-11 Juri Linkov <juri@jurta.org>
2868
2869 * misearch.el (multi-isearch-buffers): Set the value of
2870 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2871 arg of isearch-forward to t.
2872 (multi-isearch-buffers-regexp): Set the value of
2873 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2874 arg of isearch-forward-regexp to t.
2875 (multi-isearch-files): Set the value of
2876 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2877 arg of isearch-forward to t.
2878 (multi-isearch-files-regexp): Set the value of
2879 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2880 arg of isearch-forward-regexp to t. (Bug#16035)
2881
2882 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2883 arg of isearch-forward to t.
2884 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2885 arg of isearch-forward-regexp to t.
2886 (dired-isearch-filter-filenames): Remove unnecessary check for
2887 `dired-isearch-filenames'.
2888
2889 * comint.el (comint-history-isearch-backward):
2890 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2891 (comint-history-isearch-backward-regexp):
2892 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2893
2894 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2895
2896 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2897 unmsys--file-name. (Bug#16099)
2898
2899 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2900
2901 * emacs-lisp/package.el (package-keyword-button-action):
2902 Remove finder.el require dependency.
2903
2904 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2905
2906 * emacs-lisp/package.el: Require finder.el.
2907 (describe-package-1): Add keyword buttons.
2908 (package-make-button): New convenience function.
2909 (package-keyword-button-action): Keyword button action using
2910 `finder-list-matches'.
2911
2912 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2913
2914 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2915 last commit.
2916
2917 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2918
2919 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2920 symlinked files.
2921
2922 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2923
2924 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2925 after the end of a percent literal.
2926
2927 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2928
2929 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2930 Handle caret-delimited strings (Bug#16079).
2931
2932 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2933
2934 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2935 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2936 `ruby-parse-partial' (Bug#16078).
2937
2938 2013-12-09 Leo Liu <sdl.web@gmail.com>
2939
2940 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2941
2942 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2943
2944 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2945 (js-switch-indent-offset): New option.
2946 (js--proper-indentation): Use it. And handle the case when
2947 "default" is actually a key in an object literal.
2948 (js--same-line): New function.
2949 (js--multi-line-declaration-indentation): Use it.
2950 (js--indent-in-array-comp, js--array-comp-indentation):
2951 New functions.
2952 (js--proper-indentation): Use them, to handle array comprehension
2953 continuations.
2954
2955 2013-12-08 Leo Liu <sdl.web@gmail.com>
2956
2957 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2958 (flymake-make-overlay): Remove arg MOUSE-FACE.
2959 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2960
2961 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2964 New function.
2965 (redisplay-highlight-region-function): Use it.
2966
2967 * emulation/cua-base.el (cua--explicit-region-start)
2968 (cua--last-region-shifted): Remove.
2969 (cua--deactivate): Use deactivate-mark.
2970 (cua--pre-command-handler-1): Don't handle shift-selection.
2971 (cua--post-command-handler-1): Don't change transient-mark-mode.
2972 (cua--select-keymaps): Use region-active-p rather than
2973 cua--explicit-region-start or cua--last-region-shifted.
2974 (cua-mode): Enable shift-select-mode.
2975
2976 2013-12-08 Leo Liu <sdl.web@gmail.com>
2977
2978 * progmodes/flymake.el (flymake-popup-current-error-menu):
2979 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2980 (flymake-posn-at-point-as-event, flymake-popup-menu)
2981 (flymake-make-emacs-menu): Remove. (Bug#16077)
2982
2983 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * rect.el (rectangle-mark-mode): Activate mark even if
2986 transient-mark-mode is off (bug#16066).
2987 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2988 is > mark and at bolp.
2989
2990 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2991 (region-extract-function): Use it.
2992 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2993 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2994 Delete functions.
2995 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2996 kill-ring-save, kill-region, delete-char, delete-forward-char.
2997 Ignore self-insert-iso.
2998
2999 * emulation/cua-gmrk.el (cua--init-global-mark):
3000 Ignore `self-insert-iso'.
3001
3002 * emulation/cua-base.el (cua--prefix-copy-handler)
3003 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3004 checking cua--rectangle.
3005 (cua-delete-region): Use region-extract-function.
3006 (cua-replace-region): Delete function.
3007 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3008 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3009 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3010 (cua--init-keymaps): Don't remap delete-selection commands.
3011 (cua-mode): Use delete-selection-mode instead of rolling our own
3012 (bug#16085).
3013
3014 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3015 Obey region-extract-function.
3016
3017 Make registers and delete-selection-mode work on rectangles.
3018 * register.el (describe-register-1): Don't modify the register's value.
3019 (copy-to-register): Obey region-extract-function.
3020 * delsel.el (delete-active-region): Obey region-extract-function.
3021
3022 2013-12-08 Leo Liu <sdl.web@gmail.com>
3023
3024 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3025 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3026 (flymake-compilation-prevents-syntax-check)
3027 (flymake-start-syntax-check-on-newline)
3028 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3029 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3030 (flymake-xml-program, flymake-master-file-dirs)
3031 (flymake-master-file-count-limit)
3032 (flymake-allowed-file-name-masks): Relocate.
3033 (flymake-makehash, flymake-float-time)
3034 (flymake-replace-regexp-in-string, flymake-split-string)
3035 (flymake-get-temp-dir): Remove.
3036 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3037 (flymake-current-row, flymake-selected-frame)
3038 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3039 related functions. (Bug#16077)
3040
3041 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3042
3043 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3044
3045 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3046
3047 * help-fns.el (describe-function-1): Use new advice-* functions
3048 rather than old ad-* functions. Fix function type description and
3049 source links for advised functions and subrs.
3050
3051 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3052
3053 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3054
3055 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3056
3057 * progmodes/compile.el (compilation-start):
3058 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3059
3060 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3061 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3062
3063 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3064
3065 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3066 Touch up the last change.
3067
3068 2013-12-06 Leo Liu <sdl.web@gmail.com>
3069
3070 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3071 (inferior-octave-startup): Always use "octave> " for prompt.
3072 (octave-goto-function-definition)
3073 (octave-sync-function-file-names)
3074 (octave-find-definition-default-filename): Remove redundant backquotes.
3075
3076 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3077
3078 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3079 syntax for `?'.
3080 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3081 where appropriate already.
3082 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3083 end of method names (Bug#15874).
3084
3085 2013-12-06 Juri Linkov <juri@jurta.org>
3086
3087 * isearch.el (isearch--saved-overriding-local-map):
3088 New internal variable.
3089 (isearch-mode): Set it to the initial value of
3090 `overriding-terminal-local-map'.
3091 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3092 with `isearch--saved-overriding-local-map'. (Bug#16035)
3093
3094 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/octave.el (inferior-octave-completion-table):
3097 Turn back into function, use `completion-table-with-cache'
3098 (Bug#11906). Update all references.
3099
3100 * minibuffer.el (completion-table-with-cache): New function.
3101
3102 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3103
3104 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3105
3106 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3107
3108 * net/eww.el (eww-current-source): New variable to store page
3109 source.
3110 (eww-display-html, eww-mode, eww-save-history)
3111 (eww-restore-history): Use it.
3112 (eww-view-source): New command to view page source.
3113 Opportunistically uses `html-mode' to highlight the buffer.
3114 (eww-mode-map): Install it.
3115
3116 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3117
3118 * net/dbus.el (dbus-unregister-service)
3119 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3120 Fix docstring.
3121 (dbus-unregister-service): Skip :serial entries in
3122 `dbus-registered-objects-table'.
3123 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3124
3125 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3126
3127 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3128 around keywords with extra `split-string' argument.
3129
3130 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3131
3132 * windmove.el (windmove-other-window-loc): Handle navigation
3133 between windows (excluding the minibuffer window - Bug#16017).
3134
3135 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3136
3137 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3138 in D-Bus type syntax.
3139 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3140 preserve unibyte strings. (Bug#16048)
3141
3142 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3145 Call force-mode-line-update is the proper buffer (bug#16042).
3146
3147 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3148
3149 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3150 `log-edit-remember-comment', make argument optional. Adjust all
3151 callers.
3152 (log-edit-mode): Add `log-edit-remember-comment' to
3153 `kill-buffer-hook' locally.
3154 (log-edit-kill-buffer): Don't remember comment explicitly since
3155 the buffer is killed anyway.
3156
3157 2013-12-04 Juri Linkov <juri@jurta.org>
3158
3159 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3160 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3161
3162 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3163
3164 * notifications.el (notifications-close-notification): Call the
3165 D-Bus method with ID being a `:uint32'. (Bug#16030)
3166
3167 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3168
3169 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3170
3171 2013-12-03 Juri Linkov <juri@jurta.org>
3172
3173 * progmodes/compile.el (compilation-start): Rename window alist
3174 entry `no-display-ok' to `allow-no-window'.
3175
3176 * simple.el (shell-command): Add window alist entry
3177 `allow-no-window' to `display-buffer'.
3178 (async-shell-command): Doc fix.
3179
3180 * window.el (display-buffer-no-window): New action function.
3181 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3182
3183 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3184
3185 * vc/log-edit.el (log-edit-set-header): Extract from
3186 `log-edit-toggle-header'.
3187 (log-edit-extract-headers): Separate the summary, when extracted
3188 from header, from the rest of the message with an empty line.
3189
3190 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3191 line, if present, to the Summary header.
3192
3193 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3196 in current-buffer (bug#16029).
3197
3198 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3199
3200 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3201 (debugger-mode-map): Bind it.
3202 (debugger--backtrace-base): New function.
3203 (debugger-eval-expression): Use it.
3204 (debugger-frame-number): Skip local vars when present.
3205 (debugger--locals-visible-p, debugger--insert-locals)
3206 (debugger--show-locals, debugger--hide-locals): New functions.
3207
3208 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3209
3210 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3211 "LC_ALL".
3212 (tramp-get-remote-locale): New defun.
3213 (tramp-open-connection-setup-interactive-shell): Use it.
3214
3215 2013-12-02 Leo Liu <sdl.web@gmail.com>
3216
3217 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3218
3219 * progmodes/sh-script.el (sh-shell-process):
3220 * progmodes/octave.el (inferior-octave-process-live-p):
3221 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3222 (gdb-inferior-io-sentinel):
3223 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3224
3225 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3226
3227 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3228 `save-selected-window' to `log-edit-hide-buf'. This makes
3229 `log-edit-show-files' idempotent.
3230 (log-edit-show-files): Mark the new window as dedicated.
3231
3232 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3233
3234 * vc/log-edit.el (log-edit-mode-map): Add binding for
3235 `log-edit-kill-biffer'.
3236 (log-edit-hide-buf): Add a FIXME comment.
3237 (log-edit-add-new-comment): New function, extracted from
3238 `log-edit-done'.
3239 (log-edit-done, log-edit-add-to-changelog): Use it.
3240 (log-edit-kill-buffer): New command.
3241
3242 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3243
3244 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3245 instead of killing the buffer.
3246
3247 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3250
3251 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3252
3253 * net/eww.el (eww-form-checkbox-selected-symbol)
3254 (eww-form-checkbox-symbol): New customizable variable.
3255 (eww-form-checkbox, eww-toggle-checkbox):
3256 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3257
3258 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3259 (shr--get-media-pref, shr--extract-best-source): New function.
3260 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3261 no :src tag was specified.
3262
3263 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3264 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3265 Use \\` to match beginning of string instead of ^.
3266 (eww-browse-with-external-browser): Provide optional URL parameter.
3267 (eww-render): Set `eww-current-title' back to "".
3268
3269 * net/shr.el (shr-tag-video): Display content for video if no
3270 poster is available.
3271 (shr-tag-audio): Add support for <audio> tag.
3272
3273 * net/eww.el (eww-text-input-types): New const.
3274 (eww-process-text-input): Treat input types in
3275 `eww-text-input-types' as text.
3276
3277 * net/shr.el (shr-tag-table): Fix comment typo.
3278
3279 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3280
3281 * net/eww.el (eww-follow-link): New command to avoid reloading
3282 pages when we follow #target links (bug#15243).
3283 (eww-quit): Special mode buffers shouldn't query before exiting.
3284
3285 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3286
3287 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3288 forms.
3289
3290 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3291
3292 * net/eww.el (eww-restore-history): Update the window title after
3293 moving in the history.
3294 (eww-current-dom): New variable used to save the current DOM.
3295
3296 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3297
3298 * vc/log-edit.el (log-edit-mode-map): Add binding for
3299 `log-edit-beginning-of-line'.
3300 (log-edit-setup-add-author): New user option.
3301 (log-edit-beginning-of-line): New command.
3302 (log-edit): Move major mode call above the contents setup so that
3303 the local variable values are already applied.
3304 (log-edit): Only insert "Author: " when
3305 `log-edit-setup-add-author' is non-nil.
3306 (log-edit): When SETUP is non-nil, position point after ": "
3307 instead of point-min.
3308
3309 2013-12-01 Glenn Morris <rgm@gnu.org>
3310
3311 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3312
3313 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3314
3315 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3316 redisplay to make sure the initial frame gets a chance to become
3317 visible. (Bug#16014)
3318
3319 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3320
3321 Support resizing frames and windows pixelwise.
3322 * cus-start.el (frame-resize-pixelwise)
3323 (window-resize-pixelwise): New entries.
3324 * emacs-lisp/debug.el (debug): Use window-total-height instead
3325 of window-total-size.
3326 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3327 * help.el (describe-bindings-internal): Use help-buffer as
3328 argument for with-help-window.
3329 (temp-buffer-max-width): New option.
3330 (resize-temp-buffer-window, help-window-setup)
3331 (with-help-window): Rewrite.
3332 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3333 dragging dividers.
3334 * window.el (frame-char-size, window-min-pixel-height)
3335 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3336 (window-min-pixel-width, window-safe-min-pixel-size)
3337 (window-combination-p, window-safe-min-size)
3338 (window-resizable-p, window--size-to-pixel)
3339 (window--pixel-to-size, window--resize-apply-p): New functions.
3340 (window-safe-min-height): Fix doc-string.
3341 (window-size, window-min-size, window--min-size-1)
3342 (window-sizable, window-sizable-p, window--min-delta-1)
3343 (window-min-delta, window--max-delta-1, window-max-delta)
3344 (window--resizable, window--resizable-p, window-resizable)
3345 (window-full-height-p, window-full-width-p, window-at-side-p)
3346 (window--in-direction-2, window-in-direction)
3347 (window--resize-reset-1, window--resize-mini-window)
3348 (window-resize, window-resize-no-error)
3349 (window--resize-child-windows-normal)
3350 (window--resize-child-windows, window--resize-siblings)
3351 (window--resize-this-window, window--resize-root-window)
3352 (window--resize-root-window-vertically)
3353 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3354 (maximize-window, minimize-window, delete-window)
3355 (quit-restore-window, window-split-min-size, split-window)
3356 (balance-windows-2, balance-windows)
3357 (balance-windows-area-adjust, balance-windows-area)
3358 (window--state-get-1, window-state-get, window--state-put-1)
3359 (window--state-put-2, window-state-put)
3360 (display-buffer-record-window, window--display-buffer):
3361 Make functions handle pixelwise sizing of windows.
3362 (display-buffer--action-function-custom-type)
3363 (display-buffer-fallback-action):
3364 Add display-buffer-in-previous-window.
3365 (display-buffer-use-some-window): Resize window to height it had
3366 before.
3367 (fit-window-to-buffer-horizontally): New option.
3368 (fit-frame-to-buffer): Describe new values.
3369 (fit-frame-to-buffer-bottom-margin): Replace with
3370 fit-frame-to-buffer-margins.
3371 (window--sanitize-margin): New function.
3372 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3373 using window-text-pixel-size.
3374
3375 2013-11-30 Glenn Morris <rgm@gnu.org>
3376
3377 * emacs-lisp/bytecomp.el (byte-compile-form):
3378 Make the `interactive-only' warning like the `obsolete' one.
3379 * comint.el (comint-run):
3380 * files.el (insert-file-literally, insert-file):
3381 * replace.el (replace-string, replace-regexp):
3382 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3383 (goto-line, insert-buffer, next-line, previous-line):
3384 Tweak `interactive-only' spec.
3385
3386 Stop keeping (most) generated cedet grammar files in the repository.
3387 * Makefile.in (semantic): New.
3388 (compile-main): Depend on semantic.
3389
3390 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3393 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3394
3395 * uniquify.el (uniquify-buffer-name-style): Change default.
3396
3397 * loadup.el: Preload "uniquify".
3398
3399 * time.el (display-time-update): Update all mode lines (bug#15999).
3400
3401 * electric.el (electric-indent-mode): Enable by default.
3402 * loadup.el: Preload "electric".
3403
3404 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3405
3406 * emacs-lisp/helpers.el (string-empty-p): New function.
3407 (string-blank-p): New function.
3408
3409 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3410
3411 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3412 (Bug#14029).
3413
3414 2013-11-29 Andreas Politz <politza@fh-trier.de>
3415 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3416 allow non-lambda lists as functions.
3417 (imenu--in-alist): Don't recurse into non-subalists.
3418 (imenu): Don't pass function itself as an argument (Bug#14029).
3419
3420 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * progmodes/python.el (python-mode-map): Remove binding for ":".
3423 (python-indent-electric-colon): Remove command.
3424 (python-indent-post-self-insert-function): Integrate the previous code
3425 of python-indent-electric-colon. Make it conditional on
3426 electric-indent-mode.
3427 (python-mode): Add ?: to electric-indent-chars.
3428 Move python-indent-post-self-insert-function to the end of
3429 post-self-insert-hook.
3430
3431 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * doc-view.el (doc-view-goto-page): Update mode-line.
3434
3435 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3436
3437 2013-11-27 Glenn Morris <rgm@gnu.org>
3438
3439 * international/charprop.el, international/uni-bidi.el:
3440 * international/uni-category.el, international/uni-combining.el:
3441 * international/uni-comment.el, international/uni-decimal.el:
3442 * international/uni-decomposition.el, international/uni-digit.el:
3443 * international/uni-lowercase.el, international/uni-mirrored.el:
3444 * international/uni-name.el, international/uni-numeric.el:
3445 * international/uni-old-name.el, international/uni-titlecase.el:
3446 * international/uni-uppercase.el:
3447 Remove generated files from VCS repository.
3448
3449 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3450
3451 * filenotify.el (file-notify-add-watch): Don't special-case
3452 w32notify when computing the directory to watch.
3453
3454 2013-11-27 Glenn Morris <rgm@gnu.org>
3455
3456 Make bootstrap without generated uni-*.el files possible again.
3457 * loadup.el: Update command-line-args checking for unidata-gen.
3458 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3459 * composite.el, international/characters.el:
3460 Handle unicode tables being undefined.
3461
3462 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3463 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3464 (compile-main): Depend on leim rule.
3465 (leim): New rule.
3466 * loadup.el: Move leim-list.el to leim/ subdirectory.
3467 * startup.el (normal-top-level): No more leim directory.
3468 * international/ja-dic-cnv.el (skkdic-convert):
3469 Disable version-control and autoloads in output files.
3470 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3471 Disable version-control and autoloads in output files.
3472 * leim/quail: Move here from ../leim.
3473 * leim/quail/hangul.el (hangul-input-method-activate):
3474 Add autoload cookie.
3475 (generated-autoload-load-name): Set file-local value.
3476 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3477 (generated-autoload-load-name): Set file-local value.
3478
3479 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3480
3481 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3482 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3483 (eww-quit): Ask confirmation before quitting eww.
3484
3485 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3486
3487 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3488 reading output from Diff on MS-Windows and MS-DOS.
3489
3490 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3491
3492 * emacs-lisp/helpers.el (string-reverse): New function.
3493
3494 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3497 names on MS Windows, like "/[::1]:".
3498
3499 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3500 SWITCHES.
3501
3502 2013-11-26 Glenn Morris <rgm@gnu.org>
3503
3504 * progmodes/python.el (python-indent-guess-indent-offset):
3505 Avoid corner-case error. (Bug#15975)
3506
3507 Preload leim-list.el. (Bug#4789)
3508 * loadup.el: Load leim-list.el when found.
3509 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3510
3511 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3512
3513 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3514
3515 * emacs-lisp/helpers.el (string-join): New function.
3516
3517 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3518
3519 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3520 Mark as obsolete and replace it with a symbol property.
3521 (byte-compile-form): Use new 'interactive-only property.
3522 * comint.el, files.el, replace.el, simple.el:
3523 Apply new 'interactive-only properly.
3524
3525 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3526
3527 * window.el (display-buffer-at-bottom): Make sure that
3528 split-window-sensibly creates the new window on bottom
3529 (Bug#15961).
3530
3531 2013-11-23 David Kastrup <dak@gnu.org>
3532
3533 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3534 on the conflict markers when available.
3535 (smerge--get-marker): New function.
3536 (smerge-end-re, smerge-base-re): Add subgroup.
3537
3538 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * frame.el (handle-focus-in, handle-focus-out): Add missing
3541 interactive spec.
3542
3543 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3544
3545 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3546 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3547
3548 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3551 (gomoku--last-pos): New var.
3552 (gomoku--intangible-chars): New const.
3553 (gomoku--intangible): New function.
3554 (gomoku-mode): Use it. Derive from special-mode.
3555 (gomoku-move-up): Adjust line count.
3556 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3557 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3558 Simplify accordingly.
3559
3560 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3561 Remove blink-cursor code.
3562 (blink-cursor-timer-function, blink-cursor-suspend):
3563 Don't special-case GUIs.
3564 (blink-cursor-mode): Use focus-in/out-hook.
3565
3566 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3569 work when annotation is invisible (Bug#13886).
3570
3571 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3572
3573 * json.el (json-alist-p): Only return non-nil if the alist has
3574 simple keys (Bug#13518).
3575
3576 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3577
3578 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3579 when control-statement is the first statement in a buffer (Bug#15956).
3580
3581 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3582
3583 * imenu.el (imenu-generic-skip-comments-and-strings):
3584 New option (Bug#15560).
3585 (imenu--generic-function): Use it.
3586
3587 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3588
3589 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3590 (Bug#13898)
3591
3592 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3593
3594 * emacs-lisp/helpers.el: Add some string helpers.
3595 (string-trim-left): Removes leading whitespace.
3596 (string-trim-right): Removes trailing whitespace.
3597 (string-trim): Removes leading and trailing whitespace.
3598
3599 * subr.el (string-suffix-p): New function.
3600
3601 2013-11-23 Glenn Morris <rgm@gnu.org>
3602
3603 * progmodes/python.el (python-shell-send-file):
3604 Add option to delete file when done. (Bug#15647)
3605 (python-shell-send-string, python-shell-send-region): Use it.
3606
3607 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3608
3609 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3610 to set buffer-read-only to t, never to nil. (Bug#15938)
3611
3612 * textmodes/tex-mode.el (latex-noindent-environments):
3613 Add safe-local-variable property. (Bug#15936)
3614
3615 2013-11-23 Glenn Morris <rgm@gnu.org>
3616
3617 * textmodes/enriched.el (enriched-mode): Doc fix.
3618 * emacs-lisp/authors.el (authors-renamed-files-alist):
3619 Add enriched.doc -> enriched.txt.
3620
3621 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3622
3623 2013-11-22 Leo Liu <sdl.web@gmail.com>
3624
3625 * progmodes/octave.el (inferior-octave-startup): Spit out error
3626 message.
3627
3628 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3629
3630 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3631 Improve docstring.
3632 Add :version.
3633 (ruby-encoding-magic-comment-style): Add :version.
3634
3635 2013-11-22 Leo Liu <sdl.web@gmail.com>
3636
3637 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3638 (Bug#15076)
3639 (octave-help-mode): Adapt to change to help-mode-finish to use
3640 derived-mode-p on 2013-09-17.
3641 (inferior-octave-prompt): Also match octave-gui.
3642 (octave-kill-process): Don't ask twice. (Bug#10564)
3643
3644 2013-11-22 Leo Liu <sdl.web@gmail.com>
3645
3646 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3647 (inferior-octave-startup, inferior-octave-check-process)
3648 (inferior-octave-track-window-width-change)
3649 (octave-completion-at-point, octave-eldoc-function): Use it.
3650 (octave-kill-process): Provide confirmation. (Bug#10564)
3651
3652 2013-11-21 Leo Liu <sdl.web@gmail.com>
3653
3654 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3655 Fix obsolete variable comment-use-global-state.
3656
3657 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3658
3659 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3660 Add `octave-source-file'.
3661 (octave-source-file): New function. (Bug#15935)
3662
3663 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3664
3665 * net/eww.el (eww-local-regex): New variable.
3666 (eww): Use it to detect localhost and similar.
3667
3668 2013-11-21 Leo Liu <sdl.web@gmail.com>
3669
3670 Add completion for command `ag'.
3671 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3672 (pcomplete/ag): New function.
3673 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3674
3675 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3678 (bug#14646).
3679 (make-obsolete): Remove interactive spec.
3680
3681 2013-11-21 Glenn Morris <rgm@gnu.org>
3682
3683 * startup.el (command-line-1): Use path-separator with -L.
3684
3685 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3686
3687 * emacs-lisp/package.el (describe-package-1): Add package archive
3688 to shown fields.
3689
3690 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3691
3692 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3693 Change default to "# encoding: %s" to differentiate it from the
3694 default Ruby encoding comment template.
3695
3696 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3697
3698 * ses.el (ses-mode): Doc fix. (Bug#14748)
3699
3700 2013-11-20 Leo Liu <sdl.web@gmail.com>
3701
3702 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3703
3704 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3705
3706 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3707 when rebase or bisect are in progress.
3708
3709 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3710
3711 * filenotify.el (file-notify-add-watch): Doc fix.
3712
3713 2013-11-19 Leo Liu <sdl.web@gmail.com>
3714
3715 * obsolete/rcompile.el: Mark obsolete.
3716
3717 * progmodes/compile.el (compilation-start)
3718 (compilation-goto-locus, compilation-find-file):
3719 Pass no-display-ok and handle nil value from display-buffer.
3720 (Bug#13594)
3721
3722 * window.el (display-buffer-alist, display-buffer): Document the
3723 new parameter no-display-ok. Return either a window or nil
3724 but never a non-window value.
3725
3726 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * electric.el (electric-indent-mode-map): Remove.
3729 (electric-indent-mode): Change the global-map instead (bug#15915).
3730
3731 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3732 Use add-function.
3733
3734 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3735
3736 * emacs-lisp/nadvice.el (remove-function): Align with
3737 add-function's behavior.
3738
3739 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3740 (gdb--string-regexp): New constant.
3741 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3742 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3743 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3744 submatch 1.
3745 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3746 Adjust use accordingly.
3747 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3748
3749 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3750
3751 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3752 interpolation curlies (Bug#15914).
3753
3754 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3755
3756 * calc/calc.el (calc-context-sensitive-enter): New variable.
3757 (calc-enter): Use `calc-context-sensitive-enter'.
3758
3759 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3760
3761 * progmodes/cfengine.el: Version bump.
3762 (cfengine-cf-promises): New defcustom to locate cf-promises.
3763 (cfengine3-vartypes): Add new "data" type.
3764 (cfengine3--current-word): New function to get current name-like
3765 word or its bounds.
3766 (cfengine3--current-function): New function to look up a CFEngine
3767 function's definition.
3768 (cfengine3-format-function-docstring): New function.
3769 (cfengine3-make-syntax-cache): New function.
3770 (cfengine3-documentation-function): New function: ElDoc glue.
3771 (cfengine3-completion-function): New function: completion glue.
3772 (cfengine3-mode): Set `compile-command',
3773 `eldoc-documentation-function', and add to
3774 `completion-at-point-functions'.
3775
3776 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3777
3778 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3779 `tramp-current-connection'.
3780
3781 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3782
3783 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3784 nil/self/true/false with "end of symbol".
3785
3786 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3787
3788 * subr.el (version-regexp-alist): Fix a typo.
3789
3790 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3791
3792 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3793 "en_US.utf8" and "LC_CTYPE" to "".
3794 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3795 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3796
3797 2013-11-15 Leo Liu <sdl.web@gmail.com>
3798
3799 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3800
3801 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * progmodes/gud.el (ctl-x-map):
3804 Remove C-x SPC binding. (Bug#12342)
3805 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3806
3807 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3808
3809 * subr.el (version-regexp-alist):
3810 Recognize hg, svn and darcs versions as snapshot versions.
3811
3812 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3813 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3814 (ruby--encoding-comment-required-p): Extract from
3815 `ruby-mode-set-encoding'.
3816 (ruby-mode-set-encoding): Add the ability to always insert an
3817 utf-8 encoding comment. Fix and simplify coding comment update
3818 logic.
3819
3820 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3821
3822 * net/tramp-gvfs.el (top): Run init code only when
3823 `tramp-gvfs-enabled' is not nil.
3824 (tramp-gvfs-enabled): Check also :system bus.
3825
3826 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 Sync with upstream verilog-mode revision 78e66ba.
3829 * progmodes/verilog-mode.el (verilog-end-of-defun)
3830 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3831 (verilog-get-end-of-defun): Remove unused argument.
3832 (verilog-comment-depth): Remove unused local `e'.
3833 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3834 Don't pass arg to verilog-get-end-of-defun.
3835
3836 2013-11-14 Glenn Morris <rgm@gnu.org>
3837
3838 * obsolete/assoc.el (aget): Prefix dynamic variable.
3839
3840 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3841
3842 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * widget.el, hfy-cmap.el: Remove bogus package version number.
3845
3846 2013-11-13 Glenn Morris <rgm@gnu.org>
3847
3848 * replace.el (replace-eval-replacement):
3849 Try to give more helpful error message. (Bug#15836)
3850
3851 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3852 (archive-7z-update): Avoid custom type mismatches.
3853
3854 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3855
3856 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3857
3858 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3859 address can be empty.
3860
3861 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3862 Accept nil SWITCHES.
3863 (tramp-gvfs-handle-write-region): Implement APPEND.
3864
3865 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3868 binary "|" operator and closing block args delimiter.
3869 Remove FIXME comment referring to Ruby 1.8-only syntax.
3870 (ruby-smie--implicit-semi-p): Not after "|" operator.
3871 (ruby-smie--closing-pipe-p): New function.
3872 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3873 (ruby-smie-rules): Indent after "|".
3874
3875 2013-11-12 Glenn Morris <rgm@gnu.org>
3876
3877 * ps-print.el (ps-face-attribute-list):
3878 Handle anonymous faces. (Bug#15827)
3879
3880 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3881
3882 * window.el (display-buffer-other-frame): Fix doc-string.
3883 (Bug#15868)
3884
3885 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3888
3889 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3890
3891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3892 (tramp-sh-handle-file-local-copy): Don't write a message when
3893 saving temporary files.
3894
3895 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3896 both directories are remote.
3897 (tramp-smb-handle-directory-files): Do not return double entries.
3898 Do not expand full file names.
3899 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3900 (tramp-smb-handle-write-region): Implement APPEND.
3901 (tramp-smb-get-stat-capability): Fix a stupid bug.
3902
3903 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3906
3907 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3908
3909 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3910 throwing error over malformed let/let* (bug#15814).
3911
3912 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * iswitchb.el (iswitchb-mode): Mark obsolete.
3915
3916 2013-11-11 Glenn Morris <rgm@gnu.org>
3917
3918 * international/uni-bidi.el, international/uni-category.el:
3919 * international/uni-name.el, international/uni-numeric.el:
3920 Regenerate for Unicode 6.3.0.
3921
3922 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3923
3924 * net/tramp.el (tramp-methods):
3925 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3926 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3927
3928 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3929
3930 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3931 Force highlighting text after Summary keyword in doc face for rpm.
3932
3933 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3934
3935 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3936 available and the word has no wildcards, append one to the grep pattern.
3937 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3938 (ispell-complete-word): Call `ispell-lookup-words' with the value
3939 independent of `ispell-look-p'.
3940
3941 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3942
3943 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3944 Not after "||".
3945 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3946 their parent.
3947
3948 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3951 (ruby-font-lock-keywords): Use backquote.
3952
3953 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3954
3955 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3956 (ruby-smie--backward-token): Only consider full-string matches.
3957
3958 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3959
3960 * faces.el (describe-face): Add distant-foreground.
3961
3962 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3963
3964 * progmodes/ruby-mode.el: Improve encoding comment handling.
3965 (ruby-encoding-magic-comment-style): New option.
3966 (ruby-custom-encoding-magic-comment-template): New option.
3967 (ruby--insert-coding-comment, ruby--detect-encoding):
3968 New functions extracted from `ruby-mode-set-encoding'.
3969 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3970 to control the style of the auto-inserted encoding comment.
3971
3972 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3973
3974 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3975 Use `smie-backward-sexp' with token argument.
3976
3977 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3980 Remove instrumentation code.
3981
3982 2013-11-08 Glenn Morris <rgm@gnu.org>
3983
3984 * progmodes/autoconf.el (autoconf-mode):
3985 Tweak comment-start-skip. (Bug#15822)
3986
3987 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3990 at bobp (bug#15826).
3991 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3992
3993 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3994
3995 * man.el (Man-start-calling): New macro, extracted from
3996 Man-getpage-in-background.
3997 (Man-getpage-in-background): Use it.
3998 (Man-update-manpage): New command.
3999 (Man-mode-map): Bind it.
4000
4001 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4002
4003 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4004 of "and", "or", "&&" and "||".
4005 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4006 argument. Prohibit opening curly brace because it could only be a
4007 block opener in that position.
4008 (ruby-smie--forward-token, ruby-smie--backward-token):
4009 Separate "|" from "&" or "*" going after it. That can happen in block
4010 arguments.
4011 (ruby-smie--indent-to-stmt): New function, seeks the end of
4012 previous statement or beginning of buffer.
4013 (ruby-smie-rules): Use it.
4014 (ruby-smie-rules): Check if there's a ":" before a curly block
4015 opener candidate; if there is, it's a hash.
4016
4017 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4020 (cl--block-wrapper): Fix last accidental change.
4021
4022 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4023
4024 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4025 Instrument, in order to hunt failure on hydra.
4026
4027 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4028
4029 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4030 malformed bindings form (bug#15814).
4031
4032 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4033
4034 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4035 "." compared to " @ ". This incidentally fixes some indentation
4036 examples with "do".
4037 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4038 (ruby-smie-grammar): New tokens: "and" and "or".
4039 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4040 Exclude "and" and "or". Remove "do" in order to work around token
4041 priorities.
4042 (ruby-smie-rules): Add all infix tokens. Handle the case of
4043 beginning-of-buffer.
4044
4045 2013-11-06 Glenn Morris <rgm@gnu.org>
4046
4047 * Makefile.in (setwins_almost, setwins_for_subdirs):
4048 Avoid accidental matches.
4049
4050 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * menu-bar.el (popup-menu): Use key-binding.
4053
4054 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4055
4056 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4057 menus, support also the menus produced by minor modes.
4058 (Bug#15817)
4059
4060 2013-11-06 Leo Liu <sdl.web@gmail.com>
4061
4062 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4063 DISTANCE to bound the search. All uses changed. (Bug#15808)
4064
4065 2013-11-06 Glenn Morris <rgm@gnu.org>
4066
4067 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4068 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4069 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4070
4071 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * electric.el (electric-indent-just-newline): New command.
4074 (electric-indent-mode-map): New keymap.
4075 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4076 Re-add :group which weren't redundant.
4077
4078 * electric.el (electric-indent-local-mode): New minor mode.
4079 (electric-indent-functions-without-reindent): New var.
4080 (electric-indent-post-self-insert-function): Use it.
4081 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4082
4083 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4084
4085 * international/quail.el (quail-help): Be more explicit about the
4086 meaning of the labels shown on the keys. (Bug#15800)
4087
4088 * startup.el (normal-top-level): Load the subdirs.el files before
4089 setting the locale environment. (Bug#15805)
4090
4091 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4094 via arguments so as to get the right ones (bug#15418).
4095
4096 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4097
4098 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4099
4100 Fix problems found while writing a test suite.
4101
4102 * net/tramp-compat.el (tramp-compat-load): New defun.
4103 * net/tramp.el (tramp-handle-load): Use it.
4104
4105 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4106 "(numberp ok-if-already-exists)" correctly.
4107
4108 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4109
4110 * international/characters.el (glyphless-char-display-control):
4111 Add usage note.
4112
4113 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4114
4115 * progmodes/python.el (python-mode):
4116 * progmodes/scheme.el (scheme-mode):
4117 * progmodes/prolog.el (prolog-mode):
4118 * progmodes/ruby-mode.el (ruby-mode):
4119 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4120 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4121
4122 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * rect.el (rectangle--highlight-for-redisplay):
4125 * emacs-lisp/smie.el (smie--next-indent-change):
4126 Use buffer-chars-modified-tick.
4127
4128 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4129
4130 * electric.el (electric-indent-post-self-insert-function):
4131 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4132
4133 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4134
4135 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4136
4137 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4138
4139 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4140 (bug#15786).
4141
4142 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4145
4146 * progmodes/python.el: Fix up last change.
4147 (python-shell--save-temp-file): New function.
4148 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4149 `string' comes from the current buffer.
4150 (python-shell-send-string-no-output): Remove `msg' arg.
4151 (python--use-fake-loc): New var.
4152 (python-shell-buffer-substring): Obey it. Try to compensate for the
4153 extra coding line added by python-shell--save-temp-file.
4154 (python-shell-send-region): Use python-shell--save-temp-file and
4155 python-shell-send-file directly. Add `nomain' argument.
4156 (python-shell-send-buffer): Use python-shell-send-region.
4157 (python-electric-pair-string-delimiter): New function.
4158 (python-mode): Use it.
4159
4160 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4161
4162 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4163 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4164 environment and decoding all of the default-directory's to here
4165 from command-line.
4166 (command-line): Decode also argv[0].
4167
4168 * loadup.el: Error out if default-directory is a multibyte string
4169 when we are dumping.
4170
4171 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4172
4173 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4174
4175 * emacs-lisp/package.el (package-menu-mode)
4176 (package-menu--print-info, package-menu--archive-predicate):
4177 Add Archive column to package list.
4178
4179 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4180
4181 Fix problems found while writing a test suite.
4182
4183 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4184 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4185 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4186 to nil when running original file name handler. Otherwise,
4187 there are problems with constructs like "$$FOO".
4188
4189 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4190 for `localname'.
4191
4192 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4193
4194 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4195
4196 * subr.el (version<, version<=, version=):
4197 Update docstrings with information for snapshot versions.
4198
4199 * helpers.el: New library for misc helper functions.
4200 (hash-table-keys): New function returning a list of hash keys.
4201 (hash-table-values): New function returning a list of hash values.
4202
4203 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4204
4205 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4206 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4207
4208 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4209
4210 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4211 checking whether point is after a 1-letter word.
4212
4213 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4214
4215 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4216 Don't infloop when expanding region over `multiline' syntax-type that
4217 begins a line (bug#15778).
4218
4219 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4222 Make it into a proper minor mode.
4223 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4224 (rectangle-mark-mode-map): New keymap.
4225 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4226
4227 2013-11-04 Glenn Morris <rgm@gnu.org>
4228
4229 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4230
4231 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4232
4233 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4234 (ruby-smie-rules): Use smie-rule-parent instead.
4235
4236 * emacs-lisp/smie.el (smie-rule-parent): Always call
4237 smie-indent-virtual rather than only for hanging tokens.
4238 (smie--next-indent-change): New helper command.
4239
4240 2013-11-03 Glenn Morris <rgm@gnu.org>
4241
4242 * Makefile.in (abs_srcdir): Remove.
4243 (emacs): Unset EMACSLOADPATH.
4244
4245 2013-11-02 Glenn Morris <rgm@gnu.org>
4246
4247 * Makefile.in (EMACS): Use a relative filename.
4248 (abs_top_builddir): Remove.
4249 (custom-deps, finder-data, autoloads): Use --chdir.
4250
4251 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4252
4253 Use relative filenames in TAGS files.
4254 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4255 (lisptagsfiles4, TAGS): Use relative file names.
4256 (TAGS-LISP): Remove.
4257 (maintainer-clean): No more TAGS-LISP file.
4258
4259 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4260 (lisptagsfiles4): Use absolute filenames again.
4261 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4262 Remove all *loaddefs files, not just the first. Remove esh-groups.
4263 (maintainer-clean): Delete TAGS, TAGS-LISP.
4264
4265 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4266
4267 * emacs-lisp/package.el (package-version-join):
4268 Recognize snapshot versions.
4269
4270 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4271
4272 * subr.el (version-regexp-alist): Add support for snapshot versions.
4273
4274 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4275
4276 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4277 New function, replacement for `smie-rule-parent' for when we want to
4278 skip over our direct parent if it's an assignment token..
4279 (ruby-smie-rules): Use it.
4280
4281 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4282
4283 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4284 unconditionally. Remove now unnecessary forward declarations.
4285 Remove XEmacs-specific setup.
4286 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4287 (ruby-font-lock-syntactic-keywords)
4288 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4289 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4290 (ruby-here-doc-end-syntax): Remove.
4291 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4292 defined as function.
4293
4294 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4295
4296 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4297
4298 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4299
4300 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4301 table and abbrev table, `define-derived-mode' does that for us
4302 anyway.
4303
4304 2013-11-01 Glenn Morris <rgm@gnu.org>
4305
4306 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4307 files is atomic for some time, so no parallel compilation issues).
4308
4309 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4310
4311 * faces.el (face-x-resources): Add :distant-foreground.
4312 (region): Use :distant-foreground for gtk and ns.
4313
4314 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4315
4316 Allow multiple bibliographies when BibLaTeX is used rather than
4317 BibTeX.
4318 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4319 (reftex-locate-bibliography-files): Us it.
4320
4321 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4322
4323 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4324 allow comments in pbm files.
4325
4326 * term/w32-win.el (dynamic-library-alist): Support newer versions
4327 of libjpeg starting with v7: look only for the DLL from the
4328 version against which Emacs was built.
4329 Support versions of libpng beyond 1.4.x.
4330 Support libtiff v4.x.
4331
4332 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4333
4334 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4335 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4336 Add property :safe.
4337 (ruby-deep-arglist): Add property :type.
4338
4339 2013-10-31 Glenn Morris <rgm@gnu.org>
4340
4341 * Makefile.in (custom-deps, finder-data): No need to setq the target
4342 variables, we are in the right directory and the defaults work fine.
4343
4344 2013-10-30 Glenn Morris <rgm@gnu.org>
4345
4346 * Makefile.in (autoloads): Do not use abs_lisp.
4347
4348 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4349 `newline' does not respect `standard-output', so use `princ'.
4350
4351 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4352
4353 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4354 * buff-menu.el (Buffer-menu--unmark): New function.
4355 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4356
4357 2013-10-30 Glenn Morris <rgm@gnu.org>
4358
4359 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4360
4361 * emacs-lisp/package.el (lm-homepage): Declare.
4362
4363 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4364 Fix doc typos.
4365
4366 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4367
4368 * Makefile.in (finder-data, autoloads, update-subdirs)
4369 (compile-main, compile-clean, compile-always, bootstrap-clean):
4370 Check return value of cd.
4371 (compile-calc): Remove.
4372
4373 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4376
4377 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4378 (byte-compile-and-folded): New function.
4379 (=, <, >, <=, >=): Use it.
4380
4381 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4382 (path-separator, null-device, buffer-file-coding-system)
4383 (lpr-headers-switches): Check system-type before modifying them.
4384 (find-buffer-file-type-coding-system): Mark obsolete.
4385 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4386 find-file-not-found-set-buffer-file-coding-system.
4387 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4388 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4389 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4390 (w32-direct-print-region-helper, w32-direct-print-region-function)
4391 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4392 * startup.el (normal-top-level-add-subdirs-to-load-path):
4393 * ps-print.el (ps-print-region-function):
4394 * lpr.el (print-region-function): Use new name.
4395
4396 * subr.el (custom-declare-variable-early): Remove function.
4397 (custom-declare-variable-list): Remove var.
4398 (error, user-error): Remove `while' loop.
4399 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4400 (user-emacs-directory-warning, locate-user-emacs-file):
4401 Move to files.el.
4402 * simple.el (read-quoted-char-radix, read-quoted-char):
4403 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4404 Move from subr.el.
4405 * custom.el (custom-declare-variable-list): Don't process
4406 custom-declare-variable-list.
4407
4408 * progmodes/python.el (python-shell-get-buffer): New function.
4409 (python-shell-get-process): Use it.
4410 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4411 Python which encoding was used. Don't split-string since we only care
4412 about the first line. Return the temp-file, if applicable.
4413 (python-shell-send-region): Tell compile.el how to turn locations in
4414 the temp-file into locations in the source buffer.
4415
4416 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * subr.el (undefined): Add missing behavior from the C code for
4419 unbound keys.
4420
4421 * rect.el: Use lexical-binding. Add new rectangular region support.
4422 (rectangle-mark): New command.
4423 (rectangle--region): New var.
4424 (deactivate-mark-hook): Reset rectangle--region.
4425 (rectangle--extract-region, rectangle--insert-for-yank)
4426 (rectangle--highlight-for-redisplay)
4427 (rectangle--unhighlight-for-redisplay): New functions.
4428 (region-extract-function, redisplay-unhighlight-region-function)
4429 (redisplay-highlight-region-function): Use them to handle
4430 rectangular region.
4431 * simple.el (region-extract-function): New var.
4432 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4433 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4434 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4435 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4436 (redisplay-unhighlight-region-function)
4437 (redisplay-highlight-region-function): New vars.
4438 (redisplay--update-region-highlight): New function.
4439 (pre-redisplay-function): Use it.
4440 (exchange-point-and-mark): Don't deactivate the mark before
4441 reactivate-it anyway.
4442 * comint.el (comint-kill-region): Remove yank-handler argument.
4443 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4444 (delete-char): Remove property, since it's now part of their
4445 default behavior.
4446 (self-insert-iso): Remove property since this command doesn't exist.
4447
4448 * emacs-lisp/package.el (package--download-one-archive)
4449 (describe-package-1): Don't query the user about final newline.
4450
4451 2013-10-29 Daniel Colascione <dancol@dancol.org>
4452
4453 * net/tramp.el (tramp-methods): Document new functionality.
4454 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4455 tramp-hostname-checker if method provides one instead of scanning
4456 argument list for "%h" to decide hostname acceptability.
4457
4458 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4459
4460 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4461 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4462 Handle COPY-CONTENTS. (Bug#15737)
4463
4464 2013-10-28 Daiki Ueno <ueno@gnu.org>
4465
4466 * epa-file.el
4467 (epa-file-cache-passphrase-for-symmetric-encryption):
4468 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4469
4470 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4471
4472 * image.el (defimage):
4473 (image-load-path): Doc fixes.
4474
4475 2013-10-27 Alan Mackenzie <acm@muc.de>
4476
4477 Indent statements in macros following "##" correctly.
4478 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4479 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4480
4481 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4482
4483 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4484
4485 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4486
4487 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4488 after `=' is probably a new expression.
4489
4490 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4491
4492 * man.el (man-imenu-title): New option.
4493 (Man-mode-map): Add menu. (Bug#15722)
4494 (Man-mode): Add imenu to menu.
4495
4496 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4497
4498 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4499 specific in what the first arg can be: a non-keyword word,
4500 string/regexp/percent literal opener, opening paren, or unary
4501 operator followed directly by word.
4502
4503 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4506 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4507 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4508 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4509 Remove vars, they do not apply any more.
4510 (prolog-mode-abbrev-table): Remove redundant declaration.
4511 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4512 (prolog-use-smie): Remove.
4513 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4514 supported by prolog-electric-if-then-else-flag.
4515 (prolog-mode-variables, prolog-menu): Use setq-local.
4516 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4517 Remove binding to `Backspace' since this key doesn't exist anyway.
4518 Remove bindings for electric self-inserting keys.
4519 (prog-mode): Assume it's defined.
4520 (prolog-post-self-insert): New function.
4521 (prolog-mode): Use it.
4522 (prolog-indent-line, prolog-indent-level)
4523 (prolog-find-indent-of-matching-paren)
4524 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4525 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4526 (prolog-goto-next-paren, prolog-in-string-or-comment)
4527 (prolog-tokenize, prolog-inside-mline-comment)
4528 (prolog-find-start-of-mline-comment): Remove functions.
4529 (prolog-find-unmatched-paren, prolog-clause-end)
4530 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4531 (prolog-electric--if-then-else): Rename from
4532 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4533 (prolog-tokenize-searchkey): Remove const.
4534 (prolog-clause-info): Use forward-sexp.
4535 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4536 (prolog-electric-if-then-else): Remove commands.
4537 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4538 for use in post-self-insert-hook.
4539 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4540 for use in post-self-insert-hook.
4541 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4542 for use in post-self-insert-hook.
4543 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4544 adapt it for use in post-self-insert-hook.
4545
4546 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4547
4548 * emacs-lisp/ert.el (ert-run-tests-interactively):
4549 Use `completing-read'. (Bug#9756)
4550
4551 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4552
4553 * simple.el (line-move): Call line-move-1 instead of
4554 line-move-visual when the current window hscroll is zero, but
4555 temporary-goal-column indicates we will need to hscroll as result
4556 of the movement. (Bug#15712)
4557
4558 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4559
4560 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4561 capitalization. Use :visible instead of :active.
4562 Fix `ruby-indent-exp' reference. Add menu items for the generic
4563 commands that are used with SMIE.
4564 (ruby-do-end-to-brace): Insert space after `{'.
4565
4566 2013-10-25 John Anthony <john@jo.hnanthony.com>
4567
4568 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4569
4570 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4571
4572 2013-10-25 Glenn Morris <rgm@gnu.org>
4573
4574 * vc/vc.el (vc-print-log): Don't use a working revision unless
4575 one was explicitly specified. (Bug#15322)
4576
4577 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * subr.el (add-to-list): Preserve return value in compiler-macro
4580 (bug#15692).
4581
4582 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4583
4584 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4585 result. Ask user to retry using '-all' flag. (Bug#15701)
4586
4587 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * emacs-lisp/smie.el: New smie-config system.
4590 (smie-config): New defcustom.
4591 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4592 (smie-config-guess, smie-config-save): New commands.
4593 (smie-config--mode-local, smie-config--buffer-local)
4594 (smie-config--trace, smie-config--modefuns): New vars.
4595 (smie-config--advice, smie-config--mode-hook)
4596 (smie-config--setter, smie-config-local, smie-config--get-trace)
4597 (smie-config--guess-value, smie-config--guess): New functions.
4598 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4599 text properties. Treat "string fence" syntax like string syntax.
4600
4601 * progmodes/sh-script.el (sh-use-smie): Change default.
4602 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4603 (sh-var-value): Simplify by CSE.
4604 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4605 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4606 is used.
4607 (sh-guess-basic-offset): Use cl-incf.
4608 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4609
4610 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4611
4612 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4613 (bug#15699).
4614
4615 2013-10-24 Glenn Morris <rgm@gnu.org>
4616
4617 * Makefile.in (abs_top_srcdir): Remove.
4618 (update-subdirs): Use relative path to update-subdirs.
4619
4620 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4621
4622 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4623 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4624 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4625 Call unmsys--file-name before expand-file-name, not after it.
4626
4627 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4628
4629 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4630 (ert-test-skipped): New error.
4631 (ert-skip, ert-stats-skipped): New defuns.
4632 (ert--skip-unless): New macro.
4633 (ert-test-skipped): New struct.
4634 (ert--run-test-debugger, ert-test-result-type-p)
4635 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4636 (ert--stats-set-test-and-result, ert-char-for-test-result)
4637 (ert-string-for-test-result, ert-run-tests-batch)
4638 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4639 Handle skipped tests. (Bug#9803)
4640
4641 2013-10-24 Glenn Morris <rgm@gnu.org>
4642
4643 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4644
4645 * Makefile.in (abs_top_srcdir): New, set by configure.
4646 (update-subdirs): Correct build-aux location.
4647
4648 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4649
4650 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4651 value, whether we could auto-deduce `backend', or not.
4652
4653 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4654 with parameters" example. Simplify the "is it block or is it
4655 hash" check, but also make it more thorough.
4656
4657 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4658
4659 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4660
4661 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4664 { if it is hanging.
4665
4666 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4667 :before ";".
4668
4669 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4670
4671 * progmodes/compile.el (compilation-directory-matcher)
4672 (compilation-page-delimiter):
4673 Support GNU Make-4.0 directory quoting. (Bug#15678)
4674
4675 2013-10-23 Leo Liu <sdl.web@gmail.com>
4676
4677 * ido.el (ido-tidy): Handle read-only text.
4678
4679 2013-10-23 Glenn Morris <rgm@gnu.org>
4680
4681 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4682 (emacs, compile, compile-always):
4683 Quote entities that might contain whitespace.
4684 (custom-deps, finder-data, autoloads): Use abs_lisp.
4685 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4686 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4687 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4688
4689 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4690
4691 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4692 Use `following-char'.
4693
4694 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4697 * progmodes/ruby-mode.el (ruby-smie-rules):
4698 Remove corresponding workaround. Fix indentation rule of ";" so it
4699 also applies when ";" is the parent.
4700
4701 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4702
4703 * frame.el (display-screens, display-pixel-height)
4704 (display-pixel-width, display-mm-width, display-backing-store)
4705 (display-save-under, display-planes, display-color-cells)
4706 (display-visual-class, display-monitor-attributes-list):
4707 Mention the optional ‘display’ argument in doc strings.
4708
4709 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4710
4711 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4712 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4713
4714 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4715
4716 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4717 TODO. Add "." after " @ ".
4718 (ruby-smie--at-dot-call): New function. Checks if point at method
4719 call with explicit target.
4720 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4721 to the method name tokens when it precedes them.
4722 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4723 (ruby-smie-rules): Add rule for indentation before and after "."
4724 token.
4725
4726 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * textmodes/remember.el (remember-diary-extract-entries):
4729 Avoid add-to-list.
4730
4731 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4732 an instruction.
4733
4734 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4735
4736 * progmodes/ruby-mode.el (ruby-smie-grammar):
4737 Add (almost) all infix operators.
4738 (ruby-smie--implicit-semi-p): Add new operator chars.
4739
4740 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4741 `smie-down-list'.
4742 (ruby-smie--args-separator-p): Check that there's no newline
4743 between method call and its arguments.
4744
4745 2013-10-20 Alan Mackenzie <acm@muc.de>
4746
4747 Allow comma separated lists after Java "implements".
4748
4749 * progmodes/cc-engine.el (c-backward-over-enum-header):
4750 Parse commas.
4751 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4752 from a "disallowed" list in enum fontification.
4753
4754 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4755
4756 * startup.el (default-frame-background-mode): Remove unused defvar.
4757
4758 * progmodes/verilog-mode.el (verilog-mode): Don't set
4759 comment-indent-function globally.
4760
4761 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4762
4763 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4764 Move Info menu item creation to ns-win.el.
4765
4766 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4767 in menu bar.
4768
4769 * menu-bar.el: Move GNUstep specific menus...
4770
4771 * term/ns-win.el (ns-initialize-window-system): ... to here.
4772
4773 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * simple.el (newline): Only run post-self-insert-hook when
4776 called interactively.
4777
4778 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4779
4780 * icomplete.el (icomplete-with-completion-tables): Add :version.
4781
4782 2013-10-19 Alan Mackenzie <acm@muc.de>
4783
4784 Fix fontification bugs with constructors and const.
4785
4786 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4787 CASE 2) Remove the check for the absence of a suffix construct
4788 after a function declaration with only types (no identifiers) in
4789 the parentheses. Also, accept a function declaration with just a
4790 type inside the parentheses, if this type can be positively
4791 recognised as such, or if a prefix keyword like "explicit" nails
4792 down the construct as a declaration.
4793
4794 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4795
4796 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4797 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4798 the problem whereby selecting a menu item that leads to a
4799 minibuffer prompt moves the cursor out of the minibuffer window,
4800 making it hard to type at the prompt. Suggested by Stefan Monnier
4801 <monnier@iro.umontreal.ca>.
4802
4803 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4804
4805 * menu-bar.el: Don't make Services menu.
4806
4807 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4808
4809 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4810 (ffap-alist): Use ffap-c++-mode for c++-mode.
4811 (ffap-c++-path): New variable.
4812 (ffap-c++-mode): New function.
4813
4814 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4815
4816 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4817
4818 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4819
4820 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4821 introduced on 2013-09-08, which results in an infinite loop
4822 requesting a password.
4823
4824 2013-10-18 Glenn Morris <rgm@gnu.org>
4825
4826 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4827
4828 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4829
4830 Sync with upstream verilog-mode revision 1a6ecec7.
4831 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4832 (verilog-mode-release-date): Remove.
4833 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4834 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4835 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4836 (verilog-auto-tieoff-ignore-regexp)
4837 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4838 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4839 (verilog-signals-with, verilog-dir-cache-preserving)
4840 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4841 Doc fixes.
4842 (verilog-case-fold): New option, to control case folding in
4843 regexp searches, bug597.
4844 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4845 (verilog-string-match-fold, verilog-in-paren-count)
4846 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4847 (verilog-at-close-struct-p): New functions.
4848 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4849 (verilog-forward-sexp, verilog-set-auto-endcomments):
4850 (verilog-leap-to-case-head): Handle "unique0" case.
4851 (verilog-in-constraint-re): New constant.
4852 (verilog-keywords, verilog-type-font-keywords):
4853 Add some SystemVerilog 1800-2012 keywords.
4854 (verilog-label-be): Remove unimplemented argument, bug669.
4855 (verilog-batch-execute-func): When batch expanding clear
4856 create-lockfiles to prevent spurious user locks when a file ends
4857 up not changing.
4858 (verilog-calculate-indent, verilog-calc-1)
4859 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4860 (verilog-do-indent): Fix indentation of nested constraints
4861 and structures.
4862 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4863 (verilog-auto-inst-param): Use verilog-string-match-fold.
4864 (verilog-read-inst-module-matcher):
4865 Fix AUTOINST on gate primitives with #1.
4866 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4867 Reads all user-defined typed variables.
4868 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4869 (verilog-signals-matching-regexp)
4870 (verilog-signals-not-matching-regexp, verilog-auto):
4871 Respect verilog-case-fold.
4872 (verilog-diff-report): Fix line count.
4873 (verilog-auto-assign-modport): Remove unused local `modi'.
4874 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4875 better handle multidimensional arrays.
4876 Fix packed array ports misadding bit index in AUTOINST, bug637.
4877 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4878 to not double-declare existing outputs and inputs, respectively.
4879 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4880 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4881 (verilog-sk-uvm-component): New skeleton.
4882 (verilog-submit-bug-report): Add verilog-case-fold,
4883 remove verilog-mode-release-date.
4884
4885 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4886
4887 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4888 as before.
4889
4890 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4891
4892 * textmodes/remember.el (remember): Set buffer-offer-save in
4893 remember buffers (bug#13566).
4894
4895 2013-10-18 Daniel Colascione <dancol@dancol.org>
4896
4897 When evaluating forms in ielm, direct standard output to ielm
4898 buffer. Add new ielm-return-for-effect command. Remove trailing
4899 whitespace throughout.
4900
4901 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4902 (ielm-return-for-effect): New command.
4903 (ielm-send-input): Accept optional `for-effect' parameter.
4904 (ielm-eval-input): Accept optional `for-effect' parameter.
4905 Bind `standard-output' to stream we create using
4906 `ielm-standard-output-impl'. Suppress printing result when
4907 `for-effect'.
4908 (ielm-standard-output-impl): New function.
4909 (inferior-emacs-lisp-mode): Explain new features in documentation.
4910
4911 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4912
4913 Code cleanup.
4914
4915 * net/tramp.el (tramp-debug-message): Do not check for connection
4916 buffer.
4917 (tramp-message): Use "vector" connection property.
4918
4919 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4920 (tramp-equal-remote, tramp-eshell-directory-change)
4921 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4922 (tramp-adb-handle-rename-file)
4923 * net/tramp-cmds.el (tramp-list-remote-buffers)
4924 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4925 * net/tramp-compat.el (tramp-compat-process-running-p)
4926 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4927 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4928 (tramp-gvfs-handle-rename-file)
4929 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4930 (tramp-set-file-uid-gid)
4931 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4932 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4933 of `file-remote-p'.
4934
4935 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4936 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4937 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4938 (tramp-gw-open-network-stream): Suppress unrelated traces.
4939
4940 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4941 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4942 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4943 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4944 connection property.
4945
4946 * net/tramp-cache.el (top): Suppress traces when reading
4947 persistency file.
4948
4949 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4950 Refactor common code. Improve debug message.
4951 (tramp-maybe-open-connection)
4952 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4953 connection buffer too early.
4954
4955 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4956 from `tramp-smb-actions-with-acl'.
4957 (tramp-smb-actions-set-acl): New defconst.
4958 (tramp-smb-handle-copy-directory)
4959 (tramp-smb-action-get-acl): New defun, renamed from
4960 `tramp-smb-action-with-acl'.
4961 (tramp-smb-action-set-acl): New defun.
4962 (tramp-smb-handle-set-file-acl): Rewrite.
4963
4964 2013-10-17 Glenn Morris <rgm@gnu.org>
4965
4966 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4967
4968 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * skeleton.el (skeleton-newline): Remove.
4971 (skeleton-internal-1): Use (insert "\n") instead.
4972
4973 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4974 let-bindings.
4975
4976 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4977 forward-sexp-function while we redo its job (bug#15613).
4978
4979 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4980
4981 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4982 represented by lists.
4983
4984 2013-10-16 Glenn Morris <rgm@gnu.org>
4985
4986 * tmm.el (tmm--history): New dynamic variable.
4987 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4988
4989 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4990
4991 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4992 (tramp-smb-errors): Add error messages.
4993 (tramp-smb-actions-with-acl): New defconst.
4994 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4995 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4996 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4997 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4998 (tramp-smb-get-stat-capability): Fix tests.
4999
5000 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5001
5002 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5003 (bug#15580).
5004
5005 2013-10-16 Glenn Morris <rgm@gnu.org>
5006
5007 * ansi-color.el (ansi-color-drop-regexp):
5008 Add 1J, 1K, 2K. (Bug#15617)
5009
5010 * files.el (hack-local-variables--warned-lexical): New.
5011 (hack-local-variables):
5012 Warn about misplaced lexical-binding. (Bug#15616)
5013
5014 * net/eww.el (eww-render): Always set eww-current-url,
5015 and update header line. (Bug#15622)
5016 (eww-display-html): ... Rather than just doing it here.
5017
5018 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5019
5020 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5021 menu navigations commands.
5022
5023 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5024
5025 * progmodes/subword.el (subword-capitalize): Be careful when
5026 the search for [[:alpha:]] fails (bug#15580).
5027
5028 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5029
5030 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5031 to commands that scroll the menu.
5032
5033 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5034
5035 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5036 Handle methods ending with `?' and `!'.
5037
5038 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5039
5040 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5041 `japanese-cp932' to `cp932' to fix the problem where saving a
5042 source file written in Shift_JIS twice would end up having
5043 `coding: japanese-cp932' which Ruby could not recognize.
5044 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5045 in `ruby-encoding-map'.
5046 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5047 doesn't need to be explicitly declared in magic comment.
5048 (ruby-encoding-map): Add type declaration for better customize UI.
5049
5050 2013-10-13 Glenn Morris <rgm@gnu.org>
5051
5052 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5053 Occur buffers are read-only. http://bugs.debian.org/720775
5054
5055 * emacs-lisp/authors.el (authors-fixed-entries):
5056 Comment out old alpha stuff.
5057
5058 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5059
5060 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5061 to `after-save-hook' instead of `before-save-hook'.
5062 (ruby-mode-set-encoding): Use the value of coding system used to
5063 write the file. Call `basic-save-buffer-1' after modifying the
5064 buffer.
5065
5066 2013-10-13 Alan Mackenzie <acm@muc.de>
5067
5068 Fix indentation/fontification of Java enum with
5069 "implements"/generic.
5070
5071 * progmodes/cc-engine.el (c-backward-over-enum-header):
5072 Extracted from the three other places and enhanced to handle generics.
5073 (c-inside-bracelist-p): Uses new function above.
5074 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5075 function above.
5076 (c-font-lock-enum-tail): Uses new function above.
5077
5078 2013-10-13 Kenichi Handa <handa@gnu.org>
5079
5080 * international/mule-cmds.el (select-safe-coding-system): Remove a
5081 superfluous condition in chekcing whether a coding system is safe
5082 or not.
5083
5084 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5085
5086 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5087
5088 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5089
5090 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5091
5092 2013-10-13 Glenn Morris <rgm@gnu.org>
5093
5094 * menu-bar.el (menu-bar-update-buffers):
5095 Unify Buffers menu prompt string. (Bug#15576)
5096
5097 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5098
5099 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5100 Add some entries.
5101 (authors-fixed-entries): Use accented form of name.
5102
5103 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5106 method calls (bug#15594).
5107 (ruby-smie--args-separator-p): New function.
5108 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5109 recognize paren-free method calls.
5110
5111 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5112 internals of universal-argument.
5113
5114 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5115
5116 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5117 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5118 dropped menu on second mouse click on the menu bar.
5119
5120 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5123 (explicit-shell-file-name): Declare.
5124 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5125 (sh-completion-at-point-function): New function.
5126 (sh-mode): Use it.
5127 (sh-smie--keyword-p): Remove unused argument.
5128 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5129 vars.
5130 (sh-set-shell): Always setup SMIE, even if we use the
5131 old indentation code.
5132
5133 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5134
5135 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5136 cases of ? and =.
5137 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5138 predicate would return nil are almost non-existent.
5139 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5140
5141 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5142 cache also after commands that modify the buffer but don't move
5143 point.
5144
5145 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * env.el (substitute-env-in-file-name): New function.
5148 (substitute-env-vars): Extend the meaning of the optional arg.
5149
5150 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5151
5152 * term/w32-win.el (dynamic-library-alist): Define separate lists
5153 of GIF DLLs for versions before and after 5.0.0 of giflib.
5154 (Bug#15531)
5155
5156 2013-10-10 João Távora <joaotavora@gmail.com>
5157
5158 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5159 not locked, use last revision and current source as
5160 defaults. (Bug#15569)
5161
5162 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5163
5164 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5165 menu-bar is hidden.
5166
5167 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5168
5169 * window.el (pop-to-buffer-same-window): Fix doc-string.
5170 (Bug#15492)
5171
5172 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5175
5176 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5177
5178 * calendar/icalendar.el (icalendar-import-file):
5179 Fix interactive spec. (Bug#15482)
5180
5181 2013-10-10 Glenn Morris <rgm@gnu.org>
5182
5183 * desktop.el (desktop-save): Default to saving in .emacs.d,
5184 since PWD is no longer in desktop-path by default. (Bug#15319)
5185
5186 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5187 now that text mode has a menu with the same entry.
5188 (menu-bar-text-mode-auto-fill): Remove now unused func.
5189 * textmodes/text-mode.el (text-mode-map):
5190 Use auto-fill help text from menu-bar.el.
5191
5192 2013-10-10 John Anthony <john@jo.hnanthony.com>
5193
5194 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5195
5196 2013-10-09 Juri Linkov <juri@jurta.org>
5197
5198 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5199 instead of this-command-keys. Add universal-argument-more and
5200 universal-argument-minus to the list of prefix commands. (Bug#15568)
5201
5202 2013-10-09 Glenn Morris <rgm@gnu.org>
5203
5204 * vc/vc-svn.el (vc-svn-create-repo):
5205 Expand paths in file://... url. (Bug#15446)
5206
5207 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5208 Add some entries.
5209 (authors): Remove unused local variables.
5210
5211 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * profiler.el: Create a more coherent calltree from partial backtraces.
5214 (profiler-format): Hide the tail with `invisible' so that C-s can still
5215 find the hidden elements.
5216 (profiler-calltree-depth): Don't recurse so enthusiastically.
5217 (profiler-function-equal): New hash-table-test.
5218 (profiler-calltree-build-unified): New function.
5219 (profiler-calltree-build): Use it.
5220 (profiler-report-make-name-part): Indent the calltree less.
5221 (profiler-report-mode): Add visibility specs for profiler-format.
5222 (profiler-report-expand-entry, profiler-report-toggle-entry):
5223 Expand the whole subtree when provided with a prefix arg.
5224
5225 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5226
5227 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5228 iuwu-mod token.
5229 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5230 hanging iuwu-mod token.
5231 (ruby-smie--forward-token): Do not include a dot after a token in
5232 that token.
5233 (ruby-smie--backward-token): Likewise.
5234
5235 2013-10-08 Juri Linkov <juri@jurta.org>
5236
5237 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5238 to isearch-other-control-char.
5239 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5240 and isearch-post-command-hook to post-command-hook.
5241 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5242 and isearch-post-command-hook from post-command-hook.
5243 (isearch-unread-key-sequence)
5244 (isearch-reread-key-sequence-naturally)
5245 (isearch-lookup-scroll-key, isearch-other-control-char)
5246 (isearch-other-meta-char): Remove functions.
5247 (isearch-pre-command-hook, isearch-post-command-hook):
5248 New functions based on isearch-other-meta-char rewritten
5249 relying on the new behavior of overriding-terminal-local-map
5250 that does not replace the local keymaps any more. (Bug#15200)
5251
5252 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5253
5254 Support menus on text-mode terminals.
5255 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5256 functionality.
5257
5258 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5259
5260 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5261 Move here from mouse.el.
5262 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5263 and arrow keys.
5264 (tty-menu-navigation-map): New map for TTY menu navigation.
5265
5266 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5267
5268 * frame.el (display-mouse-p): Report text-mode mouse as available
5269 on w32.
5270 (display-popup-menus-p): Report availability if mouse is
5271 available; don't condition on window-system.
5272
5273 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5274 (tty-menu-selected-face): New faces.
5275
5276 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5279 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5280 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5281 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5282 New constants.
5283 (lisp-mode-variables): New `elisp' argument.
5284 (emacs-lisp-mode): Use it.
5285 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5286 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5287
5288 * indent.el: Use lexical-binding.
5289 (indent-region): Add progress reporter.
5290 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5291 last step.
5292 (indent--next-tab-stop): New function to implement this behavior.
5293 (tab-to-tab-stop, move-to-tab-stop): Use it.
5294
5295 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5296
5297 * indent.el (indent-rigidly--current-indentation): New function.
5298 (indent-rigidly-map): New var.
5299 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5300
5301 2013-10-08 Bastien Guerry <bzg@gnu.org>
5302
5303 * register.el (insert-register): Fix 2013-10-07 change.
5304
5305 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * progmodes/perl-mode.el: Use lexical-binding.
5308 Remove redundant :group args.
5309 (perl-nochange): Change default to be closer to other major modes's
5310 standard behavior.
5311 (perl-indent-line): Don't consider text on current line as a
5312 valid beginning of function from which to indent.
5313
5314 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5315 with more than one argument (bug#15538).
5316
5317 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5318
5319 * vc/pcvs.el: Use lexical-binding.
5320 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5321 environment of `eval'.
5322 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5323 than a list of expressions. Adjust callers.
5324 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5325
5326 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5327
5328 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5329 case of the dot in a chained method call being on the following line.
5330
5331 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * electric.el (electric-indent-inhibit): New var.
5334 (electric-indent-post-self-insert-function): Use it.
5335 * progmodes/python.el (python-mode): Set it.
5336
5337 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5338 open braces.
5339
5340 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5341
5342 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5343 (css-mode): Use electric-indent-chars.
5344
5345 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5346 (font-lock-beg, font-lock-end): Move before first use.
5347 (nxml-mode): Use syntax-propertize-function.
5348 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5349 (nxml-extend-after-change-region): Remove.
5350 * nxml/xmltok.el: Use lexical-binding.
5351 (xmltok-save): Use `declare'.
5352 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5353 * nxml/nxml-util.el: Use lexical-binding.
5354 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5355 Use `declare'.
5356 * nxml/nxml-ns.el: Use lexical-binding.
5357 (nxml-ns-save): Use `declare'.
5358 (nxml-ns-prefixes-for): Avoid add-to-list.
5359 * nxml/rng-match.el: Use lexical-binding.
5360 (rng--ipattern): Use cl-defstruct.
5361 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5362 (rng-cons-group-after, rng-subst-group-after)
5363 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5364 Use closures instead of `(lambda...).
5365
5366 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5369 of BEG and END.
5370
5371 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5372 Use `tramp-handle-insert-file-contents'.
5373 (tramp-gvfs-handle-insert-file-contents): Remove function.
5374
5375 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5376 Use `save-restriction' in order to keep markers.
5377
5378 * net/trampver.el: Update release number.
5379
5380 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * progmodes/compile.el (compilation-parse-errors):
5383 Use compilation--put-prop.
5384 (compilation--ensure-parse): Check compilation-multiline.
5385
5386 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5387
5388 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5389 lexical-binding.
5390
5391 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5392
5393 * progmodes/ruby-mode.el: Fix recently added tests.
5394 (ruby-smie-grammar): Add - and +.
5395 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5396 (ruby-smie--backward-id): New functions.
5397 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5398 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5399 any more.
5400
5401 2013-10-07 Leo Liu <sdl.web@gmail.com>
5402
5403 * register.el (register-preview-delay)
5404 (register-preview-functions): New variables.
5405 (register-read-with-preview, register-preview)
5406 (register-describe-oneline): New functions.
5407 (point-to-register, window-configuration-to-register)
5408 (frame-configuration-to-register, jump-to-register)
5409 (number-to-register, view-register, insert-register)
5410 (copy-to-register, append-to-register, prepend-to-register)
5411 (copy-rectangle-to-register): Use register-read-with-preview to
5412 read register. (Bug#15525)
5413
5414 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5415
5416 * net/network-stream.el (network-stream-open-starttls): Don't add
5417 --insecure if it's already present, because that gnutls-cli
5418 rejects getting that parameter twice.
5419
5420 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5421
5422 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5423 keyword, too.
5424
5425 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5426
5427 * newcomment.el (comment-use-global-state): Change default value
5428 to t, mark obsolete (Bug#15251).
5429 (comment-beginning): In addition to `comment-to-syntax', check the
5430 value of `comment-use-global-state'.
5431
5432 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5435 (ruby-comment-column): Follow the global default, by default.
5436 (ruby-smie-grammar): Add assignment syntax.
5437 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5438 open-paren, a comma, or a \.
5439 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5440 and line continuations.
5441 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5442 followed by implicit semi-colons. Add rule for string concatenation
5443 and for indentation at BOB.
5444 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5445
5446 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5447 calling next-sexp, since next-token may have skipped chars which
5448 next-sexp doesn't know should be skipped!
5449
5450 2013-10-05 Leo Liu <sdl.web@gmail.com>
5451
5452 * progmodes/octave.el (octave-send-region):
5453 Call compilation-forget-errors.
5454
5455 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5456
5457 * vc/vc-svn.el (vc-svn-find-admin-dir):
5458 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5459 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5460 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5461 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5462
5463 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5466
5467 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * subr.el (read-passwd): Hide chars even when called within a context
5470 where after-change-functions is disabled (bug#15501).
5471 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5472 until we removed ourself from overriding-terminal-local-map.
5473
5474 2013-10-04 Leo Liu <sdl.web@gmail.com>
5475
5476 * progmodes/octave.el (inferior-octave-mode):
5477 Call compilation-forget-errors.
5478
5479 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5480
5481 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5482
5483 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5484
5485 * net/secrets.el (secrets-create-collection): Add optional
5486 argument ALIAS. Use proper Label keyword. Append ALIAS as
5487 dbus-call-method argument. (Bug#15516)
5488
5489 2013-10-04 Leo Liu <sdl.web@gmail.com>
5490
5491 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5492 (inferior-octave-compilation-font-lock-keywords): New variables.
5493 (compilation-error-regexp-alist)
5494 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5495 (inferior-octave-mode): Use compilation-shell-minor-mode.
5496
5497 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5498
5499 * minibuffer.el (completion--replace): Be careful that `end' might be
5500 a marker.
5501
5502 2013-10-03 Daiki Ueno <ueno@gnu.org>
5503
5504 Add support for package signature checking.
5505 * emacs-lisp/package.el (url-http-file-exists-p)
5506 (epg-make-context, epg-context-set-home-directory)
5507 (epg-verify-string, epg-context-result-for)
5508 (epg-signature-status, epg-signature-to-string)
5509 (epg-check-configuration, epg-configuration)
5510 (epg-import-keys-from-file): Declare.
5511 (package-check-signature): New user option.
5512 (package-unsigned-archives): New user option.
5513 (package-desc): Add `signed' field.
5514 (package-load-descriptor): Set `signed' field if .signed file exists.
5515 (package--archive-file-exists-p): New function.
5516 (package--check-signature): New function.
5517 (package-install-from-archive): Check package signature.
5518 (package--download-one-archive): Check archive signature.
5519 (package-delete): Remove .signed file.
5520 (package-import-keyring): New command.
5521 (package-refresh-contents): Import default keyring.
5522 (package-desc-status): Add "unsigned" status.
5523 (describe-package-1, package-menu--print-info)
5524 (package-menu-mark-delete, package-menu--find-upgrades)
5525 (package-menu--status-predicate): Support "unsigned" status.
5526
5527 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5530 the new compilation scheme using the new byte-codes.
5531
5532 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5533 (byte-pophandler): New byte codes.
5534 (byte-goto-ops): Adjust accordingly.
5535 (byte-compile--use-old-handlers): New var.
5536 (byte-compile-catch): Use new byte codes depending on
5537 byte-compile--use-old-handlers.
5538 (byte-compile-condition-case--old): Rename from
5539 byte-compile-condition-case.
5540 (byte-compile-condition-case--new): New function.
5541 (byte-compile-condition-case): New function that dispatches depending
5542 on byte-compile--use-old-handlers.
5543 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5544 when we can.
5545
5546 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5547 Optimize under `condition-case' and `catch' if
5548 byte-compile--use-old-handlers is nil.
5549 (disassemble-offset): Handle new bytecodes.
5550
5551 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * subr.el (error): Use `declare'.
5554 (decode-char, encode-char): Use advertised-calling-convention instead
5555 of the docstring to discourage use of the `restriction' arg.
5556
5557 2013-10-03 Daiki Ueno <ueno@gnu.org>
5558
5559 * epg.el (epg-verify-file): Add a comment saying that it does not
5560 notify verification error as a return value nor a signal.
5561 (epg-verify-string): Ditto.
5562
5563 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5564
5565 * progmodes/compile.el (compilation-start): Try globbing the arg to
5566 `cd' (bug#15417).
5567
5568 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5569
5570 Sync with Tramp 2.2.8.
5571
5572 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5573 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5574 * net/trampver.el: Update release number.
5575
5576 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5577
5578 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5579 and default-process-coding-system for darwin only.
5580
5581 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5584
5585 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5586
5587 * vc/vc-git.el (vc-git-grep): Disable pager.
5588
5589 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5590
5591 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5592 Use :url instead of :homepage, as per
5593 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5594
5595 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5596 non-nil, use `syntax-ppss' (Bug#15251).
5597
5598 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5599
5600 * progmodes/octave.el (inferior-octave-startup-file):
5601 Prefer ~/.emacs.d/init_octave.m.
5602
5603 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5604
5605 * emacs-lisp/package.el (package-desc-from-define):
5606 Accept additional arguments as plist, convert them to an alist and store
5607 them in the `extras' slot.
5608 (package-generate-description-file): Convert extras alist back to
5609 plist and append to the `define-package' form arguments.
5610 (package--alist-to-plist): New function.
5611 (package--ac-desc): Add `extras' slot.
5612 (package--add-to-archive-contents): Check if the archive-contents
5613 vector is long enough, and if it is, pass its `extras' slot value
5614 to `package-desc-create'.
5615 (package-buffer-info): Call `lm-homepage', pass the returned value
5616 to `package-desc-from-define'.
5617 (describe-package-1): Render the homepage button (Bug#13291).
5618
5619 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5620 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5621
5622 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5623
5624 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5625 and default-process-coding-system to utf-8-unix (Bug#15402).
5626
5627 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5628
5629 * subr.el (looking-back): Do not recommend using looking-back.
5630
5631 2013-09-28 Alan Mackenzie <acm@muc.de>
5632
5633 Fix indentation/fontification of Java enum with "implements".
5634
5635 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5636 regexp which matches "implements", etc., in Java.
5637 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5638 specifier clauses coming after "enum".
5639 * progmodes/cc-fonts.el (c-font-lock-declarations)
5640 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5641 after "enum".
5642
5643 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5644
5645 * faces.el (region): Change ns_selection_color to
5646 ns_selection_fg_color, add ns_selection_bg_color.
5647
5648 2013-09-28 Leo Liu <sdl.web@gmail.com>
5649
5650 * progmodes/octave.el (inferior-octave-completion-table)
5651 (inferior-octave-completion-at-point): Minor tweaks.
5652
5653 * textmodes/ispell.el (ispell-lookup-words): Rename from
5654 lookup-words. (Bug#15460)
5655 (lookup-words): Obsolete.
5656 (ispell-complete-word, ispell-command-loop): All uses changed.
5657
5658 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5659
5660 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5661 (octave-mode-menu): Add octave-send-buffer.
5662 (octave-send-buffer): New function.
5663
5664 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5665
5666 * progmodes/octave.el (octave-mode-map): Add key binding for
5667 octave-lookfor.
5668 (octave-mode-menu): Add octave-lookfor.
5669 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5670 octave-lookfor.
5671 (octave-lookfor): New function.
5672
5673 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * emacs-lisp/cl-macs.el:
5676 (cl--loop-destr-temps): Remove.
5677 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5678 its convention.
5679 (cl--loop-set-iterator-function): New function.
5680 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5681 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5682 Bind `it' with `let' instead of substituting it with `cl-subst'.
5683 (cl--unused-var-p): New function.
5684 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5685 Eliminate some unused variable warnings (bug#15326).
5686
5687 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5688
5689 * doc-view.el (doc-view-scale-reset): Rename from
5690 `doc-view-reset-zoom-level'.
5691 (doc-view-scale-adjust): New command.
5692 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5693 `doc-view-scale-adjust'.
5694
5695 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5696
5697 * doc-view.el (doc-view-reset-zoom-level): New command.
5698 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5699 zoom commands (bug#15466).
5700
5701 2013-09-26 Kenichi Handa <handa@gnu.org>
5702
5703 * international/quail.el (quail-help): Make it not a command.
5704
5705 2013-09-26 Leo Liu <sdl.web@gmail.com>
5706
5707 * minibuffer.el (completion-all-sorted-completions): Make args
5708 optional as they are.
5709
5710 2013-09-25 Daniel Colascione <dancol@dancol.org>
5711
5712 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5713 specs are and that they're not evaluated.
5714
5715 2013-09-24 Sam Steingold <sds@gnu.org>
5716
5717 * midnight.el (clean-buffer-list-kill-regexps)
5718 (clean-buffer-list-kill-buffer-names): Update for the new Man
5719 buffer naming which includes the object name.
5720
5721 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5724 (eshell-parse-command, eshell-parse-pipeline): Use it since
5725 eshell-separate-commands requires a dynamic scoped var.
5726 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5727
5728 2013-09-23 Leo Liu <sdl.web@gmail.com>
5729
5730 * autoinsert.el (auto-insert-alist): Make the value of
5731 lexical-binding match its file setting.
5732
5733 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5736
5737 * autoarg.el (autoarg-kp-digit-argument):
5738 * electric.el (Electric-command-loop):
5739 * kmacro.el (kmacro-step-edit-insert):
5740 Do not set universal-argument-num-events.
5741
5742 2013-09-22 Leo Liu <sdl.web@gmail.com>
5743
5744 * files.el (interpreter-mode-alist): Add octave.
5745
5746 2013-09-21 Alan Mackenzie <acm@muc.de>
5747
5748 C++: fontify identifier in declaration following "public:" correctly.
5749 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5750 to match "public", etc.
5751 (c-decl-prefix-re): Add ":" into the C++ value.
5752 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5753 bit. Add a check for a ":" preceded by "public", etc.
5754
5755 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5756
5757 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5758 recognized by GDB 7.5 and later.
5759
5760 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5761
5762 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5763
5764 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * subr.el (internal--call-interactively): New const.
5767 (called-interactively-p): Use it (bug#3984).
5768
5769 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5770
5771 * vc/pcvs.el (cvs-mode-ignore):
5772 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5773 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5774
5775 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5778 (eshell-ls-orig-insert-directory): Remove.
5779 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5780 (eshell-ls-use-in-dired): Use advice-add/remove.
5781 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5782 Add `orig-fun' arg for use in :around advice.
5783 Make it check (redundantly) eshell-ls-use-in-dired.
5784
5785 2013-09-19 Glenn Morris <rgm@gnu.org>
5786
5787 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5788
5789 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5790
5791 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5792
5793 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5794
5795 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5796 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5797 (tramp-get-remote-python): New defuns.
5798 (tramp-get-remote-uid-with-perl)
5799 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5800 contributed by yary <not.com@gmail.com> (tiny change).
5801 (tramp-get-remote-uid-with-python)
5802 (tramp-get-remote-gid-with-python): New defuns. Python code
5803 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5804 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5805
5806 2013-09-19 Glenn Morris <rgm@gnu.org>
5807
5808 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5809
5810 * eshell/em-unix.el (eshell-remove-entries):
5811 Rename argument to avoid name-clash with global `top-level'.
5812
5813 * eshell/esh-proc.el (eshell-kill-process-function):
5814 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5815 (eshell-reset-after-proc): Remove unused arg `proc'.
5816
5817 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5818 (directory-files-and-attributes): Mark unused arg.
5819
5820 * eshell/em-unix.el (eshell-remove-entries):
5821 Remove unused arg `path'. Update callers.
5822
5823 * eshell/em-hist.el (eshell-hist-parse-arguments):
5824 Remove unused arg `silent'. Update callers.
5825
5826 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5827 Fix (f)boundp mix-up.
5828
5829 * eshell/em-smart.el (eshell-smart-scroll-window)
5830 (eshell-disable-after-change):
5831 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5832
5833 2013-09-18 Alan Mackenzie <acm@muc.de>
5834
5835 Fix fontification of type when followed by "const".
5836 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5837 "known" types from fontification.
5838
5839 2013-09-18 Glenn Morris <rgm@gnu.org>
5840
5841 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5842 (chart-face-list): Drop Emacsen without display-color-p.
5843
5844 * net/eww.el (libxml-parse-html-region): Declare.
5845 (eww-display-html): Explicit error if no libxml2 support.
5846
5847 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5848
5849 * image.el (image-type-from-buffer, image-multi-frame-p):
5850 Remove --without-x warning/error.
5851
5852 * mouse.el (mouse-yank-primary):
5853 * term.el (term-mouse-paste):
5854 Reorder to silence --without-x compilation.
5855
5856 * mpc.el (doc-view-mode): Silence --without-x compilation.
5857
5858 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5859 Silence --without-x compilation.
5860
5861 * progmodes/gud.el (gud-find-file, gud-mode):
5862 Silence --without-x compilation.
5863 (tooltip-mode): Declare.
5864
5865 * wdired.el (dired-backup-overwrite): Remove declaration.
5866 (wdired-mode-map): Add doc string.
5867
5868 * custom.el (x-get-resource): Declare.
5869
5870 * eshell/em-glob.el (ange-cache):
5871 * eshell/em-unix.el (ange-cache): Declare.
5872
5873 * faces.el (x-display-list, x-open-connection, x-get-resource):
5874 Declare.
5875
5876 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5877 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5878 Declare.
5879
5880 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5881
5882 * net/gnutls.el (gnutls-log-level): Declare.
5883
5884 * net/shr.el (image-size, image-animate): Declare.
5885
5886 * simple.el (font-info): Declare.
5887
5888 * subr.el (x-popup-dialog): Declare.
5889
5890 * term/common-win.el (x-select-enable-primary)
5891 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5892 Declare.
5893
5894 * term/ns-win.el (x-handle-args): Declare.
5895
5896 * term/x-win.el (x-select-enable-clipboard): Declare.
5897
5898 * term/w32-win.el (create-default-fontset): Declare.
5899
5900 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5901 Declare.
5902
5903 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5904 (fit-frame-to-buffer): Explicit error if --without-x.
5905 (mouse-autoselect-window-select): Silence compiler.
5906
5907 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5908
5909 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5910 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5911 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5912 * eshell/esh-util.el (eshell-sublist):
5913 Remove unused local variables.
5914
5915 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5916
5917 * textmodes/two-column.el: Make 2C-split work for --without-x.
5918 (scroll-bar-columns): Autoload.
5919 (top-level): Require fringe when compiling.
5920
5921 2013-09-18 Leo Liu <sdl.web@gmail.com>
5922
5923 * subr.el (add-hook): Robustify to handle closure as well.
5924
5925 2013-09-17 Glenn Morris <rgm@gnu.org>
5926
5927 * simple.el (messages-buffer-mode-map): Unbind "g".
5928
5929 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * help-mode.el (help-mode-finish): Use derived-mode-p.
5932 Remove obsolete highlighting.
5933
5934 * play/life.el (life-mode): Use define-derived-mode. Derive from
5935 special-mode.
5936 (life): Let-bind inhibit-read-only.
5937 (life-setup): Avoid `setq'. Use `life-mode'.
5938
5939 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5940 which should not be needed any more.
5941 (package-menu-refresh, package-menu-describe-package): Use user-error.
5942
5943 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5944 (eshell-post-rewrite-command-hook): Make obsolete.
5945 (eshell-parse-command): Simplify.
5946 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5947 (eshell--cmd): Declare.
5948 (eshell-parse-pipeline): Remove unused var `final-p'.
5949 Pass a dynvar to eshell-post-rewrite-command-hook.
5950 Implement the new eshell-post-rewrite-command-function.
5951 (eshell-invoke-directly): Remove unused arg `input'.
5952 * eshell/esh-io.el (eshell-io-initialize):
5953 Use eshell-post-rewrite-command-function (bug#15399).
5954 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5955 adjust to new calling convention.
5956 (eshell-create-handles): Rename args to avoid clashing with dynvar
5957 `standard-output'.
5958
5959 2013-09-17 Glenn Morris <rgm@gnu.org>
5960
5961 * simple.el (messages-buffer-mode): New major mode.
5962 (messages-buffer): New function.
5963 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5964 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5965 (ert-run-test): Use `messages-buffer' function.
5966 (ert--force-message-log-buffer-truncation): Ignore read-only.
5967 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5968 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5969
5970 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5973
5974 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5975
5976 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * icomplete.el (icomplete-in-buffer): New var.
5979 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5980 vars and replace them with functions.
5981 (icomplete-minibuffer-setup): Adjust accordingly.
5982 (icomplete--completion-table, icomplete--completion-predicate)
5983 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5984 New functions.
5985 (icomplete-forward-completions, icomplete-backward-completions)
5986 (icomplete-simple-completing-p, icomplete-exhibit)
5987 (icomplete-completions): Use them.
5988 (icomplete--in-region-buffer): New var.
5989 (icomplete--in-region-setup): New function.
5990 (icomplete-mode): Use it.
5991
5992 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5993 (bug#15379).
5994 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5995 return args and options.
5996 (eshell-eval-using-options): Use the new return value of
5997 eshell--do-opts to set the options's vars in their scope.
5998 (eshell--set-option): Rename from eshell-set-option.
5999 Add arg `opt-vals'.
6000 (eshell--process-option): Rename from eshell-process-option.
6001 Add arg `opt-vals'.
6002 (eshell--process-args): Use an `opt-vals' alist to store the options's
6003 values during their processing and return them additionally to the
6004 remaining args.
6005
6006 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6007
6008 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6009 continuation character an operator, as far as indentation is
6010 concerned (Bug#15369).
6011
6012 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6013
6014 * window.el (window--state-put-2): Don't process buffer state
6015 when buffer doesn't exist any more (Bug#15382).
6016
6017 2013-09-15 Glenn Morris <rgm@gnu.org>
6018
6019 * eshell/em-unix.el (eshell/rm):
6020 Make -f ignore missing files. (Bug#15373)
6021
6022 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6023 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6024 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6025
6026 2013-09-14 Glenn Morris <rgm@gnu.org>
6027
6028 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6029
6030 2013-09-13 Glenn Morris <rgm@gnu.org>
6031
6032 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6033 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6034
6035 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6036
6037 * frame.el (x-focus-frame): Mark as declared in frame.c.
6038
6039 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * ls-lisp.el: Use advice-add.
6042 (original-insert-directory): Remove.
6043 (ls-lisp--insert-directory): Rename from insert-directory; add
6044 `orig-fun' argument.
6045 (insert-directory): Advise.
6046
6047 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6048
6049 * term.el (term-emulate-terminal): Decode the command string
6050 before passing it to term-command-hook. (Bug#15337)
6051
6052 2013-09-13 Glenn Morris <rgm@gnu.org>
6053
6054 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6055
6056 * eshell/esh-ext.el (eshell-search-path): Declare.
6057
6058 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6059 Otherwise an error occurs if eshell-dirs module not loaded.
6060
6061 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6062
6063 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6064
6065 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6066 `tramp-check-proper-host'. Check for a valid method name.
6067
6068 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6069 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6070 * net/tramp-sh.el (tramp-maybe-open-connection):
6071 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6072
6073 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6074 also for hash values.
6075
6076 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * term/ns-win.el (parameters): Don't declare as dynamic.
6079 (before-make-frame-hook): Don't add ineffective function.
6080
6081 * eshell/*.el: Use lexical-binding (bug#15231).
6082
6083 2013-09-12 Kenichi Handa <handa@gnu.org>
6084
6085 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6086
6087 2013-09-12 Glenn Morris <rgm@gnu.org>
6088
6089 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6090 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6091
6092 * subr.el (do-after-load-evaluation): Also give compiler warnings
6093 when obsolete files are used (except by obsolete files).
6094
6095 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6096 in the status output, assume `filename' is the first. (Bug#15322)
6097
6098 * vc/vc.el (vc-deduce-fileset): Doc fix.
6099
6100 * calc/calc-help.el (Info-goto-node):
6101 * progmodes/cperl-mode.el (Info-find-node):
6102 * vc/ediff.el (Info-goto-node): Update declarations.
6103
6104 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6105
6106 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6107 (vc-bzr-pull): Require vc-dispatcher.
6108 * vc/vc-git.el (vc-compilation-mode): Declare.
6109 (vc-git-pull): Require vc-dispatcher.
6110
6111 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6112
6113 * progmodes/octave.el (help-button-action): Declare.
6114
6115 * shell.el (shell-directory-tracker): Output error as a message
6116 rather than just returning it as a string.
6117 (shell-process-pushd): Remove useless use of message.
6118
6119 * dframe.el (dframe-timer-fn):
6120 * files.el (dir-locals-read-from-file):
6121 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6122 (mpc-format):
6123 * reveal.el (reveal-post-command):
6124 * saveplace.el (load-save-place-alist-from-file):
6125 * shell.el (shell-resync-dirs):
6126 * w32-common-fns.el (x-get-selection-value):
6127 * emacs-lisp/copyright.el (copyright-find-copyright):
6128 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6129 * emulation/tpu-edt.el (tpu-copy-keyfile):
6130 * play/bubbles.el (bubbles--mark-neighbourhood):
6131 * progmodes/executable.el
6132 (executable-make-buffer-file-executable-if-script-p):
6133 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6134
6135 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 Cleanup Eshell to rely less on dynamic scoping.
6138 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6139 last-value, and ext-command here. Bind `args' closer to `body'.
6140 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6141 (eshell--args): Declare new dynamic var.
6142 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6143 last-value, and ext-command. Pass `args' to `body'.
6144 (eshell-process-args): Bind eshell--args.
6145 (eshell-set-option): Use eshell--args.
6146 * eshell/eshell.el (eshell): Use derived-mode-p.
6147 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6148 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6149 (eshell-glob-function): Declare.
6150 * eshell/esh-util.el: Require cl-lib.
6151 (eshell-read-hosts-file): Avoid add-to-list.
6152 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6153 `err'.
6154 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6155 Declare.
6156 (eshell/diff): Remove unused var `err'.
6157 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6158 `killflag'.
6159 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6160 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6161 first use.
6162 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6163 Move declaration before first use.
6164 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6165 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6166 rely on cl-return.
6167
6168 2013-09-12 Glenn Morris <rgm@gnu.org>
6169
6170 * term/ns-win.el (global-map): Remove binding for ispell-next,
6171 deleted 1999-05-29. (Bug#15357)
6172
6173 2013-09-11 Glenn Morris <rgm@gnu.org>
6174
6175 * echistory.el (electric-command-history): Remove call to deleted func.
6176
6177 * play/landmark.el (landmark-mode): Fix typos.
6178
6179 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6180 Check cvs-sort-ignore-file is bound.
6181
6182 * savehist.el: No need for cl when compiling on Emacs.
6183
6184 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6187 (bug#15338).
6188 (eshell-self-insert-command, eshell-send-invisible):
6189 Remove unused argument.
6190 (eshell-handle-control-codes): Remove unused var `orig'.
6191 Avoid delete-backward-char.
6192
6193 * files.el (set-auto-mode): Simplify a bit further.
6194
6195 2013-09-11 Glenn Morris <rgm@gnu.org>
6196
6197 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6198 (set-auto-mode): Don't regexp-quote elements.
6199 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6200 * progmodes/cc-mode.el (interpreter-mode-alist):
6201 * progmodes/ruby-mode.el (interpreter-mode-alist):
6202 Revert previous change.
6203
6204 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * play/snake.el (snake-mode):
6207 * play/mpuz.el (mpuz-mode):
6208 * play/landmark.el (lm-mode):
6209 * play/blackbox.el (blackbox-mode):
6210 * play/5x5.el (5x5-mode):
6211 * obsolete/options.el (Edit-options-mode):
6212 * net/quickurl.el (quickurl-list-mode):
6213 * net/newst-treeview.el (newsticker-treeview-mode):
6214 * mail/rmailsum.el (rmail-summary-mode):
6215 * mail/mspools.el (mspools-mode):
6216 * locate.el (locate-mode):
6217 * ibuffer.el (ibuffer-mode):
6218 * emulation/ws-mode.el (wordstar-mode):
6219 * emacs-lisp/debug.el (debugger-mode):
6220 * array.el (array-mode):
6221 * net/eudc.el (eudc-mode): Use define-derived-mode.
6222 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6223 Move initialization into declaration.
6224 (mairix-searches-mode): Use define-derived-mode.
6225 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6226 (eudc-edit-hotlist): Use dolist.
6227 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6228 (Man-mode): Use define-derived-mode.
6229 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6230 (Info-edit-mode): Use define-derived-mode.
6231 (Info-cease-edit): Use Info-mode.
6232 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6233 into declaration.
6234 (eshell-mode): Use define-derived-mode.
6235 * chistory.el (command-history-mode-map): Rename from
6236 command-history-map.
6237 (command-history-mode): Use define-derived-mode.
6238 (Command-history-setup): Remove function.
6239 * calc/calc.el (calc-trail-mode-map): New var.
6240 (calc-trail-mode): Use define-derived-mode.
6241 (calc-trail-buffer): Set calc-main-buffer manually.
6242 * bookmark.el (bookmark-insert-annotation): New function.
6243 (bookmark-edit-annotation): Use it.
6244 (bookmark-edit-annotation-mode): Make it a proper major mode.
6245 (bookmark-send-edited-annotation): Use derived-mode-p.
6246 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6247 closer to its ideal place. Use \' to match EOS.
6248
6249 * profiler.el (profiler-calltree-find): Use function-equal.
6250
6251 2013-09-10 Glenn Morris <rgm@gnu.org>
6252
6253 * files.el (interpreter-mode-alist): Convert to regexps.
6254 (set-auto-mode): Adapt for this. (Bug#15306)
6255 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6256 Comment out unused variable.
6257 * progmodes/cc-mode.el (interpreter-mode-alist):
6258 * progmodes/python.el (interpreter-mode-alist):
6259 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6260 * progmodes/sh-script.el (sh-set-shell):
6261 No longer use interpreter-mode-alist to get list of shells.
6262
6263 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6264
6265 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * simple.el: Use set-temporary-overlay-map for universal-argument.
6268 (universal-argument-map): Don't use default-bindings (bug#15317).
6269 Bind switch-frame explicitly. Replace universal-argument-minus with
6270 a conditional binding.
6271 (universal-argument-num-events, saved-overriding-map): Remove.
6272 (restore-overriding-map): Remove.
6273 (universal-argument--mode): Rename from save&set-overriding-map,
6274 and rewrite.
6275 (universal-argument, universal-argument-more, negative-argument)
6276 (digit-argument): Adjust accordingly.
6277 (universal-argument-minus): Remove.
6278 (universal-argument-other-key): Remove.
6279
6280 * subr.el (with-demoted-errors): Add `format' argument.
6281
6282 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6283
6284 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6285 `tramp-cleanup-connection'.
6286
6287 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6288 parameters KEEP-DEBUG and KEEP-PASSWORD.
6289
6290 * net/tramp.el (tramp-file-name-handler):
6291 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6292 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6293 (tramp-maybe-open-connection):
6294 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6295 Use `tramp-cleanup-connection'.
6296
6297 * net/tramp-sh.el (tramp-maybe-open-connection):
6298 Catch 'uname-changed inside the progress reporter.
6299
6300 2013-09-10 Glenn Morris <rgm@gnu.org>
6301
6302 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6303
6304 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6305 returns "alternate access method" in mode (eg "-rw-r--r--.").
6306
6307 2013-09-08 Glenn Morris <rgm@gnu.org>
6308
6309 * saveplace.el (load-save-place-alist-from-file):
6310 Demote errors. (Bug#15305)
6311
6312 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6313
6314 Improve compatibility with older Emacsen, and XEmacs.
6315
6316 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6317 only if it is bound. It isn't for XEmacs.
6318 (with-tramp-progress-reporter): Do not let-bind `result'.
6319 This yields to scoping errors in XEmacs.
6320 (tramp-handle-make-auto-save-file-name): New function, moved from
6321 tramp-sh.el.
6322
6323 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6324 for `make-auto-save-file-name'.
6325 (tramp-adb--gnu-switches-to-ash):
6326 Use `tramp-compat-replace-regexp-in-string'.
6327
6328 * net/tramp-cache.el (tramp-cache-print): Call
6329 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6330
6331 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6332 bound. It isn't for XEmacs.
6333
6334 * net/tramp-compat.el (tramp-compat-copy-file):
6335 Catch `wrong-number-of-arguments' error.
6336 (tramp-compat-replace-regexp-in-string): New defun.
6337
6338 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6339 for `make-auto-save-file-name'.
6340 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6341 `copy-file'.
6342 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6343 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6344 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6345
6346 * net/tramp-gw.el (tramp-gw-open-network-stream):
6347 Use `tramp-compat-replace-regexp-in-string'.
6348
6349 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6350 Call `tramp-handle-make-auto-save-file-name'.
6351 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6352 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6353 (tramp-sh-file-inotifywait-process-filter):
6354 Use `tramp-compat-replace-regexp-in-string'.
6355 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6356
6357 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6358 for `make-auto-save-file-name'.
6359 (tramp-smb-handle-copy-directory):
6360 Call `tramp-compat-replace-regexp-in-string'.
6361 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6362 (tramp-smb-handle-copy-file): Improve error message.
6363 (tramp-smb-handle-rename-file): Rename directly only in case
6364 `newname' does not exist yet. This is a restriction of smbclient.
6365 (tramp-smb-maybe-open-connection): Rerun the function only when
6366 `auth-sources' is non-nil.
6367
6368 2013-09-08 Kenichi Handa <handa@gnu.org>
6369
6370 * international/characters.el: Set category "^" (Combining) for
6371 more characters.
6372
6373 2013-09-07 Alan Mackenzie <acm@muc.de>
6374
6375 Correctly fontify Java class constructors.
6376 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6377 in Java Mode.
6378 (c-recognize-typeless-decls): Set the Java value to t.
6379 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6380 While handling a "(", add a check for, effectively, Java, and handle a
6381 "typeless" declaration there.
6382
6383 2013-09-07 Roland Winkler <winkler@gnu.org>
6384
6385 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6386 field subtitle for entry type book.
6387
6388 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * minibuffer.el: Make minibuffer-complete call completion-in-region
6391 rather than other way around.
6392 (completion--some, completion-pcm--find-all-completions):
6393 Don't delay signals when debugging.
6394 (minibuffer-completion-contents): Beware fields within the
6395 minibuffer contents.
6396 (completion-all-sorted-completions): Use defvar-local.
6397 (completion--do-completion, completion--cache-all-sorted-completions)
6398 (completion-all-sorted-completions, minibuffer-force-complete):
6399 Add args `beg' and `end'.
6400 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6401 (minibuffer-complete): Use completion-in-region.
6402 (completion-complete-and-exit): New fun, extracted from
6403 minibuffer-complete-and-exit.
6404 (minibuffer-complete-and-exit): Use it.
6405 (completion--complete-and-exit): Rename from
6406 minibuffer--complete-and-exit.
6407 (completion-in-region--single-word): New function, extracted from
6408 minibuffer-complete-word.
6409 (minibuffer-complete-word): Use it.
6410 (display-completion-list): Make `common-substring' argument obsolete.
6411 (completion--in-region): Call completion--in-region-1 instead of
6412 minibuffer-complete.
6413 (completion-help-at-point): Pass boundaries to
6414 minibuffer-completion-help as args rather than via an overlay.
6415 (completion-pcm--string->pattern): Use `any-delim'.
6416 (completion-pcm--optimize-pattern): New function.
6417 (completion-pcm--pattern->regex): Handle `any-delim'.
6418 * icomplete.el (icomplete-forward-completions)
6419 (icomplete-backward-completions, icomplete-completions):
6420 Adjust calls to completion-all-sorted-completions and
6421 completion--cache-all-sorted-completions.
6422 (icomplete-with-completion-tables): Default to t.
6423 * emacs-lisp/crm.el (crm--current-element): Rename from
6424 crm--select-current-element. Don't put an overlay but return the
6425 boundaries instead.
6426 (crm--completion-command): Take two new args to bind to the boundaries.
6427 (crm-completion-help): Adjust accordingly.
6428 (crm-complete): Use completion-in-region.
6429 (crm-complete-word): Use completion-in-region--single-word.
6430 (crm-complete-and-exit): Use completion-complete-and-exit.
6431
6432 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6435 than dynamically.
6436
6437 2013-09-06 Juri Linkov <juri@jurta.org>
6438
6439 * info.el (Info-display-images-node): When image file doesn't exist
6440 display text version of the image if it's provided in the Info file.
6441 Otherwise, display the location of missing image from SRC attribute.
6442 Add help-echo text property from ALT attribute. (Bug#15279)
6443
6444 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6447 (edit-abbrevs-mode): Use define-derived-mode.
6448
6449 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6450 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6451 that it's defined.
6452 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6453 Use define-derived-mode.
6454
6455 * epg.el (epg-start-encrypt): Minor CSE simplification.
6456
6457 2013-09-06 William Xu <william.xwl@gmail.com>
6458
6459 * arc-mode.el: Add support for 7za (bug#15264).
6460 (archive-7z-program): New var.
6461 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6462 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6463 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6464
6465 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6466
6467 Remove URL syntax.
6468
6469 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6470 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6471 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6472 (tramp-postfix-host-format, tramp-file-name-regexp)
6473 (tramp-completion-file-name-regexp)
6474 (tramp-completion-dissect-file-name)
6475 (tramp-handle-substitute-in-file-name): Remove 'url case.
6476 (tramp-file-name-regexp-url)
6477 (tramp-completion-file-name-regexp-url): Remove constants.
6478
6479 2013-09-06 Glenn Morris <rgm@gnu.org>
6480
6481 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6482
6483 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6484
6485 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6486 keywords" below "here-doc beginnings" (Bug#15270).
6487
6488 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * subr.el (pop): Use `car-safe'.
6491 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6492 to detect unused `pop' return value.
6493
6494 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6495 var `block-regexp'.
6496 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6497 (python-fill-string): Remove unused var `marker'.
6498 (python-skeleton-add-menu-items): Remove unused var `items'.
6499
6500 * international/mule-cmds.el: Require CL.
6501 (find-coding-systems-for-charsets): Avoid add-to-list.
6502 (sanitize-coding-system-list): New function, extracted from
6503 select-safe-coding-system-interactively.
6504 (select-safe-coding-system-interactively): Use it.
6505 (read-input-method-name): Accept symbols for `default'.
6506
6507 * emacs-lisp/advice.el (defadvice): Add indent rule.
6508
6509 2013-09-05 Daniel Hackney <dan@haxney.org>
6510
6511 * dired-x.el:
6512 * net/ange-ftp.el:
6513 * net/browse-url.el:
6514 * net/dbus.el:
6515 * net/eudc.el:
6516 * net/eudcb-ldap.el:
6517 * net/eww.el:
6518 * net/imap.el:
6519 * printing.el:
6520 * vc/ediff-diff.el:
6521 * vc/ediff-init.el:
6522 * vc/ediff-merg.el:
6523 * vc/ediff-mult.el:
6524 * vc/ediff-util.el:
6525 * vc/ediff-wind.el:
6526 * vc/ediff.el:
6527 * vc/emerge.el:
6528 * vc/pcvs.el:
6529 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6530 byte compiler. Remove some unused let-bound variables.
6531
6532 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6533
6534 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6535 a "ref-cell", since it gets better optimized (bug#14883).
6536
6537 2013-09-05 Glenn Morris <rgm@gnu.org>
6538
6539 * progmodes/cc-awk.el (c-forward-sws): Declare.
6540
6541 2013-09-04 Glenn Morris <rgm@gnu.org>
6542
6543 * generic-x.el [rul-generic-mode]: Require cc-mode.
6544 (c++-mode-syntax-table): Declare.
6545 (rul-generic-mode-syntax-table): Init in the defvar.
6546
6547 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6550 (vc-do-command, vc-set-async-update):
6551 * vc/vc-mtn.el (vc-mtn-dir-status):
6552 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6553 (vc-hg-pull, vc-hg-merge-branch):
6554 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6555 (vc-git-merge-branch):
6556 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6557 (vc-cvs-dir-status-files):
6558 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6559 (vc-bzr-dir-status-files):
6560 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6561 * vc/vc-annotate.el: Use lexical-binding.
6562 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6563 (vc-sentinel-movepoint): Declare.
6564 (vc-annotate): Don't use `goto-line'.
6565 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6566 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6567 (vc-sentinel-movepoint): Declare.
6568 * vc/vc-svn.el: Use lexical-binding.
6569 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6570 * vc/vc-sccs.el:
6571 * vc/vc-rcs.el: Use lexical-binding.
6572
6573 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6574 `deleted'. Don't drop errors silently.
6575
6576 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6577
6578 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6579
6580 * vc/vc.el (vc-ignore): Rewrite.
6581 (vc-default-ignore): New function.
6582 (vc-default-ignore-completion-table): Use find-ignore-file.
6583
6584 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6585 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6586 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6587 Remove. Most code moved to vc.el.
6588
6589 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6590
6591 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6592 * net/tramp-smb.el (tramp-smb-get-file-entries):
6593 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6594 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6595
6596 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6597 Update call to it.
6598 (eww-change-select): Remove unused var `properties'.
6599 (eww-make-unique-file-name): Remove unused var `base'.
6600
6601 * finder.el (finder-compile-keywords): Don't mess with windows.
6602
6603 * calculator.el (calculator-funcall): Fix typo in last change.
6604
6605 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6606
6607 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6608 <pkg>-autoloads.el file stop us.
6609
6610 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6611 warnings, and factor out common code.
6612
6613 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6614
6615 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6616 two-character operators and whether the character preceding them
6617 changes their meaning (Bug#15208).
6618
6619 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6620
6621 Format code sent to Python shell for robustness.
6622 * progmodes/python.el (python-shell-buffer-substring):
6623 New function.
6624 (python-shell-send-region, python-shell-send-buffer): Use it.
6625
6626 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6629 * net/tramp.el (tramp-user-error): ... here.
6630 (tramp-find-method, tramp-check-proper-host)
6631 (tramp-dissect-file-name, tramp-debug-message)
6632 (tramp-handle-shell-command):
6633 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6634 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6635
6636 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6637
6638 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6639
6640 * avoid.el (mouse-avoidance-point-position)
6641 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6642 returns nil.
6643
6644 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6645
6646 * progmodes/python.el (python-shell-completion-get-completions):
6647 Drop use of deleted `comint-last-prompt-overlay'.
6648 (python-nav-if-name-main): New command.
6649
6650 2013-09-01 Glenn Morris <rgm@gnu.org>
6651
6652 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6653 Avoid leading space in $wins. Otherwise the sed command used by
6654 eg compile-main ends up containing "/*.el". (Bug#15170)
6655
6656 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6657
6658 2013-08-30 Glenn Morris <rgm@gnu.org>
6659
6660 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6661 Fix is-this-a-directory logic. (Bug#15220)
6662
6663 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * textmodes/css-mode.el: Use SMIE.
6666 (css-smie-grammar): New var.
6667 (css-smie--forward-token, css-smie--backward-token)
6668 (css-smie-rules): New functions.
6669 (css-mode): Use them.
6670 (css-navigation-syntax-table): Remove var.
6671 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6672 (css-indent-calculate, css-indent-line): Remove functions.
6673
6674 Misc changes to reduce use of `(lambda...); and other cleanups.
6675 * cus-edit.el: Use lexical-binding.
6676 (customize-push-and-save, customize-apropos)
6677 (custom-buffer-create-internal): Use closures.
6678 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6679 * progmodes/ada-xref.el: Use setq.
6680 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6681 * dframe.el: Use lexical-binding.
6682 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6683 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6684 * descr-text.el: Use lexical-binding.
6685 (describe-text-widget, describe-text-sexp, describe-property-list):
6686 Use closures.
6687 * comint.el (comint-history-isearch-push-state): Use a closure.
6688 * calculator.el: Use lexical-binding.
6689 (calculator-number-to-string): Make it work with lexical-binding.
6690 (calculator-funcall): Same and use cl-letf.
6691
6692 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6693 (lisp--company-doc-string, lisp--company-location): New functions.
6694 (lisp-completion-at-point): Use them to improve Company support.
6695
6696 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6697 params of lambda expressions.
6698 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6699 (ruby-smie--opening-pipe-p): New function.
6700 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6701 symbols and matched |...| for formal params.
6702 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6703 from being treated as hanging. Handle "rescue".
6704
6705 2013-08-29 Glenn Morris <rgm@gnu.org>
6706
6707 * progmodes/cc-engine.el (c-pull-open-brace):
6708 Move definition before use.
6709
6710 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6713 are immutable. Don't use `unsafe' any more.
6714 (cl--defsubst-expand): Don't substitute at the same time as keeping
6715 a residual unused let-binding. Don't use `unsafe' any more.
6716
6717 2013-08-29 Glenn Morris <rgm@gnu.org>
6718
6719 * calendar/cal-china.el (calendar-chinese-year-cache):
6720 Recenter on 2015.
6721
6722 * nxml/nxml-util.el (nxml-debug-clear-inside):
6723 Use cl-loop rather than loop.
6724
6725 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6726
6727 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6728
6729 2013-08-28 Glenn Morris <rgm@gnu.org>
6730
6731 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6732
6733 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6734
6735 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6736
6737 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6738
6739 * simple.el (repeat-complex-command--called-interactively-skip):
6740 New function.
6741 (repeat-complex-command): Use it (bug#14136).
6742
6743 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6744 (c-define-abbrev-table): Add `doc' argument.
6745 (c-mode-abbrev-table, c++-mode-abbrev-table)
6746 (objc-mode-abbrev-table, java-mode-abbrev-table)
6747 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6748 (awk-mode-abbrev-table): Use it.
6749 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6750 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6751 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6752 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6753 Move initialization into the declaration; and remove any
6754 autoload cookie.
6755
6756 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6757 and dynamic let binding.
6758
6759 * vc/smerge-mode.el: Remove redundant :group args.
6760
6761 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6762 to load-path.
6763
6764 2013-08-28 Juri Linkov <juri@jurta.org>
6765
6766 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6767 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6768 (isearch-other-meta-char): Handle an undefined shifted printing
6769 character by downshifting it. (Bug#15200)
6770
6771 2013-08-28 Juri Linkov <juri@jurta.org>
6772
6773 * isearch.el (isearch-search): Change regexp error message for
6774 non-regexp searches. (Bug#15166)
6775
6776 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6777
6778 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6779 for portability to hosts where /bin/sh has problems.
6780
6781 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6784
6785 2013-08-27 Juri Linkov <juri@jurta.org>
6786
6787 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6788 in the keyboard macro. (Bug#15126)
6789
6790 2013-08-27 Juri Linkov <juri@jurta.org>
6791
6792 * isearch.el (isearch-quote-char): Comment out converting unibyte
6793 to multibyte, thus syncing with its `quoted-insert' counterpart.
6794 (Bug#15166)
6795
6796 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6797
6798 * window.el (display-buffer-use-some-window): Add missing
6799 argument in call of get-largest-window (Bug#15185).
6800 Reported by Stephen Leake.
6801
6802 2013-08-27 Glenn Morris <rgm@gnu.org>
6803
6804 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6805
6806 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6809 from a matcher-function unless there's no more matches (bug#15161).
6810
6811 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6812
6813 * minibuffer.el: Revert change from 2013-08-20.
6814
6815 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6816 with text property `tramp-default', if appropriate.
6817 (tramp-check-proper-host): New defun.
6818 (tramp-dissect-file-name): Do not check hostname. Revert change
6819 of 2013-03-18.
6820 (tramp-backtrace): Make VEC-OR-PROC optional.
6821
6822 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6823 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6824 * net/tramp-sh.el (tramp-maybe-open-connection):
6825 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6826 Apply `tramp-check-proper-host'.
6827
6828 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6829
6830 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6831 lambda expression in order to have `describe-variable' display it.
6832
6833 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6834
6835 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6836 BUF can be optional. (Bug#15186)
6837
6838 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6839
6840 * progmodes/flymake.el (flymake-get-real-file-name-function):
6841 Fix broken customization. (Bug#15184)
6842
6843 2013-08-25 Alan Mackenzie <acm@muc.de>
6844
6845 Improve indentation of bracelists defined by macros (without "=").
6846
6847 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6848 expansion begins with "{", regard it as bracelist when it doesn't
6849 contain a ";".
6850
6851 Parse C++ inher-intro when there's a template split over 2 lines.
6852
6853 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6854 rigorously the search for "class" etc. followed by ":".
6855
6856 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6857 random languages a regexp which never matches rather than nil.
6858
6859 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6860
6861 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6862 (c-awk-regexp-one-line-possibly-open-char-list-re)
6863 (c-awk-one-line-possibly-open-regexp-re)
6864 (c-awk-one-line-non-syn-ws*-re): Remove.
6865 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6866 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6867 (c-awk-space*-unclosed-regexp-/-re): New constants.
6868 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6869 aren't regexp delimiters.
6870
6871 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6872 handling for a rare situation in AWK Mode involving unterminated
6873 strings/regexps.
6874
6875 2013-08-23 Glenn Morris <rgm@gnu.org>
6876
6877 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6878
6879 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6880
6881 * files.el (create-file-buffer): If the result would begin with
6882 spaces, prepend a "|" instead of removing them. (Bug#15162)
6883
6884 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6887 text-properties (bug#15155).
6888
6889 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6890 exist any more.
6891 (calc-keypad-redraw): Remove unused var `pad'.
6892 (calc-keypad-press): Remove unused var `menu'.
6893
6894 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6895
6896 * window.el (display-buffer-pop-up-frame):
6897 Call pop-up-frame-function with BUFFER current so `make-frame' will
6898 use it as the new frame's buffer (Bug#15133).
6899
6900 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6901
6902 * calendar/timeclock.el: Minor cleanups.
6903 (timeclock-ask-before-exiting, timeclock-use-display-time):
6904 Use `symbol'.
6905 (timeclock-modeline-display): Define as alias before the
6906 actual definition.
6907 (timeclock-mode-line-display): Use define-minor-mode.
6908 (timeclock-day-list-template): Make it a function, add an argument.
6909 (timeclock-day-list-required, timeclock-day-list-length)
6910 (timeclock-day-list-debt, timeclock-day-list-span)
6911 (timeclock-day-list-break): Adjust calls accordingly.
6912
6913 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6916 Use read--expression so that completion works again.
6917
6918 2013-08-21 Sam Steingold <sds@gnu.org>
6919
6920 Add rudimentary inferior shell interaction
6921 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6922 (sh-set-shell): Reset it.
6923 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6924 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6925
6926 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * align.el: Use lexical-binding.
6929 (align-region): Simplify accordingly.
6930
6931 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6932
6933 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6934
6935 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6936 `non-essential' up.
6937
6938 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/tramp.el:
6941 * net/tramp-adb.el:
6942 * net/tramp-cmds.el:
6943 * net/tramp-ftp.el:
6944 * net/tramp-gvfs.el:
6945 * net/tramp-gw.el:
6946 * net/tramp-sh.el: Don't wrap external variable declarations by
6947 `eval-when-compile'.
6948
6949 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6950
6951 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6952 now that Emacs supports ImageMagick animations.
6953
6954 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6955
6956 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6957 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6958
6959 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6960
6961 * window.el (mouse-autoselect-window-select): Do autoselect when
6962 mouse pointer is on margin.
6963
6964 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6965
6966 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6967
6968 2013-08-16 Glenn Morris <rgm@gnu.org>
6969
6970 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6971 Handle "Remote Directory" response of some clients. (Bug#15058)
6972
6973 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6974 Tweak warning. (Bug#14926)
6975
6976 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6977 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6978
6979 * image-mode.el (image-mode-map): Add menu items to reverse,
6980 increase, decrease, reset animation speed.
6981 (image--set-speed, image-increase-speed, image-decrease-speed)
6982 (image-reverse-speed, image-reset-speed): New functions.
6983 (image-mode-map): Add bindings for speed commands.
6984
6985 * image.el (image-animate-get-speed, image-animate-set-speed):
6986 New functions.
6987 (image-animate-timeout): Respect image :speed property.
6988
6989 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6992 previous line (bug#15101).
6993 (debugger-eval-expression, debugger-record-expression):
6994 Use read--expression (bug#15102).
6995
6996 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6997
6998 Remove byte compiler warnings, visible when compiling with
6999 `byte-compile-force-lexical-warnings' set to t.
7000
7001 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7002 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7003 (tramp-handle-unhandled-file-name-directory)
7004 (tramp-handle-file-notify-add-watch, tramp-action-login)
7005 (tramp-action-succeed, tramp-action-permission-denied)
7006 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7007 arguments with "_".
7008
7009 * net/tramp-adb.el (tramp-adb-parse-device-names)
7010 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7011 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7012 (tramp-adb-handle-file-truename): Remove unused arguments.
7013
7014 * net/tramp-cache.el (tramp-flush-directory-property)
7015 (tramp-flush-connection-property, tramp-list-connections)
7016 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7017
7018 * net/tramp-compat.el (tramp-compat-make-temp-file):
7019 Rename FILENAME to F.
7020
7021 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7022 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7023 (tramp-zeroconf-parse-workstation-device-names)
7024 (tramp-zeroconf-parse-webdav-device-names)
7025 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7026
7027 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7028 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7029
7030 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7031 arguments.
7032 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7033 (tramp-sh-handle-insert-file-contents-literally)
7034 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7035 with "_".
7036 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7037 Remove unused variables.
7038
7039 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7040 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7041 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7042
7043 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7044 Make them a defconst.
7045 (tramp-uuencode-region): Remove unused variable.
7046
7047 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7048
7049 * frameset.el (frameset--prop-setter): New function.
7050 (frameset-prop): Add gv-setter declaration.
7051 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7052 parameter was already set in FILTERED. Doc fix.
7053 (frameset--record-minibuffer-relationships): Allow saving a
7054 minibufferless frame without its corresponding minibuffer frame.
7055 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7056 frame, if the frame id matches.
7057 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7058 frames before orphaned ones.
7059 (frameset-restore): Warn about orphaned windows, instead of error out.
7060
7061 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7062
7063 * window.el (window-make-atom): Don't overwrite parameter
7064 already present.
7065 (display-buffer-in-atom-window): Handle special case where we
7066 split an already atomic window.
7067 (window--major-non-side-window, display-buffer-in-side-window)
7068 (window--side-check): Ignore minibuffer window when walking
7069 window tree.
7070 (window-deletable-p): Return 'frame only if no other frame uses
7071 our minibuffer window.
7072 (record-window-buffer): Run buffer-list-update-hook.
7073 (split-window): Make sure window--check-frame won't destroy an
7074 existing atomic window in case the new window gets nested
7075 inside.
7076 (display-buffer-at-bottom): Ignore minibuffer window when
7077 walking window tree. Don't split a side window.
7078 (pop-to-buffer): Don't set-buffer here, the select-window call
7079 should do that.
7080 (mouse-autoselect-window-select): Autoselect only if we are in the
7081 text portion of the window.
7082
7083 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7084
7085 * net/shr.el (shr-parse-image-data): New function to grab both the
7086 data itself and the Content-Type.
7087 (shr-put-image): Use it.
7088
7089 * net/eww.el (eww-display-image): Ditto.
7090
7091 * image.el (image-content-type-suffixes): New variable.
7092
7093 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7094
7095 * progmodes/python.el (python-imenu--build-tree)
7096 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7097
7098 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7099
7100 * simple.el (backward-word): Mention the optional argument.
7101
7102 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * frameset.el (frameset--make): Rename constructor from make-frameset.
7105 (frameset-p, frameset-valid-p): Don't autoload.
7106 (frameset-valid-p): Use normal accessors.
7107
7108 2013-08-13 Glenn Morris <rgm@gnu.org>
7109
7110 * progmodes/compile.el (compile-command): Tweak example in doc.
7111 * obsolete/scribe.el (scribe-mode):
7112 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7113
7114 * mail/feedmail.el (feedmail-confirm-outgoing)
7115 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7116
7117 * cus-start.el (truncate-partial-width-windows): Fix type.
7118
7119 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7120
7121 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7122
7123 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * emacs-lisp/timer.el (timer--time-setter): New function.
7126 (timer--time): Use it as gv-setter.
7127
7128 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7129 setter is not a symbol.
7130
7131 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7132
7133 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7134 if sending fails. This makes debugging easier.
7135
7136 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7137
7138 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7139 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7140 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7141
7142 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7143
7144 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7145
7146 2013-08-12 Glenn Morris <rgm@gnu.org>
7147
7148 * format.el (format-annotate-function):
7149 Handle read-only text properties in the source. (Bug#14887)
7150
7151 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152
7153 * net/eww.el (eww-display-html): Ignore coding system errors.
7154 One web site uses "utf-8lias" as the coding system.
7155
7156 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7157
7158 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7159
7160 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7161
7162 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7163 (tutorial--detailed-help): Remove unused local variables.
7164 (tutorial--save-tutorial-to): Use ignore-errors.
7165 (help-with-tutorial): Use looking-at-p.
7166
7167 * view.el (view-buffer-other-window, view-buffer-other-frame):
7168 Mark unused arguments.
7169
7170 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7171 (woman-select-symbol-fonts, woman, woman-find-file)
7172 (woman-insert-file-contents, woman-non-underline-faces):
7173 Use string-match-p.
7174 (woman1-unquote): Move declaration.
7175
7176 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7177 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7178 argument. Remove unused local variable.
7179 (xml-parse-elem-type): Use string-match-p.
7180 (xml-substitute-numeric-entities): Use ignore-errors.
7181
7182 * calculator.el (calculator): Mark unused argument.
7183 (calculator-paste, calculator-quit, calculator-integer-p):
7184 Use ignore-errors.
7185 (calculator-string-to-number, calculator-decimal, calculator-exp)
7186 (calculator-op-or-exp): Use string-match-p.
7187
7188 * dired.el (dired-buffer-more-recently-used-p): Declare.
7189 (dired-insert-set-properties, dired-insert-old-subdirs):
7190 Use ignore-errors.
7191
7192 * dired-aux.el (dired-compress): Use ignore-errors.
7193 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7194 (dired-do-async-shell-command, dired-do-shell-command)
7195 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7196 (dired-insert-subdir-validate): Use string-match-p.
7197 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7198 (dired-add-entry): Use string-match-p, looking-at-p.
7199 (dired-insert-subdir-newpos): Remove unused local variable.
7200
7201 * filenotify.el (file-notify-callback): Remove unused local variable.
7202
7203 * filesets.el (filesets-error): Mark unused argument.
7204 (filesets-which-command-p, filesets-filter-dir-names)
7205 (filesets-directory-files, filesets-get-external-viewer)
7206 (filesets-ingroup-get-data): Use string-match-p.
7207
7208 * find-file.el (ff-other-file-name, ff-other-file-name)
7209 (ff-find-the-other-file, ff-cc-hh-converter):
7210 Remove unused local variables.
7211 (ff-get-file-name): Use string-match-p.
7212 (ff-all-dirs-under): Use ignore-errors.
7213
7214 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7215 (follow-select-if-visible): Remove unused local variable.
7216
7217 * forms.el (read-file-filter): Move declaration.
7218 (forms--make-format, forms--make-parser, forms-insert-record):
7219 Quote function with #'.
7220 (forms--update): Use string-match-p. Quote function with #'.
7221
7222 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7223 (help-make-xrefs): Use looking-at-p.
7224 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7225
7226 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7227 (ibuffer-confirm-operation-on): Use string-match-p.
7228
7229 * msb.el (msb-item-handler, msb-dired-item-handler):
7230 Mark unused arguments.
7231
7232 * ses.el (ses-decode-cell-symbol)
7233 (ses-kill-override): Remove unused local variable.
7234 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7235 (ses-load): Use ignore-errors, looking-at-p.
7236 (ses-jump-safe): Use ignore-errors.
7237 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7238
7239 * tabify.el (untabify, tabify): Mark unused arguments.
7240
7241 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7242 Mark unused argument.
7243 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7244 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7245
7246 * emacs-lisp/timer.el (timer--time): Define setter with
7247 gv-define-setter to avoid deprecation warning.
7248
7249 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7250 (*record-cmpl-statistics-p*): Remove (was commented out).
7251 (cmpl-statistics-block): Remove (body was commented out).
7252 All callers changed.
7253 (add-completions-from-buffer, load-completions-from-file):
7254 Remove unused variables.
7255
7256 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7257
7258 * filecache.el (file-cache-delete-file-list):
7259 Print message only when told so.
7260 (file-cache-files-matching): Use #' in mapconcat argument.
7261
7262 * ffap.el (ffap-url-at-point): Fix reference to variable
7263 thing-at-point-default-mail-uri-scheme.
7264
7265 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * subr.el (define-error): New function.
7268 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7269 error-file-not-found and define with define-error.
7270 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7271 and define with define-error.
7272 * userlock.el (file-locked, file-supersession):
7273 * simple.el (mark-inactive):
7274 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7275 * progmodes/ada-mode.el (ada-mode-errors):
7276 * play/life.el (life-extinct):
7277 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7278 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7279 * nxml/rng-util.el (rng-error):
7280 * nxml/rng-uri.el (rng-uri-error):
7281 * nxml/rng-match.el (rng-compile-error):
7282 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7283 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7284 * nxml/nxml-rap.el (nxml-scan-error):
7285 * nxml/nxml-outln.el (nxml-outline-error):
7286 * net/soap-client.el (soap-error):
7287 * net/gnutls.el (gnutls-error):
7288 * net/ange-ftp.el (ftp-error):
7289 * mpc.el (mpc-proc-error):
7290 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7291 (json-number-format, json-string-escape, json-string-format)
7292 (json-key-format, json-object-format):
7293 * jka-compr.el (compression-error):
7294 * international/quail.el (quail-error):
7295 * international/kkc.el (kkc-error):
7296 * emacs-lisp/ert.el (ert-test-failed):
7297 * calc/calc.el (calc-error, inexact-result, math-overflow)
7298 (math-underflow):
7299 * bookmark.el (bookmark-error-no-filename):
7300 * epg.el (epg-error): Define with define-error.
7301
7302 * time.el (display-time-event-handler)
7303 (display-time-next-load-average): Don't call sit-for since it seems
7304 unnecessary (bug#15045).
7305
7306 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7307 Use #' instead of ' to quote functions.
7308 (checkdoc-output-mode): Use setq-local.
7309 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7310 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7311 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7312 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7313 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7314 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7315 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7316 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7317
7318 * ido.el (ido-completion-help): Fix up compiler warning.
7319
7320 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7321
7322 * frameset.el (frameset-p): Add autoload cookie.
7323 (frameset--jump-to-register): New function, based on code moved from
7324 register.el.
7325 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7326
7327 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7328 (frameset-restore, frameset-save, frameset-session-filter-alist):
7329 Remove declarations.
7330 (register-alist): Doc fix.
7331 (frameset-to-register): Move to frameset.el.
7332 (jump-to-register, describe-register-1): Remove frameset-specific code.
7333
7334 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * allout-widgets.el (allout-widgets-pre-command-business)
7337 (allout-widgets-post-command-business)
7338 (allout-widgets-after-change-handler)
7339 (allout-decorate-item-and-context, allout-set-boundary-marker)
7340 (allout-body-modification-handler)
7341 (allout-graphics-modification-handler): Mark ignored arguments.
7342 (allout-widgets-post-command-business)
7343 (allout-widgets-exposure-change-processor)
7344 (allout-widgets-exposure-undo-processor)
7345 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7346 (allout-parse-item-at-point, allout-decorate-item-guides)
7347 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7348 * allout.el (epa-passphrase-callback-function): Declare.
7349 (allout-overlay-insert-in-front-handler)
7350 (allout-overlay-interior-modification-handler)
7351 (allout-isearch-end-handler, allout-chart-siblings)
7352 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7353 (allout-yank-processing, allout-process-exposed)
7354 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7355 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7356 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7357 (lisp-indent-defform): Mark ignored arguments.
7358 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7359 (calculate-lisp-indent): Remove unused variables.
7360 * international/characters.el (indian-2-column, arabic-2-column)
7361 (tibetan): Mark ignored arguments.
7362 (use-cjk-char-width-table): Mark ignored arguments.
7363 Remove unused variables.
7364 * international/fontset.el (build-default-fontset-data)
7365 (x-compose-font-name, create-fontset-from-fontset-spec):
7366 Mark ignored arguments.
7367 (fontset-plain-name): Remove unused variables.
7368 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7369 (keyboard-coding-system): Mark ignored arguments.
7370 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7371 * help.el (resize-temp-buffer-window):
7372 * window.el (display-buffer-in-major-side-window)
7373 (display-buffer-in-side-window, display-buffer-in-previous-window):
7374 Remove unused variables.
7375 * isearch.el (isearch-forward-symbol):
7376 * version.el (emacs-bzr-version-bzr):
7377 * international/mule-cmds.el (current-language-environment):
7378 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7379 (x-handle-display):
7380 * term/pc-win.el (x-list-fonts, x-display-planes)
7381 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7382 (x-server-version, x-display-screens, x-display-mm-height)
7383 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7384 (x-selection-owner-p, x-own-selection-internal)
7385 (x-disown-selection-internal, x-get-selection-internal)
7386 (msdos-initialize-window-system):
7387 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7388 * term/x-win.el (x-handle-no-bitmap-icon):
7389 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7390 (vc-default-find-file-hook, vc-default-extra-menu):
7391 Mark ignored arguments.
7392
7393 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7396 break-condition in the context of the debugged code (bug#12685).
7397
7398 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7399
7400 * comint.el:
7401 Do not use an overlay to highlight the last prompt. (Bug#14744)
7402 (comint-mode): Make comint-last-prompt buffer local.
7403 (comint-last-prompt): New variable.
7404 (comint-last-prompt-overlay): Remove. Superseded by
7405 comint-last-prompt.
7406 (comint-snapshot-last-prompt, comint-output-filter):
7407 Use comint-last-prompt.
7408
7409 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7410
7411 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7412 (frameset-save): Check validity of the resulting frameset.
7413
7414 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7415
7416 * ido.el (ido-record-command): Add doc string.
7417
7418 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7419
7420 * frameset.el (frameset): Do not disable creation of the default
7421 frameset-p predicate. Doc fix.
7422 (frameset-valid-p): New function, copied from the old predicate-p.
7423 Add additional checks.
7424 (frameset-restore): Check with frameset-valid-p.
7425 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7426 (frameset-name, frameset-description, frameset-properties)
7427 (frameset-states): Add docstring.
7428 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7429 (frameset-filter-alist): Doc fixes.
7430
7431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7434
7435 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7438 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7439 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7440 (byte-compile-normal-call): Remove obsolescence check.
7441
7442 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7443
7444 * frameset.el (frameset-restore): Doc fix.
7445
7446 * register.el (frameset-frame-id, frameset-frame-with-id)
7447 (frameset-p, frameset-restore, frameset-save): Declare.
7448 (register-alist): Document framesets.
7449 (frameset-session-filter-alist): Declare.
7450 (frameset-to-register): New function.
7451 (jump-to-register): Implement jumping to framesets. Doc fix.
7452 (describe-register-1): Describe framesets.
7453
7454 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7455
7456 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7457
7458 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7459 Use lexical-binding.
7460
7461 * frameset.el (frameset): Use type vector, not list (incompatible
7462 change). Do not declare a new constructor, use the default one.
7463 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7464 `name' and `description', respectively, and add read-only slot
7465 `timestamp'. Doc fixes.
7466 (frameset-copy, frameset-persistent-filter-alist)
7467 (frameset-filter-alist, frameset-switch-to-gui-p)
7468 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7469 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7470 (frameset-filter-iconified, frameset-keep-original-display-p):
7471 Doc fixes.
7472 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7473 Rename from frameset-filter-(save|restore)-param. All callers changed.
7474 Doc fix.
7475 (frameset-p): Adapt to change to vector and be more thorough.
7476 Change arg name to OBJECT. Doc fix.
7477 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7478 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7479 All callers changed.
7480 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7481 All callers changed.
7482 (frameset--record-minibuffer-relationships): Rename from
7483 frameset--process-minibuffer-frames. All callers changed.
7484 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7485 Use new default constructor (again). Doc fix.
7486 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7487 All callers changed.
7488 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7489 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7490 Doc fix.
7491 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7492 PARAMETERS and WINDOW-STATE, respectively.
7493 (frameset-restore): Add new keyword argument PREDICATE.
7494 Reset frameset--target-display to nil. Doc fix.
7495
7496 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7497
7498 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7499 (bat-mode): Use it.
7500 (bat-mode-syntax-table): Mark \n as end-of-comment.
7501 (bat-font-lock-keywords): Remove comment rule.
7502
7503 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7504 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7505
7506 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7507 (byte-compile-callargs-warn): Use `push'.
7508 (byte-compile-arglist-warn): Ignore higher-order "calls".
7509 (byte-compile-file-form-autoload): Use `pcase'.
7510 (byte-compile-function-form): If quoting a symbol, check that it exists.
7511
7512 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7513
7514 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7515 and add a few popular commands found in batch files.
7516 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7517 (dos-mode): Doc fixes.
7518
7519 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7522 (dos-mode): Use setq-local. Add space after "rem".
7523 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7524 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7525
7526 2013-08-07 Arni Magnusson <arnima@hafro.is>
7527
7528 * progmodes/dos.el: New file.
7529 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7530 dos-mode.
7531
7532 2013-08-06 Glenn Morris <rgm@gnu.org>
7533
7534 * calendar/calendar.el: Add new faces, and day-header-array.
7535 (calendar-weekday-header, calendar-weekend-header)
7536 (calendar-month-header): New faces.
7537 (calendar-day-header-construct): New function.
7538 (calendar-day-header-width): Also :set calendar-day-header-array.
7539 (calendar-american-month-header, calendar-european-month-header)
7540 (calendar-iso-month-header): Use calendar- faces.
7541 (calendar-generate-month):
7542 Use calendar-day-header-array for day headers; apply faces to them.
7543 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7544 (calendar-abbrev-construct): Add optional maxlen argument.
7545 (calendar-day-name-array): Doc fix.
7546 (calendar-day-name-array, calendar-abbrev-length)
7547 (calendar-day-abbrev-array):
7548 Also :set calendar-day-header-array, and maybe redraw.
7549 (calendar-day-header-array): New option. (Bug#15007)
7550 (calendar-font-lock-keywords): Set to nil and make obsolete.
7551 (calendar-day-name): Add option to use header array.
7552
7553 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554
7555 * net/shr.el (shr-render-td): Remove debugging.
7556 (shr-render-td): Make width computation consistent by defaulting
7557 all zero-width columns to 10 characters. This may not be optimal,
7558 but it's at least consistent.
7559 (shr-make-table-1): Redo last change to fix the real problem in
7560 colspan handling.
7561
7562 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7563
7564 * files.el (cache-long-line-scans):
7565 Make obsolete alias to `cache-long-scans'.
7566
7567 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7568
7569 * frameset.el (frameset, frameset-filter-alist)
7570 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7571 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7572 (frameset-compute-pos): Rename from frameset--compute-pos,
7573 and add docstring.
7574 (frameset-move-onscreen): Use frameset-compute-pos.
7575 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7576
7577 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7578 Fix typos in docstrings.
7579
7580 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7581
7582 * frame.el (get-other-frame): Tiny cleanup.
7583
7584 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7585
7586 * vc/vc.el (vc-default-ignore-completion-table):
7587 Silence byte-compiler warning.
7588
7589 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7590 slot, which can indeed be nil.
7591 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7592 Move entry for `left' from persistent to live filter alist.
7593 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7594 Doc fixes.
7595 (frameset-filter-params): When restoring a frame, copy items added to
7596 `filtered', to avoid unwittingly modifying the original parameters.
7597 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7598 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7599
7600 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7601 to use looking-at-p instead of looking-at. (Bug#15028)
7602
7603 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 Revert introduction of isearch-filter-predicates (bug#14714).
7606 Rely on add-function instead.
7607 * isearch.el (isearch-filter-predicates): Rename it back to
7608 isearch-filter-predicate.
7609 (isearch-message-prefix): Use advice-function-mapc and advice
7610 properties to get the isearch-message-prefix.
7611 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7612 instead of run-hook-with-args-until-failure.
7613 (isearch-filter-visible): Not obsolete any more.
7614 * loadup.el: Preload nadvice.
7615 * replace.el (perform-replace): Revert to funcall
7616 instead of run-hook-with-args-until-failure.
7617 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7618 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7619 dired-isearch-filenames-toggle; make it into a proper minor mode.
7620 Use add/remove-function.
7621 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7622 Call the minor-mode rather than add/remove-hook.
7623 (dired-isearch-filter-filenames):
7624 Remove isearch-message-prefix property.
7625 * info.el (Info--search-loop): New function, extracted from Info-search.
7626 Funcall isearch-filter-predicate instead of
7627 run-hook-with-args-until-failure isearch-filter-predicates.
7628 (Info-search): Use it.
7629 (Info-mode): Use isearch-filter-predicate instead of
7630 isearch-filter-predicates.
7631
7632 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7633
7634 Do not call to `selected-window' where it is assumed by default.
7635 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7636 `window-hscroll', `window-width', `window-height', `window-buffer',
7637 `window-frame', `window-start', `window-point', `next-window'
7638 and `window-display-table'.
7639 * abbrev.el (abbrev--default-expand):
7640 * bs.el (bs--show-with-configuration):
7641 * buff-menu.el (Buffer-menu-mouse-select):
7642 * calc/calc.el (calc):
7643 * calendar/calendar.el (calendar-generate-window):
7644 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7645 (diary-make-entry):
7646 * comint.el (send-invisible, comint-dynamic-complete-filename)
7647 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7648 * completion.el (complete):
7649 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7650 * disp-table.el (describe-current-display-table):
7651 * doc-view.el (doc-view-insert-image):
7652 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7653 * ehelp.el (with-electric-help):
7654 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7655 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7656 * emacs-lisp/helper.el (Helper-help-scroller):
7657 * emulation/cua-base.el (cua--post-command-handler-1):
7658 * eshell/esh-mode.el (eshell-output-filter):
7659 * ffap.el (ffap-gnus-wrapper):
7660 * help-macro.el (make-help-screen):
7661 * hilit-chg.el (highlight-compare-buffers):
7662 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7663 * hl-line.el (global-hl-line-highlight):
7664 * icomplete.el (icomplete-simple-completing-p):
7665 * isearch.el (isearch-done):
7666 * jit-lock.el (jit-lock-stealth-fontify):
7667 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7668 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7669 * mpc.el (mpc-tagbrowser, mpc):
7670 * net/rcirc.el (rcirc-any-buffer):
7671 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7672 * play/landmark.el (landmark-max-width, landmark-max-height):
7673 * play/zone.el (zone):
7674 * progmodes/compile.el (compilation-goto-locus):
7675 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7676 * progmodes/etags.el (find-tag-other-window):
7677 * progmodes/fortran.el (fortran-column-ruler):
7678 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7679 * progmodes/verilog-mode.el (verilog-point-text):
7680 * reposition.el (reposition-window):
7681 * rot13.el (toggle-rot13-mode):
7682 * server.el (server-switch-buffer):
7683 * shell.el (shell-dynamic-complete-command)
7684 (shell-dynamic-complete-environment-variable):
7685 * simple.el (insert-buffer, set-selective-display)
7686 (delete-completion-window):
7687 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7688 (speedbar-recenter):
7689 * startup.el (fancy-splash-head):
7690 * textmodes/ispell.el (ispell-command-loop):
7691 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7692 * tutorial.el (help-with-tutorial):
7693 * vc/add-log.el (add-change-log-entry):
7694 * vc/compare-w.el (compare-windows):
7695 * vc/ediff-help.el (ediff-indent-help-message):
7696 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7697 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7698 (ediff-setup-control-frame):
7699 * vc/emerge.el (emerge-position-region):
7700 * vc/pcvs-util.el (cvs-bury-buffer):
7701 * window.el (walk-windows, mouse-autoselect-window-select):
7702 * winner.el (winner-set-conf, winner-undo): Related users changed.
7703
7704 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7705
7706 * frameset.el (frameset--set-id): Doc fix.
7707 (frameset-frame-id, frameset-frame-id-equal-p)
7708 (frameset-locate-frame-id): New functions.
7709 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7710 (frameset-restore): Use them.
7711
7712 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7713
7714 Do not call to `selected-frame' where it is assumed by default.
7715 Affected functions are `raise-frame', `redraw-frame',
7716 `frame-first-window', `frame-terminal' and `delete-frame'.
7717 * calendar/appt.el (appt-disp-window):
7718 * epg.el (epg-wait-for-completion):
7719 * follow.el (follow-delete-other-windows-and-split)
7720 (follow-avoid-tail-recenter):
7721 * international/mule.el (set-terminal-coding-system):
7722 * mail/rmail.el (rmail-mail-return):
7723 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7724 * progmodes/f90.el (f90-add-imenu-menu):
7725 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7726 * server.el (server-switch-buffer):
7727 * simple.el (delete-completion-window):
7728 * talk.el (talk):
7729 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7730 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7731 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7732 * vc/ediff.el (ediff-documentation): Related users changed.
7733 * frame.el (selected-terminal): Remove the leftover.
7734
7735 2013-08-05 Glenn Morris <rgm@gnu.org>
7736
7737 * calendar/calendar.el (calendar-generate-month):
7738 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7739 (calendar-generate-month, calendar-font-lock-keywords):
7740 Fix for calendar-day-header-width > length of any day name.
7741
7742 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * desktop.el (desktop-clear): Use new name of sort predicate.
7745
7746 * frameset.el (frameset): Add docstring. Move :version property to its
7747 own `version' slot.
7748 (frameset-copy): Rename from copy-frameset.
7749 (frameset-p): Check more thoroughly.
7750 (frameset-prop): Do not check for :version, which is no longer a prop.
7751 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7752 Use new :never value instead of t.
7753 (frameset-filter-alist): Expand and clarify docstring.
7754 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7755 (frameset-filter-minibuffer, frameset-filter-save-param)
7756 (frameset-filter-restore-param, frameset-filter-iconified):
7757 Add pointer to docstring of frameset-filter-alist.
7758 (frameset-filter-params): Rename filter values to be more meaningful:
7759 :never instead of t, and reverse the meanings of :save and :restore.
7760 (frameset--process-minibuffer-frames): Clarify error message.
7761 (frameset-save): Avoid unnecessary and confusing call to framep.
7762 Use new BOA constructor for framesets.
7763 (frameset--reuse-list): Doc fix.
7764 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7765 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7766 (frameset-minibufferless-first-p): Doc fix.
7767 Rename from frameset-sort-frames-for-deletion.
7768 (frameset-restore): Doc fixes. Use new function names.
7769 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7770
7771 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7772
7773 * desktop.el (desktop-restore-forces-onscreen)
7774 (desktop-restore-reuses-frames): Document :keyword constant values.
7775 (desktop-filter-parameters-alist): Remove, now identical to
7776 frameset-filter-alist.
7777 (desktop--filter-tty*): Remove, moved to frameset.el.
7778 (desktop-save-frameset, desktop-restore-frameset):
7779 Do not pass :filters argument.
7780
7781 * frameset.el (frameset-live-filter-alist)
7782 (frameset-persistent-filter-alist): New variables.
7783 (frameset-filter-alist): Use them. Add autoload cookie.
7784 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7785 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7786 `frameset--id' (it's supposed to be internal to frameset.el).
7787 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7788 (frameset--initial-params): New function.
7789 (frameset--get-frame): Use it. Doc fix.
7790 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7791 Accept :all, not 'all.
7792 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7793 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7794 with fbound symbols. Fix frame id matching, and remove matching ids if
7795 the frame being restored is deleted. Obey :delete.
7796
7797 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * subr.el (macrop): New function.
7800 (text-clone--maintaining): New var.
7801 (text-clone--maintain): Rename from text-clone-maintain. Use it
7802 instead of inhibit-modification-hooks.
7803
7804 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7805 a proxy, so as handle autoloads and redefinitions of the target.
7806 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7807
7808 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7809 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7810 (pcase--mutually-exclusive-p): New function.
7811 (pcase--split-consp): Use it.
7812 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7813 mutually exclusive with the current predicate.
7814
7815 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7816 (edebug-macrop): Remove. Use `macrop' instead.
7817 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7818 (ad-macro-p):
7819 * eshell/esh-cmd.el (eshell-macrop):
7820 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7821
7822 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7825 (advice-mapc): New function, using it.
7826 (advice-function-member-p): New function.
7827 (advice--normalize): Store the cdr in advice--saved-rewrite since
7828 that's the part that will be changed.
7829 (advice--symbol-function): New function.
7830 (advice-remove): Handle removal before the function is defined.
7831 Adjust to new advice--saved-rewrite.
7832 (advice-member-p): Use advice-function-member-p and
7833 advice--symbol-function.
7834
7835 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7836
7837 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7838 (frameset-filter-minibuffer): Doc fix.
7839 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7840 (frameset--set-id, frameset--process-minibuffer-frames)
7841 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7842 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7843
7844 * desktop.el (desktop-clear): Only delete frames when called
7845 interactively and desktop-restore-frames is non-nil. Doc fix.
7846 (desktop-read): Set desktop-saved-frameset to nil.
7847
7848 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7849
7850 * vc/vc.el (vc-ignore): Rewrite.
7851 (vc-default-ignore-completion-table):
7852 (vc--read-lines):
7853 (vc--add-line, vc--remove-regexp): New functions.
7854
7855 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7856 (vc-svn-ignore-completion-table): New function.
7857
7858 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7859 (vc-hg-ignore-completion-table):
7860 (vc-hg-find-ignore-file): New functions.
7861
7862 * vc/vc-git.el (vc-git-ignore): Rewrite.
7863 (vc-git-ignore-completion-table):
7864 (vc-git-find-ignore-file): New functions.
7865
7866 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7867
7868 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7869 (vc-bzr-ignore-completion-table):
7870 (vc-bzr-find-ignore-file): New functions.
7871
7872 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7873
7874 * frameset.el (frameset-prop): New function and setter.
7875 (frameset-save): Do not modify frame list passed by the caller.
7876
7877 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7880
7881 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7884 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7885
7886 * custom.el (custom-initialize-default, custom-initialize-set)
7887 (custom-initialize-reset, custom-initialize-changed): Affect the
7888 toplevel-default-value (bug#6275, bug#14586).
7889 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7890 for bug#6275.
7891
7892 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7895 Add cl-def* expressions.
7896
7897 * frameset.el (frameset-filter-params): Fix order of arguments.
7898
7899 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7900
7901 Move code related to saving frames to frameset.el.
7902 * desktop.el: Require frameset.
7903 (desktop-restore-frames): Doc fix.
7904 (desktop-restore-reuses-frames): Rename from
7905 desktop-restoring-reuses-frames.
7906 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7907 (desktop-clear): Clear frames too.
7908 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7909 (desktop--filter-tty*, desktop-save, desktop-read):
7910 Use frameset functions.
7911 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7912 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7913 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7914 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7915 (desktop--process-minibuffer-frames, desktop-save-frames)
7916 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7917 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7918 (desktop--sort-states, desktop-restoring-frames-p)
7919 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7920 (desktop-restoring-frameset-p, desktop-restore-frameset)
7921 (desktop--check-dont-save, desktop-save-frameset): New functions.
7922 (desktop--app-id): New constant.
7923 (desktop-first-buffer, desktop-buffer-ok-count)
7924 (desktop-buffer-fail-count): Move before first use.
7925 * frameset.el: New file.
7926
7927 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * files.el: Use lexical-binding.
7930 (dir-locals-read-from-file): Remove unused `err' variable.
7931 (hack-dir-local-variables--warned-coding): New var.
7932 (hack-dir-local-variables): Use it to avoid repeated warnings.
7933 (make-backup-file-name--default-function): New function.
7934 (make-backup-file-name-function): Use it as default.
7935 (buffer-stale--default-function): New function.
7936 (buffer-stale-function): Use it as default.
7937 (revert-buffer-insert-file-contents--default-function): New function.
7938 (revert-buffer-insert-file-contents-function): Use it as default.
7939 (insert-directory): Avoid add-to-list.
7940
7941 * autorevert.el (auto-revert-handler): Simplify.
7942 Use buffer-stale--default-function.
7943
7944 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7945
7946 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7947
7948 * whitespace.el (whitespace-ensure-local-variables): New function.
7949 (whitespace-cleanup-region): Call it.
7950 (whitespace-turn-on): Call it.
7951
7952 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7953
7954 Complete file name handlers.
7955
7956 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7957 (tramp-handle-verify-visited-file-modtime)
7958 (tramp-handle-file-notify-rm-watch): New functions.
7959 (tramp-call-process): Do not bind `default-directory'.
7960
7961 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7962 Order alphabetically.
7963 <access-file, add-name-to-file, dired-call-process>:
7964 <dired-compress-file, file-acl, file-notify-rm-watch>:
7965 <file-ownership-preserved-p, file-selinux-context>:
7966 <make-directory-internal, make-symbolic-link, set-file-acl>:
7967 <set-file-selinux-context, set-visited-file-modtime>:
7968 <verify-visited-file-modtime>: Add handler.
7969 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7970
7971 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7972 <file-notify-add-watch, file-notify-rm-watch>:
7973 <set-file-times, set-visited-file-modtime>:
7974 <verify-visited-file-modtime>: Add handler.
7975 (with-tramp-gvfs-error-message)
7976 (tramp-gvfs-handle-set-visited-file-modtime)
7977 (tramp-gvfs-fuse-file-name): Remove.
7978 (tramp-gvfs-handle-file-notify-add-watch)
7979 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7980 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7981
7982 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7983 Order alphabetically.
7984 <file-notify-rm-watch>: Use default Tramp handler.
7985 <executable-find>: Remove private handler.
7986 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7987 `default-directory'.
7988 (tramp-sh-handle-executable-find)
7989 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7990 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7991 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7992 Do not use `format' in `tramp-message'.
7993
7994 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7995 <file-notify-rm-watch, set-visited-file-modtime>:
7996 <verify-visited-file-modtime>: Add handler.
7997 (tramp-smb-call-winexe): Do not bind `default-directory'.
7998
7999 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8000
8001 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8002
8003 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8004
8005 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8006 use it.
8007 (log-view-diff-changeset): Same.
8008 (log-view-diff-common): Call backend command `previous-revision'
8009 to find out the previous revision, in both cases. Swap the
8010 variables `to' and `fr', so that `fr' usually refers to the
8011 earlier revision (Bug#14989).
8012
8013 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8014
8015 * ibuf-ext.el (ibuffer-filter-by-filename):
8016 Make it work with dired buffers too.
8017
8018 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8019
8020 * emacs-lisp/re-builder.el (reb-color-display-p):
8021 * files.el (save-buffers-kill-terminal):
8022 * net/browse-url.el (browse-url):
8023 * server.el (server-save-buffers-kill-terminal):
8024 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8025 Prefer nil to selected-frame for the first arg of frame-parameter.
8026
8027 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8028
8029 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8030
8031 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8032
8033 * minibuffer.el (completion--twq-all): Try and preserve each
8034 completion's case choice (bug#14907).
8035
8036 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8037
8038 * net/network-stream.el (open-network-stream): Mention the new
8039 :nogreeting parameter.
8040 (network-stream-open-starttls): Use the :nogreeting parameter
8041 (bug#14938).
8042
8043 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8044
8045 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8046 more natural than popping.
8047
8048 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8049 (shr-urlify): Highlight under mouse.
8050
8051 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8052
8053 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8054
8055 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8056
8057 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8058 buffer for output.
8059
8060 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8061 point-min==1. Fix search string. Fix parentheses missing.
8062
8063 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8064 assume point-min==1. Fix search string. Fix parentheses missing.
8065
8066 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8067
8068 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8069 buffer for output.
8070
8071 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8072
8073 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8074 initial frame is minibuffer-less. (Bug#14841)
8075
8076 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8077
8078 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8079 option.
8080
8081 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8082 (tramp-maybe-open-connection): Use it.
8083
8084 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8087 minimal set of parameters passed when creating a frame, because
8088 the minibuffer status of a frame cannot be changed later.
8089
8090 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8091
8092 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8093 replace-regexp-in-string and inadvertent omissions in previous change.
8094 (todo-filter-items): Ensure only file names are comma-separated in
8095 name of filtered items buffer.
8096
8097 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8098
8099 * desktop.el: Optionally force offscreen frames back onscreen.
8100 (desktop-restoring-reuses-frames): New option.
8101 (desktop--compute-pos, desktop--move-onscreen): New functions.
8102 (desktop--make-frame): Use desktop--move-onscreen.
8103
8104 2013-07-27 Alan Mackenzie <acm@muc.de>
8105
8106 Fontify a Java generic method as a function.
8107 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8108 value to t.
8109
8110 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8111
8112 * calendar/todo-mode.el: Add command to rename todo files.
8113 (todo-rename-file): New command.
8114 (todo-key-bindings-t): Add key binding for it. Change the
8115 bindings of todo-filter-regexp-items(-multifile) to use `x'
8116 instead of `r', since the latter is better suited to the new
8117 renaming command.
8118
8119 2013-07-27 Alan Mackenzie <acm@muc.de>
8120
8121 Make Java try-with-resources statement parse properly.
8122 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8123 (c-block-stmt-1-2-key): New language constants/variables.
8124 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8125 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8126 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8127 with c-block-stmt-1-2-key.
8128
8129 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * desktop.el (desktop--make-frame): Apply most frame parameters after
8132 creating the frame to force (partially or totally) offscreen frames to
8133 be restored as such.
8134
8135 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8136
8137 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8138 (Bug#14948)
8139
8140 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8143 `base' arg of backtrace-frame.
8144
8145 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8146
8147 * simple.el (list-processes): Doc fix.
8148
8149 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * desktop.el (desktop--select-frame):
8152 Try harder to reuse existing frames.
8153
8154 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8157 (edebug-eval): Use backtrace-eval.
8158 (edebug--display, edebug--recursive-edit): Don't let-bind the
8159 edebug-outer-* vars that keep track of variables we locally let-bind.
8160 (edebug-outside-excursion): Don't restore outside values of locally
8161 let-bound vars.
8162 (edebug--display): Use user-error.
8163 (cl-lexical-debug, cl-debug-env): Remove.
8164
8165 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8168 are restored to be sure that they are visible before deleting any
8169 remaining ones.
8170
8171 2013-07-26 Matthias Meulien <orontee@gmail.com>
8172
8173 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8174 vc-print-root-log. (Bug#14948)
8175
8176 2013-07-26 Richard Stallman <rms@gnu.org>
8177
8178 Add aliases for encrypting mail.
8179 * epa.el (epa-mail-aliases): New option.
8180 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8181 Bind inhibit-read-only so read-only text doesn't ruin everything.
8182 (epa-mail-default-recipients): New subroutine broken out.
8183 Handle epa-mail-aliases.
8184
8185 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 Add support for lexical variables to the debugger's `e' command.
8188 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8189 vars, except for debugger-outer-match-data.
8190 (debugger-frame-number): Move check for "on a function call" from
8191 callers into it. Add `skip-base' argument.
8192 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8193 (debugger-env-macro): Only reset the state stored in non-variables,
8194 i.e. current-buffer and match-data.
8195 (debugger-eval-expression): Rewrite using backtrace-eval.
8196 * subr.el (internal--called-interactively-p--get-frame): Remove.
8197 (called-interactively-p):
8198 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8199 `base' arg of backtrace-frame instead.
8200
8201 2013-07-26 Glenn Morris <rgm@gnu.org>
8202
8203 * align.el (align-regexp): Doc fix. (Bug#14857)
8204 (align-region): Explicit error if subexpression missing/does not match.
8205
8206 * simple.el (global-visual-line-mode):
8207 Do not duplicate the mode lighter. (Bug#14858)
8208
8209 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8210
8211 * window.el (display-buffer): In display-buffer bind
8212 split-window-keep-point to t, bug#14829.
8213
8214 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8217 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8218 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8219 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8220 Change accordingly.
8221 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8222 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8223
8224 2013-07-25 Glenn Morris <rgm@gnu.org>
8225
8226 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8227
8228 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8229
8230 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8231 parameter to modify-frame-parameters if the value has not changed;
8232 this is a workaround for bug#14949.
8233 (desktop--make-frame): On cl-delete-if call, check parameter name,
8234 not full parameter.
8235
8236 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8237
8238 * vc/vc.el (vc-ignore): New function.
8239
8240 * vc/vc-svn.el (vc-svn-ignore): New function.
8241
8242 * vc/vc-hg.el (vc-hg-ignore): New function.
8243
8244 * vc/vc-git.el (vc-git-ignore): New function.
8245
8246 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8247 (vc-dir-ignore): New function.
8248
8249 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8250 (cvs-append-to-ignore): Move here from pcvs.el.
8251
8252 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8253
8254 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8255
8256 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8257
8258 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8259 (desktop-restore-frames): Warn when deleting an existing frame failed.
8260
8261 2013-07-24 Glenn Morris <rgm@gnu.org>
8262
8263 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8264
8265 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8266
8267 * filenotify.el (file-notify-supported-p):
8268 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8269 Remove functions.
8270
8271 * autorevert.el (auto-revert-use-notify):
8272 (auto-revert-notify-add-watch):
8273 * net/tramp.el (tramp-file-name-for-operation):
8274 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8276 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8277 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8278 Remove `file-notify-supported-p' entry.
8279
8280 2013-07-24 Glenn Morris <rgm@gnu.org>
8281
8282 * printing.el: Replace all uses of deleted ps-windows-system,
8283 ps-lp-system, ps-flatten-list with lpr- versions.
8284
8285 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8288 checked with memq (bug#14935).
8289
8290 * files.el (revert-buffer-function): Use a non-nil default.
8291 (revert-buffer-preserve-modes): Declare var to
8292 provide access to the `preserve-modes' argument.
8293 (revert-buffer): Let-bind it.
8294 (revert-buffer--default): New function, extracted from revert-buffer.
8295
8296 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * lpr.el: Signal print errors more prominently.
8299 (print-region-function): Don't default to nil.
8300 (lpr-print-region): New function, extracted from print-region-1.
8301 Check lpr's return value and signal an error in case of problem.
8302 (print-region-1): Use it.
8303 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8304 versions instead.
8305 (ps-printer-name): Default to nil.
8306 (ps-printer-name-option): Default to lpr-printer-switch.
8307 (ps-print-region-function): Don't default to nil.
8308 (ps-postscript-code-directory): Simplify default.
8309 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8310 (ps-string-list, ps-eval-switch, ps-flatten-list)
8311 (ps-flatten-list-1): Remove.
8312 (ps-multibyte-buffer): Avoid setq.
8313 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8314 (print-region-function, ps-print-region-function): Don't set them here.
8315
8316 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8317
8318 * ido.el (ido-fractionp):
8319 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8320 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8321 (ido-max-directory-size, ido-max-dir-file-cache)
8322 (ido-decorations): Doc fix.
8323
8324 * ansi-color.el: Fix old URL.
8325
8326 2013-07-23 Michael R. Mauger <michael@mauger.com>
8327
8328 * progmodes/sql.el: Version 3.3
8329 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8330 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8331 (sql-interactive-remove-continuation-prompt): Rewrite, use
8332 functions above. Fix continuation prompt and complete output line
8333 handling.
8334 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8335 redirected output buffer.
8336 (sql-mode): Restore deleted code (Bug#13591).
8337
8338 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8341
8342 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8343
8344 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8345
8346 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8348 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8349
8350 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8351
8352 * desktop.el (desktop-clear): Simplify; remove useless checks
8353 against invalid buffer names.
8354 (desktop-list*): Use cl-list*.
8355 (desktop-buffer-info, desktop-create-buffer): Simplify.
8356
8357 2013-07-23 Leo Liu <sdl.web@gmail.com>
8358
8359 * bookmark.el (bookmark-make-record): Restore NAME as a default
8360 value. (Bug#14933)
8361
8362 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8365 extracted from autoload--insert-text.
8366 (autoload--insert-text): Remove.
8367 (autoload--print-cookie-text): New function, extracted from
8368 autoload--insert-cookie-text.
8369 (autoload--insert-cookie-text): Remove.
8370 (autoload-generate-file-autoloads): Adjust calls accordingly.
8371
8372 * winner.el (winner-hook-installed-p): Remove.
8373 (winner-mode): Simplify accordingly.
8374
8375 * subr.el (add-to-list): Fix compiler-macro when `append' is
8376 not constant. Don't use `cl-member' for the base case.
8377
8378 * progmodes/subword.el: Fix boundary case (bug#13758).
8379 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8380 own group.
8381 (subword-backward-regexp): Make it a constant.
8382 (subword-forward-internal): Don't treat a trailing capital as the
8383 beginning of a word.
8384
8385 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8386
8387 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8388 global value of tabulated-list-revert-hook (bug#14930).
8389
8390 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8391
8392 * desktop.el: Require 'cl-lib.
8393 (desktop-before-saving-frames-functions): New hook.
8394 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8395 for frames being saved. Rename from desktop--save-minibuffer-frames.
8396 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8397 Do not save frames with non-nil `desktop-dont-save' parameter.
8398 Filter out deleted frames.
8399 (desktop--find-frame): Use cl-find-if.
8400 (desktop--select-frame): Use cl-(first|second|third) to access values
8401 of desktop-mini.
8402 (desktop--make-frame): Use cl-delete-if.
8403 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8404 (desktop-restore-frames): Use cl-(first|second|third) to access values
8405 of desktop-mini. Look for visible frame at the end, not while
8406 restoring frames.
8407
8408 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8409 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8410 Use string-match-p, looking-at-p (bug#14927).
8411
8412 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8413
8414 * desktop.el (desktop-saved-frame-states):
8415 Rename from desktop--saved-states; all users changed.
8416 (desktop-save-frames): Rename from desktop--save-frames.
8417 Do not save state to desktop file.
8418 (desktop-save): Save desktop-saved-frame-states to desktop file
8419 and reset to nil.
8420 (desktop-restoring-frames-p): New function.
8421 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8422 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8423 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8424
8425 * desktop.el: Correctly restore iconified frames.
8426 (desktop--filter-iconified-position): New function.
8427 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8428
8429 2013-07-20 Glenn Morris <rgm@gnu.org>
8430
8431 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8432 Let `message' do the formatting.
8433 (def-gdb-preempt-display-buffer): Add explicit format.
8434
8435 * image-dired.el (image-dired-track-original-file):
8436 Use with-current-buffer.
8437 (image-dired-track-thumbnail): Use with-current-buffer.
8438 Avoid changing point of wrong window.
8439
8440 * image-dired.el (image-dired-track-original-file):
8441 Avoid changing point of wrong window. (Bug#14909)
8442
8443 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8444
8445 * progmodes/gdb-mi.el (gdb-done-or-error):
8446 Guard against "%" in gdb output. (Bug#14127)
8447
8448 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8449
8450 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8451 (Bug#14826)
8452
8453 * international/mule.el (coding-system-iso-2022-flags): Fix last
8454 change.
8455
8456 2013-07-20 Kenichi Handa <handa@gnu.org>
8457
8458 * international/mule.el (coding-system-iso-2022-flags):
8459 Add `8-bit-level-4'. (Bug#8522)
8460
8461 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8462
8463 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8464 (bug#14815).
8465
8466 * net/eww.el (eww-process-text-input): Allow inputting when the
8467 point is at the start of the line, as the properties aren't
8468 front-sticky.
8469
8470 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8471 degenerate widths.
8472
8473 2013-07-19 Richard Stallman <rms@gnu.org>
8474
8475 * epa.el (epa-popup-info-window): Doc fix.
8476
8477 * subr.el (split-string): New arg TRIM.
8478
8479 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8482 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8483
8484 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8485
8486 * filenotify.el (file-notify--library): Rename from
8487 `file-notify-support'. Do not autoload. Adapt all uses.
8488 (file-notify-supported-p): New defun.
8489
8490 * autorevert.el (auto-revert-use-notify):
8491 Use `file-notify-supported-p' instead of `file-notify-support'.
8492 Adapt docstring.
8493 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8494
8495 * net/tramp.el (tramp-file-name-for-operation):
8496 Add `file-notify-supported-p'.
8497
8498 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8499 New defun.
8500 (tramp-sh-file-name-handler-alist): Add it as handler for
8501 `file-notify-supported-p '.
8502
8503 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8504 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8505 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8506 Add `ignore' as handler for `file-notify-*' functions.
8507
8508 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8509
8510 * simple.el (line-move-partial, line-move): Don't start vscroll or
8511 scroll-up if the current line is not taller than the window.
8512 (Bug#14881)
8513
8514 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8515
8516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8517 highlight question marks in the method names as strings.
8518 (ruby-block-beg-keywords): Inline.
8519 (ruby-font-lock-keyword-beg-re): Extract from
8520 `ruby-font-lock-keywords'.
8521
8522 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8523
8524 * frame.el (blink-cursor-blinks): New defcustom.
8525 (blink-cursor-blinks-done): New defvar.
8526 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8527 (blink-cursor-timer-function): Check if number of blinks has been
8528 done on X and NS.
8529 (blink-cursor-suspend, blink-cursor-check): New defuns.
8530
8531 2013-07-15 Glenn Morris <rgm@gnu.org>
8532
8533 * edmacro.el (edmacro-format-keys): Fix previous change.
8534
8535 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8536
8537 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8538 The hack didn't work outside English locales anyway.
8539
8540 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8541
8542 * simple.el (define-alternatives): Rename from alternatives-define,
8543 per RMS' suggestion.
8544
8545 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8546
8547 * desktop.el (desktop-restore-frames): Change default to t.
8548 (desktop-restore-in-current-display): Now offer more options.
8549 (desktop-restoring-reuses-frames): New customization option.
8550 (desktop--saved-states): Doc fix.
8551 (desktop-filter-parameters-alist): New variable, renamed and expanded
8552 from desktop--excluded-frame-parameters.
8553 (desktop--target-display): New variable.
8554 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8555 (desktop--filter-tty*, desktop--filter-*-color)
8556 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8557 (desktop--filter-save-desktop-parm)
8558 (desktop-restore-in-original-display-p): New functions.
8559 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8560 (desktop--save-minibuffer-frames): New function, inspired by a similar
8561 function from Martin Rudalics.
8562 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8563 (desktop--restore-in-this-display-p): Remove.
8564 (desktop--find-frame): Rename from desktop--find-frame-in-display
8565 and add predicate argument.
8566 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8567 (desktop--reuse-list): New variable.
8568 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8569 New functions.
8570 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8571
8572 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8573
8574 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8575
8576 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8577
8578 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8579 Highlight conversion methods on Kernel.
8580
8581 2013-07-13 Alan Mackenzie <acm@muc.de>
8582
8583 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8584 and comment it out. This out-commenting enables certain C++
8585 declarations to be parsed correctly.
8586
8587 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8588
8589 * international/mule.el (define-coding-system): Doc fix.
8590
8591 * simple.el (default-font-height): Don't call font-info if the
8592 frame's default font didn't change since the frame was created.
8593 (Bug#14838)
8594
8595 2013-07-13 Leo Liu <sdl.web@gmail.com>
8596
8597 * ido.el (ido-read-file-name): Guard against non-symbol value.
8598
8599 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8600
8601 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8602 in nested defuns.
8603
8604 2013-07-13 Leo Liu <sdl.web@gmail.com>
8605
8606 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8607 ido-set-matches call. (Bug#6852)
8608
8609 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8610
8611 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8612 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8613 Ruby 2.0.
8614 (ruby-font-lock-keywords): Distinguish calls to functions with
8615 module-like names from module references. Highlight character
8616 literals.
8617
8618 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8619
8620 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8621 (gdb-send): Handle continued commands. (Bug#14847)
8622
8623 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8624
8625 * desktop.el (desktop--v2s): Remove unused local variable.
8626 (desktop-save-buffer): Make defvar-local; adjust docstring.
8627 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8628 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8629
8630 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8631
8632 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8633
8634 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8635
8636 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8637 (Bug#14842)
8638
8639 2013-07-12 Glenn Morris <rgm@gnu.org>
8640
8641 * doc-view.el: Require cl-lib at runtime too.
8642 (doc-view-remove-if): Remove.
8643 (doc-view-search-next-match, doc-view-search-previous-match):
8644 Use cl-remove-if.
8645
8646 * edmacro.el: Require cl-lib at runtime too.
8647 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8648 (edmacro-mismatch, edmacro-subseq): Remove.
8649
8650 * shadowfile.el: Require cl-lib.
8651 (shadow-remove-if): Remove.
8652 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8653 Use cl-remove-if.
8654
8655 * wid-edit.el: Require cl-lib.
8656 (widget-choose): Use cl-remove-if.
8657 (widget-remove-if): Remove.
8658
8659 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8660 (ebrowse-delete-if-not): Remove.
8661 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8662 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8663 Use cl-delete-if-not.
8664
8665 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8666
8667 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8668 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8669
8670 2013-07-12 Leo Liu <sdl.web@gmail.com>
8671
8672 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8673
8674 2013-07-11 Glenn Morris <rgm@gnu.org>
8675
8676 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8677 (edebug-gensym-index, edebug-gensym):
8678 Remove reimplementation of cl-gensym.
8679 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8680
8681 * thumbs.el: Require cl-lib at run-time too.
8682 (thumbs-gensym-counter, thumbs-gensym):
8683 Remove reimplementation of cl-gensym.
8684 (thumbs-temp-file): Use cl-gensym.
8685
8686 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8687 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8688 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8689 (ert--union, ert--gensym-counter, ert--gensym-counter)
8690 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8691 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8692 (ert-make-test-unbound, ert--expand-should-1)
8693 (ert--expand-should, ert--should-error-handle-error)
8694 (should-error, ert--explain-equal-rec)
8695 (ert--plist-difference-explanation, ert-select-tests)
8696 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8697 Use cl-lib functions rather than reimplementations.
8698
8699 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8700
8701 * net/tramp.el (tramp-methods): Extend docstring.
8702 (tramp-connection-timeout): New defcustom.
8703 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8704 (with-tramp-progress-reporter): Simplify.
8705 (tramp-process-actions): Improve messages.
8706
8707 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8708 * net/tramp-sh.el (tramp-maybe-open-connection):
8709 Use `tramp-connection-timeout'.
8710 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8711 (Bug#14808)
8712
8713 2013-07-11 Leo Liu <sdl.web@gmail.com>
8714
8715 * ido.el (ido-read-file-name): Conform to the requirements of
8716 read-file-name. (Bug#11861)
8717 (ido-read-directory-name): Conform to the requirements of
8718 read-directory-name.
8719
8720 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8721
8722 * subr.el (delay-warning): New function.
8723
8724 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8725
8726 * simple.el (default-line-height): New function.
8727 (line-move-partial, line-move): Use it instead of computing the
8728 line height inline.
8729 (line-move-partial): Always compute ROWH. If the last line is
8730 partially-visible, but its text is completely visible, allow
8731 cursor to enter such a partially-visible line.
8732
8733 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8734
8735 Improve error messages. (Bug#14808)
8736
8737 * net/tramp.el (tramp-current-connection): New defvar, moved from
8738 tramp-sh.el.
8739 (tramp-message-show-progress-reporter-message): Remove, not
8740 needed anymore.
8741 (tramp-error-with-buffer): Show message in minibuffer.
8742 Discard input before waiting. Reset connection timestamp.
8743 (with-tramp-progress-reporter): Improve messages.
8744 (tramp-process-actions): Use progress reporter. Delete process in
8745 case of error. Improve messages.
8746
8747 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8748 Call `tramp-error-with-buffer' with vector and buffer.
8749 (tramp-current-connection): Remove.
8750 (tramp-maybe-open-connection): The car of
8751 `tramp-current-connection' are the first 3 slots of the vector.
8752
8753 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8754
8755 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8756 inside continued strings.
8757
8758 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8759
8760 Timestamp fixes for undo (Bug#14824).
8761 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8762
8763 2013-07-10 Leo Liu <sdl.web@gmail.com>
8764
8765 * files.el (require-final-newline): Allow safe local value.
8766 (Bug#14834)
8767
8768 2013-07-09 Leo Liu <sdl.web@gmail.com>
8769
8770 * ido.el (ido-read-directory-name): Handle fallback.
8771 (ido-read-file-name): Update DIR to ido-current-directory.
8772 (Bug#1516)
8773 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8774
8775 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8776
8777 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8778 "autoload". Remove "warn lower camel case" section, previously
8779 commented out. Highlight negation char. Do not highlight the
8780 target in singleton method definitions.
8781
8782 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * faces.el (tty-setup-hook): Declare the hook.
8785
8786 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8787 and detect when a guard/pred depends on local vars (bug#14773).
8788 (pcase--u1): Adjust caller.
8789
8790 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8791
8792 * simple.el (line-move-partial, line-move): Account for
8793 line-spacing.
8794 (line-move-partial): Avoid setting vscroll when the last
8795 partially-visible line in window is of default height.
8796
8797 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8798
8799 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8800 been used a while.
8801
8802 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8803
8804 * subr.el (read-quoted-char): Remove unused local variable `char'.
8805
8806 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8807
8808 * ediff.el (ediff-version): Version update.
8809 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8810 (ediff-merge-with-ancestor-command, ediff-directories-command)
8811 (ediff-directories3-command, ediff-merge-directories-command)
8812 (ediff-merge-directories-with-ancestor-command): New functions.
8813 All are command-line interfaces to ediff: to facilitate calling
8814 Emacs with the appropriate ediff functions invoked.
8815
8816 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8817 (viper-save-kill-buffer): Check if buffer is modified.
8818
8819 * viper.el (viper-version): Version update.
8820 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8821
8822 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8825 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8826 (viper-intercept-ESC-key): Simplify.
8827 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8828 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8829 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8830 (viper-setup-ESC-to-escape): New functions.
8831 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8832 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8833
8834 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8835
8836 * simple.el (default-font-height, window-screen-lines):
8837 New functions.
8838 (line-move, line-move-partial): Use them instead of
8839 frame-char-height and window-text-height. This makes scrolling
8840 text smoother when the buffer's default face uses a font that is
8841 different from the frame's default font.
8842
8843 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8844
8845 * files.el (write-file): Do not display confirm dialog for NS,
8846 it does its own dialog, which can't be canceled (Bug#14578).
8847
8848 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8849
8850 * simple.el (line-move-partial): Adjust the row returned by
8851 posn-at-point for the current window-vscroll. (Bug#14567)
8852
8853 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8854
8855 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8856 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8857 spaces.
8858
8859 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8860
8861 * window.el (window-state-put-stale-windows): New variable.
8862 (window--state-put-2): Save list of windows without matching buffer.
8863 (window-state-put): Remove "bufferless" windows if possible.
8864
8865 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * simple.el (alternatives-define): Remove leftover :group keyword.
8868 Tweak docstring.
8869
8870 2013-07-06 Leo Liu <sdl.web@gmail.com>
8871
8872 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8873 (ido-enable-virtual-buffers): New variable.
8874 (ido-buffer-internal, ido-toggle-virtual-buffers)
8875 (ido-make-buffer-list): Use it.
8876 (ido-exhibit): Support turning on and off virtual buffers
8877 automatically.
8878
8879 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8880
8881 * simple.el (alternatives-define): New macro.
8882
8883 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * subr.el (read-quoted-char): Use read-key.
8886 (sit-for): Let read-event decode tty input (bug#14782).
8887
8888 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8889
8890 * calendar/todo-mode.el: Add handling of file deletion, both by
8891 mode command and externally. Fix various related bugs.
8892 Clarify Commentary and improve some documentation strings and code.
8893 (todo-delete-file): New command.
8894 (todo-check-file): New function.
8895 (todo-show): Handle external deletion of the file we're trying to
8896 show (bug#14688). Replace called-interactively-p by an optional
8897 prefix argument to avoid problematic interaction with catch form
8898 when byte compiled (bug#14702).
8899 (todo-quit): Handle external deletion of the archive's todo file.
8900 Make sure the buffer that was visiting the archive file is still
8901 live before trying to bury it.
8902 (todo-category-completions): Handle external deletion of any
8903 category completion files.
8904 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8905 of todo files, in case of external deletion.
8906 (todo-add-file): Replace unnecessary setq by let-binding.
8907 (todo-find-archive): Check whether there are any archives.
8908 Replace unnecessary setq by let-binding.
8909 (todo-archive-done-item): Use find-file-noselect to get the
8910 archive buffer whether or not the archive already exists.
8911 Remove superfluous code. Use file size instead of buffer-file-name to
8912 check if the archive is new; if it is, update list of archives.
8913 (todo-default-todo-file): Allow nil to be a valid value for when
8914 there are no todo files.
8915 (todo-reevaluate-default-file-defcustom): Use corrected definition
8916 of todo-default-todo-file.
8917 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8918 (todo-delete-category, todo-show-categories-table)
8919 (todo-category-number): Clarify comment.
8920 (todo-filter-items): Clarify documentation string.
8921 (todo-show-current-file, todo-display-as-todo-file)
8922 (todo-reset-and-enable-done-separator): Tweak documentation string.
8923 (todo-done-separator): Make separator length window-width, since
8924 bug#2749 is now fixed.
8925
8926 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8929 Support both "gvfs-monitor-dir" and "inotifywait".
8930 (tramp-sh-file-inotifywait-process-filter): Rename from
8931 `tramp-sh-file-notify-process-filter'.
8932 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8933 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8934
8935 2013-07-05 Leo Liu <sdl.web@gmail.com>
8936
8937 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8938
8939 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8940
8941 * frame.el (display-pixel-height, display-pixel-width)
8942 (display-mm-height, display-mm-width): Mention behavior on
8943 multi-monitor setups in docstrings.
8944 (w32-display-monitor-attributes-list): Declare function.
8945 (display-monitor-attributes-list): Use it.
8946
8947 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8948
8949 * filenotify.el: New package.
8950
8951 * autorevert.el (top): Require filenotify.el.
8952 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8953 instead.
8954 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8955 (auto-revert-notify-handler): Use `file-notify-*' functions.
8956
8957 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8958
8959 * net/tramp.el (tramp-file-name-for-operation):
8960 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8961
8962 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8963 for `file-notify-add-watch' and `file-notify-rm-watch'.
8964 (tramp-process-sentinel): Improve trace.
8965 (tramp-sh-handle-file-notify-add-watch)
8966 (tramp-sh-file-notify-process-filter)
8967 (tramp-sh-handle-file-notify-rm-watch)
8968 (tramp-get-remote-inotifywait): New defuns.
8969
8970 2013-07-03 Juri Linkov <juri@jurta.org>
8971
8972 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8973 call of `occur-read-primary-args' to interactive spec.
8974
8975 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8976 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8977
8978 2013-07-03 Matthias Meulien <orontee@gmail.com>
8979
8980 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8981 `Buffer-menu-multi-occur'. Add it to the menu.
8982 (Buffer-menu-mode): Document it in docstring.
8983 (Buffer-menu-multi-occur): New command. (Bug#14673)
8984
8985 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8986
8987 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8988 keywords and built-ins.
8989
8990 2013-07-03 Glenn Morris <rgm@gnu.org>
8991
8992 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8993
8994 Make info-xref checks case-sensitive by default
8995 * info.el (Info-find-node, Info-find-in-tag-table)
8996 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8997 Add option for exact case matching of nodes.
8998 * info-xref.el (info-xref): New custom group.
8999 (info-xref-case-fold): New option.
9000 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9001
9002 2013-07-03 Leo Liu <sdl.web@gmail.com>
9003
9004 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9005
9006 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9007
9008 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9009 middle of block statement initially, lower the depth. Remove
9010 FIXME comment, not longer valid. Remove middle of block statement
9011 detection, no need to do that anymore since we've been using
9012 `ruby-parse-region' here.
9013
9014 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9015
9016 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9017
9018 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9019
9020 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9021
9022 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9023
9024 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9025 (desktop-restore-in-current-display): New customization option.
9026 (desktop--excluded-frame-parameters): Add `font'.
9027 (desktop--save-frames): Rename from desktop--save-windows.
9028 (desktop--restore-in-this-display-p): New function.
9029 (desktop--make-full-frame): Remove unwanted width/height from
9030 full(width|height) frames.
9031 (desktop--restore-frames): Rename from desktop--restore-windows.
9032 Obey desktop-restore-current-display. Do not delete old frames or
9033 select a new frame unless we were able to restore at least one frame.
9034
9035 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9036
9037 * files.el (find-file-noselect): Simplify conditional expression.
9038
9039 * textmodes/remember.el (remember-append-to-file):
9040 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9041
9042 Add `remember-notes' function to store random notes across Emacs
9043 restarts.
9044 * textmodes/remember.el (remember-data-file): Add :set callback to
9045 affect notes buffer (if any).
9046 (remember-notes): New command.
9047 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9048 New defcustoms for the `remember-notes' function.
9049 (remember-notes-save-and-bury-buffer): New command.
9050 (remember-notes-mode-map): New variable.
9051 (remember-mode): New minor mode.
9052 (remember-notes--kill-buffer-query): New function.
9053 * startup.el (initial-buffer-choice): Add notes to custom type.
9054
9055 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9056
9057 * bindings.el (right-char, left-char): Don't call sit-for, this is
9058 no longer needed. Use arithmetic comparison only for numerical
9059 arguments.
9060
9061 * international/mule-cmds.el (select-safe-coding-system):
9062 Handle the case of FROM being a string correctly. (Bug#14755)
9063
9064 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9065
9066 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9067 progression on degenerate tables.
9068 (shr-rescale-image): ImageMagick animated images currently don't work.
9069
9070 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9071
9072 Some fixes and improvements for desktop frame restoration.
9073 It is still experimental and disabled by default.
9074 * desktop.el (desktop--save-windows): Put the selected frame at
9075 the head of the list.
9076 (desktop--make-full-frame): New function.
9077 (desktop--restore-windows): Try to re-select the frame that was
9078 selected upon saving. Do not abort if some frames fail to restore,
9079 just show an error message and continue. Set up maximized frames
9080 so they have default non-maximized dimensions.
9081
9082 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9083
9084 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9085 Don't start heredoc inside a string or comment.
9086
9087 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9088
9089 * bindings.el (visual-order-cursor-movement): New defcustom.
9090 (right-char, left-char): Provide visual-order cursor motion by
9091 calling move-point-visually. Update the doc strings.
9092
9093 2013-06-28 Kenichi Handa <handa@gnu.org>
9094
9095 * international/mule.el (define-coding-system): New coding system
9096 properties :inhibit-null-byte-detection,
9097 :inhibit-iso-escape-detection, and :prefer-utf-8.
9098 (set-buffer-file-coding-system): If :charset-list property of
9099 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9100 appropriate for setting.
9101
9102 * international/mule-cmds.el (select-safe-coding-system):
9103 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9104 multibyte characters, return utf-8 (or one of its siblings).
9105
9106 * international/mule-conf.el (prefer-utf-8): New coding system.
9107 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9108 files.
9109
9110 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9111
9112 * net/shr.el (shr-render-region): New function.
9113
9114 * net/eww.el: Autoload `eww-browse-url'.
9115
9116 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9117
9118 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9119 Adapt to `package-desc-version' being a list.
9120 Use `package--ac-desc-version' to retrieve version from a package
9121 archive element.
9122
9123 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9124
9125 New experimental feature to save&restore window and frame setup.
9126 * desktop.el (desktop-save-windows): New defcustom.
9127 (desktop--saved-states): New var.
9128 (desktop--excluded-frame-parameters): New defconst.
9129 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9130 (desktop--restore-windows, desktop--save-windows): New functions.
9131 (desktop-save): Call `desktop--save-windows'.
9132 (desktop-read): Call `desktop--restore-windows'.
9133
9134 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135
9136 * net/shr.el (add-face-text-property): Remove compat definition.
9137
9138 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9139
9140 * info.el (Info-try-follow-nearest-node): Move search for footnote
9141 above search for node name to prevent missing a footnote (bug#14717).
9142
9143 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9144
9145 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9146
9147 2013-06-27 Leo Liu <sdl.web@gmail.com>
9148
9149 * net/eww.el (eww-read-bookmarks): Check file size.
9150
9151 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9154 advice--pending if newdef is nil or an autoload (bug#13820).
9155 (advice-mapc): New function.
9156
9157 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9158
9159 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9160 probably.
9161 (eww-mode-map): Add a menu bar.
9162 (eww-add-bookmark): New command.
9163 (eww-bookmark-mode): New mode and commands.
9164 (eww-add-bookmark): Remove newlines from the title.
9165 (eww-bookmark-browse): Don't bug out if it's the only window.
9166
9167 2013-06-26 Glenn Morris <rgm@gnu.org>
9168
9169 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9170 (hfy-size): Handle ttys. (Bug#14668)
9171
9172 * info-xref.el: Update for Texinfo 5 change in *note format.
9173 (info-xref-node-re, info-xref-note-re): New constants.
9174 (info-xref-check-buffer): Use info-xref-note-re.
9175
9176 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9179
9180 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9181 nil terminate the loop (bug#14718).
9182
9183 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9184
9185 * net/eww.el: Rework history traversal. When going forward/back,
9186 put these actions into the history, too, so that they can be
9187 replayed.
9188 (eww-render): Move the history reset to the correct buffer.
9189
9190 2013-06-25 Juri Linkov <juri@jurta.org>
9191
9192 * files-x.el (modify-dir-local-variable): Change the header comment
9193 in the file with directory local variables. (Bug#14692)
9194
9195 * files-x.el (read-file-local-variable-value): Add `default'.
9196 (Bug#14710)
9197
9198 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9199
9200 * net/eww.el (eww-make-unique-file-name): Create a unique file
9201 name before saving to entering `y' accidentally asynchronously.
9202
9203 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9204
9205 * net/eww.el (eww-download): New command and keystroke.
9206
9207 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9208
9209 * net/eww.el (eww-copy-page-url): Change name of command.
9210
9211 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9212 be more consistent with Info and dired.
9213
9214 * net/eww.el (eww-mode-map): Ditto.
9215
9216 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9219 packages from archives.
9220 (package-archive-contents): Change format; include obsolete packages.
9221 (package-desc): Use `dir' to mark builtin packages.
9222 (package--from-builtin): Set the `dir' field to `builtin'.
9223 (generated-autoload-file, version-control): Declare.
9224 (package-compute-transaction): Change first arg and return value to be
9225 lists of package-descs. Adjust to new package-archive-contents format.
9226 (package--add-to-archive-contents): Adjust to new
9227 package-archive-contents format.
9228 (package-download-transaction): Arg is now a list of package-descs.
9229 (package-install): If `pkg' is a package name, pass it as
9230 a requirement, so it is subject to the usual (e.g. disabled) checks.
9231 (describe-package): Accept package-desc as well.
9232 (describe-package-1): Describe a specific package-desc. Add links to
9233 other package-descs for the same package name.
9234 (package-menu-describe-package): Pass the actual package-desc.
9235 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9236 works correctly.
9237 (package-desc-status): New function.
9238 (package-menu--refresh): New function, extracted
9239 from package-menu--generate.
9240 (package-menu--generate): Use it.
9241 (package-delete): Update package-alist.
9242 (package-menu-execute): Don't call package-initialize.
9243
9244 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9245 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9246 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9247 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9248 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9249 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9250
9251 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9252
9253 * window.el (window--state-get-1): Workaround for bug#14527.
9254 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9255
9256 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9257
9258 * net/eww.el (eww-back-url): Implement the history by stashing all
9259 the data into a list.
9260 (eww-forward-url): Allow going forward in the history, too.
9261
9262 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9263
9264 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9265 for values and use read--expression for expressions (bug#14710).
9266 (read-file-local-variable): Avoid setq.
9267 (read-file-local-variable-mode): Use minor-mode-list.
9268
9269 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9270
9271 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9272 for DOI URLs.
9273
9274 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9275
9276 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9277 Update imenu-support when dialect changes.
9278
9279 2013-06-25 Leo Liu <sdl.web@gmail.com>
9280
9281 * ido.el (ido-read-internal): Allow forward slash on windows.
9282
9283 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9284
9285 * net/eww.el (eww): Start of strings is \\`, not ^.
9286
9287 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9288
9289 * net/shr.el (shr-browse-url): Fix interactive spec.
9290
9291 * net/eww.el (eww): Add a trailing slash to domain names.
9292
9293 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9294
9295 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9296
9297 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9298
9299 * net/shr.el (shr-browse-url): Use an external browser if given a
9300 prefix.
9301
9302 * net/eww.el (eww-external-browser): Move to shr.
9303
9304 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9305
9306 * net/eww.el (eww): Work more correctly for file: URLs.
9307 (eww-detect-charset): Allow quoted charsets.
9308 (eww-yank-page-url): New command and keystroke.
9309
9310 2013-06-24 Daiki Ueno <ueno@gnu.org>
9311
9312 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9313 file name of gpg executable.
9314 (epg-context-program): New function.
9315 (epg-context-home-directory): New function.
9316 (epg-context-set-program): New function.
9317 (epg-context-set-home-directory): New function.
9318 (epg--start): Use `epg-context-program' instead of
9319 'epg-gpg-program'.
9320 (epg--list-keys-1): Likewise.
9321
9322 2013-06-24 Leo Liu <sdl.web@gmail.com>
9323
9324 * ido.el (ido-read-internal): Fix bug#14620.
9325
9326 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9327
9328 * faces.el (face-documentation): Simplify.
9329 (read-face-attribute, tty-find-type, x-resolve-font-name):
9330 Use `string-match-p'.
9331 (list-faces-display): Use `string-match-p'. Simplify.
9332 (face-spec-recalc): Check face to avoid face alias loops.
9333 (read-color): Use `string-match-p' and non-capturing parenthesis.
9334
9335 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
9337 * net/shr.el (shr-rescale-image): Use the new
9338 :max-width/:max-height functionality.
9339
9340 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9341
9342 * net/eww.el (eww-search-prefix): New variable.
9343 (eww): Use it.
9344 (eww-external-browser): New variable.
9345 (eww-mode-map): New keystroke.
9346 (eww-browse-with-external-browser): New command.
9347
9348 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9349
9350 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9353 Don't skip aligning the next header field when padding is 0;
9354 otherwise, field width is not respected unless the title is as
9355 wide as the field.
9356
9357 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * emacs-lisp/package.el (package-el-version): Remove.
9360 (package-process-define-package): Fix inf-loop.
9361 (package-install): Allow symbols as arguments again.
9362
9363 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9364
9365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9366 add some more keyword-like methods.
9367 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9368
9369 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9370
9371 * bs.el (bs-buffer-show-mark): Make defvar-local.
9372 (bs-mode): Use setq-local.
9373
9374 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9375 (emacs-lock--try-unlocking): Make defvar-local.
9376
9377 2013-06-22 Glenn Morris <rgm@gnu.org>
9378
9379 * play/cookie1.el (cookie-apropos): Minor simplification.
9380
9381 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9382
9383 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9384
9385 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9386 `regexp-opt', it breaks the build during dumping.
9387
9388 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9389
9390 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9391 Highlight keyword-like methods on Kernel and Module with
9392 font-lock-builtin-face.
9393 (auto-mode-alist): Consolidate different entries into one regexp
9394 and add more *file-s.
9395
9396 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9397
9398 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9399
9400 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9401 (diary-entry): Use it in the action of this button type instead of
9402 diary-goto-entry.
9403
9404 * calendar/todo-mode.el: New version.
9405 (todo-add-category): Append new category to end of file and give
9406 it the highest number, instead of putting it at the beginning and
9407 giving it 0. Incorporate noninteractive functionality.
9408 (todo-forward-category): Adapt to 1-based category numbering.
9409 Allow skipping over archived categories.
9410 (todo-backward-category): Derive from todo-forward-category.
9411 (todo-backward-item, todo-forward-item): Make noninteractive and
9412 delegate interactive part to new commands. Make sensitive to done items.
9413 (todo-categories): Make value an alist of category names and
9414 vectors of item counts.
9415 (todo-category-beg): Make a defconst.
9416 (todo-category-number): Use 1 instead of 0 as initial value.
9417 (todo-category-select): Make sensitive to overlays, optional item
9418 highlighting and done items.
9419 (todo-delete-item): Make sensitive to overlays and marked and done items.
9420 (todo-edit-item): Make sensitive to overlays and editing of
9421 date/time header optional. Add format checks.
9422 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9423 no-op if point is not on an item. Advertise using todo-edit-quit.
9424 (todo-edit-mode): Make sensitive to new format, font-locking, and
9425 multiple todo files.
9426 (todo-insert-item, todo-insert-item-here): Derive from
9427 todo-basic-insert-item and extend functionality.
9428 (todo-item-end, todo-item-start): Make sensitive to done items.
9429 (todo-item-string): Don't return text properties. Restore point.
9430 (todo-jump-to-category): Make sensitive to multiple todo files and
9431 todo archives. Use extended category completion.
9432 (todo-lower-item, todo-raise-item): Rename to *-priority and
9433 derive from todo-set-item-priority.
9434 (todo-mode): Derive from special-mode. Make sensitive to new
9435 format, font-locking and multiple todo files. Make read-only.
9436 (todo-mode-map): Don't suppress digit keys, so they can supply
9437 prefix arguments. Add many new key bindings.
9438 (todo-prefix): Insert as an overlay instead of file text.
9439 Change semantics from diary date expression to purely visual mark.
9440 (todo-print): Rename to todo-print-buffer. Make buffer display
9441 features printable. Remove option to restrict number of items
9442 printed. Add option to print to file.
9443 (todo-print-function): Rename to todo-print-buffer-function.
9444 (todo-quit): Extend to handle exiting new todo modes.
9445 (todo-remove-item): Make sensitive to overlays.
9446 (todo-save): Extend to buffers of filtered items.
9447 (todo-show): Make sensitive to done items, multiple todo files and
9448 new todo modes. Offer to convert legacy todo file before creating
9449 first new todo file.
9450 (todo-show-priorities): Rename to todo-top-priorities.
9451 Change semantics of value 0.
9452 (todo-top-priorities): Rename to todo-filter-top-priorities,
9453 derive from todo-filter-items and extend functionality.
9454 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9455 and extend functionality to other types of filtered items.
9456 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9457 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9458 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9459 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9460 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9461 (todo-edit-mode-hook, todo-entry-prefix-function)
9462 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9463 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9464 (todo-initials, todo-insert-threshold, todo-item-string-start)
9465 (todo-line-string, todo-menu, todo-mode-hook)
9466 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9467 (todo-print-priorities, todo-remove-separator)
9468 (todo-save-top-priorities-too, todo-string-count-lines)
9469 (todo-string-multiline-p, todo-time-string-format)
9470 (todo-tmp-buffer-name): Remove.
9471 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9472 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9473 (todo-edit-category-diary-inclusion)
9474 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9475 (todo-edit-file, todo-edit-item-date-day)
9476 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9477 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9478 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9479 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9480 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9481 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9482 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9483 (todo-filter-top-priorities-multifile, todo-find-archive)
9484 (todo-find-filtered-items-file, todo-go-to-source-item)
9485 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9486 (todo-jump-to-archive-category, todo-lower-category)
9487 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9488 (todo-move-category, todo-move-item, todo-next-button)
9489 (todo-next-item, todo-padded-string, todo-powerset)
9490 (todo-previous-button, todo-previous-item)
9491 (todo-print-buffer-to-file, todo-raise-category)
9492 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9493 (todo-set-category-number, todo-set-item-priority)
9494 (todo-set-top-priorities-in-category)
9495 (todo-set-top-priorities-in-file, todo-show-categories-table)
9496 (todo-sort-categories-alphabetically-or-numerically)
9497 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9498 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9499 (todo-toggle-item-header, todo-toggle-item-highlighting)
9500 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9501 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9502 (todo-unarchive-items, todo-unmark-category): New commands.
9503 (todo-absolute-file-name, todo-add-to-buffer-list)
9504 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9505 (todo-basic-insert-item, todo-category-completions)
9506 (todo-category-number, todo-category-string-matcher-1)
9507 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9508 (todo-check-format, todo-clear-matches)
9509 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9510 (todo-current-category, todo-date-string-matcher)
9511 (todo-define-insertion-command, todo-diary-expired-matcher)
9512 (todo-diary-goto-entry, todo-diary-item-p)
9513 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9514 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9515 (todo-done-item-section-p, todo-done-separator)
9516 (todo-done-string-matcher, todo-files, todo-filter-items)
9517 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9518 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9519 (todo-insert-category-line, todo-insert-item-from-calendar)
9520 (todo-insert-sort-button, todo-insert-with-overlays)
9521 (todo-insertion-command-name, todo-insertion-key-bindings)
9522 (todo-label-to-key, todo-longest-category-name-length)
9523 (todo-make-categories-list, todo-mode-external-set)
9524 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9525 (todo-modes-set-3, todo-multiple-filter-files)
9526 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9527 (todo-read-category, todo-read-date, todo-read-dayname)
9528 (todo-read-file-name, todo-read-time)
9529 (todo-reevaluate-category-completions-files-defcustom)
9530 (todo-reevaluate-default-file-defcustom)
9531 (todo-reevaluate-filelist-defcustoms)
9532 (todo-reevaluate-filter-files-defcustom)
9533 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9534 (todo-reset-done-separator, todo-reset-done-separator-string)
9535 (todo-reset-done-string, todo-reset-global-current-todo-file)
9536 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9537 (todo-reset-prefix, todo-set-categories)
9538 (todo-set-date-from-calendar, todo-set-show-current-file)
9539 (todo-set-top-priorities, todo-short-file-name)
9540 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9541 (todo-total-item-counts, todo-update-buffer-list)
9542 (todo-update-categories-display, todo-update-categories-sexp)
9543 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9544 New functions.
9545 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9546 New major modes.
9547 (todo-categories, todo-display, todo-edit, todo-faces)
9548 (todo-filtered): New defgroups.
9549 (todo-archived-only, todo-button, todo-category-string, todo-date)
9550 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9551 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9552 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9553 (todo-add-item-if-new-category, todo-always-add-time-string)
9554 (todo-categories-align, todo-categories-archived-label)
9555 (todo-categories-category-label, todo-categories-diary-label)
9556 (todo-categories-done-label, todo-categories-number-separator)
9557 (todo-categories-todo-label, todo-categories-totals-label)
9558 (todo-category-completions-files, todo-completion-ignore-case)
9559 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9560 (todo-done-separator-string, todo-done-string)
9561 (todo-files-function, todo-filter-done-items, todo-filter-files)
9562 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9563 (todo-initial-category, todo-initial-file, todo-item-mark)
9564 (todo-legacy-date-time-regexp, todo-mode-line-function)
9565 (todo-nondiary-marker, todo-number-prefix)
9566 (todo-print-buffer-function, todo-show-current-file)
9567 (todo-show-done-only, todo-show-first, todo-show-with-done)
9568 (todo-skip-archived-categories, todo-top-priorities-overrides)
9569 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9570 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9571 New defcustoms.
9572 (todo-category-done, todo-date-pattern, todo-date-string-start)
9573 (todo-diary-items-buffer, todo-done-string-start)
9574 (todo-filtered-items-buffer, todo-item-start)
9575 (todo-month-abbrev-array, todo-month-name-array)
9576 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9577 (todo-top-priorities-buffer): New defconsts.
9578 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9579 (todo-categories-with-marks, todo-category-string-face)
9580 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9581 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9582 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9583 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9584 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9585 (todo-font-lock-keywords, todo-global-current-todo-file)
9586 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9587 (todo-insertion-commands-args)
9588 (todo-insertion-commands-args-genlist)
9589 (todo-insertion-commands-names, todo-insertion-map)
9590 (todo-key-bindings-t, todo-key-bindings-t+a)
9591 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9592 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9593 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9594 (todo-visited): New variables.
9595
9596 2013-06-21 Glenn Morris <rgm@gnu.org>
9597
9598 * play/cookie1.el (cookie-apropos): Add optional display argument.
9599 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9600 (psychoanalyze-pinhead): Use cookie-doctor.
9601
9602 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9603
9604 * emacs-lisp/package.el (tar-get-file-descriptor)
9605 (tar--extract): Declare.
9606
9607 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9608
9609 Extend flymake's warning predicate to be a function (bug#14217).
9610 * progmodes/flymake.el (flymake-warning-predicate): New.
9611 (flymake-parse-line): Use it.
9612 (flymake-warning-re): Make obsolete alias to
9613 `flymake-warning-predicate'.
9614
9615 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9618 (package-obsolete-list): Remove.
9619 (package-activate): Remove min-version argument. Add `force' argument.
9620 Adjust to new package-alist format.
9621 (package-mark-obsolete): Remove.
9622 (package-unpack): Force reload of the package's autoloads.
9623 (package-installed-p): Check builtins if the installed package is not
9624 recent enough.
9625 (package-initialize): Don't reset package-obsolete-list.
9626 Don't specify which package version to activate.
9627 (package-process-define-package, describe-package-1)
9628 (package-menu--generate): Adjust to new package-alist format.
9629
9630 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9631
9632 * allout-widgets.el (allout-widgets-mode-off)
9633 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9634 (allout-widgets-post-command-business)
9635 (allout-widgets-after-copy-or-kill-function)
9636 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9637 (allout-decorate-item-and-context)
9638 (allout-graphics-modification-handler): Fix typos in docstrings.
9639 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9640
9641 * cmuscheme.el (scheme-start-file): Doc fix.
9642 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9643 (scheme-input-filter): Use `string-match-p'.
9644
9645 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9646
9647 * dired-x.el: Use Dired consistently in docstrings.
9648
9649 * dired.el: Use Dired consistently in docstrings.
9650 (dired-readin, dired-mode): Use `setq-local'.
9651 (dired-switches-alist): Make defvar-local.
9652 (dired-buffers-for-dir): Use `zerop'.
9653 (dired-safe-switches-p, dired-switches-escape-p)
9654 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9655 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9656 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9657 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9658 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9659 (dired-toggle-marks, dired-mark-files-containing-regexp)
9660 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9661 (dired-flag-auto-save-files, dired-flag-backup-files):
9662 Use `looking-at-p'.
9663 (dired-mark-files-regexp, dired-build-subdir-alist):
9664 Use `string-match-p', `looking-at-p'.
9665
9666 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9667 (direct-print-region-helper): Use `string-match-p'.
9668
9669 2013-06-21 Leo Liu <sdl.web@gmail.com>
9670
9671 * comint.el (comint-redirect-results-list-from-process):
9672 Fix infinite loop.
9673
9674 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9675
9676 * net/eww.el (eww-update-header-line-format): Quote % characters.
9677
9678 2013-06-21 Glenn Morris <rgm@gnu.org>
9679
9680 * play/cookie1.el (cookie): New custom group.
9681 (cookie-file): New option.
9682 (cookie-check-file): New function.
9683 (cookie): Make it interactive. Make start and end messages optional.
9684 Interactively, display the result. Default to cookie-file.
9685 (cookie-insert): Default to cookie-file.
9686 (cookie-snarf): Make start and end messages optional.
9687 Default to cookie-file. Use with-temp-buffer.
9688 (cookie-read): Rename from read-cookie.
9689 Make start and end messages optional. Default to cookie-file.
9690 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9691 Do not autoload it.
9692 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9693 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9694
9695 2013-06-21 Leo Liu <sdl.web@gmail.com>
9696
9697 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9698
9699 2013-06-21 Glenn Morris <rgm@gnu.org>
9700
9701 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9702
9703 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9704 Daniel Hackney <dan@haxney.org>
9705
9706 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9707 Consolidate the single-file vs tarball code.
9708 (package-desc-suffix): New function.
9709 (package-desc-full-name): Don't bother inlining it.
9710 (package-load-descriptor): Return the new package-desc.
9711 (package-mark-obsolete): Remove unused arg `package'.
9712 (package-unpack): Make it work for single files as well.
9713 Make it update package-alist.
9714 (package--make-autoloads-and-stuff): Rename from
9715 package--make-autoloads-and-compile. Don't compile any more.
9716 (package--compile): New function.
9717 (package-generate-description-file): New function, extracted from
9718 package-unpack-single.
9719 (package-unpack-single): Remove.
9720 (package--with-work-buffer): Add indentation and debugging info.
9721 (package-download-single): Remove.
9722 (package-install-from-archive): Rename from package-download-tar, make
9723 it take a pkg-desc, and make it work for single files as well.
9724 (package-download-transaction): Simplify.
9725 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9726 external tar program.
9727 (package-install-from-buffer): Remove `pkg-desc' argument.
9728 Use package-tar-file-info for tar-mode buffers.
9729 (package-install-file): Simplify accordingly.
9730 (package-archive-base): Change to take a pkg-desc.
9731 * tar-mode.el (tar--check-descriptor): New function, extracted from
9732 tar-get-descriptor.
9733 (tar-get-descriptor): Use it.
9734 (tar-get-file-descriptor): New function.
9735 (tar--extract): New function, extracted from tar-extract.
9736 (tar--extract): Use it.
9737 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9738 case the summary uses non-ascii. Adjust to new calling convention of
9739 package-tar-file-info.
9740
9741 2013-06-21 Leo Liu <sdl.web@gmail.com>
9742
9743 * comint.el (comint-redirect-results-list-from-process):
9744 Fix random delay. (Bug#14681)
9745
9746 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9747
9748 * profiler.el (profiler-format-number): Use log, not log10.
9749
9750 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9751
9752 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9753
9754 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9757 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9758 yet available.
9759 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9760 (AUTOGENEL): ... here.
9761 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9762 (cl--defsubst-expand): Use it.
9763
9764 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9765
9766 * subr.el (log10): Move here from C code, and declare as obsolete.
9767 All uses of (log10 X) replaced with (log X 10).
9768
9769 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9770
9771 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9772 Declare with `defvar-local'.
9773 (tabulated-list-use-header-line, tabulated-list-entries)
9774 (tabulated-list-padding, tabulated-list-printer)
9775 (tabulated-list-sort-key): Declare with `defvar-local'.
9776 (tabulated-list-init-header, tabulated-list-print-fake-header):
9777 Use `setq-local'.
9778
9779 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9780
9781 * arc-mode.el (archive-mode): Add `archive-write-file' to
9782 `write-contents-functions' also for remote files. (Bug#14652)
9783
9784 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9785
9786 * cus-edit.el (custom-commands): Fix typos.
9787 (custom-display): Fix tooltip text.
9788 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9789 Fix typos in docstrings.
9790 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9791 (custom-unlispify-menu-entry, custom-magic-value-create)
9792 (custom-add-see-also, custom-group-value-create): Use ?\s.
9793 (custom-guess-type, customize-apropos, editable-field)
9794 (custom-face-value-create): Use `string-match-p'.
9795 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9796
9797 * custom.el (custom-load-symbol): Use `string-match-p'.
9798
9799 * ansi-color.el: Convert to lexical binding.
9800 (ansi-colors): Fix URL.
9801 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9802 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9803 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9804
9805 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9806
9807 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9808
9809 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9810
9811 2013-06-19 Tom Tromey <tromey@redhat.com>
9812
9813 * net/eww.el (eww-top-url): Remove.
9814 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9815 (eww-render): Set new variables. Don't set eww-top-url.
9816 (eww-handle-link): Handle "prev", "home", and "contents".
9817 Downcase the rel text.
9818 (eww-top-url): Choose best top URL.
9819
9820 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9821
9822 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9823 relying in widget.el. Using widget.el leads to too many
9824 user interface inconsistencies.
9825 (eww-self-insert): Implement entering commands in text fields.
9826 (eww-process-text-input): New function to make text input field editing
9827 work.
9828 (eww-submit): Rewrite to use the new-style form methods.
9829 (eww-select-display): Display the correct selected item.
9830 (eww-change-select): Implement changing the select value.
9831 (eww-toggle-checkbox): Implement radio/checkboxes.
9832 (eww-update-field): Fix compilation error.
9833 (eww-tag-textarea): Implement <textarea>.
9834
9835 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9836 we don't shadow mode-specific bindings.
9837
9838 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9839 nothing to push.
9840
9841 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9842
9843 2013-06-19 Glenn Morris <rgm@gnu.org>
9844
9845 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9846
9847 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9848
9849 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9850 not needed.
9851
9852 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9853
9854 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9855
9856 * net/browse-url.el (browse-url-browser-function):
9857 `eww-browse-url' has the right calling signature, `eww' does not.
9858
9859 2013-06-19 Glenn Morris <rgm@gnu.org>
9860
9861 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9862 Only eval autoloaded macros.
9863 (byte-compile-autoload): Only give the macro warning for macros.
9864
9865 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9866 (ps-underlined-faces): Declare.
9867
9868 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9869 (speedbar-add-supported-extension): Declare.
9870
9871 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9872 Don't include a date stamp in the header of the generated file;
9873 it leads to needless differences between output files.
9874
9875 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * net/secrets.el (secrets-struct-secret-content-type):
9878 Replace check of introspection data by a test call of "CreateItem".
9879 Some servers do not offer introspection.
9880
9881 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * electric.el (electric-pair-mode): Improve interaction with
9884 electric-layout-mode.
9885 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9886 (electric-pair-syntax): Use text-mode-syntax-table in comments
9887 and strings.
9888 (electric-pair--insert): New function.
9889 (electric-pair-post-self-insert-function): Use it and
9890 electric--after-char-pos.
9891
9892 2013-06-19 Leo Liu <sdl.web@gmail.com>
9893
9894 * progmodes/octave.el (octave-help): Fix regexp.
9895
9896 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9897
9898 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9899 (shr-table-horizontal-line): Allow nil as a value, and change the
9900 default.
9901 (shr-insert-table-ruler): Respect the nil value.
9902
9903 2013-06-18 Tom Tromey <tromey@barimba>
9904
9905 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9906 New defvars.
9907 (eww-open-file): New defun.
9908 (eww-render): Initialize new variables.
9909 (eww-display-html): Handle "link" and "a".
9910 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9911 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9912 (eww-back-url): Rename from eww-previous-url.
9913 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9914 New defuns.
9915
9916 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9917
9918 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9919 Distinguish ternary operator tokens from slash symbol and slash
9920 char literal.
9921
9922 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9923
9924 Convert symbol prettification into minor mode and global minor mode.
9925
9926 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9927 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9928 (prettify-symbols--keywords): Rename from
9929 `prog-prettify-symbols-alist' and make a local defvar.
9930 (prettify-symbols--compose-symbol): Rename from
9931 `prog--prettify-font-lock-compose-symbol'.
9932 (prettify-symbols--make-keywords): Rename from
9933 `prog-prettify-font-lock-symbols-keywords' and simplify.
9934 (prog-prettify-install): Remove.
9935 (prettify-symbols-mode): New minor mode, based on
9936 `prog-prettify-install'.
9937 (turn-on-prettify-symbols-mode): New function.
9938 (global-prettify-symbols-mode): New globalized minor mode.
9939
9940 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9941 * progmodes/cfengine.el (cfengine3-mode):
9942 * progmodes/perl-mode.el (perl-mode): Don't call
9943 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9944
9945 2013-06-18 Juri Linkov <juri@jurta.org>
9946
9947 * files-x.el (modify-file-local-variable-message): New function.
9948 (modify-file-local-variable)
9949 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9950 and call `modify-file-local-variable-message' when it's non-nil.
9951 (add-file-local-variable, delete-file-local-variable)
9952 (add-file-local-variable-prop-line)
9953 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9954 and use it. (Bug#9820)
9955
9956 2013-06-18 Juri Linkov <juri@jurta.org>
9957
9958 * emulation/vi.el (vi-shell-op):
9959 * emulation/vip.el (vip-execute-com, ex-command):
9960 * emulation/viper-cmd.el (viper-exec-bang):
9961 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9962 the call of `shell-command-on-region'. (Bug#14637)
9963
9964 * simple.el (shell-command-on-region): Doc fix.
9965
9966 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9969 (bug#14633).
9970
9971 2013-06-18 Glenn Morris <rgm@gnu.org>
9972
9973 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9974
9975 * newcomment.el (comment-search-forward, comment-search-backward):
9976 Doc fix. (Bug#14376)
9977
9978 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9979
9980 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9981 (buffer-face-mode-invoke): Doc fix.
9982
9983 2013-06-18 Matthias Meulien <orontee@gmail.com>
9984
9985 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9986 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9987
9988 2013-06-18 Glenn Morris <rgm@gnu.org>
9989
9990 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9991 Replace obsolete function generic-make-keywords with its expansion.
9992
9993 * progmodes/python.el (ffap-alist): Declare.
9994
9995 * textmodes/reftex.el (bibtex-mode-map): Declare.
9996
9997 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10000 (package-unpack, package-unpack-single): Return the pkg-dir.
10001 (package-download-transaction): Use it to update package-alist.
10002
10003 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10004
10005 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10006 possible choice.
10007
10008 2013-06-17 Juri Linkov <juri@jurta.org>
10009
10010 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10011
10012 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10013
10014 * emacs-lisp/package.el (package-load-descriptor):
10015 Remove `with-syntax-table' call, `read' doesn't need it.
10016 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10017
10018 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10019
10020 * startup.el (command-line): Expand package name returned by
10021 `package--description-file' (bug#14639).
10022
10023 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10024
10025 * emacs-lisp/package.el (package-load-descriptor): Do not call
10026 `emacs-lisp-mode', just use its syntax table.
10027
10028 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10029
10030 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10031 `font-lock-extra-managed-props' if any prettifying keyword is added.
10032 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10033 (prog-mode): Use `setq-local'.
10034
10035 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * international/characters.el (standard-case-table): Set syntax of ?»
10038 and ?« to punctuation.
10039
10040 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10041
10042 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10043 Save relevant match data before calling `syntax-ppss' (bug#14595).
10044
10045 2013-06-15 Juri Linkov <juri@jurta.org>
10046
10047 * files-x.el (modify-file-local-variable-prop-line): Add local
10048 variables to the end of the existing comment on the first line.
10049 Use `file-auto-mode-skip' to skip interpreter magic line,
10050 and also skip XML declaration.
10051
10052 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * startup.el (package--builtin-versions): New var.
10055 (package-subdirectory-regexp): Remove.
10056 (package--description-file): Hard code its value instead.
10057
10058 * emacs-lisp/package.el: Don't activate packages older than builtin.
10059 (package-obsolete-list): Rename from package-obsolete-alist, and make
10060 it into a simple list of package-desc.
10061 (package-strip-version): Remove.
10062 (package-built-in-p): Use package--builtin-versions.
10063 (package-mark-obsolete): Simplify.
10064 (package-process-define-package): Mark it obsolete if older than the
10065 builtin version.
10066 (package-handle-response): Use line-end-position.
10067 (package-read-archive-contents, package--download-one-archive):
10068 Simplify.
10069 (package--add-to-archive-contents): Skip if older than the builtin or
10070 installed version.
10071 (package-menu-describe-package): Fix last change.
10072 (package-list-unversioned): New var.
10073 (package-menu--generate): Use it.
10074
10075 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10076 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10077 (autoload-builtin-package-versions): New variable.
10078 (autoload-generate-file-autoloads): Use them.
10079 Remove the list of autoloaded functions/macros from the
10080 (autoload...) comments.
10081
10082 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10083
10084 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10085
10086 * simple.el (line-move-partial): Don't jump to the next screen
10087 line as soon as it becomes visible. Instead, continue enlarging
10088 the vscroll until the portion of a tall screen line that's left on
10089 display is about the height of the frame's default font.
10090 (Bug#14567)
10091
10092 2013-06-15 Glenn Morris <rgm@gnu.org>
10093
10094 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10095 compilation-error-regexp-alist void, or local while let-bound.
10096
10097 * progmodes/make-mode.el (makefile-mode-syntax-table):
10098 Treat "=" as punctuation. (Bug#14614)
10099
10100 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * help-fns.el (describe-variable):
10103 Add extra line for permanent-local variables.
10104
10105 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10106
10107 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10108 Add export, import, library. (Bug#9164)
10109 (library): Set indent function.
10110
10111 2013-06-14 Glenn Morris <rgm@gnu.org>
10112
10113 * term/xterm.el (xterm--query):
10114 Stop after first matching handler. (Bug#14615)
10115
10116 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10117
10118 Add support for dired in saveplace.
10119 * dired.el (dired-initial-position-hook): New variable.
10120 (dired-initial-position): Call hook to place cursor position.
10121 * saveplace.el (save-place-to-alist): Add dired position.
10122 (save-place-dired-hook): New function.
10123
10124 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10127 through a symbol rather than letrec.
10128
10129 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10130 (package-desc): Add `dir' field.
10131 (package-desc-full-name): New function.
10132 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10133 (package-maybe-load-descriptor): Remove.
10134 (package-load-all-descriptors): Just call package-load-descriptor.
10135 (package--disabled-p): New function.
10136 (package-desc-vers, package-desc-doc): Remove aliases.
10137 (package--dir): Remove function.
10138 (package-activate): Check if a package is disabled.
10139 (package-process-define-package): New function, extracted from
10140 define-package.
10141 (define-package): Turn into a place holder.
10142 (package-unpack-single, package-tar-file-info):
10143 Use package--description-file.
10144 (package-compute-transaction): Use package--disabled-p.
10145 (package-download-transaction): Don't call
10146 package-maybe-load-descriptor since they're all loaded anyway.
10147 (package-install): Change argument to be a pkg-desc.
10148 (package-delete): Use a single pkg-desc argument.
10149 (describe-package-1): Use package-desc-dir instead of package--dir.
10150 Use package-desc property instead of package-symbol.
10151 (package-install-button-action): Adjust accordingly.
10152 (package--push): Rewrite.
10153 (package-menu--print-info): Adjust accordingly. Change the ID format
10154 to be a pkg-desc.
10155 (package-menu-describe-package, package-menu-get-status)
10156 (package-menu--find-upgrades, package-menu-mark-upgrades)
10157 (package-menu-execute, package-menu--name-predicate):
10158 Adjust accordingly.
10159 * startup.el (package--description-file): New function.
10160 (command-line): Use it.
10161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10162 Use package-desc-version.
10163
10164 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10165 (byte-compile-preprocess): Use it.
10166 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10167 can't quite recognize.
10168 (byte-compile-add-to-list): Remove.
10169 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10170 (cconv-closure-convert): Add assertion.
10171
10172 * emacs-lisp/map-ynp.el: Use lexical-binding.
10173 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10174 Factor out some repeated code.
10175
10176 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * subr.el (with-eval-after-load): New macro.
10179 (eval-after-load): Allow form to be a function.
10180 take advantage of lexical-binding.
10181 (do-after-load-evaluation): Use dolist and adjust to new format.
10182 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10183
10184 2013-06-13 Juri Linkov <juri@jurta.org>
10185
10186 * replace.el (perform-replace): Display "symbol " and other search
10187 modes from `isearch-message-prefix' in the *Help* buffer.
10188
10189 * isearch.el (isearch-query-replace): Add " symbol" and other
10190 possible search modes from `isearch-message-prefix' to the prompt.
10191 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10192 when reading a regexp to collect.
10193
10194 2013-06-13 Juri Linkov <juri@jurta.org>
10195
10196 * isearch.el (word-search-regexp): Match whitespace if the search
10197 string begins or ends in whitespace. The LAX arg is applied to
10198 both ends of the search string. Use `regexp-quote' and explicit
10199 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10200 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10201 boundaries are replaced with symbol boundaries, and characters
10202 between symbols match non-word non-symbol syntax. (Bug#14602)
10203
10204 2013-06-13 Juri Linkov <juri@jurta.org>
10205
10206 * isearch.el (isearch-del-char): Don't exceed the length of
10207 `isearch-string' by the prefix arg. (Bug#14563)
10208
10209 2013-06-13 Juri Linkov <juri@jurta.org>
10210
10211 * isearch.el (isearch-yank-word, isearch-yank-line)
10212 (isearch-char-by-name, isearch-quote-char)
10213 (isearch-printing-char, isearch-process-search-char):
10214 Add optional count prefix arg. (Bug#14563)
10215
10216 * international/isearch-x.el
10217 (isearch-process-search-multibyte-characters):
10218 Add optional count prefix arg.
10219
10220 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10223 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10224 lexical-binding.
10225
10226 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10227
10228 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10229
10230 2013-06-13 Glenn Morris <rgm@gnu.org>
10231
10232 * startup.el (tty-handle-args):
10233 Don't just discard "--" and anything after. (Bug#14608)
10234
10235 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10236
10237 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10238
10239 Implement changes in Secret Service API. Make it backward compatible.
10240 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10241 (secrets-create-item): Use it. Prefix properties with interface.
10242
10243 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10244
10245 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10246 (term-emulate-terminal): Respect term-suppress-hard-newline.
10247
10248 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10249
10250 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10251 Only remove a `thumb-file' overlay. (Bug#14548)
10252
10253 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10254
10255 * mail/reporter.el (reporter-submit-bug-report):
10256 Handle missing package-name. (Bug#14600)
10257
10258 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10259
10260 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10261 (reftex-citation-prompt, reftex-default-bibliography)
10262 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10263 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10264 (reftex-bib-sort-author, reftex-bib-sort-year)
10265 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10266 (reftex-extract-bib-entries-from-thebibliography)
10267 (reftex-get-bibkey-default, reftex-get-bib-names)
10268 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10269 (reftex-format-bib-entry, reftex-parse-bibitem)
10270 (reftex-format-bibitem, reftex-do-citation)
10271 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10272 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10273 (reftex-insert-bib-matches, reftex-format-citation)
10274 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10275 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10276 existing comments into docstrings.
10277
10278 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10279
10280 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10281
10282 2013-06-12 Andreas Schwab <schwab@suse.de>
10283
10284 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10285 for auto-save files.
10286
10287 2013-06-12 Glenn Morris <rgm@gnu.org>
10288
10289 * ido.el (ido-delete-ignored-files): Remove.
10290 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10291 Go back to calling ido-ignore-item-p directly.
10292
10293 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10294
10295 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10296
10297 * ido.el (ido-delete-ignored-files): New function,
10298 split from ido-make-file-list-1.
10299 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10300 (ido-make-file-list-1): Use ido-delete-ignored-files.
10301
10302 2013-06-12 Leo Liu <sdl.web@gmail.com>
10303
10304 * progmodes/octave.el (inferior-octave-startup)
10305 (inferior-octave-completion-table)
10306 (inferior-octave-track-window-width-change)
10307 (octave-eldoc-function-signatures, octave-help)
10308 (octave-find-definition): Use single quoted strings.
10309 (inferior-octave-startup-args): Change default value.
10310 (inferior-octave-startup): Do not hard code "-i" and
10311 "--no-line-editing".
10312 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10313 (inferior-octave-directory-tracker): Use it.
10314 (octave-goto-function-definition): Robustify.
10315 (octave-help): Support highlighting operators in 'See also'.
10316 (octave-find-definition): Find subfunctions only in Octave mode.
10317
10318 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10319
10320 * help-fns.el (help-fns--compiler-macro): If the handler function is
10321 named, then put a link to it.
10322 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10323 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10324 (cl-typep): Use it.
10325 (cl-eval-when): Simplify debug spec.
10326 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10327 compiler-macro function instead of setting `compiler-macro-file'.
10328
10329 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10330
10331 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10332 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10333
10334 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10335 Daniel Hackney <dan@haxney.org>
10336
10337 First part of Daniel Hackney's patch to package.el.
10338 * emacs-lisp/package.el: Use defstruct.
10339 (package-desc): New, main struct.
10340 (package--bi-desc, package--ac-desc): New structs, used to describe the
10341 format in external files.
10342 (package-desc-vers): Replace with package-desc-version accessor.
10343 (package-desc-doc): Replace with package-desc-summary accessor.
10344 (package-activate-1): Remove `package' arg since the pkg-vec now
10345 includes the name.
10346 (define-package): Use package-desc-from-define.
10347 (package-unpack-single): Change file-name arg to be a symbol.
10348 (package--add-to-archive-contents): Use package-desc-create and new
10349 accessor functions to package--ac-desc.
10350 (package-buffer-info, package-tar-file-info): Return a package-desc.
10351 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10352 arg to be a package-desc.
10353 (package-install-file): Adjust accordingly. Use \' to match EOS.
10354 (package--from-builtin): New function.
10355 (describe-package-1, package-menu--generate): Use it.
10356 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10357 (package-generate-autoloads): Idem and return the name of the file.
10358 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10359 Change pkg-info arg to be a package-desc.
10360 Use package-make-ac-desc.
10361 (package-upload-file): Use \' to match EOS.
10362 * finder.el (finder-compile-keywords): Use package-make-builtin.
10363
10364 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * vc/vc.el (vc-deduce-fileset): Change error message.
10367 (vc-read-backend): New function.
10368 (vc-next-action): Use it.
10369
10370 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10371
10372 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10373 (prolog-font-lock-keywords): Use regexp-opt instead.
10374 Don't manually highlight strings.
10375 (prolog-mode-variables): Simplify comment-start-skip.
10376 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10377
10378 * emacs-lisp/generic.el (generic--normalise-comments)
10379 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10380 (generic-mode-set-comments): Use them.
10381 (generic-bracket-support): Use setq-local.
10382 (generic-make-keywords-list): Declare obsolete.
10383
10384 2013-06-11 Glenn Morris <rgm@gnu.org>
10385
10386 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10387 Prettify after setting font-lock-defaults. (Bug#14574)
10388
10389 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10390
10391 * replace.el (query-replace, occur-read-regexp-defaults-function)
10392 (replace-search):
10393 * subr.el (declare-function, number-sequence, local-set-key)
10394 (substitute-key-definition, locate-user-emacs-file)
10395 (with-silent-modifications, split-string, eval-after-load):
10396 Fix typos, remove unneeded backslashes and reflow some docstrings.
10397
10398 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10401 default for Elisp files.
10402
10403 2013-06-11 Glenn Morris <rgm@gnu.org>
10404
10405 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10406 although define-derived-mode was doing this anyway. (Bug#14583)
10407
10408 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10409
10410 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10411 Fix make-variable-buffer-local call to refer to the correct variable.
10412
10413 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10414
10415 * eshell/em-term.el (eshell-visual-commands)
10416 (eshell-visual-subcommands, eshell-visual-options):
10417 Add summary line to docstrings. Add cross-references.
10418
10419 2013-06-10 Glenn Morris <rgm@gnu.org>
10420
10421 * epa.el (epa-read-file-name): New function. (Bug#14510)
10422 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10423
10424 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10425
10426 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10427 output redirection to be ignored with visual commands.
10428
10429 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10430
10431 * eshell/em-term.el (eshell-visual-command-p): New function.
10432 (eshell-term-initialize): Move long lambda to separate function
10433 eshell-visual-command-p.
10434 * eshell/em-dirs.el (eshell-dirs-initialise):
10435 * eshell/em-script.el (eshell-script-initialize):
10436 Add missing #' to lambda.
10437
10438 2013-06-08 Leo Liu <sdl.web@gmail.com>
10439
10440 * progmodes/octave.el (octave-add-log-current-defun): New function.
10441 (octave-mode): Set add-log-current-defun-function.
10442 (octave-goto-function-definition): Do not move point if not found.
10443 (octave-find-definition): Enhance to try subfunctions first.
10444
10445 2013-06-08 Glenn Morris <rgm@gnu.org>
10446
10447 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10448 (byte-compile-backward-char, byte-compile-backward-word):
10449 Improve previous change, to handle non-explicit nil.
10450
10451 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10454 (smie--opener/closer-at-point): New function.
10455 (smie--matching-block-data): Use it. Don't match from right after an
10456 opener or right before a closer. Obey smie-blink-matching-inners.
10457 Don't signal a mismatch for repeated inners like "switch..case..case".
10458
10459 2013-06-07 Leo Liu <sdl.web@gmail.com>
10460
10461 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10462 to t. (Bug#14303)
10463 (octave-function-header-regexp): Fix. (Bug#14570)
10464 (octave-help-mode-finish-hook, octave-help-mode-finish):
10465 Remove. Just use temp-buffer-show-hook.
10466
10467 * newcomment.el (comment-search-backward): Revert last change.
10468 (Bug#14434)
10469
10470 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10471
10472 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10473
10474 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10475 through xargs, to avoid failure due to MS-Windows limitations on
10476 command-line length.
10477
10478 2013-06-06 Glenn Morris <rgm@gnu.org>
10479
10480 * font-lock.el (lisp-font-lock-keywords-2):
10481 Treat user-error like error.
10482
10483 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10484 (byte-compile-backward-char, byte-compile-backward-word):
10485 Handle explicit nil arguments. (Bug#14565)
10486
10487 2013-06-05 Alan Mackenzie <acm@muc.de>
10488
10489 * isearch.el (isearch-allow-prefix): New user option.
10490 (isearch-other-meta-char): Don't exit isearch when a prefix
10491 argument is typed whilst `isearch-allow-prefix' is non-nil.
10492 (Bug#9706)
10493
10494 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * autorevert.el (auto-revert-notify-handler): Use memq.
10497 Hide assertion failure.
10498
10499 * skeleton.el: Use cl-lib.
10500 (skeleton-further-elements): Use defvar-local.
10501 (skeleton-insert): Use cl-progv.
10502
10503 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10504
10505 * progmodes/prog-mode.el (prog-prettify-symbols)
10506 (prog-prettify-install): Update docstrings.
10507
10508 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * simple.el: Move all the prog-mode code to prog-mode.el.
10511 * progmodes/prog-mode.el: New file.
10512 * loadup.el: Add prog-mode.el.
10513
10514 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10515
10516 * simple.el (prog-prettify-symbols): Add version.
10517 (prog-prettify-install): Add convenience function to prettify symbols.
10518
10519 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10520 (perl--augmented-font-lock-keywords-1)
10521 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10522 variables and use it.
10523
10524 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10525 (cfengine3-mode): Remove unneeded variable and use it.
10526
10527 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10528 (lisp--augmented-font-lock-keywords-1)
10529 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10530 Remove unneeded variables and use it.
10531
10532 2013-06-05 João Távora <joaotavora@gmail.com>
10533
10534 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10535 to point when opening the connection. (Bug#14380)
10536
10537 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10538
10539 * subr.el (load-history-regexp, load-history-filename-element)
10540 (eval-after-load, after-load-functions, do-after-load-evaluation)
10541 (eval-next-after-load, display-delayed-warnings)
10542 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10543 definition of save-match-data.
10544 (overriding-local-map): Remove accidental obsolescence declaration.
10545
10546 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10547
10548 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10549
10550 Generalize symbol prettify support to prog-mode and implement it
10551 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10552 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10553 (prog--prettify-font-lock-compose-symbol)
10554 (prog-prettify-font-lock-symbols-keywords): New variables and
10555 functions to support symbol prettification.
10556 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10557 (lisp--augmented-font-lock-keywords-1)
10558 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10559 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10560 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10561 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10562 Implement prettify of -> => :: strings.
10563 * progmodes/perl-mode.el (perl-prettify-symbols)
10564 (perl--font-lock-compose-symbol)
10565 (perl--font-lock-symbols-keywords): Move to prog-mode.
10566 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10567 (perl-font-lock-keywords-1)
10568 (perl-font-lock-keywords-2): Remove explicit prettify support.
10569 (perl--augmented-font-lock-keywords)
10570 (perl--augmented-font-lock-keywords-1)
10571 (perl--augmented-font-lock-keywords-2, perl-mode):
10572 Implement prettify support.
10573
10574 2013-06-05 Leo Liu <sdl.web@gmail.com>
10575
10576 Re-implement smie matching block highlight using
10577 show-paren-data-function. (Bug#14395)
10578 * emacs-lisp/smie.el (smie-matching-block-highlight)
10579 (smie--highlight-matching-block-overlay)
10580 (smie--highlight-matching-block-lastpos)
10581 (smie-highlight-matching-block)
10582 (smie-highlight-matching-block-mode): Remove.
10583 (smie--matching-block-data-cache): New variable.
10584 (smie--matching-block-data): New function.
10585 (smie-setup): Use smie--matching-block-data for
10586 show-paren-data-function.
10587
10588 * progmodes/octave.el (octave-mode-menu): Fix.
10589 (octave-find-definition): Skip garbage lines.
10590
10591 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 Fix compilation error with simultaneous dynamic+lexical scoping.
10594 Add warning when a defvar appears after the first let-binding.
10595 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10596 (byte-compile-close-variables): Initialize it.
10597 (byte-compile--declare-var): New function.
10598 (byte-compile-file-form-defvar)
10599 (byte-compile-file-form-define-abbrev-table)
10600 (byte-compile-file-form-custom-declare-variable): Use it.
10601 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10602 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10603 (byte-compile-bind): Handle dynamic bindings that shadow
10604 lexical bindings.
10605 (byte-compile-unbind): Make arg non-optional.
10606 (byte-compile-let): Simplify.
10607 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10608 (cconv--analyse-function, cconv-analyse-form): Populate it.
10609 Protect byte-compile-bound-variables to limit the scope of defvars.
10610 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10611 Remove unneeded rule for `declare'.
10612
10613 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10614 so as to avoid depending on cl-adjoin at run-time.
10615 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10616
10617 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10618 (macroexp--warn-and-return): Use it.
10619
10620 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * subr.el: Convert to lexical binding.
10623 (overriding-local-map): Make obsolete.
10624 (add-to-list): Doc fix. Add compiler macro.
10625 (read-key): Swap values of local maps.
10626
10627 2013-06-05 Leo Liu <sdl.web@gmail.com>
10628
10629 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10630
10631 2013-06-04 Leo Liu <sdl.web@gmail.com>
10632
10633 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10634 (compilation-auto-jump): Suppress the "Mark set" message to give
10635 way to exit message.
10636
10637 2013-06-04 Alan Mackenzie <acm@muc.de>
10638
10639 Remove faulty optimisation from indentation calculation.
10640 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10641 search limit based on 2000 characters back from indent-point.
10642
10643 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10644
10645 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10646
10647 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10648
10649 * emacs-lisp/lisp.el: Use lexical-binding.
10650 (lisp--local-variables-1, lisp--local-variables): New functions.
10651 (lisp--local-variables-completion-table): New var.
10652 (lisp-completion-at-point): Use it complete let-bound vars.
10653
10654 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10655 eagerly (bug#14422).
10656
10657 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10658
10659 * autorevert.el (auto-revert-notify-enabled)
10660 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10661 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10662 (auto-revert-notify-handler): Handle also gfilenotify.
10663
10664 * subr.el (file-notify-handle-event): New defun. Replacing ...
10665 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10666 Remove.
10667
10668 2013-06-03 Juri Linkov <juri@jurta.org>
10669
10670 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10671 `M-s h .'. (Bug#14427)
10672
10673 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10674 command `hi-lock-face-symbol-at-point'.
10675 (hi-lock-face-symbol-at-point): New command.
10676 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10677 (hi-lock-menu): Add `highlight-symbol-at-point'.
10678 (hi-lock-mode): Doc fix.
10679
10680 * isearch.el (isearch-forward-symbol-at-point): New command.
10681 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10682 (isearch-highlight-regexp): Add a regexp which matches
10683 words/symbols for word/symbol mode.
10684
10685 * subr.el (find-tag-default-bounds): New function with the body
10686 mostly moved from `find-tag-default'.
10687 (find-tag-default): Move most code to `find-tag-default-bounds',
10688 call it and apply `buffer-substring-no-properties' afterwards.
10689
10690 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10691
10692 * eshell/em-term.el (eshell-term-initialize):
10693 Use `cl-intersection' rather than `intersection'.
10694
10695 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10696
10697 * vc/log-view.el: Doc fix.
10698 (log-view-mode-map): Copy keymap from `special-mode-map'.
10699
10700 2013-06-02 Eric Ludlam <zappo@gnu.org>
10701
10702 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10703 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10704 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10705 (eieio-unbound, eieio-default-superclass)
10706 (eieio--define-field-accessors, method-static, method-before)
10707 (method-primary, method-after, method-num-lists)
10708 (method-generic-before, method-generic-primary)
10709 (method-generic-after, method-num-slots)
10710 (eieio-specialized-key-to-generic-key)
10711 (eieio--check-type, class-v, class-p)
10712 (eieio-class-name, define-obsolete-function-alias)
10713 (eieio-class-parents-fast, eieio-class-children-fast)
10714 (same-class-fast-p, class-constructor, generic-p)
10715 (generic-primary-only-p, generic-primary-only-one-p)
10716 (class-option-assoc, class-option, eieio-object-p)
10717 (class-abstract-p, class-method-invocation-order)
10718 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10719 (eieio-class-un-autoload, eieio-defclass)
10720 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10721 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10722 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10723 (eieio-defgeneric-reset-generic-form)
10724 (eieio-defgeneric-form-primary-only)
10725 (eieio-defgeneric-reset-generic-form-primary-only)
10726 (eieio-defgeneric-form-primary-only-one)
10727 (eieio-defgeneric-reset-generic-form-primary-only-one)
10728 (eieio-unbind-method-implementations)
10729 (eieio--defmethod, eieio--typep)
10730 (eieio-perform-slot-validation, eieio-validate-slot-value)
10731 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10732 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10733 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10734 (eieio-slot-name-index, eieio-class-slot-name-index)
10735 (eieio-set-defaults, eieio-initarg-to-attribute)
10736 (eieio-attribute-to-initarg, eieio-c3-candidate)
10737 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10738 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10739 (eieio-class-precedence-list, eieio-generic-call-methodname)
10740 (eieio-generic-call-arglst, eieio-generic-call-key)
10741 (eieio-generic-call-next-method-list)
10742 (eieio-pre-method-execution-functions, eieio-generic-call)
10743 (eieio-generic-call-primary-only, eieiomt-method-list)
10744 (eieiomt-optimizing-obarray, eieiomt-install)
10745 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10746 (eieio-generic-form, eieio-defmethod, make-obsolete)
10747 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10748 (defclass): Remove `eval-and-compile' from macro.
10749 (call-next-method, shared-initialize): Instead of using
10750 `scoped-class' variable, use new eieio--scoped-class, and
10751 eieio--with-scoped-class.
10752 (initialize-instance): Rename local variable 'scoped-class' to
10753 'this-class' to remove ambiguitity from old global.
10754
10755 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10756 eieio.el.
10757 (eieio--scoped-class-stack): New variable.
10758 (eieio--scoped-class): New fcn.
10759 (eieio--with-scoped-class): New scoping macro.
10760 (eieio-defclass): Use pushnew instead of add-to-list.
10761 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10762 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10763 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10764 `scoped-class' variable, use new eieio--scoped-class, and
10765 eieio--with-scoped-class.
10766
10767 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10768
10769 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10770
10771 * eshell/esh-ext.el (eshell-external-command): Pass args to
10772 `eshell-find-interpreter'.
10773 (eshell-find-interpreter): Add new second parameter ARGS.
10774
10775 * eshell/em-script.el (eshell-script-initialize): Add second arg
10776 to the function added as MATCH to `eshell-interpreter-alist'.
10777
10778 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10779 the function added as MATCH to `eshell-interpreter-alist'.
10780
10781 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10782 (eshell-visual-options): New defcustom.
10783 (eshell-escape-control-x): Adapt docstring.
10784 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10785 `eshell-visual-options' in addition to `eshell-visual-commands'.
10786 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10787
10788 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10789
10790 * progmodes/python.el (python-indent-block-enders): Add break,
10791 continue and raise keywords.
10792
10793 2013-06-01 Glenn Morris <rgm@gnu.org>
10794
10795 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10796
10797 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10798 * progmodes/cc-cmds.el (delete-forward-p):
10799 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10800 * progmodes/cc-engine.el (buffer-syntactic-context):
10801 * progmodes/cc-fonts.el (face-property-instance):
10802 * progmodes/cc-mode.el (set-keymap-parents):
10803 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10804 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10805 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10806 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10807 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10808
10809 * progmodes/cc-vars.el (other): Emacs has this widget since
10810 at least 21.1, so don't (re)define it.
10811
10812 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10813 Replace the obsolete alias pcomplete-arg-quote-list.
10814
10815 2013-06-01 Leo Liu <sdl.web@gmail.com>
10816
10817 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10818 punctuation syntax.
10819 (inferior-octave-minimal-columns)
10820 (inferior-octave-last-column-width): New variables.
10821 (inferior-octave-track-window-width-change): New function.
10822 (inferior-octave-mode): Adjust column width so that Octave output,
10823 for example from 'ls', can fit into the window nicely.
10824
10825 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10826
10827 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10828 Highlight expansions inside regexp literals.
10829
10830 2013-05-31 Glenn Morris <rgm@gnu.org>
10831
10832 * obsolete/sym-comp.el (symbol-complete):
10833 Replace obsolete completion-annotate-function.
10834
10835 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10836
10837 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10838
10839 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10840 New function, checks if point is inside a literal that allows
10841 expression expansion.
10842 (ruby-syntax-propertize-expansion): Use it.
10843 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10844 around the body.
10845
10846 2013-05-30 Juri Linkov <juri@jurta.org>
10847
10848 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10849 to "\M-si".
10850 (isearch-invisible): New variable.
10851 (isearch-forward): Doc fix.
10852 (isearch-mode): Set `isearch-invisible'
10853 to the value of `search-invisible'.
10854 (isearch-toggle-case-fold): Doc fix.
10855 (isearch-toggle-invisible): New command.
10856 (isearch-query-replace): Let-bind `search-invisible'
10857 to the value of `isearch-invisible'.
10858 (isearch-search): Use `isearch-invisible' instead of
10859 `search-invisible'. Let-bind `search-invisible'
10860 to the value of `isearch-invisible'. (Bug#11378)
10861
10862 2013-05-30 Juri Linkov <juri@jurta.org>
10863
10864 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10865 call when `query-flag' is nil and `search-invisible' is non-nil.
10866 (Bug#11746)
10867
10868 2013-05-30 Glenn Morris <rgm@gnu.org>
10869
10870 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10871
10872 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10873 (cc-require): Suppress spurious "noruntime" warnings.
10874 (cc-require-when-compile): Use fboundp, for sake of compiler.
10875
10876 * progmodes/cc-mode.el: Move load of cc-vars before that of
10877 cc-langs (which in turn loads cc-vars), to quieten compiler.
10878
10879 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10880
10881 * paren.el: Simplify the code.
10882 (show-paren-mode): Always start the timer.
10883 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10884 (show-paren--overlay, show-paren--overlay-1): Rename from
10885 show-paren-overlay and show-paren-overlay-1, and initialize to an
10886 overlay rather than to nil.
10887 (show-paren-function): Misc cleanup and simplifications.
10888
10889 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * paren.el (show-paren-data-function): New hook.
10892 (show-paren--default): New function, extracted from show-paren-function.
10893 (show-paren-function): Use show-paren-data-function.
10894
10895 2013-05-30 Glenn Morris <rgm@gnu.org>
10896
10897 * ielm.el (ielm-map, ielm-complete-symbol):
10898 Use completion-at-point rather than obsolete functions.
10899 (inferior-emacs-lisp-mode): Doc fix.
10900 Set completion-at-point-functions, rather than
10901 comint-dynamic-complete-functions.
10902
10903 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10904 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10905 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10906
10907 * image.el (image-animated-p): Tweak definition.
10908
10909 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10910 (rlogin-process-connection-type): Tweak default. Add set-after.
10911 (rlogin-host): Doc fix.
10912 (rlogin): Tweak prompt.
10913 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10914
10915 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10916 * progmodes/tcl.el (inferior-tcl-mode-map):
10917 Use completion-at-point rather than obsolete alias.
10918
10919 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10920
10921 * minibuffer.el (read-file-name-completion-ignore-case):
10922 Move before completion--in-region, for eager macro expansion.
10923
10924 2013-05-29 Juri Linkov <juri@jurta.org>
10925
10926 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10927 for total count of matching lines. Add `global-matches' for total
10928 count of matches. Rename `matches' to `lines' for count of
10929 matching lines. Add `matches' for count of matches.
10930 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10931 to `prev-line' for line number of prev match endpt.
10932 Increment `matches' for every match. Print the number of
10933 matching lines in the header.
10934 (occur-context-lines): Rename `lines' to `curr-line'.
10935 Rename `prev-lines' to `prev-line'. (Bug#14017)
10936
10937 2013-05-29 Juri Linkov <juri@jurta.org>
10938
10939 * replace.el (perform-replace): Add `skip-read-only-count',
10940 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10941 Increment them for corresponding conditions and report the number
10942 of skipped occurrences in the final message. (Bug#11746)
10943 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10944 (replace-string, replace-regexp): Doc fix.
10945
10946 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10949
10950 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10951 prog-mode-map (bug#14504).
10952
10953 2013-05-29 Leo Liu <sdl.web@gmail.com>
10954
10955 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10956 (octave-help): Small simplification.
10957
10958 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10959 off the highlight first.
10960
10961 2013-05-29 Glenn Morris <rgm@gnu.org>
10962
10963 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10964 Handle idlwave-last-system-routine-info-cons-cell being nil.
10965
10966 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10967 (idlwave-write-paths): Simplify via with-temp-buffer.
10968
10969 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10970 * emulation/cua-rect.el: Also load cua-base at run time.
10971
10972 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10973 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10974 (cperl-imenu-on-info): Require imenu.
10975
10976 2013-05-28 Alan Mackenzie <acm@muc.de>
10977
10978 Handle "capitalised keywords" correctly.
10979 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10980
10981 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10982
10983 * eshell/em-unix.el: Add -r option to cp.
10984
10985 2013-05-28 Glenn Morris <rgm@gnu.org>
10986
10987 * vc/vc-arch.el (vc-exec-after): Declare.
10988 (vc-switches): Autoload.
10989 * vc/vc-bzr.el: No need to require vc when compiling.
10990 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10991 (vc-resynch-buffer, vc-dir-refresh): Declare.
10992 (vc-setup-buffer, vc-switches): Autoload.
10993 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10994 (vc-resynch-buffer): Declare.
10995 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10996 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10997 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10998 (grep-read-regexp, grep-read-files, grep-expand-template)
10999 (vc-dir-refresh): Declare.
11000 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11001 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11002 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11003 * vc/vc-mtn.el (vc-exec-after): Declare.
11004 (vc-switches): Autoload.
11005 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11006 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11007 (vc-file-tree-walk): Declare.
11008 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11009 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11010 (vc-tag-precondition, vc-rename-master): Autoload.
11011 * vc/vc-svn.el (vc-exec-after): Declare.
11012 (vc-switches, vc-setup-buffer): Autoload.
11013 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11014 Autoload.
11015 (vc-resynch-buffer): Declare.
11016
11017 * obsolete/fast-lock.el (byte-compile-warnings):
11018 Don't warn about obsolete features in this obsolete file.
11019
11020 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11021 Move definition before use.
11022
11023 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11024 (dun-unix-verbs): Remove dun-zippy.
11025 (dun-zippy): Remove function.
11026
11027 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11028
11029 2013-05-27 Juri Linkov <juri@jurta.org>
11030
11031 * replace.el (replace-search): New function with code moved out
11032 from `perform-replace'.
11033 (replace-highlight, replace-dehighlight): Move function definitions
11034 up closer to `replace-search'. (Bug#11746)
11035
11036 2013-05-27 Juri Linkov <juri@jurta.org>
11037
11038 * replace.el (perform-replace): Ignore invisible matches.
11039 In addition to checking `query-replace-skip-read-only', also
11040 filter out matches by calling `run-hook-with-args-until-failure'
11041 on `isearch-filter-predicates', and also check `search-invisible'
11042 for t or call `isearch-range-invisible'.
11043 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11044
11045 2013-05-27 Juri Linkov <juri@jurta.org>
11046
11047 * isearch.el (isearch-filter-predicates): Rename from
11048 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11049 (isearch-message-prefix): Display text from the property
11050 `isearch-message-prefix' of the currently active filters.
11051 (isearch-search): Don't compare `isearch-filter-predicate' with
11052 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11053 on `isearch-filter-predicates'. Also check `search-invisible' for t
11054 or call `isearch-range-invisible'.
11055 (isearch-filter-visible): Make obsolete.
11056 (isearch-lazy-highlight-search):
11057 Call `run-hook-with-args-until-failure' on
11058 `isearch-filter-predicates' and use `isearch-range-invisible'.
11059
11060 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11061 `isearch-filter-predicates' instead of `funcall'ing
11062 `isearch-filter-predicate'.
11063 (Info-mode): Set `Info-isearch-filter' to
11064 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11065
11066 * dired-aux.el (dired-isearch-filter-predicate-orig):
11067 Remove variable.
11068 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11069 (dired-isearch-filenames-end): Add and remove
11070 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11071 instead of changing the value of `isearch-filter-predicate'.
11072 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11073 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11074 Put property `isearch-message-prefix' to "filename " on
11075 `dired-isearch-filter-filenames'.
11076
11077 * wdired.el (wdired-change-to-wdired-mode):
11078 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11079 locally instead of changing `isearch-filter-predicate'.
11080 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11081
11082 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11083
11084 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11085 return the commit hash (Bug#14459). Also set the
11086 `vc-git-detached' property.
11087 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11088 (vc-git-mode-line-string): Use the same help-echo format whether
11089 in detached mode or not, because we know the actual revision now.
11090 When in detached mode, shorten the revision to 7 chars.
11091
11092 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * emacs-lisp/easy-mmode.el (define-minor-mode):
11095 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11096 mode hook and provide a docstring.
11097
11098 2013-05-27 Alan Mackenzie <acm@muc.de>
11099
11100 Remove spurious syntax-table text properties inserted by C-y.
11101 * progmodes/cc-mode.el (c-after-change): Also clear hard
11102 syntax-table property with value nil.
11103
11104 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11105
11106 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11107 when reading the events; the buffer layout shall not be changed.
11108
11109 2013-05-27 Leo Liu <sdl.web@gmail.com>
11110
11111 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11112 New variable.
11113 (inferior-octave-directory-tracker): Automatically re-sync
11114 default-directory.
11115 (octave-help): Improve handling of 'See also'.
11116
11117 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * doc-view.el: Minor naming convention tweaks.
11120 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11121
11122 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11123 even if there's no `display' property yet (bug#14435).
11124
11125 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11126
11127 * subr.el (unmsys--file-name): Rename from reveal-filename.
11128
11129 * Makefile.in (custom-deps, finder-data, autoloads)
11130 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11131 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11132 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11133
11134 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11137 error-completion on the first 2 args of condition-case (bug#14446).
11138 Don't burp at EOB.
11139
11140 2013-05-25 Leo Liu <sdl.web@gmail.com>
11141
11142 * comint.el (comint-previous-matching-input): Do not flood the
11143 *Messages* buffer with trivial messages.
11144
11145 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * progmodes/flymake.el (flymake-nop): Don't return a string.
11148 (flymake-set-at): Fix typo.
11149
11150 * simple.el (read--expression): New function, extracted from
11151 eval-expression. Set completion-at-point-functions (bug#14465).
11152 (eval-expression, eval-minibuffer): Use it.
11153
11154 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11155
11156 * progmodes/flymake.el (flymake-save-buffer-in-file)
11157 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11158 (flymake-selected-frame, flymake-log, flymake-ins-after)
11159 (flymake-set-at, flymake-get-buildfile-from-cache)
11160 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11161 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11162 Refine the doc string.
11163 (flymake-get-file-name-mode-and-masks): Reformat.
11164 (flymake-get-real-file-name-function): Fix a minor bug.
11165
11166 2013-05-24 Juri Linkov <juri@jurta.org>
11167
11168 * progmodes/grep.el (grep-mode-font-lock-keywords):
11169 Support =linenumber= format used by git-grep for lines with
11170 function names. (Bug#13549)
11171
11172 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11175 0 after a semi-colon; it works better for smie-auto-fill.
11176 (octave--indent-new-comment-line): New function.
11177 (octave-indent-new-comment-line): Use it (indirectly).
11178 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11179 modify comment-line-break-function.
11180
11181 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11182 (smie-setup): Use add-function to set it.
11183
11184 2013-05-24 Sam Steingold <sds@gnu.org>
11185
11186 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11187 argument (before the `interactive' argument).
11188
11189 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * image-mode.el (image-mode-winprops): Add winprops to
11192 image-mode-winprops-alist before running
11193 image-mode-new-window-functions.
11194 * doc-view.el (doc-view-new-window-function): Don't delay
11195 doc-view-goto-page via timers (bug#14435).
11196
11197 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11198
11199 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11200 (doc-view-desktop-save-buffer): New function.
11201 (doc-view-restore-desktop-buffer): New function.
11202 (desktop-buffer-mode-handlers):
11203 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11204 handler.
11205 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11206 `desktop-save-buffer' function.
11207
11208 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11209
11210 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11211 (tramp-gvfs-file-name-handler): Raise a user error when
11212 `tramp-gvfs-enabled' is nil.
11213 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11214 Do not raise a user error when loading package. (Bug#14447)
11215
11216 * net/xesam.el: Move to obsolete/.
11217
11218 2013-05-24 Glenn Morris <rgm@gnu.org>
11219
11220 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11221
11222 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11223
11224 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11225 (Info-find-node, Man-getpage-in-background): Declare.
11226
11227 * mail/unrmail.el (unrmail):
11228 Replace obsolete detect-coding-with-priority.
11229
11230 * net/socks.el (socks-split-string): Use this rather than split-string.
11231 (socks-nslookup-host): Update for above change.
11232 (dynamic-choice, s5-dynamic-choice-match)
11233 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11234 Comment out unused code.
11235
11236 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11237 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11238 (gud-tooltip-echo-area): Make obsolete.
11239 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11240
11241 * progmodes/js.el (js--optimize-arglist): Declare.
11242
11243 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11244
11245 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11246 (ediff-window-C): Declare.
11247
11248 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11249 Tweak requires to silence compiler.
11250
11251 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11252 (he-search-string, he-tried-table, he-expand-list)
11253 (he-init-string, he-string-member, he-substitute-string)
11254 (he-reset-string): Declare.
11255
11256 * obsolete/options.el (list-options): Use custom-variable-p,
11257 rather than obsolete alias.
11258
11259 2013-05-23 Sam Steingold <sds@gnu.org>
11260
11261 * simple.el (shell-command-on-region): Pass the `replace' argument
11262 down to `call-process-region' to comply with the doc as reported on
11263 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11264
11265 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/smie.el (smie-indent-forward-token)
11268 (smie-indent-backward-token): Handle string tokens (bug#14381).
11269
11270 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11271
11272 * ielm.el (ielm-menu): New menu.
11273 (inferior-emacs-lisp-mode): Set comment-start.
11274
11275 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11276
11277 * textmodes/reftex.el (reftex-ref-style-toggle):
11278 Fix deactivate action.
11279
11280 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11281 Add cleveref macros.
11282
11283 * textmodes/reftex-parse.el
11284 (reftex-locate-bibliography-files): Accept options for
11285 bibliography commands.
11286 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11287 Add addbibresource. Basic Biblatex support.
11288
11289 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11290
11291 * net/tramp-gvfs.el (top):
11292 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11293 when loading package. (Bug#14447)
11294
11295 2013-05-23 Glenn Morris <rgm@gnu.org>
11296
11297 * progmodes/js.el: No need to load comint when compiling.
11298 (ring-insert, comint-send-string, comint-send-input)
11299 (comint-last-input-end, ido-chop): Declare.
11300
11301 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11302 * vc/ediff-mult.el: Adjust requires.
11303 (ediff-directories-internal, ediff-directory-revisions-internal)
11304 (ediff-patch-file-internal): Declare.
11305 * vc/ediff-ptch.el: Adjust requires.
11306 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11307 (ediff-find-file): Autoload.
11308 * vc/ediff-util.el: No need to load ediff when compiling.
11309 (ediff-regions-internal): Declare.
11310 * vc/ediff-wind.el: Adjust requires.
11311 (ediff-compute-toolbar-width): Define when compiling.
11312 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11313 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11314 (dired-get-filename, dired-get-marked-files)
11315 (ediff-last-dir-patch, ediff-patch-default-directory)
11316 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11317 (ediff-patch-buffer-internal): Declare.
11318
11319 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11320 (ispell-process, ispell-buffer-local-words, lm-summary)
11321 (lm-section-start, lm-section-end): Declare.
11322 (checkdoc-ispell-init): Simplify.
11323
11324 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11325 (he-string-member, he-reset-string, he-substitute-string): Declare.
11326
11327 * eshell/em-ls.el: Adjust requires.
11328 (eshell-glob-regexp): Declare.
11329 * eshell/em-tramp.el: Adjust requires.
11330 (eshell-parse-command): Autoload.
11331 * eshell/em-xtra.el: Adjust requires.
11332 (eshell-parse-command): Autoload.
11333 * eshell/esh-ext.el: Adjust requires.
11334 (eshell-parse-command, eshell-close-handles): Autoload.
11335 * eshell/esh-io.el: Adjust requires.
11336 (eshell-output-filter): Autoload.
11337 * eshell/esh-util.el: No need to load tramp when compiling.
11338 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11339 Declare.
11340 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11341 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11342 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11343 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11344 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11345 * eshell/esh-opt.el, eshell/esh-proc.el:
11346 * eshell/esh-var.el: Adjust requires.
11347 * eshell/eshell.el: Do not require esh-util twice.
11348 (eshell-add-input-to-history): Declare.
11349 (eshell-command): Check history module is active before using it.
11350
11351 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11352
11353 2013-05-22 Leo Liu <sdl.web@gmail.com>
11354
11355 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11356
11357 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11358
11359 * autorevert.el (auto-revert-notify-add-watch)
11360 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11361 it indicates changes in file modification time.
11362
11363 2013-05-22 Glenn Morris <rgm@gnu.org>
11364
11365 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11366 Always delete the autoloaded function from the noruntime and
11367 unresolved functions lists.
11368
11369 * allout.el: No need to load epa, epg, overlay when compiling.
11370 (epg-context-set-passphrase-callback, epg-list-keys)
11371 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11372 (epg-key-user-id-list): Declare.
11373
11374 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11375 (viper-set-parsing-style-toggling-macro)
11376 (viper-set-emacs-state-searchstyle-macros):
11377 Use called-interactively-p on Emacs.
11378 (viper-looking-back): Make it an obsolete alias. Update callers.
11379 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11380 Use looking-back rather than viper-looking-back.
11381 (viper-tmp-insert-at-eob, viper-enlarge-region)
11382 (viper-read-string-with-history, viper-register-to-point)
11383 (viper-append-to-register, viper-change-state-to-vi)
11384 (viper-backward-char-carefully, viper-forward-char-carefully)
11385 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11386 (viper-change-state-to-emacs): Declare.
11387 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11388 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11389 * emulation/viper-mous.el: Do not load viper-cmd.
11390 (viper-backward-char-carefully, viper-forward-char-carefully)
11391 (viper-forward-word, viper-adjust-window): Declare.
11392
11393 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11394
11395 * progmodes/idlw-help.el (idlwave-help-fontify):
11396 Use called-interactively-p.
11397
11398 * term/w32console.el (w32-get-console-codepage)
11399 (w32-get-console-output-codepage): Declare.
11400
11401 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11402 Remove unnecessary declarations.
11403 (dframe-message): Doc fix.
11404
11405 * info.el (dframe-select-attached-frame, dframe-current-frame):
11406 Declare.
11407
11408 * speedbar.el (speedbar-message): Make it an obsolete alias.
11409 Update all callers.
11410 (speedbar-with-attached-buffer)
11411 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11412 (speedbar-with-writable): Use backquote.
11413 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11414 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11415 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11416 rather than speedbar- aliases.
11417 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11418 (speedbar-make-specialized-keymap, speedbar-insert-button)
11419 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11420 (speedbar-do-function-pointer): Declare.
11421 (rmail-speedbar-button, rmail-speedbar-find-file)
11422 (rmail-speedbar-move-message):
11423 Use dframe-with-attached-buffer rather than speedbar- alias.
11424 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11425 (dframe-message, speedbar-make-specialized-keymap)
11426 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11427 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11428 (speedbar-insert-button, dframe-select-attached-frame)
11429 (dframe-maybee-jump-to-attached-frame)
11430 (speedbar-change-initial-expansion-list)
11431 (speedbar-previously-used-expansion-list-name): Declare.
11432 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11433 Use dframe-message, dframe-with-attached-buffer rather than
11434 speedbar- aliases.
11435 (gud-sentinel): Silence compiler.
11436 * progmodes/vhdl-mode.el (speedbar-refresh)
11437 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11438 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11439 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11440 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11441 (speedbar-file-lists, speedbar-make-tag-line)
11442 (speedbar-line-directory, speedbar-goto-this-file)
11443 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11444 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11445 (speedbar-make-button, speedbar-reset-scanners)
11446 (speedbar-files-item-info, speedbar-line-text)
11447 (speedbar-find-file-in-frame, speedbar-set-timer)
11448 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11449 (speedbar-with-writable): Do not (re)define it.
11450 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11451 rather than speedbar- alias.
11452
11453 2013-05-21 Leo Liu <sdl.web@gmail.com>
11454
11455 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11456 menu items.
11457 (octave-mode): Tweak fill-nobreak-predicate.
11458 (inferior-octave-startup): Check process to avoid infinite loop.
11459 (inferior-octave): Pop to buffer first to show abornmal process
11460 exit information.
11461
11462 2013-05-21 Glenn Morris <rgm@gnu.org>
11463
11464 * printing.el (pr-menu-bar): Define when compiling.
11465
11466 2013-05-21 Leo Liu <sdl.web@gmail.com>
11467
11468 * progmodes/octave.el (octave-auto-fill): Remove.
11469 (octave-indent-new-comment-line): Improve.
11470 (octave-mode): Use auto fill mode through
11471 comment-line-break-function and fill-nobreak-predicate.
11472 (octave-goto-function-definition): Support DEFUN_DLD.
11473 (octave-beginning-of-defun): Small tweak.
11474 (octave-help): Show parent directory.
11475
11476 2013-05-21 Glenn Morris <rgm@gnu.org>
11477
11478 * files.el (dired-unmark):
11479 * progmodes/gud.el (gdb-input): Update declarations.
11480
11481 * calculator.el (electric, ehelp): No need to load when compiling.
11482 (Electric-command-loop, electric-describe-mode): Declare.
11483
11484 * doc-view.el (doc-view-current-converter-processes): Move before use.
11485
11486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11487 Move MODE-set-explicitly definition before use.
11488
11489 * international/mule-diag.el (mule-diag):
11490 Don't use obsolete window-system-version.
11491
11492 * mail/feedmail.el (smtpmail): No need to load when compiling.
11493 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11494
11495 * mail/mail-utils.el (rfc822): No need to load when compiling.
11496 (rfc822-addresses): Autoload it.
11497 (mail-strip-quoted-names): Trivial simplification.
11498
11499 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11500 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11501
11502 * net/snmp-mode.el (tempo): Don't duplicate requires.
11503
11504 * progmodes/prolog.el (info): No need to load when compiling.
11505 (comint): Require before shell requires it.
11506 (Info-goto-node): Autoload it.
11507 (Info-follow-nearest-node): Declare.
11508 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11509
11510 * textmodes/artist.el (picture-mode-exit): Declare.
11511
11512 * textmodes/reftex-parse.el (reftex-parse-from-file):
11513 Trivial rewrite so the compiler can parse it better.
11514
11515 2013-05-20 Leo Liu <sdl.web@gmail.com>
11516
11517 * progmodes/octave.el (octave-help-mode-map)
11518 (octave-help-mode-finish-hook): New variables.
11519 (octave-help-mode, octave-help-mode-finish): New functions.
11520 (octave-help): Use octave-help-mode.
11521
11522 2013-05-20 Glenn Morris <rgm@gnu.org>
11523
11524 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11525
11526 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11529 start at point, so that expansion starting right after opening
11530 slash in a regexp is recognized.
11531 (ruby-syntax-before-regexp-re): New defvar, extracted from
11532 ruby-syntax-propertize-function. Since the value of this regexp
11533 is looked up at runtime now, we should be able to turn
11534 `ruby-syntax-methods-before-regexp' into a defcustom later.
11535 (ruby-syntax-propertize-function): Split regexp matching into two
11536 parts, for opening and closing slashes. That allows us to skip
11537 over string interpolations and support multiline regexps.
11538 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11539 for them, which calls `ruby-syntax-propertize-expansion'.
11540 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11541 call to `ruby-syntax-propertize-function'.
11542 (ruby-syntax-propertize-expansion): Extracted from
11543 `ruby-syntax-propertize-expansions'. Handles one expansion.
11544 (ruby-syntax-propertize-percent-literal): Leave point right after
11545 the percent symbol, so that the expression expansion rule can
11546 propertize the contents.
11547 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11548 heredoc openers.
11549 (ruby-syntax-propertize-expansions): Remove.
11550
11551 2013-05-18 Juri Linkov <juri@jurta.org>
11552
11553 * man.el (Man-default-man-entry): Remove `-' from the end
11554 of the default value. (Bug#14400)
11555
11556 2013-05-18 Glenn Morris <rgm@gnu.org>
11557
11558 * comint.el (comint-password-prompt-regexp):
11559 Allow "password for XXX" where XXX contains colons (eg https://...).
11560
11561 2013-05-18 Leo Liu <sdl.web@gmail.com>
11562
11563 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11564 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11565 (octave-source-directories): Don't check process.
11566 (octave-source-directories, octave-find-definition): Doc fix.
11567
11568 2013-05-18 Glenn Morris <rgm@gnu.org>
11569
11570 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11571 Remove backspace/delete bindings. (Bug#14392)
11572
11573 * cus-dep.el (custom-make-dependencies): Sort the output.
11574 (custom-versions-load-alist): Convert comment to doc.
11575
11576 2013-05-17 Leo Liu <sdl.web@gmail.com>
11577
11578 * newcomment.el (comment-search-backward): Stricter in finding
11579 comment start. (Bug#14303)
11580
11581 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11582 (octave-comment-start-skip): Properly anchored.
11583
11584 2013-05-17 Leo Liu <sdl.web@gmail.com>
11585
11586 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11587 Clean up when turned off. (Bug#14395)
11588 (smie--highlight-matching-block-overlay): No longer buffer-local.
11589 (smie-highlight-matching-block): Adjust.
11590
11591 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11592
11593 Doc string fix for "nanoseconds" (Bug#14406).
11594 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11595 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11596
11597 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11598
11599 * calc/calc-units.el (math-extract-units): Preserve powers
11600 of units.
11601
11602 2013-05-17 Leo Liu <sdl.web@gmail.com>
11603
11604 * subr.el (delete-consecutive-dups): New function.
11605 * ido.el (ido-set-matches-1): Use it.
11606 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11607 * ido.el (ido-remove-consecutive-dups): Remove.
11608
11609 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11612 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11613 regexp-opt's `words'.
11614
11615 2013-05-16 Leo Liu <sdl.web@gmail.com>
11616
11617 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11618 (smie--highlight-matching-block-overlay)
11619 (smie--highlight-matching-block-lastpos)
11620 (smie--highlight-matching-block-timer): New variables.
11621 (smie-highlight-matching-block): New function.
11622 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11623 (smie-setup): Conditionally enable smie-blink-matching-open.
11624
11625 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11626
11627 Sync with upstream verilog-mode r840.
11628 * progmodes/verilog-mode.el (verilog-mode-version)
11629 (verilog-mode-release-date): Update.
11630 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11631 (verilog-sig-tieoff): Fix string error on
11632 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11633 (verilog-read-decls): Fix parameters confusing
11634 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11635
11636 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11637
11638 * subr.el (reveal-filename): New function.
11639
11640 * loadup.el: Compute Emacs executable versions on MS-Windows,
11641 where executables have the .exe extension. Add a hard link
11642 emacs-XX.YY.ZZ.exe on MS-Windows.
11643
11644 * Makefile.in (XARGS_LIMIT): New variable.
11645 (custom-deps, finder-data, autoloads)
11646 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11647 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11648 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11649 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11650
11651 2013-05-16 Leo Liu <sdl.web@gmail.com>
11652
11653 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11654 (octave-mode-menu, octave-mode-map): Remove its uses.
11655
11656 2013-05-16 Reto Zimmermann <reto@gnu.org>
11657
11658 Sync with upstream vhdl mode v3.34.2.
11659 * progmodes/vhdl-mode.el: Use `push' throughout.
11660 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11661 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11662 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11663 (vhdl-actual-generic-name): New option to derive actual generic name.
11664 (vhdl-port-paste-signals): Replace formal by actual generics.
11665 (vhdl-beautify): New name for old group vhdl-align. Update users.
11666 (vhdl-beautify-options): New option.
11667 (vhdl-last-input-event): New compat alias. Use throughout.
11668 (vhdl-goto-line): Replace user level function `goto-line'.
11669 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11670 vhdl-fix-statement-buffer.
11671 (vhdl-create-mode-menu): Add some entries.
11672 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11673 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11674 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11675 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11676 to force statements on one line.
11677 (vhdl-remove-trailing-spaces-region):
11678 New, split from vhdl-remove-trailing-spaces.
11679 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11680 Respect vhdl-beautify-options.
11681 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11682 (vhdl-update-sensitivity-list): Not add with index if exists without.
11683 Not include array index with signal. Ignore keywords in comments.
11684 (vhdl-get-visible-signals): Regexp tweaks.
11685 (vhdl-template-component-inst): Handle empty library.
11686 (vhdl-template-type): Add template for 'enum' type.
11687 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11688 Use vhdl-replace-string.
11689 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11690 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11691 (vhdl-speedbar-initialize): Update for above name change.
11692 (vhdl-compose-wire-components): Fix in handling of constants.
11693 (vhdl-error-regexp-emacs-alist): New variable.
11694 (vhdl-error-regexp-add-emacs): New function;
11695 adds support for new compile.el (Emacs 22+)
11696 (vhdl-generate-makefile-1): Change target order for single lib. units.
11697 Allow use of absolute file names.
11698
11699 2013-05-16 Leo Liu <sdl.web@gmail.com>
11700
11701 * simple.el (prog-indent-sexp): Indent enclosing defun.
11702
11703 2013-05-15 Glenn Morris <rgm@gnu.org>
11704
11705 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11706 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11707 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11708 (whitespace-highlight): Move to whitespace group.
11709
11710 * comint.el (comint-source):
11711 * pcmpl-linux.el (pcmpl-linux):
11712 * shell.el (shell-faces):
11713 * eshell/esh-opt.el (eshell-opt):
11714 * international/ccl.el (ccl): Remove empty custom groups.
11715
11716 * completion.el (dynamic-completion-mode):
11717 * jit-lock.el (jit-lock-debug-mode):
11718 * minibuffer.el (completion-in-region-mode):
11719 * type-break.el (type-break-mode-line-message-mode)
11720 (type-break-query-mode):
11721 * emulation/tpu-edt.el (tpu-edt-mode):
11722 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11723 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11724 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11725
11726 * term/xterm.el (xterm): Change parent group to terminals.
11727
11728 * master.el (master): Remove empty custom group.
11729 (master-mode): Remove unused :group argument.
11730 * textmodes/refill.el (refill): Remove empty custom group.
11731 (refill-mode): Remove unused :group argument.
11732
11733 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11734
11735 * cus-dep.el: Provide a feature.
11736 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11737 Don't mistakenly ignore files whose basenames match a basename
11738 from preloaded-file-list (eg cedet/ede/simple.el).
11739 Add a fallback method for getting :group.
11740
11741 2013-05-15 Juri Linkov <juri@jurta.org>
11742
11743 * isearch.el (isearch-char-by-name): Rename from
11744 `isearch-insert-char-by-name'. Doc fix.
11745 (isearch-forward): Mention `isearch-char-by-name' in
11746 the docstring. (Bug#13348)
11747
11748 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11749 `exit-minibuffer' instead of
11750 `isearch-nonincremental-exit-minibuffer'.
11751 (isearch-edit-string): Remove mention of
11752 `isearch-nonincremental-exit-minibuffer' from docstring.
11753 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11754 (isearch-forward-exit-minibuffer)
11755 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11756
11757 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * loadup.el: Just use unversioned DOC.
11760
11761 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11762 literals as extending to EOB.
11763 (nxml-last-fontify-end): Remove unused variable.
11764 (nxml-after-change1): Use with-silent-modifications.
11765 (nxml-extend-after-change-region): Simplify.
11766 (nxml-extend-after-change-region1): Remove function.
11767 (nxml-after-change1): Don't adjust for dependent regions.
11768 (nxml-fontify-matcher): Simplify.
11769 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11770 (xmltok-add-dependent): Remove function.
11771 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11772 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11773 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11774 unclosed <[[, <?, comment, and other literals as extending to EOB.
11775 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11776 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11777 Remove functions.
11778 (rng-do-some-validation-1): Don't mark dependent regions.
11779 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11780 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11781 (nxml-clear-dependent-regions): Remove functions.
11782 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11783 (nxml-ensure-scan-up-to-date):
11784 Don't clear&mark dependent regions.
11785
11786 2013-05-15 Leo Liu <sdl.web@gmail.com>
11787
11788 * progmodes/octave.el (octave-goto-function-definition):
11789 Improve and fix callers.
11790
11791 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11794 the setter (bug#14387).
11795
11796 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11797 surrounding group (bug#14402).
11798
11799 2013-05-14 Juri Linkov <juri@jurta.org>
11800
11801 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11802 (Bug#14390)
11803
11804 2013-05-14 Glenn Morris <rgm@gnu.org>
11805
11806 * progmodes/f90.el (f90-imenu-generic-expression):
11807 Fix typo in 2013-05-08 change. (Bug#14402)
11808
11809 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11810
11811 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11812 Remove signals for which replies are never received.
11813
11814 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11815
11816 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11817 (gdb-handler-alist, gdb-handler-number): Remove variables.
11818 (gdb-handler-list): New variable.
11819 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11820 (gdb-pending-handler-p, gdb-handle-reply)
11821 (gdb-remove-all-pending-triggers): New functions.
11822 (gdb-discard-unordered-replies): New defcustom.
11823 (gdb-handler): New defstruct.
11824 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11825 instead of gdb-pending-triggers. Update docstring.
11826 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11827 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11828 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11829 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11830 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11831 (gdb-frame-handler): Pending triggers are now automatically managed.
11832 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11833 Remove argument.
11834 (gdb-input): Automatically handles pending triggers. Update docstring.
11835 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11836 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11837 Update comments.
11838 (gdb-done-or-error): Now use gdb-handle-reply.
11839
11840 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11841
11842 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11843 gdb-debug-log.
11844
11845 2013-05-14 Glenn Morris <rgm@gnu.org>
11846
11847 * subr.el (user-emacs-directory-warning): New option.
11848 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11849
11850 2013-05-14 Leo Liu <sdl.web@gmail.com>
11851
11852 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11853 during redisplay.
11854 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11855 (octave-font-lock-texinfo-comment): Fix invalid search bound
11856 error: wrong side of point.
11857
11858 2013-05-14 Glenn Morris <rgm@gnu.org>
11859
11860 * progmodes/flymake.el (flymake-xml-program): New option.
11861 (flymake-xml-init): Use it.
11862
11863 * term/xterm.el: Provide a feature.
11864
11865 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11866
11867 2013-05-13 Glenn Morris <rgm@gnu.org>
11868
11869 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11870 Add compat aliases as a hack workaround. (Bug#14384)
11871
11872 2013-05-13 Leo Liu <sdl.web@gmail.com>
11873
11874 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11875 ###, and %!.
11876 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11877 C-M-q.
11878 (octave-comment-start-skip): Include %!.
11879 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11880
11881 2013-05-12 Leo Liu <sdl.web@gmail.com>
11882
11883 * progmodes/octave.el (inferior-octave-startup): Store the value
11884 of __octave_srcdir__ for octave-source-directories.
11885 (inferior-octave-check-process): New function refactored out of
11886 inferior-octave-send-list-and-digest.
11887 (octave-source-directories)
11888 (octave-find-definition-filename-function): New variables.
11889 (octave-source-directories)
11890 (octave-find-definition-default-filename): New functions.
11891 (octave-find-definition): Improve to find functions implemented in C++.
11892
11893 2013-05-12 Glenn Morris <rgm@gnu.org>
11894
11895 * calendar/diary-lib.el (diary-outlook-format-1):
11896 Don't include dayname in the output. (Bug#14349)
11897
11898 2013-05-11 Glenn Morris <rgm@gnu.org>
11899
11900 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11901
11902 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11903 Treat cc-provide like provide.
11904
11905 2013-05-11 Kevin Ryde <user42@zip.com.au>
11906
11907 * cus-dep.el (custom-make-dependencies):
11908 Use generated-autoload-load-name for the sake of files such
11909 such cedet/semantic/bovine/c.el, where the base file name
11910 is not in load-path. (Bug#5277)
11911
11912 2013-05-11 Glenn Morris <rgm@gnu.org>
11913
11914 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11915 Provide features.
11916
11917 2013-05-11 Leo Liu <sdl.web@gmail.com>
11918
11919 * progmodes/octave.el (octave-indent-comment): Improve.
11920 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11921 (octave-eldoc-function-signatures, octave-eldoc-function):
11922 New functions.
11923 (octave-mode, inferior-octave-mode): Add eldoc support.
11924
11925 2013-05-11 Richard Stallman <rms@gnu.org>
11926
11927 * epa.el (epa-decrypt-file): Take output file name as argument
11928 and read it using `interactive'.
11929
11930 2013-05-11 Leo Liu <sdl.web@gmail.com>
11931
11932 * progmodes/octave.el (octave-beginning-of-line)
11933 (octave-end-of-line): Check before using up-list because it jumps
11934 out of more syntactic contructs since moving to smie.
11935 (octave-indent-comment): New function.
11936 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11937 (octave-begin-keywords, octave-end-keywords)
11938 (octave-reserved-words, octave-smie-bnf-table)
11939 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11940
11941 2013-05-11 Glenn Morris <rgm@gnu.org>
11942
11943 * faces.el (internal-face-x-get-resource):
11944 * frame.el (ns-display-monitor-attributes-list):
11945 * calc/calc-aent.el (math-to-radians-2):
11946 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11947 Fix declarations.
11948
11949 * calc/calc-menu.el: Make it loadable in isolation.
11950
11951 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11952 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11953 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11954 (eudc-bbdb-query-internal): Require 'bbdb.
11955
11956 * lpr.el (lpr-headers-switches):
11957 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11958
11959 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11960
11961 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11962
11963 * term.el (term-set-escape-char): Make it idempotent.
11964
11965 2013-05-10 Leo Liu <sdl.web@gmail.com>
11966
11967 * progmodes/octave.el (inferior-octave-completion-table):
11968 No longer a function and all uses changed. Use cache to speed up
11969 completion due to bug#11906.
11970 (octave-beginning-of-defun): Re-write to be more general.
11971
11972 2013-05-10 Glenn Morris <rgm@gnu.org>
11973
11974 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11975
11976 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * comint.el (comint-redirect-send-command-to-process): Use :around
11979 rather than :override for comint-redirect-filter.
11980 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11981 Call it instead of comint-redirect-original-filter-function (which
11982 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11983
11984 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11985
11986 * frame.el (display-monitor-attributes-list): Add NS case.
11987 (ns-display-monitor-attributes-list): Declare.
11988
11989 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11990
11991 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11992
11993 2013-05-09 Glenn Morris <rgm@gnu.org>
11994
11995 * international/fontset.el (vertical-centering-font-regexp):
11996 Set standard-value.
11997
11998 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11999
12000 * bookmark.el (bookmark-search-delay):
12001 * cus-start.el (vertical-centering-font-regexp):
12002 * ps-mule.el (ps-mule-font-info-database-default):
12003 * ps-print.el (ps-default-fg, ps-default-bg):
12004 * type-break.el (type-break-good-break-interval):
12005 * whitespace.el (whitespace-indentation-regexp)
12006 (whitespace-space-after-tab-regexp):
12007 * emacs-lisp/testcover.el (testcover-1value-functions)
12008 (testcover-noreturn-functions, testcover-progn-functions)
12009 (testcover-prog1-functions):
12010 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12011 * eshell/em-glob.el (eshell-glob-translate-alist):
12012 * play/tetris.el (tetris-tty-colors):
12013 * progmodes/cpp.el (cpp-face-default-list):
12014 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12015 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12016 (idlwave-help-browser-generic-args):
12017 * progmodes/make-mode.el (makefile-special-targets-list):
12018 * progmodes/python.el (python-shell-virtualenv-path):
12019 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12020 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12021 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12022 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12023 * textmodes/reftex-vars.el (reftex-format-label-function):
12024 * textmodes/remember.el (remember-diary-file): Fix custom types.
12025
12026 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12027 Add :version.
12028
12029 2013-05-09 Leo Liu <sdl.web@gmail.com>
12030
12031 * progmodes/octave.el (inferior-octave-completion-at-point):
12032 Restore file completion. (Bug#14300)
12033 (inferior-octave-startup): Fix incorrect highlighting for the
12034 first prompt.
12035
12036 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * progmodes/ruby-mode.el: First cut at SMIE support.
12039 (ruby-use-smie): New var.
12040 (ruby-smie-grammar): New constant.
12041 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12042 (ruby-smie--forward-token, ruby-smie--backward-token)
12043 (ruby-smie-rules): New functions.
12044 (ruby-mode-variables): Setup SMIE if applicable.
12045
12046 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12047
12048 * simple.el (line-move-visual): Signal beginning/end of buffer
12049 only if vertical-motion moved less than it was requested. Avoids
12050 silly incorrect error messages when there are display strings with
12051 multiple newlines at EOL.
12052
12053 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12054
12055 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12056 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12057 (prolog-char-quote-workaround):
12058 * progmodes/cperl-mode.el (cperl-under-as-char):
12059 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12060 Mark as obsolete.
12061 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12062 their declaration.
12063 (vhdl-mode-syntax-table-init): Remove.
12064
12065 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12066 last change.
12067
12068 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12069 syntax for "_".
12070 (ld-script-font-lock-keywords):
12071 Change regexps to use things like \_< and \_>.
12072
12073 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12074 Change all regexps to use things like \_< and \_>.
12075
12076 * progmodes/autoconf.el (autoconf-definition-regexp)
12077 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12078 Handle a _ with symbol syntax.
12079 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12080
12081 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12082 Consolidate declaration.
12083 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12084 the declaration.
12085 (ada-create-syntax-table): Remove.
12086 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12087 already has the right syntax nowadays.
12088 (ada-goto-next-word): Don't change the syntax of "_".
12089
12090 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12091 with-wrapper-hook.
12092
12093 2013-05-08 Sam Steingold <sds@gnu.org>
12094
12095 * thingatpt.el (thing-at-point): Accept optional second argument
12096 NO-PROPERTIES to strip the text properties from the return value.
12097 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12098 to `thing-at-point' instead of stripping the properties ourselves.
12099 Also, when `thing-at-point' fails to find a url, prepend "http://"
12100 to the filename at point on the assumption that the user is
12101 pointing at something like gnu.org/gnu.
12102
12103 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12106 * faces.el (crm-separator):
12107 Silence byte-compiler.
12108
12109 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12110 (tool-bar-map): Remove unneeded defvars.
12111
12112 2013-05-08 Leo Liu <sdl.web@gmail.com>
12113
12114 Re-work a fix for bug#10994 based on Le Wang's patch.
12115 * ido.el (ido-remove-consecutive-dups): New helper.
12116 (ido-completing-read): Use it.
12117 (ido-chop): Revert fix for bug#10994.
12118
12119 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12120
12121 * cus-edit.el (custom-save-variables):
12122 Pretty-print long values. (Bug#14187)
12123
12124 2013-05-08 Glenn Morris <rgm@gnu.org>
12125
12126 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12127 (m4-mode-syntax-table): Init in the defvar.
12128 (m4-mode-abbrev-table): Let define-derived-mode define it.
12129
12130 2013-05-08 Tom Tromey <tromey@redhat.com>
12131
12132 * progmodes/m4-mode.el (m4-mode-syntax-table):
12133 Do not treat "_" as word constituent. (Bug#14167)
12134
12135 2013-05-07 Glenn Morris <rgm@gnu.org>
12136
12137 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12138 Remove explicit eshell-isearch-cancel-map.
12139
12140 * progmodes/f90.el (f90-smart-end-names): New option.
12141 (f90-smart-end): Doc fix.
12142 (f90-end-block-optional-name): New constant.
12143 (f90-block-match): Respect f90-smart-end-names.
12144
12145 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12146
12147 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12148 about implicit semi-colons (bug#14218).
12149
12150 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12151
12152 * frame.el (display-monitor-attributes-list)
12153 (frame-monitor-attributes): New functions.
12154
12155 2013-05-06 Leo Liu <sdl.web@gmail.com>
12156
12157 * progmodes/octave.el (octave-syntax-propertize-function): Change
12158 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12159 (octave-font-lock-keywords): Use octave-operator-regexp.
12160 (octave-completion-at-point): Rename from
12161 octave-completion-at-point-function.
12162 (inferior-octave-directory-tracker): Robustify.
12163 (octave-text-functions): Remove and fix its uses. No such things
12164 any more.
12165
12166 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * emacs-lisp/trace.el (trace--display-buffer): New function.
12169 (trace-make-advice): Use it.
12170
12171 2013-05-06 Juri Linkov <juri@jurta.org>
12172
12173 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12174 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12175 Doc fix.
12176 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12177 in the help string. (Bug#12985)
12178
12179 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12180
12181 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12182
12183 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 * progmodes/perl-mode.el: Add support for here documents.
12186 (perl-syntax-propertize-function): Match here-doc markers.
12187 (perl-syntax-propertize-special-constructs): Find their end.
12188 (perl-imenu-generic-expression): Use [:alnum:].
12189
12190 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12191 (advice--add-function): Refresh the advice if already present
12192 (bug#14317).
12193
12194 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12195
12196 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12197
12198 2013-05-06 Glenn Morris <rgm@gnu.org>
12199
12200 * w32-fns.el (w32-charset-info-alist): Declare.
12201
12202 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12203 of its defcustom properties.
12204 (eshell-cmpl-initialize): No need to load pcomplete.
12205
12206 * generic-x.el: No need to require comint when compiling.
12207
12208 * net/eudc-export.el: Make it loadable without bbdb.
12209 (top-level): Use require rather than load-library.
12210 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12211 (eudc-batch-export-records-to-bbdb)
12212 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12213 Require bbdb.
12214
12215 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12218 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12219 some tweaks, instead.
12220
12221 2013-05-05 Leo Liu <sdl.web@gmail.com>
12222
12223 * progmodes/octave.el (octave-font-lock-keywords)
12224 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12225 (inferior-octave-send-list-and-digest): Improve error message.
12226 (octave-mode, inferior-octave-mode): Use setq-local.
12227 (octave-help): Set info-lookup-mode.
12228
12229 2013-05-05 Richard Stallman <rms@gnu.org>
12230
12231 * vc/compare-w.el (compare-windows-whitespace):
12232 Treat no-break space as whitespace.
12233
12234 * mail/rmailsum.el (rmail-summary-rmail-update):
12235 Detect empty summary and don't change selected message.
12236 (rmail-summary-goto-msg): Likewise.
12237
12238 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12239 Doc fixes, rename args.
12240
12241 2013-05-05 Alan Mackenzie <acm@muc.de>
12242
12243 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12244
12245 2013-05-05 Juri Linkov <juri@jurta.org>
12246
12247 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12248 to not add the length of the summary segment to the return value.
12249 (Bug#14125)
12250
12251 2013-05-05 Leo Liu <sdl.web@gmail.com>
12252
12253 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12254 (inferior-octave-output-filter): Remove.
12255 (octave-send-region, inferior-octave-startup): Fix callers.
12256 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12257 (octave-binary-file-extensions): New user variable.
12258 (octave-find-definition): Confirm if opening binary files.
12259 (octave-help-file): Use octave-find-definition to get the binary
12260 confirmation.
12261 (octave-help): Adjust for octave-help-file change.
12262
12263 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12266 Merge the two entries that handle function definitions.
12267 (pascal--syntax-propertize): New const.
12268 (pascal-mode): Use it. Use setq-local.
12269
12270 2013-05-04 Glenn Morris <rgm@gnu.org>
12271
12272 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12273 (diary-from-outlook): Respect diary-from-outlook-function.
12274
12275 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12278 Move the declaration from C.
12279 (read-minibuffer, eval-minibuffer): Move from C.
12280 (completion-setup-function): Avoid minibuffer-completion-contents.
12281
12282 2013-05-03 Leo Liu <sdl.web@gmail.com>
12283
12284 * progmodes/octave.el (octave-font-lock-keywords): Do not
12285 dehighlight 'end' in comments or strings.
12286 (octave-completing-read, octave-goto-function-definition):
12287 New helpers.
12288 (octave-help-buffer): New user variable.
12289 (octave-help-file, octave-help-function): New button types.
12290 (octave-help): New command and bind it to C-h ;.
12291 (octave-find-definition): New command and bind it to M-.
12292 (user-error): Alias to error if not defined.
12293
12294 2013-05-02 Leo Liu <sdl.web@gmail.com>
12295
12296 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12297 for \. (bug#14332)
12298 (octave-font-lock-keywords): Include [ and {.
12299
12300 2013-05-02 Leo Liu <sdl.web@gmail.com>
12301
12302 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12303 (inferior-octave): Remove calling comint-mode and return the buffer.
12304 (inferior-octave-startup): Cosmetic changes.
12305
12306 2013-05-02 Leo Liu <sdl.web@gmail.com>
12307
12308 * progmodes/octave.el (octave-syntax-propertize-function):
12309 Include the case when ' is at line beginning. (Bug#14336)
12310
12311 2013-05-02 Glenn Morris <rgm@gnu.org>
12312
12313 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12314 * desktop.el (vc-dir-mode): Just autoload it here.
12315
12316 2013-05-02 Alan Mackenzie <acm@muc.de>
12317
12318 Eliminate variable c-standard-font-lock-fontify-region-function.
12319 * progmodes/cc-mode.el
12320 (c-standard-font-lock-fontify-region-function): Remove.
12321 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12322
12323 2013-05-01 Leo Liu <sdl.web@gmail.com>
12324
12325 * progmodes/octave.el: Compatible with older emacs-24 releases.
12326 (inferior-octave-has-built-in-variables): Remove. Built-in
12327 variables were removed from Octave in 2007.
12328 (inferior-octave-startup): Fix uses.
12329 (comint-line-beginning-position): Remove compatibility code for
12330 emacs 21.
12331
12332 2013-05-01 Juri Linkov <juri@jurta.org>
12333
12334 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12335
12336 2013-05-01 Juri Linkov <juri@jurta.org>
12337
12338 * comint.el (comint-previous-matching-input): Don't print message
12339 "History item: %d" when `isearch-mode' is active.
12340 (comint-history-isearch-message): Print message "History item: %d"
12341 when `comint-input-ring-index' is not empty and this function is
12342 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12343
12344 2013-05-01 Leo Liu <sdl.web@gmail.com>
12345
12346 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12347 definitions. Use completion-at-point to insert keywords.
12348 (octave-abbrev-start): Remove.
12349 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12350
12351 2013-04-30 Leo Liu <sdl.web@gmail.com>
12352
12353 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12354 change.
12355
12356 2013-04-30 Alan Mackenzie <acm@muc.de>
12357
12358 Handle arbitrarily long C++ member initialisation lists.
12359 * progmodes/cc-engine.el (c-back-over-member-initializers):
12360 new function.
12361 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12362 (most) member init lists.
12363
12364 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12365
12366 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12367 variable.
12368
12369 2013-04-30 Leo Liu <sdl.web@gmail.com>
12370
12371 * progmodes/octave.el (octave-variables): Remove. No builtin
12372 variables any more. All converted to functions.
12373 (octave-font-lock-keywords, octave-completion-at-point-function):
12374 Fix uses.
12375 (octave-font-lock-texinfo-comment): New user variable.
12376 (octave-texinfo-font-lock-keywords): New variable for texinfo
12377 comment block.
12378 (octave-function-comment-block): New face.
12379 (octave-font-lock-texinfo-comment): New function.
12380 (octave-mode): Font lock texinfo comment block.
12381
12382 2013-04-29 Leo Liu <sdl.web@gmail.com>
12383
12384 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12385 indexing expression.
12386 (octave-continuation-string): Do not use \.
12387 (inferior-octave-complete-impossible): Remove.
12388 (inferior-octave-completion-table)
12389 (inferior-octave-completion-at-point): Remove its uses.
12390 (inferior-octave-startup): completion_matches was introduced to
12391 Octave in 1996 so safe to assume it.
12392 (octave-function-file-comment): Improve to follow how Octave does it.
12393 (octave-update-function-file-comment): Tweak.
12394
12395 2013-04-29 Leo Liu <sdl.web@gmail.com>
12396
12397 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12398 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12399 (octave-function-file-comment): Fix typo.
12400 (octave-sync-function-file-names): Use read-char-choice.
12401
12402 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12403
12404 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12405 to t for the less important warnings.
12406
12407 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12408
12409 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12410
12411 2013-04-27 Glenn Morris <rgm@gnu.org>
12412
12413 * vc/log-view.el (log-view-current-entry):
12414 Treat "---" separator lines as part of the following rev. (Bug#14169)
12415
12416 2013-04-27 Juri Linkov <juri@jurta.org>
12417
12418 * subr.el (read-number): Doc fix about using it by interactive
12419 code letter `n'. (Bug#14254)
12420
12421 2013-04-27 Juri Linkov <juri@jurta.org>
12422
12423 * desktop.el (desktop-auto-save-timeout): New option.
12424 (desktop-file-checksum): New variable.
12425 (desktop-save): Add optional arg `auto-save' and don't auto-save
12426 if nothing changed.
12427 (desktop-auto-save-timer): New variable.
12428 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12429 (after-init-hook): Call `desktop-auto-save-set-timer'.
12430 Suggested by Reuben Thomas <rrt@sc3d.org> in
12431 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12432
12433 2013-04-27 Leo Liu <sdl.web@gmail.com>
12434
12435 * progmodes/octave.el (octave-function-file-p)
12436 (octave-skip-comment-forward, octave-function-file-comment)
12437 (octave-update-function-file-comment): New functions.
12438 (octave-mode-map): Bind C-c ; to
12439 octave-update-function-file-comment.
12440 (octave-mode-menu): Add octave-update-function-file-comment.
12441 (octave-mode, inferior-octave-mode): Fix doc-string.
12442 (octave-insert-defun): Conform to Octave's coding convention.
12443 (Bug#14285)
12444
12445 * files.el (basic-save-buffer): Don't let errors in
12446 before-save-hook prevent saving buffer.
12447
12448 2013-04-20 Roland Winkler <winkler@gnu.org>
12449
12450 * faces.el (read-face-name): Use completing-read if arg multiple
12451 is nil.
12452
12453 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12454
12455 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12456 displayed, move point to after the totals line.
12457 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12458 for the details.
12459
12460 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12463 Add current dir to the load-path.
12464 (package-generate-autoloads): Don't rely on
12465 autoload-ensure-default-file.
12466
12467 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12468
12469 * textmodes/remember.el (remember-store-in-files): Document that
12470 the file name format is passed to `format-time-string'.
12471
12472 2013-04-26 Leo Liu <sdl.web@gmail.com>
12473
12474 * progmodes/octave.el (octave-sync-function-file-names): New function.
12475 (octave-mode): Use it in before-save-hook.
12476
12477 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12480 (bug#14274).
12481
12482 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12483 \n and comment, even if it's not an implicit ; (bug#14218).
12484
12485 2013-04-26 Glenn Morris <rgm@gnu.org>
12486
12487 * subr.el (read-number): Once more use `read' rather than
12488 `string-to-number', to trap non-numeric input. (Bug#14254)
12489
12490 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12491
12492 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12493 Use `syntax-multiline' text property consistently instead of
12494 `font-lock-multiline'. (Bug#14237)
12495
12496 2013-04-26 Glenn Morris <rgm@gnu.org>
12497
12498 * emacs-lisp/shadow.el (list-load-path-shadows):
12499 No longer necessary to check for duplicate simple.el, since
12500 2012-07-07 change to init_lread to not include installation lisp
12501 directories in load-path when running uninstalled. (Bug#14270)
12502
12503 2013-04-26 Leo Liu <sdl.web@gmail.com>
12504
12505 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12506 (octave-mode, inferior-octave-mode): Use setq-local.
12507 (octave-not-in-string-or-comment-p): Rename to
12508 octave-in-string-or-comment-p.
12509 (octave-in-comment-p, octave-in-string-p)
12510 (octave-in-string-or-comment-p): Replace defsubst with defun.
12511
12512 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12513
12514 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12515
12516 2013-04-25 Bastien Guerry <bzg@gnu.org>
12517
12518 * textmodes/remember.el (remember-data-directory)
12519 (remember-directory-file-name-format): Fix custom types.
12520
12521 2013-04-25 Leo Liu <sdl.web@gmail.com>
12522
12523 * progmodes/octave.el (octave-completion-at-point-function):
12524 Make use of inferior octave process.
12525 (octave-initialize-completions): Remove.
12526 (inferior-octave-completion-table): New function.
12527 (inferior-octave-completion-at-point): Use it.
12528 (octave-completion-alist): Remove.
12529
12530 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12531
12532 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12533 (opascal-mode-syntax-table): New var.
12534 (opascal-literal-kind, opascal-is-literal-end)
12535 (opascal-literal-token-at): Rewrite.
12536 (opascal--literal-start-re, opascal-font-lock-keywords)
12537 (opascal--syntax-propertize): New constants.
12538 (opascal-font-lock-defaults): Adjust.
12539 (opascal-mode): Use them. Set comment-<foo> variables as well.
12540 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12541 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12542 (delphi-other-face, opascal-other-face): Remove face variables.
12543 (opascal-save-state): Remove macro.
12544 (opascal-fontifying-progress-step): Remove constant.
12545 (opascal--ignore-changes): Remove var.
12546 (opascal-set-token-property, opascal-parse-next-literal)
12547 (opascal-is-stable-literal, opascal-complete-literal)
12548 (opascal-is-literal-start, opascal-face-of)
12549 (opascal-parse-region, opascal-parse-region-until-stable)
12550 (opascal-fontify-region, opascal-after-change)
12551 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12552 (opascal-debug-parse-region, opascal-debug-parse-window)
12553 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12554 (opascal-debug-fontify-buffer): Remove.
12555 (opascal-debug-mode-map): Adjust accordingly.
12556
12557 2013-04-25 Leo Liu <sdl.web@gmail.com>
12558
12559 Merge octave-mod.el and octave-inf.el into octave.el with some
12560 cleanups.
12561 * progmodes/octave.el: New file renamed from octave-mod.el.
12562 * progmodes/octave-inf.el: Merged into octave.el.
12563 * progmodes/octave-mod.el: Renamed to octave.el.
12564
12565 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12566
12567 * textmodes/reftex-vars.el
12568 (reftex-label-ignored-macros-and-environments): New defcustom.
12569
12570 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12571
12572 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12575 (smie-indent-keyword): Improve the check to ensure that the next
12576 comment is really on the same line.
12577 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12578
12579 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12580 semi-colons if the line is not otherwise empty (bug#14218).
12581
12582 2013-04-25 Glenn Morris <rgm@gnu.org>
12583
12584 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12585
12586 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12587
12588 * progmodes/opascal.el (opascal-set-token-property): Rename from
12589 opascal-set-text-properties and only set `token' (bug#14134).
12590 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12591 (opascal-literal-text-properties): Remove.
12592 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12593 Adjust callers.
12594
12595 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12596
12597 * textmodes/remember.el (remember-handler-functions): Add an
12598 option for a new handler `remember-store-in-files'.
12599 (remember-data-directory, remember-directory-file-name-format):
12600 New options.
12601 (remember-store-in-files): New function to store remember notes
12602 as separate files within a directory.
12603
12604 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12605
12606 * progmodes/compile.el (compilation-next-error-function):
12607 Pass "formats" to compilation-find-file (bug#11777).
12608
12609 2013-04-24 Glenn Morris <rgm@gnu.org>
12610
12611 * vc/vc-bzr.el (vc-bzr-print-log):
12612 * vc/vc-hg.el (vc-hg-print-log):
12613 * vc/vc-svn.el (vc-svn-print-log):
12614 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12615
12616 * vc/vc-bzr.el (vc-bzr-print-log):
12617 * vc/vc-cvs.el (vc-cvs-print-log):
12618 * vc/vc-git.el (vc-git-print-log):
12619 * vc/vc-hg.el (vc-hg-print-log):
12620 * vc/vc-mtn.el (vc-mtn-print-log):
12621 * vc/vc-rcs.el (vc-rcs-print-log):
12622 * vc/vc-sccs.el (vc-sccs-print-log):
12623 * vc/vc-svn.el (vc-svn-print-log):
12624 * vc/vc.el (vc-print-log-internal): Doc fixes.
12625
12626 2013-04-23 Glenn Morris <rgm@gnu.org>
12627
12628 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12629 Remove venerable code attempting to avoid substitute-command-keys.
12630
12631 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12632
12633 * textmodes/reftex-vars.el (reftex-label-regexps):
12634 Call `reftex-compile-variables' after changes to this variable.
12635
12636 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12639 Use lexical-binding.
12640 (jit-lock-force-redisplay): Use markers, check buffer's continued
12641 existence and beware narrowed buffers.
12642 (jit-lock-fontify-now): Adjust call accordingly.
12643
12644 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12647 to avoid misleading the user.
12648
12649 2013-04-22 Leo Liu <sdl.web@gmail.com>
12650
12651 * info-look.el: Prefer latex2e.info. (Bug#14240)
12652
12653 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12654
12655 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12656
12657 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12658 * net/tramp.el (tramp-call-process): ... here.
12659 (tramp-set-completion-function, tramp-parse-putty):
12660 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12661 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12662 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12663 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12664 (tramp-call-local-coding-command): Use `tramp-call-process'
12665 instead of `tramp-compat-call-process'.
12666
12667 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12668 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12669 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12670 (tramp-find-inline-compress): Improve traces.
12671 (tramp-maybe-send-script): Check for Perl binary.
12672 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12673
12674 2013-04-22 Daiki Ueno <ueno@gnu.org>
12675
12676 * epg.el (epg-context-pinentry-mode): New function.
12677 (epg-context-set-pinentry-mode): New function.
12678 (epg--start): Pass --pinentry-mode option to gpg command.
12679
12680 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12681
12682 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12683 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12684 `completion-at-point'. (Bug#13774)
12685
12686 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12687 default key binding for `describe-distribution' has been moved to
12688 `C-h C-o'. (Bug#13970)
12689
12690 2013-04-21 Glenn Morris <rgm@gnu.org>
12691
12692 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12693 Add doc strings.
12694 (vc-print-log): Clarify interactive prompt.
12695
12696 2013-04-20 Glenn Morris <rgm@gnu.org>
12697
12698 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12699 No longer include timestamp etc information.
12700
12701 2013-04-20 Roland Winkler <winkler@gnu.org>
12702
12703 * faces.el (read-face-name): Bug fix, return just one face if arg
12704 multiple is nil. (Bug#14209)
12705
12706 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12709 (remove-function): Autoload.
12710
12711 * comint.el (comint-redirect-original-filter-function): Remove.
12712 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12713 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12714 (vc-cvs-annotate-command):
12715 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12716 * progmodes/prolog.el (prolog-consult-compile):
12717 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12718 Use add/remove-function instead.
12719 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12720 (gud-tooltip-process-output, gud-tooltip-tips):
12721 Use add/remove-function instead.
12722 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12723 (scheme-interaction-mode, exit-scheme-interaction-mode):
12724 Use add/remove-function instead.
12725
12726 * vc/vc-dispatcher.el: Use lexical-binding.
12727 (vc--process-sentinel): Rename from vc-process-sentinel.
12728 Change last arg to be the code to run. Don't use vc-previous-sentinel
12729 and vc-sentinel-commands any more.
12730 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12731 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12732
12733 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12734
12735 * progmodes/sh-script.el (sh-imenu-generic-expression):
12736 Handle function names with a single character. (Bug#14111)
12737
12738 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12739
12740 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12741 for subroutines defined in an eval (bug#14182).
12742
12743 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12744
12745 * bookmark.el (bookmark-completing-read): Improve handling of empty
12746 string (bug#14176).
12747
12748 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12751
12752 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12753
12754 New faster Imenu implementation (bug#14058).
12755 * progmodes/python.el:
12756 (python-imenu-prev-index-position):
12757 (python-imenu-format-item-label-function)
12758 (python-imenu-format-parent-item-label-function)
12759 (python-imenu-format-parent-item-jump-label-function):
12760 New vars.
12761 (python-imenu-format-item-label)
12762 (python-imenu-format-parent-item-label)
12763 (python-imenu-format-parent-item-jump-label)
12764 (python-imenu--put-parent, python-imenu--build-tree)
12765 (python-imenu-create-index, python-imenu-create-flat-index)
12766 (python-util-popn): New functions.
12767 (python-mode): Set imenu-create-index-function to
12768 python-imenu-create-index.
12769
12770 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * winner.el (winner-active-region): Use region-active-p, activate-mark
12773 and deactivate-mark (bug#14225).
12774
12775 * simple.el (deactivate-mark): Don't inline it.
12776
12777 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12778
12779 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12780
12781 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12782
12783 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12784 file extensions from the archive-mode entry in order to prefer
12785 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12786
12787 2013-04-18 Leo Liu <sdl.web@gmail.com>
12788
12789 * bindings.el (help-event-list): Add ?\?.
12790
12791 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * subr.el (with-wrapper-hook): Declare obsolete.
12794 * simple.el (filter-buffer-substring-function): New hook.
12795 (filter-buffer-substring): Use it.
12796 (filter-buffer-substring-functions): Mark obsolete.
12797 * minibuffer.el (completion-in-region-function): New hook.
12798 (completion-in-region): Use it.
12799 (completion-in-region-functions): Mark obsolete.
12800 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12801 * abbrev.el (abbrev-expand-function): New hook.
12802 (expand-abbrev): Use it.
12803 (abbrev-expand-functions): Mark obsolete.
12804 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12805 and :filter-return.
12806
12807 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12808
12809 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12810 and do not care about match data.
12811
12812 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12815 completion tables when completing error conditions and
12816 `declare' arguments.
12817 (lisp-complete-symbol, field-complete): Mark as obsolete.
12818 (check-parens): Unmatched parens are user errors.
12819 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12820
12821 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12822
12823 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12824 command changed buffer (ie. `flyspell-pre-buffer' is not current
12825 buffer), which prevents making decisions based on invalid value of
12826 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12827 cause an error when `flyspell-pre-point' was nil after switching
12828 buffers.
12829 (flyspell-post-command-hook): No longer needs to change buffers when
12830 checking pre-word. While at it remove unnecessary progn.
12831
12832 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12833
12834 * textmodes/ispell.el (ispell-add-per-file-word-list):
12835 Fix `flyspell-correct-word-before-point' error when accepting
12836 words and `coment-padding' is an integer by using
12837 `comment-normalize-vars' (Bug #14214).
12838
12839 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12840
12841 New defun movement commands.
12842 * progmodes/python.el (python-nav--syntactically)
12843 (python-nav--forward-defun, python-nav-backward-defun)
12844 (python-nav-forward-defun): New functions.
12845
12846 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12847
12848 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12849 (python-syntax-context): Use named compiler-macro for backwards
12850 compatibility with Emacs 24.x.
12851
12852 2013-04-17 Leo Liu <sdl.web@gmail.com>
12853
12854 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12855 octave-hide-process-buffer.
12856
12857 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12860 (bug#14216).
12861
12862 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12863
12864 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12865 Fix adjustment of offset when receiving incomplete responses from GDB
12866 (bug#14129).
12867
12868 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12871 python-mode-abbrev-table.
12872 (python-skeleton-define): Adjust accordingly.
12873 (python-mode-abbrev-table): New table that inherits from it so that
12874 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12875
12876 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12877 (abbrev-symbol): Use it.
12878 (abbrev--before-point): Use it since we already handle inheritance.
12879
12880 2013-04-16 Leo Liu <sdl.web@gmail.com>
12881
12882 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12883 binding to info-lookup-symbol.
12884
12885 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12886
12887 * minibuffer.el (completion--twq-all):
12888 * term/ns-win.el (ns-initialize-window-system):
12889 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12890
12891 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12892
12893 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12894 global bindings.
12895
12896 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12897
12898 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12899
12900 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12901 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12902 to nil.
12903 (ruby-end-of-defun): Remove the unused arg, change the docstring
12904 to reflect that this function is only used as the value of
12905 `end-of-defun-function'.
12906 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12907 to reflect an earlier change that beginning/end-of-defun functions
12908 jump between methods in a class definition, as well as top-level
12909 functions.
12910
12911 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * minibuffer.el (minibuffer-complete): Don't just scroll
12914 a *Completions* that's been iconified.
12915 (minibuffer-force-complete): Make sure repetitions do cycle when going
12916 through completion-in-region -> minibuffer-complete.
12917
12918 2013-04-15 Alan Mackenzie <acm@muc.de>
12919
12920 Correct the placement of c-cpp-delimiters when there're #s not at
12921 col 0.
12922
12923 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12924 place a submatch around the #.
12925 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12926 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12927 on the #, not BOL.
12928
12929 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12932 (advice--member-p): New arg `name'.
12933 (advice--add-function, advice-member-p): Use it (bug#14202).
12934
12935 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12936
12937 Reformulate java imenu-generic-expression.
12938 The old expression contained ill formed regexps.
12939
12940 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12941 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12942 (cc-imenu-java-method-arg-regexp): New defconsts.
12943 (cc-imenu-java-build-type-args-regex): New defun.
12944 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12945 handling of spaces in the regexp.
12946
12947 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12948
12949 * textmodes/ispell.el (ispell-command-loop): Remove
12950 flyspell highlight of a word when ispell accepts it (bug #14178).
12951
12952 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12953
12954 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12955 uses code from the previous `ange-ftp-run-real-handler'.
12956 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12957 only in case that function exist. This is needed for proper
12958 unloading of Tramp.
12959
12960 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12961
12962 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12963
12964 * textmodes/reftex.el (reftex-compile-variables): Use it.
12965
12966 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * files.el (normal-mode): Only use default major-mode if no other mode
12969 was specified.
12970
12971 * emacs-lisp/trace.el (trace-values): New function.
12972
12973 * files.el: Allow : in local variables (bug#14089).
12974 (hack-local-variable-regexp): New var.
12975 (hack-local-variables-prop-line, hack-local-variables): Use it.
12976
12977 2013-04-13 Roland Winkler <winkler@gnu.org>
12978
12979 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12980 data before it gets modified by bibtex-beginning-of-entry.
12981
12982 2013-04-13 Roland Winkler <winkler@gnu.org>
12983
12984 * textmodes/bibtex.el (bibtex-url): Doc fix.
12985
12986 2013-04-13 Roland Winkler <winkler@gnu.org>
12987
12988 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12989 does not visit a BibTeX file, exclude it from the list of buffers
12990 returned by bibtex-initialize.
12991
12992 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12993
12994 * window.el (split-window): Remove interactive form, since as a
12995 command this function is a special case of split-window-below.
12996 Correct doc string.
12997
12998 2013-04-12 Roland Winkler <winkler@gnu.org>
12999
13000 * faces.el (read-face-name): Do not override value of arg default.
13001 Allow single faces and strings as default values. Remove those
13002 elements from return value that are not faces.
13003 (describe-face): Simplify.
13004 (face-at-point): New optional args thing and multiple so that this
13005 function can provide the same functionality previously provided by
13006 read-face-name.
13007 (make-face-bold, make-face-unbold, make-face-italic)
13008 (make-face-unitalic, make-face-bold-italic, invert-face)
13009 (modify-face, read-face-and-attribute): Use face-at-point.
13010
13011 * cus-edit.el (customize-face, customize-face-other-window)
13012 * cus-theme.el (custom-theme-add-face)
13013 * face-remap.el (buffer-face-set)
13014 * facemenu.el (facemenu-set-face): Use face-at-point.
13015
13016 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13017
13018 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13019
13020 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13021
13022 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13023 off leading { and trailing } from field values.
13024
13025 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13026
13027 * emacs-lisp/timer.el (timer--check): New function.
13028 (timer--time, timer-set-function, timer-event-handler): Use it.
13029 (timer-set-idle-time): Simplify.
13030 (timer--activate): CSE.
13031 (timer-event-handler): Give more info in error message.
13032 (internal-timer-start-idle): New function, moved from C.
13033
13034 * mpc.el (mpc-proc): Add `restart' argument.
13035 (mpc-proc-cmd): Use it.
13036 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13037 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13038 less often.
13039
13040 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13041
13042 * progmodes/sh-script.el: Implement `sh-mode' own
13043 `add-log-current-defun-function' (bug#14112).
13044 (sh-current-defun-name): New function.
13045 (sh-mode): Use the function.
13046
13047 2013-04-09 Bastien Guerry <bzg@gnu.org>
13048
13049 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13050
13051 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13054
13055 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13056 timer (bug#14156).
13057
13058 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13059
13060 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13061 declaration.
13062
13063 2013-04-07 Leo Liu <sdl.web@gmail.com>
13064
13065 * pcmpl-x.el: New file.
13066
13067 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13068
13069 Do not set x-display-name until X connection is established.
13070 This is needed to prevent from weird situation described at
13071 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13072 * frame.el (make-frame): Set x-display-name after call to
13073 window system initialization function, not before.
13074 * term/x-win.el (x-initialize-window-system): Add optional
13075 display argument and use it.
13076 * term/w32-win.el (w32-initialize-window-system):
13077 * term/ns-win.el (ns-initialize-window-system):
13078 * term/pc-win.el (msdos-initialize-window-system):
13079 Add compatible optional display argument.
13080
13081 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13082
13083 * files.el (normal-backup-enable-predicate): On MS-Windows and
13084 MS-DOS compare truenames of temporary-file-directory and of the
13085 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13086 don't fail comparison by compare-strings. Also, compare file
13087 names case-insensitively on MS-Windows and MS-DOS.
13088
13089 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13092 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13093
13094 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13095
13096 * whitespace.el (whitespace-color-on, whitespace-color-off):
13097 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13098
13099 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13100
13101 * ispell.el (ispell-set-spellchecker-params):
13102 Really set `ispell-args' for all equivs.
13103
13104 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * ido.el (ido-completions): Use extra elements of ido-decorations
13107 (bug#14143).
13108 (ido-decorations): Update docstring.
13109
13110 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13113 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13114 nil during initialization, in order not to miss changes since the
13115 file was opened. (Bug#14140)
13116
13117 2013-04-05 Leo Liu <sdl.web@gmail.com>
13118
13119 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13120
13121 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13122
13123 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13124
13125 2013-04-04 Glenn Morris <rgm@gnu.org>
13126
13127 * electric.el (electric-pair-inhibit-predicate): Add :version.
13128
13129 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13132 when a package is required several times (bug#14082).
13133
13134 2013-04-04 Roland Winkler <winkler@gnu.org>
13135
13136 * faces.el (read-face-name): Behave as promised by the docstring.
13137 Assume that arg default is a list of faces.
13138 (describe-face): Call read-face-name with list of default faces.
13139
13140 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13141
13142 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13143 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13144 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13145 the header.
13146 (bookmark-exit-hook-internal): Save even if list is empty.
13147
13148 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13149
13150 * emacs-lisp/package.el (package-pinned-packages): New var.
13151 (package--add-to-archive-contents): Obey it (bug#14118).
13152
13153 2013-04-03 Alan Mackenzie <acm@muc.de>
13154
13155 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13156 Also adapt to the new values of element 7 of a parse state.
13157
13158 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13159 parameter `not-in-delimiter'. Handle being inside comment opener.
13160 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13161 character in case we're typing a '*' after a '/'.
13162 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13163 instead by passing the parameter to c-state-pp-to-literal.
13164
13165 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13166 for elt. 7 of a parse state.
13167
13168 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13169
13170 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13171 * international/latin1-disp.el, international/mule-util.el:
13172 * language/cyril-util.el, language/european.el, language/ind-util.el:
13173 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13174 * language/tibetan.el, language/viet-util.el:
13175 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13176
13177 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13180 (electric-pair-post-self-insert-function): Use it.
13181 (electric-pair-default-inhibit): New function, extracted from
13182 electric-pair-post-self-insert-function.
13183
13184 2013-03-31 Roland Winkler <winkler@gnu.org>
13185
13186 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13187
13188 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13191
13192 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13193
13194 Un-indent after "pass" and "return" statements (Bug#13888)
13195 * progmodes/python.el (python-indent-block-enders): New var.
13196 (python-indent-calculate-indentation): Use it.
13197
13198 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13199
13200 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13201 defun. Defining it as defalias could introduce too eager
13202 byte-compiler optimization. (Bug#14030)
13203
13204 2013-03-30 Chong Yidong <cyd@gnu.org>
13205
13206 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13207
13208 2013-03-30 Leo Liu <sdl.web@gmail.com>
13209
13210 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13211 (kmacro-execute-from-register): Pass the keyboard macro to
13212 kmacro-call-macro or repeating won't work correctly.
13213
13214 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13215
13216 * progmodes/subword.el: Back to using `forward-symbol'.
13217
13218 * subr.el (forward-whitespace, forward-symbol)
13219 (forward-same-syntax): Move from thingatpt.el.
13220
13221 2013-03-29 Leo Liu <sdl.web@gmail.com>
13222
13223 * kmacro.el (kmacro-to-register): New command.
13224 (kmacro-execute-from-register): New function.
13225 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13226
13227 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * mpc.el: Use defvar-local and setq-local.
13230 (mpc--proc-connect): Connection failures are not bugs.
13231 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13232 (mpc-volume-map): Bind to the up-events.
13233
13234 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13235
13236 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13237 instead of `forward-symbol'.
13238
13239 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13242 (edebug--recursive-edit): Use it.
13243 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13244 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13245
13246 2013-03-28 Leo Liu <sdl.web@gmail.com>
13247
13248 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13249
13250 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13251
13252 * facemenu.el (list-colors-callback): New defvar.
13253 (list-colors-redisplay): New function.
13254 (list-colors-display): Install list-colors-redisplay as the
13255 revert-buffer-function. (Bug#14063)
13256
13257 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13258
13259 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13260 and suffixes don't overlap (bug#14061).
13261
13262 * case-table.el: Use lexical-binding.
13263 (case-table-get-table): New function.
13264 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13265
13266 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13267
13268 * progmodes/subword.el: Add `superword-mode' to do word motion
13269 over symbol_words (parallels and leverages `subword-mode' which
13270 does word motion inside MixedCaseWords).
13271
13272 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13273
13274 * eshell/em-unix.el: Move su and sudo to...
13275 * eshell/em-tramp.el: ...Eshell tramp module.
13276
13277 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13278
13279 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13280 Change return value to be a sexp. Delay `get-buffer' to after
13281 restoring the desktop (bug#13951).
13282
13283 2013-03-26 Leo Liu <sdl.web@gmail.com>
13284
13285 * register.el: Move semantic tag handling back to
13286 cedet/semantic/senator.el. (Bug#14052)
13287
13288 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13291 into the prompt either (bug#13963).
13292
13293 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13296 part of "(error-foo)".
13297
13298 2013-03-24 Juri Linkov <juri@jurta.org>
13299
13300 * replace.el (list-matching-lines-prefix-face): New defcustom.
13301 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13302 `occur-engine' if `face-differs-from-default-p' returns t.
13303 (occur-engine): Add `,' inside backquote construct to evaluate
13304 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13305 Pass `prefix-face' to the functions `occur-context-lines' and
13306 `occur-engine-add-prefix'.
13307 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13308 `prefix-face' and propertize the prefix with `prefix-face'.
13309 (Bug#14017)
13310
13311 2013-03-24 Leo Liu <sdl.web@gmail.com>
13312
13313 * nxml/rng-valid.el (rng-validate-while-idle)
13314 (rng-validate-quick-while-idle): Guard against deleted buffer.
13315 (Bug#13999)
13316
13317 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13318 is the last entry in kill-buffer-hook.
13319
13320 * files.el (kill-buffer-hook): Doc fix.
13321
13322 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13323
13324 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13325 Make it safe-local.
13326
13327 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13328
13329 2013-03-23 Leo Liu <sdl.web@gmail.com>
13330
13331 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13332 Remove.
13333
13334 * nxml/rng-valid.el (rng-validate-mode)
13335 (rng-after-change-function, rng-do-some-validation):
13336 * nxml/rng-maint.el (rng-validate-buffer):
13337 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13338 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13339 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13340 (nxml-extend-after-change-region): Use with-silent-modifications.
13341
13342 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13343 timer-idle-list.
13344
13345 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13346 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13347 timer-idle-list. (Bug#13999)
13348
13349 2013-03-23 Juri Linkov <juri@jurta.org>
13350
13351 * info.el (info-index-match): New face.
13352 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13353 main pattern and add text properties with the new face to matches
13354 in index entries relative to the beginning of the index entry.
13355 (Bug#14015)
13356
13357 2013-03-21 Eric Ludlam <zappo@gnu.org>
13358
13359 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13360 Inhibit read only while inserting objects.
13361
13362 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13363
13364 * progmodes/cfengine.el: Update docs to mention
13365 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13366 symbol motion. Remove "_" from the word syntax.
13367
13368 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13369
13370 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13371 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13372
13373 2013-03-20 Juri Linkov <juri@jurta.org>
13374
13375 * info.el (Info-next-reference-or-link)
13376 (Info-prev-reference-or-link): New functions.
13377 (Info-next-reference, Info-prev-reference): Use them.
13378 (Info-try-follow-nearest-node): Handle footnote navigation.
13379 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13380
13381 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13384 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13385
13386 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13387
13388 Suppress unnecessary non-ASCII chatter during build process.
13389 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13390 (batch-skkdic-convert): Suppress most of the chatter.
13391 It's not needed so much now that machines are faster,
13392 and its non-ASCII component was confusing; see Dmitry Gutov in
13393 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13394
13395 2013-03-20 Leo Liu <sdl.web@gmail.com>
13396
13397 * ido.el (ido-chop): Fix bug#10994.
13398
13399 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13400
13401 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13402 Remove vars.
13403 (whitespace-color-on, whitespace-color-off):
13404 Use `font-lock-fontify-buffer' (Bug#13817).
13405
13406 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13409 remapping in mode-line.
13410 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13411
13412 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13413
13414 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13415 value for `whitespace-line' face (Bug#13875).
13416 (whitespace-font-lock-keywords): Change description.
13417 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13418 the constructed keywords instead.
13419 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13420
13421 2013-03-19 Leo Liu <sdl.web@gmail.com>
13422
13423 * progmodes/compile.el (compilation-display-error): New command.
13424 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13425 C-o. (Bug#13992)
13426
13427 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13428
13429 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13430
13431 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13432
13433 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13434
13435 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13436
13437 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13438
13439 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13440 * net/tramp-gvfs.el (top):
13441 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13442 (tramp-handle-shell-command): Use it.
13443 (tramp-dissect-file-name): Raise an error when hostname is a
13444 method name, and neither method nor user is specified.
13445
13446 * net/trampver.el: Update release number.
13447
13448 2013-03-18 Leo Liu <sdl.web@gmail.com>
13449
13450 Make sure eldoc can be turned off properly.
13451 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13452 eldoc-mode.
13453 (eldoc-display-message-p): Revert last change.
13454 (eldoc-display-message-no-interference-p)
13455 (eldoc-print-current-symbol-info): Tweak.
13456
13457 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13458
13459 * doc-view.el (doc-view-new-window-function): Check the new window
13460 overlay's display property instead the char property of the
13461 buffer's first char. Use `with-selected-window' instead of
13462 `save-window-excursion' with `select-window'.
13463 (doc-view-document->bitmap): Check the current doc-view overlay's
13464 display property instead the char property of the buffer's first char.
13465
13466 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13467
13468 Automate the build of ja-dic.el (Bug#13984).
13469 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13470 from the input, rather than assume that it's been done for us by the
13471 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13472 the current date into a ja-dic.el comment, as that complicates
13473 regression testing.
13474
13475 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * whitespace.el: Fix double evaluation.
13478 (whitespace-space, whitespace-hspace, whitespace-tab)
13479 (whitespace-newline, whitespace-trailing, whitespace-line)
13480 (whitespace-space-before-tab, whitespace-indentation)
13481 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13482 obsolete defvars.
13483 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13484 (whitespace-color-on): Use a single font-lock-add-keywords call.
13485 Fix double-evaluation of face variables.
13486
13487 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13488
13489 * net/tramp-adb.el (tramp-adb-parse-device-names):
13490 Use `start-process' instead of `call-process'. Otherwise, the
13491 function might be blocked under MS Windows. (Bug#13299)
13492
13493 2013-03-17 Leo Liu <sdl.web@gmail.com>
13494
13495 Extend eldoc to display info in the mode-line. (Bug#13978)
13496 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13497 (eldoc-mode-line-string): New variable.
13498 (eldoc-minibuffer-message): New function.
13499 (eldoc-message-function): New variable.
13500 (eldoc-message): Use it.
13501 (eldoc-display-message-p)
13502 (eldoc-display-message-no-interference-p):
13503 Support eldoc-post-insert-mode.
13504
13505 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13506 (eval-expression): Run it.
13507
13508 2013-03-17 Roland Winkler <winkler@gnu.org>
13509
13510 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13511 strings in the list of return values.
13512
13513 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13514
13515 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13516 radix before checking for HMS forms.
13517
13518 2013-03-16 Leo Liu <sdl.web@gmail.com>
13519
13520 * progmodes/scheme.el: Add indentation and font-locking for λ.
13521 (Bug#13975)
13522
13523 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13526 token before point (bug#13942).
13527
13528 2013-03-16 Leo Liu <sdl.web@gmail.com>
13529
13530 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13531
13532 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13533
13534 * startup.el (command-line-normalize-file-name): Fix handling of
13535 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13536 <xfq.free@gmail.com> in
13537 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13538
13539 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13540
13541 Sync with Tramp 2.2.7.
13542
13543 * net/trampver.el: Update release number.
13544
13545 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13546
13547 * doc-view.el: Fix bug#13887.
13548 (doc-view-insert-image): Don't modify overlay associated to
13549 non-live windows, and implement horizontal centering of image in
13550 case it's smaller than the window.
13551 (doc-view-new-window-function): Force redisplay of new windows on
13552 doc-view buffers.
13553
13554 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13555
13556 * saveplace.el (save-place-alist-to-file): Don't sort
13557 `save-place-alist', just pretty-print it (bug#13882).
13558
13559 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13560
13561 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13562 Check whether `default-file-name-coding-system' is bound.
13563 It isn't in XEmacs.
13564
13565 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13568 backquotes for `obsolete' (bug#13929).
13569
13570 * international/mule.el (find-auto-coding): Include file name in
13571 obsolescence warning (bug#13922).
13572
13573 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13574
13575 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13576 for CFEngine 3-specific indentation.
13577 (cfengine3-indent-line): Use it. Fix up category regex.
13578 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13579
13580 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13581
13582 * type-break.el (type-break-file-name):
13583 * textmodes/remember.el (remember-data-file):
13584 * strokes.el (strokes-file):
13585 * shadowfile.el (shadow-initialize):
13586 * saveplace.el (save-place-file):
13587 * ps-bdf.el (bdf-cache-file):
13588 * progmodes/idlwave.el (idlwave-config-directory):
13589 * net/quickurl.el (quickurl-url-file):
13590 * international/kkc.el (kkc-init-file-name):
13591 * ido.el (ido-save-directory-list-file):
13592 * emulation/viper.el (viper-custom-file-name):
13593 * emulation/vip.el (vip-startup-file):
13594 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13595 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13596
13597 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13598
13599 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13600 * language/thai-word.el: Switch to UTF-8.
13601
13602 See ChangeLog.16 for earlier changes.
13603
13604 ;; Local Variables:
13605 ;; coding: utf-8
13606 ;; End:
13607
13608 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13609
13610 This file is part of GNU Emacs.
13611
13612 GNU Emacs is free software: you can redistribute it and/or modify
13613 it under the terms of the GNU General Public License as published by
13614 the Free Software Foundation, either version 3 of the License, or
13615 (at your option) any later version.
13616
13617 GNU Emacs is distributed in the hope that it will be useful,
13618 but WITHOUT ANY WARRANTY; without even the implied warranty of
13619 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13620 GNU General Public License for more details.
13621
13622 You should have received a copy of the GNU General Public License
13623 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.