]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/saveplace.el (toggle-save-place): Fix argument handling (tiny change)
[gnu-emacs] / lisp / ChangeLog
1 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2
3 * saveplace.el (toggle-save-place):
4 Fix argument handling. (Bug#16673)
5
6 2014-02-28 Glenn Morris <rgm@gnu.org>
7
8 * minibuffer.el (completions-first-difference)
9 (completions-common-part, completion-hilit-commonality): Doc fixes.
10
11 2014-02-28 Karl Berry <karl@gnu.org>
12
13 * info.el (Info-mode-map): Add H for describe-mode,
14 to synchronize with standalone Info.
15
16 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
17
18 * progmodes/sql.el (sql-interactive-mode):
19 Avoid setting global comint-input-ring-separator. (Bug#16814)
20
21 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
22
23 * net/dbus.el (dbus--init-bus): Declare function.
24 (dbus-path-local, dbus-interface-local): New defconst.
25 (dbus-init-bus): Use them.
26 (dbus-return-values-table): Extend doc.
27 (dbus-handle-bus-disconnect): Extend error message.
28
29 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
30
31 * subr.el (y-or-n-p): Fix double space issue in message.
32
33 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
34
35 * net/tramp.el (tramp-call-process): Improve trace message.
36 (tramp-handle-insert-file-contents): Trace error case.
37
38 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
39 <insert-directory>: Use `tramp-handle-insert-directory'.
40 (tramp-adb-handle-insert-directory): Remove function.
41 (tramp-adb-send-command-and-check): New defun, replacing
42 `tramp-adb-command-exit-status'. Change all callees.
43 (tramp-adb-handle-file-attributes)
44 (tramp-adb-handle-directory-files-and-attributes): Use it.
45 (tramp-adb-ls-output-name-less-p): Use
46 `directory-listing-before-filename-regexp'.
47 (tramp-adb-handle-delete-directory): Flush also file properties of
48 the truename of directory.
49 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
50 (tramp-adb-handle-file-local-copy): Make the local copy readable.
51 (tramp-adb-handle-write-region): Implement APPEND.
52 (tramp-adb-handle-rename-file): Make it more robust. Flush file
53 properties correctly.
54 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
55 variables. Check for connected devices only when needed.
56
57 2014-02-27 Glenn Morris <rgm@gnu.org>
58
59 * minibuffer.el (completion-table-dynamic)
60 (completion-table-with-cache): Doc fixes.
61
62 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
63 (completing-read-multiple): Doc fixes.
64
65 2014-02-27 Daniel Colascione <dancol@dancol.org>
66
67 * minibuffer.el (completion--nth-completion): Fix indentation.
68
69 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
70 explicit tramp path is empty.
71
72 2014-02-27 Glenn Morris <rgm@gnu.org>
73
74 * emacs-lisp/crm.el (completing-read-multiple):
75 Empower help-enable-auto-load.
76
77 2014-02-26 Glenn Morris <rgm@gnu.org>
78
79 * startup.el (command-line): Don't init the tty in daemon mode.
80
81 Avoid calling tty-setup-hook twice, eg if a term file
82 explicitly calls tty-run-terminal-initialization. (Bug#16859)
83 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
84 (tty-create-frame-with-faces): Use it.
85 * startup.el (command-line): Pass run-hook argument
86 to tty-run-terminal-initialization.
87
88 * dired.el (dired-restore-desktop-buffer): Demote errors;
89 eg in case a glob match fails. (Bug#16884)
90
91 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
92
93 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
94 error from `read-from-string'. (Bug#16850)
95
96 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
97 result of `completing-read' in the interactive form. (Bug#16854)
98
99 2014-02-25 Glenn Morris <rgm@gnu.org>
100
101 * image.el (image-animate, image-animate-timeout):
102 Stop animating images in dead buffers. (Bug#16878)
103
104 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
105
106 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
107 Doc fixes.
108 * startup.el (term-setup-hook): Doc fix. Make obsolete.
109 * term/sun.el (sun-raw-prefix-hooks):
110 Use tty-setup-hook instead of term-setup-hook.
111 (terminal-init-sun): Construct message from bytecomp plist.
112 * term/wyse50.el (enable-arrow-keys): Doc fix.
113
114 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
115
116 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
117 Fix docstring typos.
118
119 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
120
121 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
122
123 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
124
125 * minibuffer.el (completion--try-word-completion):
126 Fix error when completing M-x commands (bug#16808).
127
128 2014-02-24 Leo Liu <sdl.web@gmail.com>
129
130 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
131
132 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
133
134 * apropos.el (apropos-print): Avoid formatting error when
135 apropos-do-all and apropos-compact-layout are both t.
136
137 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
138
139 * apropos.el (apropos-property, apropos-all-words-regexp)
140 (apropos-true-hit, apropos-variable, apropos-print):
141 Fix docstring typos, and remove obsolete comment.
142
143 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
144
145 * net/tramp-sh.el (tramp-sh-handle-file-truename):
146 Preserve trailing "/". (Bug#16851)
147
148 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
149
150 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
151 after `=>' (bug#16811).
152 (ruby-smie-rules): Handle the inconsistent second element of the
153 list returned by `smie-indent--parent'.
154 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
155 method call.
156
157 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
158
159 * elec-pair.el (electric-pair-text-syntax-table)
160 (electric-pair-syntax-info, electric-pair--syntax-ppss)
161 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
162 (electric-pair--looking-at-unterminated-string-p): Doc fix.
163 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
164
165 2014-02-22 Glenn Morris <rgm@gnu.org>
166
167 * imenu.el (imenu--generic-function): Doc fix.
168
169 * register.el (frame-configuration-to-register): Make obsolete.
170
171 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
172
173 * desktop.el (desktop-save-buffer-p): Do not fail when
174 desktop-files-not-to-save is nil. Return t for true result
175 as the doc says.
176
177 2014-02-22 Daniel Colascione <dancol@dancol.org>
178
179 * net/secrets.el (secrets-create-item,secrets-search-items): Check
180 that attribute values are strings, avoiding the construction of
181 invalid dbus messages.
182
183 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
184
185 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
186 defun-declarations-alist.
187
188 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
191 (bug#16829).
192
193 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
194
195 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
196 (whitespace-newline, whitespace-trailing, whitespace-line)
197 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
198 (whitespace-space-after-tab): Fix typo in docstrings.
199
200 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
201
202 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
203
204 * electric.el (electric-indent-functions-without-reindent):
205 Add `yaml-indent-line'.
206
207 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
208
209 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
210 It has done nothing for years; should be removed after the release.
211
212 * simple.el (choose-completion): Fix docstring typo.
213 (read-quoted-char-radix): Remove unneeded * in docstring.
214 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
215 Don't escape parentheses unnecessarily in docstrings.
216
217 2014-02-21 Martin Rudalics <rudalics@gmx.at>
218
219 Fix handling of window-min-height/-width (Bug#16738).
220 * window.el (window--dump-window, window--dump-frame):
221 New functions.
222 (window--min-size-1): Account for window dividers.
223 When window-resize-pixelwise is nil, delay rounding till after the
224 sum of the window components has been calculated.
225 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
226 nil make sure at least one text line and two text columns remain
227 fully visible.
228 (window-resize): Signal an error when window-resize-apply fails.
229 (window--resize-child-windows): Fix calculation of by how many
230 pixels a window can still be shrunk via window-new-normal.
231 (adjust-window-trailing-edge): Call window--resizable with
232 correct TRAIL argument.
233
234 (with-temp-buffer-window): Don't evaluate BODY within
235 with-current-buffer (Bug#16816).
236
237 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
238
239 * net/tramp.el (tramp-check-cached-permissions):
240 Call `file-attributes' with `suffix' being a symbol but a string.
241
242 2014-02-21 Daniel Colascione <dancol@dancol.org>
243
244 * net/dbus.el (dbus-init-bus-1): Declare new subr.
245 (dbus-init-bus): New function: call into dbus-init-bus-1
246 and installs a handler for the disconnect signal.
247 (dbus-call-method): Rewrite to look for result in cons.
248 (dbus-call-method-handler): Store result in cons.
249 (dbus-check-event): Recognize events with nil sender as valid.
250 (dbus-handle-bus-disconnect): New function. React to bus
251 disconnection signal by synthesizing dbus error for each
252 pending synchronous or asynchronous call.
253 (dbus-notice-synchronous-call-errors): New function.
254 (dbus-handle-event): Raise errors directly only when `dbus-debug'
255 is true, not all the time.
256
257 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
258
259 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
260 Remove obsolescence declarations, these variables do not exist anymore.
261
262 * savehist.el (savehist-save-minibuffer-history)
263 (savehist-additional-variables, savehist-file, savehist-mode-hook)
264 (savehist-save-hook, savehist-coding-system, savehist-loaded)
265 (savehist-load, savehist-install, savehist-autosave): Fix typos;
266 mostly, refer to "Savehist mode" when talking about the mode,
267 and not the function.
268
269 * saveplace.el (save-place): Remove redundant info in docstring.
270 (save-place-forget-unreadable-files, toggle-save-place)
271 (save-place-forget-unreadable-files, save-place-dired-hook):
272 Fix typos and remove unneeded backslashes.
273
274 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
277 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
278
279 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
280 <insert-directory>: Use `tramp-handle-insert-directory'.
281 (tramp-gvfs-handle-insert-directory): Remove function.
282
283 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
284 Call `tramp-handle-insert-directory'.
285
286 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
287
288 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
289 before the start of buffer/region (bug#16799).
290
291 2014-02-20 Glenn Morris <rgm@gnu.org>
292
293 * isearch.el (search-invisible): Doc fix.
294
295 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
296
297 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
298 (bug#16657).
299
300 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
301
302 * frameset.el (frameset-restore): Delay removing an old frame's
303 duplicate id until the new frame has been correctly created.
304
305 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
306
307 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
308 (tramp-check-cached-permissions): Call `file-attributes' if the
309 cache is empty.
310
311 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
312 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
313
314 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
315 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
316 (tramp-gvfs-maybe-open-connection): Set always connection
317 properties, even if target is mounted already.
318
319 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
320 Set tramp-autoload cookie.
321 (tramp-get-remote-touch): New defun.
322 (tramp-sh-handle-set-file-times): Use it.
323 (tramp-sh-handle-directory-files-and-attributes):
324 Use `tramp-handle-directory-files-and-attributes' if neither stat
325 nor perl are available on the remote host.
326
327 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
328 "/". Write long listing only when "l" belongs to the switches.
329
330 * net/trampver.el: Update release number.
331
332 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
333
334 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
335
336 2014-02-19 Martin Rudalics <rudalics@gmx.at>
337
338 * window.el (window-state-put): Allow WINDOW to refer to an
339 internal window (Bug#16793).
340
341 2014-02-19 Glenn Morris <rgm@gnu.org>
342
343 * textmodes/remember.el: Move provide statement to end.
344 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
345 (remember-notes): Doc fixes.
346
347 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * delsel.el (delete-char): Restore incorrectly erased property
350 (bug#16795).
351
352 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
353
354 * frameset.el (frameset--restore-frame): When a frame is being reused
355 and its root window is not alive, delete all the frame's windows before
356 restoring the window state. This works around the issue in bug#16793.
357
358 2014-02-18 Glenn Morris <rgm@gnu.org>
359
360 * textmodes/remember.el (remember-data-directory)
361 (remember-directory-file-name-format, remember-store-in-files)
362 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
363 (remember-notes-save-and-bury-buffer)
364 (remember-notes--kill-buffer-query): Doc fixes.
365
366 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
367
368 2014-02-17 Alan Mackenzie <acm@muc.de>
369
370 Connect electric-indent-mode up with CC Mode. Bug #15478.
371 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
372 to electric-indent-{,local-}-mode.
373 (c-basic-common-init): Set electric-indent-inhibit.
374 Initialise c-electric-flag from electric-indent-mode.
375 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
376 New hook functions which propagate electric-indent-mode to CC mode.
377
378 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
379 hit, toggle electric-indent-local-mode.
380
381 * electric.el (electric-indent-mode-has-been-called):
382 New variable.
383
384 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
385
386 * frameset.el (frameset-cfg-id): New function.
387 (frameset--reuse-frame, frameset-restore): Use it.
388 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
389
390 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * ido.el (ido-file-internal): Remove unused var `d'.
393 Use \` for to match BoS. Fit within 80n columns.
394
395 2014-02-17 Daniel Colascione <dancol@dancol.org>
396
397 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
398 dbus-call-method check for completion using a busy-wait loop with
399 gradual backoff.
400
401 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
402
403 Sync with Tramp 2.2.9.
404
405 * net/trampver.el: Update release number.
406
407 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
408
409 * ido.el (ido-file-internal): Don't add the name of an existing
410 directory twice. (Bug#16747)
411
412 2014-02-16 Glenn Morris <rgm@gnu.org>
413
414 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
415 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
416
417 2014-02-15 Michael R. Mauger <michael@mauger.com>
418
419 * progmodes/sql.el: Version 3.4
420 (sql-oracle-options): New default value ("-L").
421 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
422 (sql-placeholders-filter): Correct placeholder pattern.
423 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
424 (sql-login-delay): New variable.
425 (sql-product-interactive): Use it.
426
427 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
428
429 * frameset.el (frameset--jump-to-register): Check that buffer is live
430 (bug#16749).
431
432 2014-02-15 Glenn Morris <rgm@gnu.org>
433
434 * info.el (info-initialize): Revert 2014-01-10 change.
435
436 2014-02-14 Glenn Morris <rgm@gnu.org>
437
438 * replace.el (map-query-replace-regexp)
439 (read-regexp-defaults-function, read-regexp): Doc fixes.
440
441 * dired.el (dired-read-regexp):
442 * faces.el (list-faces-display):
443 * misearch.el (multi-isearch-read-matching-buffers)
444 (multi-isearch-read-matching-files):
445 * play/cookie1.el (cookie-apropos):
446 * progmodes/grep.el (grep-read-regexp): Doc fixes.
447
448 * textmodes/remember.el (remember): Use frameset-to-register
449 rather than frame-configuration-to-register.
450
451 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
452
453 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
454 incorrect keybinding.
455
456 2014-02-13 Daniel Colascione <dancol@dancol.org>
457
458 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
459 when adding overlays so that line numbers from compiler match line
460 numbers we use.
461
462 2014-02-13 Glenn Morris <rgm@gnu.org>
463
464 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
465
466 * jit-lock.el (jit-lock-mode): Doc fix.
467
468 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
469
470 * apropos.el (apropos-read-pattern): When the user passes an empty
471 string, give a more helpful error message than "Wrong type
472 argument: stringp, nil".
473
474 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
477
478 2014-02-13 Glenn Morris <rgm@gnu.org>
479
480 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
481
482 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
485 shift-select commands.
486
487 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
488
489 * progmodes/js.el (js-indent-line): Don't widen.
490 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
491
492 2014-02-12 Glenn Morris <rgm@gnu.org>
493
494 * icomplete.el (icomplete): Add info-link to defgroup.
495 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
496 (icomplete-minibuffer-map, icomplete-mode)
497 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
498
499 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
500 (package-menu-filter): Rename from package-menu-filter-interactive.
501 Doc fix.
502
503 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
504
505 * frameset.el (frameset--jump-to-register): Select the required
506 window and buffer before restoring position (bug#16696).
507
508 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
509
510 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
511
512 2014-02-10 Glenn Morris <rgm@gnu.org>
513
514 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
515
516 2014-02-10 Eli Zaretskii <eliz@gnu.org>
517
518 * w32-common-fns.el (x-get-selection): Doc fix.
519 * select.el (x-get-selection): Doc fix. (Bug#15109)
520
521 * face-remap.el (face-remap-add-relative)
522 (face-remap-remove-relative, face-remap-reset-base)
523 (face-remap-set-base): Call force-mode-line-update to redisplay
524 the current buffer due to potential change in faces. (Bug#16709)
525
526 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
527
528 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
529 script more robustly.
530
531 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
532
533 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
534
535 * simple.el (choose-completion): Doc fix (bug#14160).
536
537 * subr.el (event-start): Say what a nil EVENT value means.
538
539 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
540 (bug#14197).
541
542 * progmodes/grep.el (find-program): Doc fix (bug#14289).
543
544 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
545
546 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
547
548 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
549 predicate function (bug#15455).
550
551 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
552
553 * ielm.el (inferior-emacs-lisp-mode): Instead of
554 `comment-use-global-state', set `comment-use-syntax'.
555
556 2014-02-10 Glenn Morris <rgm@gnu.org>
557
558 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
559
560 2014-02-09 Alan Mackenzie <acm@muc.de>
561
562 Fix c-invalidate-state-cache on narrowed buffers.
563 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
564 Widen when setting and clearing the CPP delimiter properties.
565
566 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
567
568 * help.el (describe-bindings): Doc fix (bug#9888).
569
570 * files.el (save-buffer): Use ARG as the parameter name for
571 consistency (bug#10346).
572 (save-buffer): Clarify the 0 argument (bug#10346).
573
574 * cus-edit.el (customize-apropos): Fix error string.
575 (custom-buffer-create): Doc fix (bug#11122).
576 (custom-sort-items): Doc fix (bug#11121).
577
578 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
579
580 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
581 (icomplete-simple-completing-p): Mention the previous variable.
582
583 * font-lock.el (font-lock-value-in-major-mode): Clarify the
584 meaning of the parameter (bug#12282).
585
586 * files.el (find-file-noselect): Clarify prompt when changing
587 readedness (bug#13261).
588 (locate-file): Suffixes aren't returned, so don't say that they
589 are (bug#12674).
590 (backup-inhibited): Doc clarification (bug#12525).
591
592 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
593 before we actually start to delete things (bug#16331).
594
595 * subr.el (event-start): Doc fix (bug#14228).
596 (event-end): Ditto.
597
598 2014-02-09 Glenn Morris <rgm@gnu.org>
599
600 * emacs-lisp/warnings.el (lwarn):
601 Empower help-enable-auto-load. (Bug#15940)
602
603 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
604
605 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
606 (Bug#16690)
607
608 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
609
610 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
611 Insert output at end of buffer. (Bug#16120)
612
613 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
614
615 * simple.el (choose-completion-string-functions): Document new
616 calling convention (bug#14153).
617 (execute-extended-command): Clarify doc string (bug#13373).
618
619 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
620
621 * find-dired.el (find-name-dired): Doc fix (bug#14290).
622 (find-grep-dired): Doc fix (bug#14288).
623
624 2014-02-08 Juri Linkov <juri@jurta.org>
625
626 * isearch.el (isearch-quote-char): Check character validity
627 like in `quoted-insert' (bug#16677).
628
629 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
630
631 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
632
633 * isearch.el (isearch-hide-immediately): Doc clarification
634 (bug#14723).
635
636 * simple.el (line-move): Document utility function used many
637 places in the Emacs sources (bug#14843).
638
639 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
640 (dired-prev-marked-file): Doc fix (bug#14855).
641 (dired-up-directory): Doc fix (bug#14848).
642
643 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
644
645 * files.el (file-relative-name): Doc fix (bug#15159).
646
647 * fringe.el (fringe-styles): Doc fix (bug#15239).
648
649 * isearch.el (isearch-filter-predicate): Documentation typo fix
650 (bug#15474).
651
652 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
653
654 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
655
656 * replace.el (replace-match-maybe-edit): Doc clarification
657 (bug#15632).
658
659 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
660
661 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
662
663 2014-02-08 Glenn Morris <rgm@gnu.org>
664
665 * help-fns.el (describe-variable):
666 Check {file,dir}-local-variables-alist, and buffer-file-name,
667 in the correct buffer.
668
669 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
670
671 * help-fns.el (describe-variable): Fix the case where
672 a value is directory-local with no dir-locals file. (Bug#16635)
673
674 2014-02-08 Glenn Morris <rgm@gnu.org>
675
676 * abbrev.el (edit-abbrevs-mode):
677 Derive from fundamental-mode. (Bug#16682)
678
679 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
680
681 * simple.el (quoted-insert): Check character validity (bug#16677).
682
683 2014-02-07 Juri Linkov <juri@jurta.org>
684
685 * desktop.el (desktop-read): Claim the lock when the owner is not
686 the current process. (Bug#16157)
687
688 2014-02-07 Juri Linkov <juri@jurta.org>
689
690 * desktop.el (desktop-buffers-not-to-save): Change default from nil
691 to "\\` ". (Bug#16651)
692
693 2014-02-07 Juri Linkov <juri@jurta.org>
694
695 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
696 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
697 (desktop-auto-save-cancel-timer): New function with some code from
698 `desktop-auto-save-set-timer'.
699 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
700 Instead of setting `desktop-save-mode' to nil, call
701 `desktop-save-mode' with arg 0. (Bug#16630)
702
703 2014-02-07 Glenn Morris <rgm@gnu.org>
704
705 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
706 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
707 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
708
709 * obsolete/iswitchb.el: Move to obsolete/.
710 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
711 since obsolete/ is not scanned for autoloads.
712 * emacs-lisp/authors.el (authors-valid-file-names):
713 Add iswitchb.el.
714
715 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
716 Disable now non-functional find-file-hook.
717
718 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
719
720 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
721 instead of ";" in order to avoid additional prompts. Let heredoc
722 scripts read from tty. (Bug#16582)
723 (tramp-send-command): No special handling of heredocs, it isn't
724 necessary anymore.
725
726 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
729 with a space (bug#16664). Limit the symbols considered to the ones
730 that are bound or fbound (bug#16646).
731
732 2014-02-06 Glenn Morris <rgm@gnu.org>
733
734 * epa.el (epa-mail-aliases): Doc fix.
735
736 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
737
738 * emacs-lisp/lisp.el (lisp-completion-at-point):
739 Use `completion-table-merge' instead of `completion-table-in-turn'
740 (bug#16604).
741
742 * minibuffer.el (completion-table-merge): New function.
743
744 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
745
746 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
747 (tramp-sh-handle-set-file-acl)
748 (tramp-sh-handle-start-file-process)
749 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
750 (tramp-find-executable, tramp-send-command): Use it.
751
752 2014-02-05 Glenn Morris <rgm@gnu.org>
753
754 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
755
756 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
757
758 * progmodes/python.el (python-shell-send-string):
759 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
760
761 2014-02-04 Anders Lindgren <andlind@gmail.com>
762
763 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
764 the names (bug#16620).
765
766 2014-02-03 Martin Rudalics <rudalics@gmx.at>
767
768 * faces.el (window-divider): New default value. Rewrite doc-string.
769 (window-divider-first-pixel, window-divider-last-pixel): New faces.
770
771 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
772
773 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
774 `protected' and `public' can also be called without arguments.
775
776 2014-02-03 Glenn Morris <rgm@gnu.org>
777
778 * register.el (window-configuration-to-register)
779 (frame-configuration-to-register): Unadvertise unused argument.
780 * frameset.el (frameset-to-register): Remove unused argument.
781
782 * frameset.el (frameset-to-register):
783 * kmacro.el (kmacro-to-register):
784 * register.el (increment-register):
785 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
786 (calc-append-to-register, calc-prepend-to-register):
787 * play/gametree.el (gametree-layout-to-register)
788 (gametree-apply-register-layout):
789 * textmodes/picture.el (picture-clear-rectangle-to-register)
790 (picture-yank-rectangle-from-register):
791 * vc/emerge.el (emerge-combine-versions-register):
792 Use register-read-with-preview to read registers.
793
794 2014-02-03 João Távora <joaotavora@gmail.com>
795
796 * elec-pair.el (electric-pair-backward-delete-char): Don't error
797 when at beginning of (possibly narrowed) buffer.
798
799 2014-02-02 Daniel Colascione <dancol@dancol.org>
800
801 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
802 Also try to display local help from just before point.
803
804 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
805
806 c-parse-state. Don't "append-lower-brace-pair" in certain
807 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
808 recognised as a comment.
809
810 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
811 as well as normal comment starter.
812 (c-parse-state-get-strategy): Extra return possibility
813 'back-and-forward.
814 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
815 return value list to indicate replacement of a brace-pair cons
816 with its car.
817 (c-parse-state-1): With 'back-and-forward, only call
818 c-append-lower-brace-pair-to state-cache when cons-separated.
819
820 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
821
822 * term/ns-win.el (ns-suspend-error): New function.
823 (ns-initialize-window-system): Add ns-suspend-error to
824 suspend-hook (Bug#16612).
825
826 2014-02-02 Daniel Colascione <dancol@dancol.org>
827
828 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
829
830 2014-02-02 Daniel Colascione <dancol@dancol.org>
831
832 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
833
834 2014-02-02 Glenn Morris <rgm@gnu.org>
835
836 * register.el (register-read-with-preview, point-to-register)
837 (window-configuration-to-register, frame-configuration-to-register)
838 (jump-to-register, number-to-register, view-register, insert-register)
839 (copy-to-register, append-to-register, prepend-to-register)
840 (copy-rectangle-to-register): Doc fixes.
841
842 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
845 * emacs-lisp/find-func.el (find-function-C-source): Idem.
846 * emacs-lisp/nadvice.el (advice--cd*r): New function.
847 * help-fns.el (describe-function-1): Use it.
848
849 2014-02-02 Glenn Morris <rgm@gnu.org>
850
851 * register.el (register-preview-default): New function,
852 split from register-preview.
853 (register-preview-function): Rename from register-preview-functions,
854 make it not a hook.
855 (register-preview): Use register-preview-function.
856 (register-read-with-preview): Error on non-character event. (Bug#16595)
857
858 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
859
860 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
861 `:' before binary operators (bug#16609). Don't check for `:'
862 before `[' and `(', or their syntax status. A percent literal
863 can't end with either.
864 (ruby-font-lock-keywords): For built-ins that require arguments,
865 check that they're followed by something that looks like argument
866 (bug#16610).
867
868 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
869
870 * subr.el (butlast): Document what an omitted N means (bug#13437).
871 (nbutlast): Ditto.
872
873 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
874
875 * net/shr.el (shr-generic): Make into a defsubst to make the stack
876 depth shallower (bug#16587).
877 (shr-tag-svg): Respect `shr-inhibit-images'.
878 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
879
880 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
881
882 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
883 (ruby-smie-grammar): Make "." right-associative. Make its priority
884 lower than the ternary and all binary operators.
885 (ruby-smie-rules): Indent "(" relative to the first non-"."
886 parent, or the first "." parent at indentation.
887 Use `ruby-align-chained-calls' for indentation of "." tokens.
888 (Bug#16593)
889
890 2014-01-31 Juri Linkov <juri@jurta.org>
891
892 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
893 from `make-hash-table'.
894
895 * textmodes/ispell.el (ispell-init-process): Change message format
896 to be consistent with other messages.
897
898 2014-01-31 Glenn Morris <rgm@gnu.org>
899
900 * delsel.el (delete-selection-mode): Doc fix.
901
902 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
903 (trace-function-background): Doc fixes.
904
905 * ido.el (ido-use-virtual-buffers): Doc fix.
906 Reset :version, since the default value has not changed.
907
908 * register.el (register-preview-delay, register-read-with-preview):
909 Doc fixes.
910
911 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
912 do not mess with mail-buffer position (fixes 2009-11-03 change).
913 * progmodes/cc-mode.el (c-submit-bug-report):
914 Check auto-fill-mode is bound. (Bug#16592)
915
916 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
917
918 * startup.el (fancy-splash-image-file): New function,
919 split from fancy-splash-head.
920 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
921 so that we are both using the same image. (Bug#16574)
922
923 2014-01-30 Glenn Morris <rgm@gnu.org>
924
925 * simple.el (eval-expression): Doc fix.
926
927 * hexl.el (hexl-mode-hook):
928 * ielm.el (ielm-mode-hook):
929 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
930 (lisp-interaction-mode-hook):
931 * progmodes/cfengine.e (cfengine3-documentation-function):
932 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
933
934 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
937 is a symbol (bug#16584).
938
939 2014-01-30 Glenn Morris <rgm@gnu.org>
940
941 * help.el (help-for-help-internal): Add "P" to text.
942
943 2014-01-29 Glenn Morris <rgm@gnu.org>
944
945 * simple.el (just-one-space, cycle-spacing): Doc fixes.
946
947 2014-01-28 Martin Rudalics <rudalics@gmx.at>
948
949 * window.el (fit-frame-to-buffer): Fix calculations for margins and
950 height constraints.
951
952 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
953
954 * progmodes/hideif.el: Extend to full CPP expression syntax.
955 (hif-token-alist): Add missing tokens.
956 (hif-token-regexp): Add support for float/octal/hex immediates.
957 (hif-string-literal-regexp): New const.
958 (hif-tokenize): Recognize strings and float/octal/hex immediates.
959 (hif-exprlist): New function.
960 (hif-parse-if-exp): Use it.
961 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
962 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
963 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
964 (hif-logxor, hif-comma): New functions.
965
966 2014-01-28 Glenn Morris <rgm@gnu.org>
967
968 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
969
970 * indent.el (tab-stop-list): Doc fix. Add :version.
971
972 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
973 (cvs-append-to-ignore): Add compatibility alias.
974
975 2014-01-27 Glenn Morris <rgm@gnu.org>
976
977 * dired.el (dired-hide-details-mode): Don't autoload it,
978 since it cannot be used outside Dired buffers anyway.
979
980 * emulation/cua-base.el (cua-mode): Doc fix.
981
982 * dired.el (dired-hide-details-hide-symlink-targets)
983 (dired-hide-details-hide-information-lines)
984 (dired-hide-details-mode): Doc fixes.
985
986 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
987 * strokes.el (strokes-file): Doc fix. Bump :version.
988 (strokes-help): Doc fix.
989 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
990 * emulation/viper.el (viper): Doc fix for custom group.
991 (top-level): Remove oh-so-no-longer-relevant text about vip.
992 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
993
994 * ido.el (ido-save-directory-list-file):
995 * saveplace.el (save-place-file):
996 * calendar/timeclock.el (timeclock-file):
997 * net/quickurl.el (quickurl-url-file):
998 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
999 * progmodes/idlwave.el (idlwave-config-directory):
1000 * textmodes/remember.el (remember-data-file):
1001 Bump :version.
1002
1003 2014-01-26 Glenn Morris <rgm@gnu.org>
1004
1005 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1006 Doc fix. Make obsolete.
1007 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1008
1009 * sort.el (delete-duplicate-lines): Doc fix.
1010
1011 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1012
1013 * progmodes/ada-mode.el (ada):
1014 * woman.el (woman): Link to info manual and Commentary section.
1015
1016 * progmodes/flymake.el (flymake):
1017 * nxml/nxml-mode.el (nxml):
1018 * net/eww.el (eww):
1019 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1020 * htmlfontify.el (htmlfontify):
1021 * ses.el (ses):
1022 * epa.el (epa):
1023 * ido.el (ido): Link to info manual.
1024
1025 2014-01-25 Leo Liu <sdl.web@gmail.com>
1026
1027 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1028
1029 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1030
1031 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1032 (bug#16537).
1033
1034 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1035
1036 * net/eww.el (eww-download-callback):
1037 Fix reference to eww-download-directory.
1038
1039 * emacs-lisp/bytecomp.el (byte-compile-file):
1040 Remove unused local variable `file-name'.
1041
1042 2014-01-24 Glenn Morris <rgm@gnu.org>
1043
1044 * woman.el (woman-default-faces, woman-monochrome-faces):
1045 Fix obsolescence specification.
1046
1047 * subr.el (with-demoted-errors): Doc fix.
1048
1049 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1052 (cl--macroexp-fboundp): New function.
1053 (cl--make-type-test): Use it.
1054
1055 2014-01-23 Glenn Morris <rgm@gnu.org>
1056
1057 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1058 * simple.el (eval-expression): Doc fixes.
1059
1060 2014-01-22 Glenn Morris <rgm@gnu.org>
1061
1062 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1063
1064 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * emacs-lisp/package.el: Write files silently.
1067 (package-autoload-ensure-default-file, package--write-file-no-coding)
1068 (package-generate-description-file, package--download-one-archive)
1069 (package-install-from-archive): Tell `write-region' to stay quiet.
1070 (package-menu-mode, package-menu--print-info): Omit the Archive column
1071 if there's only one archive.
1072 (package-all-keywords, package--has-keyword-p): Remove dead code.
1073
1074 2014-01-22 Glenn Morris <rgm@gnu.org>
1075
1076 * version.el (emacs-bzr-version-bzr): Fix typo.
1077
1078 * version.el (emacs-repository-get-version):
1079 Check either .bzr or .git, but not both.
1080 Make the git case actually use the DIR argument, and return nil
1081 rather than the empty string.
1082 Avoid error if .git exists but the git executable is not found.
1083
1084 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1085
1086 Fixes in window size functions around Bug#16430 and Bug#16470.
1087 * window.el (window-total-size, window-size): New argument ROUND.
1088 (window--min-delta-1, window-min-delta, window--max-delta-1):
1089 Be more conservative when calculating the numbers of lines or
1090 columns a window can shrink (Bug#16430).
1091 (fit-window-to-buffer): Simplify code.
1092 * term.el (term-window-width): Call window-body-width again.
1093
1094 2014-01-22 Glenn Morris <rgm@gnu.org>
1095
1096 * image.el (image-format-suffixes): Doc fix.
1097
1098 * international/quail.el (quail-define-package): Doc fix.
1099
1100 * emacs-lisp/authors.el (authors-valid-file-names):
1101 (authors-renamed-files-alist): Additions.
1102
1103 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1104 reverts 2014-01-09 change. (Bug#16422)
1105
1106 * calc/calc-embed.el (thing-at-point-looking-at):
1107 * emacs-lisp/map-ynp.el (x-popup-dialog):
1108 * obsolete/lmenu.el (x-popup-dialog):
1109 * emacs-lisp/package.el (url-recreate-url):
1110 * mail/mailclient.el (clipboard-kill-ring-save):
1111 * subr.el (x-popup-dialog): Update declaration.
1112 * mail/rmail.el (rmail-mime-message-p):
1113 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1114
1115 2014-01-21 Daniel Colascione <dancol@dancol.org>
1116
1117 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1118 Correctly detect when we're inside an arithmetic expansion form
1119 containing nested parenthesis.
1120 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1121 to detect cases where we shouldn't expand "<<" to a heredoc
1122 skeleton.
1123
1124 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1127 (eldoc--message-command-p): New function.
1128 (eldoc-display-message-p): Use it.
1129 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1130 message is not automatically erased for us.
1131 (eldoc-print-current-symbol-info): Erase previous message, if any.
1132
1133 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1134
1135 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1136 specify it's an interactive function.
1137
1138 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1139 Fix regex used for scanning for citation keys which failed for
1140 citations with optional arguments.
1141
1142 2014-01-21 Leo Liu <sdl.web@gmail.com>
1143
1144 * simple.el (read--expression): Don't enable eldoc-mode.
1145
1146 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * simple.el (move-beginning-of-line): Make sure we don't move forward
1149 (bug#16497).
1150
1151 2014-01-20 Juri Linkov <juri@jurta.org>
1152
1153 * saveplace.el (toggle-save-place, save-place-to-alist)
1154 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1155 'dired-mode) before checking for dired-directory. (Bug#16477)
1156
1157 2014-01-20 Juri Linkov <juri@jurta.org>
1158
1159 * indent.el (indent-line-to): Use backward-to-indentation
1160 instead of back-to-indentation. (Bug#16461)
1161
1162 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1163
1164 Revert some of the CANNOT_DUMP fix (Bug#16494).
1165 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1166 but fixing this can wait until after the next release.
1167 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1168
1169 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1170
1171 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1172 Use `password-word-equivalents'.
1173 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1174 to t. (Bug#5664, Bug#13124)
1175
1176 2014-01-19 Alan Mackenzie <acm@muc.de>
1177
1178 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1179 points.
1180 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1181 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1182 * progmodes/cc-mode.el (c-before-change, c-after-change)
1183 (c-font-lock-fontify-region): Bind it here.
1184
1185 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1186
1187 * term.el (term-window-width): Call window-text-width instead of
1188 window-width (Bug#16470).
1189
1190 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1191
1192 * simple.el (password-word-equivalents): Remove duplicates.
1193 Sort, to make this easier next time.
1194 Downcase. Omit ": " after "jelszó".
1195
1196 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1197
1198 * term/common-win.el (saved-region-selection): Defvar it.
1199 (x-select-text): Set saved-region-selection (Bug#16382).
1200
1201 2014-01-18 Glenn Morris <rgm@gnu.org>
1202
1203 * emacs-lisp/authors.el (authors-aliases)
1204 (authors-renamed-files-alist): Add some entries.
1205
1206 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/tramp.el (tramp-password-prompt-regexp):
1209 Use `password-word-equivalents' if available.
1210 (tramp-action-password, tramp-process-one-action)
1211 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1212
1213 2014-01-17 Chong Yidong <cyd@gnu.org>
1214
1215 * simple.el (password-word-equivalents): New defcustom.
1216 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1217 to 24.4.
1218 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1219 to t. (Bug#13124)
1220
1221 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1222
1223 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1224 (ruby-align-to-stmt-keywords): Change the default value.
1225 Use `ruby-alignable-keywords' to generate the possible customization
1226 choices.
1227 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1228 keywords, check against the value of `ruby-alignable-keywords'
1229 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1230
1231 2014-01-17 Glenn Morris <rgm@gnu.org>
1232
1233 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1234
1235 Make M-x authors return zero *Authors Errors* from current logs.
1236 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1237 (authors-ignored-files): Add some entries, remove others.
1238 (authors-ambiguous-files, authors-valid-file-names):
1239 Add some entries.
1240 (authors-renamed-files-alist): Add, remove, and adjust entries.
1241 (authors-renamed-files-regexps): Add some entries.
1242 Remove some very broad ones. Make some entries `lax'.
1243 (authors-lax-changelogs): New constant.
1244 (authors-disambiguate-file-name): Treat top-level specially.
1245 (authors-lax-changelog-p): New function.
1246 (authors-canonical-file-name): Check file as written against
1247 authors-valid-file-names. Do not special-case etc/.
1248 Handle `lax' logs and authors-renamed-files-regexps elements.
1249
1250 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1251
1252 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1253 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1254 callers.
1255
1256 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1259 Assume we're already in the proper buffer.
1260 Inspired by Anders Lindgren <andlind@gmail.com>.
1261 (follow-post-command-hook): Call it from the right buffer.
1262 (follow-comint-scroll-to-bottom): Adjust call.
1263 (follow-all-followers): Use get-buffer-window-list.
1264
1265 2014-01-15 Daniel Colascione <dancol@dancol.org>
1266
1267 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1268 `buffer-file-name' in interactive-form so that we don't leave
1269 pathless file names in `file-name-history'.
1270
1271 2014-01-15 Juri Linkov <juri@jurta.org>
1272
1273 * indent.el (indent-rigidly): Set deactivate-mark to nil
1274 in transient indentation mode. (Bug#16438)
1275
1276 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 * emacs-lisp/package.el (package-desc-keywords): New function
1279 (Bug#16222).
1280 (describe-package-1, package-all-keywords)
1281 (package--has-keyword-p): Use it.
1282
1283 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1284
1285 * simple.el (define-alternatives): When creating the
1286 COMMAND-alternatives variable, assign COMMAND as its definition
1287 name so that `describe-variable' can relocate it.
1288
1289 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1290
1291 * font-lock.el (font-lock-keywords): Fix typo in docstring
1292 (bug#16307).
1293
1294 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1295
1296 * ispell.el (ispell-region): Reset `in-comment' for new line
1297 instead of wrongly reset `add-coment' (bug#13577).
1298
1299 2014-01-14 Daiki Ueno <ueno@gnu.org>
1300
1301 * epa-file.el (epa-file-write-region): Encode the region according
1302 to `buffer-file-format'. Problem reported at:
1303 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1304
1305 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1308 so it applies in the right buffer (bug#16410).
1309
1310 2014-01-13 Daniel Colascione <dancol@dancol.org>
1311
1312 * textmodes/rst.el (rst-define-key): Provide deprecated
1313 keybindings through named functions instead of anonymous ones so
1314 that "??" doesn't appear in describe-mode output.
1315
1316 2014-01-13 Bastien Guerry <bzg@gnu.org>
1317
1318 * simple.el (define-alternatives): Call the selected command
1319 interactively. When setting `COMMAND--implementation' for the
1320 first time, tell the user how to chose another implementation.
1321 Enhance the docstring.
1322
1323 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1326 (log-edit--match-first-line): New function.
1327 (log-edit-font-lock-keywords): Use it.
1328 (log-edit-mode): Make jit-lock-defer-multiline work.
1329
1330 2014-01-13 Bastien Guerry <bzg@gnu.org>
1331
1332 * rect.el (rectangle-mark-mode): When the region is not active,
1333 display a message saying that the mark as been set and that
1334 rectangle mode is in use.
1335 (rectangle--highlight-for-redisplay): Only put an overlay with a
1336 visible vertical bar when (display-graphic-p) is non-nil.
1337 This partially fixes Bug#16403.
1338
1339 2014-01-13 Juri Linkov <juri@jurta.org>
1340
1341 * info.el (Info-find-file): Go to DIR before displaying the error
1342 about a nonexistent file if no previous Info file is visited.
1343 Use `user-error' instead of `error' for "Info file %s does not exist".
1344 (Info-find-node-2): In case of a nonexistent node in unwind forms
1345 go to the Top node if there is no previous node to revert to.
1346 (Bug#16405)
1347
1348 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1349
1350 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1351 * window.el (fit-frame-to-buffer): Fix doc-string.
1352 Respect window-min-height/-width. Fit pixelwise when
1353 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1354 when avoiding that frame goes partially off-screen.
1355 (fit-window-to-buffer): Respect window-min-height/-width
1356 (Bug#14096).
1357
1358 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1361 after an empty line.
1362
1363 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * net/shr.el (shr-render-region): Autoload.
1366
1367 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1368
1369 * net/eww.el (eww-download-directory): Rename from
1370 `eww-download-path' (Bug#16419).
1371
1372 2014-01-12 Leo Liu <sdl.web@gmail.com>
1373
1374 * dired-x.el (dired-mode-map): Fix last change.
1375
1376 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1377
1378 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1379
1380 Spelling fixes.
1381 * emacs-lisp/generic.el (generic--normalize-comments):
1382 Rename from generic--normalise-comments. All uses changed.
1383 * play/bubbles.el (bubbles--neighborhood-score):
1384 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1385 (bubbles--neighborhood-available)
1386 (bubbles--update-neighborhood-score):
1387 Rename from names with 'neighbourhood'. All uses changed.
1388
1389 2014-01-12 Leo Liu <sdl.web@gmail.com>
1390
1391 Re-implement the feature of showing eldoc info after editing.
1392 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1393 (eldoc-edit-message-commands): New function.
1394 (eldoc-print-after-edit): New variable.
1395 (eldoc-pre-command-refresh-echo-area): Emit message only by
1396 eldoc-message-commands.
1397 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1398 if eldoc-print-after-edit is set. (Bug#16346)
1399 * simple.el (read--expression): Enable eldoc-mode.
1400 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1401
1402 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1403 Eric S. Raymond <esr@thyrsus.com>
1404
1405 * version.el (emacs-repository-get-version): Enhance so the
1406 function works correctly in either a Bazaar or Git repo.
1407
1408 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1409
1410 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1411 Goes with removal of the joke manpages from /etc.
1412
1413 2014-01-10 Kenichi Handa <handa@gnu.org>
1414
1415 * mail/rmail.el (rmail-get-coding-system):
1416 Check rmail-get-coding-function before "funcall"ing it.
1417
1418 2014-01-10 Glenn Morris <rgm@gnu.org>
1419
1420 * emacs-lisp/authors.el (authors-fixed-entries):
1421 Update for files that no longer exist.
1422
1423 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1424
1425 * version.el (emacs-bzr-get-version): Restore compatibilty with
1426 24.3 (Tested).
1427
1428 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1429
1430 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1431 and Podfile.
1432
1433 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1434
1435 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1436
1437 2014-01-10 Chong Yidong <cyd@gnu.org>
1438
1439 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1440
1441 2014-01-10 Anders Lindgren <andlind@gmail.com>
1442
1443 * follow.el (follow-cache-command-list): Include right-char and
1444 left-char.
1445
1446 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1447
1448 Spelling fixes.
1449 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1450 * woman.el (woman-mark-horizontal-position):
1451 Rename from woman-mark-horizonal-position. Use changed.
1452
1453 2014-01-10 Glenn Morris <rgm@gnu.org>
1454
1455 * info.el (info-initialize): If running uninstalled, ensure our
1456 own info files are always found first, even if INFOPATH is set.
1457
1458 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1459
1460 2014-01-09 David Engster <deng@randomsample.de>
1461
1462 * emacs-lisp/eieio-custom.el:
1463 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1464 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1465 * emacs-lisp/eieio.el: Regenerate autoloads.
1466
1467 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1468
1469 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1470 following renames. (Bug#8756)
1471
1472 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1475 (bug#16382).
1476 (activate-mark): Add `no-tmm' argument.
1477 (set-mark, push-mark-command): Use it instead of running
1478 activate-mark-hook by hand.
1479
1480 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1481
1482 In preparation for the move to git, sanitize out some
1483 Bazaar-specific names.
1484
1485 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1486
1487 * version.el (emacs-bzr-version): Name changed to
1488 emacs-repository-version. Obsolete-variable alias made.
1489 * loadup.el: Follow through on this name change.
1490 * mail/emacsbug.el (report-emacs-bug): Factor out any
1491 assumption about the version control system in use.
1492
1493 2014-01-08 David Engster <deng@randomsample.de>
1494
1495 * help-fns.el (help-fns-describe-function-functions):
1496 New variable to call functions for augmenting help buffers.
1497 (describe-function-1): Remove explicit calls to
1498 `help-fns--compiler-macro', `help-fns--parent-mode' and
1499 `help-fns--obsolete'. Put them in above new variable instead, and
1500 call them through `run-hook-with-args'.
1501 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1502 `eieio-describe-class'. Not meant for interactive use anymore,
1503 but to augment existing help buffers. Remove optional second
1504 argument. Create proper button for file location.
1505 Rewrite function to use `insert' instead of `princ' and `prin1' where
1506 possible.
1507 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1508 (eieio-method-def, eieio-class-def): Move further up.
1509 (describe-method, describe-generic, eieio-describe-method):
1510 Remove aliases.
1511 (eieio-help-constructor, eieio-help-generic): Rename from
1512 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1513 Rewrite to use `insert' in the current buffer and use proper help
1514 buttons.
1515 (eieio-help-find-method-definition)
1516 (eieio-help-find-class-definition): Also accept symbols as
1517 arguments.
1518 (eieio-help-mode-augmentation-maybee): Remove.
1519 (eieio-describe-class-sb): Use `describe-function'.
1520 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1521 Add `eieio-help-generic' and `eieio-help-constructor'.
1522
1523 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1524
1525 Spelling fixes.
1526 * language/china-util.el (hz-ascii-designation):
1527 Rename from hz-ascii-designnation.
1528 (hz-ascii-designation): Rename from hz-ascii-designnation.
1529 All uses changed.
1530
1531 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1532
1533 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1534 package-alist.
1535
1536 2014-01-08 Bastien Guerry <bzg@gnu.org>
1537
1538 * emacs-lisp/package.el (package-delete):
1539 Correctly delete the package from package-alist.
1540
1541 2014-01-08 Daiki Ueno <ueno@gnu.org>
1542
1543 * emacs-lisp/package.el (url-recreate-url): Declare.
1544 (url-http-target-url): Declare.
1545 (package-handle-response): Include requested URL in the error message.
1546 (package--check-signature): Don't re-signal errors from
1547 package--with-work-buffer. Suggested by Stefan Monnier.
1548
1549 2014-01-07 Bastien Guerry <bzg@gnu.org>
1550
1551 * minibuffer.el (completion--try-word-completion): When both a
1552 hyphen and a space are possible candidates for the character
1553 following a word, display both candidates. (Bug#15980)
1554
1555 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1556
1557 * window.el (balance-windows-2): While rounding don't give a
1558 window more than the remainder. Bug#16351, bug#16383.
1559
1560 2014-01-07 Glenn Morris <rgm@gnu.org>
1561
1562 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1563 (menu-bar-help-menu): Use view-external-packages instead.
1564
1565 2014-01-07 Bastien Guerry <bzg@gnu.org>
1566
1567 * emacs-lisp/package.el (package-delete): Also delete the package
1568 name from `package-alist', not its description only.
1569
1570 2014-01-07 Glenn Morris <rgm@gnu.org>
1571
1572 * help.el (view-external-packages):
1573 * menu-bar.el (menu-bar-help-extra-packages):
1574 Visit efaq.info rather than etc/MORE.STUFF.
1575
1576 2014-01-07 Juri Linkov <juri@jurta.org>
1577
1578 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1579 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1580
1581 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1582 that shadows RET. (Bug#16342)
1583
1584 2014-01-07 Chong Yidong <cyd@gnu.org>
1585
1586 * isearch.el (isearch-yank-char, isearch-yank-word)
1587 (isearch-yank-line): Doc fix.
1588
1589 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1592 * emacs-lisp/elint.el (elint-find-builtins):
1593 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1594 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1595 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1596 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1597 * apropos.el (apropos-safe-documentation):
1598 * subr.el (symbol-file): Remove redundant fboundp.
1599 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1600
1601 2014-01-06 Bastien Guerry <bzg@gnu.org>
1602
1603 * hl-line.el (global-hl-line-overlay): Make a local variable.
1604 (global-hl-line-overlays): New variable to store all overlays.
1605 (global-hl-line-mode): Don't delete overlays from the current
1606 buffer when `global-hl-line-sticky-flag' is non-nil.
1607 (global-hl-line-highlight): Add new overlays to
1608 `global-hl-line-overlays'.
1609 (global-hl-line-unhighlight-all): New function to delete all
1610 overlays when turning off `global-hl-line-mode'.
1611 This fixes Bug#16183.
1612
1613 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * subr.el (set-transient-map): Fix nested case and docstring.
1616
1617 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1618
1619 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1620 `Texinfo' entry.
1621
1622 2014-01-06 Daniel Colascione <dancol@dancol.org>
1623
1624 Fix defun navigation in vc log view.
1625
1626 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1627 like `beginning-of-defun'.
1628 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1629 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1630 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1631 (log-view-extract-comment): Call `log-view-current-entry' directly
1632 instead of relying on broken `log-view-beginning-of-defun' behavior.
1633
1634 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1635
1636 Spelling fixes.
1637 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1638 * emacs-lisp/debug.el (cancel-debug-on-entry):
1639 * epg.el (epg-error-to-string):
1640 * files.el (recover-file):
1641 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1642 * mail/emacsbug.el (report-emacs-bug-hook):
1643 * mail/sendmail.el (mail-recover):
1644 * ses.el (ses-yank-resize):
1645 * term/ns-win.el (ns-print-buffer):
1646 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1647 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1648 All uses changed.
1649 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1650
1651 2014-01-06 Leo Liu <sdl.web@gmail.com>
1652
1653 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1654 to avoid shadowing global key. (Bug#16354)
1655
1656 2014-01-06 Daniel Colascione <dancol@dancol.org>
1657
1658 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1659 rst-mode.
1660
1661 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1662
1663 * window.el (balance-windows): Add mising t to fix Bug#16351.
1664
1665 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1666
1667 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1668 (bug#16285).
1669 (shr-insert): If we have a word that's longer than `shr-width',
1670 break after it anyway. Otherwise we'll do no breaking once we get
1671 such a long word.
1672
1673 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1674
1675 * net/eww.el (eww): Support single/double quote for search.
1676 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1677 (eww-history-quit): Delete and use quit-window.
1678 (eww-history-kill): Delete, because it doesn't work well and
1679 not necessary.
1680 (eww-history-mode-map): Delete some keys and add easy-menu.
1681
1682 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1683
1684 Fix misspelling of 'chinese' in rx (Bug#16237).
1685 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1686 chinese-two-byte.
1687
1688 Change subword regexps back to vars (Bug#16296).
1689 * progmodes/subword.el (subword-forward-regexp)
1690 (subword-backward-regexp): Change these back to variables.
1691
1692 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1695 syntax-begin-function (bug#16247).
1696
1697 2014-01-03 Chong Yidong <cyd@gnu.org>
1698
1699 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1700 (advice--docstring): Delete variable.
1701 (advice--make-1): Leave the docstring empty.
1702 (advice-add): Use function-documentation for advised docstring.
1703
1704 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1705 Ignore function-documentation property when getting documentation.
1706 (ad-activate-advised-definition): Use function-documentation
1707 generate the docstring.
1708 (ad-make-advised-definition): Don't call
1709 ad-make-advised-definition-docstring.
1710 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1711 Delete functions.
1712
1713 * progmodes/sql.el (sql-help): Use function-documentation instead
1714 of dynamic-docstring-function property. No need to autoload now.
1715 (sql--help-docstring): New variable.
1716 (sql--make-help-docstring): Use it.
1717
1718 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * ielm.el (ielm-tab): Retarget.
1721 (ielm-map): Use ielm-tab for tab.
1722 (ielm-complete-filename): Use comint-filename-completion.
1723 (ielm-complete-symbol): Remove.
1724 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1725 remove ielm-tab from completion-at-point-functions (bug#16224).
1726
1727 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1728 Beware signals raised by predicates (bug#16201).
1729
1730 2014-01-02 Richard Stallman <rms@gnu.org>
1731
1732 * dired-aux.el (dired-do-print): Handle printer-name.
1733
1734 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1735 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1736 (rmail-epa-decrypt): Turn off mime processing.
1737
1738 * mail/rmail.el (rmail-make-in-reply-to-field):
1739 Add parens in message-id.
1740
1741 * mail/rmail.el (rmail-get-coding-function): Variable.
1742 (rmail-get-coding-system): Use it.
1743
1744 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1745
1746 * international/mule-conf.el: Unify the charset indian-is13194.
1747 (indian-is13194): Specify unify-map.
1748
1749 2013-12-31 Leo Liu <sdl.web@gmail.com>
1750
1751 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1752
1753 2013-12-30 Daniel Colascione <dancol@dancol.org>
1754
1755 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1756 of printing a useless when we resume from sleep.
1757
1758 * progmodes/sh-script.el
1759 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1760 in indentation code. (Bug#16233)
1761
1762 2013-12-28 João Távora <joaotavora@gmail.com>
1763
1764 * elec-pair.el (electric-pair-post-self-insert-function):
1765 Don't open extra newlines at beginning of buffer. (Bug#16272)
1766
1767 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1768
1769 * frame.el (window-system-for-display): Don't allow to create a
1770 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1771
1772 2013-12-28 Glenn Morris <rgm@gnu.org>
1773
1774 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1775 Update callers.
1776
1777 * apropos.el (apropos-match-face):
1778 * calculator.el (calculator-displayer):
1779 * dabbrev.el (dabbrev-search-these-buffers-only):
1780 * face-remap.el (buffer-face-mode-face):
1781 * simple.el (yank-handled-properties):
1782 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1783 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1784 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1785 (hashcash-double-spend-database):
1786 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1787 (ruby-deep-indent-paren-style):
1788 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1789 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1790 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1791 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1792 Specify custom types.
1793
1794 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1795 * bookmark.el (bookmark-bmenu-use-header-line):
1796 * doc-view.el (doc-view-scale-internally):
1797 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1798 * register.el (register-preview-delay):
1799 * net/shr.el (shr-bullet):
1800 * progmodes/cfengine.el (cfengine-cf-promises)
1801 (cfengine-parameters-indent):
1802 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1803 * textmodes/reftex-vars.el (reftex-label-regexps):
1804 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1805
1806 * net/tls.el (tls-certtool-program): Fix default value.
1807
1808 * desktop.el (desktop-restore-in-current-display):
1809 * newcomment.el (comment-empty-lines):
1810 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1811 (idlwave-pad-keyword):
1812 * progmodes/tcl.el (tcl-tab-always-indent):
1813 * textmodes/reftex-vars.el (reftex-index-default-tag):
1814 * elec-pair.el (electric-pair-skip-whitespace):
1815 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1816
1817 * emacs-lisp/authors.el (authors-ignored-files)
1818 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1819
1820 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1821
1822 * shell.el (shell-dynamic-complete-command): Doc fix.
1823 (shell--command-completion-data): Shell completion now matches
1824 executable filenames from the current buffer's directory, on
1825 systems in which this behavior is the default (windows-nt, ms-dos).
1826
1827 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1828
1829 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1830
1831 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1834 (bug#16251).
1835
1836 * electric.el: Move all electric-pair-* to elec-pair.el.
1837 * elec-pair.el: New file, split from electric.el.
1838
1839 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1840
1841 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1842 indentation level is larger than the width, because that will
1843 infloop.
1844 (shr-insert): Fill repeatedly long texts, so that Japanese is
1845 formatted correctly (bug#16263).
1846 (shr-find-fill-point): Off by one error in comparison with the
1847 indentation.
1848
1849 2013-12-26 João Távora <joaotavora@gmail.com>
1850
1851 * electric.el (electric-pair-mode): More flexible engine for skip-
1852 and inhibit predicates, new options for pairing-related functionality.
1853 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1854 if that keeps or improves their balance in buffers.
1855 (electric-pair-delete-adjacent-pairs): Delete the pair when
1856 backspacing over adjacent matched delimiters.
1857 (electric-pair-open-extra-newline): Open extra newline when
1858 inserting newlines between adjacent matched delimiters.
1859 (electric--sort-post-self-insertion-hook):
1860 Sort post-self-insert-hook according to priority values when
1861 minor-modes are activated.
1862 * simple.el (newline-and-indent): Call newline with interactive
1863 set to t.
1864 (blink-paren-post-self-insert-function): Set priority to 100.
1865 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1866 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1867 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1868 electric-pair-open-newline-between-pairs to nil.
1869
1870 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1871
1872 * progmodes/python.el: Use lexical-binding.
1873 (python-nav-beginning-of-defun): Stop searching ASAP.
1874
1875 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1876
1877 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1878 Fix interactive spec. Doc fix. (Bug#15754)
1879
1880 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1881
1882 * emacs-lisp/byte-run.el (eval-when-compile):
1883 * progmodes/cc-defs.el (cc-eval-when-compile):
1884 Fix edebug spec (bug#16184).
1885
1886 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1887
1888 * net/shr.el (shr-visit-file): Remove debugging function.
1889 (shr-insert): Don't infloop if we can't find a good place to break
1890 the line (bug#16256).
1891
1892 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1893
1894 * progmodes/python.el:
1895 (python-nav--lisp-forward-sexp): New function.
1896 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1897 python-nav-lisp-forward-sexp-safe.
1898 (python-nav--forward-sexp): New argument SAFE allows switching
1899 forward sexp movement behavior for parens.
1900 (python-nav-forward-sexp): Throw errors on unterminated parens
1901 (Bug#16191).
1902 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1903 (python-nav-backward-sexp-safe): New functions.
1904 (python-shell-buffer-substring):
1905 Use `python-nav-forward-sexp-safe'.
1906
1907 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1908
1909 * net/shr.el (shr-find-fill-point): Don't break lines before a
1910 quotation mark.
1911 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1912 (shr-find-fill-point): Remove the special checks for the quotation
1913 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1914
1915 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1916
1917 * net/eww.el (eww-form-textarea): Use a different face for
1918 textareas than text input since they have different keymaps
1919 (bug#16142).
1920
1921 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1922
1923 * progmodes/python.el (python-nav-beginning-of-statement):
1924 Speed up (Bug#15295).
1925
1926 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1927
1928 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1929 the window configuration.
1930
1931 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1932
1933 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1934 we run on MS-Windows or MS-DOS.
1935
1936 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1937
1938 * window.el (balance-windows-area): Call window-size instead of
1939 window-height and window-width. Bug#16241.
1940
1941 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1942
1943 * net/eww.el (eww-bookmark-quit): Remove.
1944 (eww-bookmark-browse): Restore the window configuration when you
1945 choose a bookmark (bug#16144).
1946
1947 2013-12-24 Daniel Colascione <dancol@dancol.org>
1948
1949 * icomplete.el: Remove redundant :group arguments to `defcustom'
1950 throughout.
1951 (icomplete-show-matches-on-no-input): New customizable variable.
1952 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1953 we have something to show.
1954 (icomplete-exhibit): Compute completions even if we have no user input.
1955
1956 2013-12-23 Daniel Colascione <dancol@dancol.org>
1957
1958 * icomplete.el: Move `provide' to end of file.
1959
1960 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1961
1962 * net/gnutls.el (gnutls-verify-error): Add version tag.
1963
1964 2013-12-23 Chong Yidong <cyd@gnu.org>
1965
1966 * subr.el (set-transient-map): Rename from
1967 set-temporary-overlay-map. Doc fix.
1968
1969 * face-remap.el (text-scale-adjust):
1970 * indent.el (indent-rigidly):
1971 * kmacro.el (kmacro-call-macro):
1972 * minibuffer.el (minibuffer-force-complete):
1973 * repeat.el (repeat):
1974 * simple.el (universal-argument--mode):
1975 * calendar/todo-mode.el (todo-insert-item--next-param):
1976 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1977
1978 * indent.el (indent-rigidly): Use substitute-command-keys.
1979
1980 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1981
1982 * net/eww.el (eww-tag-select): Add text-property to jump to next
1983 select field.
1984 (eww): Add non-supported ftp error.
1985
1986 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1987
1988 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1989 comments. Handle electric indent after typing `?' and `!'.
1990
1991 2013-12-22 Chong Yidong <cyd@gnu.org>
1992
1993 * faces.el (face-spec-recalc): If the theme specs are not
1994 applicable to a frame, fall back on the defface spec.
1995 This prevents themes from obliterating faces on low-color terminals.
1996
1997 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1998
1999 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2000 after `{'. We need it after block openers, and it doesn't seem
2001 to hurt after hash openers.
2002
2003 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2006 extracted from `ruby-smie-rules'.
2007 (ruby--electric-indent-chars): New variable.
2008 (ruby--electric-indent-p): New function.
2009 (ruby-mode): Use `electric-indent-functions' instead of
2010 `electric-indent-chars'.
2011
2012 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2013
2014 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2015 docstring.
2016 (ruby-smie-rules): Indent plus one level after `=>'.
2017
2018 2013-12-21 Richard Stallman <rms@gnu.org>
2019
2020 * simple.el (newline): Doc fix.
2021
2022 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2023
2024 * net/eww.el (eww-list-histories, eww-list-histories)
2025 (eww-history-browse, eww-history-quit, eww-history-kill)
2026 (eww-history-mode-map, eww-history-mode): New command and
2027 functions to list browser histories.
2028 (eww-form-text): Support text form with disabled
2029 and readonly attributes.
2030 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2031
2032 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2033
2034 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2035 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2036 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2037 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2038 Use `user-error'.
2039 (eww-bookmark-mode-map): Add menu.
2040 (eww-render, eww-mode): Use `setq-local'.
2041 (eww-tool-bar-map): New variable.
2042 (eww-mode): Set `tool-bar-map'.
2043 (eww-view-source): Check for `html-mode' with `fboundp'.
2044
2045 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2046
2047 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2048 elements with text inside. Also remove debugging.
2049
2050 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2051
2052 * cus-start.el (all): Add ns-use-srgb-colorspace.
2053
2054 2013-12-21 Chong Yidong <cyd@gnu.org>
2055
2056 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2057 undefined. Thus, theme settings for undefined faces do not take
2058 effect until the faces are defined with defface, the same as with
2059 theme variables.
2060
2061 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2062 (face-spec-reset-face): Don't assign extra properties in temacs.
2063 (face-spec-recalc): Apply X resources too.
2064
2065 2013-12-21 Chong Yidong <cyd@gnu.org>
2066
2067 * faces.el (face-spec-set):
2068 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2069 * custom.el (defface): Doc fixes (Bug#16203).
2070
2071 * indent.el (indent-rigidly-map): Add docstring, and move commands
2072 into named functions.
2073 (indent-rigidly-left, indent-rigidly-right)
2074 (indent-rigidly-left-to-tab-stop)
2075 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2076 indentation direction based on bidi direction, and accumulate
2077 sequential commands in a single undo boundary.
2078 (indent-rigidly--pop-undo): New utility function.
2079
2080 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * faces.el (read-face-name): Require crm.el when using crm-separator.
2083
2084 2013-12-20 Daniel Colascione <dancol@dancol.org>
2085
2086 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2087 so that we don't reflow comments into the shebang line.
2088
2089 2013-12-20 Juri Linkov <juri@jurta.org>
2090
2091 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2092 a position when `dired-directory' is non-nil. Check integer
2093 positions with `integerp'.
2094 (toggle-save-place, save-places-to-alist): Add check for
2095 `dired-directory'.
2096 (save-place-find-file-hook): Check integer positions with
2097 `integerp'.
2098 (save-place-dired-hook): Use `dired-goto-file' when
2099 `dired-filename' is found in the assoc list. Check integer
2100 positions with `integerp'.
2101 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2102
2103 * dired.el (dired-initial-position-hook): Rename back from
2104 `dired-initial-point-hook'.
2105 (dired-initial-position): Rename `dired-initial-point-hook' to
2106 `dired-initial-position-hook'.
2107 (dired-file-name-at-point): Doc fix. (Bug#15329)
2108
2109 2013-12-20 Juri Linkov <juri@jurta.org>
2110
2111 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2112 (read-regexp-suggestions): New function.
2113 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2114 Use `read-regexp-suggestions'. Add non-empty default to history
2115 for empty input.
2116 (occur-read-regexp-defaults-function): Remove function.
2117 (occur-read-primary-args): Use `regexp-history-last' instead of
2118 `occur-read-regexp-defaults-function'.
2119
2120 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2121 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2122 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2123 `hi-lock-read-regexp-defaults-function'. Doc fix.
2124 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2125 with `find-tag-default-as-symbol-regexp'. Doc fix.
2126 (hi-lock-read-regexp-defaults): Remove function.
2127 (hi-lock-regexp-okay): Add check for null.
2128
2129 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2130 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2131
2132 * subr.el (find-tag-default-as-symbol-regexp): New function.
2133 (find-tag-default-as-regexp): Move symbol regexp formatting to
2134 `find-tag-default-as-symbol-regexp'.
2135
2136 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2137
2138 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2139 (Bug#14179)
2140
2141 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2142
2143 * calendar/todo-mode.el: New implementation of item insertion
2144 commands and key bindings.
2145 (todo-key-prompt): New face.
2146 (todo-insert-item): New command.
2147 (todo-insert-item--parameters): New defconst, replacing defvar
2148 todo-insertion-commands-args-genlist.
2149 (todo-insert-item--param-key-alist): New defconst, replacing
2150 defvar todo-insertion-commands-arg-key-list.
2151 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2152 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2153 (todo-insert-item--next-param): New functions.
2154 (todo-insert-item--args, todo-insert-item--argleft)
2155 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2156 New variables.
2157 (todo-key-bindings-t): Change binding of "i" from
2158 todo-insertion-map to todo-insert-item.
2159 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2160 (todo-insertion-command-name, todo-insertion-commands-names)
2161 (todo-define-insertion-command, todo-insertion-commands)
2162 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2163
2164 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2165
2166 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2167 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2168 eval-when-compile.
2169 (todo-move-category): Allow choosing a non-existing todo file to
2170 move the category to, and create that file.
2171 (todo-default-priority): New user option.
2172 (todo-set-item-priority): Use it.
2173 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2174 (desktop-restore-file-buffer): Declare.
2175 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2176 (todo-modes-set-2): Locally set desktop-save-buffer to
2177 todo-desktop-save-buffer.
2178 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2179 (auto-mode-alist): Add autoload cookie.
2180
2181 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2182
2183 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2184 helpers.el was a poor choice of name.
2185 (string-remove-prefix): New function.
2186 (string-remove-suffix): New function.
2187
2188 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2189
2190 Fix assignment for new window total sizes.
2191 * window.el (window--pixel-to-size): Remove function.
2192 (window--pixel-to-total-1, window--pixel-to-total):
2193 Fix calculation of new total sizes.
2194
2195 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2196
2197 * comint.el (comint-output-filter): Fix rear-nonsticky property
2198 placement (Bug#16010).
2199
2200 2013-12-20 Chong Yidong <cyd@gnu.org>
2201
2202 * faces.el (read-color): Minor fix for completion function.
2203
2204 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2205
2206 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2207 New option. (Bug#16182)
2208 (ruby-smie--indent-to-stmt-p): Use it.
2209 (ruby-smie-rules): Revert the logic in the handling of `when'.
2210 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2211 (ruby-deep-arglist, ruby-deep-indent-paren)
2212 (ruby-deep-indent-paren-style): Update docstrings to note that the
2213 vars don't have any effect with SMIE.
2214
2215 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2216
2217 * calc/calc.el (calc-enter, calc-pop): Use the variable
2218 `calc-context-sensitive-enter'.
2219
2220 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2221
2222 * net/shr.el (shr-insert): Protect against infloops in degenerate
2223 tables.
2224
2225 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2226
2227 * progmodes/octave.el (octave): Add link to manual and octave
2228 homepage.
2229 (octave-mode-menu): Link to octave-mode manual.
2230
2231 2013-12-20 Leo Liu <sdl.web@gmail.com>
2232
2233 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2234 insertion using skeleton-end-newline. (Bug#16138)
2235
2236 2013-12-20 Juri Linkov <juri@jurta.org>
2237
2238 * replace.el (occur-engine): Use `add-face-text-property'
2239 to add the face property to matches and titles. (Bug#14645)
2240
2241 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2242 the palette of other hi-lock colors.
2243 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2244
2245 2013-12-19 Juri Linkov <juri@jurta.org>
2246
2247 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2248 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2249 (minibuffer-history-symbol): Move variable declaration closer to
2250 its usage.
2251
2252 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2253 (Bug#14785)
2254
2255 2013-12-19 Juri Linkov <juri@jurta.org>
2256
2257 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2258 New function.
2259 (log-edit-hook): Add it to :options. (Bug#16170)
2260
2261 2013-12-19 Juri Linkov <juri@jurta.org>
2262
2263 * simple.el (eval-expression-print-format): Don't check for
2264 command names and the last command. Always display additional
2265 formats of the integer result in the echo area, and insert them
2266 to the current buffer only with a zero prefix arg.
2267 Display character when char-displayable-p is non-nil.
2268 (eval-expression): With a zero prefix arg, set `print-length' and
2269 `print-level' to nil, and insert the integer values from
2270 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2271
2272 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2273 `eval-last-sexp-arg-internal'. Doc fix.
2274 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2275 `eval-last-sexp-print-value'. Doc fix.
2276 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2277 Set `print-length' and `print-level' to nil when arg is zero.
2278 (eval-last-sexp): Doc fix.
2279 (eval-defun-2): Print the integer values from
2280 `eval-expression-print-format' at the end.
2281
2282 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2283 values from `eval-expression-print-format' at the end.
2284
2285 * ielm.el (ielm-eval-input): Print the integer
2286 values from `eval-expression-print-format' at the end.
2287
2288 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2289
2290 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2291 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2292
2293 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2296 (hl-line-highlight, global-hl-line-highlight): Use it.
2297 (hl-line-overlay): Use defvar-local.
2298
2299 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2300
2301 * term/ns-win.el: Require dnd.
2302 (global-map): Remove drag items.
2303 (ns-insert-text, ns-set-foreground-at-mouse)
2304 (ns-set-background-at-mouse):
2305 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2306 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2307 New functions.
2308
2309 2013-12-19 Glenn Morris <rgm@gnu.org>
2310
2311 * emacs-lisp/ert.el (ert-select-tests):
2312 Fix string/symbol mixup. (Bug#16121)
2313
2314 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2315
2316 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2317 keywords to their parent.
2318
2319 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2322 first arg to be a string (fixed dead code), or an operator symbol.
2323 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2324 operator symbols.
2325 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2326 did nothing. Don't respond to `(:after ".")', it will be called
2327 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2328 change anything. Only return indentation for binary operators
2329 when they are hanging. De-dent opening paren when its parent is
2330 `.', otherwise it looks bad when the dot is not at bol or eol
2331 (bug#16182).
2332
2333 2013-12-19 Juri Linkov <juri@jurta.org>
2334
2335 * replace.el (query-replace-read-args): Split a non-negative arg
2336 and a negative arg into separate elements.
2337 (query-replace, query-replace-regexp, replace-string)
2338 (replace-regexp): Add arg `backward'. Doc fix.
2339 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2340 move point to the beginning of the match.
2341 (replace-search, replace-highlight): Use new arg `backward'
2342 to set the value of `isearch-forward'.
2343 (perform-replace): Add arg `backward' and use it to perform
2344 replacement backward. (Bug#14979)
2345
2346 * isearch.el (isearch-query-replace): Use a negative prefix arg
2347 to call `perform-replace' with a non-nil arg `backward'.
2348
2349 2013-12-18 Juri Linkov <juri@jurta.org>
2350
2351 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2352 to the default list. Move `log-edit-show-files' to the end.
2353 Add more available functions to options.
2354 (log-edit): Move default specific settings to
2355 `log-edit-insert-message-template'. Don't move point.
2356 (log-edit-insert-message-template): New function.
2357 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2358 (Bug#16170)
2359
2360 2013-12-18 Juri Linkov <juri@jurta.org>
2361
2362 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2363 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2364
2365 2013-12-18 Leo Liu <sdl.web@gmail.com>
2366
2367 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2368 (Bug#16186)
2369
2370 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2371
2372 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2373 formats for displaying file sizes when the -s switch is given.
2374 Instead, compute a separate format for displaying the size in
2375 blocks, which is displayed in addition to the "regular" size.
2376 When -h is given in addition to -s, produce size in blocks in
2377 human-readable form as well. (Bug#16179)
2378
2379 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2380
2381 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2382 Reference tables with ~\ref{...} instead of only \ref{...}.
2383
2384 2013-12-18 Chong Yidong <cyd@gnu.org>
2385
2386 * cus-edit.el (custom-magic-alist): Fix "themed" description
2387 (Bug#14348).
2388
2389 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2390 is non-nil, do not create a new entry in the symbol's theme-value
2391 or theme-face property; update theme-settings only (Bug#14664).
2392 (custom-available-themes): Doc fix.
2393
2394 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2395 (Bug#15674).
2396
2397 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2398
2399 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2400
2401 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2402 (Bug#13914).
2403
2404 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2405
2406 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2407
2408 2013-12-18 Glenn Morris <rgm@gnu.org>
2409
2410 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2411 * cus-start.el (load-prefer-newer): New option.
2412
2413 2013-12-18 Le Wang <l26wang@gmail.com>
2414
2415 * comint.el (comint-previous-matching-input-from-input):
2416 Retain point (Bug#13404).
2417
2418 2013-12-18 Chong Yidong <cyd@gnu.org>
2419
2420 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2421
2422 2013-12-18 Glenn Morris <rgm@gnu.org>
2423
2424 * mail/emacsbug.el (report-emacs-bug):
2425 Only mention enable-multibyte-characters if non-standard.
2426
2427 2013-12-17 Juri Linkov <juri@jurta.org>
2428
2429 * arc-mode.el (archive-extract-by-file): Check if directory exists
2430 before deletion to not show irrelevant errors if it doesn't exist.
2431
2432 2013-12-17 Juri Linkov <juri@jurta.org>
2433
2434 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2435 (Bug#14751)
2436
2437 * net/eww.el (browse-web): Add alias to `eww'.
2438 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2439 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2440
2441 * net/browse-url.el (browse-url-browser-function): Move `eww'
2442 closer to similar functions.
2443
2444 * startup.el (fancy-startup-screen, fancy-about-screen):
2445 Set browse-url-browser-function to eww-browse-url locally.
2446 (Bug#14751)
2447
2448 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * window.el (window--pixel-to-total): Remove unused `mini' var.
2451 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2452 (split-window): Remove unused `new' var.
2453 (window--display-buffer): Remove unused `frame' and `delta' vars.
2454 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2455 and display-width'.
2456
2457 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2458
2459 * dired.el (dired-mark-pop-up):
2460 * register.el (register-preview): Don't bind
2461 split-height-threshold here since it's now done in
2462 display-buffer-below-selected.
2463
2464 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2465
2466 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2467 xterm-rgb-convert-to-16bit.
2468 (rxvt-register-default-colors): Standardize with
2469 xterm-register-default-colors (Bug#14078).
2470
2471 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2472
2473 * simple.el (kill-region): Pass mark first, then point, so that
2474 kill-append works right (Bug#12819).
2475 (copy-region-as-kill, kill-ring-save): Likewise.
2476
2477 2013-12-17 Leo Liu <sdl.web@gmail.com>
2478
2479 * net/rcirc.el (rcirc-add-face):
2480 * eshell/em-prompt.el (eshell-emit-prompt):
2481 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2482 (Bug#16167)
2483
2484 2013-12-17 Chong Yidong <cyd@gnu.org>
2485
2486 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2487 Suggested by Xue Fuqiao.
2488
2489 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2490
2491 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2492
2493 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * net/shr.el (shr-insert-document): Remove unused var
2496 `shr-preliminary-table-render'.
2497 (shr-rescale-image): Remove unused arg `force'.
2498 (shr-put-image): Update calls accordingly.
2499 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2500
2501 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2502
2503 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2504 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2505 :close-all, to see which indentation method to use (Bug#16116).
2506 (smie-rules-function): Document the method :close-all.
2507
2508 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2509
2510 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2511
2512 * net/eww.el (eww-display-html): If we can't find the anchor we're
2513 looking for, then go to point-min.
2514
2515 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2516
2517 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2518 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2519 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2520 Expand dir too, in case it's relative.
2521
2522 2013-12-16 Juri Linkov <juri@jurta.org>
2523
2524 * desktop.el (desktop-auto-save-timeout): Change default to
2525 `auto-save-timeout'. Doc fix.
2526 (desktop-save): Skip the timestamp in desktop-saved-frameset
2527 when checking for auto-save changes.
2528 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2529 `desktop-auto-save' is called repeatedly by the idle timer.
2530 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2531 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2532 (Bug#15331)
2533
2534 2013-12-16 Juri Linkov <juri@jurta.org>
2535
2536 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2537 (Bug#16035)
2538 (isearch-pre-command-hook): Check `this-command' for symbolp.
2539
2540 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2543
2544 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2545
2546 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2547 (cfengine3--current-function): Bring in the current-function
2548 functionality from `cfengine3--current-word'.
2549 (cfengine3-completion-function): Bring in the
2550 bounds-of-current-word functionality from
2551 `cfengine3--current-word'.
2552
2553 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2554
2555 * window.el (display-buffer-below-selected):
2556 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2557
2558 2013-12-16 Leo Liu <sdl.web@gmail.com>
2559
2560 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2561 Remove NOMSG arg and all uses changed.
2562
2563 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2566 (cua--deactivate-rectangle): Don't deactivate the mark.
2567 (cua-set-rectangle-mark): Don't set mark-active since
2568 cua--activate-rectangle already does it for us.
2569 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2570 non-rectangular region.
2571
2572 * emulation/cua-base.el (cua-repeat-replace-region):
2573 Use with-current-buffer.
2574
2575 * net/gnutls.el: Use cl-lib.
2576 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2577
2578 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2579
2580 * emacs-lisp/package.el (package-built-in-p): Support both
2581 built-in and the package.el converted package descriptions.
2582 (package-show-package-list): Allow keywords.
2583 (package-keyword-button-action): Use it instead of
2584 `finder-list-matches'.
2585 (package-menu-filter-interactive): Interactive filtering (by
2586 keyword) function.
2587 (package-menu--generate): Support keywords and change keymappings
2588 and headers when they are given.
2589 (package--has-keyword-p): Helper function.
2590 (package-menu--refresh): Use it.
2591 (package--mapc): Helper function.
2592 (package-all-keywords): Use it.
2593 (package-menu-mode-map): Set up menu items and keybindings to
2594 provide a filtering UI.
2595
2596 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2597
2598 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2599 the behavior when a certificate fails validation. Defaults to
2600 old behavior: never abort, just warn.
2601 (gnutls-negotiate): Use it.
2602
2603 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2604
2605 * window.el (display-buffer-below-selected): Never split window
2606 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2607
2608 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2609
2610 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2611 (package-buffer-info): Use it (bug#15108).
2612
2613 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * icomplete.el (icomplete-completions): Make sure the prefix is already
2616 displayed elsewhere before hiding it (bug#16219).
2617
2618 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2621 open-paren tokens when preceded by a open-paren, too.
2622 (ruby-smie-rules): Handle virtual indentation after open-paren
2623 tokens specially. If there is code between it and eol, return the
2624 column where is starts (Bug#16118).
2625
2626 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2627
2628 * progmodes/cfengine.el: Fix `add-hook' doc.
2629 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2630 (cfengine3--current-word): Fix parameters.
2631 (cfengine3-make-syntax-cache): Simplify further.
2632 (cfengine3-completion-function, cfengine3--current-function):
2633 Use `assq' for symbols.
2634 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2635
2636 2013-12-13 Glenn Morris <rgm@gnu.org>
2637
2638 * loadup.el (load-path): Warn if site-load or site-init changes it.
2639 No more need to reset it when bootstrapping.
2640
2641 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2642
2643 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2644 locations for cf-promises.
2645 (cfengine-mode-syntax-functions-regex): New caching variable.
2646 (cfengine3-fallback-syntax): Fallback syntax for cases where
2647 cf-promises doesn't run.
2648 (cfengine3--current-word): Reimplement using
2649 `cfengine-mode-syntax-functions-regex'.
2650 (cfengine3-completion-function, cfengine3--current-function):
2651 Use `cfengine3-make-syntax-cache' directly.
2652 (cfengine3-clear-syntax-cache): New function.
2653 (cfengine3-make-syntax-cache): Simplify and create
2654 `cfengine-mode-syntax-functions-regex' on demand.
2655 (cfengine3-format-function-docstring): Don't call
2656 `cfengine3-make-syntax-cache' explicitly.
2657
2658 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2659
2660 Fix windmove-find-other-window broken after pixelwise resizing
2661 (Bug#16017).
2662 * windmove.el (windmove-other-window-loc): Revert change from
2663 2013-12-04.
2664 (windmove-find-other-window): Call window-in-direction.
2665 * window.el (window-in-direction): New arguments SIGN, WRAP and
2666 MINI to emulate original windmove-find-other-window behavior.
2667
2668 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2669
2670 * simple.el (blink-matching--overlay): New variable.
2671 (blink-matching-open): Instead of moving point, highlight the
2672 matching paren with an overlay
2673 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2674
2675 * faces.el (paren-showing-faces, show-paren-match)
2676 (show-paren-mismatch): Move from paren.el.
2677
2678 2013-12-13 Leo Liu <sdl.web@gmail.com>
2679
2680 * indent.el (indent-region): Disable progress reporter in
2681 minibuffer. (Bug#16108)
2682
2683 * bindings.el (visual-order-cursor-movement): Fix version.
2684
2685 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2686
2687 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2688 Also match after beginning of line.
2689 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2690 files. Thanks to Russell Sim. (Bug#15378)
2691
2692 2013-12-13 Juri Linkov <juri@jurta.org>
2693
2694 * simple.el <Keypad support>: Remove key bindings duplicated
2695 with bindings.el. (Bug#14397)
2696
2697 2013-12-13 Juri Linkov <juri@jurta.org>
2698
2699 * comint.el (comint-mode-map): Replace `delete-char' with
2700 `delete-forward-char'. (Bug#16109)
2701
2702 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2703
2704 * progmodes/python.el (python-indent-calculate-indentation):
2705 Fix de-denters cornercase. (Bug#15731)
2706
2707 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2710 (advice--make): Pay attention to `depth'.
2711 (advice--make-1): Don't autoload commands eagerly.
2712 * emacs-lisp/elp.el (elp-instrument-function):
2713 * emacs-lisp/trace.el (trace-function-internal):
2714 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2715
2716 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2717
2718 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2719
2720 * term/w32-win.el (w32-handle-dropped-file):
2721 * startup.el (normal-top-level):
2722 * net/browse-url.el (browse-url-file-url):
2723 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2724 decode file names using 'utf-8' rather than
2725 file-name-coding-system.
2726
2727 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2728
2729 * progmodes/python.el (python-indent-context)
2730 (python-indent-calculate-indentation): Fix auto-identation
2731 behavior for comment blocks. (Bug#15916)
2732
2733 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2734
2735 * progmodes/python.el (python-indent-calculate-indentation):
2736 When determining indentation, don't treat "return", "pass", etc., as
2737 operators when they are just string constituents. (Bug#15812)
2738
2739 2013-12-12 Juri Linkov <juri@jurta.org>
2740
2741 * uniquify.el (uniquify-buffer-name-style): Change default to
2742 `post-forward-angle-brackets'.
2743
2744 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2745 `uniquify'. Change default to `post-forward-angle-brackets'.
2746
2747 2013-12-11 Glenn Morris <rgm@gnu.org>
2748
2749 * emacs-lisp/package.el (finder-list-matches):
2750 Autoload rather than falsely declaring.
2751
2752 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2753
2754 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2755 (eww-mode-map): Use them.
2756
2757 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2758
2759 * window.el (display-buffer-in-side-window): Fix doc-string
2760 (Bug#16115).
2761
2762 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2763
2764 * vc/vc-git.el: Silence byte-compiler warnings.
2765 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2766 (log-edit-set-header): Declare.
2767
2768 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2769
2770 * Makefile.in (custom-deps, finder-data): Run output file names
2771 through unmsys--file-name. (Bug#16099)
2772
2773 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2776 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2777
2778 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2779 instead of deleting the selection "by hand" (bug#16098).
2780 Rely on insert-for-yank to yank rectangles.
2781 (cua-highlight-region-shift-only): Mark obsolete.
2782 (cua-mode): Don't enable/disable transient-mark-mode,
2783 shift-select-mode (cua-mode works both with and without them), and
2784 pc-selection-mode (obsolete).
2785 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2786 (cua--deactivate-rectangle): Deactivate it.
2787
2788 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2789 (delete-selection-helper): Make sure yank starts at the top of the
2790 deleted region.
2791 (minibuffer-keyboard-quit): Use region-active-p.
2792
2793 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2794
2795 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2796 to `delete' (bug#16109).
2797
2798 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2799
2800 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2801 info manual and show keybindings and set `:group' keyword.
2802
2803 2013-12-11 Juri Linkov <juri@jurta.org>
2804
2805 * delsel.el (delete-active-region): Let-bind `this-command'
2806 to prevent `kill-region' from changing its original value.
2807 (delete-selection-helper): Handle `overwrite-mode' for the type
2808 `kill' exactly the same way as for the type `t'.
2809 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2810 Support more commands. (Bug#13312)
2811
2812 2013-12-11 Juri Linkov <juri@jurta.org>
2813
2814 * bindings.el: Map kp keys to non-kp keys systematically
2815 with basic modifiers control, meta and shift. (Bug#14397)
2816
2817 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2818
2819 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2820 "Close browser" menu items. Fix wrong function of "List
2821 bookmarks".
2822
2823 2013-12-11 Juri Linkov <juri@jurta.org>
2824
2825 * misearch.el (multi-isearch-buffers): Set the value of
2826 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2827 arg of isearch-forward to t.
2828 (multi-isearch-buffers-regexp): Set the value of
2829 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2830 arg of isearch-forward-regexp to t.
2831 (multi-isearch-files): Set the value of
2832 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2833 arg of isearch-forward to t.
2834 (multi-isearch-files-regexp): Set the value of
2835 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2836 arg of isearch-forward-regexp to t. (Bug#16035)
2837
2838 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2839 arg of isearch-forward to t.
2840 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2841 arg of isearch-forward-regexp to t.
2842 (dired-isearch-filter-filenames): Remove unnecessary check for
2843 `dired-isearch-filenames'.
2844
2845 * comint.el (comint-history-isearch-backward):
2846 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2847 (comint-history-isearch-backward-regexp):
2848 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2849
2850 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2851
2852 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2853 unmsys--file-name. (Bug#16099)
2854
2855 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2856
2857 * emacs-lisp/package.el (package-keyword-button-action):
2858 Remove finder.el require dependency.
2859
2860 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2861
2862 * emacs-lisp/package.el: Require finder.el.
2863 (describe-package-1): Add keyword buttons.
2864 (package-make-button): New convenience function.
2865 (package-keyword-button-action): Keyword button action using
2866 `finder-list-matches'.
2867
2868 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2869
2870 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2871 last commit.
2872
2873 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2874
2875 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2876 symlinked files.
2877
2878 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2879
2880 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2881 after the end of a percent literal.
2882
2883 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2884
2885 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2886 Handle caret-delimited strings (Bug#16079).
2887
2888 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2889
2890 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2891 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2892 `ruby-parse-partial' (Bug#16078).
2893
2894 2013-12-09 Leo Liu <sdl.web@gmail.com>
2895
2896 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2897
2898 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2899
2900 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2901 (js-switch-indent-offset): New option.
2902 (js--proper-indentation): Use it. And handle the case when
2903 "default" is actually a key in an object literal.
2904 (js--same-line): New function.
2905 (js--multi-line-declaration-indentation): Use it.
2906 (js--indent-in-array-comp, js--array-comp-indentation):
2907 New functions.
2908 (js--proper-indentation): Use them, to handle array comprehension
2909 continuations.
2910
2911 2013-12-08 Leo Liu <sdl.web@gmail.com>
2912
2913 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2914 (flymake-make-overlay): Remove arg MOUSE-FACE.
2915 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2916
2917 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2920 New function.
2921 (redisplay-highlight-region-function): Use it.
2922
2923 * emulation/cua-base.el (cua--explicit-region-start)
2924 (cua--last-region-shifted): Remove.
2925 (cua--deactivate): Use deactivate-mark.
2926 (cua--pre-command-handler-1): Don't handle shift-selection.
2927 (cua--post-command-handler-1): Don't change transient-mark-mode.
2928 (cua--select-keymaps): Use region-active-p rather than
2929 cua--explicit-region-start or cua--last-region-shifted.
2930 (cua-mode): Enable shift-select-mode.
2931
2932 2013-12-08 Leo Liu <sdl.web@gmail.com>
2933
2934 * progmodes/flymake.el (flymake-popup-current-error-menu):
2935 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2936 (flymake-posn-at-point-as-event, flymake-popup-menu)
2937 (flymake-make-emacs-menu): Remove. (Bug#16077)
2938
2939 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * rect.el (rectangle-mark-mode): Activate mark even if
2942 transient-mark-mode is off (bug#16066).
2943 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2944 is > mark and at bolp.
2945
2946 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2947 (region-extract-function): Use it.
2948 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2949 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2950 Delete functions.
2951 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2952 kill-ring-save, kill-region, delete-char, delete-forward-char.
2953 Ignore self-insert-iso.
2954
2955 * emulation/cua-gmrk.el (cua--init-global-mark):
2956 Ignore `self-insert-iso'.
2957
2958 * emulation/cua-base.el (cua--prefix-copy-handler)
2959 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2960 checking cua--rectangle.
2961 (cua-delete-region): Use region-extract-function.
2962 (cua-replace-region): Delete function.
2963 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2964 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2965 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2966 (cua--init-keymaps): Don't remap delete-selection commands.
2967 (cua-mode): Use delete-selection-mode instead of rolling our own
2968 (bug#16085).
2969
2970 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2971 Obey region-extract-function.
2972
2973 Make registers and delete-selection-mode work on rectangles.
2974 * register.el (describe-register-1): Don't modify the register's value.
2975 (copy-to-register): Obey region-extract-function.
2976 * delsel.el (delete-active-region): Obey region-extract-function.
2977
2978 2013-12-08 Leo Liu <sdl.web@gmail.com>
2979
2980 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2981 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2982 (flymake-compilation-prevents-syntax-check)
2983 (flymake-start-syntax-check-on-newline)
2984 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2985 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2986 (flymake-xml-program, flymake-master-file-dirs)
2987 (flymake-master-file-count-limit)
2988 (flymake-allowed-file-name-masks): Relocate.
2989 (flymake-makehash, flymake-float-time)
2990 (flymake-replace-regexp-in-string, flymake-split-string)
2991 (flymake-get-temp-dir): Remove.
2992 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2993 (flymake-current-row, flymake-selected-frame)
2994 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2995 related functions. (Bug#16077)
2996
2997 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2998
2999 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3000
3001 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3002
3003 * help-fns.el (describe-function-1): Use new advice-* functions
3004 rather than old ad-* functions. Fix function type description and
3005 source links for advised functions and subrs.
3006
3007 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3008
3009 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3010
3011 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * progmodes/compile.el (compilation-start):
3014 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3015
3016 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3017 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3018
3019 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3020
3021 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3022 Touch up the last change.
3023
3024 2013-12-06 Leo Liu <sdl.web@gmail.com>
3025
3026 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3027 (inferior-octave-startup): Always use "octave> " for prompt.
3028 (octave-goto-function-definition)
3029 (octave-sync-function-file-names)
3030 (octave-find-definition-default-filename): Remove redundant backquotes.
3031
3032 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3033
3034 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3035 syntax for `?'.
3036 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3037 where appropriate already.
3038 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3039 end of method names (Bug#15874).
3040
3041 2013-12-06 Juri Linkov <juri@jurta.org>
3042
3043 * isearch.el (isearch--saved-overriding-local-map):
3044 New internal variable.
3045 (isearch-mode): Set it to the initial value of
3046 `overriding-terminal-local-map'.
3047 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3048 with `isearch--saved-overriding-local-map'. (Bug#16035)
3049
3050 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3051
3052 * progmodes/octave.el (inferior-octave-completion-table):
3053 Turn back into function, use `completion-table-with-cache'
3054 (Bug#11906). Update all references.
3055
3056 * minibuffer.el (completion-table-with-cache): New function.
3057
3058 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3059
3060 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3061
3062 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3063
3064 * net/eww.el (eww-current-source): New variable to store page
3065 source.
3066 (eww-display-html, eww-mode, eww-save-history)
3067 (eww-restore-history): Use it.
3068 (eww-view-source): New command to view page source.
3069 Opportunistically uses `html-mode' to highlight the buffer.
3070 (eww-mode-map): Install it.
3071
3072 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3073
3074 * net/dbus.el (dbus-unregister-service)
3075 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3076 Fix docstring.
3077 (dbus-unregister-service): Skip :serial entries in
3078 `dbus-registered-objects-table'.
3079 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3080
3081 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3082
3083 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3084 around keywords with extra `split-string' argument.
3085
3086 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3087
3088 * windmove.el (windmove-other-window-loc): Handle navigation
3089 between windows (excluding the minibuffer window - Bug#16017).
3090
3091 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3092
3093 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3094 in D-Bus type syntax.
3095 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3096 preserve unibyte strings. (Bug#16048)
3097
3098 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3101 Call force-mode-line-update is the proper buffer (bug#16042).
3102
3103 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3104
3105 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3106 `log-edit-remember-comment', make argument optional. Adjust all
3107 callers.
3108 (log-edit-mode): Add `log-edit-remember-comment' to
3109 `kill-buffer-hook' locally.
3110 (log-edit-kill-buffer): Don't remember comment explicitly since
3111 the buffer is killed anyway.
3112
3113 2013-12-04 Juri Linkov <juri@jurta.org>
3114
3115 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3116 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3117
3118 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3119
3120 * notifications.el (notifications-close-notification): Call the
3121 D-Bus method with ID being a `:uint32'. (Bug#16030)
3122
3123 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3124
3125 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3126
3127 2013-12-03 Juri Linkov <juri@jurta.org>
3128
3129 * progmodes/compile.el (compilation-start): Rename window alist
3130 entry `no-display-ok' to `allow-no-window'.
3131
3132 * simple.el (shell-command): Add window alist entry
3133 `allow-no-window' to `display-buffer'.
3134 (async-shell-command): Doc fix.
3135
3136 * window.el (display-buffer-no-window): New action function.
3137 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3138
3139 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3140
3141 * vc/log-edit.el (log-edit-set-header): Extract from
3142 `log-edit-toggle-header'.
3143 (log-edit-extract-headers): Separate the summary, when extracted
3144 from header, from the rest of the message with an empty line.
3145
3146 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3147 line, if present, to the Summary header.
3148
3149 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3152 in current-buffer (bug#16029).
3153
3154 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3155
3156 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3157 (debugger-mode-map): Bind it.
3158 (debugger--backtrace-base): New function.
3159 (debugger-eval-expression): Use it.
3160 (debugger-frame-number): Skip local vars when present.
3161 (debugger--locals-visible-p, debugger--insert-locals)
3162 (debugger--show-locals, debugger--hide-locals): New functions.
3163
3164 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3165
3166 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3167 "LC_ALL".
3168 (tramp-get-remote-locale): New defun.
3169 (tramp-open-connection-setup-interactive-shell): Use it.
3170
3171 2013-12-02 Leo Liu <sdl.web@gmail.com>
3172
3173 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3174
3175 * progmodes/sh-script.el (sh-shell-process):
3176 * progmodes/octave.el (inferior-octave-process-live-p):
3177 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3178 (gdb-inferior-io-sentinel):
3179 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3180
3181 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3182
3183 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3184 `save-selected-window' to `log-edit-hide-buf'. This makes
3185 `log-edit-show-files' idempotent.
3186 (log-edit-show-files): Mark the new window as dedicated.
3187
3188 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3189
3190 * vc/log-edit.el (log-edit-mode-map): Add binding for
3191 `log-edit-kill-biffer'.
3192 (log-edit-hide-buf): Add a FIXME comment.
3193 (log-edit-add-new-comment): New function, extracted from
3194 `log-edit-done'.
3195 (log-edit-done, log-edit-add-to-changelog): Use it.
3196 (log-edit-kill-buffer): New command.
3197
3198 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3199
3200 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3201 instead of killing the buffer.
3202
3203 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3206
3207 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3208
3209 * net/eww.el (eww-form-checkbox-selected-symbol)
3210 (eww-form-checkbox-symbol): New customizable variable.
3211 (eww-form-checkbox, eww-toggle-checkbox):
3212 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3213
3214 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3215 (shr--get-media-pref, shr--extract-best-source): New function.
3216 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3217 no :src tag was specified.
3218
3219 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3220 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3221 Use \\` to match beginning of string instead of ^.
3222 (eww-browse-with-external-browser): Provide optional URL parameter.
3223 (eww-render): Set `eww-current-title' back to "".
3224
3225 * net/shr.el (shr-tag-video): Display content for video if no
3226 poster is available.
3227 (shr-tag-audio): Add support for <audio> tag.
3228
3229 * net/eww.el (eww-text-input-types): New const.
3230 (eww-process-text-input): Treat input types in
3231 `eww-text-input-types' as text.
3232
3233 * net/shr.el (shr-tag-table): Fix comment typo.
3234
3235 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3236
3237 * net/eww.el (eww-follow-link): New command to avoid reloading
3238 pages when we follow #target links (bug#15243).
3239 (eww-quit): Special mode buffers shouldn't query before exiting.
3240
3241 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3242
3243 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3244 forms.
3245
3246 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3247
3248 * net/eww.el (eww-restore-history): Update the window title after
3249 moving in the history.
3250 (eww-current-dom): New variable used to save the current DOM.
3251
3252 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3253
3254 * vc/log-edit.el (log-edit-mode-map): Add binding for
3255 `log-edit-beginning-of-line'.
3256 (log-edit-setup-add-author): New user option.
3257 (log-edit-beginning-of-line): New command.
3258 (log-edit): Move major mode call above the contents setup so that
3259 the local variable values are already applied.
3260 (log-edit): Only insert "Author: " when
3261 `log-edit-setup-add-author' is non-nil.
3262 (log-edit): When SETUP is non-nil, position point after ": "
3263 instead of point-min.
3264
3265 2013-12-01 Glenn Morris <rgm@gnu.org>
3266
3267 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3268
3269 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3270
3271 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3272 redisplay to make sure the initial frame gets a chance to become
3273 visible. (Bug#16014)
3274
3275 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3276
3277 Support resizing frames and windows pixelwise.
3278 * cus-start.el (frame-resize-pixelwise)
3279 (window-resize-pixelwise): New entries.
3280 * emacs-lisp/debug.el (debug): Use window-total-height instead
3281 of window-total-size.
3282 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3283 * help.el (describe-bindings-internal): Call help-buffer
3284 (temp-buffer-max-width): New option.
3285 (resize-temp-buffer-window, help-window-setup)
3286 (with-help-window): Rewrite.
3287 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3288 dragging dividers.
3289 * window.el (frame-char-size, window-min-pixel-height)
3290 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3291 (window-min-pixel-width, window-safe-min-pixel-size)
3292 (window-combination-p, window-safe-min-size)
3293 (window-resizable-p, window--size-to-pixel)
3294 (window--pixel-to-size, window--resize-apply-p): New functions.
3295 (window-safe-min-height): Fix doc-string.
3296 (window-size, window-min-size, window--min-size-1)
3297 (window-sizable, window-sizable-p, window--min-delta-1)
3298 (window-min-delta, window--max-delta-1, window-max-delta)
3299 (window--resizable, window--resizable-p, window-resizable)
3300 (window-full-height-p, window-full-width-p, window-at-side-p)
3301 (window--in-direction-2, window-in-direction)
3302 (window--resize-reset-1, window--resize-mini-window)
3303 (window-resize, window-resize-no-error)
3304 (window--resize-child-windows-normal)
3305 (window--resize-child-windows, window--resize-siblings)
3306 (window--resize-this-window, window--resize-root-window)
3307 (window--resize-root-window-vertically)
3308 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3309 (maximize-window, minimize-window, delete-window)
3310 (quit-restore-window, window-split-min-size, split-window)
3311 (balance-windows-2, balance-windows)
3312 (balance-windows-area-adjust, balance-windows-area)
3313 (window--state-get-1, window-state-get, window--state-put-1)
3314 (window--state-put-2, window-state-put)
3315 (display-buffer-record-window, window--display-buffer):
3316 Make functions handle pixelwise sizing of windows.
3317 (display-buffer--action-function-custom-type)
3318 (display-buffer-fallback-action):
3319 Add display-buffer-in-previous-window.
3320 (display-buffer-use-some-window): Resize window to height it had
3321 before.
3322 (fit-window-to-buffer-horizontally): New option.
3323 (fit-frame-to-buffer): Describe new values.
3324 (fit-frame-to-buffer-bottom-margin): Replace with
3325 fit-frame-to-buffer-margins.
3326 (window--sanitize-margin): New function.
3327 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3328 using window-text-pixel-size.
3329
3330 2013-11-30 Glenn Morris <rgm@gnu.org>
3331
3332 * emacs-lisp/bytecomp.el (byte-compile-form):
3333 Make the `interactive-only' warning like the `obsolete' one.
3334 * comint.el (comint-run):
3335 * files.el (insert-file-literally, insert-file):
3336 * replace.el (replace-string, replace-regexp):
3337 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3338 (goto-line, insert-buffer, next-line, previous-line):
3339 Tweak `interactive-only' spec.
3340
3341 Stop keeping (most) generated cedet grammar files in the repository.
3342 * Makefile.in (semantic): New.
3343 (compile-main): Depend on semantic.
3344
3345 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3348 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3349
3350 * uniquify.el (uniquify-buffer-name-style): Change default.
3351
3352 * loadup.el: Preload "uniquify".
3353
3354 * time.el (display-time-update): Update all mode lines (bug#15999).
3355
3356 * electric.el (electric-indent-mode): Enable by default.
3357 * loadup.el: Preload "electric".
3358
3359 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3360
3361 * emacs-lisp/helpers.el (string-empty-p): New function.
3362 (string-blank-p): New function.
3363
3364 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3365
3366 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3367 (Bug#14029).
3368
3369 2013-11-29 Andreas Politz <politza@fh-trier.de>
3370 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3371 allow non-lambda lists as functions.
3372 (imenu--in-alist): Don't recurse into non-subalists.
3373 (imenu): Don't pass function itself as an argument (Bug#14029).
3374
3375 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * progmodes/python.el (python-mode-map): Remove binding for ":".
3378 (python-indent-electric-colon): Remove command.
3379 (python-indent-post-self-insert-function): Integrate the previous code
3380 of python-indent-electric-colon. Make it conditional on
3381 electric-indent-mode.
3382 (python-mode): Add ?: to electric-indent-chars.
3383 Move python-indent-post-self-insert-function to the end of
3384 post-self-insert-hook.
3385
3386 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * doc-view.el (doc-view-goto-page): Update mode-line.
3389
3390 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3391
3392 2013-11-27 Glenn Morris <rgm@gnu.org>
3393
3394 * international/charprop.el, international/uni-bidi.el:
3395 * international/uni-category.el, international/uni-combining.el:
3396 * international/uni-comment.el, international/uni-decimal.el:
3397 * international/uni-decomposition.el, international/uni-digit.el:
3398 * international/uni-lowercase.el, international/uni-mirrored.el:
3399 * international/uni-name.el, international/uni-numeric.el:
3400 * international/uni-old-name.el, international/uni-titlecase.el:
3401 * international/uni-uppercase.el:
3402 Remove generated files from VCS repository.
3403
3404 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3405
3406 * filenotify.el (file-notify-add-watch): Don't special-case
3407 w32notify when computing the directory to watch.
3408
3409 2013-11-27 Glenn Morris <rgm@gnu.org>
3410
3411 Make bootstrap without generated uni-*.el files possible again.
3412 * loadup.el: Update command-line-args checking for unidata-gen.
3413 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3414 * composite.el, international/characters.el:
3415 Handle unicode tables being undefined.
3416
3417 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3418 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3419 (compile-main): Depend on leim rule.
3420 (leim): New rule.
3421 * loadup.el: Move leim-list.el to leim/ subdirectory.
3422 * startup.el (normal-top-level): No more leim directory.
3423 * international/ja-dic-cnv.el (skkdic-convert):
3424 Disable version-control and autoloads in output files.
3425 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3426 Disable version-control and autoloads in output files.
3427 * leim/quail: Move here from ../leim.
3428 * leim/quail/hangul.el (hangul-input-method-activate):
3429 Add autoload cookie.
3430 (generated-autoload-load-name): Set file-local value.
3431 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3432 (generated-autoload-load-name): Set file-local value.
3433
3434 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3435
3436 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3437 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3438 (eww-quit): Ask confirmation before quitting eww.
3439
3440 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3441
3442 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3443 reading output from Diff on MS-Windows and MS-DOS.
3444
3445 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3446
3447 * emacs-lisp/helpers.el (string-reverse): New function.
3448
3449 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3450
3451 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3452 names on MS Windows, like "/[::1]:".
3453
3454 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3455 SWITCHES.
3456
3457 2013-11-26 Glenn Morris <rgm@gnu.org>
3458
3459 * progmodes/python.el (python-indent-guess-indent-offset):
3460 Avoid corner-case error. (Bug#15975)
3461
3462 Preload leim-list.el. (Bug#4789)
3463 * loadup.el: Load leim-list.el when found.
3464 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3465
3466 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3467
3468 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3469
3470 * emacs-lisp/helpers.el (string-join): New function.
3471
3472 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3473
3474 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3475 Mark as obsolete and replace it with a symbol property.
3476 (byte-compile-form): Use new 'interactive-only property.
3477 * comint.el, files.el, replace.el, simple.el:
3478 Apply new 'interactive-only properly.
3479
3480 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3481
3482 * window.el (display-buffer-at-bottom): Make sure that
3483 split-window-sensibly creates the new window on bottom
3484 (Bug#15961).
3485
3486 2013-11-23 David Kastrup <dak@gnu.org>
3487
3488 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3489 on the conflict markers when available.
3490 (smerge--get-marker): New function.
3491 (smerge-end-re, smerge-base-re): Add subgroup.
3492
3493 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * frame.el (handle-focus-in, handle-focus-out): Add missing
3496 interactive spec.
3497
3498 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3501 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3502
3503 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3506 (gomoku--last-pos): New var.
3507 (gomoku--intangible-chars): New const.
3508 (gomoku--intangible): New function.
3509 (gomoku-mode): Use it. Derive from special-mode.
3510 (gomoku-move-up): Adjust line count.
3511 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3512 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3513 Simplify accordingly.
3514
3515 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3516 Remove blink-cursor code.
3517 (blink-cursor-timer-function, blink-cursor-suspend):
3518 Don't special-case GUIs.
3519 (blink-cursor-mode): Use focus-in/out-hook.
3520
3521 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3522
3523 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3524 work when annotation is invisible (Bug#13886).
3525
3526 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3527
3528 * json.el (json-alist-p): Only return non-nil if the alist has
3529 simple keys (Bug#13518).
3530
3531 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3532
3533 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3534 when control-statement is the first statement in a buffer (Bug#15956).
3535
3536 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3537
3538 * imenu.el (imenu-generic-skip-comments-and-strings):
3539 New option (Bug#15560).
3540 (imenu--generic-function): Use it.
3541
3542 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3543
3544 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3545 (Bug#13898)
3546
3547 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3548
3549 * emacs-lisp/helpers.el: Add some string helpers.
3550 (string-trim-left): Removes leading whitespace.
3551 (string-trim-right): Removes trailing whitespace.
3552 (string-trim): Removes leading and trailing whitespace.
3553
3554 * subr.el (string-suffix-p): New function.
3555
3556 2013-11-23 Glenn Morris <rgm@gnu.org>
3557
3558 * progmodes/python.el (python-shell-send-file):
3559 Add option to delete file when done. (Bug#15647)
3560 (python-shell-send-string, python-shell-send-region): Use it.
3561
3562 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3563
3564 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3565 to set buffer-read-only to t, never to nil. (Bug#15938)
3566
3567 * textmodes/tex-mode.el (latex-noindent-environments):
3568 Add safe-local-variable property. (Bug#15936)
3569
3570 2013-11-23 Glenn Morris <rgm@gnu.org>
3571
3572 * textmodes/enriched.el (enriched-mode): Doc fix.
3573 * emacs-lisp/authors.el (authors-renamed-files-alist):
3574 Add enriched.doc -> enriched.txt.
3575
3576 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3577
3578 2013-11-22 Leo Liu <sdl.web@gmail.com>
3579
3580 * progmodes/octave.el (inferior-octave-startup): Spit out error
3581 message.
3582
3583 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3584
3585 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3586 Improve docstring.
3587 Add :version.
3588 (ruby-encoding-magic-comment-style): Add :version.
3589
3590 2013-11-22 Leo Liu <sdl.web@gmail.com>
3591
3592 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3593 (Bug#15076)
3594 (octave-help-mode): Adapt to change to help-mode-finish to use
3595 derived-mode-p on 2013-09-17.
3596 (inferior-octave-prompt): Also match octave-gui.
3597 (octave-kill-process): Don't ask twice. (Bug#10564)
3598
3599 2013-11-22 Leo Liu <sdl.web@gmail.com>
3600
3601 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3602 (inferior-octave-startup, inferior-octave-check-process)
3603 (inferior-octave-track-window-width-change)
3604 (octave-completion-at-point, octave-eldoc-function): Use it.
3605 (octave-kill-process): Provide confirmation. (Bug#10564)
3606
3607 2013-11-21 Leo Liu <sdl.web@gmail.com>
3608
3609 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3610 Fix obsolete variable comment-use-global-state.
3611
3612 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3613
3614 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3615 Add `octave-source-file'.
3616 (octave-source-file): New function. (Bug#15935)
3617
3618 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3619
3620 * net/eww.el (eww-local-regex): New variable.
3621 (eww): Use it to detect localhost and similar.
3622
3623 2013-11-21 Leo Liu <sdl.web@gmail.com>
3624
3625 Add completion for command `ag'.
3626 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3627 (pcomplete/ag): New function.
3628 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3629
3630 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3633 (bug#14646).
3634 (make-obsolete): Remove interactive spec.
3635
3636 2013-11-21 Glenn Morris <rgm@gnu.org>
3637
3638 * startup.el (command-line-1): Use path-separator with -L.
3639
3640 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3641
3642 * emacs-lisp/package.el (describe-package-1): Add package archive
3643 to shown fields.
3644
3645 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3646
3647 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3648 Change default to "# encoding: %s" to differentiate it from the
3649 default Ruby encoding comment template.
3650
3651 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3652
3653 * ses.el (ses-mode): Doc fix. (Bug#14748)
3654
3655 2013-11-20 Leo Liu <sdl.web@gmail.com>
3656
3657 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3658
3659 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3660
3661 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3662 when rebase or bisect are in progress.
3663
3664 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3665
3666 * filenotify.el (file-notify-add-watch): Doc fix.
3667
3668 2013-11-19 Leo Liu <sdl.web@gmail.com>
3669
3670 * obsolete/rcompile.el: Mark obsolete.
3671
3672 * progmodes/compile.el (compilation-start)
3673 (compilation-goto-locus, compilation-find-file):
3674 Pass no-display-ok and handle nil value from display-buffer.
3675 (Bug#13594)
3676
3677 * window.el (display-buffer-alist, display-buffer): Document the
3678 new parameter no-display-ok. Return either a window or nil
3679 but never a non-window value.
3680
3681 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * electric.el (electric-indent-mode-map): Remove.
3684 (electric-indent-mode): Change the global-map instead (bug#15915).
3685
3686 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3687 Use add-function.
3688
3689 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * emacs-lisp/nadvice.el (remove-function): Align with
3692 add-function's behavior.
3693
3694 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3695 (gdb--string-regexp): New constant.
3696 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3697 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3698 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3699 submatch 1.
3700 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3701 Adjust use accordingly.
3702 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3703
3704 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3705
3706 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3707 interpolation curlies (Bug#15914).
3708
3709 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3710
3711 * calc/calc.el (calc-context-sensitive-enter): New variable.
3712 (calc-enter): Use `calc-context-sensitive-enter'.
3713
3714 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3715
3716 * progmodes/cfengine.el: Version bump.
3717 (cfengine-cf-promises): New defcustom to locate cf-promises.
3718 (cfengine3-vartypes): Add new "data" type.
3719 (cfengine3--current-word): New function to get current name-like
3720 word or its bounds.
3721 (cfengine3--current-function): New function to look up a CFEngine
3722 function's definition.
3723 (cfengine3-format-function-docstring): New function.
3724 (cfengine3-make-syntax-cache): New function.
3725 (cfengine3-documentation-function): New function: ElDoc glue.
3726 (cfengine3-completion-function): New function: completion glue.
3727 (cfengine3-mode): Set `compile-command',
3728 `eldoc-documentation-function', and add to
3729 `completion-at-point-functions'.
3730
3731 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3734 `tramp-current-connection'.
3735
3736 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3737
3738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3739 nil/self/true/false with "end of symbol".
3740
3741 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3742
3743 * subr.el (version-regexp-alist): Fix a typo.
3744
3745 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3748 "en_US.utf8" and "LC_CTYPE" to "".
3749 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3750 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3751
3752 2013-11-15 Leo Liu <sdl.web@gmail.com>
3753
3754 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3755
3756 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * progmodes/gud.el (ctl-x-map):
3759 Remove C-x SPC binding. (Bug#12342)
3760 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3761
3762 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3763
3764 * subr.el (version-regexp-alist):
3765 Recognize hg, svn and darcs versions as snapshot versions.
3766
3767 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3768 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3769 (ruby--encoding-comment-required-p): Extract from
3770 `ruby-mode-set-encoding'.
3771 (ruby-mode-set-encoding): Add the ability to always insert an
3772 utf-8 encoding comment. Fix and simplify coding comment update
3773 logic.
3774
3775 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * net/tramp-gvfs.el (top): Run init code only when
3778 `tramp-gvfs-enabled' is not nil.
3779 (tramp-gvfs-enabled): Check also :system bus.
3780
3781 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 Sync with upstream verilog-mode revision 78e66ba.
3784 * progmodes/verilog-mode.el (verilog-end-of-defun)
3785 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3786 (verilog-get-end-of-defun): Remove unused argument.
3787 (verilog-comment-depth): Remove unused local `e'.
3788 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3789 Don't pass arg to verilog-get-end-of-defun.
3790
3791 2013-11-14 Glenn Morris <rgm@gnu.org>
3792
3793 * obsolete/assoc.el (aget): Prefix dynamic variable.
3794
3795 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3796
3797 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * widget.el, hfy-cmap.el: Remove bogus package version number.
3800
3801 2013-11-13 Glenn Morris <rgm@gnu.org>
3802
3803 * replace.el (replace-eval-replacement):
3804 Try to give more helpful error message. (Bug#15836)
3805
3806 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3807 (archive-7z-update): Avoid custom type mismatches.
3808
3809 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3810
3811 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3812
3813 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3814 address can be empty.
3815
3816 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3817 Accept nil SWITCHES.
3818 (tramp-gvfs-handle-write-region): Implement APPEND.
3819
3820 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3821
3822 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3823 binary "|" operator and closing block args delimiter.
3824 Remove FIXME comment referring to Ruby 1.8-only syntax.
3825 (ruby-smie--implicit-semi-p): Not after "|" operator.
3826 (ruby-smie--closing-pipe-p): New function.
3827 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3828 (ruby-smie-rules): Indent after "|".
3829
3830 2013-11-12 Glenn Morris <rgm@gnu.org>
3831
3832 * ps-print.el (ps-face-attribute-list):
3833 Handle anonymous faces. (Bug#15827)
3834
3835 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3836
3837 * window.el (display-buffer-other-frame): Fix doc-string.
3838 (Bug#15868)
3839
3840 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3843
3844 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3847 (tramp-sh-handle-file-local-copy): Don't write a message when
3848 saving temporary files.
3849
3850 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3851 both directories are remote.
3852 (tramp-smb-handle-directory-files): Do not return double entries.
3853 Do not expand full file names.
3854 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3855 (tramp-smb-handle-write-region): Implement APPEND.
3856 (tramp-smb-get-stat-capability): Fix a stupid bug.
3857
3858 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3861
3862 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3863
3864 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3865 throwing error over malformed let/let* (bug#15814).
3866
3867 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * iswitchb.el (iswitchb-mode): Mark obsolete.
3870
3871 2013-11-11 Glenn Morris <rgm@gnu.org>
3872
3873 * international/uni-bidi.el, international/uni-category.el:
3874 * international/uni-name.el, international/uni-numeric.el:
3875 Regenerate for Unicode 6.3.0.
3876
3877 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/tramp.el (tramp-methods):
3880 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3881 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3882
3883 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3884
3885 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3886 Force highlighting text after Summary keyword in doc face for rpm.
3887
3888 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3889
3890 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3891 available and the word has no wildcards, append one to the grep pattern.
3892 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3893 (ispell-complete-word): Call `ispell-lookup-words' with the value
3894 independent of `ispell-look-p'.
3895
3896 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3897
3898 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3899 Not after "||".
3900 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3901 their parent.
3902
3903 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3906 (ruby-font-lock-keywords): Use backquote.
3907
3908 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3909
3910 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3911 (ruby-smie--backward-token): Only consider full-string matches.
3912
3913 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3914
3915 * faces.el (describe-face): Add distant-foreground.
3916
3917 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3918
3919 * progmodes/ruby-mode.el: Improve encoding comment handling.
3920 (ruby-encoding-magic-comment-style): New option.
3921 (ruby-custom-encoding-magic-comment-template): New option.
3922 (ruby--insert-coding-comment, ruby--detect-encoding):
3923 New functions extracted from `ruby-mode-set-encoding'.
3924 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3925 to control the style of the auto-inserted encoding comment.
3926
3927 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3928
3929 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3930 Use `smie-backward-sexp' with token argument.
3931
3932 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3933
3934 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3935 Remove instrumentation code.
3936
3937 2013-11-08 Glenn Morris <rgm@gnu.org>
3938
3939 * progmodes/autoconf.el (autoconf-mode):
3940 Tweak comment-start-skip. (Bug#15822)
3941
3942 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3945 at bobp (bug#15826).
3946 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3947
3948 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3949
3950 * man.el (Man-start-calling): New macro, extracted from
3951 Man-getpage-in-background.
3952 (Man-getpage-in-background): Use it.
3953 (Man-update-manpage): New command.
3954 (Man-mode-map): Bind it.
3955
3956 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3957
3958 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3959 of "and", "or", "&&" and "||".
3960 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3961 argument. Prohibit opening curly brace because it could only be a
3962 block opener in that position.
3963 (ruby-smie--forward-token, ruby-smie--backward-token):
3964 Separate "|" from "&" or "*" going after it. That can happen in block
3965 arguments.
3966 (ruby-smie--indent-to-stmt): New function, seeks the end of
3967 previous statement or beginning of buffer.
3968 (ruby-smie-rules): Use it.
3969 (ruby-smie-rules): Check if there's a ":" before a curly block
3970 opener candidate; if there is, it's a hash.
3971
3972 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3975 (cl--block-wrapper): Fix last accidental change.
3976
3977 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3980 Instrument, in order to hunt failure on hydra.
3981
3982 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3983
3984 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3985 malformed bindings form (bug#15814).
3986
3987 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3988
3989 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3990 "." compared to " @ ". This incidentally fixes some indentation
3991 examples with "do".
3992 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3993 (ruby-smie-grammar): New tokens: "and" and "or".
3994 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3995 Exclude "and" and "or". Remove "do" in order to work around token
3996 priorities.
3997 (ruby-smie-rules): Add all infix tokens. Handle the case of
3998 beginning-of-buffer.
3999
4000 2013-11-06 Glenn Morris <rgm@gnu.org>
4001
4002 * Makefile.in (setwins_almost, setwins_for_subdirs):
4003 Avoid accidental matches.
4004
4005 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * menu-bar.el (popup-menu): Use key-binding.
4008
4009 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4010
4011 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4012 menus, support also the menus produced by minor modes.
4013 (Bug#15817)
4014
4015 2013-11-06 Leo Liu <sdl.web@gmail.com>
4016
4017 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4018 DISTANCE to bound the search. All uses changed. (Bug#15808)
4019
4020 2013-11-06 Glenn Morris <rgm@gnu.org>
4021
4022 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4023 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4024 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4025
4026 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * electric.el (electric-indent-just-newline): New command.
4029 (electric-indent-mode-map): New keymap.
4030 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4031 Re-add :group which weren't redundant.
4032
4033 * electric.el (electric-indent-local-mode): New minor mode.
4034 (electric-indent-functions-without-reindent): New var.
4035 (electric-indent-post-self-insert-function): Use it.
4036 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4037
4038 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4039
4040 * international/quail.el (quail-help): Be more explicit about the
4041 meaning of the labels shown on the keys. (Bug#15800)
4042
4043 * startup.el (normal-top-level): Load the subdirs.el files before
4044 setting the locale environment. (Bug#15805)
4045
4046 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4049 via arguments so as to get the right ones (bug#15418).
4050
4051 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4052
4053 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4054
4055 Fix problems found while writing a test suite.
4056
4057 * net/tramp-compat.el (tramp-compat-load): New defun.
4058 * net/tramp.el (tramp-handle-load): Use it.
4059
4060 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4061 "(numberp ok-if-already-exists)" correctly.
4062
4063 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4064
4065 * international/characters.el (glyphless-char-display-control):
4066 Add usage note.
4067
4068 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4069
4070 * progmodes/python.el (python-mode):
4071 * progmodes/scheme.el (scheme-mode):
4072 * progmodes/prolog.el (prolog-mode):
4073 * progmodes/ruby-mode.el (ruby-mode):
4074 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4075 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4076
4077 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * rect.el (rectangle--highlight-for-redisplay):
4080 * emacs-lisp/smie.el (smie--next-indent-change):
4081 Use buffer-chars-modified-tick.
4082
4083 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4084
4085 * electric.el (electric-indent-post-self-insert-function):
4086 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4087
4088 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4089
4090 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4091
4092 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4093
4094 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4095 (bug#15786).
4096
4097 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4100
4101 * progmodes/python.el: Fix up last change.
4102 (python-shell--save-temp-file): New function.
4103 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4104 `string' comes from the current buffer.
4105 (python-shell-send-string-no-output): Remove `msg' arg.
4106 (python--use-fake-loc): New var.
4107 (python-shell-buffer-substring): Obey it. Try to compensate for the
4108 extra coding line added by python-shell--save-temp-file.
4109 (python-shell-send-region): Use python-shell--save-temp-file and
4110 python-shell-send-file directly. Add `nomain' argument.
4111 (python-shell-send-buffer): Use python-shell-send-region.
4112 (python-electric-pair-string-delimiter): New function.
4113 (python-mode): Use it.
4114
4115 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4116
4117 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4118 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4119 environment and decoding all of the default-directory's to here
4120 from command-line.
4121 (command-line): Decode also argv[0].
4122
4123 * loadup.el: Error out if default-directory is a multibyte string
4124 when we are dumping.
4125
4126 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4127
4128 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4129
4130 * emacs-lisp/package.el (package-menu-mode)
4131 (package-menu--print-info, package-menu--archive-predicate):
4132 Add Archive column to package list.
4133
4134 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4135
4136 Fix problems found while writing a test suite.
4137
4138 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4139 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4140 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4141 to nil when running original file name handler. Otherwise,
4142 there are problems with constructs like "$$FOO".
4143
4144 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4145 for `localname'.
4146
4147 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4148
4149 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4150
4151 * subr.el (version<, version<=, version=):
4152 Update docstrings with information for snapshot versions.
4153
4154 * helpers.el: New library for misc helper functions.
4155 (hash-table-keys): New function returning a list of hash keys.
4156 (hash-table-values): New function returning a list of hash values.
4157
4158 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4159
4160 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4161 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4162
4163 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4164
4165 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4166 checking whether point is after a 1-letter word.
4167
4168 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4169
4170 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4171 Don't infloop when expanding region over `multiline' syntax-type that
4172 begins a line (bug#15778).
4173
4174 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4177 Make it into a proper minor mode.
4178 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4179 (rectangle-mark-mode-map): New keymap.
4180 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4181
4182 2013-11-04 Glenn Morris <rgm@gnu.org>
4183
4184 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4185
4186 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4189 (ruby-smie-rules): Use smie-rule-parent instead.
4190
4191 * emacs-lisp/smie.el (smie-rule-parent): Always call
4192 smie-indent-virtual rather than only for hanging tokens.
4193 (smie--next-indent-change): New helper command.
4194
4195 2013-11-03 Glenn Morris <rgm@gnu.org>
4196
4197 * Makefile.in (abs_srcdir): Remove.
4198 (emacs): Unset EMACSLOADPATH.
4199
4200 2013-11-02 Glenn Morris <rgm@gnu.org>
4201
4202 * Makefile.in (EMACS): Use a relative filename.
4203 (abs_top_builddir): Remove.
4204 (custom-deps, finder-data, autoloads): Use --chdir.
4205
4206 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4207
4208 Use relative filenames in TAGS files.
4209 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4210 (lisptagsfiles4, TAGS): Use relative file names.
4211 (TAGS-LISP): Remove.
4212 (maintainer-clean): No more TAGS-LISP file.
4213
4214 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4215 (lisptagsfiles4): Use absolute filenames again.
4216 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4217 Remove all *loaddefs files, not just the first. Remove esh-groups.
4218 (maintainer-clean): Delete TAGS, TAGS-LISP.
4219
4220 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4221
4222 * emacs-lisp/package.el (package-version-join):
4223 Recognize snapshot versions.
4224
4225 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4226
4227 * subr.el (version-regexp-alist): Add support for snapshot versions.
4228
4229 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4230
4231 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4232 New function, replacement for `smie-rule-parent' for when we want to
4233 skip over our direct parent if it's an assignment token..
4234 (ruby-smie-rules): Use it.
4235
4236 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4237
4238 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4239 unconditionally. Remove now unnecessary forward declarations.
4240 Remove XEmacs-specific setup.
4241 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4242 (ruby-font-lock-syntactic-keywords)
4243 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4244 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4245 (ruby-here-doc-end-syntax): Remove.
4246 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4247 defined as function.
4248
4249 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4250
4251 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4252
4253 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4254
4255 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4256 table and abbrev table, `define-derived-mode' does that for us
4257 anyway.
4258
4259 2013-11-01 Glenn Morris <rgm@gnu.org>
4260
4261 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4262 files is atomic for some time, so no parallel compilation issues).
4263
4264 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4265
4266 * faces.el (face-x-resources): Add :distant-foreground.
4267 (region): Use :distant-foreground for gtk and ns.
4268
4269 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4270
4271 Allow multiple bibliographies when BibLaTeX is used rather than
4272 BibTeX.
4273 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4274 (reftex-locate-bibliography-files): Us it.
4275
4276 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4277
4278 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4279 allow comments in pbm files.
4280
4281 * term/w32-win.el (dynamic-library-alist): Support newer versions
4282 of libjpeg starting with v7: look only for the DLL from the
4283 version against which Emacs was built.
4284 Support versions of libpng beyond 1.4.x.
4285 Support libtiff v4.x.
4286
4287 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4288
4289 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4290 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4291 Add property :safe.
4292 (ruby-deep-arglist): Add property :type.
4293
4294 2013-10-31 Glenn Morris <rgm@gnu.org>
4295
4296 * Makefile.in (custom-deps, finder-data): No need to setq the target
4297 variables, we are in the right directory and the defaults work fine.
4298
4299 2013-10-30 Glenn Morris <rgm@gnu.org>
4300
4301 * Makefile.in (autoloads): Do not use abs_lisp.
4302
4303 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4304 `newline' does not respect `standard-output', so use `princ'.
4305
4306 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4307
4308 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4309 * buff-menu.el (Buffer-menu--unmark): New function.
4310 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4311
4312 2013-10-30 Glenn Morris <rgm@gnu.org>
4313
4314 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4315
4316 * emacs-lisp/package.el (lm-homepage): Declare.
4317
4318 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4319 Fix doc typos.
4320
4321 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4322
4323 * Makefile.in (finder-data, autoloads, update-subdirs)
4324 (compile-main, compile-clean, compile-always, bootstrap-clean):
4325 Check return value of cd.
4326 (compile-calc): Remove.
4327
4328 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4331
4332 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4333 (byte-compile-and-folded): New function.
4334 (=, <, >, <=, >=): Use it.
4335
4336 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4337 (path-separator, null-device, buffer-file-coding-system)
4338 (lpr-headers-switches): Check system-type before modifying them.
4339 (find-buffer-file-type-coding-system): Mark obsolete.
4340 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4341 find-file-not-found-set-buffer-file-coding-system.
4342 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4343 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4344 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4345 (w32-direct-print-region-helper, w32-direct-print-region-function)
4346 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4347 * startup.el (normal-top-level-add-subdirs-to-load-path):
4348 * ps-print.el (ps-print-region-function):
4349 * lpr.el (print-region-function): Use new name.
4350
4351 * subr.el (custom-declare-variable-early): Remove function.
4352 (custom-declare-variable-list): Remove var.
4353 (error, user-error): Remove `while' loop.
4354 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4355 (user-emacs-directory-warning, locate-user-emacs-file):
4356 Move to files.el.
4357 * simple.el (read-quoted-char-radix, read-quoted-char):
4358 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4359 Move from subr.el.
4360 * custom.el (custom-declare-variable-list): Don't process
4361 custom-declare-variable-list.
4362
4363 * progmodes/python.el (python-shell-get-buffer): New function.
4364 (python-shell-get-process): Use it.
4365 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4366 Python which encoding was used. Don't split-string since we only care
4367 about the first line. Return the temp-file, if applicable.
4368 (python-shell-send-region): Tell compile.el how to turn locations in
4369 the temp-file into locations in the source buffer.
4370
4371 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * subr.el (undefined): Add missing behavior from the C code for
4374 unbound keys.
4375
4376 * rect.el: Use lexical-binding. Add new rectangular region support.
4377 (rectangle-mark): New command.
4378 (rectangle--region): New var.
4379 (deactivate-mark-hook): Reset rectangle--region.
4380 (rectangle--extract-region, rectangle--insert-for-yank)
4381 (rectangle--highlight-for-redisplay)
4382 (rectangle--unhighlight-for-redisplay): New functions.
4383 (region-extract-function, redisplay-unhighlight-region-function)
4384 (redisplay-highlight-region-function): Use them to handle
4385 rectangular region.
4386 * simple.el (region-extract-function): New var.
4387 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4388 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4389 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4390 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4391 (redisplay-unhighlight-region-function)
4392 (redisplay-highlight-region-function): New vars.
4393 (redisplay--update-region-highlight): New function.
4394 (pre-redisplay-function): Use it.
4395 (exchange-point-and-mark): Don't deactivate the mark before
4396 reactivate-it anyway.
4397 * comint.el (comint-kill-region): Remove yank-handler argument.
4398 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4399 (delete-char): Remove property, since it's now part of their
4400 default behavior.
4401 (self-insert-iso): Remove property since this command doesn't exist.
4402
4403 * emacs-lisp/package.el (package--download-one-archive)
4404 (describe-package-1): Don't query the user about final newline.
4405
4406 2013-10-29 Daniel Colascione <dancol@dancol.org>
4407
4408 * net/tramp.el (tramp-methods): Document new functionality.
4409 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4410 tramp-hostname-checker if method provides one instead of scanning
4411 argument list for "%h" to decide hostname acceptability.
4412
4413 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4414
4415 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4416 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4417 Handle COPY-CONTENTS. (Bug#15737)
4418
4419 2013-10-28 Daiki Ueno <ueno@gnu.org>
4420
4421 * epa-file.el
4422 (epa-file-cache-passphrase-for-symmetric-encryption):
4423 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4424
4425 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4426
4427 * image.el (defimage):
4428 (image-load-path): Doc fixes.
4429
4430 2013-10-27 Alan Mackenzie <acm@muc.de>
4431
4432 Indent statements in macros following "##" correctly.
4433 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4434 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4435
4436 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4437
4438 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4439
4440 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4441
4442 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4443 after `=' is probably a new expression.
4444
4445 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4446
4447 * man.el (man-imenu-title): New option.
4448 (Man-mode-map): Add menu. (Bug#15722)
4449 (Man-mode): Add imenu to menu.
4450
4451 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4452
4453 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4454 specific in what the first arg can be: a non-keyword word,
4455 string/regexp/percent literal opener, opening paren, or unary
4456 operator followed directly by word.
4457
4458 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4461 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4462 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4463 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4464 Remove vars, they do not apply any more.
4465 (prolog-mode-abbrev-table): Remove redundant declaration.
4466 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4467 (prolog-use-smie): Remove.
4468 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4469 supported by prolog-electric-if-then-else-flag.
4470 (prolog-mode-variables, prolog-menu): Use setq-local.
4471 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4472 Remove binding to `Backspace' since this key doesn't exist anyway.
4473 Remove bindings for electric self-inserting keys.
4474 (prog-mode): Assume it's defined.
4475 (prolog-post-self-insert): New function.
4476 (prolog-mode): Use it.
4477 (prolog-indent-line, prolog-indent-level)
4478 (prolog-find-indent-of-matching-paren)
4479 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4480 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4481 (prolog-goto-next-paren, prolog-in-string-or-comment)
4482 (prolog-tokenize, prolog-inside-mline-comment)
4483 (prolog-find-start-of-mline-comment): Remove functions.
4484 (prolog-find-unmatched-paren, prolog-clause-end)
4485 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4486 (prolog-electric--if-then-else): Rename from
4487 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4488 (prolog-tokenize-searchkey): Remove const.
4489 (prolog-clause-info): Use forward-sexp.
4490 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4491 (prolog-electric-if-then-else): Remove commands.
4492 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4493 for use in post-self-insert-hook.
4494 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4495 for use in post-self-insert-hook.
4496 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4497 for use in post-self-insert-hook.
4498 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4499 adapt it for use in post-self-insert-hook.
4500
4501 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * emacs-lisp/ert.el (ert-run-tests-interactively):
4504 Use `completing-read'. (Bug#9756)
4505
4506 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4507
4508 * simple.el (line-move): Call line-move-1 instead of
4509 line-move-visual when the current window hscroll is zero, but
4510 temporary-goal-column indicates we will need to hscroll as result
4511 of the movement. (Bug#15712)
4512
4513 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4514
4515 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4516 capitalization. Use :visible instead of :active.
4517 Fix `ruby-indent-exp' reference. Add menu items for the generic
4518 commands that are used with SMIE.
4519 (ruby-do-end-to-brace): Insert space after `{'.
4520
4521 2013-10-25 John Anthony <john@jo.hnanthony.com>
4522
4523 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4524
4525 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4526
4527 2013-10-25 Glenn Morris <rgm@gnu.org>
4528
4529 * vc/vc.el (vc-print-log): Don't use a working revision unless
4530 one was explicitly specified. (Bug#15322)
4531
4532 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * subr.el (add-to-list): Preserve return value in compiler-macro
4535 (bug#15692).
4536
4537 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4538
4539 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4540 result. Ask user to retry using '-all' flag. (Bug#15701)
4541
4542 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * emacs-lisp/smie.el: New smie-config system.
4545 (smie-config): New defcustom.
4546 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4547 (smie-config-guess, smie-config-save): New commands.
4548 (smie-config--mode-local, smie-config--buffer-local)
4549 (smie-config--trace, smie-config--modefuns): New vars.
4550 (smie-config--advice, smie-config--mode-hook)
4551 (smie-config--setter, smie-config-local, smie-config--get-trace)
4552 (smie-config--guess-value, smie-config--guess): New functions.
4553 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4554 text properties. Treat "string fence" syntax like string syntax.
4555
4556 * progmodes/sh-script.el (sh-use-smie): Change default.
4557 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4558 (sh-var-value): Simplify by CSE.
4559 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4560 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4561 is used.
4562 (sh-guess-basic-offset): Use cl-incf.
4563 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4564
4565 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4566
4567 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4568 (bug#15699).
4569
4570 2013-10-24 Glenn Morris <rgm@gnu.org>
4571
4572 * Makefile.in (abs_top_srcdir): Remove.
4573 (update-subdirs): Use relative path to update-subdirs.
4574
4575 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4576
4577 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4578 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4579 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4580 Call unmsys--file-name before expand-file-name, not after it.
4581
4582 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4583
4584 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4585 (ert-test-skipped): New error.
4586 (ert-skip, ert-stats-skipped): New defuns.
4587 (ert--skip-unless): New macro.
4588 (ert-test-skipped): New struct.
4589 (ert--run-test-debugger, ert-test-result-type-p)
4590 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4591 (ert--stats-set-test-and-result, ert-char-for-test-result)
4592 (ert-string-for-test-result, ert-run-tests-batch)
4593 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4594 Handle skipped tests. (Bug#9803)
4595
4596 2013-10-24 Glenn Morris <rgm@gnu.org>
4597
4598 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4599
4600 * Makefile.in (abs_top_srcdir): New, set by configure.
4601 (update-subdirs): Correct build-aux location.
4602
4603 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4604
4605 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4606 value, whether we could auto-deduce `backend', or not.
4607
4608 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4609 with parameters" example. Simplify the "is it block or is it
4610 hash" check, but also make it more thorough.
4611
4612 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4613
4614 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4615
4616 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4619 { if it is hanging.
4620
4621 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4622 :before ";".
4623
4624 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4625
4626 * progmodes/compile.el (compilation-directory-matcher)
4627 (compilation-page-delimiter):
4628 Support GNU Make-4.0 directory quoting. (Bug#15678)
4629
4630 2013-10-23 Leo Liu <sdl.web@gmail.com>
4631
4632 * ido.el (ido-tidy): Handle read-only text.
4633
4634 2013-10-23 Glenn Morris <rgm@gnu.org>
4635
4636 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4637 (emacs, compile, compile-always):
4638 Quote entities that might contain whitespace.
4639 (custom-deps, finder-data, autoloads): Use abs_lisp.
4640 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4641 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4642 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4643
4644 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4645
4646 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4647 Use `following-char'.
4648
4649 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4652 * progmodes/ruby-mode.el (ruby-smie-rules):
4653 Remove corresponding workaround. Fix indentation rule of ";" so it
4654 also applies when ";" is the parent.
4655
4656 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4657
4658 * frame.el (display-screens, display-pixel-height)
4659 (display-pixel-width, display-mm-width, display-backing-store)
4660 (display-save-under, display-planes, display-color-cells)
4661 (display-visual-class, display-monitor-attributes-list):
4662 Mention the optional ‘display’ argument in doc strings.
4663
4664 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4665
4666 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4667 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4668
4669 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4670
4671 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4672 TODO. Add "." after " @ ".
4673 (ruby-smie--at-dot-call): New function. Checks if point at method
4674 call with explicit target.
4675 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4676 to the method name tokens when it precedes them.
4677 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4678 (ruby-smie-rules): Add rule for indentation before and after "."
4679 token.
4680
4681 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4682
4683 * textmodes/remember.el (remember-diary-extract-entries):
4684 Avoid add-to-list.
4685
4686 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4687 an instruction.
4688
4689 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4690
4691 * progmodes/ruby-mode.el (ruby-smie-grammar):
4692 Add (almost) all infix operators.
4693 (ruby-smie--implicit-semi-p): Add new operator chars.
4694
4695 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4696 `smie-down-list'.
4697 (ruby-smie--args-separator-p): Check that there's no newline
4698 between method call and its arguments.
4699
4700 2013-10-20 Alan Mackenzie <acm@muc.de>
4701
4702 Allow comma separated lists after Java "implements".
4703
4704 * progmodes/cc-engine.el (c-backward-over-enum-header):
4705 Parse commas.
4706 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4707 from a "disallowed" list in enum fontification.
4708
4709 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4710
4711 * startup.el (default-frame-background-mode): Remove unused defvar.
4712
4713 * progmodes/verilog-mode.el (verilog-mode): Don't set
4714 comment-indent-function globally.
4715
4716 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4717
4718 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4719 Move Info menu item creation to ns-win.el.
4720
4721 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4722 in menu bar.
4723
4724 * menu-bar.el: Move GNUstep specific menus...
4725
4726 * term/ns-win.el (ns-initialize-window-system): ... to here.
4727
4728 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * simple.el (newline): Only run post-self-insert-hook when
4731 called interactively.
4732
4733 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4734
4735 * icomplete.el (icomplete-with-completion-tables): Add :version.
4736
4737 2013-10-19 Alan Mackenzie <acm@muc.de>
4738
4739 Fix fontification bugs with constructors and const.
4740
4741 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4742 CASE 2) Remove the check for the absence of a suffix construct
4743 after a function declaration with only types (no identifiers) in
4744 the parentheses. Also, accept a function declaration with just a
4745 type inside the parentheses, if this type can be positively
4746 recognised as such, or if a prefix keyword like "explicit" nails
4747 down the construct as a declaration.
4748
4749 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4750
4751 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4752 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4753 the problem whereby selecting a menu item that leads to a
4754 minibuffer prompt moves the cursor out of the minibuffer window,
4755 making it hard to type at the prompt. Suggested by Stefan Monnier
4756 <monnier@iro.umontreal.ca>.
4757
4758 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4759
4760 * menu-bar.el: Don't make Services menu.
4761
4762 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4763
4764 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4765 (ffap-alist): Use ffap-c++-mode for c++-mode.
4766 (ffap-c++-path): New variable.
4767 (ffap-c++-mode): New function.
4768
4769 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4770
4771 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4772
4773 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4774
4775 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4776 introduced on 2013-09-08, which results in an infinite loop
4777 requesting a password.
4778
4779 2013-10-18 Glenn Morris <rgm@gnu.org>
4780
4781 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4782
4783 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4784
4785 Sync with upstream verilog-mode revision 1a6ecec7.
4786 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4787 (verilog-mode-release-date): Remove.
4788 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4789 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4790 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4791 (verilog-auto-tieoff-ignore-regexp)
4792 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4793 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4794 (verilog-signals-with, verilog-dir-cache-preserving)
4795 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4796 Doc fixes.
4797 (verilog-case-fold): New option, to control case folding in
4798 regexp searches, bug597.
4799 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4800 (verilog-string-match-fold, verilog-in-paren-count)
4801 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4802 (verilog-at-close-struct-p): New functions.
4803 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4804 (verilog-forward-sexp, verilog-set-auto-endcomments):
4805 (verilog-leap-to-case-head): Handle "unique0" case.
4806 (verilog-in-constraint-re): New constant.
4807 (verilog-keywords, verilog-type-font-keywords):
4808 Add some SystemVerilog 1800-2012 keywords.
4809 (verilog-label-be): Remove unimplemented argument, bug669.
4810 (verilog-batch-execute-func): When batch expanding clear
4811 create-lockfiles to prevent spurious user locks when a file ends
4812 up not changing.
4813 (verilog-calculate-indent, verilog-calc-1)
4814 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4815 (verilog-do-indent): Fix indentation of nested constraints
4816 and structures.
4817 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4818 (verilog-auto-inst-param): Use verilog-string-match-fold.
4819 (verilog-read-inst-module-matcher):
4820 Fix AUTOINST on gate primitives with #1.
4821 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4822 Reads all user-defined typed variables.
4823 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4824 (verilog-signals-matching-regexp)
4825 (verilog-signals-not-matching-regexp, verilog-auto):
4826 Respect verilog-case-fold.
4827 (verilog-diff-report): Fix line count.
4828 (verilog-auto-assign-modport): Remove unused local `modi'.
4829 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4830 better handle multidimensional arrays.
4831 Fix packed array ports misadding bit index in AUTOINST, bug637.
4832 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4833 to not double-declare existing outputs and inputs, respectively.
4834 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4835 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4836 (verilog-sk-uvm-component): New skeleton.
4837 (verilog-submit-bug-report): Add verilog-case-fold,
4838 remove verilog-mode-release-date.
4839
4840 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4841
4842 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4843 as before.
4844
4845 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4846
4847 * textmodes/remember.el (remember): Set buffer-offer-save in
4848 remember buffers (bug#13566).
4849
4850 2013-10-18 Daniel Colascione <dancol@dancol.org>
4851
4852 When evaluating forms in ielm, direct standard output to ielm
4853 buffer. Add new ielm-return-for-effect command. Remove trailing
4854 whitespace throughout.
4855
4856 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4857 (ielm-return-for-effect): New command.
4858 (ielm-send-input): Accept optional `for-effect' parameter.
4859 (ielm-eval-input): Accept optional `for-effect' parameter.
4860 Bind `standard-output' to stream we create using
4861 `ielm-standard-output-impl'. Suppress printing result when
4862 `for-effect'.
4863 (ielm-standard-output-impl): New function.
4864 (inferior-emacs-lisp-mode): Explain new features in documentation.
4865
4866 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4867
4868 Code cleanup.
4869
4870 * net/tramp.el (tramp-debug-message): Do not check for connection
4871 buffer.
4872 (tramp-message): Use "vector" connection property.
4873
4874 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4875 (tramp-equal-remote, tramp-eshell-directory-change)
4876 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4877 (tramp-adb-handle-rename-file)
4878 * net/tramp-cmds.el (tramp-list-remote-buffers)
4879 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4880 * net/tramp-compat.el (tramp-compat-process-running-p)
4881 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4882 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4883 (tramp-gvfs-handle-rename-file)
4884 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4885 (tramp-set-file-uid-gid)
4886 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4887 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4888 of `file-remote-p'.
4889
4890 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4891 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4892 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4893 (tramp-gw-open-network-stream): Suppress unrelated traces.
4894
4895 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4896 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4898 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4899 connection property.
4900
4901 * net/tramp-cache.el (top): Suppress traces when reading
4902 persistency file.
4903
4904 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4905 Refactor common code. Improve debug message.
4906 (tramp-maybe-open-connection)
4907 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4908 connection buffer too early.
4909
4910 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4911 from `tramp-smb-actions-with-acl'.
4912 (tramp-smb-actions-set-acl): New defconst.
4913 (tramp-smb-handle-copy-directory)
4914 (tramp-smb-action-get-acl): New defun, renamed from
4915 `tramp-smb-action-with-acl'.
4916 (tramp-smb-action-set-acl): New defun.
4917 (tramp-smb-handle-set-file-acl): Rewrite.
4918
4919 2013-10-17 Glenn Morris <rgm@gnu.org>
4920
4921 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4922
4923 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * skeleton.el (skeleton-newline): Remove.
4926 (skeleton-internal-1): Use (insert "\n") instead.
4927
4928 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4929 let-bindings.
4930
4931 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4932 forward-sexp-function while we redo its job (bug#15613).
4933
4934 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4935
4936 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4937 represented by lists.
4938
4939 2013-10-16 Glenn Morris <rgm@gnu.org>
4940
4941 * tmm.el (tmm--history): New dynamic variable.
4942 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4943
4944 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4947 (tramp-smb-errors): Add error messages.
4948 (tramp-smb-actions-with-acl): New defconst.
4949 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4950 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4951 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4952 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4953 (tramp-smb-get-stat-capability): Fix tests.
4954
4955 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4956
4957 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4958 (bug#15580).
4959
4960 2013-10-16 Glenn Morris <rgm@gnu.org>
4961
4962 * ansi-color.el (ansi-color-drop-regexp):
4963 Add 1J, 1K, 2K. (Bug#15617)
4964
4965 * files.el (hack-local-variables--warned-lexical): New.
4966 (hack-local-variables):
4967 Warn about misplaced lexical-binding. (Bug#15616)
4968
4969 * net/eww.el (eww-render): Always set eww-current-url,
4970 and update header line. (Bug#15622)
4971 (eww-display-html): ... Rather than just doing it here.
4972
4973 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4974
4975 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4976 menu navigations commands.
4977
4978 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4979
4980 * progmodes/subword.el (subword-capitalize): Be careful when
4981 the search for [[:alpha:]] fails (bug#15580).
4982
4983 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4984
4985 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4986 to commands that scroll the menu.
4987
4988 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4989
4990 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4991 Handle methods ending with `?' and `!'.
4992
4993 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4994
4995 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4996 `japanese-cp932' to `cp932' to fix the problem where saving a
4997 source file written in Shift_JIS twice would end up having
4998 `coding: japanese-cp932' which Ruby could not recognize.
4999 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5000 in `ruby-encoding-map'.
5001 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5002 doesn't need to be explicitly declared in magic comment.
5003 (ruby-encoding-map): Add type declaration for better customize UI.
5004
5005 2013-10-13 Glenn Morris <rgm@gnu.org>
5006
5007 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5008 Occur buffers are read-only. http://bugs.debian.org/720775
5009
5010 * emacs-lisp/authors.el (authors-fixed-entries):
5011 Comment out old alpha stuff.
5012
5013 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5014
5015 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5016 to `after-save-hook' instead of `before-save-hook'.
5017 (ruby-mode-set-encoding): Use the value of coding system used to
5018 write the file. Call `basic-save-buffer-1' after modifying the
5019 buffer.
5020
5021 2013-10-13 Alan Mackenzie <acm@muc.de>
5022
5023 Fix indentation/fontification of Java enum with
5024 "implements"/generic.
5025
5026 * progmodes/cc-engine.el (c-backward-over-enum-header):
5027 Extracted from the three other places and enhanced to handle generics.
5028 (c-inside-bracelist-p): Uses new function above.
5029 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5030 function above.
5031 (c-font-lock-enum-tail): Uses new function above.
5032
5033 2013-10-13 Kenichi Handa <handa@gnu.org>
5034
5035 * international/mule-cmds.el (select-safe-coding-system): Remove a
5036 superfluous condition in chekcing whether a coding system is safe
5037 or not.
5038
5039 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5040
5041 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5042
5043 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5044
5045 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5046
5047 2013-10-13 Glenn Morris <rgm@gnu.org>
5048
5049 * menu-bar.el (menu-bar-update-buffers):
5050 Unify Buffers menu prompt string. (Bug#15576)
5051
5052 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5053
5054 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5055 Add some entries.
5056 (authors-fixed-entries): Use accented form of name.
5057
5058 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5061 method calls (bug#15594).
5062 (ruby-smie--args-separator-p): New function.
5063 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5064 recognize paren-free method calls.
5065
5066 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5067 internals of universal-argument.
5068
5069 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5070
5071 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5072 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5073 dropped menu on second mouse click on the menu bar.
5074
5075 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5078 (explicit-shell-file-name): Declare.
5079 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5080 (sh-completion-at-point-function): New function.
5081 (sh-mode): Use it.
5082 (sh-smie--keyword-p): Remove unused argument.
5083 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5084 vars.
5085 (sh-set-shell): Always setup SMIE, even if we use the
5086 old indentation code.
5087
5088 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5089
5090 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5091 cases of ? and =.
5092 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5093 predicate would return nil are almost non-existent.
5094 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5095
5096 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5097 cache also after commands that modify the buffer but don't move
5098 point.
5099
5100 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * env.el (substitute-env-in-file-name): New function.
5103 (substitute-env-vars): Extend the meaning of the optional arg.
5104
5105 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5106
5107 * term/w32-win.el (dynamic-library-alist): Define separate lists
5108 of GIF DLLs for versions before and after 5.0.0 of giflib.
5109 (Bug#15531)
5110
5111 2013-10-10 João Távora <joaotavora@gmail.com>
5112
5113 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5114 not locked, use last revision and current source as
5115 defaults. (Bug#15569)
5116
5117 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5118
5119 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5120 menu-bar is hidden.
5121
5122 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5123
5124 * window.el (pop-to-buffer-same-window): Fix doc-string.
5125 (Bug#15492)
5126
5127 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5130
5131 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5132
5133 * calendar/icalendar.el (icalendar-import-file):
5134 Fix interactive spec. (Bug#15482)
5135
5136 2013-10-10 Glenn Morris <rgm@gnu.org>
5137
5138 * desktop.el (desktop-save): Default to saving in .emacs.d,
5139 since PWD is no longer in desktop-path by default. (Bug#15319)
5140
5141 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5142 now that text mode has a menu with the same entry.
5143 (menu-bar-text-mode-auto-fill): Remove now unused func.
5144 * textmodes/text-mode.el (text-mode-map):
5145 Use auto-fill help text from menu-bar.el.
5146
5147 2013-10-10 John Anthony <john@jo.hnanthony.com>
5148
5149 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5150
5151 2013-10-09 Juri Linkov <juri@jurta.org>
5152
5153 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5154 instead of this-command-keys. Add universal-argument-more and
5155 universal-argument-minus to the list of prefix commands. (Bug#15568)
5156
5157 2013-10-09 Glenn Morris <rgm@gnu.org>
5158
5159 * vc/vc-svn.el (vc-svn-create-repo):
5160 Expand paths in file://... url. (Bug#15446)
5161
5162 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5163 Add some entries.
5164 (authors): Remove unused local variables.
5165
5166 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * profiler.el: Create a more coherent calltree from partial backtraces.
5169 (profiler-format): Hide the tail with `invisible' so that C-s can still
5170 find the hidden elements.
5171 (profiler-calltree-depth): Don't recurse so enthusiastically.
5172 (profiler-function-equal): New hash-table-test.
5173 (profiler-calltree-build-unified): New function.
5174 (profiler-calltree-build): Use it.
5175 (profiler-report-make-name-part): Indent the calltree less.
5176 (profiler-report-mode): Add visibility specs for profiler-format.
5177 (profiler-report-expand-entry, profiler-report-toggle-entry):
5178 Expand the whole subtree when provided with a prefix arg.
5179
5180 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5181
5182 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5183 iuwu-mod token.
5184 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5185 hanging iuwu-mod token.
5186 (ruby-smie--forward-token): Do not include a dot after a token in
5187 that token.
5188 (ruby-smie--backward-token): Likewise.
5189
5190 2013-10-08 Juri Linkov <juri@jurta.org>
5191
5192 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5193 to isearch-other-control-char.
5194 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5195 and isearch-post-command-hook to post-command-hook.
5196 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5197 and isearch-post-command-hook from post-command-hook.
5198 (isearch-unread-key-sequence)
5199 (isearch-reread-key-sequence-naturally)
5200 (isearch-lookup-scroll-key, isearch-other-control-char)
5201 (isearch-other-meta-char): Remove functions.
5202 (isearch-pre-command-hook, isearch-post-command-hook):
5203 New functions based on isearch-other-meta-char rewritten
5204 relying on the new behavior of overriding-terminal-local-map
5205 that does not replace the local keymaps any more. (Bug#15200)
5206
5207 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5208
5209 Support menus on text-mode terminals.
5210 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5211 functionality.
5212
5213 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5214
5215 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5216 Move here from mouse.el.
5217 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5218 and arrow keys.
5219 (tty-menu-navigation-map): New map for TTY menu navigation.
5220
5221 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5222
5223 * frame.el (display-mouse-p): Report text-mode mouse as available
5224 on w32.
5225 (display-popup-menus-p): Report availability if mouse is
5226 available; don't condition on window-system.
5227
5228 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5229 (tty-menu-selected-face): New faces.
5230
5231 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5234 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5235 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5236 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5237 New constants.
5238 (lisp-mode-variables): New `elisp' argument.
5239 (emacs-lisp-mode): Use it.
5240 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5241 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5242
5243 * indent.el: Use lexical-binding.
5244 (indent-region): Add progress reporter.
5245 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5246 last step.
5247 (indent--next-tab-stop): New function to implement this behavior.
5248 (tab-to-tab-stop, move-to-tab-stop): Use it.
5249
5250 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5251
5252 * indent.el (indent-rigidly--current-indentation): New function.
5253 (indent-rigidly-map): New var.
5254 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5255
5256 2013-10-08 Bastien Guerry <bzg@gnu.org>
5257
5258 * register.el (insert-register): Fix 2013-10-07 change.
5259
5260 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * progmodes/perl-mode.el: Use lexical-binding.
5263 Remove redundant :group args.
5264 (perl-nochange): Change default to be closer to other major modes's
5265 standard behavior.
5266 (perl-indent-line): Don't consider text on current line as a
5267 valid beginning of function from which to indent.
5268
5269 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5270 with more than one argument (bug#15538).
5271
5272 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5273
5274 * vc/pcvs.el: Use lexical-binding.
5275 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5276 environment of `eval'.
5277 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5278 than a list of expressions. Adjust callers.
5279 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5280
5281 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5282
5283 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5284 case of the dot in a chained method call being on the following line.
5285
5286 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * electric.el (electric-indent-inhibit): New var.
5289 (electric-indent-post-self-insert-function): Use it.
5290 * progmodes/python.el (python-mode): Set it.
5291
5292 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5293 open braces.
5294
5295 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5296
5297 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5298 (css-mode): Use electric-indent-chars.
5299
5300 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5301 (font-lock-beg, font-lock-end): Move before first use.
5302 (nxml-mode): Use syntax-propertize-function.
5303 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5304 (nxml-extend-after-change-region): Remove.
5305 * nxml/xmltok.el: Use lexical-binding.
5306 (xmltok-save): Use `declare'.
5307 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5308 * nxml/nxml-util.el: Use lexical-binding.
5309 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5310 Use `declare'.
5311 * nxml/nxml-ns.el: Use lexical-binding.
5312 (nxml-ns-save): Use `declare'.
5313 (nxml-ns-prefixes-for): Avoid add-to-list.
5314 * nxml/rng-match.el: Use lexical-binding.
5315 (rng--ipattern): Use cl-defstruct.
5316 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5317 (rng-cons-group-after, rng-subst-group-after)
5318 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5319 Use closures instead of `(lambda...).
5320
5321 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5322
5323 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5324 of BEG and END.
5325
5326 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5327 Use `tramp-handle-insert-file-contents'.
5328 (tramp-gvfs-handle-insert-file-contents): Remove function.
5329
5330 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5331 Use `save-restriction' in order to keep markers.
5332
5333 * net/trampver.el: Update release number.
5334
5335 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * progmodes/compile.el (compilation-parse-errors):
5338 Use compilation--put-prop.
5339 (compilation--ensure-parse): Check compilation-multiline.
5340
5341 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5342
5343 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5344 lexical-binding.
5345
5346 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5347
5348 * progmodes/ruby-mode.el: Fix recently added tests.
5349 (ruby-smie-grammar): Add - and +.
5350 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5351 (ruby-smie--backward-id): New functions.
5352 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5353 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5354 any more.
5355
5356 2013-10-07 Leo Liu <sdl.web@gmail.com>
5357
5358 * register.el (register-preview-delay)
5359 (register-preview-functions): New variables.
5360 (register-read-with-preview, register-preview)
5361 (register-describe-oneline): New functions.
5362 (point-to-register, window-configuration-to-register)
5363 (frame-configuration-to-register, jump-to-register)
5364 (number-to-register, view-register, insert-register)
5365 (copy-to-register, append-to-register, prepend-to-register)
5366 (copy-rectangle-to-register): Use register-read-with-preview to
5367 read register. (Bug#15525)
5368
5369 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5370
5371 * net/network-stream.el (network-stream-open-starttls): Don't add
5372 --insecure if it's already present, because that gnutls-cli
5373 rejects getting that parameter twice.
5374
5375 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5376
5377 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5378 keyword, too.
5379
5380 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5381
5382 * newcomment.el (comment-use-global-state): Change default value
5383 to t, mark obsolete (Bug#15251).
5384 (comment-beginning): In addition to `comment-to-syntax', check the
5385 value of `comment-use-global-state'.
5386
5387 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5390 (ruby-comment-column): Follow the global default, by default.
5391 (ruby-smie-grammar): Add assignment syntax.
5392 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5393 open-paren, a comma, or a \.
5394 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5395 and line continuations.
5396 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5397 followed by implicit semi-colons. Add rule for string concatenation
5398 and for indentation at BOB.
5399 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5400
5401 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5402 calling next-sexp, since next-token may have skipped chars which
5403 next-sexp doesn't know should be skipped!
5404
5405 2013-10-05 Leo Liu <sdl.web@gmail.com>
5406
5407 * progmodes/octave.el (octave-send-region):
5408 Call compilation-forget-errors.
5409
5410 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5411
5412 * vc/vc-svn.el (vc-svn-find-admin-dir):
5413 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5414 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5415 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5416 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5417
5418 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5421
5422 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * subr.el (read-passwd): Hide chars even when called within a context
5425 where after-change-functions is disabled (bug#15501).
5426 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5427 until we removed ourself from overriding-terminal-local-map.
5428
5429 2013-10-04 Leo Liu <sdl.web@gmail.com>
5430
5431 * progmodes/octave.el (inferior-octave-mode):
5432 Call compilation-forget-errors.
5433
5434 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5435
5436 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5437
5438 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5439
5440 * net/secrets.el (secrets-create-collection): Add optional
5441 argument ALIAS. Use proper Label keyword. Append ALIAS as
5442 dbus-call-method argument. (Bug#15516)
5443
5444 2013-10-04 Leo Liu <sdl.web@gmail.com>
5445
5446 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5447 (inferior-octave-compilation-font-lock-keywords): New variables.
5448 (compilation-error-regexp-alist)
5449 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5450 (inferior-octave-mode): Use compilation-shell-minor-mode.
5451
5452 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5453
5454 * minibuffer.el (completion--replace): Be careful that `end' might be
5455 a marker.
5456
5457 2013-10-03 Daiki Ueno <ueno@gnu.org>
5458
5459 Add support for package signature checking.
5460 * emacs-lisp/package.el (url-http-file-exists-p)
5461 (epg-make-context, epg-context-set-home-directory)
5462 (epg-verify-string, epg-context-result-for)
5463 (epg-signature-status, epg-signature-to-string)
5464 (epg-check-configuration, epg-configuration)
5465 (epg-import-keys-from-file): Declare.
5466 (package-check-signature): New user option.
5467 (package-unsigned-archives): New user option.
5468 (package-desc): Add `signed' field.
5469 (package-load-descriptor): Set `signed' field if .signed file exists.
5470 (package--archive-file-exists-p): New function.
5471 (package--check-signature): New function.
5472 (package-install-from-archive): Check package signature.
5473 (package--download-one-archive): Check archive signature.
5474 (package-delete): Remove .signed file.
5475 (package-import-keyring): New command.
5476 (package-refresh-contents): Import default keyring.
5477 (package-desc-status): Add "unsigned" status.
5478 (describe-package-1, package-menu--print-info)
5479 (package-menu-mark-delete, package-menu--find-upgrades)
5480 (package-menu--status-predicate): Support "unsigned" status.
5481
5482 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5485 the new compilation scheme using the new byte-codes.
5486
5487 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5488 (byte-pophandler): New byte codes.
5489 (byte-goto-ops): Adjust accordingly.
5490 (byte-compile--use-old-handlers): New var.
5491 (byte-compile-catch): Use new byte codes depending on
5492 byte-compile--use-old-handlers.
5493 (byte-compile-condition-case--old): Rename from
5494 byte-compile-condition-case.
5495 (byte-compile-condition-case--new): New function.
5496 (byte-compile-condition-case): New function that dispatches depending
5497 on byte-compile--use-old-handlers.
5498 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5499 when we can.
5500
5501 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5502 Optimize under `condition-case' and `catch' if
5503 byte-compile--use-old-handlers is nil.
5504 (disassemble-offset): Handle new bytecodes.
5505
5506 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * subr.el (error): Use `declare'.
5509 (decode-char, encode-char): Use advertised-calling-convention instead
5510 of the docstring to discourage use of the `restriction' arg.
5511
5512 2013-10-03 Daiki Ueno <ueno@gnu.org>
5513
5514 * epg.el (epg-verify-file): Add a comment saying that it does not
5515 notify verification error as a return value nor a signal.
5516 (epg-verify-string): Ditto.
5517
5518 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5519
5520 * progmodes/compile.el (compilation-start): Try globbing the arg to
5521 `cd' (bug#15417).
5522
5523 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5524
5525 Sync with Tramp 2.2.8.
5526
5527 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5528 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5529 * net/trampver.el: Update release number.
5530
5531 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5532
5533 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5534 and default-process-coding-system for darwin only.
5535
5536 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5539
5540 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5541
5542 * vc/vc-git.el (vc-git-grep): Disable pager.
5543
5544 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5545
5546 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5547 Use :url instead of :homepage, as per
5548 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5549
5550 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5551 non-nil, use `syntax-ppss' (Bug#15251).
5552
5553 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5554
5555 * progmodes/octave.el (inferior-octave-startup-file):
5556 Prefer ~/.emacs.d/init_octave.m.
5557
5558 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * emacs-lisp/package.el (package-desc-from-define):
5561 Accept additional arguments as plist, convert them to an alist and store
5562 them in the `extras' slot.
5563 (package-generate-description-file): Convert extras alist back to
5564 plist and append to the `define-package' form arguments.
5565 (package--alist-to-plist): New function.
5566 (package--ac-desc): Add `extras' slot.
5567 (package--add-to-archive-contents): Check if the archive-contents
5568 vector is long enough, and if it is, pass its `extras' slot value
5569 to `package-desc-create'.
5570 (package-buffer-info): Call `lm-homepage', pass the returned value
5571 to `package-desc-from-define'.
5572 (describe-package-1): Render the homepage button (Bug#13291).
5573
5574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5575 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5576
5577 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5578
5579 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5580 and default-process-coding-system to utf-8-unix (Bug#15402).
5581
5582 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5583
5584 * subr.el (looking-back): Do not recommend using looking-back.
5585
5586 2013-09-28 Alan Mackenzie <acm@muc.de>
5587
5588 Fix indentation/fontification of Java enum with "implements".
5589
5590 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5591 regexp which matches "implements", etc., in Java.
5592 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5593 specifier clauses coming after "enum".
5594 * progmodes/cc-fonts.el (c-font-lock-declarations)
5595 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5596 after "enum".
5597
5598 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5599
5600 * faces.el (region): Change ns_selection_color to
5601 ns_selection_fg_color, add ns_selection_bg_color.
5602
5603 2013-09-28 Leo Liu <sdl.web@gmail.com>
5604
5605 * progmodes/octave.el (inferior-octave-completion-table)
5606 (inferior-octave-completion-at-point): Minor tweaks.
5607
5608 * textmodes/ispell.el (ispell-lookup-words): Rename from
5609 lookup-words. (Bug#15460)
5610 (lookup-words): Obsolete.
5611 (ispell-complete-word, ispell-command-loop): All uses changed.
5612
5613 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5614
5615 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5616 (octave-mode-menu): Add octave-send-buffer.
5617 (octave-send-buffer): New function.
5618
5619 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5620
5621 * progmodes/octave.el (octave-mode-map): Add key binding for
5622 octave-lookfor.
5623 (octave-mode-menu): Add octave-lookfor.
5624 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5625 octave-lookfor.
5626 (octave-lookfor): New function.
5627
5628 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/cl-macs.el:
5631 (cl--loop-destr-temps): Remove.
5632 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5633 its convention.
5634 (cl--loop-set-iterator-function): New function.
5635 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5636 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5637 Bind `it' with `let' instead of substituting it with `cl-subst'.
5638 (cl--unused-var-p): New function.
5639 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5640 Eliminate some unused variable warnings (bug#15326).
5641
5642 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5643
5644 * doc-view.el (doc-view-scale-reset): Rename from
5645 `doc-view-reset-zoom-level'.
5646 (doc-view-scale-adjust): New command.
5647 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5648 `doc-view-scale-adjust'.
5649
5650 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5651
5652 * doc-view.el (doc-view-reset-zoom-level): New command.
5653 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5654 zoom commands (bug#15466).
5655
5656 2013-09-26 Kenichi Handa <handa@gnu.org>
5657
5658 * international/quail.el (quail-help): Make it not a command.
5659
5660 2013-09-26 Leo Liu <sdl.web@gmail.com>
5661
5662 * minibuffer.el (completion-all-sorted-completions): Make args
5663 optional as they are.
5664
5665 2013-09-25 Daniel Colascione <dancol@dancol.org>
5666
5667 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5668 specs are and that they're not evaluated.
5669
5670 2013-09-24 Sam Steingold <sds@gnu.org>
5671
5672 * midnight.el (clean-buffer-list-kill-regexps)
5673 (clean-buffer-list-kill-buffer-names): Update for the new Man
5674 buffer naming which includes the object name.
5675
5676 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5679 (eshell-parse-command, eshell-parse-pipeline): Use it since
5680 eshell-separate-commands requires a dynamic scoped var.
5681 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5682
5683 2013-09-23 Leo Liu <sdl.web@gmail.com>
5684
5685 * autoinsert.el (auto-insert-alist): Make the value of
5686 lexical-binding match its file setting.
5687
5688 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5691
5692 * autoarg.el (autoarg-kp-digit-argument):
5693 * electric.el (Electric-command-loop):
5694 * kmacro.el (kmacro-step-edit-insert):
5695 Do not set universal-argument-num-events.
5696
5697 2013-09-22 Leo Liu <sdl.web@gmail.com>
5698
5699 * files.el (interpreter-mode-alist): Add octave.
5700
5701 2013-09-21 Alan Mackenzie <acm@muc.de>
5702
5703 C++: fontify identifier in declaration following "public:" correctly.
5704 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5705 to match "public", etc.
5706 (c-decl-prefix-re): Add ":" into the C++ value.
5707 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5708 bit. Add a check for a ":" preceded by "public", etc.
5709
5710 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5711
5712 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5713 recognized by GDB 7.5 and later.
5714
5715 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5716
5717 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5718
5719 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * subr.el (internal--call-interactively): New const.
5722 (called-interactively-p): Use it (bug#3984).
5723
5724 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5725
5726 * vc/pcvs.el (cvs-mode-ignore):
5727 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5728 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5729
5730 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5733 (eshell-ls-orig-insert-directory): Remove.
5734 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5735 (eshell-ls-use-in-dired): Use advice-add/remove.
5736 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5737 Add `orig-fun' arg for use in :around advice.
5738 Make it check (redundantly) eshell-ls-use-in-dired.
5739
5740 2013-09-19 Glenn Morris <rgm@gnu.org>
5741
5742 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5743
5744 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5745
5746 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5747
5748 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5749
5750 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5751 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5752 (tramp-get-remote-python): New defuns.
5753 (tramp-get-remote-uid-with-perl)
5754 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5755 contributed by yary <not.com@gmail.com> (tiny change).
5756 (tramp-get-remote-uid-with-python)
5757 (tramp-get-remote-gid-with-python): New defuns. Python code
5758 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5759 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5760
5761 2013-09-19 Glenn Morris <rgm@gnu.org>
5762
5763 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5764
5765 * eshell/em-unix.el (eshell-remove-entries):
5766 Rename argument to avoid name-clash with global `top-level'.
5767
5768 * eshell/esh-proc.el (eshell-kill-process-function):
5769 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5770 (eshell-reset-after-proc): Remove unused arg `proc'.
5771
5772 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5773 (directory-files-and-attributes): Mark unused arg.
5774
5775 * eshell/em-unix.el (eshell-remove-entries):
5776 Remove unused arg `path'. Update callers.
5777
5778 * eshell/em-hist.el (eshell-hist-parse-arguments):
5779 Remove unused arg `silent'. Update callers.
5780
5781 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5782 Fix (f)boundp mix-up.
5783
5784 * eshell/em-smart.el (eshell-smart-scroll-window)
5785 (eshell-disable-after-change):
5786 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5787
5788 2013-09-18 Alan Mackenzie <acm@muc.de>
5789
5790 Fix fontification of type when followed by "const".
5791 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5792 "known" types from fontification.
5793
5794 2013-09-18 Glenn Morris <rgm@gnu.org>
5795
5796 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5797 (chart-face-list): Drop Emacsen without display-color-p.
5798
5799 * net/eww.el (libxml-parse-html-region): Declare.
5800 (eww-display-html): Explicit error if no libxml2 support.
5801
5802 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5803
5804 * image.el (image-type-from-buffer, image-multi-frame-p):
5805 Remove --without-x warning/error.
5806
5807 * mouse.el (mouse-yank-primary):
5808 * term.el (term-mouse-paste):
5809 Reorder to silence --without-x compilation.
5810
5811 * mpc.el (doc-view-mode): Silence --without-x compilation.
5812
5813 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5814 Silence --without-x compilation.
5815
5816 * progmodes/gud.el (gud-find-file, gud-mode):
5817 Silence --without-x compilation.
5818 (tooltip-mode): Declare.
5819
5820 * wdired.el (dired-backup-overwrite): Remove declaration.
5821 (wdired-mode-map): Add doc string.
5822
5823 * custom.el (x-get-resource): Declare.
5824
5825 * eshell/em-glob.el (ange-cache):
5826 * eshell/em-unix.el (ange-cache): Declare.
5827
5828 * faces.el (x-display-list, x-open-connection, x-get-resource):
5829 Declare.
5830
5831 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5832 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5833 Declare.
5834
5835 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5836
5837 * net/gnutls.el (gnutls-log-level): Declare.
5838
5839 * net/shr.el (image-size, image-animate): Declare.
5840
5841 * simple.el (font-info): Declare.
5842
5843 * subr.el (x-popup-dialog): Declare.
5844
5845 * term/common-win.el (x-select-enable-primary)
5846 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5847 Declare.
5848
5849 * term/ns-win.el (x-handle-args): Declare.
5850
5851 * term/x-win.el (x-select-enable-clipboard): Declare.
5852
5853 * term/w32-win.el (create-default-fontset): Declare.
5854
5855 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5856 Declare.
5857
5858 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5859 (fit-frame-to-buffer): Explicit error if --without-x.
5860 (mouse-autoselect-window-select): Silence compiler.
5861
5862 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5863
5864 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5865 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5866 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5867 * eshell/esh-util.el (eshell-sublist):
5868 Remove unused local variables.
5869
5870 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5871
5872 * textmodes/two-column.el: Make 2C-split work for --without-x.
5873 (scroll-bar-columns): Autoload.
5874 (top-level): Require fringe when compiling.
5875
5876 2013-09-18 Leo Liu <sdl.web@gmail.com>
5877
5878 * subr.el (add-hook): Robustify to handle closure as well.
5879
5880 2013-09-17 Glenn Morris <rgm@gnu.org>
5881
5882 * simple.el (messages-buffer-mode-map): Unbind "g".
5883
5884 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * help-mode.el (help-mode-finish): Use derived-mode-p.
5887 Remove obsolete highlighting.
5888
5889 * play/life.el (life-mode): Use define-derived-mode. Derive from
5890 special-mode.
5891 (life): Let-bind inhibit-read-only.
5892 (life-setup): Avoid `setq'. Use `life-mode'.
5893
5894 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5895 which should not be needed any more.
5896 (package-menu-refresh, package-menu-describe-package): Use user-error.
5897
5898 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5899 (eshell-post-rewrite-command-hook): Make obsolete.
5900 (eshell-parse-command): Simplify.
5901 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5902 (eshell--cmd): Declare.
5903 (eshell-parse-pipeline): Remove unused var `final-p'.
5904 Pass a dynvar to eshell-post-rewrite-command-hook.
5905 Implement the new eshell-post-rewrite-command-function.
5906 (eshell-invoke-directly): Remove unused arg `input'.
5907 * eshell/esh-io.el (eshell-io-initialize):
5908 Use eshell-post-rewrite-command-function (bug#15399).
5909 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5910 adjust to new calling convention.
5911 (eshell-create-handles): Rename args to avoid clashing with dynvar
5912 `standard-output'.
5913
5914 2013-09-17 Glenn Morris <rgm@gnu.org>
5915
5916 * simple.el (messages-buffer-mode): New major mode.
5917 (messages-buffer): New function.
5918 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5919 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5920 (ert-run-test): Use `messages-buffer' function.
5921 (ert--force-message-log-buffer-truncation): Ignore read-only.
5922 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5923 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5924
5925 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5928
5929 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5930
5931 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * icomplete.el (icomplete-in-buffer): New var.
5934 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5935 vars and replace them with functions.
5936 (icomplete-minibuffer-setup): Adjust accordingly.
5937 (icomplete--completion-table, icomplete--completion-predicate)
5938 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5939 New functions.
5940 (icomplete-forward-completions, icomplete-backward-completions)
5941 (icomplete-simple-completing-p, icomplete-exhibit)
5942 (icomplete-completions): Use them.
5943 (icomplete--in-region-buffer): New var.
5944 (icomplete--in-region-setup): New function.
5945 (icomplete-mode): Use it.
5946
5947 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5948 (bug#15379).
5949 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5950 return args and options.
5951 (eshell-eval-using-options): Use the new return value of
5952 eshell--do-opts to set the options's vars in their scope.
5953 (eshell--set-option): Rename from eshell-set-option.
5954 Add arg `opt-vals'.
5955 (eshell--process-option): Rename from eshell-process-option.
5956 Add arg `opt-vals'.
5957 (eshell--process-args): Use an `opt-vals' alist to store the options's
5958 values during their processing and return them additionally to the
5959 remaining args.
5960
5961 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5962
5963 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5964 continuation character an operator, as far as indentation is
5965 concerned (Bug#15369).
5966
5967 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5968
5969 * window.el (window--state-put-2): Don't process buffer state
5970 when buffer doesn't exist any more (Bug#15382).
5971
5972 2013-09-15 Glenn Morris <rgm@gnu.org>
5973
5974 * eshell/em-unix.el (eshell/rm):
5975 Make -f ignore missing files. (Bug#15373)
5976
5977 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5978 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5979 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5980
5981 2013-09-14 Glenn Morris <rgm@gnu.org>
5982
5983 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5984
5985 2013-09-13 Glenn Morris <rgm@gnu.org>
5986
5987 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5988 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5989
5990 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5991
5992 * frame.el (x-focus-frame): Mark as declared in frame.c.
5993
5994 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5995
5996 * ls-lisp.el: Use advice-add.
5997 (original-insert-directory): Remove.
5998 (ls-lisp--insert-directory): Rename from insert-directory; add
5999 `orig-fun' argument.
6000 (insert-directory): Advise.
6001
6002 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6003
6004 * term.el (term-emulate-terminal): Decode the command string
6005 before passing it to term-command-hook. (Bug#15337)
6006
6007 2013-09-13 Glenn Morris <rgm@gnu.org>
6008
6009 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6010
6011 * eshell/esh-ext.el (eshell-search-path): Declare.
6012
6013 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6014 Otherwise an error occurs if eshell-dirs module not loaded.
6015
6016 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6017
6018 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6019
6020 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6021 `tramp-check-proper-host'. Check for a valid method name.
6022
6023 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6024 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6025 * net/tramp-sh.el (tramp-maybe-open-connection):
6026 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6027
6028 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6029 also for hash values.
6030
6031 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6032
6033 * term/ns-win.el (parameters): Don't declare as dynamic.
6034 (before-make-frame-hook): Don't add ineffective function.
6035
6036 * eshell/*.el: Use lexical-binding (bug#15231).
6037
6038 2013-09-12 Kenichi Handa <handa@gnu.org>
6039
6040 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6041
6042 2013-09-12 Glenn Morris <rgm@gnu.org>
6043
6044 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6045 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6046
6047 * subr.el (do-after-load-evaluation): Also give compiler warnings
6048 when obsolete files are used (except by obsolete files).
6049
6050 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6051 in the status output, assume `filename' is the first. (Bug#15322)
6052
6053 * vc/vc.el (vc-deduce-fileset): Doc fix.
6054
6055 * calc/calc-help.el (Info-goto-node):
6056 * progmodes/cperl-mode.el (Info-find-node):
6057 * vc/ediff.el (Info-goto-node): Update declarations.
6058
6059 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6060
6061 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6062 (vc-bzr-pull): Require vc-dispatcher.
6063 * vc/vc-git.el (vc-compilation-mode): Declare.
6064 (vc-git-pull): Require vc-dispatcher.
6065
6066 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6067
6068 * progmodes/octave.el (help-button-action): Declare.
6069
6070 * shell.el (shell-directory-tracker): Output error as a message
6071 rather than just returning it as a string.
6072 (shell-process-pushd): Remove useless use of message.
6073
6074 * dframe.el (dframe-timer-fn):
6075 * files.el (dir-locals-read-from-file):
6076 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6077 (mpc-format):
6078 * reveal.el (reveal-post-command):
6079 * saveplace.el (load-save-place-alist-from-file):
6080 * shell.el (shell-resync-dirs):
6081 * w32-common-fns.el (x-get-selection-value):
6082 * emacs-lisp/copyright.el (copyright-find-copyright):
6083 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6084 * emulation/tpu-edt.el (tpu-copy-keyfile):
6085 * play/bubbles.el (bubbles--mark-neighbourhood):
6086 * progmodes/executable.el
6087 (executable-make-buffer-file-executable-if-script-p):
6088 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6089
6090 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 Cleanup Eshell to rely less on dynamic scoping.
6093 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6094 last-value, and ext-command here. Bind `args' closer to `body'.
6095 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6096 (eshell--args): Declare new dynamic var.
6097 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6098 last-value, and ext-command. Pass `args' to `body'.
6099 (eshell-process-args): Bind eshell--args.
6100 (eshell-set-option): Use eshell--args.
6101 * eshell/eshell.el (eshell): Use derived-mode-p.
6102 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6103 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6104 (eshell-glob-function): Declare.
6105 * eshell/esh-util.el: Require cl-lib.
6106 (eshell-read-hosts-file): Avoid add-to-list.
6107 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6108 `err'.
6109 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6110 Declare.
6111 (eshell/diff): Remove unused var `err'.
6112 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6113 `killflag'.
6114 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6115 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6116 first use.
6117 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6118 Move declaration before first use.
6119 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6120 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6121 rely on cl-return.
6122
6123 2013-09-12 Glenn Morris <rgm@gnu.org>
6124
6125 * term/ns-win.el (global-map): Remove binding for ispell-next,
6126 deleted 1999-05-29. (Bug#15357)
6127
6128 2013-09-11 Glenn Morris <rgm@gnu.org>
6129
6130 * echistory.el (electric-command-history): Remove call to deleted func.
6131
6132 * play/landmark.el (landmark-mode): Fix typos.
6133
6134 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6135 Check cvs-sort-ignore-file is bound.
6136
6137 * savehist.el: No need for cl when compiling on Emacs.
6138
6139 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6142 (bug#15338).
6143 (eshell-self-insert-command, eshell-send-invisible):
6144 Remove unused argument.
6145 (eshell-handle-control-codes): Remove unused var `orig'.
6146 Avoid delete-backward-char.
6147
6148 * files.el (set-auto-mode): Simplify a bit further.
6149
6150 2013-09-11 Glenn Morris <rgm@gnu.org>
6151
6152 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6153 (set-auto-mode): Don't regexp-quote elements.
6154 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6155 * progmodes/cc-mode.el (interpreter-mode-alist):
6156 * progmodes/ruby-mode.el (interpreter-mode-alist):
6157 Revert previous change.
6158
6159 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * play/snake.el (snake-mode):
6162 * play/mpuz.el (mpuz-mode):
6163 * play/landmark.el (lm-mode):
6164 * play/blackbox.el (blackbox-mode):
6165 * play/5x5.el (5x5-mode):
6166 * obsolete/options.el (Edit-options-mode):
6167 * net/quickurl.el (quickurl-list-mode):
6168 * net/newst-treeview.el (newsticker-treeview-mode):
6169 * mail/rmailsum.el (rmail-summary-mode):
6170 * mail/mspools.el (mspools-mode):
6171 * locate.el (locate-mode):
6172 * ibuffer.el (ibuffer-mode):
6173 * emulation/ws-mode.el (wordstar-mode):
6174 * emacs-lisp/debug.el (debugger-mode):
6175 * array.el (array-mode):
6176 * net/eudc.el (eudc-mode): Use define-derived-mode.
6177 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6178 Move initialization into declaration.
6179 (mairix-searches-mode): Use define-derived-mode.
6180 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6181 (eudc-edit-hotlist): Use dolist.
6182 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6183 (Man-mode): Use define-derived-mode.
6184 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6185 (Info-edit-mode): Use define-derived-mode.
6186 (Info-cease-edit): Use Info-mode.
6187 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6188 into declaration.
6189 (eshell-mode): Use define-derived-mode.
6190 * chistory.el (command-history-mode-map): Rename from
6191 command-history-map.
6192 (command-history-mode): Use define-derived-mode.
6193 (Command-history-setup): Remove function.
6194 * calc/calc.el (calc-trail-mode-map): New var.
6195 (calc-trail-mode): Use define-derived-mode.
6196 (calc-trail-buffer): Set calc-main-buffer manually.
6197 * bookmark.el (bookmark-insert-annotation): New function.
6198 (bookmark-edit-annotation): Use it.
6199 (bookmark-edit-annotation-mode): Make it a proper major mode.
6200 (bookmark-send-edited-annotation): Use derived-mode-p.
6201 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6202 closer to its ideal place. Use \' to match EOS.
6203
6204 * profiler.el (profiler-calltree-find): Use function-equal.
6205
6206 2013-09-10 Glenn Morris <rgm@gnu.org>
6207
6208 * files.el (interpreter-mode-alist): Convert to regexps.
6209 (set-auto-mode): Adapt for this. (Bug#15306)
6210 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6211 Comment out unused variable.
6212 * progmodes/cc-mode.el (interpreter-mode-alist):
6213 * progmodes/python.el (interpreter-mode-alist):
6214 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6215 * progmodes/sh-script.el (sh-set-shell):
6216 No longer use interpreter-mode-alist to get list of shells.
6217
6218 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6219
6220 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * simple.el: Use set-temporary-overlay-map for universal-argument.
6223 (universal-argument-map): Don't use default-bindings (bug#15317).
6224 Bind switch-frame explicitly. Replace universal-argument-minus with
6225 a conditional binding.
6226 (universal-argument-num-events, saved-overriding-map): Remove.
6227 (restore-overriding-map): Remove.
6228 (universal-argument--mode): Rename from save&set-overriding-map,
6229 and rewrite.
6230 (universal-argument, universal-argument-more, negative-argument)
6231 (digit-argument): Adjust accordingly.
6232 (universal-argument-minus): Remove.
6233 (universal-argument-other-key): Remove.
6234
6235 * subr.el (with-demoted-errors): Add `format' argument.
6236
6237 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6238
6239 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6240 `tramp-cleanup-connection'.
6241
6242 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6243 parameters KEEP-DEBUG and KEEP-PASSWORD.
6244
6245 * net/tramp.el (tramp-file-name-handler):
6246 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6247 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6248 (tramp-maybe-open-connection):
6249 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6250 Use `tramp-cleanup-connection'.
6251
6252 * net/tramp-sh.el (tramp-maybe-open-connection):
6253 Catch 'uname-changed inside the progress reporter.
6254
6255 2013-09-10 Glenn Morris <rgm@gnu.org>
6256
6257 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6258
6259 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6260 returns "alternate access method" in mode (eg "-rw-r--r--.").
6261
6262 2013-09-08 Glenn Morris <rgm@gnu.org>
6263
6264 * saveplace.el (load-save-place-alist-from-file):
6265 Demote errors. (Bug#15305)
6266
6267 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6268
6269 Improve compatibility with older Emacsen, and XEmacs.
6270
6271 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6272 only if it is bound. It isn't for XEmacs.
6273 (with-tramp-progress-reporter): Do not let-bind `result'.
6274 This yields to scoping errors in XEmacs.
6275 (tramp-handle-make-auto-save-file-name): New function, moved from
6276 tramp-sh.el.
6277
6278 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6279 for `make-auto-save-file-name'.
6280 (tramp-adb--gnu-switches-to-ash):
6281 Use `tramp-compat-replace-regexp-in-string'.
6282
6283 * net/tramp-cache.el (tramp-cache-print): Call
6284 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6285
6286 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6287 bound. It isn't for XEmacs.
6288
6289 * net/tramp-compat.el (tramp-compat-copy-file):
6290 Catch `wrong-number-of-arguments' error.
6291 (tramp-compat-replace-regexp-in-string): New defun.
6292
6293 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6294 for `make-auto-save-file-name'.
6295 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6296 `copy-file'.
6297 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6298 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6299 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6300
6301 * net/tramp-gw.el (tramp-gw-open-network-stream):
6302 Use `tramp-compat-replace-regexp-in-string'.
6303
6304 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6305 Call `tramp-handle-make-auto-save-file-name'.
6306 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6307 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6308 (tramp-sh-file-inotifywait-process-filter):
6309 Use `tramp-compat-replace-regexp-in-string'.
6310 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6311
6312 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6313 for `make-auto-save-file-name'.
6314 (tramp-smb-handle-copy-directory):
6315 Call `tramp-compat-replace-regexp-in-string'.
6316 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6317 (tramp-smb-handle-copy-file): Improve error message.
6318 (tramp-smb-handle-rename-file): Rename directly only in case
6319 `newname' does not exist yet. This is a restriction of smbclient.
6320 (tramp-smb-maybe-open-connection): Rerun the function only when
6321 `auth-sources' is non-nil.
6322
6323 2013-09-08 Kenichi Handa <handa@gnu.org>
6324
6325 * international/characters.el: Set category "^" (Combining) for
6326 more characters.
6327
6328 2013-09-07 Alan Mackenzie <acm@muc.de>
6329
6330 Correctly fontify Java class constructors.
6331 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6332 in Java Mode.
6333 (c-recognize-typeless-decls): Set the Java value to t.
6334 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6335 While handling a "(", add a check for, effectively, Java, and handle a
6336 "typeless" declaration there.
6337
6338 2013-09-07 Roland Winkler <winkler@gnu.org>
6339
6340 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6341 field subtitle for entry type book.
6342
6343 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * minibuffer.el: Make minibuffer-complete call completion-in-region
6346 rather than other way around.
6347 (completion--some, completion-pcm--find-all-completions):
6348 Don't delay signals when debugging.
6349 (minibuffer-completion-contents): Beware fields within the
6350 minibuffer contents.
6351 (completion-all-sorted-completions): Use defvar-local.
6352 (completion--do-completion, completion--cache-all-sorted-completions)
6353 (completion-all-sorted-completions, minibuffer-force-complete):
6354 Add args `beg' and `end'.
6355 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6356 (minibuffer-complete): Use completion-in-region.
6357 (completion-complete-and-exit): New fun, extracted from
6358 minibuffer-complete-and-exit.
6359 (minibuffer-complete-and-exit): Use it.
6360 (completion--complete-and-exit): Rename from
6361 minibuffer--complete-and-exit.
6362 (completion-in-region--single-word): New function, extracted from
6363 minibuffer-complete-word.
6364 (minibuffer-complete-word): Use it.
6365 (display-completion-list): Make `common-substring' argument obsolete.
6366 (completion--in-region): Call completion--in-region-1 instead of
6367 minibuffer-complete.
6368 (completion-help-at-point): Pass boundaries to
6369 minibuffer-completion-help as args rather than via an overlay.
6370 (completion-pcm--string->pattern): Use `any-delim'.
6371 (completion-pcm--optimize-pattern): New function.
6372 (completion-pcm--pattern->regex): Handle `any-delim'.
6373 * icomplete.el (icomplete-forward-completions)
6374 (icomplete-backward-completions, icomplete-completions):
6375 Adjust calls to completion-all-sorted-completions and
6376 completion--cache-all-sorted-completions.
6377 (icomplete-with-completion-tables): Default to t.
6378 * emacs-lisp/crm.el (crm--current-element): Rename from
6379 crm--select-current-element. Don't put an overlay but return the
6380 boundaries instead.
6381 (crm--completion-command): Take two new args to bind to the boundaries.
6382 (crm-completion-help): Adjust accordingly.
6383 (crm-complete): Use completion-in-region.
6384 (crm-complete-word): Use completion-in-region--single-word.
6385 (crm-complete-and-exit): Use completion-complete-and-exit.
6386
6387 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6390 than dynamically.
6391
6392 2013-09-06 Juri Linkov <juri@jurta.org>
6393
6394 * info.el (Info-display-images-node): When image file doesn't exist
6395 display text version of the image if it's provided in the Info file.
6396 Otherwise, display the location of missing image from SRC attribute.
6397 Add help-echo text property from ALT attribute. (Bug#15279)
6398
6399 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6402 (edit-abbrevs-mode): Use define-derived-mode.
6403
6404 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6405 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6406 that it's defined.
6407 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6408 Use define-derived-mode.
6409
6410 * epg.el (epg-start-encrypt): Minor CSE simplification.
6411
6412 2013-09-06 William Xu <william.xwl@gmail.com>
6413
6414 * arc-mode.el: Add support for 7za (bug#15264).
6415 (archive-7z-program): New var.
6416 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6417 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6418 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6419
6420 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6421
6422 Remove URL syntax.
6423
6424 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6425 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6426 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6427 (tramp-postfix-host-format, tramp-file-name-regexp)
6428 (tramp-completion-file-name-regexp)
6429 (tramp-completion-dissect-file-name)
6430 (tramp-handle-substitute-in-file-name): Remove 'url case.
6431 (tramp-file-name-regexp-url)
6432 (tramp-completion-file-name-regexp-url): Remove constants.
6433
6434 2013-09-06 Glenn Morris <rgm@gnu.org>
6435
6436 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6437
6438 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6439
6440 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6441 keywords" below "here-doc beginnings" (Bug#15270).
6442
6443 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * subr.el (pop): Use `car-safe'.
6446 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6447 to detect unused `pop' return value.
6448
6449 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6450 var `block-regexp'.
6451 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6452 (python-fill-string): Remove unused var `marker'.
6453 (python-skeleton-add-menu-items): Remove unused var `items'.
6454
6455 * international/mule-cmds.el: Require CL.
6456 (find-coding-systems-for-charsets): Avoid add-to-list.
6457 (sanitize-coding-system-list): New function, extracted from
6458 select-safe-coding-system-interactively.
6459 (select-safe-coding-system-interactively): Use it.
6460 (read-input-method-name): Accept symbols for `default'.
6461
6462 * emacs-lisp/advice.el (defadvice): Add indent rule.
6463
6464 2013-09-05 Daniel Hackney <dan@haxney.org>
6465
6466 * dired-x.el:
6467 * net/ange-ftp.el:
6468 * net/browse-url.el:
6469 * net/dbus.el:
6470 * net/eudc.el:
6471 * net/eudcb-ldap.el:
6472 * net/eww.el:
6473 * net/imap.el:
6474 * printing.el:
6475 * vc/ediff-diff.el:
6476 * vc/ediff-init.el:
6477 * vc/ediff-merg.el:
6478 * vc/ediff-mult.el:
6479 * vc/ediff-util.el:
6480 * vc/ediff-wind.el:
6481 * vc/ediff.el:
6482 * vc/emerge.el:
6483 * vc/pcvs.el:
6484 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6485 byte compiler. Remove some unused let-bound variables.
6486
6487 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6490 a "ref-cell", since it gets better optimized (bug#14883).
6491
6492 2013-09-05 Glenn Morris <rgm@gnu.org>
6493
6494 * progmodes/cc-awk.el (c-forward-sws): Declare.
6495
6496 2013-09-04 Glenn Morris <rgm@gnu.org>
6497
6498 * generic-x.el [rul-generic-mode]: Require cc-mode.
6499 (c++-mode-syntax-table): Declare.
6500 (rul-generic-mode-syntax-table): Init in the defvar.
6501
6502 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6505 (vc-do-command, vc-set-async-update):
6506 * vc/vc-mtn.el (vc-mtn-dir-status):
6507 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6508 (vc-hg-pull, vc-hg-merge-branch):
6509 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6510 (vc-git-merge-branch):
6511 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6512 (vc-cvs-dir-status-files):
6513 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6514 (vc-bzr-dir-status-files):
6515 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6516 * vc/vc-annotate.el: Use lexical-binding.
6517 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6518 (vc-sentinel-movepoint): Declare.
6519 (vc-annotate): Don't use `goto-line'.
6520 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6521 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6522 (vc-sentinel-movepoint): Declare.
6523 * vc/vc-svn.el: Use lexical-binding.
6524 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6525 * vc/vc-sccs.el:
6526 * vc/vc-rcs.el: Use lexical-binding.
6527
6528 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6529 `deleted'. Don't drop errors silently.
6530
6531 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6532
6533 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6534
6535 * vc/vc.el (vc-ignore): Rewrite.
6536 (vc-default-ignore): New function.
6537 (vc-default-ignore-completion-table): Use find-ignore-file.
6538
6539 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6540 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6541 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6542 Remove. Most code moved to vc.el.
6543
6544 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6547 * net/tramp-smb.el (tramp-smb-get-file-entries):
6548 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6549 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6550
6551 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6552 Update call to it.
6553 (eww-change-select): Remove unused var `properties'.
6554 (eww-make-unique-file-name): Remove unused var `base'.
6555
6556 * finder.el (finder-compile-keywords): Don't mess with windows.
6557
6558 * calculator.el (calculator-funcall): Fix typo in last change.
6559
6560 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6561
6562 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6563 <pkg>-autoloads.el file stop us.
6564
6565 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6566 warnings, and factor out common code.
6567
6568 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6569
6570 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6571 two-character operators and whether the character preceding them
6572 changes their meaning (Bug#15208).
6573
6574 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6575
6576 Format code sent to Python shell for robustness.
6577 * progmodes/python.el (python-shell-buffer-substring):
6578 New function.
6579 (python-shell-send-region, python-shell-send-buffer): Use it.
6580
6581 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6582
6583 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6584 * net/tramp.el (tramp-user-error): ... here.
6585 (tramp-find-method, tramp-check-proper-host)
6586 (tramp-dissect-file-name, tramp-debug-message)
6587 (tramp-handle-shell-command):
6588 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6589 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6590
6591 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6592
6593 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6594
6595 * avoid.el (mouse-avoidance-point-position)
6596 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6597 returns nil.
6598
6599 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6600
6601 * progmodes/python.el (python-shell-completion-get-completions):
6602 Drop use of deleted `comint-last-prompt-overlay'.
6603 (python-nav-if-name-main): New command.
6604
6605 2013-09-01 Glenn Morris <rgm@gnu.org>
6606
6607 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6608 Avoid leading space in $wins. Otherwise the sed command used by
6609 eg compile-main ends up containing "/*.el". (Bug#15170)
6610
6611 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6612
6613 2013-08-30 Glenn Morris <rgm@gnu.org>
6614
6615 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6616 Fix is-this-a-directory logic. (Bug#15220)
6617
6618 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * textmodes/css-mode.el: Use SMIE.
6621 (css-smie-grammar): New var.
6622 (css-smie--forward-token, css-smie--backward-token)
6623 (css-smie-rules): New functions.
6624 (css-mode): Use them.
6625 (css-navigation-syntax-table): Remove var.
6626 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6627 (css-indent-calculate, css-indent-line): Remove functions.
6628
6629 Misc changes to reduce use of `(lambda...); and other cleanups.
6630 * cus-edit.el: Use lexical-binding.
6631 (customize-push-and-save, customize-apropos)
6632 (custom-buffer-create-internal): Use closures.
6633 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6634 * progmodes/ada-xref.el: Use setq.
6635 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6636 * dframe.el: Use lexical-binding.
6637 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6638 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6639 * descr-text.el: Use lexical-binding.
6640 (describe-text-widget, describe-text-sexp, describe-property-list):
6641 Use closures.
6642 * comint.el (comint-history-isearch-push-state): Use a closure.
6643 * calculator.el: Use lexical-binding.
6644 (calculator-number-to-string): Make it work with lexical-binding.
6645 (calculator-funcall): Same and use cl-letf.
6646
6647 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6648 (lisp--company-doc-string, lisp--company-location): New functions.
6649 (lisp-completion-at-point): Use them to improve Company support.
6650
6651 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6652 params of lambda expressions.
6653 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6654 (ruby-smie--opening-pipe-p): New function.
6655 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6656 symbols and matched |...| for formal params.
6657 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6658 from being treated as hanging. Handle "rescue".
6659
6660 2013-08-29 Glenn Morris <rgm@gnu.org>
6661
6662 * progmodes/cc-engine.el (c-pull-open-brace):
6663 Move definition before use.
6664
6665 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6668 are immutable. Don't use `unsafe' any more.
6669 (cl--defsubst-expand): Don't substitute at the same time as keeping
6670 a residual unused let-binding. Don't use `unsafe' any more.
6671
6672 2013-08-29 Glenn Morris <rgm@gnu.org>
6673
6674 * calendar/cal-china.el (calendar-chinese-year-cache):
6675 Recenter on 2015.
6676
6677 * nxml/nxml-util.el (nxml-debug-clear-inside):
6678 Use cl-loop rather than loop.
6679
6680 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6681
6682 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6683
6684 2013-08-28 Glenn Morris <rgm@gnu.org>
6685
6686 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6687
6688 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6689
6690 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6691
6692 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * simple.el (repeat-complex-command--called-interactively-skip):
6695 New function.
6696 (repeat-complex-command): Use it (bug#14136).
6697
6698 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6699 (c-define-abbrev-table): Add `doc' argument.
6700 (c-mode-abbrev-table, c++-mode-abbrev-table)
6701 (objc-mode-abbrev-table, java-mode-abbrev-table)
6702 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6703 (awk-mode-abbrev-table): Use it.
6704 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6705 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6706 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6707 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6708 Move initialization into the declaration; and remove any
6709 autoload cookie.
6710
6711 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6712 and dynamic let binding.
6713
6714 * vc/smerge-mode.el: Remove redundant :group args.
6715
6716 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6717 to load-path.
6718
6719 2013-08-28 Juri Linkov <juri@jurta.org>
6720
6721 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6722 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6723 (isearch-other-meta-char): Handle an undefined shifted printing
6724 character by downshifting it. (Bug#15200)
6725
6726 2013-08-28 Juri Linkov <juri@jurta.org>
6727
6728 * isearch.el (isearch-search): Change regexp error message for
6729 non-regexp searches. (Bug#15166)
6730
6731 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6732
6733 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6734 for portability to hosts where /bin/sh has problems.
6735
6736 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6739
6740 2013-08-27 Juri Linkov <juri@jurta.org>
6741
6742 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6743 in the keyboard macro. (Bug#15126)
6744
6745 2013-08-27 Juri Linkov <juri@jurta.org>
6746
6747 * isearch.el (isearch-quote-char): Comment out converting unibyte
6748 to multibyte, thus syncing with its `quoted-insert' counterpart.
6749 (Bug#15166)
6750
6751 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6752
6753 * window.el (display-buffer-use-some-window): Add missing
6754 argument in call of get-largest-window (Bug#15185).
6755 Reported by Stephen Leake.
6756
6757 2013-08-27 Glenn Morris <rgm@gnu.org>
6758
6759 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6760
6761 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6764 from a matcher-function unless there's no more matches (bug#15161).
6765
6766 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6767
6768 * minibuffer.el: Revert change from 2013-08-20.
6769
6770 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6771 with text property `tramp-default', if appropriate.
6772 (tramp-check-proper-host): New defun.
6773 (tramp-dissect-file-name): Do not check hostname. Revert change
6774 of 2013-03-18.
6775 (tramp-backtrace): Make VEC-OR-PROC optional.
6776
6777 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6778 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6779 * net/tramp-sh.el (tramp-maybe-open-connection):
6780 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6781 Apply `tramp-check-proper-host'.
6782
6783 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6784
6785 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6786 lambda expression in order to have `describe-variable' display it.
6787
6788 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6789
6790 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6791 BUF can be optional. (Bug#15186)
6792
6793 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6794
6795 * progmodes/flymake.el (flymake-get-real-file-name-function):
6796 Fix broken customization. (Bug#15184)
6797
6798 2013-08-25 Alan Mackenzie <acm@muc.de>
6799
6800 Improve indentation of bracelists defined by macros (without "=").
6801
6802 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6803 expansion begins with "{", regard it as bracelist when it doesn't
6804 contain a ";".
6805
6806 Parse C++ inher-intro when there's a template split over 2 lines.
6807
6808 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6809 rigorously the search for "class" etc. followed by ":".
6810
6811 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6812 random languages a regexp which never matches rather than nil.
6813
6814 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6815
6816 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6817 (c-awk-regexp-one-line-possibly-open-char-list-re)
6818 (c-awk-one-line-possibly-open-regexp-re)
6819 (c-awk-one-line-non-syn-ws*-re): Remove.
6820 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6821 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6822 (c-awk-space*-unclosed-regexp-/-re): New constants.
6823 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6824 aren't regexp delimiters.
6825
6826 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6827 handling for a rare situation in AWK Mode involving unterminated
6828 strings/regexps.
6829
6830 2013-08-23 Glenn Morris <rgm@gnu.org>
6831
6832 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6833
6834 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6835
6836 * files.el (create-file-buffer): If the result would begin with
6837 spaces, prepend a "|" instead of removing them. (Bug#15162)
6838
6839 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6842 text-properties (bug#15155).
6843
6844 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6845 exist any more.
6846 (calc-keypad-redraw): Remove unused var `pad'.
6847 (calc-keypad-press): Remove unused var `menu'.
6848
6849 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6850
6851 * window.el (display-buffer-pop-up-frame):
6852 Call pop-up-frame-function with BUFFER current so `make-frame' will
6853 use it as the new frame's buffer (Bug#15133).
6854
6855 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * calendar/timeclock.el: Minor cleanups.
6858 (timeclock-ask-before-exiting, timeclock-use-display-time):
6859 Use `symbol'.
6860 (timeclock-modeline-display): Define as alias before the
6861 actual definition.
6862 (timeclock-mode-line-display): Use define-minor-mode.
6863 (timeclock-day-list-template): Make it a function, add an argument.
6864 (timeclock-day-list-required, timeclock-day-list-length)
6865 (timeclock-day-list-debt, timeclock-day-list-span)
6866 (timeclock-day-list-break): Adjust calls accordingly.
6867
6868 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6871 Use read--expression so that completion works again.
6872
6873 2013-08-21 Sam Steingold <sds@gnu.org>
6874
6875 Add rudimentary inferior shell interaction
6876 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6877 (sh-set-shell): Reset it.
6878 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6879 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6880
6881 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * align.el: Use lexical-binding.
6884 (align-region): Simplify accordingly.
6885
6886 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6887
6888 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6889
6890 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6891 `non-essential' up.
6892
6893 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6894
6895 * net/tramp.el:
6896 * net/tramp-adb.el:
6897 * net/tramp-cmds.el:
6898 * net/tramp-ftp.el:
6899 * net/tramp-gvfs.el:
6900 * net/tramp-gw.el:
6901 * net/tramp-sh.el: Don't wrap external variable declarations by
6902 `eval-when-compile'.
6903
6904 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6905
6906 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6907 now that Emacs supports ImageMagick animations.
6908
6909 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6910
6911 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6912 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6913
6914 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6915
6916 * window.el (mouse-autoselect-window-select): Do autoselect when
6917 mouse pointer is on margin.
6918
6919 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6920
6921 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6922
6923 2013-08-16 Glenn Morris <rgm@gnu.org>
6924
6925 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6926 Handle "Remote Directory" response of some clients. (Bug#15058)
6927
6928 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6929 Tweak warning. (Bug#14926)
6930
6931 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6932 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6933
6934 * image-mode.el (image-mode-map): Add menu items to reverse,
6935 increase, decrease, reset animation speed.
6936 (image--set-speed, image-increase-speed, image-decrease-speed)
6937 (image-reverse-speed, image-reset-speed): New functions.
6938 (image-mode-map): Add bindings for speed commands.
6939
6940 * image.el (image-animate-get-speed, image-animate-set-speed):
6941 New functions.
6942 (image-animate-timeout): Respect image :speed property.
6943
6944 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6947 previous line (bug#15101).
6948 (debugger-eval-expression, debugger-record-expression):
6949 Use read--expression (bug#15102).
6950
6951 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6952
6953 Remove byte compiler warnings, visible when compiling with
6954 `byte-compile-force-lexical-warnings' set to t.
6955
6956 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6957 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6958 (tramp-handle-unhandled-file-name-directory)
6959 (tramp-handle-file-notify-add-watch, tramp-action-login)
6960 (tramp-action-succeed, tramp-action-permission-denied)
6961 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6962 arguments with "_".
6963
6964 * net/tramp-adb.el (tramp-adb-parse-device-names)
6965 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6966 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6967 (tramp-adb-handle-file-truename): Remove unused arguments.
6968
6969 * net/tramp-cache.el (tramp-flush-directory-property)
6970 (tramp-flush-connection-property, tramp-list-connections)
6971 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6972
6973 * net/tramp-compat.el (tramp-compat-make-temp-file):
6974 Rename FILENAME to F.
6975
6976 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6977 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6978 (tramp-zeroconf-parse-workstation-device-names)
6979 (tramp-zeroconf-parse-webdav-device-names)
6980 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6981
6982 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6983 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6984
6985 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6986 arguments.
6987 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6988 (tramp-sh-handle-insert-file-contents-literally)
6989 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6990 with "_".
6991 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6992 Remove unused variables.
6993
6994 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6995 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6996 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6997
6998 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6999 Make them a defconst.
7000 (tramp-uuencode-region): Remove unused variable.
7001
7002 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * frameset.el (frameset--prop-setter): New function.
7005 (frameset-prop): Add gv-setter declaration.
7006 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7007 parameter was already set in FILTERED. Doc fix.
7008 (frameset--record-minibuffer-relationships): Allow saving a
7009 minibufferless frame without its corresponding minibuffer frame.
7010 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7011 frame, if the frame id matches.
7012 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7013 frames before orphaned ones.
7014 (frameset-restore): Warn about orphaned windows, instead of error out.
7015
7016 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7017
7018 * window.el (window-make-atom): Don't overwrite parameter
7019 already present.
7020 (display-buffer-in-atom-window): Handle special case where we
7021 split an already atomic window.
7022 (window--major-non-side-window, display-buffer-in-side-window)
7023 (window--side-check): Ignore minibuffer window when walking
7024 window tree.
7025 (window-deletable-p): Return 'frame only if no other frame uses
7026 our minibuffer window.
7027 (record-window-buffer): Run buffer-list-update-hook.
7028 (split-window): Make sure window--check-frame won't destroy an
7029 existing atomic window in case the new window gets nested
7030 inside.
7031 (display-buffer-at-bottom): Ignore minibuffer window when
7032 walking window tree. Don't split a side window.
7033 (pop-to-buffer): Don't set-buffer here, the select-window call
7034 should do that.
7035 (mouse-autoselect-window-select): Autoselect only if we are in the
7036 text portion of the window.
7037
7038 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7039
7040 * net/shr.el (shr-parse-image-data): New function to grab both the
7041 data itself and the Content-Type.
7042 (shr-put-image): Use it.
7043
7044 * net/eww.el (eww-display-image): Ditto.
7045
7046 * image.el (image-content-type-suffixes): New variable.
7047
7048 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7049
7050 * progmodes/python.el (python-imenu--build-tree)
7051 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7052
7053 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7054
7055 * simple.el (backward-word): Mention the optional argument.
7056
7057 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * frameset.el (frameset--make): Rename constructor from make-frameset.
7060 (frameset-p, frameset-valid-p): Don't autoload.
7061 (frameset-valid-p): Use normal accessors.
7062
7063 2013-08-13 Glenn Morris <rgm@gnu.org>
7064
7065 * progmodes/compile.el (compile-command): Tweak example in doc.
7066 * obsolete/scribe.el (scribe-mode):
7067 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7068
7069 * mail/feedmail.el (feedmail-confirm-outgoing)
7070 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7071
7072 * cus-start.el (truncate-partial-width-windows): Fix type.
7073
7074 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7075
7076 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7077
7078 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * emacs-lisp/timer.el (timer--time-setter): New function.
7081 (timer--time): Use it as gv-setter.
7082
7083 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7084 setter is not a symbol.
7085
7086 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7087
7088 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7089 if sending fails. This makes debugging easier.
7090
7091 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7092
7093 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7094 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7095 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7096
7097 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7098
7099 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7100
7101 2013-08-12 Glenn Morris <rgm@gnu.org>
7102
7103 * format.el (format-annotate-function):
7104 Handle read-only text properties in the source. (Bug#14887)
7105
7106 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107
7108 * net/eww.el (eww-display-html): Ignore coding system errors.
7109 One web site uses "utf-8lias" as the coding system.
7110
7111 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7112
7113 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7114
7115 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7116
7117 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7118 (tutorial--detailed-help): Remove unused local variables.
7119 (tutorial--save-tutorial-to): Use ignore-errors.
7120 (help-with-tutorial): Use looking-at-p.
7121
7122 * view.el (view-buffer-other-window, view-buffer-other-frame):
7123 Mark unused arguments.
7124
7125 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7126 (woman-select-symbol-fonts, woman, woman-find-file)
7127 (woman-insert-file-contents, woman-non-underline-faces):
7128 Use string-match-p.
7129 (woman1-unquote): Move declaration.
7130
7131 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7132 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7133 argument. Remove unused local variable.
7134 (xml-parse-elem-type): Use string-match-p.
7135 (xml-substitute-numeric-entities): Use ignore-errors.
7136
7137 * calculator.el (calculator): Mark unused argument.
7138 (calculator-paste, calculator-quit, calculator-integer-p):
7139 Use ignore-errors.
7140 (calculator-string-to-number, calculator-decimal, calculator-exp)
7141 (calculator-op-or-exp): Use string-match-p.
7142
7143 * dired.el (dired-buffer-more-recently-used-p): Declare.
7144 (dired-insert-set-properties, dired-insert-old-subdirs):
7145 Use ignore-errors.
7146
7147 * dired-aux.el (dired-compress): Use ignore-errors.
7148 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7149 (dired-do-async-shell-command, dired-do-shell-command)
7150 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7151 (dired-insert-subdir-validate): Use string-match-p.
7152 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7153 (dired-add-entry): Use string-match-p, looking-at-p.
7154 (dired-insert-subdir-newpos): Remove unused local variable.
7155
7156 * filenotify.el (file-notify-callback): Remove unused local variable.
7157
7158 * filesets.el (filesets-error): Mark unused argument.
7159 (filesets-which-command-p, filesets-filter-dir-names)
7160 (filesets-directory-files, filesets-get-external-viewer)
7161 (filesets-ingroup-get-data): Use string-match-p.
7162
7163 * find-file.el (ff-other-file-name, ff-other-file-name)
7164 (ff-find-the-other-file, ff-cc-hh-converter):
7165 Remove unused local variables.
7166 (ff-get-file-name): Use string-match-p.
7167 (ff-all-dirs-under): Use ignore-errors.
7168
7169 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7170 (follow-select-if-visible): Remove unused local variable.
7171
7172 * forms.el (read-file-filter): Move declaration.
7173 (forms--make-format, forms--make-parser, forms-insert-record):
7174 Quote function with #'.
7175 (forms--update): Use string-match-p. Quote function with #'.
7176
7177 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7178 (help-make-xrefs): Use looking-at-p.
7179 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7180
7181 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7182 (ibuffer-confirm-operation-on): Use string-match-p.
7183
7184 * msb.el (msb-item-handler, msb-dired-item-handler):
7185 Mark unused arguments.
7186
7187 * ses.el (ses-decode-cell-symbol)
7188 (ses-kill-override): Remove unused local variable.
7189 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7190 (ses-load): Use ignore-errors, looking-at-p.
7191 (ses-jump-safe): Use ignore-errors.
7192 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7193
7194 * tabify.el (untabify, tabify): Mark unused arguments.
7195
7196 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7197 Mark unused argument.
7198 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7199 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7200
7201 * emacs-lisp/timer.el (timer--time): Define setter with
7202 gv-define-setter to avoid deprecation warning.
7203
7204 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7205 (*record-cmpl-statistics-p*): Remove (was commented out).
7206 (cmpl-statistics-block): Remove (body was commented out).
7207 All callers changed.
7208 (add-completions-from-buffer, load-completions-from-file):
7209 Remove unused variables.
7210
7211 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7212
7213 * filecache.el (file-cache-delete-file-list):
7214 Print message only when told so.
7215 (file-cache-files-matching): Use #' in mapconcat argument.
7216
7217 * ffap.el (ffap-url-at-point): Fix reference to variable
7218 thing-at-point-default-mail-uri-scheme.
7219
7220 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * subr.el (define-error): New function.
7223 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7224 error-file-not-found and define with define-error.
7225 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7226 and define with define-error.
7227 * userlock.el (file-locked, file-supersession):
7228 * simple.el (mark-inactive):
7229 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7230 * progmodes/ada-mode.el (ada-mode-errors):
7231 * play/life.el (life-extinct):
7232 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7233 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7234 * nxml/rng-util.el (rng-error):
7235 * nxml/rng-uri.el (rng-uri-error):
7236 * nxml/rng-match.el (rng-compile-error):
7237 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7238 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7239 * nxml/nxml-rap.el (nxml-scan-error):
7240 * nxml/nxml-outln.el (nxml-outline-error):
7241 * net/soap-client.el (soap-error):
7242 * net/gnutls.el (gnutls-error):
7243 * net/ange-ftp.el (ftp-error):
7244 * mpc.el (mpc-proc-error):
7245 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7246 (json-number-format, json-string-escape, json-string-format)
7247 (json-key-format, json-object-format):
7248 * jka-compr.el (compression-error):
7249 * international/quail.el (quail-error):
7250 * international/kkc.el (kkc-error):
7251 * emacs-lisp/ert.el (ert-test-failed):
7252 * calc/calc.el (calc-error, inexact-result, math-overflow)
7253 (math-underflow):
7254 * bookmark.el (bookmark-error-no-filename):
7255 * epg.el (epg-error): Define with define-error.
7256
7257 * time.el (display-time-event-handler)
7258 (display-time-next-load-average): Don't call sit-for since it seems
7259 unnecessary (bug#15045).
7260
7261 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7262 Use #' instead of ' to quote functions.
7263 (checkdoc-output-mode): Use setq-local.
7264 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7265 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7266 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7267 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7268 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7269 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7270 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7271 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7272
7273 * ido.el (ido-completion-help): Fix up compiler warning.
7274
7275 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * frameset.el (frameset-p): Add autoload cookie.
7278 (frameset--jump-to-register): New function, based on code moved from
7279 register.el.
7280 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7281
7282 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7283 (frameset-restore, frameset-save, frameset-session-filter-alist):
7284 Remove declarations.
7285 (register-alist): Doc fix.
7286 (frameset-to-register): Move to frameset.el.
7287 (jump-to-register, describe-register-1): Remove frameset-specific code.
7288
7289 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * allout-widgets.el (allout-widgets-pre-command-business)
7292 (allout-widgets-post-command-business)
7293 (allout-widgets-after-change-handler)
7294 (allout-decorate-item-and-context, allout-set-boundary-marker)
7295 (allout-body-modification-handler)
7296 (allout-graphics-modification-handler): Mark ignored arguments.
7297 (allout-widgets-post-command-business)
7298 (allout-widgets-exposure-change-processor)
7299 (allout-widgets-exposure-undo-processor)
7300 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7301 (allout-parse-item-at-point, allout-decorate-item-guides)
7302 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7303 * allout.el (epa-passphrase-callback-function): Declare.
7304 (allout-overlay-insert-in-front-handler)
7305 (allout-overlay-interior-modification-handler)
7306 (allout-isearch-end-handler, allout-chart-siblings)
7307 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7308 (allout-yank-processing, allout-process-exposed)
7309 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7310 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7311 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7312 (lisp-indent-defform): Mark ignored arguments.
7313 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7314 (calculate-lisp-indent): Remove unused variables.
7315 * international/characters.el (indian-2-column, arabic-2-column)
7316 (tibetan): Mark ignored arguments.
7317 (use-cjk-char-width-table): Mark ignored arguments.
7318 Remove unused variables.
7319 * international/fontset.el (build-default-fontset-data)
7320 (x-compose-font-name, create-fontset-from-fontset-spec):
7321 Mark ignored arguments.
7322 (fontset-plain-name): Remove unused variables.
7323 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7324 (keyboard-coding-system): Mark ignored arguments.
7325 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7326 * help.el (resize-temp-buffer-window):
7327 * window.el (display-buffer-in-major-side-window)
7328 (display-buffer-in-side-window, display-buffer-in-previous-window):
7329 Remove unused variables.
7330 * isearch.el (isearch-forward-symbol):
7331 * version.el (emacs-bzr-version-bzr):
7332 * international/mule-cmds.el (current-language-environment):
7333 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7334 (x-handle-display):
7335 * term/pc-win.el (x-list-fonts, x-display-planes)
7336 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7337 (x-server-version, x-display-screens, x-display-mm-height)
7338 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7339 (x-selection-owner-p, x-own-selection-internal)
7340 (x-disown-selection-internal, x-get-selection-internal)
7341 (msdos-initialize-window-system):
7342 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7343 * term/x-win.el (x-handle-no-bitmap-icon):
7344 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7345 (vc-default-find-file-hook, vc-default-extra-menu):
7346 Mark ignored arguments.
7347
7348 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7351 break-condition in the context of the debugged code (bug#12685).
7352
7353 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7354
7355 * comint.el:
7356 Do not use an overlay to highlight the last prompt. (Bug#14744)
7357 (comint-mode): Make comint-last-prompt buffer local.
7358 (comint-last-prompt): New variable.
7359 (comint-last-prompt-overlay): Remove. Superseded by
7360 comint-last-prompt.
7361 (comint-snapshot-last-prompt, comint-output-filter):
7362 Use comint-last-prompt.
7363
7364 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7365
7366 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7367 (frameset-save): Check validity of the resulting frameset.
7368
7369 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7370
7371 * ido.el (ido-record-command): Add doc string.
7372
7373 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7374
7375 * frameset.el (frameset): Do not disable creation of the default
7376 frameset-p predicate. Doc fix.
7377 (frameset-valid-p): New function, copied from the old predicate-p.
7378 Add additional checks.
7379 (frameset-restore): Check with frameset-valid-p.
7380 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7381 (frameset-name, frameset-description, frameset-properties)
7382 (frameset-states): Add docstring.
7383 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7384 (frameset-filter-alist): Doc fixes.
7385
7386 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7387
7388 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7389
7390 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7393 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7394 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7395 (byte-compile-normal-call): Remove obsolescence check.
7396
7397 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * frameset.el (frameset-restore): Doc fix.
7400
7401 * register.el (frameset-frame-id, frameset-frame-with-id)
7402 (frameset-p, frameset-restore, frameset-save): Declare.
7403 (register-alist): Document framesets.
7404 (frameset-session-filter-alist): Declare.
7405 (frameset-to-register): New function.
7406 (jump-to-register): Implement jumping to framesets. Doc fix.
7407 (describe-register-1): Describe framesets.
7408
7409 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7410
7411 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7412
7413 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7414 Use lexical-binding.
7415
7416 * frameset.el (frameset): Use type vector, not list (incompatible
7417 change). Do not declare a new constructor, use the default one.
7418 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7419 `name' and `description', respectively, and add read-only slot
7420 `timestamp'. Doc fixes.
7421 (frameset-copy, frameset-persistent-filter-alist)
7422 (frameset-filter-alist, frameset-switch-to-gui-p)
7423 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7424 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7425 (frameset-filter-iconified, frameset-keep-original-display-p):
7426 Doc fixes.
7427 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7428 Rename from frameset-filter-(save|restore)-param. All callers changed.
7429 Doc fix.
7430 (frameset-p): Adapt to change to vector and be more thorough.
7431 Change arg name to OBJECT. Doc fix.
7432 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7433 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7434 All callers changed.
7435 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7436 All callers changed.
7437 (frameset--record-minibuffer-relationships): Rename from
7438 frameset--process-minibuffer-frames. All callers changed.
7439 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7440 Use new default constructor (again). Doc fix.
7441 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7442 All callers changed.
7443 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7444 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7445 Doc fix.
7446 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7447 PARAMETERS and WINDOW-STATE, respectively.
7448 (frameset-restore): Add new keyword argument PREDICATE.
7449 Reset frameset--target-display to nil. Doc fix.
7450
7451 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7454 (bat-mode): Use it.
7455 (bat-mode-syntax-table): Mark \n as end-of-comment.
7456 (bat-font-lock-keywords): Remove comment rule.
7457
7458 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7459 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7460
7461 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7462 (byte-compile-callargs-warn): Use `push'.
7463 (byte-compile-arglist-warn): Ignore higher-order "calls".
7464 (byte-compile-file-form-autoload): Use `pcase'.
7465 (byte-compile-function-form): If quoting a symbol, check that it exists.
7466
7467 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7468
7469 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7470 and add a few popular commands found in batch files.
7471 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7472 (dos-mode): Doc fixes.
7473
7474 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7477 (dos-mode): Use setq-local. Add space after "rem".
7478 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7479 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7480
7481 2013-08-07 Arni Magnusson <arnima@hafro.is>
7482
7483 * progmodes/dos.el: New file.
7484 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7485 dos-mode.
7486
7487 2013-08-06 Glenn Morris <rgm@gnu.org>
7488
7489 * calendar/calendar.el: Add new faces, and day-header-array.
7490 (calendar-weekday-header, calendar-weekend-header)
7491 (calendar-month-header): New faces.
7492 (calendar-day-header-construct): New function.
7493 (calendar-day-header-width): Also :set calendar-day-header-array.
7494 (calendar-american-month-header, calendar-european-month-header)
7495 (calendar-iso-month-header): Use calendar- faces.
7496 (calendar-generate-month):
7497 Use calendar-day-header-array for day headers; apply faces to them.
7498 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7499 (calendar-abbrev-construct): Add optional maxlen argument.
7500 (calendar-day-name-array): Doc fix.
7501 (calendar-day-name-array, calendar-abbrev-length)
7502 (calendar-day-abbrev-array):
7503 Also :set calendar-day-header-array, and maybe redraw.
7504 (calendar-day-header-array): New option. (Bug#15007)
7505 (calendar-font-lock-keywords): Set to nil and make obsolete.
7506 (calendar-day-name): Add option to use header array.
7507
7508 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7509
7510 * net/shr.el (shr-render-td): Remove debugging.
7511 (shr-render-td): Make width computation consistent by defaulting
7512 all zero-width columns to 10 characters. This may not be optimal,
7513 but it's at least consistent.
7514 (shr-make-table-1): Redo last change to fix the real problem in
7515 colspan handling.
7516
7517 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7518
7519 * files.el (cache-long-line-scans):
7520 Make obsolete alias to `cache-long-scans'.
7521
7522 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7523
7524 * frameset.el (frameset, frameset-filter-alist)
7525 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7526 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7527 (frameset-compute-pos): Rename from frameset--compute-pos,
7528 and add docstring.
7529 (frameset-move-onscreen): Use frameset-compute-pos.
7530 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7531
7532 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7533 Fix typos in docstrings.
7534
7535 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7536
7537 * frame.el (get-other-frame): Tiny cleanup.
7538
7539 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7540
7541 * vc/vc.el (vc-default-ignore-completion-table):
7542 Silence byte-compiler warning.
7543
7544 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7545 slot, which can indeed be nil.
7546 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7547 Move entry for `left' from persistent to live filter alist.
7548 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7549 Doc fixes.
7550 (frameset-filter-params): When restoring a frame, copy items added to
7551 `filtered', to avoid unwittingly modifying the original parameters.
7552 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7553 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7554
7555 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7556 to use looking-at-p instead of looking-at. (Bug#15028)
7557
7558 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 Revert introduction of isearch-filter-predicates (bug#14714).
7561 Rely on add-function instead.
7562 * isearch.el (isearch-filter-predicates): Rename it back to
7563 isearch-filter-predicate.
7564 (isearch-message-prefix): Use advice-function-mapc and advice
7565 properties to get the isearch-message-prefix.
7566 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7567 instead of run-hook-with-args-until-failure.
7568 (isearch-filter-visible): Not obsolete any more.
7569 * loadup.el: Preload nadvice.
7570 * replace.el (perform-replace): Revert to funcall
7571 instead of run-hook-with-args-until-failure.
7572 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7573 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7574 dired-isearch-filenames-toggle; make it into a proper minor mode.
7575 Use add/remove-function.
7576 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7577 Call the minor-mode rather than add/remove-hook.
7578 (dired-isearch-filter-filenames):
7579 Remove isearch-message-prefix property.
7580 * info.el (Info--search-loop): New function, extracted from Info-search.
7581 Funcall isearch-filter-predicate instead of
7582 run-hook-with-args-until-failure isearch-filter-predicates.
7583 (Info-search): Use it.
7584 (Info-mode): Use isearch-filter-predicate instead of
7585 isearch-filter-predicates.
7586
7587 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7588
7589 Do not call to `selected-window' where it is assumed by default.
7590 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7591 `window-hscroll', `window-width', `window-height', `window-buffer',
7592 `window-frame', `window-start', `window-point', `next-window'
7593 and `window-display-table'.
7594 * abbrev.el (abbrev--default-expand):
7595 * bs.el (bs--show-with-configuration):
7596 * buff-menu.el (Buffer-menu-mouse-select):
7597 * calc/calc.el (calc):
7598 * calendar/calendar.el (calendar-generate-window):
7599 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7600 (diary-make-entry):
7601 * comint.el (send-invisible, comint-dynamic-complete-filename)
7602 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7603 * completion.el (complete):
7604 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7605 * disp-table.el (describe-current-display-table):
7606 * doc-view.el (doc-view-insert-image):
7607 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7608 * ehelp.el (with-electric-help):
7609 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7610 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7611 * emacs-lisp/helper.el (Helper-help-scroller):
7612 * emulation/cua-base.el (cua--post-command-handler-1):
7613 * eshell/esh-mode.el (eshell-output-filter):
7614 * ffap.el (ffap-gnus-wrapper):
7615 * help-macro.el (make-help-screen):
7616 * hilit-chg.el (highlight-compare-buffers):
7617 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7618 * hl-line.el (global-hl-line-highlight):
7619 * icomplete.el (icomplete-simple-completing-p):
7620 * isearch.el (isearch-done):
7621 * jit-lock.el (jit-lock-stealth-fontify):
7622 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7623 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7624 * mpc.el (mpc-tagbrowser, mpc):
7625 * net/rcirc.el (rcirc-any-buffer):
7626 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7627 * play/landmark.el (landmark-max-width, landmark-max-height):
7628 * play/zone.el (zone):
7629 * progmodes/compile.el (compilation-goto-locus):
7630 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7631 * progmodes/etags.el (find-tag-other-window):
7632 * progmodes/fortran.el (fortran-column-ruler):
7633 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7634 * progmodes/verilog-mode.el (verilog-point-text):
7635 * reposition.el (reposition-window):
7636 * rot13.el (toggle-rot13-mode):
7637 * server.el (server-switch-buffer):
7638 * shell.el (shell-dynamic-complete-command)
7639 (shell-dynamic-complete-environment-variable):
7640 * simple.el (insert-buffer, set-selective-display)
7641 (delete-completion-window):
7642 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7643 (speedbar-recenter):
7644 * startup.el (fancy-splash-head):
7645 * textmodes/ispell.el (ispell-command-loop):
7646 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7647 * tutorial.el (help-with-tutorial):
7648 * vc/add-log.el (add-change-log-entry):
7649 * vc/compare-w.el (compare-windows):
7650 * vc/ediff-help.el (ediff-indent-help-message):
7651 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7652 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7653 (ediff-setup-control-frame):
7654 * vc/emerge.el (emerge-position-region):
7655 * vc/pcvs-util.el (cvs-bury-buffer):
7656 * window.el (walk-windows, mouse-autoselect-window-select):
7657 * winner.el (winner-set-conf, winner-undo): Related users changed.
7658
7659 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7660
7661 * frameset.el (frameset--set-id): Doc fix.
7662 (frameset-frame-id, frameset-frame-id-equal-p)
7663 (frameset-locate-frame-id): New functions.
7664 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7665 (frameset-restore): Use them.
7666
7667 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7668
7669 Do not call to `selected-frame' where it is assumed by default.
7670 Affected functions are `raise-frame', `redraw-frame',
7671 `frame-first-window', `frame-terminal' and `delete-frame'.
7672 * calendar/appt.el (appt-disp-window):
7673 * epg.el (epg-wait-for-completion):
7674 * follow.el (follow-delete-other-windows-and-split)
7675 (follow-avoid-tail-recenter):
7676 * international/mule.el (set-terminal-coding-system):
7677 * mail/rmail.el (rmail-mail-return):
7678 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7679 * progmodes/f90.el (f90-add-imenu-menu):
7680 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7681 * server.el (server-switch-buffer):
7682 * simple.el (delete-completion-window):
7683 * talk.el (talk):
7684 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7685 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7686 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7687 * vc/ediff.el (ediff-documentation): Related users changed.
7688 * frame.el (selected-terminal): Remove the leftover.
7689
7690 2013-08-05 Glenn Morris <rgm@gnu.org>
7691
7692 * calendar/calendar.el (calendar-generate-month):
7693 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7694 (calendar-generate-month, calendar-font-lock-keywords):
7695 Fix for calendar-day-header-width > length of any day name.
7696
7697 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7698
7699 * desktop.el (desktop-clear): Use new name of sort predicate.
7700
7701 * frameset.el (frameset): Add docstring. Move :version property to its
7702 own `version' slot.
7703 (frameset-copy): Rename from copy-frameset.
7704 (frameset-p): Check more thoroughly.
7705 (frameset-prop): Do not check for :version, which is no longer a prop.
7706 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7707 Use new :never value instead of t.
7708 (frameset-filter-alist): Expand and clarify docstring.
7709 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7710 (frameset-filter-minibuffer, frameset-filter-save-param)
7711 (frameset-filter-restore-param, frameset-filter-iconified):
7712 Add pointer to docstring of frameset-filter-alist.
7713 (frameset-filter-params): Rename filter values to be more meaningful:
7714 :never instead of t, and reverse the meanings of :save and :restore.
7715 (frameset--process-minibuffer-frames): Clarify error message.
7716 (frameset-save): Avoid unnecessary and confusing call to framep.
7717 Use new BOA constructor for framesets.
7718 (frameset--reuse-list): Doc fix.
7719 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7720 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7721 (frameset-minibufferless-first-p): Doc fix.
7722 Rename from frameset-sort-frames-for-deletion.
7723 (frameset-restore): Doc fixes. Use new function names.
7724 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7725
7726 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7727
7728 * desktop.el (desktop-restore-forces-onscreen)
7729 (desktop-restore-reuses-frames): Document :keyword constant values.
7730 (desktop-filter-parameters-alist): Remove, now identical to
7731 frameset-filter-alist.
7732 (desktop--filter-tty*): Remove, moved to frameset.el.
7733 (desktop-save-frameset, desktop-restore-frameset):
7734 Do not pass :filters argument.
7735
7736 * frameset.el (frameset-live-filter-alist)
7737 (frameset-persistent-filter-alist): New variables.
7738 (frameset-filter-alist): Use them. Add autoload cookie.
7739 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7740 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7741 `frameset--id' (it's supposed to be internal to frameset.el).
7742 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7743 (frameset--initial-params): New function.
7744 (frameset--get-frame): Use it. Doc fix.
7745 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7746 Accept :all, not 'all.
7747 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7748 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7749 with fbound symbols. Fix frame id matching, and remove matching ids if
7750 the frame being restored is deleted. Obey :delete.
7751
7752 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * subr.el (macrop): New function.
7755 (text-clone--maintaining): New var.
7756 (text-clone--maintain): Rename from text-clone-maintain. Use it
7757 instead of inhibit-modification-hooks.
7758
7759 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7760 a proxy, so as handle autoloads and redefinitions of the target.
7761 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7762
7763 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7764 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7765 (pcase--mutually-exclusive-p): New function.
7766 (pcase--split-consp): Use it.
7767 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7768 mutually exclusive with the current predicate.
7769
7770 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7771 (edebug-macrop): Remove. Use `macrop' instead.
7772 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7773 (ad-macro-p):
7774 * eshell/esh-cmd.el (eshell-macrop):
7775 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7776
7777 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7780 (advice-mapc): New function, using it.
7781 (advice-function-member-p): New function.
7782 (advice--normalize): Store the cdr in advice--saved-rewrite since
7783 that's the part that will be changed.
7784 (advice--symbol-function): New function.
7785 (advice-remove): Handle removal before the function is defined.
7786 Adjust to new advice--saved-rewrite.
7787 (advice-member-p): Use advice-function-member-p and
7788 advice--symbol-function.
7789
7790 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7793 (frameset-filter-minibuffer): Doc fix.
7794 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7795 (frameset--set-id, frameset--process-minibuffer-frames)
7796 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7797 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7798
7799 * desktop.el (desktop-clear): Only delete frames when called
7800 interactively and desktop-restore-frames is non-nil. Doc fix.
7801 (desktop-read): Set desktop-saved-frameset to nil.
7802
7803 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7804
7805 * vc/vc.el (vc-ignore): Rewrite.
7806 (vc-default-ignore-completion-table):
7807 (vc--read-lines):
7808 (vc--add-line, vc--remove-regexp): New functions.
7809
7810 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7811 (vc-svn-ignore-completion-table): New function.
7812
7813 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7814 (vc-hg-ignore-completion-table):
7815 (vc-hg-find-ignore-file): New functions.
7816
7817 * vc/vc-git.el (vc-git-ignore): Rewrite.
7818 (vc-git-ignore-completion-table):
7819 (vc-git-find-ignore-file): New functions.
7820
7821 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7822
7823 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7824 (vc-bzr-ignore-completion-table):
7825 (vc-bzr-find-ignore-file): New functions.
7826
7827 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * frameset.el (frameset-prop): New function and setter.
7830 (frameset-save): Do not modify frame list passed by the caller.
7831
7832 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7835
7836 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7839 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7840
7841 * custom.el (custom-initialize-default, custom-initialize-set)
7842 (custom-initialize-reset, custom-initialize-changed): Affect the
7843 toplevel-default-value (bug#6275, bug#14586).
7844 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7845 for bug#6275.
7846
7847 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7848
7849 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7850 Add cl-def* expressions.
7851
7852 * frameset.el (frameset-filter-params): Fix order of arguments.
7853
7854 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7855
7856 Move code related to saving frames to frameset.el.
7857 * desktop.el: Require frameset.
7858 (desktop-restore-frames): Doc fix.
7859 (desktop-restore-reuses-frames): Rename from
7860 desktop-restoring-reuses-frames.
7861 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7862 (desktop-clear): Clear frames too.
7863 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7864 (desktop--filter-tty*, desktop-save, desktop-read):
7865 Use frameset functions.
7866 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7867 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7868 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7869 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7870 (desktop--process-minibuffer-frames, desktop-save-frames)
7871 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7872 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7873 (desktop--sort-states, desktop-restoring-frames-p)
7874 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7875 (desktop-restoring-frameset-p, desktop-restore-frameset)
7876 (desktop--check-dont-save, desktop-save-frameset): New functions.
7877 (desktop--app-id): New constant.
7878 (desktop-first-buffer, desktop-buffer-ok-count)
7879 (desktop-buffer-fail-count): Move before first use.
7880 * frameset.el: New file.
7881
7882 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * files.el: Use lexical-binding.
7885 (dir-locals-read-from-file): Remove unused `err' variable.
7886 (hack-dir-local-variables--warned-coding): New var.
7887 (hack-dir-local-variables): Use it to avoid repeated warnings.
7888 (make-backup-file-name--default-function): New function.
7889 (make-backup-file-name-function): Use it as default.
7890 (buffer-stale--default-function): New function.
7891 (buffer-stale-function): Use it as default.
7892 (revert-buffer-insert-file-contents--default-function): New function.
7893 (revert-buffer-insert-file-contents-function): Use it as default.
7894 (insert-directory): Avoid add-to-list.
7895
7896 * autorevert.el (auto-revert-handler): Simplify.
7897 Use buffer-stale--default-function.
7898
7899 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7900
7901 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7902
7903 * whitespace.el (whitespace-ensure-local-variables): New function.
7904 (whitespace-cleanup-region): Call it.
7905 (whitespace-turn-on): Call it.
7906
7907 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7908
7909 Complete file name handlers.
7910
7911 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7912 (tramp-handle-verify-visited-file-modtime)
7913 (tramp-handle-file-notify-rm-watch): New functions.
7914 (tramp-call-process): Do not bind `default-directory'.
7915
7916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7917 Order alphabetically.
7918 <access-file, add-name-to-file, dired-call-process>:
7919 <dired-compress-file, file-acl, file-notify-rm-watch>:
7920 <file-ownership-preserved-p, file-selinux-context>:
7921 <make-directory-internal, make-symbolic-link, set-file-acl>:
7922 <set-file-selinux-context, set-visited-file-modtime>:
7923 <verify-visited-file-modtime>: Add handler.
7924 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7925
7926 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7927 <file-notify-add-watch, file-notify-rm-watch>:
7928 <set-file-times, set-visited-file-modtime>:
7929 <verify-visited-file-modtime>: Add handler.
7930 (with-tramp-gvfs-error-message)
7931 (tramp-gvfs-handle-set-visited-file-modtime)
7932 (tramp-gvfs-fuse-file-name): Remove.
7933 (tramp-gvfs-handle-file-notify-add-watch)
7934 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7935 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7936
7937 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7938 Order alphabetically.
7939 <file-notify-rm-watch>: Use default Tramp handler.
7940 <executable-find>: Remove private handler.
7941 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7942 `default-directory'.
7943 (tramp-sh-handle-executable-find)
7944 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7945 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7946 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7947 Do not use `format' in `tramp-message'.
7948
7949 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7950 <file-notify-rm-watch, set-visited-file-modtime>:
7951 <verify-visited-file-modtime>: Add handler.
7952 (tramp-smb-call-winexe): Do not bind `default-directory'.
7953
7954 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7955
7956 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7957
7958 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7959
7960 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7961 use it.
7962 (log-view-diff-changeset): Same.
7963 (log-view-diff-common): Call backend command `previous-revision'
7964 to find out the previous revision, in both cases. Swap the
7965 variables `to' and `fr', so that `fr' usually refers to the
7966 earlier revision (Bug#14989).
7967
7968 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7969
7970 * ibuf-ext.el (ibuffer-filter-by-filename):
7971 Make it work with dired buffers too.
7972
7973 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7974
7975 * emacs-lisp/re-builder.el (reb-color-display-p):
7976 * files.el (save-buffers-kill-terminal):
7977 * net/browse-url.el (browse-url):
7978 * server.el (server-save-buffers-kill-terminal):
7979 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7980 Prefer nil to selected-frame for the first arg of frame-parameter.
7981
7982 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7983
7984 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7985
7986 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7987
7988 * minibuffer.el (completion--twq-all): Try and preserve each
7989 completion's case choice (bug#14907).
7990
7991 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7992
7993 * net/network-stream.el (open-network-stream): Mention the new
7994 :nogreeting parameter.
7995 (network-stream-open-starttls): Use the :nogreeting parameter
7996 (bug#14938).
7997
7998 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7999
8000 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8001 more natural than popping.
8002
8003 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8004 (shr-urlify): Highlight under mouse.
8005
8006 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8007
8008 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8009
8010 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8011
8012 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8013 buffer for output.
8014
8015 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8016 point-min==1. Fix search string. Fix parentheses missing.
8017
8018 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8019 assume point-min==1. Fix search string. Fix parentheses missing.
8020
8021 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8022
8023 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8024 buffer for output.
8025
8026 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8027
8028 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8029 initial frame is minibuffer-less. (Bug#14841)
8030
8031 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8034 option.
8035
8036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8037 (tramp-maybe-open-connection): Use it.
8038
8039 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8042 minimal set of parameters passed when creating a frame, because
8043 the minibuffer status of a frame cannot be changed later.
8044
8045 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8046
8047 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8048 replace-regexp-in-string and inadvertent omissions in previous change.
8049 (todo-filter-items): Ensure only file names are comma-separated in
8050 name of filtered items buffer.
8051
8052 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8053
8054 * desktop.el: Optionally force offscreen frames back onscreen.
8055 (desktop-restoring-reuses-frames): New option.
8056 (desktop--compute-pos, desktop--move-onscreen): New functions.
8057 (desktop--make-frame): Use desktop--move-onscreen.
8058
8059 2013-07-27 Alan Mackenzie <acm@muc.de>
8060
8061 Fontify a Java generic method as a function.
8062 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8063 value to t.
8064
8065 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8066
8067 * calendar/todo-mode.el: Add command to rename todo files.
8068 (todo-rename-file): New command.
8069 (todo-key-bindings-t): Add key binding for it. Change the
8070 bindings of todo-filter-regexp-items(-multifile) to use `x'
8071 instead of `r', since the latter is better suited to the new
8072 renaming command.
8073
8074 2013-07-27 Alan Mackenzie <acm@muc.de>
8075
8076 Make Java try-with-resources statement parse properly.
8077 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8078 (c-block-stmt-1-2-key): New language constants/variables.
8079 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8080 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8081 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8082 with c-block-stmt-1-2-key.
8083
8084 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * desktop.el (desktop--make-frame): Apply most frame parameters after
8087 creating the frame to force (partially or totally) offscreen frames to
8088 be restored as such.
8089
8090 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8091
8092 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8093 (Bug#14948)
8094
8095 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8098 `base' arg of backtrace-frame.
8099
8100 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8101
8102 * simple.el (list-processes): Doc fix.
8103
8104 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8105
8106 * desktop.el (desktop--select-frame):
8107 Try harder to reuse existing frames.
8108
8109 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8112 (edebug-eval): Use backtrace-eval.
8113 (edebug--display, edebug--recursive-edit): Don't let-bind the
8114 edebug-outer-* vars that keep track of variables we locally let-bind.
8115 (edebug-outside-excursion): Don't restore outside values of locally
8116 let-bound vars.
8117 (edebug--display): Use user-error.
8118 (cl-lexical-debug, cl-debug-env): Remove.
8119
8120 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8121
8122 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8123 are restored to be sure that they are visible before deleting any
8124 remaining ones.
8125
8126 2013-07-26 Matthias Meulien <orontee@gmail.com>
8127
8128 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8129 vc-print-root-log. (Bug#14948)
8130
8131 2013-07-26 Richard Stallman <rms@gnu.org>
8132
8133 Add aliases for encrypting mail.
8134 * epa.el (epa-mail-aliases): New option.
8135 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8136 Bind inhibit-read-only so read-only text doesn't ruin everything.
8137 (epa-mail-default-recipients): New subroutine broken out.
8138 Handle epa-mail-aliases.
8139
8140 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 Add support for lexical variables to the debugger's `e' command.
8143 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8144 vars, except for debugger-outer-match-data.
8145 (debugger-frame-number): Move check for "on a function call" from
8146 callers into it. Add `skip-base' argument.
8147 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8148 (debugger-env-macro): Only reset the state stored in non-variables,
8149 i.e. current-buffer and match-data.
8150 (debugger-eval-expression): Rewrite using backtrace-eval.
8151 * subr.el (internal--called-interactively-p--get-frame): Remove.
8152 (called-interactively-p):
8153 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8154 `base' arg of backtrace-frame instead.
8155
8156 2013-07-26 Glenn Morris <rgm@gnu.org>
8157
8158 * align.el (align-regexp): Doc fix. (Bug#14857)
8159 (align-region): Explicit error if subexpression missing/does not match.
8160
8161 * simple.el (global-visual-line-mode):
8162 Do not duplicate the mode lighter. (Bug#14858)
8163
8164 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8165
8166 * window.el (display-buffer): In display-buffer bind
8167 split-window-keep-point to t, bug#14829.
8168
8169 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8172 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8173 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8174 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8175 Change accordingly.
8176 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8177 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8178
8179 2013-07-25 Glenn Morris <rgm@gnu.org>
8180
8181 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8182
8183 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8184
8185 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8186 parameter to modify-frame-parameters if the value has not changed;
8187 this is a workaround for bug#14949.
8188 (desktop--make-frame): On cl-delete-if call, check parameter name,
8189 not full parameter.
8190
8191 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8192
8193 * vc/vc.el (vc-ignore): New function.
8194
8195 * vc/vc-svn.el (vc-svn-ignore): New function.
8196
8197 * vc/vc-hg.el (vc-hg-ignore): New function.
8198
8199 * vc/vc-git.el (vc-git-ignore): New function.
8200
8201 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8202 (vc-dir-ignore): New function.
8203
8204 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8205 (cvs-append-to-ignore): Move here from pcvs.el.
8206
8207 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8208
8209 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8210
8211 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8214 (desktop-restore-frames): Warn when deleting an existing frame failed.
8215
8216 2013-07-24 Glenn Morris <rgm@gnu.org>
8217
8218 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8219
8220 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8221
8222 * filenotify.el (file-notify-supported-p):
8223 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8224 Remove functions.
8225
8226 * autorevert.el (auto-revert-use-notify):
8227 (auto-revert-notify-add-watch):
8228 * net/tramp.el (tramp-file-name-for-operation):
8229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8230 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8231 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8232 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8233 Remove `file-notify-supported-p' entry.
8234
8235 2013-07-24 Glenn Morris <rgm@gnu.org>
8236
8237 * printing.el: Replace all uses of deleted ps-windows-system,
8238 ps-lp-system, ps-flatten-list with lpr- versions.
8239
8240 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8243 checked with memq (bug#14935).
8244
8245 * files.el (revert-buffer-function): Use a non-nil default.
8246 (revert-buffer-preserve-modes): Declare var to
8247 provide access to the `preserve-modes' argument.
8248 (revert-buffer): Let-bind it.
8249 (revert-buffer--default): New function, extracted from revert-buffer.
8250
8251 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * lpr.el: Signal print errors more prominently.
8254 (print-region-function): Don't default to nil.
8255 (lpr-print-region): New function, extracted from print-region-1.
8256 Check lpr's return value and signal an error in case of problem.
8257 (print-region-1): Use it.
8258 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8259 versions instead.
8260 (ps-printer-name): Default to nil.
8261 (ps-printer-name-option): Default to lpr-printer-switch.
8262 (ps-print-region-function): Don't default to nil.
8263 (ps-postscript-code-directory): Simplify default.
8264 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8265 (ps-string-list, ps-eval-switch, ps-flatten-list)
8266 (ps-flatten-list-1): Remove.
8267 (ps-multibyte-buffer): Avoid setq.
8268 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8269 (print-region-function, ps-print-region-function): Don't set them here.
8270
8271 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8272
8273 * ido.el (ido-fractionp):
8274 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8275 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8276 (ido-max-directory-size, ido-max-dir-file-cache)
8277 (ido-decorations): Doc fix.
8278
8279 * ansi-color.el: Fix old URL.
8280
8281 2013-07-23 Michael R. Mauger <michael@mauger.com>
8282
8283 * progmodes/sql.el: Version 3.3
8284 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8285 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8286 (sql-interactive-remove-continuation-prompt): Rewrite, use
8287 functions above. Fix continuation prompt and complete output line
8288 handling.
8289 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8290 redirected output buffer.
8291 (sql-mode): Restore deleted code (Bug#13591).
8292
8293 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8294
8295 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8296
8297 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8298
8299 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8300
8301 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8303 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8304
8305 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8306
8307 * desktop.el (desktop-clear): Simplify; remove useless checks
8308 against invalid buffer names.
8309 (desktop-list*): Use cl-list*.
8310 (desktop-buffer-info, desktop-create-buffer): Simplify.
8311
8312 2013-07-23 Leo Liu <sdl.web@gmail.com>
8313
8314 * bookmark.el (bookmark-make-record): Restore NAME as a default
8315 value. (Bug#14933)
8316
8317 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8320 extracted from autoload--insert-text.
8321 (autoload--insert-text): Remove.
8322 (autoload--print-cookie-text): New function, extracted from
8323 autoload--insert-cookie-text.
8324 (autoload--insert-cookie-text): Remove.
8325 (autoload-generate-file-autoloads): Adjust calls accordingly.
8326
8327 * winner.el (winner-hook-installed-p): Remove.
8328 (winner-mode): Simplify accordingly.
8329
8330 * subr.el (add-to-list): Fix compiler-macro when `append' is
8331 not constant. Don't use `cl-member' for the base case.
8332
8333 * progmodes/subword.el: Fix boundary case (bug#13758).
8334 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8335 own group.
8336 (subword-backward-regexp): Make it a constant.
8337 (subword-forward-internal): Don't treat a trailing capital as the
8338 beginning of a word.
8339
8340 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8341
8342 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8343 global value of tabulated-list-revert-hook (bug#14930).
8344
8345 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8346
8347 * desktop.el: Require 'cl-lib.
8348 (desktop-before-saving-frames-functions): New hook.
8349 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8350 for frames being saved. Rename from desktop--save-minibuffer-frames.
8351 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8352 Do not save frames with non-nil `desktop-dont-save' parameter.
8353 Filter out deleted frames.
8354 (desktop--find-frame): Use cl-find-if.
8355 (desktop--select-frame): Use cl-(first|second|third) to access values
8356 of desktop-mini.
8357 (desktop--make-frame): Use cl-delete-if.
8358 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8359 (desktop-restore-frames): Use cl-(first|second|third) to access values
8360 of desktop-mini. Look for visible frame at the end, not while
8361 restoring frames.
8362
8363 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8364 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8365 Use string-match-p, looking-at-p (bug#14927).
8366
8367 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8368
8369 * desktop.el (desktop-saved-frame-states):
8370 Rename from desktop--saved-states; all users changed.
8371 (desktop-save-frames): Rename from desktop--save-frames.
8372 Do not save state to desktop file.
8373 (desktop-save): Save desktop-saved-frame-states to desktop file
8374 and reset to nil.
8375 (desktop-restoring-frames-p): New function.
8376 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8377 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8378 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8379
8380 * desktop.el: Correctly restore iconified frames.
8381 (desktop--filter-iconified-position): New function.
8382 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8383
8384 2013-07-20 Glenn Morris <rgm@gnu.org>
8385
8386 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8387 Let `message' do the formatting.
8388 (def-gdb-preempt-display-buffer): Add explicit format.
8389
8390 * image-dired.el (image-dired-track-original-file):
8391 Use with-current-buffer.
8392 (image-dired-track-thumbnail): Use with-current-buffer.
8393 Avoid changing point of wrong window.
8394
8395 * image-dired.el (image-dired-track-original-file):
8396 Avoid changing point of wrong window. (Bug#14909)
8397
8398 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8399
8400 * progmodes/gdb-mi.el (gdb-done-or-error):
8401 Guard against "%" in gdb output. (Bug#14127)
8402
8403 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8404
8405 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8406 (Bug#14826)
8407
8408 * international/mule.el (coding-system-iso-2022-flags): Fix last
8409 change.
8410
8411 2013-07-20 Kenichi Handa <handa@gnu.org>
8412
8413 * international/mule.el (coding-system-iso-2022-flags):
8414 Add `8-bit-level-4'. (Bug#8522)
8415
8416 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8417
8418 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8419 (bug#14815).
8420
8421 * net/eww.el (eww-process-text-input): Allow inputting when the
8422 point is at the start of the line, as the properties aren't
8423 front-sticky.
8424
8425 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8426 degenerate widths.
8427
8428 2013-07-19 Richard Stallman <rms@gnu.org>
8429
8430 * epa.el (epa-popup-info-window): Doc fix.
8431
8432 * subr.el (split-string): New arg TRIM.
8433
8434 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8435
8436 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8437 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8438
8439 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8440
8441 * filenotify.el (file-notify--library): Rename from
8442 `file-notify-support'. Do not autoload. Adapt all uses.
8443 (file-notify-supported-p): New defun.
8444
8445 * autorevert.el (auto-revert-use-notify):
8446 Use `file-notify-supported-p' instead of `file-notify-support'.
8447 Adapt docstring.
8448 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8449
8450 * net/tramp.el (tramp-file-name-for-operation):
8451 Add `file-notify-supported-p'.
8452
8453 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8454 New defun.
8455 (tramp-sh-file-name-handler-alist): Add it as handler for
8456 `file-notify-supported-p '.
8457
8458 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8459 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8460 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8461 Add `ignore' as handler for `file-notify-*' functions.
8462
8463 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8464
8465 * simple.el (line-move-partial, line-move): Don't start vscroll or
8466 scroll-up if the current line is not taller than the window.
8467 (Bug#14881)
8468
8469 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8470
8471 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8472 highlight question marks in the method names as strings.
8473 (ruby-block-beg-keywords): Inline.
8474 (ruby-font-lock-keyword-beg-re): Extract from
8475 `ruby-font-lock-keywords'.
8476
8477 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8478
8479 * frame.el (blink-cursor-blinks): New defcustom.
8480 (blink-cursor-blinks-done): New defvar.
8481 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8482 (blink-cursor-timer-function): Check if number of blinks has been
8483 done on X and NS.
8484 (blink-cursor-suspend, blink-cursor-check): New defuns.
8485
8486 2013-07-15 Glenn Morris <rgm@gnu.org>
8487
8488 * edmacro.el (edmacro-format-keys): Fix previous change.
8489
8490 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8491
8492 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8493 The hack didn't work outside English locales anyway.
8494
8495 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * simple.el (define-alternatives): Rename from alternatives-define,
8498 per RMS' suggestion.
8499
8500 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8501
8502 * desktop.el (desktop-restore-frames): Change default to t.
8503 (desktop-restore-in-current-display): Now offer more options.
8504 (desktop-restoring-reuses-frames): New customization option.
8505 (desktop--saved-states): Doc fix.
8506 (desktop-filter-parameters-alist): New variable, renamed and expanded
8507 from desktop--excluded-frame-parameters.
8508 (desktop--target-display): New variable.
8509 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8510 (desktop--filter-tty*, desktop--filter-*-color)
8511 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8512 (desktop--filter-save-desktop-parm)
8513 (desktop-restore-in-original-display-p): New functions.
8514 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8515 (desktop--save-minibuffer-frames): New function, inspired by a similar
8516 function from Martin Rudalics.
8517 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8518 (desktop--restore-in-this-display-p): Remove.
8519 (desktop--find-frame): Rename from desktop--find-frame-in-display
8520 and add predicate argument.
8521 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8522 (desktop--reuse-list): New variable.
8523 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8524 New functions.
8525 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8526
8527 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8528
8529 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8530
8531 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8532
8533 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8534 Highlight conversion methods on Kernel.
8535
8536 2013-07-13 Alan Mackenzie <acm@muc.de>
8537
8538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8539 and comment it out. This out-commenting enables certain C++
8540 declarations to be parsed correctly.
8541
8542 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8543
8544 * international/mule.el (define-coding-system): Doc fix.
8545
8546 * simple.el (default-font-height): Don't call font-info if the
8547 frame's default font didn't change since the frame was created.
8548 (Bug#14838)
8549
8550 2013-07-13 Leo Liu <sdl.web@gmail.com>
8551
8552 * ido.el (ido-read-file-name): Guard against non-symbol value.
8553
8554 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8555
8556 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8557 in nested defuns.
8558
8559 2013-07-13 Leo Liu <sdl.web@gmail.com>
8560
8561 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8562 ido-set-matches call. (Bug#6852)
8563
8564 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8565
8566 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8567 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8568 Ruby 2.0.
8569 (ruby-font-lock-keywords): Distinguish calls to functions with
8570 module-like names from module references. Highlight character
8571 literals.
8572
8573 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8574
8575 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8576 (gdb-send): Handle continued commands. (Bug#14847)
8577
8578 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8579
8580 * desktop.el (desktop--v2s): Remove unused local variable.
8581 (desktop-save-buffer): Make defvar-local; adjust docstring.
8582 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8583 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8584
8585 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8586
8587 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8588
8589 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8590
8591 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8592 (Bug#14842)
8593
8594 2013-07-12 Glenn Morris <rgm@gnu.org>
8595
8596 * doc-view.el: Require cl-lib at runtime too.
8597 (doc-view-remove-if): Remove.
8598 (doc-view-search-next-match, doc-view-search-previous-match):
8599 Use cl-remove-if.
8600
8601 * edmacro.el: Require cl-lib at runtime too.
8602 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8603 (edmacro-mismatch, edmacro-subseq): Remove.
8604
8605 * shadowfile.el: Require cl-lib.
8606 (shadow-remove-if): Remove.
8607 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8608 Use cl-remove-if.
8609
8610 * wid-edit.el: Require cl-lib.
8611 (widget-choose): Use cl-remove-if.
8612 (widget-remove-if): Remove.
8613
8614 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8615 (ebrowse-delete-if-not): Remove.
8616 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8617 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8618 Use cl-delete-if-not.
8619
8620 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8621
8622 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8623 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8624
8625 2013-07-12 Leo Liu <sdl.web@gmail.com>
8626
8627 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8628
8629 2013-07-11 Glenn Morris <rgm@gnu.org>
8630
8631 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8632 (edebug-gensym-index, edebug-gensym):
8633 Remove reimplementation of cl-gensym.
8634 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8635
8636 * thumbs.el: Require cl-lib at run-time too.
8637 (thumbs-gensym-counter, thumbs-gensym):
8638 Remove reimplementation of cl-gensym.
8639 (thumbs-temp-file): Use cl-gensym.
8640
8641 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8642 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8643 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8644 (ert--union, ert--gensym-counter, ert--gensym-counter)
8645 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8646 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8647 (ert-make-test-unbound, ert--expand-should-1)
8648 (ert--expand-should, ert--should-error-handle-error)
8649 (should-error, ert--explain-equal-rec)
8650 (ert--plist-difference-explanation, ert-select-tests)
8651 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8652 Use cl-lib functions rather than reimplementations.
8653
8654 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8655
8656 * net/tramp.el (tramp-methods): Extend docstring.
8657 (tramp-connection-timeout): New defcustom.
8658 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8659 (with-tramp-progress-reporter): Simplify.
8660 (tramp-process-actions): Improve messages.
8661
8662 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8663 * net/tramp-sh.el (tramp-maybe-open-connection):
8664 Use `tramp-connection-timeout'.
8665 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8666 (Bug#14808)
8667
8668 2013-07-11 Leo Liu <sdl.web@gmail.com>
8669
8670 * ido.el (ido-read-file-name): Conform to the requirements of
8671 read-file-name. (Bug#11861)
8672 (ido-read-directory-name): Conform to the requirements of
8673 read-directory-name.
8674
8675 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8676
8677 * subr.el (delay-warning): New function.
8678
8679 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8680
8681 * simple.el (default-line-height): New function.
8682 (line-move-partial, line-move): Use it instead of computing the
8683 line height inline.
8684 (line-move-partial): Always compute ROWH. If the last line is
8685 partially-visible, but its text is completely visible, allow
8686 cursor to enter such a partially-visible line.
8687
8688 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8689
8690 Improve error messages. (Bug#14808)
8691
8692 * net/tramp.el (tramp-current-connection): New defvar, moved from
8693 tramp-sh.el.
8694 (tramp-message-show-progress-reporter-message): Remove, not
8695 needed anymore.
8696 (tramp-error-with-buffer): Show message in minibuffer.
8697 Discard input before waiting. Reset connection timestamp.
8698 (with-tramp-progress-reporter): Improve messages.
8699 (tramp-process-actions): Use progress reporter. Delete process in
8700 case of error. Improve messages.
8701
8702 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8703 Call `tramp-error-with-buffer' with vector and buffer.
8704 (tramp-current-connection): Remove.
8705 (tramp-maybe-open-connection): The car of
8706 `tramp-current-connection' are the first 3 slots of the vector.
8707
8708 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8709
8710 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8711 inside continued strings.
8712
8713 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8714
8715 Timestamp fixes for undo (Bug#14824).
8716 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8717
8718 2013-07-10 Leo Liu <sdl.web@gmail.com>
8719
8720 * files.el (require-final-newline): Allow safe local value.
8721 (Bug#14834)
8722
8723 2013-07-09 Leo Liu <sdl.web@gmail.com>
8724
8725 * ido.el (ido-read-directory-name): Handle fallback.
8726 (ido-read-file-name): Update DIR to ido-current-directory.
8727 (Bug#1516)
8728 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8729
8730 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8731
8732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8733 "autoload". Remove "warn lower camel case" section, previously
8734 commented out. Highlight negation char. Do not highlight the
8735 target in singleton method definitions.
8736
8737 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * faces.el (tty-setup-hook): Declare the hook.
8740
8741 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8742 and detect when a guard/pred depends on local vars (bug#14773).
8743 (pcase--u1): Adjust caller.
8744
8745 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8746
8747 * simple.el (line-move-partial, line-move): Account for
8748 line-spacing.
8749 (line-move-partial): Avoid setting vscroll when the last
8750 partially-visible line in window is of default height.
8751
8752 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753
8754 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8755 been used a while.
8756
8757 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8758
8759 * subr.el (read-quoted-char): Remove unused local variable `char'.
8760
8761 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8762
8763 * ediff.el (ediff-version): Version update.
8764 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8765 (ediff-merge-with-ancestor-command, ediff-directories-command)
8766 (ediff-directories3-command, ediff-merge-directories-command)
8767 (ediff-merge-directories-with-ancestor-command): New functions.
8768 All are command-line interfaces to ediff: to facilitate calling
8769 Emacs with the appropriate ediff functions invoked.
8770
8771 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8772 (viper-save-kill-buffer): Check if buffer is modified.
8773
8774 * viper.el (viper-version): Version update.
8775 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8776
8777 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8780 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8781 (viper-intercept-ESC-key): Simplify.
8782 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8783 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8784 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8785 (viper-setup-ESC-to-escape): New functions.
8786 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8787 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8788
8789 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8790
8791 * simple.el (default-font-height, window-screen-lines):
8792 New functions.
8793 (line-move, line-move-partial): Use them instead of
8794 frame-char-height and window-text-height. This makes scrolling
8795 text smoother when the buffer's default face uses a font that is
8796 different from the frame's default font.
8797
8798 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8799
8800 * files.el (write-file): Do not display confirm dialog for NS,
8801 it does its own dialog, which can't be canceled (Bug#14578).
8802
8803 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8804
8805 * simple.el (line-move-partial): Adjust the row returned by
8806 posn-at-point for the current window-vscroll. (Bug#14567)
8807
8808 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8809
8810 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8811 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8812 spaces.
8813
8814 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8815
8816 * window.el (window-state-put-stale-windows): New variable.
8817 (window--state-put-2): Save list of windows without matching buffer.
8818 (window-state-put): Remove "bufferless" windows if possible.
8819
8820 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8821
8822 * simple.el (alternatives-define): Remove leftover :group keyword.
8823 Tweak docstring.
8824
8825 2013-07-06 Leo Liu <sdl.web@gmail.com>
8826
8827 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8828 (ido-enable-virtual-buffers): New variable.
8829 (ido-buffer-internal, ido-toggle-virtual-buffers)
8830 (ido-make-buffer-list): Use it.
8831 (ido-exhibit): Support turning on and off virtual buffers
8832 automatically.
8833
8834 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * simple.el (alternatives-define): New macro.
8837
8838 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * subr.el (read-quoted-char): Use read-key.
8841 (sit-for): Let read-event decode tty input (bug#14782).
8842
8843 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8844
8845 * calendar/todo-mode.el: Add handling of file deletion, both by
8846 mode command and externally. Fix various related bugs.
8847 Clarify Commentary and improve some documentation strings and code.
8848 (todo-delete-file): New command.
8849 (todo-check-file): New function.
8850 (todo-show): Handle external deletion of the file we're trying to
8851 show (bug#14688). Replace called-interactively-p by an optional
8852 prefix argument to avoid problematic interaction with catch form
8853 when byte compiled (bug#14702).
8854 (todo-quit): Handle external deletion of the archive's todo file.
8855 Make sure the buffer that was visiting the archive file is still
8856 live before trying to bury it.
8857 (todo-category-completions): Handle external deletion of any
8858 category completion files.
8859 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8860 of todo files, in case of external deletion.
8861 (todo-add-file): Replace unnecessary setq by let-binding.
8862 (todo-find-archive): Check whether there are any archives.
8863 Replace unnecessary setq by let-binding.
8864 (todo-archive-done-item): Use find-file-noselect to get the
8865 archive buffer whether or not the archive already exists.
8866 Remove superfluous code. Use file size instead of buffer-file-name to
8867 check if the archive is new; if it is, update list of archives.
8868 (todo-default-todo-file): Allow nil to be a valid value for when
8869 there are no todo files.
8870 (todo-reevaluate-default-file-defcustom): Use corrected definition
8871 of todo-default-todo-file.
8872 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8873 (todo-delete-category, todo-show-categories-table)
8874 (todo-category-number): Clarify comment.
8875 (todo-filter-items): Clarify documentation string.
8876 (todo-show-current-file, todo-display-as-todo-file)
8877 (todo-reset-and-enable-done-separator): Tweak documentation string.
8878 (todo-done-separator): Make separator length window-width, since
8879 bug#2749 is now fixed.
8880
8881 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8882
8883 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8884 Support both "gvfs-monitor-dir" and "inotifywait".
8885 (tramp-sh-file-inotifywait-process-filter): Rename from
8886 `tramp-sh-file-notify-process-filter'.
8887 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8888 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8889
8890 2013-07-05 Leo Liu <sdl.web@gmail.com>
8891
8892 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8893
8894 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8895
8896 * frame.el (display-pixel-height, display-pixel-width)
8897 (display-mm-height, display-mm-width): Mention behavior on
8898 multi-monitor setups in docstrings.
8899 (w32-display-monitor-attributes-list): Declare function.
8900 (display-monitor-attributes-list): Use it.
8901
8902 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8903
8904 * filenotify.el: New package.
8905
8906 * autorevert.el (top): Require filenotify.el.
8907 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8908 instead.
8909 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8910 (auto-revert-notify-handler): Use `file-notify-*' functions.
8911
8912 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8913
8914 * net/tramp.el (tramp-file-name-for-operation):
8915 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8916
8917 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8918 for `file-notify-add-watch' and `file-notify-rm-watch'.
8919 (tramp-process-sentinel): Improve trace.
8920 (tramp-sh-handle-file-notify-add-watch)
8921 (tramp-sh-file-notify-process-filter)
8922 (tramp-sh-handle-file-notify-rm-watch)
8923 (tramp-get-remote-inotifywait): New defuns.
8924
8925 2013-07-03 Juri Linkov <juri@jurta.org>
8926
8927 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8928 call of `occur-read-primary-args' to interactive spec.
8929
8930 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8931 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8932
8933 2013-07-03 Matthias Meulien <orontee@gmail.com>
8934
8935 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8936 `Buffer-menu-multi-occur'. Add it to the menu.
8937 (Buffer-menu-mode): Document it in docstring.
8938 (Buffer-menu-multi-occur): New command. (Bug#14673)
8939
8940 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8941
8942 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8943 keywords and built-ins.
8944
8945 2013-07-03 Glenn Morris <rgm@gnu.org>
8946
8947 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8948
8949 Make info-xref checks case-sensitive by default
8950 * info.el (Info-find-node, Info-find-in-tag-table)
8951 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8952 Add option for exact case matching of nodes.
8953 * info-xref.el (info-xref): New custom group.
8954 (info-xref-case-fold): New option.
8955 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8956
8957 2013-07-03 Leo Liu <sdl.web@gmail.com>
8958
8959 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8960
8961 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8962
8963 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8964 middle of block statement initially, lower the depth. Remove
8965 FIXME comment, not longer valid. Remove middle of block statement
8966 detection, no need to do that anymore since we've been using
8967 `ruby-parse-region' here.
8968
8969 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8970
8971 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8972
8973 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8974
8975 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8976
8977 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8978
8979 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8980 (desktop-restore-in-current-display): New customization option.
8981 (desktop--excluded-frame-parameters): Add `font'.
8982 (desktop--save-frames): Rename from desktop--save-windows.
8983 (desktop--restore-in-this-display-p): New function.
8984 (desktop--make-full-frame): Remove unwanted width/height from
8985 full(width|height) frames.
8986 (desktop--restore-frames): Rename from desktop--restore-windows.
8987 Obey desktop-restore-current-display. Do not delete old frames or
8988 select a new frame unless we were able to restore at least one frame.
8989
8990 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8991
8992 * files.el (find-file-noselect): Simplify conditional expression.
8993
8994 * textmodes/remember.el (remember-append-to-file):
8995 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8996
8997 Add `remember-notes' function to store random notes across Emacs
8998 restarts.
8999 * textmodes/remember.el (remember-data-file): Add :set callback to
9000 affect notes buffer (if any).
9001 (remember-notes): New command.
9002 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9003 New defcustoms for the `remember-notes' function.
9004 (remember-notes-save-and-bury-buffer): New command.
9005 (remember-notes-mode-map): New variable.
9006 (remember-mode): New minor mode.
9007 (remember-notes--kill-buffer-query): New function.
9008 * startup.el (initial-buffer-choice): Add notes to custom type.
9009
9010 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9011
9012 * bindings.el (right-char, left-char): Don't call sit-for, this is
9013 no longer needed. Use arithmetic comparison only for numerical
9014 arguments.
9015
9016 * international/mule-cmds.el (select-safe-coding-system):
9017 Handle the case of FROM being a string correctly. (Bug#14755)
9018
9019 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020
9021 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9022 progression on degenerate tables.
9023 (shr-rescale-image): ImageMagick animated images currently don't work.
9024
9025 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9026
9027 Some fixes and improvements for desktop frame restoration.
9028 It is still experimental and disabled by default.
9029 * desktop.el (desktop--save-windows): Put the selected frame at
9030 the head of the list.
9031 (desktop--make-full-frame): New function.
9032 (desktop--restore-windows): Try to re-select the frame that was
9033 selected upon saving. Do not abort if some frames fail to restore,
9034 just show an error message and continue. Set up maximized frames
9035 so they have default non-maximized dimensions.
9036
9037 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9038
9039 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9040 Don't start heredoc inside a string or comment.
9041
9042 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9043
9044 * bindings.el (visual-order-cursor-movement): New defcustom.
9045 (right-char, left-char): Provide visual-order cursor motion by
9046 calling move-point-visually. Update the doc strings.
9047
9048 2013-06-28 Kenichi Handa <handa@gnu.org>
9049
9050 * international/mule.el (define-coding-system): New coding system
9051 properties :inhibit-null-byte-detection,
9052 :inhibit-iso-escape-detection, and :prefer-utf-8.
9053 (set-buffer-file-coding-system): If :charset-list property of
9054 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9055 appropriate for setting.
9056
9057 * international/mule-cmds.el (select-safe-coding-system):
9058 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9059 multibyte characters, return utf-8 (or one of its siblings).
9060
9061 * international/mule-conf.el (prefer-utf-8): New coding system.
9062 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9063 files.
9064
9065 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9066
9067 * net/shr.el (shr-render-region): New function.
9068
9069 * net/eww.el: Autoload `eww-browse-url'.
9070
9071 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9072
9073 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9074 Adapt to `package-desc-version' being a list.
9075 Use `package--ac-desc-version' to retrieve version from a package
9076 archive element.
9077
9078 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9079
9080 New experimental feature to save&restore window and frame setup.
9081 * desktop.el (desktop-save-windows): New defcustom.
9082 (desktop--saved-states): New var.
9083 (desktop--excluded-frame-parameters): New defconst.
9084 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9085 (desktop--restore-windows, desktop--save-windows): New functions.
9086 (desktop-save): Call `desktop--save-windows'.
9087 (desktop-read): Call `desktop--restore-windows'.
9088
9089 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9090
9091 * net/shr.el (add-face-text-property): Remove compat definition.
9092
9093 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9094
9095 * info.el (Info-try-follow-nearest-node): Move search for footnote
9096 above search for node name to prevent missing a footnote (bug#14717).
9097
9098 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9099
9100 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9101
9102 2013-06-27 Leo Liu <sdl.web@gmail.com>
9103
9104 * net/eww.el (eww-read-bookmarks): Check file size.
9105
9106 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9109 advice--pending if newdef is nil or an autoload (bug#13820).
9110 (advice-mapc): New function.
9111
9112 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9113
9114 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9115 probably.
9116 (eww-mode-map): Add a menu bar.
9117 (eww-add-bookmark): New command.
9118 (eww-bookmark-mode): New mode and commands.
9119 (eww-add-bookmark): Remove newlines from the title.
9120 (eww-bookmark-browse): Don't bug out if it's the only window.
9121
9122 2013-06-26 Glenn Morris <rgm@gnu.org>
9123
9124 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9125 (hfy-size): Handle ttys. (Bug#14668)
9126
9127 * info-xref.el: Update for Texinfo 5 change in *note format.
9128 (info-xref-node-re, info-xref-note-re): New constants.
9129 (info-xref-check-buffer): Use info-xref-note-re.
9130
9131 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9134
9135 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9136 nil terminate the loop (bug#14718).
9137
9138 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9139
9140 * net/eww.el: Rework history traversal. When going forward/back,
9141 put these actions into the history, too, so that they can be
9142 replayed.
9143 (eww-render): Move the history reset to the correct buffer.
9144
9145 2013-06-25 Juri Linkov <juri@jurta.org>
9146
9147 * files-x.el (modify-dir-local-variable): Change the header comment
9148 in the file with directory local variables. (Bug#14692)
9149
9150 * files-x.el (read-file-local-variable-value): Add `default'.
9151 (Bug#14710)
9152
9153 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9154
9155 * net/eww.el (eww-make-unique-file-name): Create a unique file
9156 name before saving to entering `y' accidentally asynchronously.
9157
9158 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9159
9160 * net/eww.el (eww-download): New command and keystroke.
9161
9162 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9163
9164 * net/eww.el (eww-copy-page-url): Change name of command.
9165
9166 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9167 be more consistent with Info and dired.
9168
9169 * net/eww.el (eww-mode-map): Ditto.
9170
9171 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9174 packages from archives.
9175 (package-archive-contents): Change format; include obsolete packages.
9176 (package-desc): Use `dir' to mark builtin packages.
9177 (package--from-builtin): Set the `dir' field to `builtin'.
9178 (generated-autoload-file, version-control): Declare.
9179 (package-compute-transaction): Change first arg and return value to be
9180 lists of package-descs. Adjust to new package-archive-contents format.
9181 (package--add-to-archive-contents): Adjust to new
9182 package-archive-contents format.
9183 (package-download-transaction): Arg is now a list of package-descs.
9184 (package-install): If `pkg' is a package name, pass it as
9185 a requirement, so it is subject to the usual (e.g. disabled) checks.
9186 (describe-package): Accept package-desc as well.
9187 (describe-package-1): Describe a specific package-desc. Add links to
9188 other package-descs for the same package name.
9189 (package-menu-describe-package): Pass the actual package-desc.
9190 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9191 works correctly.
9192 (package-desc-status): New function.
9193 (package-menu--refresh): New function, extracted
9194 from package-menu--generate.
9195 (package-menu--generate): Use it.
9196 (package-delete): Update package-alist.
9197 (package-menu-execute): Don't call package-initialize.
9198
9199 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9200 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9201 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9202 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9203 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9204 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9205
9206 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9207
9208 * window.el (window--state-get-1): Workaround for bug#14527.
9209 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9210
9211 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9212
9213 * net/eww.el (eww-back-url): Implement the history by stashing all
9214 the data into a list.
9215 (eww-forward-url): Allow going forward in the history, too.
9216
9217 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9220 for values and use read--expression for expressions (bug#14710).
9221 (read-file-local-variable): Avoid setq.
9222 (read-file-local-variable-mode): Use minor-mode-list.
9223
9224 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9225
9226 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9227 for DOI URLs.
9228
9229 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9230
9231 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9232 Update imenu-support when dialect changes.
9233
9234 2013-06-25 Leo Liu <sdl.web@gmail.com>
9235
9236 * ido.el (ido-read-internal): Allow forward slash on windows.
9237
9238 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9239
9240 * net/eww.el (eww): Start of strings is \\`, not ^.
9241
9242 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9243
9244 * net/shr.el (shr-browse-url): Fix interactive spec.
9245
9246 * net/eww.el (eww): Add a trailing slash to domain names.
9247
9248 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9249
9250 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9251
9252 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9253
9254 * net/shr.el (shr-browse-url): Use an external browser if given a
9255 prefix.
9256
9257 * net/eww.el (eww-external-browser): Move to shr.
9258
9259 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9260
9261 * net/eww.el (eww): Work more correctly for file: URLs.
9262 (eww-detect-charset): Allow quoted charsets.
9263 (eww-yank-page-url): New command and keystroke.
9264
9265 2013-06-24 Daiki Ueno <ueno@gnu.org>
9266
9267 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9268 file name of gpg executable.
9269 (epg-context-program): New function.
9270 (epg-context-home-directory): New function.
9271 (epg-context-set-program): New function.
9272 (epg-context-set-home-directory): New function.
9273 (epg--start): Use `epg-context-program' instead of
9274 'epg-gpg-program'.
9275 (epg--list-keys-1): Likewise.
9276
9277 2013-06-24 Leo Liu <sdl.web@gmail.com>
9278
9279 * ido.el (ido-read-internal): Fix bug#14620.
9280
9281 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9282
9283 * faces.el (face-documentation): Simplify.
9284 (read-face-attribute, tty-find-type, x-resolve-font-name):
9285 Use `string-match-p'.
9286 (list-faces-display): Use `string-match-p'. Simplify.
9287 (face-spec-recalc): Check face to avoid face alias loops.
9288 (read-color): Use `string-match-p' and non-capturing parenthesis.
9289
9290 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9291
9292 * net/shr.el (shr-rescale-image): Use the new
9293 :max-width/:max-height functionality.
9294
9295 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9296
9297 * net/eww.el (eww-search-prefix): New variable.
9298 (eww): Use it.
9299 (eww-external-browser): New variable.
9300 (eww-mode-map): New keystroke.
9301 (eww-browse-with-external-browser): New command.
9302
9303 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9304
9305 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9306
9307 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9308 Don't skip aligning the next header field when padding is 0;
9309 otherwise, field width is not respected unless the title is as
9310 wide as the field.
9311
9312 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * emacs-lisp/package.el (package-el-version): Remove.
9315 (package-process-define-package): Fix inf-loop.
9316 (package-install): Allow symbols as arguments again.
9317
9318 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9319
9320 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9321 add some more keyword-like methods.
9322 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9323
9324 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9325
9326 * bs.el (bs-buffer-show-mark): Make defvar-local.
9327 (bs-mode): Use setq-local.
9328
9329 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9330 (emacs-lock--try-unlocking): Make defvar-local.
9331
9332 2013-06-22 Glenn Morris <rgm@gnu.org>
9333
9334 * play/cookie1.el (cookie-apropos): Minor simplification.
9335
9336 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9337
9338 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9339
9340 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9341 `regexp-opt', it breaks the build during dumping.
9342
9343 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9344
9345 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9346 Highlight keyword-like methods on Kernel and Module with
9347 font-lock-builtin-face.
9348 (auto-mode-alist): Consolidate different entries into one regexp
9349 and add more *file-s.
9350
9351 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9352
9353 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9354
9355 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9356 (diary-entry): Use it in the action of this button type instead of
9357 diary-goto-entry.
9358
9359 * calendar/todo-mode.el: New version.
9360 (todo-add-category): Append new category to end of file and give
9361 it the highest number, instead of putting it at the beginning and
9362 giving it 0. Incorporate noninteractive functionality.
9363 (todo-forward-category): Adapt to 1-based category numbering.
9364 Allow skipping over archived categories.
9365 (todo-backward-category): Derive from todo-forward-category.
9366 (todo-backward-item, todo-forward-item): Make noninteractive and
9367 delegate interactive part to new commands. Make sensitive to done items.
9368 (todo-categories): Make value an alist of category names and
9369 vectors of item counts.
9370 (todo-category-beg): Make a defconst.
9371 (todo-category-number): Use 1 instead of 0 as initial value.
9372 (todo-category-select): Make sensitive to overlays, optional item
9373 highlighting and done items.
9374 (todo-delete-item): Make sensitive to overlays and marked and done items.
9375 (todo-edit-item): Make sensitive to overlays and editing of
9376 date/time header optional. Add format checks.
9377 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9378 no-op if point is not on an item. Advertise using todo-edit-quit.
9379 (todo-edit-mode): Make sensitive to new format, font-locking, and
9380 multiple todo files.
9381 (todo-insert-item, todo-insert-item-here): Derive from
9382 todo-basic-insert-item and extend functionality.
9383 (todo-item-end, todo-item-start): Make sensitive to done items.
9384 (todo-item-string): Don't return text properties. Restore point.
9385 (todo-jump-to-category): Make sensitive to multiple todo files and
9386 todo archives. Use extended category completion.
9387 (todo-lower-item, todo-raise-item): Rename to *-priority and
9388 derive from todo-set-item-priority.
9389 (todo-mode): Derive from special-mode. Make sensitive to new
9390 format, font-locking and multiple todo files. Make read-only.
9391 (todo-mode-map): Don't suppress digit keys, so they can supply
9392 prefix arguments. Add many new key bindings.
9393 (todo-prefix): Insert as an overlay instead of file text.
9394 Change semantics from diary date expression to purely visual mark.
9395 (todo-print): Rename to todo-print-buffer. Make buffer display
9396 features printable. Remove option to restrict number of items
9397 printed. Add option to print to file.
9398 (todo-print-function): Rename to todo-print-buffer-function.
9399 (todo-quit): Extend to handle exiting new todo modes.
9400 (todo-remove-item): Make sensitive to overlays.
9401 (todo-save): Extend to buffers of filtered items.
9402 (todo-show): Make sensitive to done items, multiple todo files and
9403 new todo modes. Offer to convert legacy todo file before creating
9404 first new todo file.
9405 (todo-show-priorities): Rename to todo-top-priorities.
9406 Change semantics of value 0.
9407 (todo-top-priorities): Rename to todo-filter-top-priorities,
9408 derive from todo-filter-items and extend functionality.
9409 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9410 and extend functionality to other types of filtered items.
9411 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9412 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9413 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9414 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9415 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9416 (todo-edit-mode-hook, todo-entry-prefix-function)
9417 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9418 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9419 (todo-initials, todo-insert-threshold, todo-item-string-start)
9420 (todo-line-string, todo-menu, todo-mode-hook)
9421 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9422 (todo-print-priorities, todo-remove-separator)
9423 (todo-save-top-priorities-too, todo-string-count-lines)
9424 (todo-string-multiline-p, todo-time-string-format)
9425 (todo-tmp-buffer-name): Remove.
9426 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9427 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9428 (todo-edit-category-diary-inclusion)
9429 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9430 (todo-edit-file, todo-edit-item-date-day)
9431 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9432 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9433 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9434 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9435 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9436 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9437 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9438 (todo-filter-top-priorities-multifile, todo-find-archive)
9439 (todo-find-filtered-items-file, todo-go-to-source-item)
9440 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9441 (todo-jump-to-archive-category, todo-lower-category)
9442 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9443 (todo-move-category, todo-move-item, todo-next-button)
9444 (todo-next-item, todo-padded-string, todo-powerset)
9445 (todo-previous-button, todo-previous-item)
9446 (todo-print-buffer-to-file, todo-raise-category)
9447 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9448 (todo-set-category-number, todo-set-item-priority)
9449 (todo-set-top-priorities-in-category)
9450 (todo-set-top-priorities-in-file, todo-show-categories-table)
9451 (todo-sort-categories-alphabetically-or-numerically)
9452 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9453 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9454 (todo-toggle-item-header, todo-toggle-item-highlighting)
9455 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9456 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9457 (todo-unarchive-items, todo-unmark-category): New commands.
9458 (todo-absolute-file-name, todo-add-to-buffer-list)
9459 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9460 (todo-basic-insert-item, todo-category-completions)
9461 (todo-category-number, todo-category-string-matcher-1)
9462 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9463 (todo-check-format, todo-clear-matches)
9464 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9465 (todo-current-category, todo-date-string-matcher)
9466 (todo-define-insertion-command, todo-diary-expired-matcher)
9467 (todo-diary-goto-entry, todo-diary-item-p)
9468 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9469 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9470 (todo-done-item-section-p, todo-done-separator)
9471 (todo-done-string-matcher, todo-files, todo-filter-items)
9472 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9473 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9474 (todo-insert-category-line, todo-insert-item-from-calendar)
9475 (todo-insert-sort-button, todo-insert-with-overlays)
9476 (todo-insertion-command-name, todo-insertion-key-bindings)
9477 (todo-label-to-key, todo-longest-category-name-length)
9478 (todo-make-categories-list, todo-mode-external-set)
9479 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9480 (todo-modes-set-3, todo-multiple-filter-files)
9481 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9482 (todo-read-category, todo-read-date, todo-read-dayname)
9483 (todo-read-file-name, todo-read-time)
9484 (todo-reevaluate-category-completions-files-defcustom)
9485 (todo-reevaluate-default-file-defcustom)
9486 (todo-reevaluate-filelist-defcustoms)
9487 (todo-reevaluate-filter-files-defcustom)
9488 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9489 (todo-reset-done-separator, todo-reset-done-separator-string)
9490 (todo-reset-done-string, todo-reset-global-current-todo-file)
9491 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9492 (todo-reset-prefix, todo-set-categories)
9493 (todo-set-date-from-calendar, todo-set-show-current-file)
9494 (todo-set-top-priorities, todo-short-file-name)
9495 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9496 (todo-total-item-counts, todo-update-buffer-list)
9497 (todo-update-categories-display, todo-update-categories-sexp)
9498 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9499 New functions.
9500 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9501 New major modes.
9502 (todo-categories, todo-display, todo-edit, todo-faces)
9503 (todo-filtered): New defgroups.
9504 (todo-archived-only, todo-button, todo-category-string, todo-date)
9505 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9506 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9507 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9508 (todo-add-item-if-new-category, todo-always-add-time-string)
9509 (todo-categories-align, todo-categories-archived-label)
9510 (todo-categories-category-label, todo-categories-diary-label)
9511 (todo-categories-done-label, todo-categories-number-separator)
9512 (todo-categories-todo-label, todo-categories-totals-label)
9513 (todo-category-completions-files, todo-completion-ignore-case)
9514 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9515 (todo-done-separator-string, todo-done-string)
9516 (todo-files-function, todo-filter-done-items, todo-filter-files)
9517 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9518 (todo-initial-category, todo-initial-file, todo-item-mark)
9519 (todo-legacy-date-time-regexp, todo-mode-line-function)
9520 (todo-nondiary-marker, todo-number-prefix)
9521 (todo-print-buffer-function, todo-show-current-file)
9522 (todo-show-done-only, todo-show-first, todo-show-with-done)
9523 (todo-skip-archived-categories, todo-top-priorities-overrides)
9524 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9525 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9526 New defcustoms.
9527 (todo-category-done, todo-date-pattern, todo-date-string-start)
9528 (todo-diary-items-buffer, todo-done-string-start)
9529 (todo-filtered-items-buffer, todo-item-start)
9530 (todo-month-abbrev-array, todo-month-name-array)
9531 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9532 (todo-top-priorities-buffer): New defconsts.
9533 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9534 (todo-categories-with-marks, todo-category-string-face)
9535 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9536 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9537 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9538 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9539 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9540 (todo-font-lock-keywords, todo-global-current-todo-file)
9541 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9542 (todo-insertion-commands-args)
9543 (todo-insertion-commands-args-genlist)
9544 (todo-insertion-commands-names, todo-insertion-map)
9545 (todo-key-bindings-t, todo-key-bindings-t+a)
9546 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9547 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9548 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9549 (todo-visited): New variables.
9550
9551 2013-06-21 Glenn Morris <rgm@gnu.org>
9552
9553 * play/cookie1.el (cookie-apropos): Add optional display argument.
9554 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9555 (psychoanalyze-pinhead): Use cookie-doctor.
9556
9557 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9558
9559 * emacs-lisp/package.el (tar-get-file-descriptor)
9560 (tar--extract): Declare.
9561
9562 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9563
9564 Extend flymake's warning predicate to be a function (bug#14217).
9565 * progmodes/flymake.el (flymake-warning-predicate): New.
9566 (flymake-parse-line): Use it.
9567 (flymake-warning-re): Make obsolete alias to
9568 `flymake-warning-predicate'.
9569
9570 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9573 (package-obsolete-list): Remove.
9574 (package-activate): Remove min-version argument. Add `force' argument.
9575 Adjust to new package-alist format.
9576 (package-mark-obsolete): Remove.
9577 (package-unpack): Force reload of the package's autoloads.
9578 (package-installed-p): Check builtins if the installed package is not
9579 recent enough.
9580 (package-initialize): Don't reset package-obsolete-list.
9581 Don't specify which package version to activate.
9582 (package-process-define-package, describe-package-1)
9583 (package-menu--generate): Adjust to new package-alist format.
9584
9585 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9586
9587 * allout-widgets.el (allout-widgets-mode-off)
9588 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9589 (allout-widgets-post-command-business)
9590 (allout-widgets-after-copy-or-kill-function)
9591 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9592 (allout-decorate-item-and-context)
9593 (allout-graphics-modification-handler): Fix typos in docstrings.
9594 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9595
9596 * cmuscheme.el (scheme-start-file): Doc fix.
9597 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9598 (scheme-input-filter): Use `string-match-p'.
9599
9600 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9601
9602 * dired-x.el: Use Dired consistently in docstrings.
9603
9604 * dired.el: Use Dired consistently in docstrings.
9605 (dired-readin, dired-mode): Use `setq-local'.
9606 (dired-switches-alist): Make defvar-local.
9607 (dired-buffers-for-dir): Use `zerop'.
9608 (dired-safe-switches-p, dired-switches-escape-p)
9609 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9610 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9611 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9612 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9613 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9614 (dired-toggle-marks, dired-mark-files-containing-regexp)
9615 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9616 (dired-flag-auto-save-files, dired-flag-backup-files):
9617 Use `looking-at-p'.
9618 (dired-mark-files-regexp, dired-build-subdir-alist):
9619 Use `string-match-p', `looking-at-p'.
9620
9621 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9622 (direct-print-region-helper): Use `string-match-p'.
9623
9624 2013-06-21 Leo Liu <sdl.web@gmail.com>
9625
9626 * comint.el (comint-redirect-results-list-from-process):
9627 Fix infinite loop.
9628
9629 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9630
9631 * net/eww.el (eww-update-header-line-format): Quote % characters.
9632
9633 2013-06-21 Glenn Morris <rgm@gnu.org>
9634
9635 * play/cookie1.el (cookie): New custom group.
9636 (cookie-file): New option.
9637 (cookie-check-file): New function.
9638 (cookie): Make it interactive. Make start and end messages optional.
9639 Interactively, display the result. Default to cookie-file.
9640 (cookie-insert): Default to cookie-file.
9641 (cookie-snarf): Make start and end messages optional.
9642 Default to cookie-file. Use with-temp-buffer.
9643 (cookie-read): Rename from read-cookie.
9644 Make start and end messages optional. Default to cookie-file.
9645 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9646 Do not autoload it.
9647 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9648 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9649
9650 2013-06-21 Leo Liu <sdl.web@gmail.com>
9651
9652 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9653
9654 2013-06-21 Glenn Morris <rgm@gnu.org>
9655
9656 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9657
9658 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9659 Daniel Hackney <dan@haxney.org>
9660
9661 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9662 Consolidate the single-file vs tarball code.
9663 (package-desc-suffix): New function.
9664 (package-desc-full-name): Don't bother inlining it.
9665 (package-load-descriptor): Return the new package-desc.
9666 (package-mark-obsolete): Remove unused arg `package'.
9667 (package-unpack): Make it work for single files as well.
9668 Make it update package-alist.
9669 (package--make-autoloads-and-stuff): Rename from
9670 package--make-autoloads-and-compile. Don't compile any more.
9671 (package--compile): New function.
9672 (package-generate-description-file): New function, extracted from
9673 package-unpack-single.
9674 (package-unpack-single): Remove.
9675 (package--with-work-buffer): Add indentation and debugging info.
9676 (package-download-single): Remove.
9677 (package-install-from-archive): Rename from package-download-tar, make
9678 it take a pkg-desc, and make it work for single files as well.
9679 (package-download-transaction): Simplify.
9680 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9681 external tar program.
9682 (package-install-from-buffer): Remove `pkg-desc' argument.
9683 Use package-tar-file-info for tar-mode buffers.
9684 (package-install-file): Simplify accordingly.
9685 (package-archive-base): Change to take a pkg-desc.
9686 * tar-mode.el (tar--check-descriptor): New function, extracted from
9687 tar-get-descriptor.
9688 (tar-get-descriptor): Use it.
9689 (tar-get-file-descriptor): New function.
9690 (tar--extract): New function, extracted from tar-extract.
9691 (tar--extract): Use it.
9692 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9693 case the summary uses non-ascii. Adjust to new calling convention of
9694 package-tar-file-info.
9695
9696 2013-06-21 Leo Liu <sdl.web@gmail.com>
9697
9698 * comint.el (comint-redirect-results-list-from-process):
9699 Fix random delay. (Bug#14681)
9700
9701 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9702
9703 * profiler.el (profiler-format-number): Use log, not log10.
9704
9705 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9706
9707 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9708
9709 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9712 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9713 yet available.
9714 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9715 (AUTOGENEL): ... here.
9716 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9717 (cl--defsubst-expand): Use it.
9718
9719 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9720
9721 * subr.el (log10): Move here from C code, and declare as obsolete.
9722 All uses of (log10 X) replaced with (log X 10).
9723
9724 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9727 Declare with `defvar-local'.
9728 (tabulated-list-use-header-line, tabulated-list-entries)
9729 (tabulated-list-padding, tabulated-list-printer)
9730 (tabulated-list-sort-key): Declare with `defvar-local'.
9731 (tabulated-list-init-header, tabulated-list-print-fake-header):
9732 Use `setq-local'.
9733
9734 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9735
9736 * arc-mode.el (archive-mode): Add `archive-write-file' to
9737 `write-contents-functions' also for remote files. (Bug#14652)
9738
9739 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9740
9741 * cus-edit.el (custom-commands): Fix typos.
9742 (custom-display): Fix tooltip text.
9743 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9744 Fix typos in docstrings.
9745 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9746 (custom-unlispify-menu-entry, custom-magic-value-create)
9747 (custom-add-see-also, custom-group-value-create): Use ?\s.
9748 (custom-guess-type, customize-apropos, editable-field)
9749 (custom-face-value-create): Use `string-match-p'.
9750 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9751
9752 * custom.el (custom-load-symbol): Use `string-match-p'.
9753
9754 * ansi-color.el: Convert to lexical binding.
9755 (ansi-colors): Fix URL.
9756 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9757 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9758 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9759
9760 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9763
9764 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9765
9766 2013-06-19 Tom Tromey <tromey@redhat.com>
9767
9768 * net/eww.el (eww-top-url): Remove.
9769 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9770 (eww-render): Set new variables. Don't set eww-top-url.
9771 (eww-handle-link): Handle "prev", "home", and "contents".
9772 Downcase the rel text.
9773 (eww-top-url): Choose best top URL.
9774
9775 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9776
9777 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9778 relying in widget.el. Using widget.el leads to too many
9779 user interface inconsistencies.
9780 (eww-self-insert): Implement entering commands in text fields.
9781 (eww-process-text-input): New function to make text input field editing
9782 work.
9783 (eww-submit): Rewrite to use the new-style form methods.
9784 (eww-select-display): Display the correct selected item.
9785 (eww-change-select): Implement changing the select value.
9786 (eww-toggle-checkbox): Implement radio/checkboxes.
9787 (eww-update-field): Fix compilation error.
9788 (eww-tag-textarea): Implement <textarea>.
9789
9790 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9791 we don't shadow mode-specific bindings.
9792
9793 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9794 nothing to push.
9795
9796 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9797
9798 2013-06-19 Glenn Morris <rgm@gnu.org>
9799
9800 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9801
9802 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9803
9804 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9805 not needed.
9806
9807 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9808
9809 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9810
9811 * net/browse-url.el (browse-url-browser-function):
9812 `eww-browse-url' has the right calling signature, `eww' does not.
9813
9814 2013-06-19 Glenn Morris <rgm@gnu.org>
9815
9816 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9817 Only eval autoloaded macros.
9818 (byte-compile-autoload): Only give the macro warning for macros.
9819
9820 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9821 (ps-underlined-faces): Declare.
9822
9823 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9824 (speedbar-add-supported-extension): Declare.
9825
9826 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9827 Don't include a date stamp in the header of the generated file;
9828 it leads to needless differences between output files.
9829
9830 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9831
9832 * net/secrets.el (secrets-struct-secret-content-type):
9833 Replace check of introspection data by a test call of "CreateItem".
9834 Some servers do not offer introspection.
9835
9836 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 * electric.el (electric-pair-mode): Improve interaction with
9839 electric-layout-mode.
9840 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9841 (electric-pair-syntax): Use text-mode-syntax-table in comments
9842 and strings.
9843 (electric-pair--insert): New function.
9844 (electric-pair-post-self-insert-function): Use it and
9845 electric--after-char-pos.
9846
9847 2013-06-19 Leo Liu <sdl.web@gmail.com>
9848
9849 * progmodes/octave.el (octave-help): Fix regexp.
9850
9851 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852
9853 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9854 (shr-table-horizontal-line): Allow nil as a value, and change the
9855 default.
9856 (shr-insert-table-ruler): Respect the nil value.
9857
9858 2013-06-18 Tom Tromey <tromey@barimba>
9859
9860 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9861 New defvars.
9862 (eww-open-file): New defun.
9863 (eww-render): Initialize new variables.
9864 (eww-display-html): Handle "link" and "a".
9865 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9866 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9867 (eww-back-url): Rename from eww-previous-url.
9868 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9869 New defuns.
9870
9871 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9872
9873 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9874 Distinguish ternary operator tokens from slash symbol and slash
9875 char literal.
9876
9877 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9878
9879 Convert symbol prettification into minor mode and global minor mode.
9880
9881 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9882 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9883 (prettify-symbols--keywords): Rename from
9884 `prog-prettify-symbols-alist' and make a local defvar.
9885 (prettify-symbols--compose-symbol): Rename from
9886 `prog--prettify-font-lock-compose-symbol'.
9887 (prettify-symbols--make-keywords): Rename from
9888 `prog-prettify-font-lock-symbols-keywords' and simplify.
9889 (prog-prettify-install): Remove.
9890 (prettify-symbols-mode): New minor mode, based on
9891 `prog-prettify-install'.
9892 (turn-on-prettify-symbols-mode): New function.
9893 (global-prettify-symbols-mode): New globalized minor mode.
9894
9895 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9896 * progmodes/cfengine.el (cfengine3-mode):
9897 * progmodes/perl-mode.el (perl-mode): Don't call
9898 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9899
9900 2013-06-18 Juri Linkov <juri@jurta.org>
9901
9902 * files-x.el (modify-file-local-variable-message): New function.
9903 (modify-file-local-variable)
9904 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9905 and call `modify-file-local-variable-message' when it's non-nil.
9906 (add-file-local-variable, delete-file-local-variable)
9907 (add-file-local-variable-prop-line)
9908 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9909 and use it. (Bug#9820)
9910
9911 2013-06-18 Juri Linkov <juri@jurta.org>
9912
9913 * emulation/vi.el (vi-shell-op):
9914 * emulation/vip.el (vip-execute-com, ex-command):
9915 * emulation/viper-cmd.el (viper-exec-bang):
9916 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9917 the call of `shell-command-on-region'. (Bug#14637)
9918
9919 * simple.el (shell-command-on-region): Doc fix.
9920
9921 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9924 (bug#14633).
9925
9926 2013-06-18 Glenn Morris <rgm@gnu.org>
9927
9928 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9929
9930 * newcomment.el (comment-search-forward, comment-search-backward):
9931 Doc fix. (Bug#14376)
9932
9933 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9934
9935 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9936 (buffer-face-mode-invoke): Doc fix.
9937
9938 2013-06-18 Matthias Meulien <orontee@gmail.com>
9939
9940 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9941 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9942
9943 2013-06-18 Glenn Morris <rgm@gnu.org>
9944
9945 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9946 Replace obsolete function generic-make-keywords with its expansion.
9947
9948 * progmodes/python.el (ffap-alist): Declare.
9949
9950 * textmodes/reftex.el (bibtex-mode-map): Declare.
9951
9952 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9955 (package-unpack, package-unpack-single): Return the pkg-dir.
9956 (package-download-transaction): Use it to update package-alist.
9957
9958 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959
9960 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9961 possible choice.
9962
9963 2013-06-17 Juri Linkov <juri@jurta.org>
9964
9965 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9966
9967 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9968
9969 * emacs-lisp/package.el (package-load-descriptor):
9970 Remove `with-syntax-table' call, `read' doesn't need it.
9971 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9972
9973 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9974
9975 * startup.el (command-line): Expand package name returned by
9976 `package--description-file' (bug#14639).
9977
9978 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9979
9980 * emacs-lisp/package.el (package-load-descriptor): Do not call
9981 `emacs-lisp-mode', just use its syntax table.
9982
9983 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9986 `font-lock-extra-managed-props' if any prettifying keyword is added.
9987 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9988 (prog-mode): Use `setq-local'.
9989
9990 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * international/characters.el (standard-case-table): Set syntax of ?»
9993 and ?« to punctuation.
9994
9995 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9996
9997 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9998 Save relevant match data before calling `syntax-ppss' (bug#14595).
9999
10000 2013-06-15 Juri Linkov <juri@jurta.org>
10001
10002 * files-x.el (modify-file-local-variable-prop-line): Add local
10003 variables to the end of the existing comment on the first line.
10004 Use `file-auto-mode-skip' to skip interpreter magic line,
10005 and also skip XML declaration.
10006
10007 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * startup.el (package--builtin-versions): New var.
10010 (package-subdirectory-regexp): Remove.
10011 (package--description-file): Hard code its value instead.
10012
10013 * emacs-lisp/package.el: Don't activate packages older than builtin.
10014 (package-obsolete-list): Rename from package-obsolete-alist, and make
10015 it into a simple list of package-desc.
10016 (package-strip-version): Remove.
10017 (package-built-in-p): Use package--builtin-versions.
10018 (package-mark-obsolete): Simplify.
10019 (package-process-define-package): Mark it obsolete if older than the
10020 builtin version.
10021 (package-handle-response): Use line-end-position.
10022 (package-read-archive-contents, package--download-one-archive):
10023 Simplify.
10024 (package--add-to-archive-contents): Skip if older than the builtin or
10025 installed version.
10026 (package-menu-describe-package): Fix last change.
10027 (package-list-unversioned): New var.
10028 (package-menu--generate): Use it.
10029
10030 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10031 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10032 (autoload-builtin-package-versions): New variable.
10033 (autoload-generate-file-autoloads): Use them.
10034 Remove the list of autoloaded functions/macros from the
10035 (autoload...) comments.
10036
10037 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10038
10039 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10040
10041 * simple.el (line-move-partial): Don't jump to the next screen
10042 line as soon as it becomes visible. Instead, continue enlarging
10043 the vscroll until the portion of a tall screen line that's left on
10044 display is about the height of the frame's default font.
10045 (Bug#14567)
10046
10047 2013-06-15 Glenn Morris <rgm@gnu.org>
10048
10049 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10050 compilation-error-regexp-alist void, or local while let-bound.
10051
10052 * progmodes/make-mode.el (makefile-mode-syntax-table):
10053 Treat "=" as punctuation. (Bug#14614)
10054
10055 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10056
10057 * help-fns.el (describe-variable):
10058 Add extra line for permanent-local variables.
10059
10060 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10061
10062 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10063 Add export, import, library. (Bug#9164)
10064 (library): Set indent function.
10065
10066 2013-06-14 Glenn Morris <rgm@gnu.org>
10067
10068 * term/xterm.el (xterm--query):
10069 Stop after first matching handler. (Bug#14615)
10070
10071 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10072
10073 Add support for dired in saveplace.
10074 * dired.el (dired-initial-position-hook): New variable.
10075 (dired-initial-position): Call hook to place cursor position.
10076 * saveplace.el (save-place-to-alist): Add dired position.
10077 (save-place-dired-hook): New function.
10078
10079 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10082 through a symbol rather than letrec.
10083
10084 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10085 (package-desc): Add `dir' field.
10086 (package-desc-full-name): New function.
10087 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10088 (package-maybe-load-descriptor): Remove.
10089 (package-load-all-descriptors): Just call package-load-descriptor.
10090 (package--disabled-p): New function.
10091 (package-desc-vers, package-desc-doc): Remove aliases.
10092 (package--dir): Remove function.
10093 (package-activate): Check if a package is disabled.
10094 (package-process-define-package): New function, extracted from
10095 define-package.
10096 (define-package): Turn into a place holder.
10097 (package-unpack-single, package-tar-file-info):
10098 Use package--description-file.
10099 (package-compute-transaction): Use package--disabled-p.
10100 (package-download-transaction): Don't call
10101 package-maybe-load-descriptor since they're all loaded anyway.
10102 (package-install): Change argument to be a pkg-desc.
10103 (package-delete): Use a single pkg-desc argument.
10104 (describe-package-1): Use package-desc-dir instead of package--dir.
10105 Use package-desc property instead of package-symbol.
10106 (package-install-button-action): Adjust accordingly.
10107 (package--push): Rewrite.
10108 (package-menu--print-info): Adjust accordingly. Change the ID format
10109 to be a pkg-desc.
10110 (package-menu-describe-package, package-menu-get-status)
10111 (package-menu--find-upgrades, package-menu-mark-upgrades)
10112 (package-menu-execute, package-menu--name-predicate):
10113 Adjust accordingly.
10114 * startup.el (package--description-file): New function.
10115 (command-line): Use it.
10116 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10117 Use package-desc-version.
10118
10119 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10120 (byte-compile-preprocess): Use it.
10121 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10122 can't quite recognize.
10123 (byte-compile-add-to-list): Remove.
10124 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10125 (cconv-closure-convert): Add assertion.
10126
10127 * emacs-lisp/map-ynp.el: Use lexical-binding.
10128 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10129 Factor out some repeated code.
10130
10131 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * subr.el (with-eval-after-load): New macro.
10134 (eval-after-load): Allow form to be a function.
10135 take advantage of lexical-binding.
10136 (do-after-load-evaluation): Use dolist and adjust to new format.
10137 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10138
10139 2013-06-13 Juri Linkov <juri@jurta.org>
10140
10141 * replace.el (perform-replace): Display "symbol " and other search
10142 modes from `isearch-message-prefix' in the *Help* buffer.
10143
10144 * isearch.el (isearch-query-replace): Add " symbol" and other
10145 possible search modes from `isearch-message-prefix' to the prompt.
10146 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10147 when reading a regexp to collect.
10148
10149 2013-06-13 Juri Linkov <juri@jurta.org>
10150
10151 * isearch.el (word-search-regexp): Match whitespace if the search
10152 string begins or ends in whitespace. The LAX arg is applied to
10153 both ends of the search string. Use `regexp-quote' and explicit
10154 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10155 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10156 boundaries are replaced with symbol boundaries, and characters
10157 between symbols match non-word non-symbol syntax. (Bug#14602)
10158
10159 2013-06-13 Juri Linkov <juri@jurta.org>
10160
10161 * isearch.el (isearch-del-char): Don't exceed the length of
10162 `isearch-string' by the prefix arg. (Bug#14563)
10163
10164 2013-06-13 Juri Linkov <juri@jurta.org>
10165
10166 * isearch.el (isearch-yank-word, isearch-yank-line)
10167 (isearch-char-by-name, isearch-quote-char)
10168 (isearch-printing-char, isearch-process-search-char):
10169 Add optional count prefix arg. (Bug#14563)
10170
10171 * international/isearch-x.el
10172 (isearch-process-search-multibyte-characters):
10173 Add optional count prefix arg.
10174
10175 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10178 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10179 lexical-binding.
10180
10181 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10182
10183 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10184
10185 2013-06-13 Glenn Morris <rgm@gnu.org>
10186
10187 * startup.el (tty-handle-args):
10188 Don't just discard "--" and anything after. (Bug#14608)
10189
10190 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10191
10192 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10193
10194 Implement changes in Secret Service API. Make it backward compatible.
10195 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10196 (secrets-create-item): Use it. Prefix properties with interface.
10197
10198 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10199
10200 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10201 (term-emulate-terminal): Respect term-suppress-hard-newline.
10202
10203 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10204
10205 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10206 Only remove a `thumb-file' overlay. (Bug#14548)
10207
10208 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10209
10210 * mail/reporter.el (reporter-submit-bug-report):
10211 Handle missing package-name. (Bug#14600)
10212
10213 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10214
10215 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10216 (reftex-citation-prompt, reftex-default-bibliography)
10217 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10218 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10219 (reftex-bib-sort-author, reftex-bib-sort-year)
10220 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10221 (reftex-extract-bib-entries-from-thebibliography)
10222 (reftex-get-bibkey-default, reftex-get-bib-names)
10223 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10224 (reftex-format-bib-entry, reftex-parse-bibitem)
10225 (reftex-format-bibitem, reftex-do-citation)
10226 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10227 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10228 (reftex-insert-bib-matches, reftex-format-citation)
10229 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10230 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10231 existing comments into docstrings.
10232
10233 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10234
10235 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10236
10237 2013-06-12 Andreas Schwab <schwab@suse.de>
10238
10239 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10240 for auto-save files.
10241
10242 2013-06-12 Glenn Morris <rgm@gnu.org>
10243
10244 * ido.el (ido-delete-ignored-files): Remove.
10245 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10246 Go back to calling ido-ignore-item-p directly.
10247
10248 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10249
10250 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10251
10252 * ido.el (ido-delete-ignored-files): New function,
10253 split from ido-make-file-list-1.
10254 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10255 (ido-make-file-list-1): Use ido-delete-ignored-files.
10256
10257 2013-06-12 Leo Liu <sdl.web@gmail.com>
10258
10259 * progmodes/octave.el (inferior-octave-startup)
10260 (inferior-octave-completion-table)
10261 (inferior-octave-track-window-width-change)
10262 (octave-eldoc-function-signatures, octave-help)
10263 (octave-find-definition): Use single quoted strings.
10264 (inferior-octave-startup-args): Change default value.
10265 (inferior-octave-startup): Do not hard code "-i" and
10266 "--no-line-editing".
10267 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10268 (inferior-octave-directory-tracker): Use it.
10269 (octave-goto-function-definition): Robustify.
10270 (octave-help): Support highlighting operators in 'See also'.
10271 (octave-find-definition): Find subfunctions only in Octave mode.
10272
10273 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * help-fns.el (help-fns--compiler-macro): If the handler function is
10276 named, then put a link to it.
10277 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10278 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10279 (cl-typep): Use it.
10280 (cl-eval-when): Simplify debug spec.
10281 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10282 compiler-macro function instead of setting `compiler-macro-file'.
10283
10284 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10285
10286 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10287 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10288
10289 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10290 Daniel Hackney <dan@haxney.org>
10291
10292 First part of Daniel Hackney's patch to package.el.
10293 * emacs-lisp/package.el: Use defstruct.
10294 (package-desc): New, main struct.
10295 (package--bi-desc, package--ac-desc): New structs, used to describe the
10296 format in external files.
10297 (package-desc-vers): Replace with package-desc-version accessor.
10298 (package-desc-doc): Replace with package-desc-summary accessor.
10299 (package-activate-1): Remove `package' arg since the pkg-vec now
10300 includes the name.
10301 (define-package): Use package-desc-from-define.
10302 (package-unpack-single): Change file-name arg to be a symbol.
10303 (package--add-to-archive-contents): Use package-desc-create and new
10304 accessor functions to package--ac-desc.
10305 (package-buffer-info, package-tar-file-info): Return a package-desc.
10306 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10307 arg to be a package-desc.
10308 (package-install-file): Adjust accordingly. Use \' to match EOS.
10309 (package--from-builtin): New function.
10310 (describe-package-1, package-menu--generate): Use it.
10311 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10312 (package-generate-autoloads): Idem and return the name of the file.
10313 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10314 Change pkg-info arg to be a package-desc.
10315 Use package-make-ac-desc.
10316 (package-upload-file): Use \' to match EOS.
10317 * finder.el (finder-compile-keywords): Use package-make-builtin.
10318
10319 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * vc/vc.el (vc-deduce-fileset): Change error message.
10322 (vc-read-backend): New function.
10323 (vc-next-action): Use it.
10324
10325 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10326
10327 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10328 (prolog-font-lock-keywords): Use regexp-opt instead.
10329 Don't manually highlight strings.
10330 (prolog-mode-variables): Simplify comment-start-skip.
10331 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10332
10333 * emacs-lisp/generic.el (generic--normalise-comments)
10334 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10335 (generic-mode-set-comments): Use them.
10336 (generic-bracket-support): Use setq-local.
10337 (generic-make-keywords-list): Declare obsolete.
10338
10339 2013-06-11 Glenn Morris <rgm@gnu.org>
10340
10341 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10342 Prettify after setting font-lock-defaults. (Bug#14574)
10343
10344 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10345
10346 * replace.el (query-replace, occur-read-regexp-defaults-function)
10347 (replace-search):
10348 * subr.el (declare-function, number-sequence, local-set-key)
10349 (substitute-key-definition, locate-user-emacs-file)
10350 (with-silent-modifications, split-string, eval-after-load):
10351 Fix typos, remove unneeded backslashes and reflow some docstrings.
10352
10353 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10356 default for Elisp files.
10357
10358 2013-06-11 Glenn Morris <rgm@gnu.org>
10359
10360 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10361 although define-derived-mode was doing this anyway. (Bug#14583)
10362
10363 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10364
10365 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10366 Fix make-variable-buffer-local call to refer to the correct variable.
10367
10368 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10369
10370 * eshell/em-term.el (eshell-visual-commands)
10371 (eshell-visual-subcommands, eshell-visual-options):
10372 Add summary line to docstrings. Add cross-references.
10373
10374 2013-06-10 Glenn Morris <rgm@gnu.org>
10375
10376 * epa.el (epa-read-file-name): New function. (Bug#14510)
10377 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10378
10379 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10380
10381 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10382 output redirection to be ignored with visual commands.
10383
10384 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10385
10386 * eshell/em-term.el (eshell-visual-command-p): New function.
10387 (eshell-term-initialize): Move long lambda to separate function
10388 eshell-visual-command-p.
10389 * eshell/em-dirs.el (eshell-dirs-initialise):
10390 * eshell/em-script.el (eshell-script-initialize):
10391 Add missing #' to lambda.
10392
10393 2013-06-08 Leo Liu <sdl.web@gmail.com>
10394
10395 * progmodes/octave.el (octave-add-log-current-defun): New function.
10396 (octave-mode): Set add-log-current-defun-function.
10397 (octave-goto-function-definition): Do not move point if not found.
10398 (octave-find-definition): Enhance to try subfunctions first.
10399
10400 2013-06-08 Glenn Morris <rgm@gnu.org>
10401
10402 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10403 (byte-compile-backward-char, byte-compile-backward-word):
10404 Improve previous change, to handle non-explicit nil.
10405
10406 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10409 (smie--opener/closer-at-point): New function.
10410 (smie--matching-block-data): Use it. Don't match from right after an
10411 opener or right before a closer. Obey smie-blink-matching-inners.
10412 Don't signal a mismatch for repeated inners like "switch..case..case".
10413
10414 2013-06-07 Leo Liu <sdl.web@gmail.com>
10415
10416 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10417 to t. (Bug#14303)
10418 (octave-function-header-regexp): Fix. (Bug#14570)
10419 (octave-help-mode-finish-hook, octave-help-mode-finish):
10420 Remove. Just use temp-buffer-show-hook.
10421
10422 * newcomment.el (comment-search-backward): Revert last change.
10423 (Bug#14434)
10424
10425 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10426
10427 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10428
10429 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10430 through xargs, to avoid failure due to MS-Windows limitations on
10431 command-line length.
10432
10433 2013-06-06 Glenn Morris <rgm@gnu.org>
10434
10435 * font-lock.el (lisp-font-lock-keywords-2):
10436 Treat user-error like error.
10437
10438 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10439 (byte-compile-backward-char, byte-compile-backward-word):
10440 Handle explicit nil arguments. (Bug#14565)
10441
10442 2013-06-05 Alan Mackenzie <acm@muc.de>
10443
10444 * isearch.el (isearch-allow-prefix): New user option.
10445 (isearch-other-meta-char): Don't exit isearch when a prefix
10446 argument is typed whilst `isearch-allow-prefix' is non-nil.
10447 (Bug#9706)
10448
10449 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 * autorevert.el (auto-revert-notify-handler): Use memq.
10452 Hide assertion failure.
10453
10454 * skeleton.el: Use cl-lib.
10455 (skeleton-further-elements): Use defvar-local.
10456 (skeleton-insert): Use cl-progv.
10457
10458 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10459
10460 * progmodes/prog-mode.el (prog-prettify-symbols)
10461 (prog-prettify-install): Update docstrings.
10462
10463 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * simple.el: Move all the prog-mode code to prog-mode.el.
10466 * progmodes/prog-mode.el: New file.
10467 * loadup.el: Add prog-mode.el.
10468
10469 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10470
10471 * simple.el (prog-prettify-symbols): Add version.
10472 (prog-prettify-install): Add convenience function to prettify symbols.
10473
10474 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10475 (perl--augmented-font-lock-keywords-1)
10476 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10477 variables and use it.
10478
10479 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10480 (cfengine3-mode): Remove unneeded variable and use it.
10481
10482 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10483 (lisp--augmented-font-lock-keywords-1)
10484 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10485 Remove unneeded variables and use it.
10486
10487 2013-06-05 João Távora <joaotavora@gmail.com>
10488
10489 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10490 to point when opening the connection. (Bug#14380)
10491
10492 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * subr.el (load-history-regexp, load-history-filename-element)
10495 (eval-after-load, after-load-functions, do-after-load-evaluation)
10496 (eval-next-after-load, display-delayed-warnings)
10497 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10498 definition of save-match-data.
10499 (overriding-local-map): Remove accidental obsolescence declaration.
10500
10501 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10502
10503 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10504
10505 Generalize symbol prettify support to prog-mode and implement it
10506 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10507 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10508 (prog--prettify-font-lock-compose-symbol)
10509 (prog-prettify-font-lock-symbols-keywords): New variables and
10510 functions to support symbol prettification.
10511 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10512 (lisp--augmented-font-lock-keywords-1)
10513 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10514 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10515 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10516 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10517 Implement prettify of -> => :: strings.
10518 * progmodes/perl-mode.el (perl-prettify-symbols)
10519 (perl--font-lock-compose-symbol)
10520 (perl--font-lock-symbols-keywords): Move to prog-mode.
10521 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10522 (perl-font-lock-keywords-1)
10523 (perl-font-lock-keywords-2): Remove explicit prettify support.
10524 (perl--augmented-font-lock-keywords)
10525 (perl--augmented-font-lock-keywords-1)
10526 (perl--augmented-font-lock-keywords-2, perl-mode):
10527 Implement prettify support.
10528
10529 2013-06-05 Leo Liu <sdl.web@gmail.com>
10530
10531 Re-implement smie matching block highlight using
10532 show-paren-data-function. (Bug#14395)
10533 * emacs-lisp/smie.el (smie-matching-block-highlight)
10534 (smie--highlight-matching-block-overlay)
10535 (smie--highlight-matching-block-lastpos)
10536 (smie-highlight-matching-block)
10537 (smie-highlight-matching-block-mode): Remove.
10538 (smie--matching-block-data-cache): New variable.
10539 (smie--matching-block-data): New function.
10540 (smie-setup): Use smie--matching-block-data for
10541 show-paren-data-function.
10542
10543 * progmodes/octave.el (octave-mode-menu): Fix.
10544 (octave-find-definition): Skip garbage lines.
10545
10546 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 Fix compilation error with simultaneous dynamic+lexical scoping.
10549 Add warning when a defvar appears after the first let-binding.
10550 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10551 (byte-compile-close-variables): Initialize it.
10552 (byte-compile--declare-var): New function.
10553 (byte-compile-file-form-defvar)
10554 (byte-compile-file-form-define-abbrev-table)
10555 (byte-compile-file-form-custom-declare-variable): Use it.
10556 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10557 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10558 (byte-compile-bind): Handle dynamic bindings that shadow
10559 lexical bindings.
10560 (byte-compile-unbind): Make arg non-optional.
10561 (byte-compile-let): Simplify.
10562 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10563 (cconv--analyse-function, cconv-analyse-form): Populate it.
10564 Protect byte-compile-bound-variables to limit the scope of defvars.
10565 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10566 Remove unneeded rule for `declare'.
10567
10568 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10569 so as to avoid depending on cl-adjoin at run-time.
10570 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10571
10572 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10573 (macroexp--warn-and-return): Use it.
10574
10575 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * subr.el: Convert to lexical binding.
10578 (overriding-local-map): Make obsolete.
10579 (add-to-list): Doc fix. Add compiler macro.
10580 (read-key): Swap values of local maps.
10581
10582 2013-06-05 Leo Liu <sdl.web@gmail.com>
10583
10584 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10585
10586 2013-06-04 Leo Liu <sdl.web@gmail.com>
10587
10588 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10589 (compilation-auto-jump): Suppress the "Mark set" message to give
10590 way to exit message.
10591
10592 2013-06-04 Alan Mackenzie <acm@muc.de>
10593
10594 Remove faulty optimisation from indentation calculation.
10595 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10596 search limit based on 2000 characters back from indent-point.
10597
10598 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10599
10600 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10601
10602 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * emacs-lisp/lisp.el: Use lexical-binding.
10605 (lisp--local-variables-1, lisp--local-variables): New functions.
10606 (lisp--local-variables-completion-table): New var.
10607 (lisp-completion-at-point): Use it complete let-bound vars.
10608
10609 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10610 eagerly (bug#14422).
10611
10612 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10613
10614 * autorevert.el (auto-revert-notify-enabled)
10615 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10616 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10617 (auto-revert-notify-handler): Handle also gfilenotify.
10618
10619 * subr.el (file-notify-handle-event): New defun. Replacing ...
10620 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10621 Remove.
10622
10623 2013-06-03 Juri Linkov <juri@jurta.org>
10624
10625 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10626 `M-s h .'. (Bug#14427)
10627
10628 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10629 command `hi-lock-face-symbol-at-point'.
10630 (hi-lock-face-symbol-at-point): New command.
10631 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10632 (hi-lock-menu): Add `highlight-symbol-at-point'.
10633 (hi-lock-mode): Doc fix.
10634
10635 * isearch.el (isearch-forward-symbol-at-point): New command.
10636 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10637 (isearch-highlight-regexp): Add a regexp which matches
10638 words/symbols for word/symbol mode.
10639
10640 * subr.el (find-tag-default-bounds): New function with the body
10641 mostly moved from `find-tag-default'.
10642 (find-tag-default): Move most code to `find-tag-default-bounds',
10643 call it and apply `buffer-substring-no-properties' afterwards.
10644
10645 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10646
10647 * eshell/em-term.el (eshell-term-initialize):
10648 Use `cl-intersection' rather than `intersection'.
10649
10650 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10651
10652 * vc/log-view.el: Doc fix.
10653 (log-view-mode-map): Copy keymap from `special-mode-map'.
10654
10655 2013-06-02 Eric Ludlam <zappo@gnu.org>
10656
10657 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10658 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10659 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10660 (eieio-unbound, eieio-default-superclass)
10661 (eieio--define-field-accessors, method-static, method-before)
10662 (method-primary, method-after, method-num-lists)
10663 (method-generic-before, method-generic-primary)
10664 (method-generic-after, method-num-slots)
10665 (eieio-specialized-key-to-generic-key)
10666 (eieio--check-type, class-v, class-p)
10667 (eieio-class-name, define-obsolete-function-alias)
10668 (eieio-class-parents-fast, eieio-class-children-fast)
10669 (same-class-fast-p, class-constructor, generic-p)
10670 (generic-primary-only-p, generic-primary-only-one-p)
10671 (class-option-assoc, class-option, eieio-object-p)
10672 (class-abstract-p, class-method-invocation-order)
10673 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10674 (eieio-class-un-autoload, eieio-defclass)
10675 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10676 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10677 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10678 (eieio-defgeneric-reset-generic-form)
10679 (eieio-defgeneric-form-primary-only)
10680 (eieio-defgeneric-reset-generic-form-primary-only)
10681 (eieio-defgeneric-form-primary-only-one)
10682 (eieio-defgeneric-reset-generic-form-primary-only-one)
10683 (eieio-unbind-method-implementations)
10684 (eieio--defmethod, eieio--typep)
10685 (eieio-perform-slot-validation, eieio-validate-slot-value)
10686 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10687 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10688 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10689 (eieio-slot-name-index, eieio-class-slot-name-index)
10690 (eieio-set-defaults, eieio-initarg-to-attribute)
10691 (eieio-attribute-to-initarg, eieio-c3-candidate)
10692 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10693 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10694 (eieio-class-precedence-list, eieio-generic-call-methodname)
10695 (eieio-generic-call-arglst, eieio-generic-call-key)
10696 (eieio-generic-call-next-method-list)
10697 (eieio-pre-method-execution-functions, eieio-generic-call)
10698 (eieio-generic-call-primary-only, eieiomt-method-list)
10699 (eieiomt-optimizing-obarray, eieiomt-install)
10700 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10701 (eieio-generic-form, eieio-defmethod, make-obsolete)
10702 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10703 (defclass): Remove `eval-and-compile' from macro.
10704 (call-next-method, shared-initialize): Instead of using
10705 `scoped-class' variable, use new eieio--scoped-class, and
10706 eieio--with-scoped-class.
10707 (initialize-instance): Rename local variable 'scoped-class' to
10708 'this-class' to remove ambiguitity from old global.
10709
10710 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10711 eieio.el.
10712 (eieio--scoped-class-stack): New variable.
10713 (eieio--scoped-class): New fcn.
10714 (eieio--with-scoped-class): New scoping macro.
10715 (eieio-defclass): Use pushnew instead of add-to-list.
10716 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10717 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10718 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10719 `scoped-class' variable, use new eieio--scoped-class, and
10720 eieio--with-scoped-class.
10721
10722 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10723
10724 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10725
10726 * eshell/esh-ext.el (eshell-external-command): Pass args to
10727 `eshell-find-interpreter'.
10728 (eshell-find-interpreter): Add new second parameter ARGS.
10729
10730 * eshell/em-script.el (eshell-script-initialize): Add second arg
10731 to the function added as MATCH to `eshell-interpreter-alist'.
10732
10733 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10734 the function added as MATCH to `eshell-interpreter-alist'.
10735
10736 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10737 (eshell-visual-options): New defcustom.
10738 (eshell-escape-control-x): Adapt docstring.
10739 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10740 `eshell-visual-options' in addition to `eshell-visual-commands'.
10741 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10742
10743 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10744
10745 * progmodes/python.el (python-indent-block-enders): Add break,
10746 continue and raise keywords.
10747
10748 2013-06-01 Glenn Morris <rgm@gnu.org>
10749
10750 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10751
10752 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10753 * progmodes/cc-cmds.el (delete-forward-p):
10754 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10755 * progmodes/cc-engine.el (buffer-syntactic-context):
10756 * progmodes/cc-fonts.el (face-property-instance):
10757 * progmodes/cc-mode.el (set-keymap-parents):
10758 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10759 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10760 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10761 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10762 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10763
10764 * progmodes/cc-vars.el (other): Emacs has this widget since
10765 at least 21.1, so don't (re)define it.
10766
10767 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10768 Replace the obsolete alias pcomplete-arg-quote-list.
10769
10770 2013-06-01 Leo Liu <sdl.web@gmail.com>
10771
10772 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10773 punctuation syntax.
10774 (inferior-octave-minimal-columns)
10775 (inferior-octave-last-column-width): New variables.
10776 (inferior-octave-track-window-width-change): New function.
10777 (inferior-octave-mode): Adjust column width so that Octave output,
10778 for example from 'ls', can fit into the window nicely.
10779
10780 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10781
10782 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10783 Highlight expansions inside regexp literals.
10784
10785 2013-05-31 Glenn Morris <rgm@gnu.org>
10786
10787 * obsolete/sym-comp.el (symbol-complete):
10788 Replace obsolete completion-annotate-function.
10789
10790 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10791
10792 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10793
10794 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10795 New function, checks if point is inside a literal that allows
10796 expression expansion.
10797 (ruby-syntax-propertize-expansion): Use it.
10798 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10799 around the body.
10800
10801 2013-05-30 Juri Linkov <juri@jurta.org>
10802
10803 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10804 to "\M-si".
10805 (isearch-invisible): New variable.
10806 (isearch-forward): Doc fix.
10807 (isearch-mode): Set `isearch-invisible'
10808 to the value of `search-invisible'.
10809 (isearch-toggle-case-fold): Doc fix.
10810 (isearch-toggle-invisible): New command.
10811 (isearch-query-replace): Let-bind `search-invisible'
10812 to the value of `isearch-invisible'.
10813 (isearch-search): Use `isearch-invisible' instead of
10814 `search-invisible'. Let-bind `search-invisible'
10815 to the value of `isearch-invisible'. (Bug#11378)
10816
10817 2013-05-30 Juri Linkov <juri@jurta.org>
10818
10819 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10820 call when `query-flag' is nil and `search-invisible' is non-nil.
10821 (Bug#11746)
10822
10823 2013-05-30 Glenn Morris <rgm@gnu.org>
10824
10825 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10826
10827 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10828 (cc-require): Suppress spurious "noruntime" warnings.
10829 (cc-require-when-compile): Use fboundp, for sake of compiler.
10830
10831 * progmodes/cc-mode.el: Move load of cc-vars before that of
10832 cc-langs (which in turn loads cc-vars), to quieten compiler.
10833
10834 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * paren.el: Simplify the code.
10837 (show-paren-mode): Always start the timer.
10838 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10839 (show-paren--overlay, show-paren--overlay-1): Rename from
10840 show-paren-overlay and show-paren-overlay-1, and initialize to an
10841 overlay rather than to nil.
10842 (show-paren-function): Misc cleanup and simplifications.
10843
10844 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * paren.el (show-paren-data-function): New hook.
10847 (show-paren--default): New function, extracted from show-paren-function.
10848 (show-paren-function): Use show-paren-data-function.
10849
10850 2013-05-30 Glenn Morris <rgm@gnu.org>
10851
10852 * ielm.el (ielm-map, ielm-complete-symbol):
10853 Use completion-at-point rather than obsolete functions.
10854 (inferior-emacs-lisp-mode): Doc fix.
10855 Set completion-at-point-functions, rather than
10856 comint-dynamic-complete-functions.
10857
10858 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10859 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10860 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10861
10862 * image.el (image-animated-p): Tweak definition.
10863
10864 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10865 (rlogin-process-connection-type): Tweak default. Add set-after.
10866 (rlogin-host): Doc fix.
10867 (rlogin): Tweak prompt.
10868 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10869
10870 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10871 * progmodes/tcl.el (inferior-tcl-mode-map):
10872 Use completion-at-point rather than obsolete alias.
10873
10874 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10875
10876 * minibuffer.el (read-file-name-completion-ignore-case):
10877 Move before completion--in-region, for eager macro expansion.
10878
10879 2013-05-29 Juri Linkov <juri@jurta.org>
10880
10881 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10882 for total count of matching lines. Add `global-matches' for total
10883 count of matches. Rename `matches' to `lines' for count of
10884 matching lines. Add `matches' for count of matches.
10885 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10886 to `prev-line' for line number of prev match endpt.
10887 Increment `matches' for every match. Print the number of
10888 matching lines in the header.
10889 (occur-context-lines): Rename `lines' to `curr-line'.
10890 Rename `prev-lines' to `prev-line'. (Bug#14017)
10891
10892 2013-05-29 Juri Linkov <juri@jurta.org>
10893
10894 * replace.el (perform-replace): Add `skip-read-only-count',
10895 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10896 Increment them for corresponding conditions and report the number
10897 of skipped occurrences in the final message. (Bug#11746)
10898 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10899 (replace-string, replace-regexp): Doc fix.
10900
10901 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10904
10905 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10906 prog-mode-map (bug#14504).
10907
10908 2013-05-29 Leo Liu <sdl.web@gmail.com>
10909
10910 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10911 (octave-help): Small simplification.
10912
10913 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10914 off the highlight first.
10915
10916 2013-05-29 Glenn Morris <rgm@gnu.org>
10917
10918 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10919 Handle idlwave-last-system-routine-info-cons-cell being nil.
10920
10921 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10922 (idlwave-write-paths): Simplify via with-temp-buffer.
10923
10924 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10925 * emulation/cua-rect.el: Also load cua-base at run time.
10926
10927 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10928 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10929 (cperl-imenu-on-info): Require imenu.
10930
10931 2013-05-28 Alan Mackenzie <acm@muc.de>
10932
10933 Handle "capitalised keywords" correctly.
10934 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10935
10936 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10937
10938 * eshell/em-unix.el: Add -r option to cp.
10939
10940 2013-05-28 Glenn Morris <rgm@gnu.org>
10941
10942 * vc/vc-arch.el (vc-exec-after): Declare.
10943 (vc-switches): Autoload.
10944 * vc/vc-bzr.el: No need to require vc when compiling.
10945 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10946 (vc-resynch-buffer, vc-dir-refresh): Declare.
10947 (vc-setup-buffer, vc-switches): Autoload.
10948 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10949 (vc-resynch-buffer): Declare.
10950 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10951 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10952 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10953 (grep-read-regexp, grep-read-files, grep-expand-template)
10954 (vc-dir-refresh): Declare.
10955 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10956 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10957 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10958 * vc/vc-mtn.el (vc-exec-after): Declare.
10959 (vc-switches): Autoload.
10960 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10961 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10962 (vc-file-tree-walk): Declare.
10963 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10964 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10965 (vc-tag-precondition, vc-rename-master): Autoload.
10966 * vc/vc-svn.el (vc-exec-after): Declare.
10967 (vc-switches, vc-setup-buffer): Autoload.
10968 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10969 Autoload.
10970 (vc-resynch-buffer): Declare.
10971
10972 * obsolete/fast-lock.el (byte-compile-warnings):
10973 Don't warn about obsolete features in this obsolete file.
10974
10975 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10976 Move definition before use.
10977
10978 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10979 (dun-unix-verbs): Remove dun-zippy.
10980 (dun-zippy): Remove function.
10981
10982 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10983
10984 2013-05-27 Juri Linkov <juri@jurta.org>
10985
10986 * replace.el (replace-search): New function with code moved out
10987 from `perform-replace'.
10988 (replace-highlight, replace-dehighlight): Move function definitions
10989 up closer to `replace-search'. (Bug#11746)
10990
10991 2013-05-27 Juri Linkov <juri@jurta.org>
10992
10993 * replace.el (perform-replace): Ignore invisible matches.
10994 In addition to checking `query-replace-skip-read-only', also
10995 filter out matches by calling `run-hook-with-args-until-failure'
10996 on `isearch-filter-predicates', and also check `search-invisible'
10997 for t or call `isearch-range-invisible'.
10998 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10999
11000 2013-05-27 Juri Linkov <juri@jurta.org>
11001
11002 * isearch.el (isearch-filter-predicates): Rename from
11003 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11004 (isearch-message-prefix): Display text from the property
11005 `isearch-message-prefix' of the currently active filters.
11006 (isearch-search): Don't compare `isearch-filter-predicate' with
11007 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11008 on `isearch-filter-predicates'. Also check `search-invisible' for t
11009 or call `isearch-range-invisible'.
11010 (isearch-filter-visible): Make obsolete.
11011 (isearch-lazy-highlight-search):
11012 Call `run-hook-with-args-until-failure' on
11013 `isearch-filter-predicates' and use `isearch-range-invisible'.
11014
11015 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11016 `isearch-filter-predicates' instead of `funcall'ing
11017 `isearch-filter-predicate'.
11018 (Info-mode): Set `Info-isearch-filter' to
11019 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11020
11021 * dired-aux.el (dired-isearch-filter-predicate-orig):
11022 Remove variable.
11023 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11024 (dired-isearch-filenames-end): Add and remove
11025 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11026 instead of changing the value of `isearch-filter-predicate'.
11027 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11028 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11029 Put property `isearch-message-prefix' to "filename " on
11030 `dired-isearch-filter-filenames'.
11031
11032 * wdired.el (wdired-change-to-wdired-mode):
11033 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11034 locally instead of changing `isearch-filter-predicate'.
11035 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11036
11037 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11038
11039 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11040 return the commit hash (Bug#14459). Also set the
11041 `vc-git-detached' property.
11042 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11043 (vc-git-mode-line-string): Use the same help-echo format whether
11044 in detached mode or not, because we know the actual revision now.
11045 When in detached mode, shorten the revision to 7 chars.
11046
11047 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * emacs-lisp/easy-mmode.el (define-minor-mode):
11050 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11051 mode hook and provide a docstring.
11052
11053 2013-05-27 Alan Mackenzie <acm@muc.de>
11054
11055 Remove spurious syntax-table text properties inserted by C-y.
11056 * progmodes/cc-mode.el (c-after-change): Also clear hard
11057 syntax-table property with value nil.
11058
11059 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11060
11061 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11062 when reading the events; the buffer layout shall not be changed.
11063
11064 2013-05-27 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11067 New variable.
11068 (inferior-octave-directory-tracker): Automatically re-sync
11069 default-directory.
11070 (octave-help): Improve handling of 'See also'.
11071
11072 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * doc-view.el: Minor naming convention tweaks.
11075 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11076
11077 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11078 even if there's no `display' property yet (bug#14435).
11079
11080 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11081
11082 * subr.el (unmsys--file-name): Rename from reveal-filename.
11083
11084 * Makefile.in (custom-deps, finder-data, autoloads)
11085 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11086 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11087 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11088
11089 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11092 error-completion on the first 2 args of condition-case (bug#14446).
11093 Don't burp at EOB.
11094
11095 2013-05-25 Leo Liu <sdl.web@gmail.com>
11096
11097 * comint.el (comint-previous-matching-input): Do not flood the
11098 *Messages* buffer with trivial messages.
11099
11100 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * progmodes/flymake.el (flymake-nop): Don't return a string.
11103 (flymake-set-at): Fix typo.
11104
11105 * simple.el (read--expression): New function, extracted from
11106 eval-expression. Set completion-at-point-functions (bug#14465).
11107 (eval-expression, eval-minibuffer): Use it.
11108
11109 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11110
11111 * progmodes/flymake.el (flymake-save-buffer-in-file)
11112 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11113 (flymake-selected-frame, flymake-log, flymake-ins-after)
11114 (flymake-set-at, flymake-get-buildfile-from-cache)
11115 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11116 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11117 Refine the doc string.
11118 (flymake-get-file-name-mode-and-masks): Reformat.
11119 (flymake-get-real-file-name-function): Fix a minor bug.
11120
11121 2013-05-24 Juri Linkov <juri@jurta.org>
11122
11123 * progmodes/grep.el (grep-mode-font-lock-keywords):
11124 Support =linenumber= format used by git-grep for lines with
11125 function names. (Bug#13549)
11126
11127 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11130 0 after a semi-colon; it works better for smie-auto-fill.
11131 (octave--indent-new-comment-line): New function.
11132 (octave-indent-new-comment-line): Use it (indirectly).
11133 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11134 modify comment-line-break-function.
11135
11136 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11137 (smie-setup): Use add-function to set it.
11138
11139 2013-05-24 Sam Steingold <sds@gnu.org>
11140
11141 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11142 argument (before the `interactive' argument).
11143
11144 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * image-mode.el (image-mode-winprops): Add winprops to
11147 image-mode-winprops-alist before running
11148 image-mode-new-window-functions.
11149 * doc-view.el (doc-view-new-window-function): Don't delay
11150 doc-view-goto-page via timers (bug#14435).
11151
11152 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11153
11154 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11155 (doc-view-desktop-save-buffer): New function.
11156 (doc-view-restore-desktop-buffer): New function.
11157 (desktop-buffer-mode-handlers):
11158 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11159 handler.
11160 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11161 `desktop-save-buffer' function.
11162
11163 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11164
11165 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11166 (tramp-gvfs-file-name-handler): Raise a user error when
11167 `tramp-gvfs-enabled' is nil.
11168 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11169 Do not raise a user error when loading package. (Bug#14447)
11170
11171 * net/xesam.el: Move to obsolete/.
11172
11173 2013-05-24 Glenn Morris <rgm@gnu.org>
11174
11175 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11176
11177 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11178
11179 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11180 (Info-find-node, Man-getpage-in-background): Declare.
11181
11182 * mail/unrmail.el (unrmail):
11183 Replace obsolete detect-coding-with-priority.
11184
11185 * net/socks.el (socks-split-string): Use this rather than split-string.
11186 (socks-nslookup-host): Update for above change.
11187 (dynamic-choice, s5-dynamic-choice-match)
11188 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11189 Comment out unused code.
11190
11191 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11192 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11193 (gud-tooltip-echo-area): Make obsolete.
11194 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11195
11196 * progmodes/js.el (js--optimize-arglist): Declare.
11197
11198 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11199
11200 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11201 (ediff-window-C): Declare.
11202
11203 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11204 Tweak requires to silence compiler.
11205
11206 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11207 (he-search-string, he-tried-table, he-expand-list)
11208 (he-init-string, he-string-member, he-substitute-string)
11209 (he-reset-string): Declare.
11210
11211 * obsolete/options.el (list-options): Use custom-variable-p,
11212 rather than obsolete alias.
11213
11214 2013-05-23 Sam Steingold <sds@gnu.org>
11215
11216 * simple.el (shell-command-on-region): Pass the `replace' argument
11217 down to `call-process-region' to comply with the doc as reported on
11218 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11219
11220 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/smie.el (smie-indent-forward-token)
11223 (smie-indent-backward-token): Handle string tokens (bug#14381).
11224
11225 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11226
11227 * ielm.el (ielm-menu): New menu.
11228 (inferior-emacs-lisp-mode): Set comment-start.
11229
11230 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11231
11232 * textmodes/reftex.el (reftex-ref-style-toggle):
11233 Fix deactivate action.
11234
11235 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11236 Add cleveref macros.
11237
11238 * textmodes/reftex-parse.el
11239 (reftex-locate-bibliography-files): Accept options for
11240 bibliography commands.
11241 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11242 Add addbibresource. Basic Biblatex support.
11243
11244 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11245
11246 * net/tramp-gvfs.el (top):
11247 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11248 when loading package. (Bug#14447)
11249
11250 2013-05-23 Glenn Morris <rgm@gnu.org>
11251
11252 * progmodes/js.el: No need to load comint when compiling.
11253 (ring-insert, comint-send-string, comint-send-input)
11254 (comint-last-input-end, ido-chop): Declare.
11255
11256 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11257 * vc/ediff-mult.el: Adjust requires.
11258 (ediff-directories-internal, ediff-directory-revisions-internal)
11259 (ediff-patch-file-internal): Declare.
11260 * vc/ediff-ptch.el: Adjust requires.
11261 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11262 (ediff-find-file): Autoload.
11263 * vc/ediff-util.el: No need to load ediff when compiling.
11264 (ediff-regions-internal): Declare.
11265 * vc/ediff-wind.el: Adjust requires.
11266 (ediff-compute-toolbar-width): Define when compiling.
11267 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11268 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11269 (dired-get-filename, dired-get-marked-files)
11270 (ediff-last-dir-patch, ediff-patch-default-directory)
11271 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11272 (ediff-patch-buffer-internal): Declare.
11273
11274 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11275 (ispell-process, ispell-buffer-local-words, lm-summary)
11276 (lm-section-start, lm-section-end): Declare.
11277 (checkdoc-ispell-init): Simplify.
11278
11279 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11280 (he-string-member, he-reset-string, he-substitute-string): Declare.
11281
11282 * eshell/em-ls.el: Adjust requires.
11283 (eshell-glob-regexp): Declare.
11284 * eshell/em-tramp.el: Adjust requires.
11285 (eshell-parse-command): Autoload.
11286 * eshell/em-xtra.el: Adjust requires.
11287 (eshell-parse-command): Autoload.
11288 * eshell/esh-ext.el: Adjust requires.
11289 (eshell-parse-command, eshell-close-handles): Autoload.
11290 * eshell/esh-io.el: Adjust requires.
11291 (eshell-output-filter): Autoload.
11292 * eshell/esh-util.el: No need to load tramp when compiling.
11293 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11294 Declare.
11295 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11296 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11297 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11298 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11299 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11300 * eshell/esh-opt.el, eshell/esh-proc.el:
11301 * eshell/esh-var.el: Adjust requires.
11302 * eshell/eshell.el: Do not require esh-util twice.
11303 (eshell-add-input-to-history): Declare.
11304 (eshell-command): Check history module is active before using it.
11305
11306 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11307
11308 2013-05-22 Leo Liu <sdl.web@gmail.com>
11309
11310 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11311
11312 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11313
11314 * autorevert.el (auto-revert-notify-add-watch)
11315 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11316 it indicates changes in file modification time.
11317
11318 2013-05-22 Glenn Morris <rgm@gnu.org>
11319
11320 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11321 Always delete the autoloaded function from the noruntime and
11322 unresolved functions lists.
11323
11324 * allout.el: No need to load epa, epg, overlay when compiling.
11325 (epg-context-set-passphrase-callback, epg-list-keys)
11326 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11327 (epg-key-user-id-list): Declare.
11328
11329 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11330 (viper-set-parsing-style-toggling-macro)
11331 (viper-set-emacs-state-searchstyle-macros):
11332 Use called-interactively-p on Emacs.
11333 (viper-looking-back): Make it an obsolete alias. Update callers.
11334 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11335 Use looking-back rather than viper-looking-back.
11336 (viper-tmp-insert-at-eob, viper-enlarge-region)
11337 (viper-read-string-with-history, viper-register-to-point)
11338 (viper-append-to-register, viper-change-state-to-vi)
11339 (viper-backward-char-carefully, viper-forward-char-carefully)
11340 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11341 (viper-change-state-to-emacs): Declare.
11342 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11343 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11344 * emulation/viper-mous.el: Do not load viper-cmd.
11345 (viper-backward-char-carefully, viper-forward-char-carefully)
11346 (viper-forward-word, viper-adjust-window): Declare.
11347
11348 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11349
11350 * progmodes/idlw-help.el (idlwave-help-fontify):
11351 Use called-interactively-p.
11352
11353 * term/w32console.el (w32-get-console-codepage)
11354 (w32-get-console-output-codepage): Declare.
11355
11356 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11357 Remove unnecessary declarations.
11358 (dframe-message): Doc fix.
11359
11360 * info.el (dframe-select-attached-frame, dframe-current-frame):
11361 Declare.
11362
11363 * speedbar.el (speedbar-message): Make it an obsolete alias.
11364 Update all callers.
11365 (speedbar-with-attached-buffer)
11366 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11367 (speedbar-with-writable): Use backquote.
11368 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11369 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11370 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11371 rather than speedbar- aliases.
11372 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11373 (speedbar-make-specialized-keymap, speedbar-insert-button)
11374 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11375 (speedbar-do-function-pointer): Declare.
11376 (rmail-speedbar-button, rmail-speedbar-find-file)
11377 (rmail-speedbar-move-message):
11378 Use dframe-with-attached-buffer rather than speedbar- alias.
11379 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11380 (dframe-message, speedbar-make-specialized-keymap)
11381 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11382 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11383 (speedbar-insert-button, dframe-select-attached-frame)
11384 (dframe-maybee-jump-to-attached-frame)
11385 (speedbar-change-initial-expansion-list)
11386 (speedbar-previously-used-expansion-list-name): Declare.
11387 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11388 Use dframe-message, dframe-with-attached-buffer rather than
11389 speedbar- aliases.
11390 (gud-sentinel): Silence compiler.
11391 * progmodes/vhdl-mode.el (speedbar-refresh)
11392 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11393 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11394 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11395 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11396 (speedbar-file-lists, speedbar-make-tag-line)
11397 (speedbar-line-directory, speedbar-goto-this-file)
11398 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11399 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11400 (speedbar-make-button, speedbar-reset-scanners)
11401 (speedbar-files-item-info, speedbar-line-text)
11402 (speedbar-find-file-in-frame, speedbar-set-timer)
11403 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11404 (speedbar-with-writable): Do not (re)define it.
11405 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11406 rather than speedbar- alias.
11407
11408 2013-05-21 Leo Liu <sdl.web@gmail.com>
11409
11410 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11411 menu items.
11412 (octave-mode): Tweak fill-nobreak-predicate.
11413 (inferior-octave-startup): Check process to avoid infinite loop.
11414 (inferior-octave): Pop to buffer first to show abornmal process
11415 exit information.
11416
11417 2013-05-21 Glenn Morris <rgm@gnu.org>
11418
11419 * printing.el (pr-menu-bar): Define when compiling.
11420
11421 2013-05-21 Leo Liu <sdl.web@gmail.com>
11422
11423 * progmodes/octave.el (octave-auto-fill): Remove.
11424 (octave-indent-new-comment-line): Improve.
11425 (octave-mode): Use auto fill mode through
11426 comment-line-break-function and fill-nobreak-predicate.
11427 (octave-goto-function-definition): Support DEFUN_DLD.
11428 (octave-beginning-of-defun): Small tweak.
11429 (octave-help): Show parent directory.
11430
11431 2013-05-21 Glenn Morris <rgm@gnu.org>
11432
11433 * files.el (dired-unmark):
11434 * progmodes/gud.el (gdb-input): Update declarations.
11435
11436 * calculator.el (electric, ehelp): No need to load when compiling.
11437 (Electric-command-loop, electric-describe-mode): Declare.
11438
11439 * doc-view.el (doc-view-current-converter-processes): Move before use.
11440
11441 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11442 Move MODE-set-explicitly definition before use.
11443
11444 * international/mule-diag.el (mule-diag):
11445 Don't use obsolete window-system-version.
11446
11447 * mail/feedmail.el (smtpmail): No need to load when compiling.
11448 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11449
11450 * mail/mail-utils.el (rfc822): No need to load when compiling.
11451 (rfc822-addresses): Autoload it.
11452 (mail-strip-quoted-names): Trivial simplification.
11453
11454 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11455 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11456
11457 * net/snmp-mode.el (tempo): Don't duplicate requires.
11458
11459 * progmodes/prolog.el (info): No need to load when compiling.
11460 (comint): Require before shell requires it.
11461 (Info-goto-node): Autoload it.
11462 (Info-follow-nearest-node): Declare.
11463 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11464
11465 * textmodes/artist.el (picture-mode-exit): Declare.
11466
11467 * textmodes/reftex-parse.el (reftex-parse-from-file):
11468 Trivial rewrite so the compiler can parse it better.
11469
11470 2013-05-20 Leo Liu <sdl.web@gmail.com>
11471
11472 * progmodes/octave.el (octave-help-mode-map)
11473 (octave-help-mode-finish-hook): New variables.
11474 (octave-help-mode, octave-help-mode-finish): New functions.
11475 (octave-help): Use octave-help-mode.
11476
11477 2013-05-20 Glenn Morris <rgm@gnu.org>
11478
11479 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11480
11481 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11482
11483 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11484 start at point, so that expansion starting right after opening
11485 slash in a regexp is recognized.
11486 (ruby-syntax-before-regexp-re): New defvar, extracted from
11487 ruby-syntax-propertize-function. Since the value of this regexp
11488 is looked up at runtime now, we should be able to turn
11489 `ruby-syntax-methods-before-regexp' into a defcustom later.
11490 (ruby-syntax-propertize-function): Split regexp matching into two
11491 parts, for opening and closing slashes. That allows us to skip
11492 over string interpolations and support multiline regexps.
11493 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11494 for them, which calls `ruby-syntax-propertize-expansion'.
11495 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11496 call to `ruby-syntax-propertize-function'.
11497 (ruby-syntax-propertize-expansion): Extracted from
11498 `ruby-syntax-propertize-expansions'. Handles one expansion.
11499 (ruby-syntax-propertize-percent-literal): Leave point right after
11500 the percent symbol, so that the expression expansion rule can
11501 propertize the contents.
11502 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11503 heredoc openers.
11504 (ruby-syntax-propertize-expansions): Remove.
11505
11506 2013-05-18 Juri Linkov <juri@jurta.org>
11507
11508 * man.el (Man-default-man-entry): Remove `-' from the end
11509 of the default value. (Bug#14400)
11510
11511 2013-05-18 Glenn Morris <rgm@gnu.org>
11512
11513 * comint.el (comint-password-prompt-regexp):
11514 Allow "password for XXX" where XXX contains colons (eg https://...).
11515
11516 2013-05-18 Leo Liu <sdl.web@gmail.com>
11517
11518 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11519 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11520 (octave-source-directories): Don't check process.
11521 (octave-source-directories, octave-find-definition): Doc fix.
11522
11523 2013-05-18 Glenn Morris <rgm@gnu.org>
11524
11525 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11526 Remove backspace/delete bindings. (Bug#14392)
11527
11528 * cus-dep.el (custom-make-dependencies): Sort the output.
11529 (custom-versions-load-alist): Convert comment to doc.
11530
11531 2013-05-17 Leo Liu <sdl.web@gmail.com>
11532
11533 * newcomment.el (comment-search-backward): Stricter in finding
11534 comment start. (Bug#14303)
11535
11536 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11537 (octave-comment-start-skip): Properly anchored.
11538
11539 2013-05-17 Leo Liu <sdl.web@gmail.com>
11540
11541 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11542 Clean up when turned off. (Bug#14395)
11543 (smie--highlight-matching-block-overlay): No longer buffer-local.
11544 (smie-highlight-matching-block): Adjust.
11545
11546 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11547
11548 Doc string fix for "nanoseconds" (Bug#14406).
11549 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11550 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11551
11552 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11553
11554 * calc/calc-units.el (math-extract-units): Preserve powers
11555 of units.
11556
11557 2013-05-17 Leo Liu <sdl.web@gmail.com>
11558
11559 * subr.el (delete-consecutive-dups): New function.
11560 * ido.el (ido-set-matches-1): Use it.
11561 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11562 * ido.el (ido-remove-consecutive-dups): Remove.
11563
11564 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11567 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11568 regexp-opt's `words'.
11569
11570 2013-05-16 Leo Liu <sdl.web@gmail.com>
11571
11572 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11573 (smie--highlight-matching-block-overlay)
11574 (smie--highlight-matching-block-lastpos)
11575 (smie--highlight-matching-block-timer): New variables.
11576 (smie-highlight-matching-block): New function.
11577 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11578 (smie-setup): Conditionally enable smie-blink-matching-open.
11579
11580 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11581
11582 Sync with upstream verilog-mode r840.
11583 * progmodes/verilog-mode.el (verilog-mode-version)
11584 (verilog-mode-release-date): Update.
11585 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11586 (verilog-sig-tieoff): Fix string error on
11587 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11588 (verilog-read-decls): Fix parameters confusing
11589 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11590
11591 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11592
11593 * subr.el (reveal-filename): New function.
11594
11595 * loadup.el: Compute Emacs executable versions on MS-Windows,
11596 where executables have the .exe extension. Add a hard link
11597 emacs-XX.YY.ZZ.exe on MS-Windows.
11598
11599 * Makefile.in (XARGS_LIMIT): New variable.
11600 (custom-deps, finder-data, autoloads)
11601 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11602 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11603 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11604 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11605
11606 2013-05-16 Leo Liu <sdl.web@gmail.com>
11607
11608 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11609 (octave-mode-menu, octave-mode-map): Remove its uses.
11610
11611 2013-05-16 Reto Zimmermann <reto@gnu.org>
11612
11613 Sync with upstream vhdl mode v3.34.2.
11614 * progmodes/vhdl-mode.el: Use `push' throughout.
11615 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11616 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11617 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11618 (vhdl-actual-generic-name): New option to derive actual generic name.
11619 (vhdl-port-paste-signals): Replace formal by actual generics.
11620 (vhdl-beautify): New name for old group vhdl-align. Update users.
11621 (vhdl-beautify-options): New option.
11622 (vhdl-last-input-event): New compat alias. Use throughout.
11623 (vhdl-goto-line): Replace user level function `goto-line'.
11624 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11625 vhdl-fix-statement-buffer.
11626 (vhdl-create-mode-menu): Add some entries.
11627 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11628 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11629 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11630 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11631 to force statements on one line.
11632 (vhdl-remove-trailing-spaces-region):
11633 New, split from vhdl-remove-trailing-spaces.
11634 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11635 Respect vhdl-beautify-options.
11636 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11637 (vhdl-update-sensitivity-list): Not add with index if exists without.
11638 Not include array index with signal. Ignore keywords in comments.
11639 (vhdl-get-visible-signals): Regexp tweaks.
11640 (vhdl-template-component-inst): Handle empty library.
11641 (vhdl-template-type): Add template for 'enum' type.
11642 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11643 Use vhdl-replace-string.
11644 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11645 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11646 (vhdl-speedbar-initialize): Update for above name change.
11647 (vhdl-compose-wire-components): Fix in handling of constants.
11648 (vhdl-error-regexp-emacs-alist): New variable.
11649 (vhdl-error-regexp-add-emacs): New function;
11650 adds support for new compile.el (Emacs 22+)
11651 (vhdl-generate-makefile-1): Change target order for single lib. units.
11652 Allow use of absolute file names.
11653
11654 2013-05-16 Leo Liu <sdl.web@gmail.com>
11655
11656 * simple.el (prog-indent-sexp): Indent enclosing defun.
11657
11658 2013-05-15 Glenn Morris <rgm@gnu.org>
11659
11660 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11661 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11662 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11663 (whitespace-highlight): Move to whitespace group.
11664
11665 * comint.el (comint-source):
11666 * pcmpl-linux.el (pcmpl-linux):
11667 * shell.el (shell-faces):
11668 * eshell/esh-opt.el (eshell-opt):
11669 * international/ccl.el (ccl): Remove empty custom groups.
11670
11671 * completion.el (dynamic-completion-mode):
11672 * jit-lock.el (jit-lock-debug-mode):
11673 * minibuffer.el (completion-in-region-mode):
11674 * type-break.el (type-break-mode-line-message-mode)
11675 (type-break-query-mode):
11676 * emulation/tpu-edt.el (tpu-edt-mode):
11677 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11678 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11679 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11680
11681 * term/xterm.el (xterm): Change parent group to terminals.
11682
11683 * master.el (master): Remove empty custom group.
11684 (master-mode): Remove unused :group argument.
11685 * textmodes/refill.el (refill): Remove empty custom group.
11686 (refill-mode): Remove unused :group argument.
11687
11688 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11689
11690 * cus-dep.el: Provide a feature.
11691 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11692 Don't mistakenly ignore files whose basenames match a basename
11693 from preloaded-file-list (eg cedet/ede/simple.el).
11694 Add a fallback method for getting :group.
11695
11696 2013-05-15 Juri Linkov <juri@jurta.org>
11697
11698 * isearch.el (isearch-char-by-name): Rename from
11699 `isearch-insert-char-by-name'. Doc fix.
11700 (isearch-forward): Mention `isearch-char-by-name' in
11701 the docstring. (Bug#13348)
11702
11703 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11704 `exit-minibuffer' instead of
11705 `isearch-nonincremental-exit-minibuffer'.
11706 (isearch-edit-string): Remove mention of
11707 `isearch-nonincremental-exit-minibuffer' from docstring.
11708 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11709 (isearch-forward-exit-minibuffer)
11710 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11711
11712 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * loadup.el: Just use unversioned DOC.
11715
11716 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11717 literals as extending to EOB.
11718 (nxml-last-fontify-end): Remove unused variable.
11719 (nxml-after-change1): Use with-silent-modifications.
11720 (nxml-extend-after-change-region): Simplify.
11721 (nxml-extend-after-change-region1): Remove function.
11722 (nxml-after-change1): Don't adjust for dependent regions.
11723 (nxml-fontify-matcher): Simplify.
11724 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11725 (xmltok-add-dependent): Remove function.
11726 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11727 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11728 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11729 unclosed <[[, <?, comment, and other literals as extending to EOB.
11730 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11731 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11732 Remove functions.
11733 (rng-do-some-validation-1): Don't mark dependent regions.
11734 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11735 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11736 (nxml-clear-dependent-regions): Remove functions.
11737 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11738 (nxml-ensure-scan-up-to-date):
11739 Don't clear&mark dependent regions.
11740
11741 2013-05-15 Leo Liu <sdl.web@gmail.com>
11742
11743 * progmodes/octave.el (octave-goto-function-definition):
11744 Improve and fix callers.
11745
11746 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11749 the setter (bug#14387).
11750
11751 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11752 surrounding group (bug#14402).
11753
11754 2013-05-14 Juri Linkov <juri@jurta.org>
11755
11756 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11757 (Bug#14390)
11758
11759 2013-05-14 Glenn Morris <rgm@gnu.org>
11760
11761 * progmodes/f90.el (f90-imenu-generic-expression):
11762 Fix typo in 2013-05-08 change. (Bug#14402)
11763
11764 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11765
11766 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11767 Remove signals for which replies are never received.
11768
11769 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11770
11771 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11772 (gdb-handler-alist, gdb-handler-number): Remove variables.
11773 (gdb-handler-list): New variable.
11774 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11775 (gdb-pending-handler-p, gdb-handle-reply)
11776 (gdb-remove-all-pending-triggers): New functions.
11777 (gdb-discard-unordered-replies): New defcustom.
11778 (gdb-handler): New defstruct.
11779 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11780 instead of gdb-pending-triggers. Update docstring.
11781 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11782 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11783 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11784 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11785 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11786 (gdb-frame-handler): Pending triggers are now automatically managed.
11787 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11788 Remove argument.
11789 (gdb-input): Automatically handles pending triggers. Update docstring.
11790 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11791 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11792 Update comments.
11793 (gdb-done-or-error): Now use gdb-handle-reply.
11794
11795 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11796
11797 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11798 gdb-debug-log.
11799
11800 2013-05-14 Glenn Morris <rgm@gnu.org>
11801
11802 * subr.el (user-emacs-directory-warning): New option.
11803 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11804
11805 2013-05-14 Leo Liu <sdl.web@gmail.com>
11806
11807 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11808 during redisplay.
11809 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11810 (octave-font-lock-texinfo-comment): Fix invalid search bound
11811 error: wrong side of point.
11812
11813 2013-05-14 Glenn Morris <rgm@gnu.org>
11814
11815 * progmodes/flymake.el (flymake-xml-program): New option.
11816 (flymake-xml-init): Use it.
11817
11818 * term/xterm.el: Provide a feature.
11819
11820 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11821
11822 2013-05-13 Glenn Morris <rgm@gnu.org>
11823
11824 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11825 Add compat aliases as a hack workaround. (Bug#14384)
11826
11827 2013-05-13 Leo Liu <sdl.web@gmail.com>
11828
11829 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11830 ###, and %!.
11831 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11832 C-M-q.
11833 (octave-comment-start-skip): Include %!.
11834 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11835
11836 2013-05-12 Leo Liu <sdl.web@gmail.com>
11837
11838 * progmodes/octave.el (inferior-octave-startup): Store the value
11839 of __octave_srcdir__ for octave-source-directories.
11840 (inferior-octave-check-process): New function refactored out of
11841 inferior-octave-send-list-and-digest.
11842 (octave-source-directories)
11843 (octave-find-definition-filename-function): New variables.
11844 (octave-source-directories)
11845 (octave-find-definition-default-filename): New functions.
11846 (octave-find-definition): Improve to find functions implemented in C++.
11847
11848 2013-05-12 Glenn Morris <rgm@gnu.org>
11849
11850 * calendar/diary-lib.el (diary-outlook-format-1):
11851 Don't include dayname in the output. (Bug#14349)
11852
11853 2013-05-11 Glenn Morris <rgm@gnu.org>
11854
11855 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11856
11857 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11858 Treat cc-provide like provide.
11859
11860 2013-05-11 Kevin Ryde <user42@zip.com.au>
11861
11862 * cus-dep.el (custom-make-dependencies):
11863 Use generated-autoload-load-name for the sake of files such
11864 such cedet/semantic/bovine/c.el, where the base file name
11865 is not in load-path. (Bug#5277)
11866
11867 2013-05-11 Glenn Morris <rgm@gnu.org>
11868
11869 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11870 Provide features.
11871
11872 2013-05-11 Leo Liu <sdl.web@gmail.com>
11873
11874 * progmodes/octave.el (octave-indent-comment): Improve.
11875 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11876 (octave-eldoc-function-signatures, octave-eldoc-function):
11877 New functions.
11878 (octave-mode, inferior-octave-mode): Add eldoc support.
11879
11880 2013-05-11 Richard Stallman <rms@gnu.org>
11881
11882 * epa.el (epa-decrypt-file): Take output file name as argument
11883 and read it using `interactive'.
11884
11885 2013-05-11 Leo Liu <sdl.web@gmail.com>
11886
11887 * progmodes/octave.el (octave-beginning-of-line)
11888 (octave-end-of-line): Check before using up-list because it jumps
11889 out of more syntactic contructs since moving to smie.
11890 (octave-indent-comment): New function.
11891 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11892 (octave-begin-keywords, octave-end-keywords)
11893 (octave-reserved-words, octave-smie-bnf-table)
11894 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11895
11896 2013-05-11 Glenn Morris <rgm@gnu.org>
11897
11898 * faces.el (internal-face-x-get-resource):
11899 * frame.el (ns-display-monitor-attributes-list):
11900 * calc/calc-aent.el (math-to-radians-2):
11901 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11902 Fix declarations.
11903
11904 * calc/calc-menu.el: Make it loadable in isolation.
11905
11906 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11907 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11908 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11909 (eudc-bbdb-query-internal): Require 'bbdb.
11910
11911 * lpr.el (lpr-headers-switches):
11912 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11913
11914 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11915
11916 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11917
11918 * term.el (term-set-escape-char): Make it idempotent.
11919
11920 2013-05-10 Leo Liu <sdl.web@gmail.com>
11921
11922 * progmodes/octave.el (inferior-octave-completion-table):
11923 No longer a function and all uses changed. Use cache to speed up
11924 completion due to bug#11906.
11925 (octave-beginning-of-defun): Re-write to be more general.
11926
11927 2013-05-10 Glenn Morris <rgm@gnu.org>
11928
11929 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11930
11931 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * comint.el (comint-redirect-send-command-to-process): Use :around
11934 rather than :override for comint-redirect-filter.
11935 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11936 Call it instead of comint-redirect-original-filter-function (which
11937 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11938
11939 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11940
11941 * frame.el (display-monitor-attributes-list): Add NS case.
11942 (ns-display-monitor-attributes-list): Declare.
11943
11944 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11945
11946 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11947
11948 2013-05-09 Glenn Morris <rgm@gnu.org>
11949
11950 * international/fontset.el (vertical-centering-font-regexp):
11951 Set standard-value.
11952
11953 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11954
11955 * bookmark.el (bookmark-search-delay):
11956 * cus-start.el (vertical-centering-font-regexp):
11957 * ps-mule.el (ps-mule-font-info-database-default):
11958 * ps-print.el (ps-default-fg, ps-default-bg):
11959 * type-break.el (type-break-good-break-interval):
11960 * whitespace.el (whitespace-indentation-regexp)
11961 (whitespace-space-after-tab-regexp):
11962 * emacs-lisp/testcover.el (testcover-1value-functions)
11963 (testcover-noreturn-functions, testcover-progn-functions)
11964 (testcover-prog1-functions):
11965 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11966 * eshell/em-glob.el (eshell-glob-translate-alist):
11967 * play/tetris.el (tetris-tty-colors):
11968 * progmodes/cpp.el (cpp-face-default-list):
11969 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11970 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11971 (idlwave-help-browser-generic-args):
11972 * progmodes/make-mode.el (makefile-special-targets-list):
11973 * progmodes/python.el (python-shell-virtualenv-path):
11974 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11975 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11976 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11977 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11978 * textmodes/reftex-vars.el (reftex-format-label-function):
11979 * textmodes/remember.el (remember-diary-file): Fix custom types.
11980
11981 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11982 Add :version.
11983
11984 2013-05-09 Leo Liu <sdl.web@gmail.com>
11985
11986 * progmodes/octave.el (inferior-octave-completion-at-point):
11987 Restore file completion. (Bug#14300)
11988 (inferior-octave-startup): Fix incorrect highlighting for the
11989 first prompt.
11990
11991 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * progmodes/ruby-mode.el: First cut at SMIE support.
11994 (ruby-use-smie): New var.
11995 (ruby-smie-grammar): New constant.
11996 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11997 (ruby-smie--forward-token, ruby-smie--backward-token)
11998 (ruby-smie-rules): New functions.
11999 (ruby-mode-variables): Setup SMIE if applicable.
12000
12001 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12002
12003 * simple.el (line-move-visual): Signal beginning/end of buffer
12004 only if vertical-motion moved less than it was requested. Avoids
12005 silly incorrect error messages when there are display strings with
12006 multiple newlines at EOL.
12007
12008 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12011 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12012 (prolog-char-quote-workaround):
12013 * progmodes/cperl-mode.el (cperl-under-as-char):
12014 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12015 Mark as obsolete.
12016 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12017 their declaration.
12018 (vhdl-mode-syntax-table-init): Remove.
12019
12020 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12021 last change.
12022
12023 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12024 syntax for "_".
12025 (ld-script-font-lock-keywords):
12026 Change regexps to use things like \_< and \_>.
12027
12028 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12029 Change all regexps to use things like \_< and \_>.
12030
12031 * progmodes/autoconf.el (autoconf-definition-regexp)
12032 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12033 Handle a _ with symbol syntax.
12034 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12035
12036 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12037 Consolidate declaration.
12038 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12039 the declaration.
12040 (ada-create-syntax-table): Remove.
12041 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12042 already has the right syntax nowadays.
12043 (ada-goto-next-word): Don't change the syntax of "_".
12044
12045 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12046 with-wrapper-hook.
12047
12048 2013-05-08 Sam Steingold <sds@gnu.org>
12049
12050 * thingatpt.el (thing-at-point): Accept optional second argument
12051 NO-PROPERTIES to strip the text properties from the return value.
12052 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12053 to `thing-at-point' instead of stripping the properties ourselves.
12054 Also, when `thing-at-point' fails to find a url, prepend "http://"
12055 to the filename at point on the assumption that the user is
12056 pointing at something like gnu.org/gnu.
12057
12058 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12059
12060 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12061 * faces.el (crm-separator):
12062 Silence byte-compiler.
12063
12064 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12065 (tool-bar-map): Remove unneeded defvars.
12066
12067 2013-05-08 Leo Liu <sdl.web@gmail.com>
12068
12069 Re-work a fix for bug#10994 based on Le Wang's patch.
12070 * ido.el (ido-remove-consecutive-dups): New helper.
12071 (ido-completing-read): Use it.
12072 (ido-chop): Revert fix for bug#10994.
12073
12074 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12075
12076 * cus-edit.el (custom-save-variables):
12077 Pretty-print long values. (Bug#14187)
12078
12079 2013-05-08 Glenn Morris <rgm@gnu.org>
12080
12081 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12082 (m4-mode-syntax-table): Init in the defvar.
12083 (m4-mode-abbrev-table): Let define-derived-mode define it.
12084
12085 2013-05-08 Tom Tromey <tromey@redhat.com>
12086
12087 * progmodes/m4-mode.el (m4-mode-syntax-table):
12088 Do not treat "_" as word constituent. (Bug#14167)
12089
12090 2013-05-07 Glenn Morris <rgm@gnu.org>
12091
12092 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12093 Remove explicit eshell-isearch-cancel-map.
12094
12095 * progmodes/f90.el (f90-smart-end-names): New option.
12096 (f90-smart-end): Doc fix.
12097 (f90-end-block-optional-name): New constant.
12098 (f90-block-match): Respect f90-smart-end-names.
12099
12100 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12101
12102 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12103 about implicit semi-colons (bug#14218).
12104
12105 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12106
12107 * frame.el (display-monitor-attributes-list)
12108 (frame-monitor-attributes): New functions.
12109
12110 2013-05-06 Leo Liu <sdl.web@gmail.com>
12111
12112 * progmodes/octave.el (octave-syntax-propertize-function): Change
12113 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12114 (octave-font-lock-keywords): Use octave-operator-regexp.
12115 (octave-completion-at-point): Rename from
12116 octave-completion-at-point-function.
12117 (inferior-octave-directory-tracker): Robustify.
12118 (octave-text-functions): Remove and fix its uses. No such things
12119 any more.
12120
12121 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * emacs-lisp/trace.el (trace--display-buffer): New function.
12124 (trace-make-advice): Use it.
12125
12126 2013-05-06 Juri Linkov <juri@jurta.org>
12127
12128 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12129 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12130 Doc fix.
12131 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12132 in the help string. (Bug#12985)
12133
12134 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12135
12136 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12137
12138 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12139
12140 * progmodes/perl-mode.el: Add support for here documents.
12141 (perl-syntax-propertize-function): Match here-doc markers.
12142 (perl-syntax-propertize-special-constructs): Find their end.
12143 (perl-imenu-generic-expression): Use [:alnum:].
12144
12145 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12146 (advice--add-function): Refresh the advice if already present
12147 (bug#14317).
12148
12149 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12150
12151 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12152
12153 2013-05-06 Glenn Morris <rgm@gnu.org>
12154
12155 * w32-fns.el (w32-charset-info-alist): Declare.
12156
12157 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12158 of its defcustom properties.
12159 (eshell-cmpl-initialize): No need to load pcomplete.
12160
12161 * generic-x.el: No need to require comint when compiling.
12162
12163 * net/eudc-export.el: Make it loadable without bbdb.
12164 (top-level): Use require rather than load-library.
12165 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12166 (eudc-batch-export-records-to-bbdb)
12167 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12168 Require bbdb.
12169
12170 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12173 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12174 some tweaks, instead.
12175
12176 2013-05-05 Leo Liu <sdl.web@gmail.com>
12177
12178 * progmodes/octave.el (octave-font-lock-keywords)
12179 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12180 (inferior-octave-send-list-and-digest): Improve error message.
12181 (octave-mode, inferior-octave-mode): Use setq-local.
12182 (octave-help): Set info-lookup-mode.
12183
12184 2013-05-05 Richard Stallman <rms@gnu.org>
12185
12186 * vc/compare-w.el (compare-windows-whitespace):
12187 Treat no-break space as whitespace.
12188
12189 * mail/rmailsum.el (rmail-summary-rmail-update):
12190 Detect empty summary and don't change selected message.
12191 (rmail-summary-goto-msg): Likewise.
12192
12193 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12194 Doc fixes, rename args.
12195
12196 2013-05-05 Alan Mackenzie <acm@muc.de>
12197
12198 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12199
12200 2013-05-05 Juri Linkov <juri@jurta.org>
12201
12202 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12203 to not add the length of the summary segment to the return value.
12204 (Bug#14125)
12205
12206 2013-05-05 Leo Liu <sdl.web@gmail.com>
12207
12208 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12209 (inferior-octave-output-filter): Remove.
12210 (octave-send-region, inferior-octave-startup): Fix callers.
12211 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12212 (octave-binary-file-extensions): New user variable.
12213 (octave-find-definition): Confirm if opening binary files.
12214 (octave-help-file): Use octave-find-definition to get the binary
12215 confirmation.
12216 (octave-help): Adjust for octave-help-file change.
12217
12218 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12219
12220 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12221 Merge the two entries that handle function definitions.
12222 (pascal--syntax-propertize): New const.
12223 (pascal-mode): Use it. Use setq-local.
12224
12225 2013-05-04 Glenn Morris <rgm@gnu.org>
12226
12227 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12228 (diary-from-outlook): Respect diary-from-outlook-function.
12229
12230 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12233 Move the declaration from C.
12234 (read-minibuffer, eval-minibuffer): Move from C.
12235 (completion-setup-function): Avoid minibuffer-completion-contents.
12236
12237 2013-05-03 Leo Liu <sdl.web@gmail.com>
12238
12239 * progmodes/octave.el (octave-font-lock-keywords): Do not
12240 dehighlight 'end' in comments or strings.
12241 (octave-completing-read, octave-goto-function-definition):
12242 New helpers.
12243 (octave-help-buffer): New user variable.
12244 (octave-help-file, octave-help-function): New button types.
12245 (octave-help): New command and bind it to C-h ;.
12246 (octave-find-definition): New command and bind it to M-.
12247 (user-error): Alias to error if not defined.
12248
12249 2013-05-02 Leo Liu <sdl.web@gmail.com>
12250
12251 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12252 for \. (bug#14332)
12253 (octave-font-lock-keywords): Include [ and {.
12254
12255 2013-05-02 Leo Liu <sdl.web@gmail.com>
12256
12257 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12258 (inferior-octave): Remove calling comint-mode and return the buffer.
12259 (inferior-octave-startup): Cosmetic changes.
12260
12261 2013-05-02 Leo Liu <sdl.web@gmail.com>
12262
12263 * progmodes/octave.el (octave-syntax-propertize-function):
12264 Include the case when ' is at line beginning. (Bug#14336)
12265
12266 2013-05-02 Glenn Morris <rgm@gnu.org>
12267
12268 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12269 * desktop.el (vc-dir-mode): Just autoload it here.
12270
12271 2013-05-02 Alan Mackenzie <acm@muc.de>
12272
12273 Eliminate variable c-standard-font-lock-fontify-region-function.
12274 * progmodes/cc-mode.el
12275 (c-standard-font-lock-fontify-region-function): Remove.
12276 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12277
12278 2013-05-01 Leo Liu <sdl.web@gmail.com>
12279
12280 * progmodes/octave.el: Compatible with older emacs-24 releases.
12281 (inferior-octave-has-built-in-variables): Remove. Built-in
12282 variables were removed from Octave in 2007.
12283 (inferior-octave-startup): Fix uses.
12284 (comint-line-beginning-position): Remove compatibility code for
12285 emacs 21.
12286
12287 2013-05-01 Juri Linkov <juri@jurta.org>
12288
12289 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12290
12291 2013-05-01 Juri Linkov <juri@jurta.org>
12292
12293 * comint.el (comint-previous-matching-input): Don't print message
12294 "History item: %d" when `isearch-mode' is active.
12295 (comint-history-isearch-message): Print message "History item: %d"
12296 when `comint-input-ring-index' is not empty and this function is
12297 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12298
12299 2013-05-01 Leo Liu <sdl.web@gmail.com>
12300
12301 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12302 definitions. Use completion-at-point to insert keywords.
12303 (octave-abbrev-start): Remove.
12304 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12305
12306 2013-04-30 Leo Liu <sdl.web@gmail.com>
12307
12308 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12309 change.
12310
12311 2013-04-30 Alan Mackenzie <acm@muc.de>
12312
12313 Handle arbitrarily long C++ member initialisation lists.
12314 * progmodes/cc-engine.el (c-back-over-member-initializers):
12315 new function.
12316 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12317 (most) member init lists.
12318
12319 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12320
12321 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12322 variable.
12323
12324 2013-04-30 Leo Liu <sdl.web@gmail.com>
12325
12326 * progmodes/octave.el (octave-variables): Remove. No builtin
12327 variables any more. All converted to functions.
12328 (octave-font-lock-keywords, octave-completion-at-point-function):
12329 Fix uses.
12330 (octave-font-lock-texinfo-comment): New user variable.
12331 (octave-texinfo-font-lock-keywords): New variable for texinfo
12332 comment block.
12333 (octave-function-comment-block): New face.
12334 (octave-font-lock-texinfo-comment): New function.
12335 (octave-mode): Font lock texinfo comment block.
12336
12337 2013-04-29 Leo Liu <sdl.web@gmail.com>
12338
12339 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12340 indexing expression.
12341 (octave-continuation-string): Do not use \.
12342 (inferior-octave-complete-impossible): Remove.
12343 (inferior-octave-completion-table)
12344 (inferior-octave-completion-at-point): Remove its uses.
12345 (inferior-octave-startup): completion_matches was introduced to
12346 Octave in 1996 so safe to assume it.
12347 (octave-function-file-comment): Improve to follow how Octave does it.
12348 (octave-update-function-file-comment): Tweak.
12349
12350 2013-04-29 Leo Liu <sdl.web@gmail.com>
12351
12352 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12353 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12354 (octave-function-file-comment): Fix typo.
12355 (octave-sync-function-file-names): Use read-char-choice.
12356
12357 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12358
12359 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12360 to t for the less important warnings.
12361
12362 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12363
12364 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12365
12366 2013-04-27 Glenn Morris <rgm@gnu.org>
12367
12368 * vc/log-view.el (log-view-current-entry):
12369 Treat "---" separator lines as part of the following rev. (Bug#14169)
12370
12371 2013-04-27 Juri Linkov <juri@jurta.org>
12372
12373 * subr.el (read-number): Doc fix about using it by interactive
12374 code letter `n'. (Bug#14254)
12375
12376 2013-04-27 Juri Linkov <juri@jurta.org>
12377
12378 * desktop.el (desktop-auto-save-timeout): New option.
12379 (desktop-file-checksum): New variable.
12380 (desktop-save): Add optional arg `auto-save' and don't auto-save
12381 if nothing changed.
12382 (desktop-auto-save-timer): New variable.
12383 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12384 (after-init-hook): Call `desktop-auto-save-set-timer'.
12385 Suggested by Reuben Thomas <rrt@sc3d.org> in
12386 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12387
12388 2013-04-27 Leo Liu <sdl.web@gmail.com>
12389
12390 * progmodes/octave.el (octave-function-file-p)
12391 (octave-skip-comment-forward, octave-function-file-comment)
12392 (octave-update-function-file-comment): New functions.
12393 (octave-mode-map): Bind C-c ; to
12394 octave-update-function-file-comment.
12395 (octave-mode-menu): Add octave-update-function-file-comment.
12396 (octave-mode, inferior-octave-mode): Fix doc-string.
12397 (octave-insert-defun): Conform to Octave's coding convention.
12398 (Bug#14285)
12399
12400 * files.el (basic-save-buffer): Don't let errors in
12401 before-save-hook prevent saving buffer.
12402
12403 2013-04-20 Roland Winkler <winkler@gnu.org>
12404
12405 * faces.el (read-face-name): Use completing-read if arg multiple
12406 is nil.
12407
12408 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12409
12410 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12411 displayed, move point to after the totals line.
12412 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12413 for the details.
12414
12415 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12416
12417 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12418 Add current dir to the load-path.
12419 (package-generate-autoloads): Don't rely on
12420 autoload-ensure-default-file.
12421
12422 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12423
12424 * textmodes/remember.el (remember-store-in-files): Document that
12425 the file name format is passed to `format-time-string'.
12426
12427 2013-04-26 Leo Liu <sdl.web@gmail.com>
12428
12429 * progmodes/octave.el (octave-sync-function-file-names): New function.
12430 (octave-mode): Use it in before-save-hook.
12431
12432 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12433
12434 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12435 (bug#14274).
12436
12437 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12438 \n and comment, even if it's not an implicit ; (bug#14218).
12439
12440 2013-04-26 Glenn Morris <rgm@gnu.org>
12441
12442 * subr.el (read-number): Once more use `read' rather than
12443 `string-to-number', to trap non-numeric input. (Bug#14254)
12444
12445 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12446
12447 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12448 Use `syntax-multiline' text property consistently instead of
12449 `font-lock-multiline'. (Bug#14237)
12450
12451 2013-04-26 Glenn Morris <rgm@gnu.org>
12452
12453 * emacs-lisp/shadow.el (list-load-path-shadows):
12454 No longer necessary to check for duplicate simple.el, since
12455 2012-07-07 change to init_lread to not include installation lisp
12456 directories in load-path when running uninstalled. (Bug#14270)
12457
12458 2013-04-26 Leo Liu <sdl.web@gmail.com>
12459
12460 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12461 (octave-mode, inferior-octave-mode): Use setq-local.
12462 (octave-not-in-string-or-comment-p): Rename to
12463 octave-in-string-or-comment-p.
12464 (octave-in-comment-p, octave-in-string-p)
12465 (octave-in-string-or-comment-p): Replace defsubst with defun.
12466
12467 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12468
12469 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12470
12471 2013-04-25 Bastien Guerry <bzg@gnu.org>
12472
12473 * textmodes/remember.el (remember-data-directory)
12474 (remember-directory-file-name-format): Fix custom types.
12475
12476 2013-04-25 Leo Liu <sdl.web@gmail.com>
12477
12478 * progmodes/octave.el (octave-completion-at-point-function):
12479 Make use of inferior octave process.
12480 (octave-initialize-completions): Remove.
12481 (inferior-octave-completion-table): New function.
12482 (inferior-octave-completion-at-point): Use it.
12483 (octave-completion-alist): Remove.
12484
12485 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12488 (opascal-mode-syntax-table): New var.
12489 (opascal-literal-kind, opascal-is-literal-end)
12490 (opascal-literal-token-at): Rewrite.
12491 (opascal--literal-start-re, opascal-font-lock-keywords)
12492 (opascal--syntax-propertize): New constants.
12493 (opascal-font-lock-defaults): Adjust.
12494 (opascal-mode): Use them. Set comment-<foo> variables as well.
12495 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12496 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12497 (delphi-other-face, opascal-other-face): Remove face variables.
12498 (opascal-save-state): Remove macro.
12499 (opascal-fontifying-progress-step): Remove constant.
12500 (opascal--ignore-changes): Remove var.
12501 (opascal-set-token-property, opascal-parse-next-literal)
12502 (opascal-is-stable-literal, opascal-complete-literal)
12503 (opascal-is-literal-start, opascal-face-of)
12504 (opascal-parse-region, opascal-parse-region-until-stable)
12505 (opascal-fontify-region, opascal-after-change)
12506 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12507 (opascal-debug-parse-region, opascal-debug-parse-window)
12508 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12509 (opascal-debug-fontify-buffer): Remove.
12510 (opascal-debug-mode-map): Adjust accordingly.
12511
12512 2013-04-25 Leo Liu <sdl.web@gmail.com>
12513
12514 Merge octave-mod.el and octave-inf.el into octave.el with some
12515 cleanups.
12516 * progmodes/octave.el: New file renamed from octave-mod.el.
12517 * progmodes/octave-inf.el: Merged into octave.el.
12518 * progmodes/octave-mod.el: Renamed to octave.el.
12519
12520 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12521
12522 * textmodes/reftex-vars.el
12523 (reftex-label-ignored-macros-and-environments): New defcustom.
12524
12525 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12526
12527 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12528
12529 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12530 (smie-indent-keyword): Improve the check to ensure that the next
12531 comment is really on the same line.
12532 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12533
12534 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12535 semi-colons if the line is not otherwise empty (bug#14218).
12536
12537 2013-04-25 Glenn Morris <rgm@gnu.org>
12538
12539 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12540
12541 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * progmodes/opascal.el (opascal-set-token-property): Rename from
12544 opascal-set-text-properties and only set `token' (bug#14134).
12545 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12546 (opascal-literal-text-properties): Remove.
12547 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12548 Adjust callers.
12549
12550 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12551
12552 * textmodes/remember.el (remember-handler-functions): Add an
12553 option for a new handler `remember-store-in-files'.
12554 (remember-data-directory, remember-directory-file-name-format):
12555 New options.
12556 (remember-store-in-files): New function to store remember notes
12557 as separate files within a directory.
12558
12559 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12560
12561 * progmodes/compile.el (compilation-next-error-function):
12562 Pass "formats" to compilation-find-file (bug#11777).
12563
12564 2013-04-24 Glenn Morris <rgm@gnu.org>
12565
12566 * vc/vc-bzr.el (vc-bzr-print-log):
12567 * vc/vc-hg.el (vc-hg-print-log):
12568 * vc/vc-svn.el (vc-svn-print-log):
12569 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12570
12571 * vc/vc-bzr.el (vc-bzr-print-log):
12572 * vc/vc-cvs.el (vc-cvs-print-log):
12573 * vc/vc-git.el (vc-git-print-log):
12574 * vc/vc-hg.el (vc-hg-print-log):
12575 * vc/vc-mtn.el (vc-mtn-print-log):
12576 * vc/vc-rcs.el (vc-rcs-print-log):
12577 * vc/vc-sccs.el (vc-sccs-print-log):
12578 * vc/vc-svn.el (vc-svn-print-log):
12579 * vc/vc.el (vc-print-log-internal): Doc fixes.
12580
12581 2013-04-23 Glenn Morris <rgm@gnu.org>
12582
12583 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12584 Remove venerable code attempting to avoid substitute-command-keys.
12585
12586 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12587
12588 * textmodes/reftex-vars.el (reftex-label-regexps):
12589 Call `reftex-compile-variables' after changes to this variable.
12590
12591 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12594 Use lexical-binding.
12595 (jit-lock-force-redisplay): Use markers, check buffer's continued
12596 existence and beware narrowed buffers.
12597 (jit-lock-fontify-now): Adjust call accordingly.
12598
12599 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12602 to avoid misleading the user.
12603
12604 2013-04-22 Leo Liu <sdl.web@gmail.com>
12605
12606 * info-look.el: Prefer latex2e.info. (Bug#14240)
12607
12608 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12609
12610 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12611
12612 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12613 * net/tramp.el (tramp-call-process): ... here.
12614 (tramp-set-completion-function, tramp-parse-putty):
12615 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12616 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12617 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12618 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12619 (tramp-call-local-coding-command): Use `tramp-call-process'
12620 instead of `tramp-compat-call-process'.
12621
12622 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12623 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12624 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12625 (tramp-find-inline-compress): Improve traces.
12626 (tramp-maybe-send-script): Check for Perl binary.
12627 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12628
12629 2013-04-22 Daiki Ueno <ueno@gnu.org>
12630
12631 * epg.el (epg-context-pinentry-mode): New function.
12632 (epg-context-set-pinentry-mode): New function.
12633 (epg--start): Pass --pinentry-mode option to gpg command.
12634
12635 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12636
12637 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12638 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12639 `completion-at-point'. (Bug#13774)
12640
12641 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12642 default key binding for `describe-distribution' has been moved to
12643 `C-h C-o'. (Bug#13970)
12644
12645 2013-04-21 Glenn Morris <rgm@gnu.org>
12646
12647 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12648 Add doc strings.
12649 (vc-print-log): Clarify interactive prompt.
12650
12651 2013-04-20 Glenn Morris <rgm@gnu.org>
12652
12653 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12654 No longer include timestamp etc information.
12655
12656 2013-04-20 Roland Winkler <winkler@gnu.org>
12657
12658 * faces.el (read-face-name): Bug fix, return just one face if arg
12659 multiple is nil. (Bug#14209)
12660
12661 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12664 (remove-function): Autoload.
12665
12666 * comint.el (comint-redirect-original-filter-function): Remove.
12667 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12668 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12669 (vc-cvs-annotate-command):
12670 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12671 * progmodes/prolog.el (prolog-consult-compile):
12672 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12673 Use add/remove-function instead.
12674 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12675 (gud-tooltip-process-output, gud-tooltip-tips):
12676 Use add/remove-function instead.
12677 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12678 (scheme-interaction-mode, exit-scheme-interaction-mode):
12679 Use add/remove-function instead.
12680
12681 * vc/vc-dispatcher.el: Use lexical-binding.
12682 (vc--process-sentinel): Rename from vc-process-sentinel.
12683 Change last arg to be the code to run. Don't use vc-previous-sentinel
12684 and vc-sentinel-commands any more.
12685 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12686 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12687
12688 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12689
12690 * progmodes/sh-script.el (sh-imenu-generic-expression):
12691 Handle function names with a single character. (Bug#14111)
12692
12693 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12694
12695 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12696 for subroutines defined in an eval (bug#14182).
12697
12698 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12699
12700 * bookmark.el (bookmark-completing-read): Improve handling of empty
12701 string (bug#14176).
12702
12703 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12706
12707 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12708
12709 New faster Imenu implementation (bug#14058).
12710 * progmodes/python.el:
12711 (python-imenu-prev-index-position):
12712 (python-imenu-format-item-label-function)
12713 (python-imenu-format-parent-item-label-function)
12714 (python-imenu-format-parent-item-jump-label-function):
12715 New vars.
12716 (python-imenu-format-item-label)
12717 (python-imenu-format-parent-item-label)
12718 (python-imenu-format-parent-item-jump-label)
12719 (python-imenu--put-parent, python-imenu--build-tree)
12720 (python-imenu-create-index, python-imenu-create-flat-index)
12721 (python-util-popn): New functions.
12722 (python-mode): Set imenu-create-index-function to
12723 python-imenu-create-index.
12724
12725 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * winner.el (winner-active-region): Use region-active-p, activate-mark
12728 and deactivate-mark (bug#14225).
12729
12730 * simple.el (deactivate-mark): Don't inline it.
12731
12732 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12733
12734 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12735
12736 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12737
12738 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12739 file extensions from the archive-mode entry in order to prefer
12740 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12741
12742 2013-04-18 Leo Liu <sdl.web@gmail.com>
12743
12744 * bindings.el (help-event-list): Add ?\?.
12745
12746 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12747
12748 * subr.el (with-wrapper-hook): Declare obsolete.
12749 * simple.el (filter-buffer-substring-function): New hook.
12750 (filter-buffer-substring): Use it.
12751 (filter-buffer-substring-functions): Mark obsolete.
12752 * minibuffer.el (completion-in-region-function): New hook.
12753 (completion-in-region): Use it.
12754 (completion-in-region-functions): Mark obsolete.
12755 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12756 * abbrev.el (abbrev-expand-function): New hook.
12757 (expand-abbrev): Use it.
12758 (abbrev-expand-functions): Mark obsolete.
12759 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12760 and :filter-return.
12761
12762 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12763
12764 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12765 and do not care about match data.
12766
12767 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12770 completion tables when completing error conditions and
12771 `declare' arguments.
12772 (lisp-complete-symbol, field-complete): Mark as obsolete.
12773 (check-parens): Unmatched parens are user errors.
12774 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12775
12776 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12777
12778 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12779 command changed buffer (ie. `flyspell-pre-buffer' is not current
12780 buffer), which prevents making decisions based on invalid value of
12781 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12782 cause an error when `flyspell-pre-point' was nil after switching
12783 buffers.
12784 (flyspell-post-command-hook): No longer needs to change buffers when
12785 checking pre-word. While at it remove unnecessary progn.
12786
12787 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12788
12789 * textmodes/ispell.el (ispell-add-per-file-word-list):
12790 Fix `flyspell-correct-word-before-point' error when accepting
12791 words and `coment-padding' is an integer by using
12792 `comment-normalize-vars' (Bug #14214).
12793
12794 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12795
12796 New defun movement commands.
12797 * progmodes/python.el (python-nav--syntactically)
12798 (python-nav--forward-defun, python-nav-backward-defun)
12799 (python-nav-forward-defun): New functions.
12800
12801 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12802
12803 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12804 (python-syntax-context): Use named compiler-macro for backwards
12805 compatibility with Emacs 24.x.
12806
12807 2013-04-17 Leo Liu <sdl.web@gmail.com>
12808
12809 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12810 octave-hide-process-buffer.
12811
12812 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12815 (bug#14216).
12816
12817 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12818
12819 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12820 Fix adjustment of offset when receiving incomplete responses from GDB
12821 (bug#14129).
12822
12823 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12826 python-mode-abbrev-table.
12827 (python-skeleton-define): Adjust accordingly.
12828 (python-mode-abbrev-table): New table that inherits from it so that
12829 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12830
12831 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12832 (abbrev-symbol): Use it.
12833 (abbrev--before-point): Use it since we already handle inheritance.
12834
12835 2013-04-16 Leo Liu <sdl.web@gmail.com>
12836
12837 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12838 binding to info-lookup-symbol.
12839
12840 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12841
12842 * minibuffer.el (completion--twq-all):
12843 * term/ns-win.el (ns-initialize-window-system):
12844 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12845
12846 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12849 global bindings.
12850
12851 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12852
12853 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12854
12855 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12856 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12857 to nil.
12858 (ruby-end-of-defun): Remove the unused arg, change the docstring
12859 to reflect that this function is only used as the value of
12860 `end-of-defun-function'.
12861 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12862 to reflect an earlier change that beginning/end-of-defun functions
12863 jump between methods in a class definition, as well as top-level
12864 functions.
12865
12866 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * minibuffer.el (minibuffer-complete): Don't just scroll
12869 a *Completions* that's been iconified.
12870 (minibuffer-force-complete): Make sure repetitions do cycle when going
12871 through completion-in-region -> minibuffer-complete.
12872
12873 2013-04-15 Alan Mackenzie <acm@muc.de>
12874
12875 Correct the placement of c-cpp-delimiters when there're #s not at
12876 col 0.
12877
12878 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12879 place a submatch around the #.
12880 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12881 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12882 on the #, not BOL.
12883
12884 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12887 (advice--member-p): New arg `name'.
12888 (advice--add-function, advice-member-p): Use it (bug#14202).
12889
12890 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12891
12892 Reformulate java imenu-generic-expression.
12893 The old expression contained ill formed regexps.
12894
12895 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12896 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12897 (cc-imenu-java-method-arg-regexp): New defconsts.
12898 (cc-imenu-java-build-type-args-regex): New defun.
12899 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12900 handling of spaces in the regexp.
12901
12902 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12903
12904 * textmodes/ispell.el (ispell-command-loop): Remove
12905 flyspell highlight of a word when ispell accepts it (bug #14178).
12906
12907 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12908
12909 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12910 uses code from the previous `ange-ftp-run-real-handler'.
12911 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12912 only in case that function exist. This is needed for proper
12913 unloading of Tramp.
12914
12915 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12916
12917 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12918
12919 * textmodes/reftex.el (reftex-compile-variables): Use it.
12920
12921 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * files.el (normal-mode): Only use default major-mode if no other mode
12924 was specified.
12925
12926 * emacs-lisp/trace.el (trace-values): New function.
12927
12928 * files.el: Allow : in local variables (bug#14089).
12929 (hack-local-variable-regexp): New var.
12930 (hack-local-variables-prop-line, hack-local-variables): Use it.
12931
12932 2013-04-13 Roland Winkler <winkler@gnu.org>
12933
12934 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12935 data before it gets modified by bibtex-beginning-of-entry.
12936
12937 2013-04-13 Roland Winkler <winkler@gnu.org>
12938
12939 * textmodes/bibtex.el (bibtex-url): Doc fix.
12940
12941 2013-04-13 Roland Winkler <winkler@gnu.org>
12942
12943 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12944 does not visit a BibTeX file, exclude it from the list of buffers
12945 returned by bibtex-initialize.
12946
12947 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12948
12949 * window.el (split-window): Remove interactive form, since as a
12950 command this function is a special case of split-window-below.
12951 Correct doc string.
12952
12953 2013-04-12 Roland Winkler <winkler@gnu.org>
12954
12955 * faces.el (read-face-name): Do not override value of arg default.
12956 Allow single faces and strings as default values. Remove those
12957 elements from return value that are not faces.
12958 (describe-face): Simplify.
12959 (face-at-point): New optional args thing and multiple so that this
12960 function can provide the same functionality previously provided by
12961 read-face-name.
12962 (make-face-bold, make-face-unbold, make-face-italic)
12963 (make-face-unitalic, make-face-bold-italic, invert-face)
12964 (modify-face, read-face-and-attribute): Use face-at-point.
12965
12966 * cus-edit.el (customize-face, customize-face-other-window)
12967 * cus-theme.el (custom-theme-add-face)
12968 * face-remap.el (buffer-face-set)
12969 * facemenu.el (facemenu-set-face): Use face-at-point.
12970
12971 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12972
12973 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12974
12975 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12976
12977 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12978 off leading { and trailing } from field values.
12979
12980 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * emacs-lisp/timer.el (timer--check): New function.
12983 (timer--time, timer-set-function, timer-event-handler): Use it.
12984 (timer-set-idle-time): Simplify.
12985 (timer--activate): CSE.
12986 (timer-event-handler): Give more info in error message.
12987 (internal-timer-start-idle): New function, moved from C.
12988
12989 * mpc.el (mpc-proc): Add `restart' argument.
12990 (mpc-proc-cmd): Use it.
12991 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12992 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12993 less often.
12994
12995 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12996
12997 * progmodes/sh-script.el: Implement `sh-mode' own
12998 `add-log-current-defun-function' (bug#14112).
12999 (sh-current-defun-name): New function.
13000 (sh-mode): Use the function.
13001
13002 2013-04-09 Bastien Guerry <bzg@gnu.org>
13003
13004 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13005
13006 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13009
13010 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13011 timer (bug#14156).
13012
13013 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13014
13015 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13016 declaration.
13017
13018 2013-04-07 Leo Liu <sdl.web@gmail.com>
13019
13020 * pcmpl-x.el: New file.
13021
13022 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13023
13024 Do not set x-display-name until X connection is established.
13025 This is needed to prevent from weird situation described at
13026 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13027 * frame.el (make-frame): Set x-display-name after call to
13028 window system initialization function, not before.
13029 * term/x-win.el (x-initialize-window-system): Add optional
13030 display argument and use it.
13031 * term/w32-win.el (w32-initialize-window-system):
13032 * term/ns-win.el (ns-initialize-window-system):
13033 * term/pc-win.el (msdos-initialize-window-system):
13034 Add compatible optional display argument.
13035
13036 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13037
13038 * files.el (normal-backup-enable-predicate): On MS-Windows and
13039 MS-DOS compare truenames of temporary-file-directory and of the
13040 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13041 don't fail comparison by compare-strings. Also, compare file
13042 names case-insensitively on MS-Windows and MS-DOS.
13043
13044 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13047 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13048
13049 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13050
13051 * whitespace.el (whitespace-color-on, whitespace-color-off):
13052 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13053
13054 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13055
13056 * ispell.el (ispell-set-spellchecker-params):
13057 Really set `ispell-args' for all equivs.
13058
13059 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * ido.el (ido-completions): Use extra elements of ido-decorations
13062 (bug#14143).
13063 (ido-decorations): Update docstring.
13064
13065 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13066
13067 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13068 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13069 nil during initialization, in order not to miss changes since the
13070 file was opened. (Bug#14140)
13071
13072 2013-04-05 Leo Liu <sdl.web@gmail.com>
13073
13074 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13075
13076 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13077
13078 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13079
13080 2013-04-04 Glenn Morris <rgm@gnu.org>
13081
13082 * electric.el (electric-pair-inhibit-predicate): Add :version.
13083
13084 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13087 when a package is required several times (bug#14082).
13088
13089 2013-04-04 Roland Winkler <winkler@gnu.org>
13090
13091 * faces.el (read-face-name): Behave as promised by the docstring.
13092 Assume that arg default is a list of faces.
13093 (describe-face): Call read-face-name with list of default faces.
13094
13095 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13096
13097 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13098 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13099 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13100 the header.
13101 (bookmark-exit-hook-internal): Save even if list is empty.
13102
13103 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13104
13105 * emacs-lisp/package.el (package-pinned-packages): New var.
13106 (package--add-to-archive-contents): Obey it (bug#14118).
13107
13108 2013-04-03 Alan Mackenzie <acm@muc.de>
13109
13110 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13111 Also adapt to the new values of element 7 of a parse state.
13112
13113 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13114 parameter `not-in-delimiter'. Handle being inside comment opener.
13115 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13116 character in case we're typing a '*' after a '/'.
13117 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13118 instead by passing the parameter to c-state-pp-to-literal.
13119
13120 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13121 for elt. 7 of a parse state.
13122
13123 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13124
13125 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13126 * international/latin1-disp.el, international/mule-util.el:
13127 * language/cyril-util.el, language/european.el, language/ind-util.el:
13128 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13129 * language/tibetan.el, language/viet-util.el:
13130 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13131
13132 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13133
13134 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13135 (electric-pair-post-self-insert-function): Use it.
13136 (electric-pair-default-inhibit): New function, extracted from
13137 electric-pair-post-self-insert-function.
13138
13139 2013-03-31 Roland Winkler <winkler@gnu.org>
13140
13141 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13142
13143 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13144
13145 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13146
13147 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13148
13149 Un-indent after "pass" and "return" statements (Bug#13888)
13150 * progmodes/python.el (python-indent-block-enders): New var.
13151 (python-indent-calculate-indentation): Use it.
13152
13153 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13154
13155 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13156 defun. Defining it as defalias could introduce too eager
13157 byte-compiler optimization. (Bug#14030)
13158
13159 2013-03-30 Chong Yidong <cyd@gnu.org>
13160
13161 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13162
13163 2013-03-30 Leo Liu <sdl.web@gmail.com>
13164
13165 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13166 (kmacro-execute-from-register): Pass the keyboard macro to
13167 kmacro-call-macro or repeating won't work correctly.
13168
13169 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13170
13171 * progmodes/subword.el: Back to using `forward-symbol'.
13172
13173 * subr.el (forward-whitespace, forward-symbol)
13174 (forward-same-syntax): Move from thingatpt.el.
13175
13176 2013-03-29 Leo Liu <sdl.web@gmail.com>
13177
13178 * kmacro.el (kmacro-to-register): New command.
13179 (kmacro-execute-from-register): New function.
13180 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13181
13182 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13183
13184 * mpc.el: Use defvar-local and setq-local.
13185 (mpc--proc-connect): Connection failures are not bugs.
13186 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13187 (mpc-volume-map): Bind to the up-events.
13188
13189 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13190
13191 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13192 instead of `forward-symbol'.
13193
13194 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13195
13196 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13197 (edebug--recursive-edit): Use it.
13198 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13199 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13200
13201 2013-03-28 Leo Liu <sdl.web@gmail.com>
13202
13203 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13204
13205 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13206
13207 * facemenu.el (list-colors-callback): New defvar.
13208 (list-colors-redisplay): New function.
13209 (list-colors-display): Install list-colors-redisplay as the
13210 revert-buffer-function. (Bug#14063)
13211
13212 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13215 and suffixes don't overlap (bug#14061).
13216
13217 * case-table.el: Use lexical-binding.
13218 (case-table-get-table): New function.
13219 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13220
13221 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13222
13223 * progmodes/subword.el: Add `superword-mode' to do word motion
13224 over symbol_words (parallels and leverages `subword-mode' which
13225 does word motion inside MixedCaseWords).
13226
13227 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13228
13229 * eshell/em-unix.el: Move su and sudo to...
13230 * eshell/em-tramp.el: ...Eshell tramp module.
13231
13232 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13235 Change return value to be a sexp. Delay `get-buffer' to after
13236 restoring the desktop (bug#13951).
13237
13238 2013-03-26 Leo Liu <sdl.web@gmail.com>
13239
13240 * register.el: Move semantic tag handling back to
13241 cedet/semantic/senator.el. (Bug#14052)
13242
13243 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13246 into the prompt either (bug#13963).
13247
13248 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13251 part of "(error-foo)".
13252
13253 2013-03-24 Juri Linkov <juri@jurta.org>
13254
13255 * replace.el (list-matching-lines-prefix-face): New defcustom.
13256 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13257 `occur-engine' if `face-differs-from-default-p' returns t.
13258 (occur-engine): Add `,' inside backquote construct to evaluate
13259 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13260 Pass `prefix-face' to the functions `occur-context-lines' and
13261 `occur-engine-add-prefix'.
13262 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13263 `prefix-face' and propertize the prefix with `prefix-face'.
13264 (Bug#14017)
13265
13266 2013-03-24 Leo Liu <sdl.web@gmail.com>
13267
13268 * nxml/rng-valid.el (rng-validate-while-idle)
13269 (rng-validate-quick-while-idle): Guard against deleted buffer.
13270 (Bug#13999)
13271
13272 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13273 is the last entry in kill-buffer-hook.
13274
13275 * files.el (kill-buffer-hook): Doc fix.
13276
13277 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13278
13279 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13280 Make it safe-local.
13281
13282 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13283
13284 2013-03-23 Leo Liu <sdl.web@gmail.com>
13285
13286 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13287 Remove.
13288
13289 * nxml/rng-valid.el (rng-validate-mode)
13290 (rng-after-change-function, rng-do-some-validation):
13291 * nxml/rng-maint.el (rng-validate-buffer):
13292 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13293 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13294 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13295 (nxml-extend-after-change-region): Use with-silent-modifications.
13296
13297 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13298 timer-idle-list.
13299
13300 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13301 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13302 timer-idle-list. (Bug#13999)
13303
13304 2013-03-23 Juri Linkov <juri@jurta.org>
13305
13306 * info.el (info-index-match): New face.
13307 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13308 main pattern and add text properties with the new face to matches
13309 in index entries relative to the beginning of the index entry.
13310 (Bug#14015)
13311
13312 2013-03-21 Eric Ludlam <zappo@gnu.org>
13313
13314 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13315 Inhibit read only while inserting objects.
13316
13317 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13318
13319 * progmodes/cfengine.el: Update docs to mention
13320 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13321 symbol motion. Remove "_" from the word syntax.
13322
13323 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13324
13325 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13326 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13327
13328 2013-03-20 Juri Linkov <juri@jurta.org>
13329
13330 * info.el (Info-next-reference-or-link)
13331 (Info-prev-reference-or-link): New functions.
13332 (Info-next-reference, Info-prev-reference): Use them.
13333 (Info-try-follow-nearest-node): Handle footnote navigation.
13334 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13335
13336 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13337
13338 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13339 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13340
13341 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13342
13343 Suppress unnecessary non-ASCII chatter during build process.
13344 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13345 (batch-skkdic-convert): Suppress most of the chatter.
13346 It's not needed so much now that machines are faster,
13347 and its non-ASCII component was confusing; see Dmitry Gutov in
13348 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13349
13350 2013-03-20 Leo Liu <sdl.web@gmail.com>
13351
13352 * ido.el (ido-chop): Fix bug#10994.
13353
13354 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13355
13356 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13357 Remove vars.
13358 (whitespace-color-on, whitespace-color-off):
13359 Use `font-lock-fontify-buffer' (Bug#13817).
13360
13361 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13364 remapping in mode-line.
13365 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13366
13367 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13368
13369 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13370 value for `whitespace-line' face (Bug#13875).
13371 (whitespace-font-lock-keywords): Change description.
13372 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13373 the constructed keywords instead.
13374 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13375
13376 2013-03-19 Leo Liu <sdl.web@gmail.com>
13377
13378 * progmodes/compile.el (compilation-display-error): New command.
13379 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13380 C-o. (Bug#13992)
13381
13382 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13383
13384 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13385
13386 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13387
13388 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13389
13390 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13391
13392 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13393
13394 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13395 * net/tramp-gvfs.el (top):
13396 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13397 (tramp-handle-shell-command): Use it.
13398 (tramp-dissect-file-name): Raise an error when hostname is a
13399 method name, and neither method nor user is specified.
13400
13401 * net/trampver.el: Update release number.
13402
13403 2013-03-18 Leo Liu <sdl.web@gmail.com>
13404
13405 Make sure eldoc can be turned off properly.
13406 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13407 eldoc-mode.
13408 (eldoc-display-message-p): Revert last change.
13409 (eldoc-display-message-no-interference-p)
13410 (eldoc-print-current-symbol-info): Tweak.
13411
13412 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13413
13414 * doc-view.el (doc-view-new-window-function): Check the new window
13415 overlay's display property instead the char property of the
13416 buffer's first char. Use `with-selected-window' instead of
13417 `save-window-excursion' with `select-window'.
13418 (doc-view-document->bitmap): Check the current doc-view overlay's
13419 display property instead the char property of the buffer's first char.
13420
13421 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13422
13423 Automate the build of ja-dic.el (Bug#13984).
13424 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13425 from the input, rather than assume that it's been done for us by the
13426 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13427 the current date into a ja-dic.el comment, as that complicates
13428 regression testing.
13429
13430 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13431
13432 * whitespace.el: Fix double evaluation.
13433 (whitespace-space, whitespace-hspace, whitespace-tab)
13434 (whitespace-newline, whitespace-trailing, whitespace-line)
13435 (whitespace-space-before-tab, whitespace-indentation)
13436 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13437 obsolete defvars.
13438 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13439 (whitespace-color-on): Use a single font-lock-add-keywords call.
13440 Fix double-evaluation of face variables.
13441
13442 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13443
13444 * net/tramp-adb.el (tramp-adb-parse-device-names):
13445 Use `start-process' instead of `call-process'. Otherwise, the
13446 function might be blocked under MS Windows. (Bug#13299)
13447
13448 2013-03-17 Leo Liu <sdl.web@gmail.com>
13449
13450 Extend eldoc to display info in the mode-line. (Bug#13978)
13451 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13452 (eldoc-mode-line-string): New variable.
13453 (eldoc-minibuffer-message): New function.
13454 (eldoc-message-function): New variable.
13455 (eldoc-message): Use it.
13456 (eldoc-display-message-p)
13457 (eldoc-display-message-no-interference-p):
13458 Support eldoc-post-insert-mode.
13459
13460 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13461 (eval-expression): Run it.
13462
13463 2013-03-17 Roland Winkler <winkler@gnu.org>
13464
13465 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13466 strings in the list of return values.
13467
13468 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13469
13470 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13471 radix before checking for HMS forms.
13472
13473 2013-03-16 Leo Liu <sdl.web@gmail.com>
13474
13475 * progmodes/scheme.el: Add indentation and font-locking for λ.
13476 (Bug#13975)
13477
13478 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13481 token before point (bug#13942).
13482
13483 2013-03-16 Leo Liu <sdl.web@gmail.com>
13484
13485 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13486
13487 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13488
13489 * startup.el (command-line-normalize-file-name): Fix handling of
13490 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13491 <xfq.free@gmail.com> in
13492 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13493
13494 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13495
13496 Sync with Tramp 2.2.7.
13497
13498 * net/trampver.el: Update release number.
13499
13500 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13501
13502 * doc-view.el: Fix bug#13887.
13503 (doc-view-insert-image): Don't modify overlay associated to
13504 non-live windows, and implement horizontal centering of image in
13505 case it's smaller than the window.
13506 (doc-view-new-window-function): Force redisplay of new windows on
13507 doc-view buffers.
13508
13509 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13510
13511 * saveplace.el (save-place-alist-to-file): Don't sort
13512 `save-place-alist', just pretty-print it (bug#13882).
13513
13514 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13515
13516 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13517 Check whether `default-file-name-coding-system' is bound.
13518 It isn't in XEmacs.
13519
13520 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13523 backquotes for `obsolete' (bug#13929).
13524
13525 * international/mule.el (find-auto-coding): Include file name in
13526 obsolescence warning (bug#13922).
13527
13528 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13529
13530 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13531 for CFEngine 3-specific indentation.
13532 (cfengine3-indent-line): Use it. Fix up category regex.
13533 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13534
13535 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * type-break.el (type-break-file-name):
13538 * textmodes/remember.el (remember-data-file):
13539 * strokes.el (strokes-file):
13540 * shadowfile.el (shadow-initialize):
13541 * saveplace.el (save-place-file):
13542 * ps-bdf.el (bdf-cache-file):
13543 * progmodes/idlwave.el (idlwave-config-directory):
13544 * net/quickurl.el (quickurl-url-file):
13545 * international/kkc.el (kkc-init-file-name):
13546 * ido.el (ido-save-directory-list-file):
13547 * emulation/viper.el (viper-custom-file-name):
13548 * emulation/vip.el (vip-startup-file):
13549 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13550 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13551
13552 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13553
13554 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13555 * language/thai-word.el: Switch to UTF-8.
13556
13557 See ChangeLog.16 for earlier changes.
13558
13559 ;; Local Variables:
13560 ;; coding: utf-8
13561 ;; End:
13562
13563 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13564
13565 This file is part of GNU Emacs.
13566
13567 GNU Emacs is free software: you can redistribute it and/or modify
13568 it under the terms of the GNU General Public License as published by
13569 the Free Software Foundation, either version 3 of the License, or
13570 (at your option) any later version.
13571
13572 GNU Emacs is distributed in the hope that it will be useful,
13573 but WITHOUT ANY WARRANTY; without even the implied warranty of
13574 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13575 GNU General Public License for more details.
13576
13577 You should have received a copy of the GNU General Public License
13578 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.