Tweak C-x TAB behavior changes, and update docs.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-21 Chong Yidong <cyd@gnu.org>
2
3 * indent.el (indent-rigidly-map): Add docstring, and move commands
4 into named functions.
5 (indent-rigidly-left, indent-rigidly-right)
6 (indent-rigidly-left-to-tab-stop)
7 (indent-rigidly-right-to-tab-stop): New functions. Decide on
8 indentation direction based on bidi direction, and accumulate
9 sequential commands in a single undo boundary.
10 (indent-rigidly--pop-undo): New utility function.
11
12 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
13
14 * faces.el (read-face-name): Require crm.el when using crm-separator.
15
16 2013-12-20 Daniel Colascione <dancol@dancol.org>
17
18 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
19 so that we don't reflow comments into the shebang line.
20
21 2013-12-20 Juri Linkov <juri@jurta.org>
22
23 * saveplace.el (save-place-to-alist): Add `dired-filename' as
24 a position when `dired-directory' is non-nil. Check integer
25 positions with `integerp'.
26 (toggle-save-place, save-places-to-alist): Add check for
27 `dired-directory'.
28 (save-place-find-file-hook): Check integer positions with
29 `integerp'.
30 (save-place-dired-hook): Use `dired-goto-file' when
31 `dired-filename' is found in the assoc list. Check integer
32 positions with `integerp'.
33 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
34
35 * dired.el (dired-initial-position-hook): Rename back from
36 `dired-initial-point-hook'.
37 (dired-initial-position): Rename `dired-initial-point-hook' to
38 `dired-initial-position-hook'.
39 (dired-file-name-at-point): Doc fix. (Bug#15329)
40
41 2013-12-20 Juri Linkov <juri@jurta.org>
42
43 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
44 (read-regexp-suggestions): New function.
45 (read-regexp): Use `read-regexp-defaults-function' to get default values.
46 Use `read-regexp-suggestions'. Add non-empty default to history
47 for empty input.
48 (occur-read-regexp-defaults-function): Remove function.
49 (occur-read-primary-args): Use `regexp-history-last' instead of
50 `occur-read-regexp-defaults-function'.
51
52 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
53 (hi-lock-line-face-buffer, hi-lock-face-buffer)
54 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
55 `hi-lock-read-regexp-defaults-function'. Doc fix.
56 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
57 with `find-tag-default-as-symbol-regexp'. Doc fix.
58 (hi-lock-read-regexp-defaults): Remove function.
59 (hi-lock-regexp-okay): Add check for null.
60
61 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
62 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
63
64 * subr.el (find-tag-default-as-symbol-regexp): New function.
65 (find-tag-default-as-regexp): Move symbol regexp formatting to
66 `find-tag-default-as-symbol-regexp'.
67
68 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
69
70 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
71 (Bug#14179)
72
73 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
74
75 * calendar/todo-mode.el: New implementation of item insertion
76 commands and key bindings.
77 (todo-key-prompt): New face.
78 (todo-insert-item): New command.
79 (todo-insert-item--parameters): New defconst, replacing defvar
80 todo-insertion-commands-args-genlist.
81 (todo-insert-item--param-key-alist): New defconst, replacing
82 defvar todo-insertion-commands-arg-key-list.
83 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
84 (todo-insert-item--argsleft, todo-insert-item--apply-args)
85 (todo-insert-item--next-param): New functions.
86 (todo-insert-item--args, todo-insert-item--argleft)
87 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
88 New variables.
89 (todo-key-bindings-t): Change binding of "i" from
90 todo-insertion-map to todo-insert-item.
91 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
92 (todo-insertion-command-name, todo-insertion-commands-names)
93 (todo-define-insertion-command, todo-insertion-commands)
94 (todo-insertion-key-bindings, todo-insertion-map): Remove.
95
96 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
97
98 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
99 (todo-toggle-item-highlighting): Use eval-and-compile instead of
100 eval-when-compile.
101 (todo-move-category): Allow choosing a non-existing todo file to
102 move the category to, and create that file.
103 (todo-default-priority): New user option.
104 (todo-set-item-priority): Use it.
105 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
106 (desktop-restore-file-buffer): Declare.
107 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
108 (todo-modes-set-2): Locally set desktop-save-buffer to
109 todo-desktop-save-buffer.
110 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
111 (auto-mode-alist): Add autoload cookie.
112
113 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
114
115 * emacs-lisp/subr-x.el: Renamed from helpers.el.
116 helpers.el was a poor choice of name.
117 (string-remove-prefix): New function.
118 (string-remove-suffix): New function.
119
120 2013-12-20 Martin Rudalics <rudalics@gmx.at>
121
122 Fix assignment for new window total sizes.
123 * window.el (window--pixel-to-size): Remove function.
124 (window--pixel-to-total-1, window--pixel-to-total):
125 Fix calculation of new total sizes.
126
127 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
128
129 * comint.el (comint-output-filter): Fix rear-nonsticky property
130 placement (Bug#16010).
131
132 2013-12-20 Chong Yidong <cyd@gnu.org>
133
134 * faces.el (read-color): Minor fix for completion function.
135
136 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
137
138 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
139 New option. (Bug#16182)
140 (ruby-smie--indent-to-stmt-p): Use it.
141 (ruby-smie-rules): Revert the logic in the handling of `when'.
142 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
143 (ruby-deep-arglist, ruby-deep-indent-paren)
144 (ruby-deep-indent-paren-style): Update docstrings to note that the
145 vars don't have any effect with SMIE.
146
147 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
148
149 * calc/calc.el (calc-enter, calc-pop): Use the variable
150 `calc-context-sensitive-enter'.
151
152 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
153
154 * net/shr.el (shr-insert): Protect against infloops in degenerate
155 tables.
156
157 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
158
159 * progmodes/octave.el (octave): Add link to manual and octave
160 homepage.
161 (octave-mode-menu): Link to octave-mode manual.
162
163 2013-12-20 Leo Liu <sdl.web@gmail.com>
164
165 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
166 insertion using skeleton-end-newline. (Bug#16138)
167
168 2013-12-20 Juri Linkov <juri@jurta.org>
169
170 * replace.el (occur-engine): Use `add-face-text-property'
171 to add the face property to matches and titles. (Bug#14645)
172
173 * hi-lock.el (hi-green): Use lighter color "light green" closer to
174 the palette of other hi-lock colors.
175 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
176
177 2013-12-19 Juri Linkov <juri@jurta.org>
178
179 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
180 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
181 (minibuffer-history-symbol): Move variable declaration closer to
182 its usage.
183
184 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
185 (Bug#14785)
186
187 2013-12-19 Juri Linkov <juri@jurta.org>
188
189 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
190 New function.
191 (log-edit-hook): Add it to :options. (Bug#16170)
192
193 2013-12-19 Juri Linkov <juri@jurta.org>
194
195 * simple.el (eval-expression-print-format): Don't check for
196 command names and the last command. Always display additional
197 formats of the integer result in the echo area, and insert them
198 to the current buffer only with a zero prefix arg.
199 Display character when char-displayable-p is non-nil.
200 (eval-expression): With a zero prefix arg, set `print-length' and
201 `print-level' to nil, and insert the integer values from
202 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
203
204 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
205 `eval-last-sexp-arg-internal'. Doc fix.
206 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
207 `eval-last-sexp-print-value'. Doc fix.
208 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
209 Set `print-length' and `print-level' to nil when arg is zero.
210 (eval-last-sexp): Doc fix.
211 (eval-defun-2): Print the integer values from
212 `eval-expression-print-format' at the end.
213
214 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
215 values from `eval-expression-print-format' at the end.
216
217 * ielm.el (ielm-eval-input): Print the integer
218 values from `eval-expression-print-format' at the end.
219
220 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
221
222 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
223 2013-12-11T19:01:44Z!tzz@lifelogs.com.
224
225 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
228 (hl-line-highlight, global-hl-line-highlight): Use it.
229 (hl-line-overlay): Use defvar-local.
230
231 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
232
233 * term/ns-win.el: Require dnd.
234 (global-map): Remove drag items.
235 (ns-insert-text, ns-set-foreground-at-mouse)
236 (ns-set-background-at-mouse):
237 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
238 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
239 New functions.
240
241 2013-12-19 Glenn Morris <rgm@gnu.org>
242
243 * emacs-lisp/ert.el (ert-select-tests):
244 Fix string/symbol mixup. (Bug#16121)
245
246 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
247
248 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
249 keywords to their parent.
250
251 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
252
253 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
254 first arg to be a string (fixed dead code), or an operator symbol.
255 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
256 operator symbols.
257 (ruby-smie-rules): Remove parent token check in the `.' clause, it
258 did nothing. Don't respond to `(:after ".")', it will be called
259 with :before anyway. Remove the ` @ ' rule, it didn't seem to
260 change anything. Only return indentation for binary operators
261 when they are hanging. De-dent opening paren when its parent is
262 `.', otherwise it looks bad when the dot is not at bol or eol
263 (bug#16182).
264
265 2013-12-19 Juri Linkov <juri@jurta.org>
266
267 * replace.el (query-replace-read-args): Split a non-negative arg
268 and a negative arg into separate elements.
269 (query-replace, query-replace-regexp, replace-string)
270 (replace-regexp): Add arg `backward'. Doc fix.
271 (replace-match-maybe-edit): When new arg `backward' is non-nil,
272 move point to the beginning of the match.
273 (replace-search, replace-highlight): Use new arg `backward'
274 to set the value of `isearch-forward'.
275 (perform-replace): Add arg `backward' and use it to perform
276 replacement backward. (Bug#14979)
277
278 * isearch.el (isearch-query-replace): Use a negative prefix arg
279 to call `perform-replace' with a non-nil arg `backward'.
280
281 2013-12-18 Juri Linkov <juri@jurta.org>
282
283 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
284 to the default list. Move `log-edit-show-files' to the end.
285 Add more available functions to options.
286 (log-edit): Move default specific settings to
287 `log-edit-insert-message-template'. Don't move point.
288 (log-edit-insert-message-template): New function.
289 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
290 (Bug#16170)
291
292 2013-12-18 Juri Linkov <juri@jurta.org>
293
294 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
295 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
296
297 2013-12-18 Leo Liu <sdl.web@gmail.com>
298
299 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
300
301 2013-12-18 Eli Zaretskii <eliz@gnu.org>
302
303 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
304 formats for displaying file sizes when the -s switch is given.
305 Instead, compute a separate format for displaying the size in
306 blocks, which is displayed in addition to the "regular" size.
307 When -h is given in addition to -s, produce size in blocks in
308 human-readable form as well. (Bug#16179)
309
310 2013-12-18 Tassilo Horn <tsdh@gnu.org>
311
312 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
313 Reference tables with ~\ref{...} instead of only \ref{...}.
314
315 2013-12-18 Chong Yidong <cyd@gnu.org>
316
317 * cus-edit.el (custom-magic-alist): Fix "themed" description
318 (Bug#14348).
319
320 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
321 is non-nil, do not create a new entry in the symbol's theme-value
322 or theme-face property; update theme-settings only (Bug#14664).
323 (custom-available-themes): Doc fix.
324
325 * cus-theme.el (custom-new-theme-mode-map): Add bindings
326 (Bug#15674).
327
328 * replace.el (occur-engine): Avoid infloop (Bug#7593).
329
330 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
331
332 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
333 (Bug#13914).
334
335 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
336
337 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
338
339 2013-12-18 Glenn Morris <rgm@gnu.org>
340
341 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
342 * cus-start.el (load-prefer-newer): New option.
343
344 2013-12-18 Le Wang <l26wang@gmail.com>
345
346 * comint.el (comint-previous-matching-input-from-input):
347 Retain point (Bug#13404).
348
349 2013-12-18 Chong Yidong <cyd@gnu.org>
350
351 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
352
353 2013-12-18 Glenn Morris <rgm@gnu.org>
354
355 * mail/emacsbug.el (report-emacs-bug):
356 Only mention enable-multibyte-characters if non-standard.
357
358 2013-12-17 Juri Linkov <juri@jurta.org>
359
360 * arc-mode.el (archive-extract-by-file): Check if directory exists
361 before deletion to not show irrelevant errors if it doesn't exist.
362
363 2013-12-17 Juri Linkov <juri@jurta.org>
364
365 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
366 (Bug#14751)
367
368 * net/eww.el (browse-web): Add alias to `eww'.
369 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
370 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
371
372 * net/browse-url.el (browse-url-browser-function): Move `eww'
373 closer to similar functions.
374
375 * startup.el (fancy-startup-screen, fancy-about-screen):
376 Set browse-url-browser-function to eww-browse-url locally.
377 (Bug#14751)
378
379 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * window.el (window--pixel-to-total): Remove unused `mini' var.
382 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
383 (split-window): Remove unused `new' var.
384 (window--display-buffer): Remove unused `frame' and `delta' vars.
385 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
386 and display-width'.
387
388 2013-12-17 Martin Rudalics <rudalics@gmx.at>
389
390 * dired.el (dired-mark-pop-up):
391 * register.el (register-preview): Don't bind
392 split-height-threshold here since it's now done in
393 display-buffer-below-selected.
394
395 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
396
397 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
398 xterm-rgb-convert-to-16bit.
399 (rxvt-register-default-colors): Standardize with
400 xterm-register-default-colors (Bug#14078).
401
402 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
403
404 * simple.el (kill-region): Pass mark first, then point, so that
405 kill-append works right (Bug#12819).
406 (copy-region-as-kill, kill-ring-save): Likewise.
407
408 2013-12-17 Leo Liu <sdl.web@gmail.com>
409
410 * net/rcirc.el (rcirc-add-face):
411 * eshell/em-prompt.el (eshell-emit-prompt):
412 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
413 (Bug#16167)
414
415 2013-12-17 Chong Yidong <cyd@gnu.org>
416
417 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
418 Suggested by Xue Fuqiao.
419
420 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
421
422 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
423
424 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * net/shr.el (shr-insert-document): Remove unused var
427 `shr-preliminary-table-render'.
428 (shr-rescale-image): Remove unused arg `force'.
429 (shr-put-image): Update calls accordingly.
430 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
431
432 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
433
434 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
435 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
436 :close-all, to see which indentation method to use (Bug#16116).
437 (smie-rules-function): Document the method :close-all.
438
439 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
440
441 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
442
443 * net/eww.el (eww-display-html): If we can't find the anchor we're
444 looking for, then go to point-min.
445
446 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
447
448 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
449 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
450 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
451 Expand dir too, in case it's relative.
452
453 2013-12-16 Juri Linkov <juri@jurta.org>
454
455 * desktop.el (desktop-auto-save-timeout): Change default to
456 `auto-save-timeout'. Doc fix.
457 (desktop-save): Skip the timestamp in desktop-saved-frameset
458 when checking for auto-save changes.
459 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
460 `desktop-auto-save' is called repeatedly by the idle timer.
461 (desktop-auto-save-set-timer): Replace `run-with-timer' with
462 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
463 (Bug#15331)
464
465 2013-12-16 Juri Linkov <juri@jurta.org>
466
467 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
468 (Bug#16035)
469 (isearch-pre-command-hook): Check `this-command' for symbolp.
470
471 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
474
475 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
476
477 * progmodes/cfengine.el (cfengine3--current-word): Remove.
478 (cfengine3--current-function): Bring in the current-function
479 functionality from `cfengine3--current-word'.
480 (cfengine3-completion-function): Bring in the
481 bounds-of-current-word functionality from
482 `cfengine3--current-word'.
483
484 2013-12-16 Martin Rudalics <rudalics@gmx.at>
485
486 * window.el (display-buffer-below-selected):
487 Bind split-height-threshold to 0 as suggested by Juri Linkov.
488
489 2013-12-16 Leo Liu <sdl.web@gmail.com>
490
491 * progmodes/compile.el (compile-goto-error): Do not push-mark.
492 Remove NOMSG arg and all uses changed.
493
494 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
497 (cua--deactivate-rectangle): Don't deactivate the mark.
498 (cua-set-rectangle-mark): Don't set mark-active since
499 cua--activate-rectangle already does it for us.
500 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
501 non-rectangular region.
502
503 * emulation/cua-base.el (cua-repeat-replace-region):
504 Use with-current-buffer.
505
506 * net/gnutls.el: Use cl-lib.
507 (gnutls-negotiate): `mapcan' -> cl-mapcan.
508
509 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
510
511 * emacs-lisp/package.el (package-built-in-p): Support both
512 built-in and the package.el converted package descriptions.
513 (package-show-package-list): Allow keywords.
514 (package-keyword-button-action): Use it instead of
515 `finder-list-matches'.
516 (package-menu-filter-interactive): Interactive filtering (by
517 keyword) function.
518 (package-menu--generate): Support keywords and change keymappings
519 and headers when they are given.
520 (package--has-keyword-p): Helper function.
521 (package-menu--refresh): Use it.
522 (package--mapc): Helper function.
523 (package-all-keywords): Use it.
524 (package-menu-mode-map): Set up menu items and keybindings to
525 provide a filtering UI.
526
527 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
528
529 * net/gnutls.el (gnutls-verify-error): New defcustom to control
530 the behavior when a certificate fails validation. Defaults to
531 old behavior: never abort, just warn.
532 (gnutls-negotiate): Use it.
533
534 2013-12-14 Martin Rudalics <rudalics@gmx.at>
535
536 * window.el (display-buffer-below-selected): Never split window
537 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
538
539 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
540
541 * emacs-lisp/package.el (package--prepare-dependencies): New function.
542 (package-buffer-info): Use it (bug#15108).
543
544 * icomplete.el (icomplete-completions): Make sure the prefix is already
545 displayed elsewhere before hiding it.
546
547 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
548
549 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
550 open-paren tokens when preceded by a open-paren, too.
551 (ruby-smie-rules): Handle virtual indentation after open-paren
552 tokens specially. If there is code between it and eol, return the
553 column where is starts (Bug#16118).
554
555 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
556
557 * progmodes/cfengine.el: Fix `add-hook' doc.
558 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
559 (cfengine3--current-word): Fix parameters.
560 (cfengine3-make-syntax-cache): Simplify further.
561 (cfengine3-completion-function, cfengine3--current-function):
562 Use `assq' for symbols.
563 (cfengine3--current-function): Fix `cfengine3--current-word' call.
564
565 2013-12-13 Glenn Morris <rgm@gnu.org>
566
567 * loadup.el (load-path): Warn if site-load or site-init changes it.
568 No more need to reset it when bootstrapping.
569
570 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
571
572 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
573 locations for cf-promises.
574 (cfengine-mode-syntax-functions-regex): New caching variable.
575 (cfengine3-fallback-syntax): Fallback syntax for cases where
576 cf-promises doesn't run.
577 (cfengine3--current-word): Reimplement using
578 `cfengine-mode-syntax-functions-regex'.
579 (cfengine3-completion-function, cfengine3--current-function):
580 Use `cfengine3-make-syntax-cache' directly.
581 (cfengine3-clear-syntax-cache): New function.
582 (cfengine3-make-syntax-cache): Simplify and create
583 `cfengine-mode-syntax-functions-regex' on demand.
584 (cfengine3-format-function-docstring): Don't call
585 `cfengine3-make-syntax-cache' explicitly.
586
587 2013-12-13 Martin Rudalics <rudalics@gmx.at>
588
589 Fix windmove-find-other-window broken after pixelwise resizing
590 (Bug#16017).
591 * windmove.el (windmove-other-window-loc): Revert change from
592 2013-12-04.
593 (windmove-find-other-window): Call window-in-direction.
594 * window.el (window-in-direction): New arguments SIGN, WRAP and
595 MINI to emulate original windmove-find-other-window behavior.
596
597 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
598
599 * simple.el (blink-matching--overlay): New variable.
600 (blink-matching-open): Instead of moving point, highlight the
601 matching paren with an overlay
602 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
603
604 * faces.el (paren-showing-faces, show-paren-match)
605 (show-paren-mismatch): Move from paren.el.
606
607 2013-12-13 Leo Liu <sdl.web@gmail.com>
608
609 * indent.el (indent-region): Disable progress reporter in
610 minibuffer. (Bug#16108)
611
612 * bindings.el (visual-order-cursor-movement): Fix version.
613
614 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
615
616 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
617 Also match after beginning of line.
618 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
619 files. Thanks to Russell Sim. (Bug#15378)
620
621 2013-12-13 Juri Linkov <juri@jurta.org>
622
623 * simple.el <Keypad support>: Remove key bindings duplicated
624 with bindings.el. (Bug#14397)
625
626 2013-12-13 Juri Linkov <juri@jurta.org>
627
628 * comint.el (comint-mode-map): Replace `delete-char' with
629 `delete-forward-char'. (Bug#16109)
630
631 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
632
633 * progmodes/python.el (python-indent-calculate-indentation):
634 Fix de-denters cornercase. (Bug#15731)
635
636 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
639 (advice--make): Pay attention to `depth'.
640 (advice--make-1): Don't autoload commands eagerly.
641 * emacs-lisp/elp.el (elp-instrument-function):
642 * emacs-lisp/trace.el (trace-function-internal):
643 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
644
645 * iswitchb.el (iswitchb-mode): Don't belittle ido.
646
647 2013-12-12 Eli Zaretskii <eliz@gnu.org>
648
649 * term/w32-win.el (w32-handle-dropped-file):
650 * startup.el (normal-top-level):
651 * net/browse-url.el (browse-url-file-url):
652 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
653 decode file names using 'utf-8' rather than
654 file-name-coding-system.
655
656 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
657
658 * progmodes/python.el (python-indent-context)
659 (python-indent-calculate-indentation): Fix auto-identation
660 behavior for comment blocks. (Bug#15916)
661
662 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
663
664 * progmodes/python.el (python-indent-calculate-indentation):
665 When determining indentation, don't treat "return", "pass", etc., as
666 operators when they are just string constituents. (Bug#15812)
667
668 2013-12-12 Juri Linkov <juri@jurta.org>
669
670 * uniquify.el (uniquify-buffer-name-style): Change default to
671 `post-forward-angle-brackets'.
672
673 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
674 `uniquify'. Change default to `post-forward-angle-brackets'.
675
676 2013-12-11 Glenn Morris <rgm@gnu.org>
677
678 * emacs-lisp/package.el (finder-list-matches):
679 Autoload rather than falsely declaring.
680
681 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
682
683 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
684 (eww-mode-map): Use them.
685
686 2013-12-11 Martin Rudalics <rudalics@gmx.at>
687
688 * window.el (display-buffer-in-side-window): Fix doc-string
689 (Bug#16115).
690
691 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
692
693 * vc/vc-git.el: Silence byte-compiler warnings.
694 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
695 (log-edit-set-header): Declare.
696
697 2013-12-11 Eli Zaretskii <eliz@gnu.org>
698
699 * Makefile.in (custom-deps, finder-data): Run output file names
700 through unmsys--file-name. (Bug#16099)
701
702 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
705 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
706
707 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
708 instead of deleting the selection "by hand" (bug#16098).
709 Rely on insert-for-yank to yank rectangles.
710 (cua-highlight-region-shift-only): Mark obsolete.
711 (cua-mode): Don't enable/disable transient-mark-mode,
712 shift-select-mode (cua-mode works both with and without them), and
713 pc-selection-mode (obsolete).
714 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
715 (cua--deactivate-rectangle): Deactivate it.
716
717 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
718 (delete-selection-helper): Make sure yank starts at the top of the
719 deleted region.
720 (minibuffer-keyboard-quit): Use region-active-p.
721
722 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
723
724 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
725 to `delete' (bug#16109).
726
727 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
728
729 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
730 info manual and show keybindings and set `:group' keyword.
731
732 2013-12-11 Juri Linkov <juri@jurta.org>
733
734 * delsel.el (delete-active-region): Let-bind `this-command'
735 to prevent `kill-region' from changing its original value.
736 (delete-selection-helper): Handle `overwrite-mode' for the type
737 `kill' exactly the same way as for the type `t'.
738 (insert-char, quoted-insert, reindent-then-newline-and-indent):
739 Support more commands. (Bug#13312)
740
741 2013-12-11 Juri Linkov <juri@jurta.org>
742
743 * bindings.el: Map kp keys to non-kp keys systematically
744 with basic modifiers control, meta and shift. (Bug#14397)
745
746 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
747
748 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
749 "Close browser" menu items. Fix wrong function of "List
750 bookmarks".
751
752 2013-12-11 Juri Linkov <juri@jurta.org>
753
754 * misearch.el (multi-isearch-buffers): Set the value of
755 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
756 arg of isearch-forward to t.
757 (multi-isearch-buffers-regexp): Set the value of
758 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
759 arg of isearch-forward-regexp to t.
760 (multi-isearch-files): Set the value of
761 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
762 arg of isearch-forward to t.
763 (multi-isearch-files-regexp): Set the value of
764 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
765 arg of isearch-forward-regexp to t. (Bug#16035)
766
767 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
768 arg of isearch-forward to t.
769 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
770 arg of isearch-forward-regexp to t.
771 (dired-isearch-filter-filenames): Remove unnecessary check for
772 `dired-isearch-filenames'.
773
774 * comint.el (comint-history-isearch-backward):
775 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
776 (comint-history-isearch-backward-regexp):
777 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
778
779 2013-12-10 Eli Zaretskii <eliz@gnu.org>
780
781 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
782 unmsys--file-name. (Bug#16099)
783
784 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
785
786 * emacs-lisp/package.el (package-keyword-button-action):
787 Remove finder.el require dependency.
788
789 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
790
791 * emacs-lisp/package.el: Require finder.el.
792 (describe-package-1): Add keyword buttons.
793 (package-make-button): New convenience function.
794 (package-keyword-button-action): Keyword button action using
795 `finder-list-matches'.
796
797 2013-12-09 Eli Zaretskii <eliz@gnu.org>
798
799 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
800 last commit.
801
802 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
803
804 * autorevert.el (auto-revert-notify-add-watch): Do not handle
805 symlinked files.
806
807 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
808
809 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
810 after the end of a percent literal.
811
812 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
813
814 * progmodes/ruby-mode.el (ruby-forward-string): Document.
815 Handle caret-delimited strings (Bug#16079).
816
817 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
818
819 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
820 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
821 `ruby-parse-partial' (Bug#16078).
822
823 2013-12-09 Leo Liu <sdl.web@gmail.com>
824
825 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
826
827 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
828
829 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
830 (js-switch-indent-offset): New option.
831 (js--proper-indentation): Use it. And handle the case when
832 "default" is actually a key in an object literal.
833 (js--same-line): New function.
834 (js--multi-line-declaration-indentation): Use it.
835 (js--indent-in-array-comp, js--array-comp-indentation):
836 New functions.
837 (js--proper-indentation): Use them, to handle array comprehension
838 continuations.
839
840 2013-12-08 Leo Liu <sdl.web@gmail.com>
841
842 * progmodes/flymake.el (flymake-highlight-line): Re-write.
843 (flymake-make-overlay): Remove arg MOUSE-FACE.
844 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
845
846 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
849 New function.
850 (redisplay-highlight-region-function): Use it.
851
852 * emulation/cua-base.el (cua--explicit-region-start)
853 (cua--last-region-shifted): Remove.
854 (cua--deactivate): Use deactivate-mark.
855 (cua--pre-command-handler-1): Don't handle shift-selection.
856 (cua--post-command-handler-1): Don't change transient-mark-mode.
857 (cua--select-keymaps): Use region-active-p rather than
858 cua--explicit-region-start or cua--last-region-shifted.
859 (cua-mode): Enable shift-select-mode.
860
861 2013-12-08 Leo Liu <sdl.web@gmail.com>
862
863 * progmodes/flymake.el (flymake-popup-current-error-menu):
864 Rename from flymake-display-err-menu-for-current-line. Reimplement.
865 (flymake-posn-at-point-as-event, flymake-popup-menu)
866 (flymake-make-emacs-menu): Remove. (Bug#16077)
867
868 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * rect.el (rectangle-mark-mode): Activate mark even if
871 transient-mark-mode is off (bug#16066).
872 (rectangle--highlight-for-redisplay): Fix boundary condition when point
873 is > mark and at bolp.
874
875 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
876 (region-extract-function): Use it.
877 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
878 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
879 Delete functions.
880 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
881 kill-ring-save, kill-region, delete-char, delete-forward-char.
882 Ignore self-insert-iso.
883
884 * emulation/cua-gmrk.el (cua--init-global-mark):
885 Ignore `self-insert-iso'.
886
887 * emulation/cua-base.el (cua--prefix-copy-handler)
888 (cua--prefix-cut-handler): Rely on region-extract-function rather than
889 checking cua--rectangle.
890 (cua-delete-region): Use region-extract-function.
891 (cua-replace-region): Delete function.
892 (cua-copy-region, cua-cut-region): Obey region-extract-function.
893 (cua--pre-command-handler-1): Don't do the delete-selection thing.
894 (cua--self-insert-char-p): Ignore `self-insert-iso'.
895 (cua--init-keymaps): Don't remap delete-selection commands.
896 (cua-mode): Use delete-selection-mode instead of rolling our own
897 (bug#16085).
898
899 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
900 Obey region-extract-function.
901
902 Make registers and delete-selection-mode work on rectangles.
903 * register.el (describe-register-1): Don't modify the register's value.
904 (copy-to-register): Obey region-extract-function.
905 * delsel.el (delete-active-region): Obey region-extract-function.
906
907 2013-12-08 Leo Liu <sdl.web@gmail.com>
908
909 * progmodes/flymake.el (flymake, flymake-error-bitmap)
910 (flymake-warning-bitmap, flymake-fringe-indicator-position)
911 (flymake-compilation-prevents-syntax-check)
912 (flymake-start-syntax-check-on-newline)
913 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
914 (flymake-start-syntax-check-on-find-file, flymake-log-level)
915 (flymake-xml-program, flymake-master-file-dirs)
916 (flymake-master-file-count-limit)
917 (flymake-allowed-file-name-masks): Relocate.
918 (flymake-makehash, flymake-float-time)
919 (flymake-replace-regexp-in-string, flymake-split-string)
920 (flymake-get-temp-dir): Remove.
921 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
922 (flymake-current-row, flymake-selected-frame)
923 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
924 related functions. (Bug#16077)
925
926 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
927
928 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
929
930 2013-12-07 Tassilo Horn <tsdh@gnu.org>
931
932 * help-fns.el (describe-function-1): Use new advice-* functions
933 rather than old ad-* functions. Fix function type description and
934 source links for advised functions and subrs.
935
936 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
937
938 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
939
940 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
941
942 * progmodes/compile.el (compilation-start):
943 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
944
945 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
946 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
947
948 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
949
950 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
951 Touch up the last change.
952
953 2013-12-06 Leo Liu <sdl.web@gmail.com>
954
955 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
956 (inferior-octave-startup): Always use "octave> " for prompt.
957 (octave-goto-function-definition)
958 (octave-sync-function-file-names)
959 (octave-find-definition-default-filename): Remove redundant backquotes.
960
961 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
962
963 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
964 syntax for `?'.
965 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
966 where appropriate already.
967 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
968 end of method names (Bug#15874).
969
970 2013-12-06 Juri Linkov <juri@jurta.org>
971
972 * isearch.el (isearch--saved-overriding-local-map):
973 New internal variable.
974 (isearch-mode): Set it to the initial value of
975 `overriding-terminal-local-map'.
976 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
977 with `isearch--saved-overriding-local-map'. (Bug#16035)
978
979 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
980
981 * progmodes/octave.el (inferior-octave-completion-table):
982 Turn back into function, use `completion-table-with-cache'
983 (Bug#11906). Update all references.
984
985 * minibuffer.el (completion-table-with-cache): New function.
986
987 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
988
989 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
990
991 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
992
993 * net/eww.el (eww-current-source): New variable to store page
994 source.
995 (eww-display-html, eww-mode, eww-save-history)
996 (eww-restore-history): Use it.
997 (eww-view-source): New command to view page source.
998 Opportunistically uses `html-mode' to highlight the buffer.
999 (eww-mode-map): Install it.
1000
1001 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * net/dbus.el (dbus-unregister-service)
1004 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1005 Fix docstring.
1006 (dbus-unregister-service): Skip :serial entries in
1007 `dbus-registered-objects-table'.
1008 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1009
1010 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1011
1012 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1013 around keywords with extra `split-string' argument.
1014
1015 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1016
1017 * windmove.el (windmove-other-window-loc): Handle navigation
1018 between windows (excluding the minibuffer window - Bug#16017).
1019
1020 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1021
1022 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1023 in D-Bus type syntax.
1024 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1025 preserve unibyte strings. (Bug#16048)
1026
1027 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1030 Call force-mode-line-update is the proper buffer (bug#16042).
1031
1032 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1033
1034 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1035 `log-edit-remember-comment', make argument optional. Adjust all
1036 callers.
1037 (log-edit-mode): Add `log-edit-remember-comment' to
1038 `kill-buffer-hook' locally.
1039 (log-edit-kill-buffer): Don't remember comment explicitly since
1040 the buffer is killed anyway.
1041
1042 2013-12-04 Juri Linkov <juri@jurta.org>
1043
1044 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1045 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1046
1047 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1048
1049 * notifications.el (notifications-close-notification): Call the
1050 D-Bus method with ID being a `:uint32'. (Bug#16030)
1051
1052 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1053
1054 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1055
1056 2013-12-03 Juri Linkov <juri@jurta.org>
1057
1058 * progmodes/compile.el (compilation-start): Rename window alist
1059 entry `no-display-ok' to `allow-no-window'.
1060
1061 * simple.el (shell-command): Add window alist entry
1062 `allow-no-window' to `display-buffer'.
1063 (async-shell-command): Doc fix.
1064
1065 * window.el (display-buffer-no-window): New action function.
1066 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1067
1068 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1069
1070 * vc/log-edit.el (log-edit-set-header): Extract from
1071 `log-edit-toggle-header'.
1072 (log-edit-extract-headers): Separate the summary, when extracted
1073 from header, from the rest of the message with an empty line.
1074
1075 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1076 line, if present, to the Summary header.
1077
1078 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1081 in current-buffer (bug#16029).
1082
1083 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1084
1085 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1086 (debugger-mode-map): Bind it.
1087 (debugger--backtrace-base): New function.
1088 (debugger-eval-expression): Use it.
1089 (debugger-frame-number): Skip local vars when present.
1090 (debugger--locals-visible-p, debugger--insert-locals)
1091 (debugger--show-locals, debugger--hide-locals): New functions.
1092
1093 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1094
1095 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1096 "LC_ALL".
1097 (tramp-get-remote-locale): New defun.
1098 (tramp-open-connection-setup-interactive-shell): Use it.
1099
1100 2013-12-02 Leo Liu <sdl.web@gmail.com>
1101
1102 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1103
1104 * progmodes/sh-script.el (sh-shell-process):
1105 * progmodes/octave.el (inferior-octave-process-live-p):
1106 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1107 (gdb-inferior-io-sentinel):
1108 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1109
1110 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1113 `save-selected-window' to `log-edit-hide-buf'. This makes
1114 `log-edit-show-files' idempotent.
1115 (log-edit-show-files): Mark the new window as dedicated.
1116
1117 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1118
1119 * vc/log-edit.el (log-edit-mode-map): Add binding for
1120 `log-edit-kill-biffer'.
1121 (log-edit-hide-buf): Add a FIXME comment.
1122 (log-edit-add-new-comment): New function, extracted from
1123 `log-edit-done'.
1124 (log-edit-done, log-edit-add-to-changelog): Use it.
1125 (log-edit-kill-buffer): New command.
1126
1127 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1128
1129 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1130 instead of killing the buffer.
1131
1132 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1135
1136 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1137
1138 * net/eww.el (eww-form-checkbox-selected-symbol)
1139 (eww-form-checkbox-symbol): New customizable variable.
1140 (eww-form-checkbox, eww-toggle-checkbox):
1141 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1142
1143 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1144 (shr--get-media-pref, shr--extract-best-source): New function.
1145 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1146 no :src tag was specified.
1147
1148 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1149 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1150 Use \\` to match beginning of string instead of ^.
1151 (eww-browse-with-external-browser): Provide optional URL parameter.
1152 (eww-render): Set `eww-current-title' back to "".
1153
1154 * net/shr.el (shr-tag-video): Display content for video if no
1155 poster is available.
1156 (shr-tag-audio): Add support for <audio> tag.
1157
1158 * net/eww.el (eww-text-input-types): New const.
1159 (eww-process-text-input): Treat input types in
1160 `eww-text-input-types' as text.
1161
1162 * net/shr.el (shr-tag-table): Fix comment typo.
1163
1164 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1165
1166 * net/eww.el (eww-follow-link): New command to avoid reloading
1167 pages when we follow #target links (bug#15243).
1168 (eww-quit): Special mode buffers shouldn't query before exiting.
1169
1170 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1171
1172 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1173 forms.
1174
1175 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1176
1177 * net/eww.el (eww-restore-history): Update the window title after
1178 moving in the history.
1179 (eww-current-dom): New variable used to save the current DOM.
1180
1181 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1182
1183 * vc/log-edit.el (log-edit-mode-map): Add binding for
1184 `log-edit-beginning-of-line'.
1185 (log-edit-setup-add-author): New user option.
1186 (log-edit-beginning-of-line): New command.
1187 (log-edit): Move major mode call above the contents setup so that
1188 the local variable values are already applied.
1189 (log-edit): Only insert "Author: " when
1190 `log-edit-setup-add-author' is non-nil.
1191 (log-edit): When SETUP is non-nil, position point after ": "
1192 instead of point-min.
1193
1194 2013-12-01 Glenn Morris <rgm@gnu.org>
1195
1196 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1197
1198 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1199
1200 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1201 redisplay to make sure the initial frame gets a chance to become
1202 visible. (Bug#16014)
1203
1204 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1205
1206 Support resizing frames and windows pixelwise.
1207 * cus-start.el (frame-resize-pixelwise)
1208 (window-resize-pixelwise): New entries.
1209 * emacs-lisp/debug.el (debug): Use window-total-height instead
1210 of window-total-size.
1211 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1212 * help.el (describe-bindings-internal): Call help-buffer
1213 (temp-buffer-max-width): New option.
1214 (resize-temp-buffer-window, help-window-setup)
1215 (with-help-window): Rewrite.
1216 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1217 dragging dividers.
1218 * window.el (frame-char-size, window-min-pixel-height)
1219 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1220 (window-min-pixel-width, window-safe-min-pixel-size)
1221 (window-combination-p, window-safe-min-size)
1222 (window-resizable-p, window--size-to-pixel)
1223 (window--pixel-to-size, window--resize-apply-p): New functions.
1224 (window-safe-min-height): Fix doc-string.
1225 (window-size, window-min-size, window--min-size-1)
1226 (window-sizable, window-sizable-p, window--min-delta-1)
1227 (window-min-delta, window--max-delta-1, window-max-delta)
1228 (window--resizable, window--resizable-p, window-resizable)
1229 (window-full-height-p, window-full-width-p, window-at-side-p)
1230 (window--in-direction-2, window-in-direction)
1231 (window--resize-reset-1, window--resize-mini-window)
1232 (window-resize, window-resize-no-error)
1233 (window--resize-child-windows-normal)
1234 (window--resize-child-windows, window--resize-siblings)
1235 (window--resize-this-window, window--resize-root-window)
1236 (window--resize-root-window-vertically)
1237 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1238 (maximize-window, minimize-window, delete-window)
1239 (quit-restore-window, window-split-min-size, split-window)
1240 (balance-windows-2, balance-windows)
1241 (balance-windows-area-adjust, balance-windows-area)
1242 (window--state-get-1, window-state-get, window--state-put-1)
1243 (window--state-put-2, window-state-put)
1244 (display-buffer-record-window, window--display-buffer):
1245 Make functions handle pixelwise sizing of windows.
1246 (display-buffer--action-function-custom-type)
1247 (display-buffer-fallback-action):
1248 Add display-buffer-in-previous-window.
1249 (display-buffer-use-some-window): Resize window to height it had
1250 before.
1251 (fit-window-to-buffer-horizontally): New option.
1252 (fit-frame-to-buffer): Describe new values.
1253 (fit-frame-to-buffer-bottom-margin): Replace with
1254 fit-frame-to-buffer-margins.
1255 (window--sanitize-margin): New function.
1256 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1257 using window-text-pixel-size.
1258
1259 2013-11-30 Glenn Morris <rgm@gnu.org>
1260
1261 * emacs-lisp/bytecomp.el (byte-compile-form):
1262 Make the `interactive-only' warning like the `obsolete' one.
1263 * comint.el (comint-run):
1264 * files.el (insert-file-literally, insert-file):
1265 * replace.el (replace-string, replace-regexp):
1266 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1267 (goto-line, insert-buffer, next-line, previous-line):
1268 Tweak `interactive-only' spec.
1269
1270 Stop keeping (most) generated cedet grammar files in the repository.
1271 * Makefile.in (semantic): New.
1272 (compile-main): Depend on semantic.
1273
1274 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1277 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1278
1279 * uniquify.el (uniquify-buffer-name-style): Change default.
1280
1281 * loadup.el: Preload "uniquify".
1282
1283 * time.el (display-time-update): Update all mode lines (bug#15999).
1284
1285 * electric.el (electric-indent-mode): Enable by default.
1286 * loadup.el: Preload "electric".
1287
1288 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1289
1290 * emacs-lisp/helpers.el (string-empty-p): New function.
1291 (string-blank-p): New function.
1292
1293 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1294
1295 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1296 (Bug#14029).
1297
1298 2013-11-29 Andreas Politz <politza@fh-trier.de>
1299 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1300 allow non-lambda lists as functions.
1301 (imenu--in-alist): Don't recurse into non-subalists.
1302 (imenu): Don't pass function itself as an argument (Bug#14029).
1303
1304 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * progmodes/python.el (python-mode-map): Remove binding for ":".
1307 (python-indent-electric-colon): Remove command.
1308 (python-indent-post-self-insert-function): Integrate the previous code
1309 of python-indent-electric-colon. Make it conditional on
1310 electric-indent-mode.
1311 (python-mode): Add ?: to electric-indent-chars.
1312 Move python-indent-post-self-insert-function to the end of
1313 post-self-insert-hook.
1314
1315 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * doc-view.el (doc-view-goto-page): Update mode-line.
1318
1319 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1320
1321 2013-11-27 Glenn Morris <rgm@gnu.org>
1322
1323 * international/charprop.el, international/uni-bidi.el:
1324 * international/uni-category.el, international/uni-combining.el:
1325 * international/uni-comment.el, international/uni-decimal.el:
1326 * international/uni-decomposition.el, international/uni-digit.el:
1327 * international/uni-lowercase.el, international/uni-mirrored.el:
1328 * international/uni-name.el, international/uni-numeric.el:
1329 * international/uni-old-name.el, international/uni-titlecase.el:
1330 * international/uni-uppercase.el:
1331 Remove generated files from VCS repository.
1332
1333 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1334
1335 * filenotify.el (file-notify-add-watch): Don't special-case
1336 w32notify when computing the directory to watch.
1337
1338 2013-11-27 Glenn Morris <rgm@gnu.org>
1339
1340 Make bootstrap without generated uni-*.el files possible again.
1341 * loadup.el: Update command-line-args checking for unidata-gen.
1342 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1343 * composite.el, international/characters.el:
1344 Handle unicode tables being undefined.
1345
1346 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1347 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1348 (compile-main): Depend on leim rule.
1349 (leim): New rule.
1350 * loadup.el: Move leim-list.el to leim/ subdirectory.
1351 * startup.el (normal-top-level): No more leim directory.
1352 * international/ja-dic-cnv.el (skkdic-convert):
1353 Disable version-control and autoloads in output files.
1354 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1355 Disable version-control and autoloads in output files.
1356 * leim/quail: Move here from ../leim.
1357 * leim/quail/hangul.el (hangul-input-method-activate):
1358 Add autoload cookie.
1359 (generated-autoload-load-name): Set file-local value.
1360 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1361 (generated-autoload-load-name): Set file-local value.
1362
1363 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1364
1365 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1366 (eww-add-bookmark): Ask confirmation when add to bookmarks
1367 (eww-quit): Ask confirmation before quitting eww.
1368
1369 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1370
1371 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1372 reading output from Diff on MS-Windows and MS-DOS.
1373
1374 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1375
1376 * emacs-lisp/helpers.el (string-reverse): New function.
1377
1378 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1379
1380 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1381 names on MS Windows, like "/[::1]:".
1382
1383 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1384 SWITCHES.
1385
1386 2013-11-26 Glenn Morris <rgm@gnu.org>
1387
1388 * progmodes/python.el (python-indent-guess-indent-offset):
1389 Avoid corner-case error. (Bug#15975)
1390
1391 Preload leim-list.el. (Bug#4789)
1392 * loadup.el: Load leim-list.el when found.
1393 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1394
1395 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1396
1397 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1398
1399 * emacs-lisp/helpers.el (string-join): New function.
1400
1401 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1402
1403 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1404 Mark as obsolete and replace it with a symbol property.
1405 (byte-compile-form): Use new 'interactive-only property.
1406 * comint.el, files.el, replace.el, simple.el:
1407 Apply new 'interactive-only properly.
1408
1409 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1410
1411 * window.el (display-buffer-at-bottom): Make sure that
1412 split-window-sensibly creates the new window on bottom
1413 (Bug#15961).
1414
1415 2013-11-23 David Kastrup <dak@gnu.org>
1416
1417 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1418 on the conflict markers when available.
1419 (smerge--get-marker): New function.
1420 (smerge-end-re, smerge-base-re): Add subgroup.
1421
1422 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1423
1424 * frame.el (handle-focus-in, handle-focus-out): Add missing
1425 interactive spec.
1426
1427 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1428
1429 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1430 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1431
1432 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1435 (gomoku--last-pos): New var.
1436 (gomoku--intangible-chars): New const.
1437 (gomoku--intangible): New function.
1438 (gomoku-mode): Use it. Derive from special-mode.
1439 (gomoku-move-up): Adjust line count.
1440 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1441 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1442 Simplify accordingly.
1443
1444 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1445 Remove blink-cursor code.
1446 (blink-cursor-timer-function, blink-cursor-suspend):
1447 Don't special-case GUIs.
1448 (blink-cursor-mode): Use focus-in/out-hook.
1449
1450 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1451
1452 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1453 work when annotation is invisible (Bug#13886).
1454
1455 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1456
1457 * json.el (json-alist-p): Only return non-nil if the alist has
1458 simple keys (Bug#13518).
1459
1460 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1461
1462 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1463 when control-statement is the first statement in a buffer (Bug#15956).
1464
1465 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * imenu.el (imenu-generic-skip-comments-and-strings):
1468 New option (Bug#15560).
1469 (imenu--generic-function): Use it.
1470
1471 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1472
1473 * minibuffer.el (completion--in-region-1): Scroll the correct
1474 window. (Bug#13898)
1475
1476 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1477
1478 * emacs-lisp/helpers.el: Add some string helpers.
1479 (string-trim-left): Removes leading whitespace.
1480 (string-trim-right): Removes trailing whitespace.
1481 (string-trim): Removes leading and trailing whitespace.
1482
1483 * subr.el (string-suffix-p): New function.
1484
1485 2013-11-23 Glenn Morris <rgm@gnu.org>
1486
1487 * progmodes/python.el (python-shell-send-file):
1488 Add option to delete file when done. (Bug#15647)
1489 (python-shell-send-string, python-shell-send-region): Use it.
1490
1491 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1492
1493 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1494 to set buffer-read-only to t, never to nil. (Bug#15938)
1495
1496 * textmodes/tex-mode.el (latex-noindent-environments):
1497 Add safe-local-variable property. (Bug#15936)
1498
1499 2013-11-23 Glenn Morris <rgm@gnu.org>
1500
1501 * textmodes/enriched.el (enriched-mode): Doc fix.
1502 * emacs-lisp/authors.el (authors-renamed-files-alist):
1503 Add enriched.doc -> enriched.txt.
1504
1505 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1506
1507 2013-11-22 Leo Liu <sdl.web@gmail.com>
1508
1509 * progmodes/octave.el (inferior-octave-startup): Spit out error
1510 message.
1511
1512 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1513
1514 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1515 Improve docstring.
1516 Add :version.
1517 (ruby-encoding-magic-comment-style): Add :version.
1518
1519 2013-11-22 Leo Liu <sdl.web@gmail.com>
1520
1521 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1522 (Bug#15076)
1523 (octave-help-mode): Adapt to change to help-mode-finish to use
1524 derived-mode-p on 2013-09-17.
1525 (inferior-octave-prompt): Also match octave-gui.
1526 (octave-kill-process): Don't ask twice. (Bug#10564)
1527
1528 2013-11-22 Leo Liu <sdl.web@gmail.com>
1529
1530 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1531 (inferior-octave-startup, inferior-octave-check-process)
1532 (inferior-octave-track-window-width-change)
1533 (octave-completion-at-point, octave-eldoc-function): Use it.
1534 (octave-kill-process): Provide confirmation. (Bug#10564)
1535
1536 2013-11-21 Leo Liu <sdl.web@gmail.com>
1537
1538 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1539 Fix obsolete variable comment-use-global-state.
1540
1541 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1542
1543 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1544 Add `octave-source-file'.
1545 (octave-source-file): New function. (Bug#15935)
1546
1547 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1548
1549 * net/eww.el (eww-local-regex): New variable.
1550 (eww): Use it to detect localhost and similar.
1551
1552 2013-11-21 Leo Liu <sdl.web@gmail.com>
1553
1554 Add completion for command `ag'.
1555 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1556 (pcomplete/ag): New function.
1557 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1558
1559 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1562 (bug#14646).
1563 (make-obsolete): Remove interactive spec.
1564
1565 2013-11-21 Glenn Morris <rgm@gnu.org>
1566
1567 * startup.el (command-line-1): Use path-separator with -L.
1568
1569 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1570
1571 * emacs-lisp/package.el (describe-package-1): Add package archive
1572 to shown fields.
1573
1574 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1575
1576 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1577 Change default to "# encoding: %s" to differentiate it from the
1578 default Ruby encoding comment template.
1579
1580 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1581
1582 * ses.el (ses-mode): Doc fix. (Bug#14748)
1583
1584 2013-11-20 Leo Liu <sdl.web@gmail.com>
1585
1586 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1587
1588 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1589
1590 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1591 when rebase or bisect are in progress.
1592
1593 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1594
1595 * filenotify.el (file-notify-add-watch): Doc fix.
1596
1597 2013-11-19 Leo Liu <sdl.web@gmail.com>
1598
1599 * obsolete/rcompile.el: Mark obsolete.
1600
1601 * progmodes/compile.el (compilation-start)
1602 (compilation-goto-locus, compilation-find-file):
1603 Pass no-display-ok and handle nil value from display-buffer.
1604 (Bug#13594)
1605
1606 * window.el (display-buffer-alist, display-buffer): Document the
1607 new parameter no-display-ok. Return either a window or nil
1608 but never a non-window value.
1609
1610 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * electric.el (electric-indent-mode-map): Remove.
1613 (electric-indent-mode): Change the global-map instead (bug#15915).
1614
1615 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1616 Use add-function.
1617
1618 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * emacs-lisp/nadvice.el (remove-function): Align with
1621 add-function's behavior.
1622
1623 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1624 (gdb--string-regexp): New constant.
1625 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1626 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1627 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1628 submatch 1.
1629 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1630 Adjust use accordingly.
1631 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1632
1633 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1634
1635 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1636 interpolation curlies (Bug#15914).
1637
1638 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1639
1640 * calc/calc.el (calc-context-sensitive-enter): New variable.
1641 (calc-enter): Use `calc-context-sensitive-enter'.
1642
1643 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1644
1645 * progmodes/cfengine.el: Version bump.
1646 (cfengine-cf-promises): New defcustom to locate cf-promises.
1647 (cfengine3-vartypes): Add new "data" type.
1648 (cfengine3--current-word): New function to get current name-like
1649 word or its bounds.
1650 (cfengine3--current-function): New function to look up a CFEngine
1651 function's definition.
1652 (cfengine3-format-function-docstring): New function.
1653 (cfengine3-make-syntax-cache): New function.
1654 (cfengine3-documentation-function): New function: ElDoc glue.
1655 (cfengine3-completion-function): New function: completion glue.
1656 (cfengine3-mode): Set `compile-command',
1657 `eldoc-documentation-function', and add to
1658 `completion-at-point-functions'.
1659
1660 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1663 `tramp-current-connection'.
1664
1665 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1666
1667 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1668 nil/self/true/false with "end of symbol".
1669
1670 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1671
1672 * subr.el (version-regexp-alist): Fix a typo.
1673
1674 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1675
1676 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1677 "en_US.utf8" and "LC_CTYPE" to "".
1678 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1679 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1680
1681 2013-11-15 Leo Liu <sdl.web@gmail.com>
1682
1683 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1684
1685 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * progmodes/gud.el (ctl-x-map):
1688 Remove C-x SPC binding. (Bug#12342)
1689 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1690
1691 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1692
1693 * subr.el (version-regexp-alist):
1694 Recognize hg, svn and darcs versions as snapshot versions.
1695
1696 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1697 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1698 (ruby--encoding-comment-required-p): Extract from
1699 `ruby-mode-set-encoding'.
1700 (ruby-mode-set-encoding): Add the ability to always insert an
1701 utf-8 encoding comment. Fix and simplify coding comment update
1702 logic.
1703
1704 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1705
1706 * net/tramp-gvfs.el (top): Run init code only when
1707 `tramp-gvfs-enabled' is not nil.
1708 (tramp-gvfs-enabled): Check also :system bus.
1709
1710 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 Sync with upstream verilog-mode revision 78e66ba.
1713 * progmodes/verilog-mode.el (verilog-end-of-defun)
1714 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1715 (verilog-get-end-of-defun): Remove unused argument.
1716 (verilog-comment-depth): Remove unused local `e'.
1717 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1718 Don't pass arg to verilog-get-end-of-defun.
1719
1720 2013-11-14 Glenn Morris <rgm@gnu.org>
1721
1722 * obsolete/assoc.el (aget): Prefix dynamic variable.
1723
1724 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1725
1726 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * widget.el, hfy-cmap.el: Remove bogus package version number.
1729
1730 2013-11-13 Glenn Morris <rgm@gnu.org>
1731
1732 * replace.el (replace-eval-replacement):
1733 Try to give more helpful error message. (Bug#15836)
1734
1735 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1736 (archive-7z-update): Avoid custom type mismatches.
1737
1738 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1739
1740 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1741
1742 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1743 address can be empty.
1744
1745 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1746 Accept nil SWITCHES.
1747 (tramp-gvfs-handle-write-region): Implement APPEND.
1748
1749 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1750
1751 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1752 binary "|" operator and closing block args delimiter.
1753 Remove FIXME comment referring to Ruby 1.8-only syntax.
1754 (ruby-smie--implicit-semi-p): Not after "|" operator.
1755 (ruby-smie--closing-pipe-p): New function.
1756 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1757 (ruby-smie-rules): Indent after "|".
1758
1759 2013-11-12 Glenn Morris <rgm@gnu.org>
1760
1761 * ps-print.el (ps-face-attribute-list):
1762 Handle anonymous faces. (Bug#15827)
1763
1764 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1765
1766 * window.el (display-buffer-other-frame): Fix doc-string.
1767 (Bug#15868)
1768
1769 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1772
1773 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1774
1775 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1776 (tramp-sh-handle-file-local-copy): Don't write a message when
1777 saving temporary files.
1778
1779 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1780 both directories are remote.
1781 (tramp-smb-handle-directory-files): Do not return double entries.
1782 Do not expand full file names.
1783 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1784 (tramp-smb-handle-write-region): Implement APPEND.
1785 (tramp-smb-get-stat-capability): Fix a stupid bug.
1786
1787 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1790
1791 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1792
1793 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1794 throwing error over malformed let/let* (bug#15814).
1795
1796 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * iswitchb.el (iswitchb-mode): Mark obsolete.
1799
1800 2013-11-11 Glenn Morris <rgm@gnu.org>
1801
1802 * international/uni-bidi.el, international/uni-category.el:
1803 * international/uni-name.el, international/uni-numeric.el:
1804 Regenerate for Unicode 6.3.0.
1805
1806 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1807
1808 * net/tramp.el (tramp-methods):
1809 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1810 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1811
1812 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1813
1814 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1815 Force highlighting text after Summary keyword in doc face for rpm.
1816
1817 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1818
1819 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1820 available and the word has no wildcards, append one to the grep pattern.
1821 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1822 (ispell-complete-word): Call `ispell-lookup-words' with the value
1823 independent of `ispell-look-p'.
1824
1825 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1826
1827 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1828 Not after "||".
1829 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1830 their parent.
1831
1832 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1835 (ruby-font-lock-keywords): Use backquote.
1836
1837 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1838
1839 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1840 (ruby-smie--backward-token): Only consider full-string matches.
1841
1842 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1843
1844 * faces.el (describe-face): Add distant-foreground.
1845
1846 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1847
1848 * progmodes/ruby-mode.el: Improve encoding comment handling.
1849 (ruby-encoding-magic-comment-style): New option.
1850 (ruby-custom-encoding-magic-comment-template): New option.
1851 (ruby--insert-coding-comment, ruby--detect-encoding):
1852 New functions extracted from `ruby-mode-set-encoding'.
1853 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1854 to control the style of the auto-inserted encoding comment.
1855
1856 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1857
1858 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1859 Use `smie-backward-sexp' with token argument.
1860
1861 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1864 Remove instrumentation code.
1865
1866 2013-11-08 Glenn Morris <rgm@gnu.org>
1867
1868 * progmodes/autoconf.el (autoconf-mode):
1869 Tweak comment-start-skip. (Bug#15822)
1870
1871 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1874 at bobp (bug#15826).
1875 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1876
1877 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1878
1879 * man.el (Man-start-calling): New macro, extracted from
1880 Man-getpage-in-background.
1881 (Man-getpage-in-background): Use it.
1882 (Man-update-manpage): New command.
1883 (Man-mode-map): Bind it.
1884
1885 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1886
1887 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1888 of "and", "or", "&&" and "||".
1889 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1890 argument. Prohibit opening curly brace because it could only be a
1891 block opener in that position.
1892 (ruby-smie--forward-token, ruby-smie--backward-token):
1893 Separate "|" from "&" or "*" going after it. That can happen in block
1894 arguments.
1895 (ruby-smie--indent-to-stmt): New function, seeks the end of
1896 previous statement or beginning of buffer.
1897 (ruby-smie-rules): Use it.
1898 (ruby-smie-rules): Check if there's a ":" before a curly block
1899 opener candidate; if there is, it's a hash.
1900
1901 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1904 (cl--block-wrapper): Fix last accidental change.
1905
1906 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1909 Instrument, in order to hunt failure on hydra.
1910
1911 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1912
1913 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1914 malformed bindings form (bug#15814).
1915
1916 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1917
1918 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1919 "." compared to " @ ". This incidentally fixes some indentation
1920 examples with "do".
1921 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1922 (ruby-smie-grammar): New tokens: "and" and "or".
1923 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1924 Exclude "and" and "or". Remove "do" in order to work around token
1925 priorities.
1926 (ruby-smie-rules): Add all infix tokens. Handle the case of
1927 beginning-of-buffer.
1928
1929 2013-11-06 Glenn Morris <rgm@gnu.org>
1930
1931 * Makefile.in (setwins_almost, setwins_for_subdirs):
1932 Avoid accidental matches.
1933
1934 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * menu-bar.el (popup-menu): Use key-binding.
1937
1938 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1939
1940 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1941 menus, support also the menus produced by minor modes.
1942 (Bug#15817)
1943
1944 2013-11-06 Leo Liu <sdl.web@gmail.com>
1945
1946 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1947 DISTANCE to bound the search. All uses changed. (Bug#15808)
1948
1949 2013-11-06 Glenn Morris <rgm@gnu.org>
1950
1951 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1952 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1953 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1954
1955 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * electric.el (electric-indent-just-newline): New command.
1958 (electric-indent-mode-map): New keymap.
1959 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1960 Re-add :group which weren't redundant.
1961
1962 * electric.el (electric-indent-local-mode): New minor mode.
1963 (electric-indent-functions-without-reindent): New var.
1964 (electric-indent-post-self-insert-function): Use it.
1965 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1966
1967 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1968
1969 * international/quail.el (quail-help): Be more explicit about the
1970 meaning of the labels shown on the keys. (Bug#15800)
1971
1972 * startup.el (normal-top-level): Load the subdirs.el files before
1973 setting the locale environment. (Bug#15805)
1974
1975 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1978 via arguments so as to get the right ones (bug#15418).
1979
1980 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1981
1982 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1983
1984 Fix problems found while writing a test suite.
1985
1986 * net/tramp-compat.el (tramp-compat-load): New defun.
1987 * net/tramp.el (tramp-handle-load): Use it.
1988
1989 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1990 "(numberp ok-if-already-exists)" correctly.
1991
1992 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1993
1994 * international/characters.el (glyphless-char-display-control):
1995 Add usage note.
1996
1997 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1998
1999 * progmodes/python.el (python-mode):
2000 * progmodes/scheme.el (scheme-mode):
2001 * progmodes/prolog.el (prolog-mode):
2002 * progmodes/ruby-mode.el (ruby-mode):
2003 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2004 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2005
2006 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * rect.el (rectangle--highlight-for-redisplay):
2009 * emacs-lisp/smie.el (smie--next-indent-change):
2010 Use buffer-chars-modified-tick.
2011
2012 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2013
2014 * electric.el (electric-indent-post-self-insert-function):
2015 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2016
2017 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2018
2019 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2020
2021 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2022
2023 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2024 (bug#15786).
2025
2026 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2029
2030 * progmodes/python.el: Fix up last change.
2031 (python-shell--save-temp-file): New function.
2032 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2033 `string' comes from the current buffer.
2034 (python-shell-send-string-no-output): Remove `msg' arg.
2035 (python--use-fake-loc): New var.
2036 (python-shell-buffer-substring): Obey it. Try to compensate for the
2037 extra coding line added by python-shell--save-temp-file.
2038 (python-shell-send-region): Use python-shell--save-temp-file and
2039 python-shell-send-file directly. Add `nomain' argument.
2040 (python-shell-send-buffer): Use python-shell-send-region.
2041 (python-electric-pair-string-delimiter): New function.
2042 (python-mode): Use it.
2043
2044 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2045
2046 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2047 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2048 environment and decoding all of the default-directory's to here
2049 from command-line.
2050 (command-line): Decode also argv[0].
2051
2052 * loadup.el: Error out if default-directory is a multibyte string
2053 when we are dumping.
2054
2055 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2056
2057 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2058
2059 * emacs-lisp/package.el (package-menu-mode)
2060 (package-menu--print-info, package-menu--archive-predicate):
2061 Add Archive column to package list.
2062
2063 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2064
2065 Fix problems found while writing a test suite.
2066
2067 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2068 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2069 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2070 to nil when running original file name handler. Otherwise,
2071 there are problems with constructs like "$$FOO".
2072
2073 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2074 for `localname'.
2075
2076 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2077
2078 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2079
2080 * subr.el (version<, version<=, version=):
2081 Update docstrings with information for snapshot versions.
2082
2083 * helpers.el: New library for misc helper functions.
2084 (hash-table-keys): New function returning a list of hash keys.
2085 (hash-table-values): New function returning a list of hash values.
2086
2087 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2088
2089 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2090 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2091
2092 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2093
2094 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2095 checking whether point is after a 1-letter word.
2096
2097 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2098
2099 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2100 Don't infloop when expanding region over `multiline' syntax-type that
2101 begins a line (bug#15778).
2102
2103 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2106 Make it into a proper minor mode.
2107 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2108 (rectangle-mark-mode-map): New keymap.
2109 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2110
2111 2013-11-04 Glenn Morris <rgm@gnu.org>
2112
2113 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2114
2115 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2118 (ruby-smie-rules): Use smie-rule-parent instead.
2119
2120 * emacs-lisp/smie.el (smie-rule-parent): Always call
2121 smie-indent-virtual rather than only for hanging tokens.
2122 (smie--next-indent-change): New helper command.
2123
2124 2013-11-03 Glenn Morris <rgm@gnu.org>
2125
2126 * Makefile.in (abs_srcdir): Remove.
2127 (emacs): Unset EMACSLOADPATH.
2128
2129 2013-11-02 Glenn Morris <rgm@gnu.org>
2130
2131 * Makefile.in (EMACS): Use a relative filename.
2132 (abs_top_builddir): Remove.
2133 (custom-deps, finder-data, autoloads): Use --chdir.
2134
2135 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2136
2137 Use relative filenames in TAGS files.
2138 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2139 (lisptagsfiles4, TAGS): Use relative file names.
2140 (TAGS-LISP): Remove.
2141 (maintainer-clean): No more TAGS-LISP file.
2142
2143 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2144 (lisptagsfiles4): Use absolute filenames again.
2145 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2146 Remove all *loaddefs files, not just the first. Remove esh-groups.
2147 (maintainer-clean): Delete TAGS, TAGS-LISP.
2148
2149 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2150
2151 * emacs-lisp/package.el (package-version-join):
2152 Recognize snapshot versions.
2153
2154 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2155
2156 * subr.el (version-regexp-alist): Add support for snapshot versions.
2157
2158 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2159
2160 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2161 New function, replacement for `smie-rule-parent' for when we want to
2162 skip over our direct parent if it's an assignment token..
2163 (ruby-smie-rules): Use it.
2164
2165 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2166
2167 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2168 unconditionally. Remove now unnecessary forward declarations.
2169 Remove XEmacs-specific setup.
2170 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2171 (ruby-font-lock-syntactic-keywords)
2172 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2173 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2174 (ruby-here-doc-end-syntax): Remove.
2175 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2176 defined as function.
2177
2178 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2179
2180 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2181
2182 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2183
2184 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2185 table and abbrev table, `define-derived-mode' does that for us
2186 anyway.
2187
2188 2013-11-01 Glenn Morris <rgm@gnu.org>
2189
2190 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2191 files is atomic for some time, so no parallel compilation issues).
2192
2193 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2194
2195 * faces.el (face-x-resources): Add :distant-foreground.
2196 (region): Use :distant-foreground for gtk and ns.
2197
2198 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2199
2200 Allow multiple bibliographies when BibLaTeX is used rather than
2201 BibTeX.
2202 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2203 (reftex-locate-bibliography-files): Us it.
2204
2205 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2206
2207 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2208 allow comments in pbm files.
2209
2210 * term/w32-win.el (dynamic-library-alist): Support newer versions
2211 of libjpeg starting with v7: look only for the DLL from the
2212 version against which Emacs was built.
2213 Support versions of libpng beyond 1.4.x.
2214 Support libtiff v4.x.
2215
2216 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2217
2218 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2219 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2220 Add property :safe.
2221 (ruby-deep-arglist): Add property :type.
2222
2223 2013-10-31 Glenn Morris <rgm@gnu.org>
2224
2225 * Makefile.in (custom-deps, finder-data): No need to setq the target
2226 variables, we are in the right directory and the defaults work fine.
2227
2228 2013-10-30 Glenn Morris <rgm@gnu.org>
2229
2230 * Makefile.in (autoloads): Do not use abs_lisp.
2231
2232 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2233 `newline' does not respect `standard-output', so use `princ'.
2234
2235 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2236
2237 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2238 * buff-menu.el (Buffer-menu--unmark): New function.
2239 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2240
2241 2013-10-30 Glenn Morris <rgm@gnu.org>
2242
2243 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2244
2245 * emacs-lisp/package.el (lm-homepage): Declare.
2246
2247 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2248 Fix doc typos.
2249
2250 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2251
2252 * Makefile.in (finder-data, autoloads, update-subdirs)
2253 (compile-main, compile-clean, compile-always, bootstrap-clean):
2254 Check return value of cd.
2255 (compile-calc): Remove.
2256
2257 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2260
2261 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2262 (byte-compile-and-folded): New function.
2263 (=, <, >, <=, >=): Use it.
2264
2265 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2266 (path-separator, null-device, buffer-file-coding-system)
2267 (lpr-headers-switches): Check system-type before modifying them.
2268 (find-buffer-file-type-coding-system): Mark obsolete.
2269 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2270 find-file-not-found-set-buffer-file-coding-system.
2271 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2272 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2273 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2274 (w32-direct-print-region-helper, w32-direct-print-region-function)
2275 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2276 * startup.el (normal-top-level-add-subdirs-to-load-path):
2277 * ps-print.el (ps-print-region-function):
2278 * lpr.el (print-region-function): Use new name.
2279
2280 * subr.el (custom-declare-variable-early): Remove function.
2281 (custom-declare-variable-list): Remove var.
2282 (error, user-error): Remove `while' loop.
2283 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2284 (user-emacs-directory-warning, locate-user-emacs-file):
2285 Move to files.el.
2286 * simple.el (read-quoted-char-radix, read-quoted-char):
2287 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2288 Move from subr.el.
2289 * custom.el (custom-declare-variable-list): Don't process
2290 custom-declare-variable-list.
2291
2292 * progmodes/python.el (python-shell-get-buffer): New function.
2293 (python-shell-get-process): Use it.
2294 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2295 Python which encoding was used. Don't split-string since we only care
2296 about the first line. Return the temp-file, if applicable.
2297 (python-shell-send-region): Tell compile.el how to turn locations in
2298 the temp-file into locations in the source buffer.
2299
2300 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * subr.el (undefined): Add missing behavior from the C code for
2303 unbound keys.
2304
2305 * rect.el: Use lexical-binding. Add new rectangular region support.
2306 (rectangle-mark): New command.
2307 (rectangle--region): New var.
2308 (deactivate-mark-hook): Reset rectangle--region.
2309 (rectangle--extract-region, rectangle--insert-for-yank)
2310 (rectangle--highlight-for-redisplay)
2311 (rectangle--unhighlight-for-redisplay): New functions.
2312 (region-extract-function, redisplay-unhighlight-region-function)
2313 (redisplay-highlight-region-function): Use them to handle
2314 rectangular region.
2315 * simple.el (region-extract-function): New var.
2316 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2317 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2318 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2319 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2320 (redisplay-unhighlight-region-function)
2321 (redisplay-highlight-region-function): New vars.
2322 (redisplay--update-region-highlight): New function.
2323 (pre-redisplay-function): Use it.
2324 (exchange-point-and-mark): Don't deactivate the mark before
2325 reactivate-it anyway.
2326 * comint.el (comint-kill-region): Remove yank-handler argument.
2327 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2328 (delete-char): Remove property, since it's now part of their
2329 default behavior.
2330 (self-insert-iso): Remove property since this command doesn't exist.
2331
2332 * emacs-lisp/package.el (package--download-one-archive)
2333 (describe-package-1): Don't query the user about final newline.
2334
2335 2013-10-29 Daniel Colascione <dancol@dancol.org>
2336
2337 * net/tramp.el (tramp-methods): Document new functionality.
2338 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2339 tramp-hostname-checker if method provides one instead of scanning
2340 argument list for "%h" to decide hostname acceptability.
2341
2342 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2343
2344 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2345 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2346 Handle COPY-CONTENTS. (Bug#15737)
2347
2348 2013-10-28 Daiki Ueno <ueno@gnu.org>
2349
2350 * epa-file.el
2351 (epa-file-cache-passphrase-for-symmetric-encryption):
2352 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2353
2354 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2355
2356 * image.el (defimage):
2357 (image-load-path): Doc fixes.
2358
2359 2013-10-27 Alan Mackenzie <acm@muc.de>
2360
2361 Indent statements in macros following "##" correctly.
2362 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2363 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2364
2365 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2366
2367 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2368
2369 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2370
2371 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2372 after `=' is probably a new expression.
2373
2374 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2375
2376 * man.el (man-imenu-title): New option.
2377 (Man-mode-map): Add menu. (Bug#15722)
2378 (Man-mode): Add imenu to menu.
2379
2380 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2381
2382 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2383 specific in what the first arg can be: a non-keyword word,
2384 string/regexp/percent literal opener, opening paren, or unary
2385 operator followed directly by word.
2386
2387 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2390 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2391 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2392 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2393 Remove vars, they do not apply any more.
2394 (prolog-mode-abbrev-table): Remove redundant declaration.
2395 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2396 (prolog-use-smie): Remove.
2397 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2398 supported by prolog-electric-if-then-else-flag.
2399 (prolog-mode-variables, prolog-menu): Use setq-local.
2400 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2401 Remove binding to `Backspace' since this key doesn't exist anyway.
2402 Remove bindings for electric self-inserting keys.
2403 (prog-mode): Assume it's defined.
2404 (prolog-post-self-insert): New function.
2405 (prolog-mode): Use it.
2406 (prolog-indent-line, prolog-indent-level)
2407 (prolog-find-indent-of-matching-paren)
2408 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2409 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2410 (prolog-goto-next-paren, prolog-in-string-or-comment)
2411 (prolog-tokenize, prolog-inside-mline-comment)
2412 (prolog-find-start-of-mline-comment): Remove functions.
2413 (prolog-find-unmatched-paren, prolog-clause-end)
2414 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2415 (prolog-electric--if-then-else): Rename from
2416 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2417 (prolog-tokenize-searchkey): Remove const.
2418 (prolog-clause-info): Use forward-sexp.
2419 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2420 (prolog-electric-if-then-else): Remove commands.
2421 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2422 for use in post-self-insert-hook.
2423 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2424 for use in post-self-insert-hook.
2425 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2426 for use in post-self-insert-hook.
2427 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2428 adapt it for use in post-self-insert-hook.
2429
2430 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2431
2432 * emacs-lisp/ert.el (ert-run-tests-interactively):
2433 Use `completing-read'. (Bug#9756)
2434
2435 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2436
2437 * simple.el (line-move): Call line-move-1 instead of
2438 line-move-visual when the current window hscroll is zero, but
2439 temporary-goal-column indicates we will need to hscroll as result
2440 of the movement. (Bug#15712)
2441
2442 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2443
2444 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2445 capitalization. Use :visible instead of :active.
2446 Fix `ruby-indent-exp' reference. Add menu items for the generic
2447 commands that are used with SMIE.
2448 (ruby-do-end-to-brace): Insert space after `{'.
2449
2450 2013-10-25 John Anthony <john@jo.hnanthony.com>
2451
2452 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2453
2454 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2455
2456 2013-10-25 Glenn Morris <rgm@gnu.org>
2457
2458 * vc/vc.el (vc-print-log): Don't use a working revision unless
2459 one was explicitly specified. (Bug#15322)
2460
2461 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * subr.el (add-to-list): Preserve return value in compiler-macro
2464 (bug#15692).
2465
2466 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2467
2468 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2469 result. Ask user to retry using '-all' flag. (Bug#15701)
2470
2471 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * emacs-lisp/smie.el: New smie-config system.
2474 (smie-config): New defcustom.
2475 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2476 (smie-config-guess, smie-config-save): New commands.
2477 (smie-config--mode-local, smie-config--buffer-local)
2478 (smie-config--trace, smie-config--modefuns): New vars.
2479 (smie-config--advice, smie-config--mode-hook)
2480 (smie-config--setter, smie-config-local, smie-config--get-trace)
2481 (smie-config--guess-value, smie-config--guess): New functions.
2482 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2483 text properties. Treat "string fence" syntax like string syntax.
2484
2485 * progmodes/sh-script.el (sh-use-smie): Change default.
2486 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2487 (sh-var-value): Simplify by CSE.
2488 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2489 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2490 is used.
2491 (sh-guess-basic-offset): Use cl-incf.
2492 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2493
2494 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2495
2496 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2497 (bug#15699).
2498
2499 2013-10-24 Glenn Morris <rgm@gnu.org>
2500
2501 * Makefile.in (abs_top_srcdir): Remove.
2502 (update-subdirs): Use relative path to update-subdirs.
2503
2504 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2505
2506 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2507 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2508 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2509 Call unmsys--file-name before expand-file-name, not after it.
2510
2511 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2514 (ert-test-skipped): New error.
2515 (ert-skip, ert-stats-skipped): New defuns.
2516 (ert--skip-unless): New macro.
2517 (ert-test-skipped): New struct.
2518 (ert--run-test-debugger, ert-test-result-type-p)
2519 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2520 (ert--stats-set-test-and-result, ert-char-for-test-result)
2521 (ert-string-for-test-result, ert-run-tests-batch)
2522 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2523 Handle skipped tests. (Bug#9803)
2524
2525 2013-10-24 Glenn Morris <rgm@gnu.org>
2526
2527 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2528
2529 * Makefile.in (abs_top_srcdir): New, set by configure.
2530 (update-subdirs): Correct build-aux location.
2531
2532 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2533
2534 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2535 value, whether we could auto-deduce `backend', or not.
2536
2537 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2538 with parameters" example. Simplify the "is it block or is it
2539 hash" check, but also make it more thorough.
2540
2541 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2542
2543 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2544
2545 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2548 { if it is hanging.
2549
2550 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2551 :before ";".
2552
2553 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2554
2555 * progmodes/compile.el (compilation-directory-matcher)
2556 (compilation-page-delimiter):
2557 Support GNU Make-4.0 directory quoting. (Bug#15678)
2558
2559 2013-10-23 Leo Liu <sdl.web@gmail.com>
2560
2561 * ido.el (ido-tidy): Handle read-only text.
2562
2563 2013-10-23 Glenn Morris <rgm@gnu.org>
2564
2565 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2566 (emacs, compile, compile-always):
2567 Quote entities that might contain whitespace.
2568 (custom-deps, finder-data, autoloads): Use abs_lisp.
2569 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2570 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2571 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2572
2573 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2574
2575 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2576 Use `following-char'.
2577
2578 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2581 * progmodes/ruby-mode.el (ruby-smie-rules):
2582 Remove corresponding workaround. Fix indentation rule of ";" so it
2583 also applies when ";" is the parent.
2584
2585 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2586
2587 * frame.el (display-screens, display-pixel-height)
2588 (display-pixel-width, display-mm-width, display-backing-store)
2589 (display-save-under, display-planes, display-color-cells)
2590 (display-visual-class, display-monitor-attributes-list):
2591 Mention the optional ‘display’ argument in doc strings.
2592
2593 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2594
2595 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2596 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2597
2598 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2599
2600 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2601 TODO. Add "." after " @ ".
2602 (ruby-smie--at-dot-call): New function. Checks if point at method
2603 call with explicit target.
2604 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2605 to the method name tokens when it precedes them.
2606 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2607 (ruby-smie-rules): Add rule for indentation before and after "."
2608 token.
2609
2610 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * textmodes/remember.el (remember-diary-extract-entries):
2613 Avoid add-to-list.
2614
2615 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2616 an instruction.
2617
2618 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2621 (ruby-smie--implicit-semi-p): Add new operator chars.
2622
2623 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2624 `smie-down-list'.
2625 (ruby-smie--args-separator-p): Check that there's no newline
2626 between method call and its arguments.
2627
2628 2013-10-20 Alan Mackenzie <acm@muc.de>
2629
2630 Allow comma separated lists after Java "implements".
2631
2632 * progmodes/cc-engine.el (c-backward-over-enum-header):
2633 Parse commas.
2634 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2635 from a "disallowed" list in enum fontification.
2636
2637 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2638
2639 * startup.el (default-frame-background-mode): Remove unused defvar.
2640
2641 * progmodes/verilog-mode.el (verilog-mode): Don't set
2642 comment-indent-function globally.
2643
2644 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2645
2646 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2647 Move Info menu item creation to ns-win.el.
2648
2649 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2650 in menu bar.
2651
2652 * menu-bar.el: Move GNUStep specific menus...
2653
2654 * term/ns-win.el (ns-initialize-window-system): ... to here.
2655
2656 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * simple.el (newline): Only run post-self-insert-hook when
2659 called interactively.
2660
2661 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2662
2663 * icomplete.el (icomplete-with-completion-tables): Add :version.
2664
2665 2013-10-19 Alan Mackenzie <acm@muc.de>
2666
2667 Fix fontification bugs with constructors and const.
2668
2669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2670 CASE 2) Remove the check for the absence of a suffix construct
2671 after a function declaration with only types (no identifiers) in
2672 the parentheses. Also, accept a function declaration with just a
2673 type inside the parentheses, if this type can be positively
2674 recognised as such, or if a prefix keyword like "explicit" nails
2675 down the construct as a declaration.
2676
2677 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2678
2679 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2680 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2681 the problem whereby selecting a menu item that leads to a
2682 minibuffer prompt moves the cursor out of the minibuffer window,
2683 making it hard to type at the prompt. Suggested by Stefan Monnier
2684 <monnier@iro.umontreal.ca>.
2685
2686 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2687
2688 * menu-bar.el: Don't make Services menu.
2689
2690 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2691
2692 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2693 (ffap-alist): Use ffap-c++-mode for c++-mode.
2694 (ffap-c++-path): New variable.
2695 (ffap-c++-mode): New function.
2696
2697 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2698
2699 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2700
2701 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2702
2703 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2704 introduced on 2013-09-08, which results in an infinite loop
2705 requesting a password.
2706
2707 2013-10-18 Glenn Morris <rgm@gnu.org>
2708
2709 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2710
2711 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2712
2713 Sync with upstream verilog-mode revision 1a6ecec7.
2714 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2715 (verilog-mode-release-date): Remove.
2716 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2717 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2718 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2719 (verilog-auto-tieoff-ignore-regexp)
2720 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2721 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2722 (verilog-signals-with, verilog-dir-cache-preserving)
2723 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2724 Doc fixes.
2725 (verilog-case-fold): New option, to control case folding in
2726 regexp searches, bug597.
2727 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2728 (verilog-string-match-fold, verilog-in-paren-count)
2729 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2730 (verilog-at-close-struct-p): New functions.
2731 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2732 (verilog-forward-sexp, verilog-set-auto-endcomments):
2733 (verilog-leap-to-case-head): Handle "unique0" case.
2734 (verilog-in-constraint-re): New constant.
2735 (verilog-keywords, verilog-type-font-keywords):
2736 Add some SystemVerilog 1800-2012 keywords.
2737 (verilog-label-be): Remove unimplemented argument, bug669.
2738 (verilog-batch-execute-func): When batch expanding clear
2739 create-lockfiles to prevent spurious user locks when a file ends
2740 up not changing.
2741 (verilog-calculate-indent, verilog-calc-1)
2742 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2743 (verilog-do-indent): Fix indentation of nested constraints
2744 and structures.
2745 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2746 (verilog-auto-inst-param): Use verilog-string-match-fold.
2747 (verilog-read-inst-module-matcher):
2748 Fix AUTOINST on gate primitives with #1.
2749 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2750 Reads all user-defined typed variables.
2751 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2752 (verilog-signals-matching-regexp)
2753 (verilog-signals-not-matching-regexp, verilog-auto):
2754 Respect verilog-case-fold.
2755 (verilog-diff-report): Fix line count.
2756 (verilog-auto-assign-modport): Remove unused local `modi'.
2757 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2758 better handle multidimensional arrays.
2759 Fix packed array ports misadding bit index in AUTOINST, bug637.
2760 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2761 to not double-declare existing outputs and inputs, respectively.
2762 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2763 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2764 (verilog-sk-uvm-component): New skeleton.
2765 (verilog-submit-bug-report): Add verilog-case-fold,
2766 remove verilog-mode-release-date.
2767
2768 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2769
2770 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2771 as before.
2772
2773 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2774
2775 * textmodes/remember.el (remember): Set buffer-offer-save in
2776 remember buffers (bug#13566).
2777
2778 2013-10-18 Daniel Colascione <dancol@dancol.org>
2779
2780 When evaluating forms in ielm, direct standard output to ielm
2781 buffer. Add new ielm-return-for-effect command. Remove trailing
2782 whitespace throughout.
2783
2784 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2785 (ielm-return-for-effect): New command.
2786 (ielm-send-input): Accept optional `for-effect' parameter.
2787 (ielm-eval-input): Accept optional `for-effect' parameter.
2788 Bind `standard-output' to stream we create using
2789 `ielm-standard-output-impl'. Suppress printing result when
2790 `for-effect'.
2791 (ielm-standard-output-impl): New function.
2792 (inferior-emacs-lisp-mode): Explain new features in documentation.
2793
2794 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2795
2796 Code cleanup.
2797
2798 * net/tramp.el (tramp-debug-message): Do not check for connection
2799 buffer.
2800 (tramp-message): Use "vector" connection property.
2801
2802 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2803 (tramp-equal-remote, tramp-eshell-directory-change)
2804 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2805 (tramp-adb-handle-rename-file)
2806 * net/tramp-cmds.el (tramp-list-remote-buffers)
2807 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2808 * net/tramp-compat.el (tramp-compat-process-running-p)
2809 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2810 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2811 (tramp-gvfs-handle-rename-file)
2812 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2813 (tramp-set-file-uid-gid)
2814 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2815 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2816 of `file-remote-p'.
2817
2818 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2819 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2820 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2821 (tramp-gw-open-network-stream): Suppress unrelated traces.
2822
2823 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2824 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2825 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2826 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2827 connection property.
2828
2829 * net/tramp-cache.el (top): Suppress traces when reading
2830 persistency file.
2831
2832 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2833 Refactor common code. Improve debug message.
2834 (tramp-maybe-open-connection)
2835 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2836 connection buffer too early.
2837
2838 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2839 from `tramp-smb-actions-with-acl'.
2840 (tramp-smb-actions-set-acl): New defconst.
2841 (tramp-smb-handle-copy-directory)
2842 (tramp-smb-action-get-acl): New defun, renamed from
2843 `tramp-smb-action-with-acl'.
2844 (tramp-smb-action-set-acl): New defun.
2845 (tramp-smb-handle-set-file-acl): Rewrite.
2846
2847 2013-10-17 Glenn Morris <rgm@gnu.org>
2848
2849 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2850
2851 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * skeleton.el (skeleton-newline): Remove.
2854 (skeleton-internal-1): Use (insert "\n") instead.
2855
2856 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2857 let-bindings.
2858
2859 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2860 forward-sexp-function while we redo its job (bug#15613).
2861
2862 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2863
2864 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2865 represented by lists.
2866
2867 2013-10-16 Glenn Morris <rgm@gnu.org>
2868
2869 * tmm.el (tmm--history): New dynamic variable.
2870 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2871
2872 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2875 (tramp-smb-errors): Add error messages.
2876 (tramp-smb-actions-with-acl): New defconst.
2877 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2878 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2879 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2880 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2881 (tramp-smb-get-stat-capability): Fix tests.
2882
2883 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2884
2885 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2886 (bug#15580).
2887
2888 2013-10-16 Glenn Morris <rgm@gnu.org>
2889
2890 * ansi-color.el (ansi-color-drop-regexp):
2891 Add 1J, 1K, 2K. (Bug#15617)
2892
2893 * files.el (hack-local-variables--warned-lexical): New.
2894 (hack-local-variables):
2895 Warn about misplaced lexical-binding. (Bug#15616)
2896
2897 * net/eww.el (eww-render): Always set eww-current-url,
2898 and update header line. (Bug#15622)
2899 (eww-display-html): ... Rather than just doing it here.
2900
2901 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2902
2903 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2904 menu navigations commands.
2905
2906 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2907
2908 * progmodes/subword.el (subword-capitalize): Be careful when
2909 the search for [[:alpha:]] fails (bug#15580).
2910
2911 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2912
2913 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2914 to commands that scroll the menu.
2915
2916 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2917
2918 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2919 Handle methods ending with `?' and `!'.
2920
2921 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2922
2923 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2924 `japanese-cp932' to `cp932' to fix the problem where saving a
2925 source file written in Shift_JIS twice would end up having
2926 `coding: japanese-cp932' which Ruby could not recognize.
2927 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2928 in `ruby-encoding-map'.
2929 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2930 doesn't need to be explicitly declared in magic comment.
2931 (ruby-encoding-map): Add type declaration for better customize UI.
2932
2933 2013-10-13 Glenn Morris <rgm@gnu.org>
2934
2935 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2936 Occur buffers are read-only. http://bugs.debian.org/720775
2937
2938 * emacs-lisp/authors.el (authors-fixed-entries):
2939 Comment out old alpha stuff.
2940
2941 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2942
2943 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2944 to `after-save-hook' instead of `before-save-hook'.
2945 (ruby-mode-set-encoding): Use the value of coding system used to
2946 write the file. Call `basic-save-buffer-1' after modifying the
2947 buffer.
2948
2949 2013-10-13 Alan Mackenzie <acm@muc.de>
2950
2951 Fix indentation/fontification of Java enum with
2952 "implements"/generic.
2953
2954 * progmodes/cc-engine.el (c-backward-over-enum-header):
2955 Extracted from the three other places and enhanced to handle generics.
2956 (c-inside-bracelist-p): Uses new function above.
2957 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2958 function above.
2959 (c-font-lock-enum-tail): Uses new function above.
2960
2961 2013-10-13 Kenichi Handa <handa@gnu.org>
2962
2963 * international/mule-cmds.el (select-safe-coding-system): Remove a
2964 superfluous condition in chekcing whether a coding system is safe
2965 or not.
2966
2967 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2968
2969 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2970
2971 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2972
2973 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2974
2975 2013-10-13 Glenn Morris <rgm@gnu.org>
2976
2977 * menu-bar.el (menu-bar-update-buffers):
2978 Unify Buffers menu prompt string. (Bug#15576)
2979
2980 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2981
2982 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2983 Add some entries.
2984 (authors-fixed-entries): Use accented form of name.
2985
2986 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2989 method calls (bug#15594).
2990 (ruby-smie--args-separator-p): New function.
2991 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2992 recognize paren-free method calls.
2993
2994 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2995 internals of universal-argument.
2996
2997 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2998
2999 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3000 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3001 dropped menu on second mouse click on the menu bar.
3002
3003 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3006 (explicit-shell-file-name): Declare.
3007 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3008 (sh-completion-at-point-function): New function.
3009 (sh-mode): Use it.
3010 (sh-smie--keyword-p): Remove unused argument.
3011 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3012 vars.
3013 (sh-set-shell): Always setup SMIE, even if we use the
3014 old indentation code.
3015
3016 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3017
3018 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3019 cases of ? and =.
3020 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3021 predicate would return nil are almost non-existent.
3022 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3023
3024 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3025 cache also after commands that modify the buffer but don't move
3026 point.
3027
3028 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * env.el (substitute-env-in-file-name): New function.
3031 (substitute-env-vars): Extend the meaning of the optional arg.
3032
3033 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3034
3035 * term/w32-win.el (dynamic-library-alist): Define separate lists
3036 of GIF DLLs for versions before and after 5.0.0 of giflib.
3037 (Bug#15531)
3038
3039 2013-10-10 João Távora <joaotavora@gmail.com>
3040
3041 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3042 not locked, use last revision and current source as
3043 defaults. (Bug#15569)
3044
3045 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3046
3047 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3048 menu-bar is hidden.
3049
3050 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3051
3052 * window.el (pop-to-buffer-same-window): Fix doc-string.
3053 (Bug#15492)
3054
3055 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3058
3059 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3060
3061 * calendar/icalendar.el (icalendar-import-file):
3062 Fix interactive spec. (Bug#15482)
3063
3064 2013-10-10 Glenn Morris <rgm@gnu.org>
3065
3066 * desktop.el (desktop-save): Default to saving in .emacs.d,
3067 since PWD is no longer in desktop-path by default. (Bug#15319)
3068
3069 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3070 now that text mode has a menu with the same entry.
3071 (menu-bar-text-mode-auto-fill): Remove now unused func.
3072 * textmodes/text-mode.el (text-mode-map):
3073 Use auto-fill help text from menu-bar.el.
3074
3075 2013-10-10 John Anthony <john@jo.hnanthony.com>
3076
3077 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3078
3079 2013-10-09 Juri Linkov <juri@jurta.org>
3080
3081 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3082 instead of this-command-keys. Add universal-argument-more and
3083 universal-argument-minus to the list of prefix commands. (Bug#15568)
3084
3085 2013-10-09 Glenn Morris <rgm@gnu.org>
3086
3087 * vc/vc-svn.el (vc-svn-create-repo):
3088 Expand paths in file://... url. (Bug#15446)
3089
3090 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3091 Add some entries.
3092 (authors): Remove unused local variables.
3093
3094 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * profiler.el: Create a more coherent calltree from partial backtraces.
3097 (profiler-format): Hide the tail with `invisible' so that C-s can still
3098 find the hidden elements.
3099 (profiler-calltree-depth): Don't recurse so enthusiastically.
3100 (profiler-function-equal): New hash-table-test.
3101 (profiler-calltree-build-unified): New function.
3102 (profiler-calltree-build): Use it.
3103 (profiler-report-make-name-part): Indent the calltree less.
3104 (profiler-report-mode): Add visibility specs for profiler-format.
3105 (profiler-report-expand-entry, profiler-report-toggle-entry):
3106 Expand the whole subtree when provided with a prefix arg.
3107
3108 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3109
3110 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3111 iuwu-mod token.
3112 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3113 hanging iuwu-mod token.
3114 (ruby-smie--forward-token): Do not include a dot after a token in
3115 that token.
3116 (ruby-smie--backward-token): Likewise.
3117
3118 2013-10-08 Juri Linkov <juri@jurta.org>
3119
3120 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3121 to isearch-other-control-char.
3122 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3123 and isearch-post-command-hook to post-command-hook.
3124 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3125 and isearch-post-command-hook from post-command-hook.
3126 (isearch-unread-key-sequence)
3127 (isearch-reread-key-sequence-naturally)
3128 (isearch-lookup-scroll-key, isearch-other-control-char)
3129 (isearch-other-meta-char): Remove functions.
3130 (isearch-pre-command-hook, isearch-post-command-hook):
3131 New functions based on isearch-other-meta-char rewritten
3132 relying on the new behavior of overriding-terminal-local-map
3133 that does not replace the local keymaps any more. (Bug#15200)
3134
3135 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3136
3137 Support menus on text-mode terminals.
3138 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3139 functionality.
3140
3141 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3142
3143 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3144 Move here from mouse.el.
3145 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3146 and arrow keys.
3147 (tty-menu-navigation-map): New map for TTY menu navigation.
3148
3149 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3150
3151 * frame.el (display-mouse-p): Report text-mode mouse as available
3152 on w32.
3153 (display-popup-menus-p): Report availability if mouse is
3154 available; don't condition on window-system.
3155
3156 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3157 (tty-menu-selected-face): New faces.
3158
3159 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3162 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3163 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3164 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3165 New constants.
3166 (lisp-mode-variables): New `elisp' argument.
3167 (emacs-lisp-mode): Use it.
3168 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3169 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3170
3171 * indent.el: Use lexical-binding.
3172 (indent-region): Add progress reporter.
3173 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3174 last step.
3175 (indent--next-tab-stop): New function to implement this behavior.
3176 (tab-to-tab-stop, move-to-tab-stop): Use it.
3177
3178 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3179
3180 * indent.el (indent-rigidly--current-indentation): New function.
3181 (indent-rigidly-map): New var.
3182 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3183
3184 2013-10-08 Bastien Guerry <bzg@gnu.org>
3185
3186 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3187
3188 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * progmodes/perl-mode.el: Use lexical-binding.
3191 Remove redundant :group args.
3192 (perl-nochange): Change default to be closer to other major modes's
3193 standard behavior.
3194 (perl-indent-line): Don't consider text on current line as a
3195 valid beginning of function from which to indent.
3196
3197 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3198 with more than one argument (bug#15538).
3199
3200 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3201
3202 * vc/pcvs.el: Use lexical-binding.
3203 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3204 environment of `eval'.
3205 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3206 than a list of expressions. Adjust callers.
3207 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3208
3209 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3210
3211 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3212 case of the dot in a chained method call being on the following line.
3213
3214 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * electric.el (electric-indent-inhibit): New var.
3217 (electric-indent-post-self-insert-function): Use it.
3218 * progmodes/python.el (python-mode): Set it.
3219
3220 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3221 open braces.
3222
3223 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3224
3225 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3226 (css-mode): Use electric-indent-chars.
3227
3228 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3229 (font-lock-beg, font-lock-end): Move before first use.
3230 (nxml-mode): Use syntax-propertize-function.
3231 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3232 (nxml-extend-after-change-region): Remove.
3233 * nxml/xmltok.el: Use lexical-binding.
3234 (xmltok-save): Use `declare'.
3235 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3236 * nxml/nxml-util.el: Use lexical-binding.
3237 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3238 Use `declare'.
3239 * nxml/nxml-ns.el: Use lexical-binding.
3240 (nxml-ns-save): Use `declare'.
3241 (nxml-ns-prefixes-for): Avoid add-to-list.
3242 * nxml/rng-match.el: Use lexical-binding.
3243 (rng--ipattern): Use cl-defstruct.
3244 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3245 (rng-cons-group-after, rng-subst-group-after)
3246 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3247 Use closures instead of `(lambda...).
3248
3249 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3252 of BEG and END.
3253
3254 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3255 Use `tramp-handle-insert-file-contents'.
3256 (tramp-gvfs-handle-insert-file-contents): Remove function.
3257
3258 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3259 Use `save-restriction' in order to keep markers.
3260
3261 * net/trampver.el: Update release number.
3262
3263 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * progmodes/compile.el (compilation-parse-errors):
3266 Use compilation--put-prop.
3267 (compilation--ensure-parse): Check compilation-multiline.
3268
3269 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3270
3271 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3272 lexical-binding.
3273
3274 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3275
3276 * progmodes/ruby-mode.el: Fix recently added tests.
3277 (ruby-smie-grammar): Add - and +.
3278 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3279 (ruby-smie--backward-id): New functions.
3280 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3281 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3282 any more.
3283
3284 2013-10-07 Leo Liu <sdl.web@gmail.com>
3285
3286 * register.el (register-preview-delay)
3287 (register-preview-functions): New variables.
3288 (register-read-with-preview, register-preview)
3289 (register-describe-oneline): New functions.
3290 (point-to-register, window-configuration-to-register)
3291 (frame-configuration-to-register, jump-to-register)
3292 (number-to-register, view-register, insert-register)
3293 (copy-to-register, append-to-register, prepend-to-register)
3294 (copy-rectangle-to-register): Use register-read-with-preview to
3295 read register. (Bug#15525)
3296
3297 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3298
3299 * net/network-stream.el (network-stream-open-starttls): Don't add
3300 --insecure if it's already present, because that gnutls-cli
3301 rejects getting that parameter twice.
3302
3303 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3304
3305 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3306 keyword, too.
3307
3308 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3309
3310 * newcomment.el (comment-use-global-state): Change default value
3311 to t, mark obsolete (Bug#15251).
3312 (comment-beginning): In addition to `comment-to-syntax', check the
3313 value of `comment-use-global-state'.
3314
3315 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3318 (ruby-comment-column): Follow the global default, by default.
3319 (ruby-smie-grammar): Add assignment syntax.
3320 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3321 open-paren, a comma, or a \.
3322 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3323 and line continuations.
3324 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3325 followed by implicit semi-colons. Add rule for string concatenation
3326 and for indentation at BOB.
3327 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3328
3329 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3330 calling next-sexp, since next-token may have skipped chars which
3331 next-sexp doesn't know should be skipped!
3332
3333 2013-10-05 Leo Liu <sdl.web@gmail.com>
3334
3335 * progmodes/octave.el (octave-send-region):
3336 Call compilation-forget-errors.
3337
3338 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3339
3340 * vc/vc-svn.el (vc-svn-find-admin-dir):
3341 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3342 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3343 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3344 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3345
3346 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3349
3350 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * subr.el (read-passwd): Hide chars even when called within a context
3353 where after-change-functions is disabled (bug#15501).
3354 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3355 until we removed ourself from overriding-terminal-local-map.
3356
3357 2013-10-04 Leo Liu <sdl.web@gmail.com>
3358
3359 * progmodes/octave.el (inferior-octave-mode):
3360 Call compilation-forget-errors.
3361
3362 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3363
3364 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3365
3366 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3367
3368 * net/secrets.el (secrets-create-collection): Add optional
3369 argument ALIAS. Use proper Label keyword. Append ALIAS as
3370 dbus-call-method argument. (Bug#15516)
3371
3372 2013-10-04 Leo Liu <sdl.web@gmail.com>
3373
3374 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3375 (inferior-octave-compilation-font-lock-keywords): New variables.
3376 (compilation-error-regexp-alist)
3377 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3378 (inferior-octave-mode): Use compilation-shell-minor-mode.
3379
3380 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3381
3382 * minibuffer.el (completion--replace): Be careful that `end' might be
3383 a marker.
3384
3385 2013-10-03 Daiki Ueno <ueno@gnu.org>
3386
3387 Add support for package signature checking.
3388 * emacs-lisp/package.el (url-http-file-exists-p)
3389 (epg-make-context, epg-context-set-home-directory)
3390 (epg-verify-string, epg-context-result-for)
3391 (epg-signature-status, epg-signature-to-string)
3392 (epg-check-configuration, epg-configuration)
3393 (epg-import-keys-from-file): Declare.
3394 (package-check-signature): New user option.
3395 (package-unsigned-archives): New user option.
3396 (package-desc): Add `signed' field.
3397 (package-load-descriptor): Set `signed' field if .signed file exists.
3398 (package--archive-file-exists-p): New function.
3399 (package--check-signature): New function.
3400 (package-install-from-archive): Check package signature.
3401 (package--download-one-archive): Check archive signature.
3402 (package-delete): Remove .signed file.
3403 (package-import-keyring): New command.
3404 (package-refresh-contents): Import default keyring.
3405 (package-desc-status): Add "unsigned" status.
3406 (describe-package-1, package-menu--print-info)
3407 (package-menu-mark-delete, package-menu--find-upgrades)
3408 (package-menu--status-predicate): Support "unsigned" status.
3409
3410 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3413 the new compilation scheme using the new byte-codes.
3414
3415 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3416 (byte-pophandler): New byte codes.
3417 (byte-goto-ops): Adjust accordingly.
3418 (byte-compile--use-old-handlers): New var.
3419 (byte-compile-catch): Use new byte codes depending on
3420 byte-compile--use-old-handlers.
3421 (byte-compile-condition-case--old): Rename from
3422 byte-compile-condition-case.
3423 (byte-compile-condition-case--new): New function.
3424 (byte-compile-condition-case): New function that dispatches depending
3425 on byte-compile--use-old-handlers.
3426 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3427 when we can.
3428
3429 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3430 Optimize under `condition-case' and `catch' if
3431 byte-compile--use-old-handlers is nil.
3432 (disassemble-offset): Handle new bytecodes.
3433
3434 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * subr.el (error): Use `declare'.
3437 (decode-char, encode-char): Use advertised-calling-convention instead
3438 of the docstring to discourage use of the `restriction' arg.
3439
3440 2013-10-03 Daiki Ueno <ueno@gnu.org>
3441
3442 * epg.el (epg-verify-file): Add a comment saying that it does not
3443 notify verification error as a return value nor a signal.
3444 (epg-verify-string): Ditto.
3445
3446 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3447
3448 * progmodes/compile.el (compilation-start): Try globbing the arg to
3449 `cd' (bug#15417).
3450
3451 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3452
3453 Sync with Tramp 2.2.8.
3454
3455 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3456 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3457 * net/trampver.el: Update release number.
3458
3459 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3460
3461 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3462 and default-process-coding-system for darwin only.
3463
3464 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3467
3468 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3469
3470 * vc/vc-git.el (vc-git-grep): Disable pager.
3471
3472 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3473
3474 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3475 Use :url instead of :homepage, as per
3476 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3477
3478 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3479 non-nil, use `syntax-ppss' (Bug#15251).
3480
3481 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3482
3483 * progmodes/octave.el (inferior-octave-startup-file):
3484 Prefer ~/.emacs.d/init_octave.m.
3485
3486 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3487
3488 * emacs-lisp/package.el (package-desc-from-define):
3489 Accept additional arguments as plist, convert them to an alist and store
3490 them in the `extras' slot.
3491 (package-generate-description-file): Convert extras alist back to
3492 plist and append to the `define-package' form arguments.
3493 (package--alist-to-plist): New function.
3494 (package--ac-desc): Add `extras' slot.
3495 (package--add-to-archive-contents): Check if the archive-contents
3496 vector is long enough, and if it is, pass its `extras' slot value
3497 to `package-desc-create'.
3498 (package-buffer-info): Call `lm-homepage', pass the returned value
3499 to `package-desc-from-define'.
3500 (describe-package-1): Render the homepage button (Bug#13291).
3501
3502 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3503 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3504
3505 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3506
3507 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3508 and default-process-coding-system to utf-8-unix (Bug#15402).
3509
3510 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3511
3512 * subr.el (looking-back): Do not recommend using looking-back.
3513
3514 2013-09-28 Alan Mackenzie <acm@muc.de>
3515
3516 Fix indentation/fontification of Java enum with "implements".
3517
3518 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3519 regexp which matches "implements", etc., in Java.
3520 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3521 specifier clauses coming after "enum".
3522 * progmodes/cc-fonts.el (c-font-lock-declarations)
3523 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3524 after "enum".
3525
3526 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3527
3528 * faces.el (region): Change ns_selection_color to
3529 ns_selection_fg_color, add ns_selection_bg_color.
3530
3531 2013-09-28 Leo Liu <sdl.web@gmail.com>
3532
3533 * progmodes/octave.el (inferior-octave-completion-table)
3534 (inferior-octave-completion-at-point): Minor tweaks.
3535
3536 * textmodes/ispell.el (ispell-lookup-words): Rename from
3537 lookup-words. (Bug#15460)
3538 (lookup-words): Obsolete.
3539 (ispell-complete-word, ispell-command-loop): All uses changed.
3540
3541 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3542
3543 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3544 (octave-mode-menu): Add octave-send-buffer.
3545 (octave-send-buffer): New function.
3546
3547 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3548
3549 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3550 octave-lookfor.
3551 (octave-mode-menu): Add octave-lookfor.
3552 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3553 octave-lookfor.
3554 (octave-lookfor): New function.
3555
3556 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * emacs-lisp/cl-macs.el:
3559 (cl--loop-destr-temps): Remove.
3560 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3561 its convention.
3562 (cl--loop-set-iterator-function): New function.
3563 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3564 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3565 Bind `it' with `let' instead of substituting it with `cl-subst'.
3566 (cl--unused-var-p): New function.
3567 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3568 Eliminate some unused variable warnings (bug#15326).
3569
3570 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3571
3572 * doc-view.el (doc-view-scale-reset): Rename from
3573 `doc-view-reset-zoom-level'.
3574 (doc-view-scale-adjust): New command.
3575 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3576 `doc-view-scale-adjust'.
3577
3578 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3579
3580 * doc-view.el (doc-view-reset-zoom-level): New command.
3581 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3582 zoom commands (bug#15466).
3583
3584 2013-09-26 Kenichi Handa <handa@gnu.org>
3585
3586 * international/quail.el (quail-help): Make it not a command.
3587
3588 2013-09-26 Leo Liu <sdl.web@gmail.com>
3589
3590 * minibuffer.el (completion-all-sorted-completions): Make args
3591 optional as they are.
3592
3593 2013-09-25 Daniel Colascione <dancol@dancol.org>
3594
3595 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3596 specs are and that they're not evaluated.
3597
3598 2013-09-24 Sam Steingold <sds@gnu.org>
3599
3600 * midnight.el (clean-buffer-list-kill-regexps)
3601 (clean-buffer-list-kill-buffer-names): Update for the new Man
3602 buffer naming which includes the object name.
3603
3604 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3607 (eshell-parse-command, eshell-parse-pipeline): Use it since
3608 eshell-separate-commands requires a dynamic scoped var.
3609 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3610
3611 2013-09-23 Leo Liu <sdl.web@gmail.com>
3612
3613 * autoinsert.el (auto-insert-alist): Make the value of
3614 lexical-binding match its file setting.
3615
3616 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3617
3618 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3619
3620 * autoarg.el (autoarg-kp-digit-argument):
3621 * electric.el (Electric-command-loop):
3622 * kmacro.el (kmacro-step-edit-insert):
3623 Do not set universal-argument-num-events.
3624
3625 2013-09-22 Leo Liu <sdl.web@gmail.com>
3626
3627 * files.el (interpreter-mode-alist): Add octave.
3628
3629 2013-09-21 Alan Mackenzie <acm@muc.de>
3630
3631 C++: fontify identifier in declaration following "public:" correctly.
3632 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3633 to match "public", etc.
3634 (c-decl-prefix-re): Add ":" into the C++ value.
3635 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3636 bit. Add a check for a ":" preceded by "public", etc.
3637
3638 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3639
3640 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3641 recognized by GDB 7.5 and later.
3642
3643 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3644
3645 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3646
3647 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * subr.el (internal--call-interactively): New const.
3650 (called-interactively-p): Use it (bug#3984).
3651
3652 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3653
3654 * vc/pcvs.el (cvs-mode-ignore):
3655 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3656 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3657
3658 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3661 (eshell-ls-orig-insert-directory): Remove.
3662 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3663 (eshell-ls-use-in-dired): Use advice-add/remove.
3664 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3665 Add `orig-fun' arg for use in :around advice.
3666 Make it check (redundantly) eshell-ls-use-in-dired.
3667
3668 2013-09-19 Glenn Morris <rgm@gnu.org>
3669
3670 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3671
3672 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3673
3674 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3675
3676 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3677
3678 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3679 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3680 (tramp-get-remote-python): New defuns.
3681 (tramp-get-remote-uid-with-perl)
3682 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3683 contributed by yary <not.com@gmail.com> (tiny change).
3684 (tramp-get-remote-uid-with-python)
3685 (tramp-get-remote-gid-with-python): New defuns. Python code
3686 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3687 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3688
3689 2013-09-19 Glenn Morris <rgm@gnu.org>
3690
3691 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3692
3693 * eshell/em-unix.el (eshell-remove-entries):
3694 Rename argument to avoid name-clash with global `top-level'.
3695
3696 * eshell/esh-proc.el (eshell-kill-process-function):
3697 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3698 (eshell-reset-after-proc): Remove unused arg `proc'.
3699
3700 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3701 (directory-files-and-attributes): Mark unused arg.
3702
3703 * eshell/em-unix.el (eshell-remove-entries):
3704 Remove unused arg `path'. Update callers.
3705
3706 * eshell/em-hist.el (eshell-hist-parse-arguments):
3707 Remove unused arg `silent'. Update callers.
3708
3709 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3710 Fix (f)boundp mix-up.
3711
3712 * eshell/em-smart.el (eshell-smart-scroll-window)
3713 (eshell-disable-after-change):
3714 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3715
3716 2013-09-18 Alan Mackenzie <acm@muc.de>
3717
3718 Fix fontification of type when followed by "const".
3719 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3720 "known" types from fontification.
3721
3722 2013-09-18 Glenn Morris <rgm@gnu.org>
3723
3724 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3725 (chart-face-list): Drop Emacsen without display-color-p.
3726
3727 * net/eww.el (libxml-parse-html-region): Declare.
3728 (eww-display-html): Explicit error if no libxml2 support.
3729
3730 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3731
3732 * image.el (image-type-from-buffer, image-multi-frame-p):
3733 Remove --without-x warning/error.
3734
3735 * mouse.el (mouse-yank-primary):
3736 * term.el (term-mouse-paste):
3737 Reorder to silence --without-x compilation.
3738
3739 * mpc.el (doc-view-mode): Silence --without-x compilation.
3740
3741 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3742 Silence --without-x compilation.
3743
3744 * progmodes/gud.el (gud-find-file, gud-mode):
3745 Silence --without-x compilation.
3746 (tooltip-mode): Declare.
3747
3748 * wdired.el (dired-backup-overwrite): Remove declaration.
3749 (wdired-mode-map): Add doc string.
3750
3751 * custom.el (x-get-resource): Declare.
3752
3753 * eshell/em-glob.el (ange-cache):
3754 * eshell/em-unix.el (ange-cache): Declare.
3755
3756 * faces.el (x-display-list, x-open-connection, x-get-resource):
3757 Declare.
3758
3759 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3760 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3761 Declare.
3762
3763 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3764
3765 * net/gnutls.el (gnutls-log-level): Declare.
3766
3767 * net/shr.el (image-size, image-animate): Declare.
3768
3769 * simple.el (font-info): Declare.
3770
3771 * subr.el (x-popup-dialog): Declare.
3772
3773 * term/common-win.el (x-select-enable-primary)
3774 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3775 Declare.
3776
3777 * term/ns-win.el (x-handle-args): Declare.
3778
3779 * term/x-win.el (x-select-enable-clipboard): Declare.
3780
3781 * term/w32-win.el (create-default-fontset): Declare.
3782
3783 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3784 Declare.
3785
3786 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3787 (fit-frame-to-buffer): Explicit error if --without-x.
3788 (mouse-autoselect-window-select): Silence compiler.
3789
3790 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3791
3792 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3793 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3794 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3795 * eshell/esh-util.el (eshell-sublist):
3796 Remove unused local variables.
3797
3798 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3799
3800 * textmodes/two-column.el: Make 2C-split work for --without-x.
3801 (scroll-bar-columns): Autoload.
3802 (top-level): Require fringe when compiling.
3803
3804 2013-09-18 Leo Liu <sdl.web@gmail.com>
3805
3806 * subr.el (add-hook): Robustify to handle closure as well.
3807
3808 2013-09-17 Glenn Morris <rgm@gnu.org>
3809
3810 * simple.el (messages-buffer-mode-map): Unbind "g".
3811
3812 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * help-mode.el (help-mode-finish): Use derived-mode-p.
3815 Remove obsolete highlighting.
3816
3817 * play/life.el (life-mode): Use define-derived-mode. Derive from
3818 special-mode.
3819 (life): Let-bind inhibit-read-only.
3820 (life-setup): Avoid `setq'. Use `life-mode'.
3821
3822 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3823 which should not be needed any more.
3824 (package-menu-refresh, package-menu-describe-package): Use user-error.
3825
3826 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3827 (eshell-post-rewrite-command-hook): Make obsolete.
3828 (eshell-parse-command): Simplify.
3829 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3830 (eshell--cmd): Declare.
3831 (eshell-parse-pipeline): Remove unused var `final-p'.
3832 Pass a dynvar to eshell-post-rewrite-command-hook.
3833 Implement the new eshell-post-rewrite-command-function.
3834 (eshell-invoke-directly): Remove unused arg `input'.
3835 * eshell/esh-io.el (eshell-io-initialize):
3836 Use eshell-post-rewrite-command-function (bug#15399).
3837 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3838 adjust to new calling convention.
3839 (eshell-create-handles): Rename args to avoid clashing with dynvar
3840 `standard-output'.
3841
3842 2013-09-17 Glenn Morris <rgm@gnu.org>
3843
3844 * simple.el (messages-buffer-mode): New major mode.
3845 (messages-buffer): New function.
3846 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3847 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3848 (ert-run-test): Use `messages-buffer' function.
3849 (ert--force-message-log-buffer-truncation): Ignore read-only.
3850 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3851 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3852
3853 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3856
3857 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3858
3859 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * icomplete.el (icomplete-in-buffer): New var.
3862 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3863 vars and replace them with functions.
3864 (icomplete-minibuffer-setup): Adjust accordingly.
3865 (icomplete--completion-table, icomplete--completion-predicate)
3866 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3867 New functions.
3868 (icomplete-forward-completions, icomplete-backward-completions)
3869 (icomplete-simple-completing-p, icomplete-exhibit)
3870 (icomplete-completions): Use them.
3871 (icomplete--in-region-buffer): New var.
3872 (icomplete--in-region-setup): New function.
3873 (icomplete-mode): Use it.
3874
3875 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3876 (bug#15379).
3877 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3878 return args and options.
3879 (eshell-eval-using-options): Use the new return value of
3880 eshell--do-opts to set the options's vars in their scope.
3881 (eshell--set-option): Rename from eshell-set-option.
3882 Add arg `opt-vals'.
3883 (eshell--process-option): Rename from eshell-process-option.
3884 Add arg `opt-vals'.
3885 (eshell--process-args): Use an `opt-vals' alist to store the options's
3886 values during their processing and return them additionally to the
3887 remaining args.
3888
3889 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3890
3891 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3892 continuation character an operator, as far as indentation is
3893 concerned (Bug#15369).
3894
3895 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (window--state-put-2): Don't process buffer state
3898 when buffer doesn't exist any more (Bug#15382).
3899
3900 2013-09-15 Glenn Morris <rgm@gnu.org>
3901
3902 * eshell/em-unix.el (eshell/rm):
3903 Make -f ignore missing files. (Bug#15373)
3904
3905 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3906 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3907 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3908
3909 2013-09-14 Glenn Morris <rgm@gnu.org>
3910
3911 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3912
3913 2013-09-13 Glenn Morris <rgm@gnu.org>
3914
3915 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3916 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3917
3918 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3919
3920 * frame.el (x-focus-frame): Mark as declared in frame.c.
3921
3922 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3923
3924 * ls-lisp.el: Use advice-add.
3925 (original-insert-directory): Remove.
3926 (ls-lisp--insert-directory): Rename from insert-directory; add
3927 `orig-fun' argument.
3928 (insert-directory): Advise.
3929
3930 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3931
3932 * term.el (term-emulate-terminal): Decode the command string
3933 before passing it to term-command-hook. (Bug#15337)
3934
3935 2013-09-13 Glenn Morris <rgm@gnu.org>
3936
3937 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3938
3939 * eshell/esh-ext.el (eshell-search-path): Declare.
3940
3941 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3942 Otherwise an error occurs if eshell-dirs module not loaded.
3943
3944 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3945
3946 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3947
3948 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3949 `tramp-check-proper-host'. Check for a valid method name.
3950
3951 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3952 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3953 * net/tramp-sh.el (tramp-maybe-open-connection):
3954 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3955
3956 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3957 also for hash values.
3958
3959 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * term/ns-win.el (parameters): Don't declare as dynamic.
3962 (before-make-frame-hook): Don't add ineffective function.
3963
3964 * eshell/*.el: Use lexical-binding (bug#15231).
3965
3966 2013-09-12 Kenichi Handa <handa@gnu.org>
3967
3968 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3969
3970 2013-09-12 Glenn Morris <rgm@gnu.org>
3971
3972 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3973 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3974
3975 * subr.el (do-after-load-evaluation): Also give compiler warnings
3976 when obsolete files are used (except by obsolete files).
3977
3978 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3979 in the status output, assume `filename' is the first. (Bug#15322)
3980
3981 * vc/vc.el (vc-deduce-fileset): Doc fix.
3982
3983 * calc/calc-help.el (Info-goto-node):
3984 * progmodes/cperl-mode.el (Info-find-node):
3985 * vc/ediff.el (Info-goto-node): Update declarations.
3986
3987 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3988
3989 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3990 (vc-bzr-pull): Require vc-dispatcher.
3991 * vc/vc-git.el (vc-compilation-mode): Declare.
3992 (vc-git-pull): Require vc-dispatcher.
3993
3994 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3995
3996 * progmodes/octave.el (help-button-action): Declare.
3997
3998 * shell.el (shell-directory-tracker): Output error as a message
3999 rather than just returning it as a string.
4000 (shell-process-pushd): Remove useless use of message.
4001
4002 * dframe.el (dframe-timer-fn):
4003 * files.el (dir-locals-read-from-file):
4004 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4005 (mpc-format):
4006 * reveal.el (reveal-post-command):
4007 * saveplace.el (load-save-place-alist-from-file):
4008 * shell.el (shell-resync-dirs):
4009 * w32-common-fns.el (x-get-selection-value):
4010 * emacs-lisp/copyright.el (copyright-find-copyright):
4011 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4012 * emulation/tpu-edt.el (tpu-copy-keyfile):
4013 * play/bubbles.el (bubbles--mark-neighbourhood):
4014 * progmodes/executable.el
4015 (executable-make-buffer-file-executable-if-script-p):
4016 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4017
4018 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 Cleanup Eshell to rely less on dynamic scoping.
4021 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4022 last-value, and ext-command here. Bind `args' closer to `body'.
4023 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4024 (eshell--args): Declare new dynamic var.
4025 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4026 last-value, and ext-command. Pass `args' to `body'.
4027 (eshell-process-args): Bind eshell--args.
4028 (eshell-set-option): Use eshell--args.
4029 * eshell/eshell.el (eshell): Use derived-mode-p.
4030 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4031 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4032 (eshell-glob-function): Declare.
4033 * eshell/esh-util.el: Require cl-lib.
4034 (eshell-read-hosts-file): Avoid add-to-list.
4035 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4036 `err'.
4037 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4038 Declare.
4039 (eshell/diff): Remove unused var `err'.
4040 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4041 `killflag'.
4042 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4043 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4044 first use.
4045 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4046 Move declaration before first use.
4047 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4048 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4049 rely on cl-return.
4050
4051 2013-09-12 Glenn Morris <rgm@gnu.org>
4052
4053 * term/ns-win.el (global-map): Remove binding for ispell-next,
4054 deleted 1999-05-29. (Bug#15357)
4055
4056 2013-09-11 Glenn Morris <rgm@gnu.org>
4057
4058 * echistory.el (electric-command-history): Remove call to deleted func.
4059
4060 * play/landmark.el (landmark-mode): Fix typos.
4061
4062 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4063 Check cvs-sort-ignore-file is bound.
4064
4065 * savehist.el: No need for cl when compiling on Emacs.
4066
4067 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4070 (bug#15338).
4071 (eshell-self-insert-command, eshell-send-invisible):
4072 Remove unused argument.
4073 (eshell-handle-control-codes): Remove unused var `orig'.
4074 Avoid delete-backward-char.
4075
4076 * files.el (set-auto-mode): Simplify a bit further.
4077
4078 2013-09-11 Glenn Morris <rgm@gnu.org>
4079
4080 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4081 (set-auto-mode): Don't regexp-quote elements.
4082 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4083 * progmodes/cc-mode.el (interpreter-mode-alist):
4084 * progmodes/ruby-mode.el (interpreter-mode-alist):
4085 Revert previous change.
4086
4087 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * play/snake.el (snake-mode):
4090 * play/mpuz.el (mpuz-mode):
4091 * play/landmark.el (lm-mode):
4092 * play/blackbox.el (blackbox-mode):
4093 * play/5x5.el (5x5-mode):
4094 * obsolete/options.el (Edit-options-mode):
4095 * net/quickurl.el (quickurl-list-mode):
4096 * net/newst-treeview.el (newsticker-treeview-mode):
4097 * mail/rmailsum.el (rmail-summary-mode):
4098 * mail/mspools.el (mspools-mode):
4099 * locate.el (locate-mode):
4100 * ibuffer.el (ibuffer-mode):
4101 * emulation/ws-mode.el (wordstar-mode):
4102 * emacs-lisp/debug.el (debugger-mode):
4103 * array.el (array-mode):
4104 * net/eudc.el (eudc-mode): Use define-derived-mode.
4105 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4106 Move initialization into declaration.
4107 (mairix-searches-mode): Use define-derived-mode.
4108 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4109 (eudc-edit-hotlist): Use dolist.
4110 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4111 (Man-mode): Use define-derived-mode.
4112 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4113 (Info-edit-mode): Use define-derived-mode.
4114 (Info-cease-edit): Use Info-mode.
4115 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4116 into declaration.
4117 (eshell-mode): Use define-derived-mode.
4118 * chistory.el (command-history-mode-map): Rename from
4119 command-history-map.
4120 (command-history-mode): Use define-derived-mode.
4121 (Command-history-setup): Remove function.
4122 * calc/calc.el (calc-trail-mode-map): New var.
4123 (calc-trail-mode): Use define-derived-mode.
4124 (calc-trail-buffer): Set calc-main-buffer manually.
4125 * bookmark.el (bookmark-insert-annotation): New function.
4126 (bookmark-edit-annotation): Use it.
4127 (bookmark-edit-annotation-mode): Make it a proper major mode.
4128 (bookmark-send-edited-annotation): Use derived-mode-p.
4129 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4130 closer to its ideal place. Use \' to match EOS.
4131
4132 * profiler.el (profiler-calltree-find): Use function-equal.
4133
4134 2013-09-10 Glenn Morris <rgm@gnu.org>
4135
4136 * files.el (interpreter-mode-alist): Convert to regexps.
4137 (set-auto-mode): Adapt for this. (Bug#15306)
4138 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4139 Comment out unused variable.
4140 * progmodes/cc-mode.el (interpreter-mode-alist):
4141 * progmodes/python.el (interpreter-mode-alist):
4142 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4143 * progmodes/sh-script.el (sh-set-shell):
4144 No longer use interpreter-mode-alist to get list of shells.
4145
4146 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4147
4148 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * simple.el: Use set-temporary-overlay-map for universal-argument.
4151 (universal-argument-map): Don't use default-bindings (bug#15317).
4152 Bind switch-frame explicitly. Replace universal-argument-minus with
4153 a conditional binding.
4154 (universal-argument-num-events, saved-overriding-map): Remove.
4155 (restore-overriding-map): Remove.
4156 (universal-argument--mode): Rename from save&set-overriding-map,
4157 and rewrite.
4158 (universal-argument, universal-argument-more, negative-argument)
4159 (digit-argument): Adjust accordingly.
4160 (universal-argument-minus): Remove.
4161 (universal-argument-other-key): Remove.
4162
4163 * subr.el (with-demoted-errors): Add `format' argument.
4164
4165 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4166
4167 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4168 `tramp-cleanup-connection'.
4169
4170 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4171 parameters KEEP-DEBUG and KEEP-PASSWORD.
4172
4173 * net/tramp.el (tramp-file-name-handler):
4174 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4175 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4176 (tramp-maybe-open-connection):
4177 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4178 Use `tramp-cleanup-connection'.
4179
4180 * net/tramp-sh.el (tramp-maybe-open-connection):
4181 Catch 'uname-changed inside the progress reporter.
4182
4183 2013-09-10 Glenn Morris <rgm@gnu.org>
4184
4185 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4186
4187 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4188 returns "alternate access method" in mode (eg "-rw-r--r--.").
4189
4190 2013-09-08 Glenn Morris <rgm@gnu.org>
4191
4192 * saveplace.el (load-save-place-alist-from-file):
4193 Demote errors. (Bug#15305)
4194
4195 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4196
4197 Improve compatibility with older Emacsen, and XEmacs.
4198
4199 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4200 only if it is bound. It isn't for XEmacs.
4201 (with-tramp-progress-reporter): Do not let-bind `result'.
4202 This yields to scoping errors in XEmacs.
4203 (tramp-handle-make-auto-save-file-name): New function, moved from
4204 tramp-sh.el.
4205
4206 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4207 for `make-auto-save-file-name'.
4208 (tramp-adb--gnu-switches-to-ash):
4209 Use `tramp-compat-replace-regexp-in-string'.
4210
4211 * net/tramp-cache.el (tramp-cache-print): Call
4212 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4213
4214 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4215 bound. It isn't for XEmacs.
4216
4217 * net/tramp-compat.el (tramp-compat-copy-file):
4218 Catch `wrong-number-of-arguments' error.
4219 (tramp-compat-replace-regexp-in-string): New defun.
4220
4221 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4222 for `make-auto-save-file-name'.
4223 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4224 `copy-file'.
4225 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4226 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4227 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4228
4229 * net/tramp-gw.el (tramp-gw-open-network-stream):
4230 Use `tramp-compat-replace-regexp-in-string'.
4231
4232 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4233 Call `tramp-handle-make-auto-save-file-name'.
4234 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4235 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4236 (tramp-sh-file-inotifywait-process-filter):
4237 Use `tramp-compat-replace-regexp-in-string'.
4238 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4239
4240 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4241 for `make-auto-save-file-name'.
4242 (tramp-smb-handle-copy-directory):
4243 Call `tramp-compat-replace-regexp-in-string'.
4244 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4245 (tramp-smb-handle-copy-file): Improve error message.
4246 (tramp-smb-handle-rename-file): Rename directly only in case
4247 `newname' does not exist yet. This is a restriction of smbclient.
4248 (tramp-smb-maybe-open-connection): Rerun the function only when
4249 `auth-sources' is non-nil.
4250
4251 2013-09-08 Kenichi Handa <handa@gnu.org>
4252
4253 * international/characters.el: Set category "^" (Combining) for
4254 more characters.
4255
4256 2013-09-07 Alan Mackenzie <acm@muc.de>
4257
4258 Correctly fontify Java class constructors.
4259 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4260 in Java Mode.
4261 (c-recognize-typeless-decls): Set the Java value to t.
4262 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4263 While handling a "(", add a check for, effectively, Java, and handle a
4264 "typeless" declaration there.
4265
4266 2013-09-07 Roland Winkler <winkler@gnu.org>
4267
4268 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4269 field subtitle for entry type book.
4270
4271 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * minibuffer.el: Make minibuffer-complete call completion-in-region
4274 rather than other way around.
4275 (completion--some, completion-pcm--find-all-completions):
4276 Don't delay signals when debugging.
4277 (minibuffer-completion-contents): Beware fields within the
4278 minibuffer contents.
4279 (completion-all-sorted-completions): Use defvar-local.
4280 (completion--do-completion, completion--cache-all-sorted-completions)
4281 (completion-all-sorted-completions, minibuffer-force-complete):
4282 Add args `beg' and `end'.
4283 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4284 (minibuffer-complete): Use completion-in-region.
4285 (completion-complete-and-exit): New fun, extracted from
4286 minibuffer-complete-and-exit.
4287 (minibuffer-complete-and-exit): Use it.
4288 (completion--complete-and-exit): Rename from
4289 minibuffer--complete-and-exit.
4290 (completion-in-region--single-word): New function, extracted from
4291 minibuffer-complete-word.
4292 (minibuffer-complete-word): Use it.
4293 (display-completion-list): Make `common-substring' argument obsolete.
4294 (completion--in-region): Call completion--in-region-1 instead of
4295 minibuffer-complete.
4296 (completion-help-at-point): Pass boundaries to
4297 minibuffer-completion-help as args rather than via an overlay.
4298 (completion-pcm--string->pattern): Use `any-delim'.
4299 (completion-pcm--optimize-pattern): New function.
4300 (completion-pcm--pattern->regex): Handle `any-delim'.
4301 * icomplete.el (icomplete-forward-completions)
4302 (icomplete-backward-completions, icomplete-completions):
4303 Adjust calls to completion-all-sorted-completions and
4304 completion--cache-all-sorted-completions.
4305 (icomplete-with-completion-tables): Default to t.
4306 * emacs-lisp/crm.el (crm--current-element): Rename from
4307 crm--select-current-element. Don't put an overlay but return the
4308 boundaries instead.
4309 (crm--completion-command): Take two new args to bind to the boundaries.
4310 (crm-completion-help): Adjust accordingly.
4311 (crm-complete): Use completion-in-region.
4312 (crm-complete-word): Use completion-in-region--single-word.
4313 (crm-complete-and-exit): Use completion-complete-and-exit.
4314
4315 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4318 than dynamically.
4319
4320 2013-09-06 Juri Linkov <juri@jurta.org>
4321
4322 * info.el (Info-display-images-node): When image file doesn't exist
4323 display text version of the image if it's provided in the Info file.
4324 Otherwise, display the location of missing image from SRC attribute.
4325 Add help-echo text property from ALT attribute. (Bug#15279)
4326
4327 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4328
4329 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4330 (edit-abbrevs-mode): Use define-derived-mode.
4331
4332 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4333 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4334 that it's defined.
4335 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4336 Use define-derived-mode.
4337
4338 * epg.el (epg-start-encrypt): Minor CSE simplification.
4339
4340 2013-09-06 William Xu <william.xwl@gmail.com>
4341
4342 * arc-mode.el: Add support for 7za (bug#15264).
4343 (archive-7z-program): New var.
4344 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4345 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4346 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4347
4348 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4349
4350 Remove URL syntax.
4351
4352 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4353 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4354 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4355 (tramp-postfix-host-format, tramp-file-name-regexp)
4356 (tramp-completion-file-name-regexp)
4357 (tramp-completion-dissect-file-name)
4358 (tramp-handle-substitute-in-file-name): Remove 'url case.
4359 (tramp-file-name-regexp-url)
4360 (tramp-completion-file-name-regexp-url): Remove constants.
4361
4362 2013-09-06 Glenn Morris <rgm@gnu.org>
4363
4364 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4365
4366 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4367
4368 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4369 keywords" below "here-doc beginnings" (Bug#15270).
4370
4371 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * subr.el (pop): Use `car-safe'.
4374 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4375 to detect unused `pop' return value.
4376
4377 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4378 var `block-regexp'.
4379 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4380 (python-fill-string): Remove unused var `marker'.
4381 (python-skeleton-add-menu-items): Remove unused var `items'.
4382
4383 * international/mule-cmds.el: Require CL.
4384 (find-coding-systems-for-charsets): Avoid add-to-list.
4385 (sanitize-coding-system-list): New function, extracted from
4386 select-safe-coding-system-interactively.
4387 (select-safe-coding-system-interactively): Use it.
4388 (read-input-method-name): Accept symbols for `default'.
4389
4390 * emacs-lisp/advice.el (defadvice): Add indent rule.
4391
4392 2013-09-05 Daniel Hackney <dan@haxney.org>
4393
4394 * dired-x.el:
4395 * net/ange-ftp.el:
4396 * net/browse-url.el:
4397 * net/dbus.el:
4398 * net/eudc.el:
4399 * net/eudcb-ldap.el:
4400 * net/eww.el:
4401 * net/imap.el:
4402 * printing.el:
4403 * vc/ediff-diff.el:
4404 * vc/ediff-init.el:
4405 * vc/ediff-merg.el:
4406 * vc/ediff-mult.el:
4407 * vc/ediff-util.el:
4408 * vc/ediff-wind.el:
4409 * vc/ediff.el:
4410 * vc/emerge.el:
4411 * vc/pcvs.el:
4412 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4413 byte compiler. Remove some unused let-bound variables.
4414
4415 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4418 a "ref-cell", since it gets better optimized (bug#14883).
4419
4420 2013-09-05 Glenn Morris <rgm@gnu.org>
4421
4422 * progmodes/cc-awk.el (c-forward-sws): Declare.
4423
4424 2013-09-04 Glenn Morris <rgm@gnu.org>
4425
4426 * generic-x.el [rul-generic-mode]: Require cc-mode.
4427 (c++-mode-syntax-table): Declare.
4428 (rul-generic-mode-syntax-table): Init in the defvar.
4429
4430 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4433 (vc-do-command, vc-set-async-update):
4434 * vc/vc-mtn.el (vc-mtn-dir-status):
4435 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4436 (vc-hg-pull, vc-hg-merge-branch):
4437 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4438 (vc-git-merge-branch):
4439 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4440 (vc-cvs-dir-status-files):
4441 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4442 (vc-bzr-dir-status-files):
4443 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4444 * vc/vc-annotate.el: Use lexical-binding.
4445 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4446 (vc-sentinel-movepoint): Declare.
4447 (vc-annotate): Don't use `goto-line'.
4448 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4449 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4450 (vc-sentinel-movepoint): Declare.
4451 * vc/vc-svn.el: Use lexical-binding.
4452 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4453 * vc/vc-sccs.el:
4454 * vc/vc-rcs.el: Use lexical-binding.
4455
4456 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4457 `deleted'. Don't drop errors silently.
4458
4459 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4460
4461 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4462
4463 * vc/vc.el (vc-ignore): Rewrite.
4464 (vc-default-ignore): New function.
4465 (vc-default-ignore-completion-table): Use find-ignore-file.
4466
4467 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4468 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4469 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4470 Remove. Most code moved to vc.el.
4471
4472 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4475 * net/tramp-smb.el (tramp-smb-get-file-entries):
4476 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4477 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4478
4479 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4480 Update call to it.
4481 (eww-change-select): Remove unused var `properties'.
4482 (eww-make-unique-file-name): Remove unused var `base'.
4483
4484 * finder.el (finder-compile-keywords): Don't mess with windows.
4485
4486 * calculator.el (calculator-funcall): Fix typo in last change.
4487
4488 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4489
4490 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4491 <pkg>-autoloads.el file stop us.
4492
4493 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4494 warnings, and factor out common code.
4495
4496 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4497
4498 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4499 two-character operators and whether the character preceding them
4500 changes their meaning (Bug#15208).
4501
4502 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4503
4504 Format code sent to Python shell for robustness.
4505 * progmodes/python.el (python-shell-buffer-substring):
4506 New function.
4507 (python-shell-send-region, python-shell-send-buffer): Use it.
4508
4509 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4510
4511 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4512 * net/tramp.el (tramp-user-error): ... here.
4513 (tramp-find-method, tramp-check-proper-host)
4514 (tramp-dissect-file-name, tramp-debug-message)
4515 (tramp-handle-shell-command):
4516 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4517 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4518
4519 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4520
4521 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4522
4523 * avoid.el (mouse-avoidance-point-position)
4524 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4525 returns nil.
4526
4527 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4528
4529 * progmodes/python.el (python-shell-completion-get-completions):
4530 Drop use of deleted `comint-last-prompt-overlay'.
4531 (python-nav-if-name-main): New command.
4532
4533 2013-09-01 Glenn Morris <rgm@gnu.org>
4534
4535 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4536 Avoid leading space in $wins. Otherwise the sed command used by
4537 eg compile-main ends up containing "/*.el". (Bug#15170)
4538
4539 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4540
4541 2013-08-30 Glenn Morris <rgm@gnu.org>
4542
4543 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4544 Fix is-this-a-directory logic. (Bug#15220)
4545
4546 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * textmodes/css-mode.el: Use SMIE.
4549 (css-smie-grammar): New var.
4550 (css-smie--forward-token, css-smie--backward-token)
4551 (css-smie-rules): New functions.
4552 (css-mode): Use them.
4553 (css-navigation-syntax-table): Remove var.
4554 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4555 (css-indent-calculate, css-indent-line): Remove functions.
4556
4557 Misc changes to reduce use of `(lambda...); and other cleanups.
4558 * cus-edit.el: Use lexical-binding.
4559 (customize-push-and-save, customize-apropos)
4560 (custom-buffer-create-internal): Use closures.
4561 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4562 * progmodes/ada-xref.el: Use setq.
4563 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4564 * dframe.el: Use lexical-binding.
4565 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4566 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4567 * descr-text.el: Use lexical-binding.
4568 (describe-text-widget, describe-text-sexp, describe-property-list):
4569 Use closures.
4570 * comint.el (comint-history-isearch-push-state): Use a closure.
4571 * calculator.el: Use lexical-binding.
4572 (calculator-number-to-string): Make it work with lexical-binding.
4573 (calculator-funcall): Same and use cl-letf.
4574
4575 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4576 (lisp--company-doc-string, lisp--company-location): New functions.
4577 (lisp-completion-at-point): Use them to improve Company support.
4578
4579 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4580 params of lambda expressions.
4581 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4582 (ruby-smie--opening-pipe-p): New function.
4583 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4584 symbols and matched |...| for formal params.
4585 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4586 from being treated as hanging. Handle "rescue".
4587
4588 2013-08-29 Glenn Morris <rgm@gnu.org>
4589
4590 * progmodes/cc-engine.el (c-pull-open-brace):
4591 Move definition before use.
4592
4593 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4596 are immutable. Don't use `unsafe' any more.
4597 (cl--defsubst-expand): Don't substitute at the same time as keeping
4598 a residual unused let-binding. Don't use `unsafe' any more.
4599
4600 2013-08-29 Glenn Morris <rgm@gnu.org>
4601
4602 * calendar/cal-china.el (calendar-chinese-year-cache):
4603 Recenter on 2015.
4604
4605 * nxml/nxml-util.el (nxml-debug-clear-inside):
4606 Use cl-loop rather than loop.
4607
4608 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4609
4610 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4611
4612 2013-08-28 Glenn Morris <rgm@gnu.org>
4613
4614 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4615
4616 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4617
4618 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4619
4620 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * simple.el (repeat-complex-command--called-interactively-skip):
4623 New function.
4624 (repeat-complex-command): Use it (bug#14136).
4625
4626 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4627 (c-define-abbrev-table): Add `doc' argument.
4628 (c-mode-abbrev-table, c++-mode-abbrev-table)
4629 (objc-mode-abbrev-table, java-mode-abbrev-table)
4630 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4631 (awk-mode-abbrev-table): Use it.
4632 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4633 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4634 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4635 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4636 Move initialization into the declaration; and remove any
4637 autoload cookie.
4638
4639 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4640 and dynamic let binding.
4641
4642 * vc/smerge-mode.el: Remove redundant :group args.
4643
4644 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4645 to load-path.
4646
4647 2013-08-28 Juri Linkov <juri@jurta.org>
4648
4649 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4650 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4651 (isearch-other-meta-char): Handle an undefined shifted printing
4652 character by downshifting it. (Bug#15200)
4653
4654 2013-08-28 Juri Linkov <juri@jurta.org>
4655
4656 * isearch.el (isearch-search): Change regexp error message for
4657 non-regexp searches. (Bug#15166)
4658
4659 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4660
4661 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4662 for portability to hosts where /bin/sh has problems.
4663
4664 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4667
4668 2013-08-27 Juri Linkov <juri@jurta.org>
4669
4670 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4671 in the keyboard macro. (Bug#15126)
4672
4673 2013-08-27 Juri Linkov <juri@jurta.org>
4674
4675 * isearch.el (isearch-quote-char): Comment out converting unibyte
4676 to multibyte, thus syncing with its `quoted-insert' counterpart.
4677 (Bug#15166)
4678
4679 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4680
4681 * window.el (display-buffer-use-some-window): Add missing
4682 argument in call of get-largest-window (Bug#15185).
4683 Reported by Stephen Leake.
4684
4685 2013-08-27 Glenn Morris <rgm@gnu.org>
4686
4687 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4688
4689 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4692 from a matcher-function unless there's no more matches (bug#15161).
4693
4694 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4695
4696 * minibuffer.el: Revert change from 2013-08-20.
4697
4698 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4699 with text property `tramp-default', if appropriate.
4700 (tramp-check-proper-host): New defun.
4701 (tramp-dissect-file-name): Do not check hostname. Revert change
4702 of 2013-03-18.
4703 (tramp-backtrace): Make VEC-OR-PROC optional.
4704
4705 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4706 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4707 * net/tramp-sh.el (tramp-maybe-open-connection):
4708 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4709 Apply `tramp-check-proper-host'.
4710
4711 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4712
4713 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4714 lambda expression in order to have `describe-variable' display it.
4715
4716 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4717
4718 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4719 BUF can be optional. (Bug#15186)
4720
4721 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4722
4723 * progmodes/flymake.el (flymake-get-real-file-name-function):
4724 Fix broken customization. (Bug#15184)
4725
4726 2013-08-25 Alan Mackenzie <acm@muc.de>
4727
4728 Improve indentation of bracelists defined by macros (without "=").
4729
4730 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4731 expansion begins with "{", regard it as bracelist when it doesn't
4732 contain a ";".
4733
4734 Parse C++ inher-intro when there's a template split over 2 lines.
4735
4736 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4737 rigorously the search for "class" etc. followed by ":".
4738
4739 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4740 random languages a regexp which never matches rather than nil.
4741
4742 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4743
4744 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4745 (c-awk-regexp-one-line-possibly-open-char-list-re)
4746 (c-awk-one-line-possibly-open-regexp-re)
4747 (c-awk-one-line-non-syn-ws*-re): Remove.
4748 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4749 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4750 (c-awk-space*-unclosed-regexp-/-re): New constants.
4751 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4752 aren't regexp delimiters.
4753
4754 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4755 handling for a rare situation in AWK Mode involving unterminated
4756 strings/regexps.
4757
4758 2013-08-23 Glenn Morris <rgm@gnu.org>
4759
4760 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4761
4762 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4763
4764 * files.el (create-file-buffer): If the result would begin with
4765 spaces, prepend a "|" instead of removing them. (Bug#15162)
4766
4767 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4770 text-properties (bug#15155).
4771
4772 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4773 exist any more.
4774 (calc-keypad-redraw): Remove unused var `pad'.
4775 (calc-keypad-press): Remove unused var `menu'.
4776
4777 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4778
4779 * window.el (display-buffer-pop-up-frame):
4780 Call pop-up-frame-function with BUFFER current so `make-frame' will
4781 use it as the new frame's buffer (Bug#15133).
4782
4783 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * calendar/timeclock.el: Minor cleanups.
4786 (timeclock-ask-before-exiting, timeclock-use-display-time):
4787 Use `symbol'.
4788 (timeclock-modeline-display): Define as alias before the
4789 actual definition.
4790 (timeclock-mode-line-display): Use define-minor-mode.
4791 (timeclock-day-list-template): Make it a function, add an argument.
4792 (timeclock-day-list-required, timeclock-day-list-length)
4793 (timeclock-day-list-debt, timeclock-day-list-span)
4794 (timeclock-day-list-break): Adjust calls accordingly.
4795
4796 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4799 Use read--expression so that completion works again.
4800
4801 2013-08-21 Sam Steingold <sds@gnu.org>
4802
4803 Add rudimentary inferior shell interaction
4804 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4805 (sh-set-shell): Reset it.
4806 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4807 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4808
4809 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * align.el: Use lexical-binding.
4812 (align-region): Simplify accordingly.
4813
4814 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4815
4816 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4817
4818 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4819 `non-essential' up.
4820
4821 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * net/tramp.el:
4824 * net/tramp-adb.el:
4825 * net/tramp-cmds.el:
4826 * net/tramp-ftp.el:
4827 * net/tramp-gvfs.el:
4828 * net/tramp-gw.el:
4829 * net/tramp-sh.el: Don't wrap external variable declarations by
4830 `eval-when-compile'.
4831
4832 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4833
4834 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4835 now that Emacs supports ImageMagick animations.
4836
4837 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4838
4839 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4840 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4841
4842 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4843
4844 * window.el (mouse-autoselect-window-select): Do autoselect when
4845 mouse pointer is on margin.
4846
4847 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4848
4849 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4850
4851 2013-08-16 Glenn Morris <rgm@gnu.org>
4852
4853 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4854 Handle "Remote Directory" response of some clients. (Bug#15058)
4855
4856 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4857 Tweak warning. (Bug#14926)
4858
4859 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4860 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4861
4862 * image-mode.el (image-mode-map): Add menu items to reverse,
4863 increase, decrease, reset animation speed.
4864 (image--set-speed, image-increase-speed, image-decrease-speed)
4865 (image-reverse-speed, image-reset-speed): New functions.
4866 (image-mode-map): Add bindings for speed commands.
4867
4868 * image.el (image-animate-get-speed, image-animate-set-speed):
4869 New functions.
4870 (image-animate-timeout): Respect image :speed property.
4871
4872 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4875 previous line (bug#15101).
4876 (debugger-eval-expression, debugger-record-expression):
4877 Use read--expression (bug#15102).
4878
4879 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4880
4881 Remove byte compiler warnings, visible when compiling with
4882 `byte-compile-force-lexical-warnings' set to t.
4883
4884 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4885 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4886 (tramp-handle-unhandled-file-name-directory)
4887 (tramp-handle-file-notify-add-watch, tramp-action-login)
4888 (tramp-action-succeed, tramp-action-permission-denied)
4889 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4890 arguments with "_".
4891
4892 * net/tramp-adb.el (tramp-adb-parse-device-names)
4893 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4894 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4895 (tramp-adb-handle-file-truename): Remove unused arguments.
4896
4897 * net/tramp-cache.el (tramp-flush-directory-property)
4898 (tramp-flush-connection-property, tramp-list-connections)
4899 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4900
4901 * net/tramp-compat.el (tramp-compat-make-temp-file):
4902 Rename FILENAME to F.
4903
4904 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4905 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4906 (tramp-zeroconf-parse-workstation-device-names)
4907 (tramp-zeroconf-parse-webdav-device-names)
4908 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4909
4910 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4911 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4912
4913 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4914 arguments.
4915 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4916 (tramp-sh-handle-insert-file-contents-literally)
4917 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4918 with "_".
4919 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4920 Remove unused variables.
4921
4922 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4923 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4924 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4925
4926 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4927 Make them a defconst.
4928 (tramp-uuencode-region): Remove unused variable.
4929
4930 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4931
4932 * frameset.el (frameset--prop-setter): New function.
4933 (frameset-prop): Add gv-setter declaration.
4934 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4935 parameter was already set in FILTERED. Doc fix.
4936 (frameset--record-minibuffer-relationships): Allow saving a
4937 minibufferless frame without its corresponding minibuffer frame.
4938 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4939 frame, if the frame id matches.
4940 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4941 frames before orphaned ones.
4942 (frameset-restore): Warn about orphaned windows, instead of error out.
4943
4944 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4945
4946 * window.el (window-make-atom): Don't overwrite parameter
4947 already present.
4948 (display-buffer-in-atom-window): Handle special case where we
4949 split an already atomic window.
4950 (window--major-non-side-window, display-buffer-in-side-window)
4951 (window--side-check): Ignore minibuffer window when walking
4952 window tree.
4953 (window-deletable-p): Return 'frame only if no other frame uses
4954 our minibuffer window.
4955 (record-window-buffer): Run buffer-list-update-hook.
4956 (split-window): Make sure window--check-frame won't destroy an
4957 existing atomic window in case the new window gets nested
4958 inside.
4959 (display-buffer-at-bottom): Ignore minibuffer window when
4960 walking window tree. Don't split a side window.
4961 (pop-to-buffer): Don't set-buffer here, the select-window call
4962 should do that.
4963 (mouse-autoselect-window-select): Autoselect only if we are in the
4964 text portion of the window.
4965
4966 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4967
4968 * net/shr.el (shr-parse-image-data): New function to grab both the
4969 data itself and the Content-Type.
4970 (shr-put-image): Use it.
4971
4972 * net/eww.el (eww-display-image): Ditto.
4973
4974 * image.el (image-content-type-suffixes): New variable.
4975
4976 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4977
4978 * progmodes/python.el (python-imenu--build-tree)
4979 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4980
4981 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4982
4983 * simple.el (backward-word): Mention the optional argument.
4984
4985 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * frameset.el (frameset--make): Rename constructor from make-frameset.
4988 (frameset-p, frameset-valid-p): Don't autoload.
4989 (frameset-valid-p): Use normal accessors.
4990
4991 2013-08-13 Glenn Morris <rgm@gnu.org>
4992
4993 * progmodes/compile.el (compile-command): Tweak example in doc.
4994 * obsolete/scribe.el (scribe-mode):
4995 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4996
4997 * mail/feedmail.el (feedmail-confirm-outgoing)
4998 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4999
5000 * cus-start.el (truncate-partial-width-windows): Fix type.
5001
5002 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5003
5004 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5005
5006 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * emacs-lisp/timer.el (timer--time-setter): New function.
5009 (timer--time): Use it as gv-setter.
5010
5011 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5012 setter is not a symbol.
5013
5014 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5015
5016 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5017 if sending fails. This makes debugging easier.
5018
5019 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5020
5021 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5022 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5023 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5024
5025 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5026
5027 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5028
5029 2013-08-12 Glenn Morris <rgm@gnu.org>
5030
5031 * format.el (format-annotate-function):
5032 Handle read-only text properties in the source. (Bug#14887)
5033
5034 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5035
5036 * net/eww.el (eww-display-html): Ignore coding system errors.
5037 One web site uses "utf-8lias" as the coding system.
5038
5039 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5040
5041 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5042
5043 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5044
5045 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5046 (tutorial--detailed-help): Remove unused local variables.
5047 (tutorial--save-tutorial-to): Use ignore-errors.
5048 (help-with-tutorial): Use looking-at-p.
5049
5050 * view.el (view-buffer-other-window, view-buffer-other-frame):
5051 Mark unused arguments.
5052
5053 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5054 (woman-select-symbol-fonts, woman, woman-find-file)
5055 (woman-insert-file-contents, woman-non-underline-faces):
5056 Use string-match-p.
5057 (woman1-unquote): Move declaration.
5058
5059 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5060 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5061 argument. Remove unused local variable.
5062 (xml-parse-elem-type): Use string-match-p.
5063 (xml-substitute-numeric-entities): Use ignore-errors.
5064
5065 * calculator.el (calculator): Mark unused argument.
5066 (calculator-paste, calculator-quit, calculator-integer-p):
5067 Use ignore-errors.
5068 (calculator-string-to-number, calculator-decimal, calculator-exp)
5069 (calculator-op-or-exp): Use string-match-p.
5070
5071 * dired.el (dired-buffer-more-recently-used-p): Declare.
5072 (dired-insert-set-properties, dired-insert-old-subdirs):
5073 Use ignore-errors.
5074
5075 * dired-aux.el (dired-compress): Use ignore-errors.
5076 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5077 (dired-do-async-shell-command, dired-do-shell-command)
5078 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5079 (dired-insert-subdir-validate): Use string-match-p.
5080 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5081 (dired-add-entry): Use string-match-p, looking-at-p.
5082 (dired-insert-subdir-newpos): Remove unused local variable.
5083
5084 * filenotify.el (file-notify-callback): Remove unused local variable.
5085
5086 * filesets.el (filesets-error): Mark unused argument.
5087 (filesets-which-command-p, filesets-filter-dir-names)
5088 (filesets-directory-files, filesets-get-external-viewer)
5089 (filesets-ingroup-get-data): Use string-match-p.
5090
5091 * find-file.el (ff-other-file-name, ff-other-file-name)
5092 (ff-find-the-other-file, ff-cc-hh-converter):
5093 Remove unused local variables.
5094 (ff-get-file-name): Use string-match-p.
5095 (ff-all-dirs-under): Use ignore-errors.
5096
5097 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5098 (follow-select-if-visible): Remove unused local variable.
5099
5100 * forms.el (read-file-filter): Move declaration.
5101 (forms--make-format, forms--make-parser, forms-insert-record):
5102 Quote function with #'.
5103 (forms--update): Use string-match-p. Quote function with #'.
5104
5105 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5106 (help-make-xrefs): Use looking-at-p.
5107 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5108
5109 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5110 (ibuffer-confirm-operation-on): Use string-match-p.
5111
5112 * msb.el (msb-item-handler, msb-dired-item-handler):
5113 Mark unused arguments.
5114
5115 * ses.el (ses-decode-cell-symbol)
5116 (ses-kill-override): Remove unused local variable.
5117 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5118 (ses-load): Use ignore-errors, looking-at-p.
5119 (ses-jump-safe): Use ignore-errors.
5120 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5121
5122 * tabify.el (untabify, tabify): Mark unused arguments.
5123
5124 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5125 Mark unused argument.
5126 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5127 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5128
5129 * emacs-lisp/timer.el (timer--time): Define setter with
5130 gv-define-setter to avoid deprecation warning.
5131
5132 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5133 (*record-cmpl-statistics-p*): Remove (was commented out).
5134 (cmpl-statistics-block): Remove (body was commented out).
5135 All callers changed.
5136 (add-completions-from-buffer, load-completions-from-file):
5137 Remove unused variables.
5138
5139 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5140
5141 * filecache.el (file-cache-delete-file-list):
5142 Print message only when told so.
5143 (file-cache-files-matching): Use #' in mapconcat argument.
5144
5145 * ffap.el (ffap-url-at-point): Fix reference to variable
5146 thing-at-point-default-mail-uri-scheme.
5147
5148 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * subr.el (define-error): New function.
5151 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5152 error-file-not-found and define with define-error.
5153 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5154 and define with define-error.
5155 * userlock.el (file-locked, file-supersession):
5156 * simple.el (mark-inactive):
5157 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5158 * progmodes/ada-mode.el (ada-mode-errors):
5159 * play/life.el (life-extinct):
5160 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5161 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5162 * nxml/rng-util.el (rng-error):
5163 * nxml/rng-uri.el (rng-uri-error):
5164 * nxml/rng-match.el (rng-compile-error):
5165 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5166 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5167 * nxml/nxml-rap.el (nxml-scan-error):
5168 * nxml/nxml-outln.el (nxml-outline-error):
5169 * net/soap-client.el (soap-error):
5170 * net/gnutls.el (gnutls-error):
5171 * net/ange-ftp.el (ftp-error):
5172 * mpc.el (mpc-proc-error):
5173 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5174 (json-number-format, json-string-escape, json-string-format)
5175 (json-key-format, json-object-format):
5176 * jka-compr.el (compression-error):
5177 * international/quail.el (quail-error):
5178 * international/kkc.el (kkc-error):
5179 * emacs-lisp/ert.el (ert-test-failed):
5180 * calc/calc.el (calc-error, inexact-result, math-overflow)
5181 (math-underflow):
5182 * bookmark.el (bookmark-error-no-filename):
5183 * epg.el (epg-error): Define with define-error.
5184
5185 * time.el (display-time-event-handler)
5186 (display-time-next-load-average): Don't call sit-for since it seems
5187 unnecessary (bug#15045).
5188
5189 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5190 Use #' instead of ' to quote functions.
5191 (checkdoc-output-mode): Use setq-local.
5192 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5193 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5194 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5195 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5196 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5197 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5198 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5199 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5200
5201 * ido.el (ido-completion-help): Fix up compiler warning.
5202
5203 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * frameset.el (frameset-p): Add autoload cookie.
5206 (frameset--jump-to-register): New function, based on code moved from
5207 register.el.
5208 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5209
5210 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5211 (frameset-restore, frameset-save, frameset-session-filter-alist):
5212 Remove declarations.
5213 (register-alist): Doc fix.
5214 (frameset-to-register): Move to frameset.el.
5215 (jump-to-register, describe-register-1): Remove frameset-specific code.
5216
5217 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5218
5219 * allout-widgets.el (allout-widgets-pre-command-business)
5220 (allout-widgets-post-command-business)
5221 (allout-widgets-after-change-handler)
5222 (allout-decorate-item-and-context, allout-set-boundary-marker)
5223 (allout-body-modification-handler)
5224 (allout-graphics-modification-handler): Mark ignored arguments.
5225 (allout-widgets-post-command-business)
5226 (allout-widgets-exposure-change-processor)
5227 (allout-widgets-exposure-undo-processor)
5228 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5229 (allout-parse-item-at-point, allout-decorate-item-guides)
5230 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5231 * allout.el (epa-passphrase-callback-function): Declare.
5232 (allout-overlay-insert-in-front-handler)
5233 (allout-overlay-interior-modification-handler)
5234 (allout-isearch-end-handler, allout-chart-siblings)
5235 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5236 (allout-yank-processing, allout-process-exposed)
5237 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5238 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5239 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5240 (lisp-indent-defform): Mark ignored arguments.
5241 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5242 (calculate-lisp-indent): Remove unused variables.
5243 * international/characters.el (indian-2-column, arabic-2-column)
5244 (tibetan): Mark ignored arguments.
5245 (use-cjk-char-width-table): Mark ignored arguments.
5246 Remove unused variables.
5247 * international/fontset.el (build-default-fontset-data)
5248 (x-compose-font-name, create-fontset-from-fontset-spec):
5249 Mark ignored arguments.
5250 (fontset-plain-name): Remove unused variables.
5251 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5252 (keyboard-coding-system): Mark ignored arguments.
5253 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5254 * help.el (resize-temp-buffer-window):
5255 * window.el (display-buffer-in-major-side-window)
5256 (display-buffer-in-side-window, display-buffer-in-previous-window):
5257 Remove unused variables.
5258 * isearch.el (isearch-forward-symbol):
5259 * version.el (emacs-bzr-version-bzr):
5260 * international/mule-cmds.el (current-language-environment):
5261 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5262 (x-handle-display):
5263 * term/pc-win.el (x-list-fonts, x-display-planes)
5264 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5265 (x-server-version, x-display-screens, x-display-mm-height)
5266 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5267 (x-selection-owner-p, x-own-selection-internal)
5268 (x-disown-selection-internal, x-get-selection-internal)
5269 (msdos-initialize-window-system):
5270 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5271 * term/x-win.el (x-handle-no-bitmap-icon):
5272 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5273 (vc-default-find-file-hook, vc-default-extra-menu):
5274 Mark ignored arguments.
5275
5276 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5279 break-condition in the context of the debugged code (bug#12685).
5280
5281 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5282
5283 * comint.el:
5284 Do not use an overlay to highlight the last prompt. (Bug#14744)
5285 (comint-mode): Make comint-last-prompt buffer local.
5286 (comint-last-prompt): New variable.
5287 (comint-last-prompt-overlay): Remove. Superseded by
5288 comint-last-prompt.
5289 (comint-snapshot-last-prompt, comint-output-filter):
5290 Use comint-last-prompt.
5291
5292 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5293
5294 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5295 (frameset-save): Check validity of the resulting frameset.
5296
5297 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5298
5299 * ido.el (ido-record-command): Add doc string.
5300
5301 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5302
5303 * frameset.el (frameset): Do not disable creation of the default
5304 frameset-p predicate. Doc fix.
5305 (frameset-valid-p): New function, copied from the old predicate-p.
5306 Add additional checks.
5307 (frameset-restore): Check with frameset-valid-p.
5308 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5309 (frameset-name, frameset-description, frameset-properties)
5310 (frameset-states): Add docstring.
5311 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5312 (frameset-filter-alist): Doc fixes.
5313
5314 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5315
5316 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5317
5318 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5321 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5322 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5323 (byte-compile-normal-call): Remove obsolescence check.
5324
5325 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5326
5327 * frameset.el (frameset-restore): Doc fix.
5328
5329 * register.el (frameset-frame-id, frameset-frame-with-id)
5330 (frameset-p, frameset-restore, frameset-save): Declare.
5331 (register-alist): Document framesets.
5332 (frameset-session-filter-alist): Declare.
5333 (frameset-to-register): New function.
5334 (jump-to-register): Implement jumping to framesets. Doc fix.
5335 (describe-register-1): Describe framesets.
5336
5337 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5338
5339 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5340
5341 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5342 Use lexical-binding.
5343
5344 * frameset.el (frameset): Use type vector, not list (incompatible
5345 change). Do not declare a new constructor, use the default one.
5346 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5347 `name' and `description', respectively, and add read-only slot
5348 `timestamp'. Doc fixes.
5349 (frameset-copy, frameset-persistent-filter-alist)
5350 (frameset-filter-alist, frameset-switch-to-gui-p)
5351 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5352 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5353 (frameset-filter-iconified, frameset-keep-original-display-p):
5354 Doc fixes.
5355 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5356 Rename from frameset-filter-(save|restore)-param. All callers changed.
5357 Doc fix.
5358 (frameset-p): Adapt to change to vector and be more thorough.
5359 Change arg name to OBJECT. Doc fix.
5360 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5361 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5362 All callers changed.
5363 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5364 All callers changed.
5365 (frameset--record-minibuffer-relationships): Rename from
5366 frameset--process-minibuffer-frames. All callers changed.
5367 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5368 Use new default constructor (again). Doc fix.
5369 (frameset--find-frame-if): Rename from `frameset--find-frame.
5370 All callers changed.
5371 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5372 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5373 Doc fix.
5374 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5375 PARAMETERS and WINDOW-STATE, respectively.
5376 (frameset-restore): Add new keyword argument PREDICATE.
5377 Reset frameset--target-display to nil. Doc fix.
5378
5379 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5382 (bat-mode): Use it.
5383 (bat-mode-syntax-table): Mark \n as end-of-comment.
5384 (bat-font-lock-keywords): Remove comment rule.
5385
5386 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5387 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5388
5389 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5390 (byte-compile-callargs-warn): Use `push'.
5391 (byte-compile-arglist-warn): Ignore higher-order "calls".
5392 (byte-compile-file-form-autoload): Use `pcase'.
5393 (byte-compile-function-form): If quoting a symbol, check that it exists.
5394
5395 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5396
5397 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5398 and add a few popular commands found in batch files.
5399 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5400 (dos-mode): Doc fixes.
5401
5402 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5405 (dos-mode): Use setq-local. Add space after "rem".
5406 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5407 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5408
5409 2013-08-07 Arni Magnusson <arnima@hafro.is>
5410
5411 * progmodes/dos.el: New file.
5412 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5413 dos-mode.
5414
5415 2013-08-06 Glenn Morris <rgm@gnu.org>
5416
5417 * calendar/calendar.el: Add new faces, and day-header-array.
5418 (calendar-weekday-header, calendar-weekend-header)
5419 (calendar-month-header): New faces.
5420 (calendar-day-header-construct): New function.
5421 (calendar-day-header-width): Also :set calendar-day-header-array.
5422 (calendar-american-month-header, calendar-european-month-header)
5423 (calendar-iso-month-header): Use calendar- faces.
5424 (calendar-generate-month):
5425 Use calendar-day-header-array for day headers; apply faces to them.
5426 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5427 (calendar-abbrev-construct): Add optional maxlen argument.
5428 (calendar-day-name-array): Doc fix.
5429 (calendar-day-name-array, calendar-abbrev-length)
5430 (calendar-day-abbrev-array):
5431 Also :set calendar-day-header-array, and maybe redraw.
5432 (calendar-day-header-array): New option. (Bug#15007)
5433 (calendar-font-lock-keywords): Set to nil and make obsolete.
5434 (calendar-day-name): Add option to use header array.
5435
5436 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437
5438 * net/shr.el (shr-render-td): Remove debugging.
5439 (shr-render-td): Make width computation consistent by defaulting
5440 all zero-width columns to 10 characters. This may not be optimal,
5441 but it's at least consistent.
5442 (shr-make-table-1): Redo last change to fix the real problem in
5443 colspan handling.
5444
5445 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5446
5447 * files.el (cache-long-line-scans):
5448 Make obsolete alias to `cache-long-scans'.
5449
5450 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5451
5452 * frameset.el (frameset, frameset-filter-alist)
5453 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5454 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5455 (frameset-compute-pos): Rename from frameset--compute-pos,
5456 and add docstring.
5457 (frameset-move-onscreen): Use frameset-compute-pos.
5458 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5459
5460 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5461 Fix typos in docstrings.
5462
5463 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5464
5465 * frame.el (get-other-frame): Tiny cleanup.
5466
5467 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * vc/vc.el (vc-default-ignore-completion-table):
5470 Silence byte-compiler warning.
5471
5472 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5473 slot , which can indeed be nil.
5474 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5475 Move entry for `left' from persistent to live filter alist.
5476 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5477 Doc fixes.
5478 (frameset-filter-params): When restoring a frame, copy items added to
5479 `filtered', to avoid unwittingly modifying the original parameters.
5480 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5481 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5482
5483 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5484 to use looking-at-p instead of looking-at. (Bug#15028)
5485
5486 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 Revert introduction of isearch-filter-predicates (bug#14714).
5489 Rely on add-function instead.
5490 * isearch.el (isearch-filter-predicates): Rename it back to
5491 isearch-filter-predicate.
5492 (isearch-message-prefix): Use advice-function-mapc and advice
5493 properties to get the isearch-message-prefix.
5494 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5495 instead of run-hook-with-args-until-failure.
5496 (isearch-filter-visible): Not obsolete any more.
5497 * loadup.el: Preload nadvice.
5498 * replace.el (perform-replace): Revert to funcall
5499 instead of run-hook-with-args-until-failure.
5500 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5501 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5502 dired-isearch-filenames-toggle; make it into a proper minor mode.
5503 Use add/remove-function.
5504 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5505 Call the minor-mode rather than add/remove-hook.
5506 (dired-isearch-filter-filenames):
5507 Remove isearch-message-prefix property.
5508 * info.el (Info--search-loop): New function, extracted from Info-search.
5509 Funcall isearch-filter-predicate instead of
5510 run-hook-with-args-until-failure isearch-filter-predicates.
5511 (Info-search): Use it.
5512 (Info-mode): Use isearch-filter-predicate instead of
5513 isearch-filter-predicates.
5514
5515 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5516
5517 Do not call to `selected-window' where it is assumed by default.
5518 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5519 `window-hscroll', `window-width', `window-height', `window-buffer',
5520 `window-frame', `window-start', `window-point', `next-window'
5521 and `window-display-table'.
5522 * abbrev.el (abbrev--default-expand):
5523 * bs.el (bs--show-with-configuration):
5524 * buff-menu.el (Buffer-menu-mouse-select):
5525 * calc/calc.el (calc):
5526 * calendar/calendar.el (calendar-generate-window):
5527 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5528 (diary-make-entry):
5529 * comint.el (send-invisible, comint-dynamic-complete-filename)
5530 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5531 * completion.el (complete):
5532 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5533 * disp-table.el (describe-current-display-table):
5534 * doc-view.el (doc-view-insert-image):
5535 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5536 * ehelp.el (with-electric-help):
5537 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5538 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5539 * emacs-lisp/helper.el (Helper-help-scroller):
5540 * emulation/cua-base.el (cua--post-command-handler-1):
5541 * eshell/esh-mode.el (eshell-output-filter):
5542 * ffap.el (ffap-gnus-wrapper):
5543 * help-macro.el (make-help-screen):
5544 * hilit-chg.el (highlight-compare-buffers):
5545 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5546 * hl-line.el (global-hl-line-highlight):
5547 * icomplete.el (icomplete-simple-completing-p):
5548 * isearch.el (isearch-done):
5549 * jit-lock.el (jit-lock-stealth-fontify):
5550 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5551 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5552 * mpc.el (mpc-tagbrowser, mpc):
5553 * net/rcirc.el (rcirc-any-buffer):
5554 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5555 * play/landmark.el (landmark-max-width, landmark-max-height):
5556 * play/zone.el (zone):
5557 * progmodes/compile.el (compilation-goto-locus):
5558 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5559 * progmodes/etags.el (find-tag-other-window):
5560 * progmodes/fortran.el (fortran-column-ruler):
5561 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5562 * progmodes/verilog-mode.el (verilog-point-text):
5563 * reposition.el (reposition-window):
5564 * rot13.el (toggle-rot13-mode):
5565 * server.el (server-switch-buffer):
5566 * shell.el (shell-dynamic-complete-command)
5567 (shell-dynamic-complete-environment-variable):
5568 * simple.el (insert-buffer, set-selective-display)
5569 (delete-completion-window):
5570 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5571 (speedbar-recenter):
5572 * startup.el (fancy-splash-head):
5573 * textmodes/ispell.el (ispell-command-loop):
5574 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5575 * tutorial.el (help-with-tutorial):
5576 * vc/add-log.el (add-change-log-entry):
5577 * vc/compare-w.el (compare-windows):
5578 * vc/ediff-help.el (ediff-indent-help-message):
5579 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5580 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5581 (ediff-setup-control-frame):
5582 * vc/emerge.el (emerge-position-region):
5583 * vc/pcvs-util.el (cvs-bury-buffer):
5584 * window.el (walk-windows, mouse-autoselect-window-select):
5585 * winner.el (winner-set-conf, winner-undo): Related users changed.
5586
5587 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5588
5589 * frameset.el (frameset--set-id): Doc fix.
5590 (frameset-frame-id, frameset-frame-id-equal-p)
5591 (frameset-locate-frame-id): New functions.
5592 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5593 (frameset-restore): Use them.
5594
5595 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5596
5597 Do not call to `selected-frame' where it is assumed by default.
5598 Affected functions are `raise-frame', `redraw-frame',
5599 `frame-first-window', `frame-terminal' and `delete-frame'.
5600 * calendar/appt.el (appt-disp-window):
5601 * epg.el (epg-wait-for-completion):
5602 * follow.el (follow-delete-other-windows-and-split)
5603 (follow-avoid-tail-recenter):
5604 * international/mule.el (set-terminal-coding-system):
5605 * mail/rmail.el (rmail-mail-return):
5606 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5607 * progmodes/f90.el (f90-add-imenu-menu):
5608 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5609 * server.el (server-switch-buffer):
5610 * simple.el (delete-completion-window):
5611 * talk.el (talk):
5612 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5613 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5614 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5615 * vc/ediff.el (ediff-documentation): Related users changed.
5616 * frame.el (selected-terminal): Remove the leftover.
5617
5618 2013-08-05 Glenn Morris <rgm@gnu.org>
5619
5620 * calendar/calendar.el (calendar-generate-month):
5621 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5622 (calendar-generate-month, calendar-font-lock-keywords):
5623 Fix for calendar-day-header-width > length of any day name.
5624
5625 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5626
5627 * desktop.el (desktop-clear): Use new name of sort predicate.
5628
5629 * frameset.el (frameset): Add docstring. Move :version property to its
5630 own `version' slot.
5631 (frameset-copy): Rename from copy-frameset.
5632 (frameset-p): Check more thoroughly.
5633 (frameset-prop): Do not check for :version, which is no longer a prop.
5634 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5635 Use new :never value instead of t.
5636 (frameset-filter-alist): Expand and clarify docstring.
5637 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5638 (frameset-filter-minibuffer, frameset-filter-save-param)
5639 (frameset-filter-restore-param, frameset-filter-iconified):
5640 Add pointer to docstring of frameset-filter-alist.
5641 (frameset-filter-params): Rename filter values to be more meaningful:
5642 :never instead of t, and reverse the meanings of :save and :restore.
5643 (frameset--process-minibuffer-frames): Clarify error message.
5644 (frameset-save): Avoid unnecessary and confusing call to framep.
5645 Use new BOA constructor for framesets.
5646 (frameset--reuse-list): Doc fix.
5647 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5648 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5649 (frameset-minibufferless-first-p): Doc fix.
5650 Rename from frameset-sort-frames-for-deletion.
5651 (frameset-restore): Doc fixes. Use new function names.
5652 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5653
5654 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5655
5656 * desktop.el (desktop-restore-forces-onscreen)
5657 (desktop-restore-reuses-frames): Document :keyword constant values.
5658 (desktop-filter-parameters-alist): Remove, now identical to
5659 frameset-filter-alist.
5660 (desktop--filter-tty*): Remove, moved to frameset.el.
5661 (desktop-save-frameset, desktop-restore-frameset):
5662 Do not pass :filters argument.
5663
5664 * frameset.el (frameset-live-filter-alist)
5665 (frameset-persistent-filter-alist): New variables.
5666 (frameset-filter-alist): Use them. Add autoload cookie.
5667 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5668 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5669 `frameset--id' (it's supposed to be internal to frameset.el).
5670 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5671 (frameset--initial-params): New function.
5672 (frameset--get-frame): Use it. Doc fix.
5673 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5674 Accept :all, not 'all.
5675 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5676 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5677 with fbound symbols. Fix frame id matching, and remove matching ids if
5678 the frame being restored is deleted. Obey :delete.
5679
5680 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * subr.el (macrop): New function.
5683 (text-clone--maintaining): New var.
5684 (text-clone--maintain): Rename from text-clone-maintain. Use it
5685 instead of inhibit-modification-hooks.
5686
5687 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5688 a proxy, so as handle autoloads and redefinitions of the target.
5689 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5690
5691 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5692 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5693 (pcase--mutually-exclusive-p): New function.
5694 (pcase--split-consp): Use it.
5695 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5696 mutually exclusive with the current predicate.
5697
5698 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5699 (edebug-macrop): Remove. Use `macrop' instead.
5700 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5701 (ad-macro-p):
5702 * eshell/esh-cmd.el (eshell-macrop):
5703 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5704
5705 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5708 (advice-mapc): New function, using it.
5709 (advice-function-member-p): New function.
5710 (advice--normalize): Store the cdr in advice--saved-rewrite since
5711 that's the part that will be changed.
5712 (advice--symbol-function): New function.
5713 (advice-remove): Handle removal before the function is defined.
5714 Adjust to new advice--saved-rewrite.
5715 (advice-member-p): Use advice-function-member-p and
5716 advice--symbol-function.
5717
5718 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5719
5720 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5721 (frameset-filter-minibuffer): Doc fix.
5722 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5723 (frameset--set-id, frameset--process-minibuffer-frames)
5724 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5725 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5726
5727 * desktop.el (desktop-clear): Only delete frames when called
5728 interactively and desktop-restore-frames is non-nil. Doc fix.
5729 (desktop-read): Set desktop-saved-frameset to nil.
5730
5731 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5732
5733 * vc/vc.el (vc-ignore): Rewrite.
5734 (vc-default-ignore-completion-table):
5735 (vc--read-lines):
5736 (vc--add-line, vc--remove-regexp): New functions.
5737
5738 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5739 (vc-svn-ignore-completion-table): New function.
5740
5741 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5742 (vc-hg-ignore-completion-table):
5743 (vc-hg-find-ignore-file): New functions.
5744
5745 * vc/vc-git.el (vc-git-ignore): Rewrite.
5746 (vc-git-ignore-completion-table):
5747 (vc-git-find-ignore-file): New functions.
5748
5749 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5750
5751 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5752 (vc-bzr-ignore-completion-table):
5753 (vc-bzr-find-ignore-file): New functions.
5754
5755 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5756
5757 * frameset.el (frameset-prop): New function and setter.
5758 (frameset-save): Do not modify frame list passed by the caller.
5759
5760 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5763
5764 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5767 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5768
5769 * custom.el (custom-initialize-default, custom-initialize-set)
5770 (custom-initialize-reset, custom-initialize-changed): Affect the
5771 toplevel-default-value (bug#6275, bug#14586).
5772 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5773 for bug#6275.
5774
5775 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5776
5777 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5778 Add cl-def* expressions.
5779
5780 * frameset.el (frameset-filter-params): Fix order of arguments.
5781
5782 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5783
5784 Move code related to saving frames to frameset.el.
5785 * desktop.el: Require frameset.
5786 (desktop-restore-frames): Doc fix.
5787 (desktop-restore-reuses-frames): Rename from
5788 desktop-restoring-reuses-frames.
5789 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5790 (desktop-clear): Clear frames too.
5791 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5792 (desktop--filter-tty*, desktop-save, desktop-read):
5793 Use frameset functions.
5794 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5795 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5796 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5797 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5798 (desktop--process-minibuffer-frames, desktop-save-frames)
5799 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5800 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5801 (desktop--sort-states, desktop-restoring-frames-p)
5802 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5803 (desktop-restoring-frameset-p, desktop-restore-frameset)
5804 (desktop--check-dont-save, desktop-save-frameset): New functions.
5805 (desktop--app-id): New constant.
5806 (desktop-first-buffer, desktop-buffer-ok-count)
5807 (desktop-buffer-fail-count): Move before first use.
5808 * frameset.el: New file.
5809
5810 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * files.el: Use lexical-binding.
5813 (dir-locals-read-from-file): Remove unused `err' variable.
5814 (hack-dir-local-variables--warned-coding): New var.
5815 (hack-dir-local-variables): Use it to avoid repeated warnings.
5816 (make-backup-file-name--default-function): New function.
5817 (make-backup-file-name-function): Use it as default.
5818 (buffer-stale--default-function): New function.
5819 (buffer-stale-function): Use it as default.
5820 (revert-buffer-insert-file-contents--default-function): New function.
5821 (revert-buffer-insert-file-contents-function): Use it as default.
5822 (insert-directory): Avoid add-to-list.
5823
5824 * autorevert.el (auto-revert-handler): Simplify.
5825 Use buffer-stale--default-function.
5826
5827 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5828
5829 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5830
5831 * whitespace.el (whitespace-ensure-local-variables): New function.
5832 (whitespace-cleanup-region): Call it.
5833 (whitespace-turn-on): Call it.
5834
5835 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5836
5837 Complete file name handlers.
5838
5839 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5840 (tramp-handle-verify-visited-file-modtime)
5841 (tramp-handle-file-notify-rm-watch): New functions.
5842 (tramp-call-process): Do not bind `default-directory'.
5843
5844 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5845 Order alphabetically.
5846 [access-file, add-name-to-file, dired-call-process]:
5847 [dired-compress-file, file-acl, file-notify-rm-watch]:
5848 [file-ownership-preserved-p, file-selinux-context]:
5849 [make-directory-internal, make-symbolic-link, set-file-acl]:
5850 [set-file-selinux-context, set-visited-file-modtime]:
5851 [verify-visited-file-modtime]: Add handler.
5852 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5853
5854 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5855 [file-notify-add-watch, file-notify-rm-watch]:
5856 [set-file-times, set-visited-file-modtime]:
5857 [verify-visited-file-modtime]: Add handler.
5858 (with-tramp-gvfs-error-message)
5859 (tramp-gvfs-handle-set-visited-file-modtime)
5860 (tramp-gvfs-fuse-file-name): Remove.
5861 (tramp-gvfs-handle-file-notify-add-watch)
5862 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5863 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5864
5865 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5866 Order alphabetically.
5867 [file-notify-rm-watch ]: Use default Tramp handler.
5868 [executable-find]: Remove private handler.
5869 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5870 `default-directory'.
5871 (tramp-sh-handle-executable-find)
5872 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5873 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5874 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5875 Do not use `format' in `tramp-message'.
5876
5877 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5878 [file-notify-rm-watch, set-visited-file-modtime]:
5879 [verify-visited-file-modtime]: Add handler.
5880 (tramp-smb-call-winexe): Do not bind `default-directory'.
5881
5882 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5883
5884 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5885
5886 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5887
5888 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5889 use it.
5890 (log-view-diff-changeset): Same.
5891 (log-view-diff-common): Call backend command `previous-revision'
5892 to find out the previous revision, in both cases. Swap the
5893 variables `to' and `fr', so that `fr' usually refers to the
5894 earlier revision (Bug#14989).
5895
5896 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5897
5898 * ibuf-ext.el (ibuffer-filter-by-filename):
5899 Make it work with dired buffers too.
5900
5901 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5902
5903 * emacs-lisp/re-builder.el (reb-color-display-p):
5904 * files.el (save-buffers-kill-terminal):
5905 * net/browse-url.el (browse-url):
5906 * server.el (server-save-buffers-kill-terminal):
5907 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5908 Prefer nil to selected-frame for the first arg of frame-parameter.
5909
5910 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5911
5912 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5913
5914 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5915
5916 * minibuffer.el (completion--twq-all): Try and preserve each
5917 completion's case choice (bug#14907).
5918
5919 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5920
5921 * net/network-stream.el (open-network-stream): Mention the new
5922 :nogreeting parameter.
5923 (network-stream-open-starttls): Use the :nogreeting parameter
5924 (bug#14938).
5925
5926 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5927
5928 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5929 more natural than popping.
5930
5931 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5932 (shr-urlify): Highlight under mouse.
5933
5934 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5935
5936 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5937
5938 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5939
5940 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5941 buffer for output.
5942
5943 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5944 point-min==1. Fix search string. Fix parentheses missing.
5945
5946 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5947 assume point-min==1. Fix search string. Fix parentheses missing.
5948
5949 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5950
5951 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5952 buffer for output.
5953
5954 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5955
5956 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5957 initial frame is minibuffer-less. (Bug#14841)
5958
5959 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5960
5961 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5962 option.
5963
5964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5965 (tramp-maybe-open-connection): Use it.
5966
5967 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5968
5969 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5970 minimal set of parameters passed when creating a frame, because
5971 the minibuffer status of a frame cannot be changed later.
5972
5973 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5974
5975 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5976 replace-regexp-in-string and inadvertent omissions in previous change.
5977 (todo-filter-items): Ensure only file names are comma-separated in
5978 name of filtered items buffer.
5979
5980 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5981
5982 * desktop.el: Optionally force offscreen frames back onscreen.
5983 (desktop-restoring-reuses-frames): New option.
5984 (desktop--compute-pos, desktop--move-onscreen): New functions.
5985 (desktop--make-frame): Use desktop--move-onscreen.
5986
5987 2013-07-27 Alan Mackenzie <acm@muc.de>
5988
5989 Fontify a Java generic method as a function.
5990 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5991 value to t.
5992
5993 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5994
5995 * calendar/todo-mode.el: Add command to rename todo files.
5996 (todo-rename-file): New command.
5997 (todo-key-bindings-t): Add key binding for it. Change the
5998 bindings of todo-filter-regexp-items(-multifile) to use `x'
5999 instead of `r', since the latter is better suited to the new
6000 renaming command.
6001
6002 2013-07-27 Alan Mackenzie <acm@muc.de>
6003
6004 Make Java try-with-resources statement parse properly.
6005 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6006 (c-block-stmt-1-2-key): New language constants/variables.
6007 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6008 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6009 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6010 with c-block-stmt-1-2-key.
6011
6012 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6013
6014 * desktop.el (desktop--make-frame): Apply most frame parameters after
6015 creating the frame to force (partially or totally) offscreen frames to
6016 be restored as such.
6017
6018 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6019
6020 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6021 (Bug#14948)
6022
6023 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6026 `base' arg of backtrace-frame.
6027
6028 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6029
6030 * simple.el (list-processes): Doc fix.
6031
6032 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6033
6034 * desktop.el (desktop--select-frame):
6035 Try harder to reuse existing frames.
6036
6037 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6040 (edebug-eval): Use backtrace-eval.
6041 (edebug--display, edebug--recursive-edit): Don't let-bind the
6042 edebug-outer-* vars that keep track of variables we locally let-bind.
6043 (edebug-outside-excursion): Don't restore outside values of locally
6044 let-bound vars.
6045 (edebug--display): Use user-error.
6046 (cl-lexical-debug, cl-debug-env): Remove.
6047
6048 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6049
6050 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6051 are restored to be sure that they are visible before deleting any
6052 remaining ones.
6053
6054 2013-07-26 Matthias Meulien <orontee@gmail.com>
6055
6056 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6057 vc-print-root-log. (Bug#14948)
6058
6059 2013-07-26 Richard Stallman <rms@gnu.org>
6060
6061 Add aliases for encrypting mail.
6062 * epa.el (epa-mail-aliases): New option.
6063 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6064 Bind inhibit-read-only so read-only text doesn't ruin everything.
6065 (epa-mail-default-recipients): New subroutine broken out.
6066 Handle epa-mail-aliases.
6067
6068 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 Add support for lexical variables to the debugger's `e' command.
6071 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6072 vars, except for debugger-outer-match-data.
6073 (debugger-frame-number): Move check for "on a function call" from
6074 callers into it. Add `skip-base' argument.
6075 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6076 (debugger-env-macro): Only reset the state stored in non-variables,
6077 i.e. current-buffer and match-data.
6078 (debugger-eval-expression): Rewrite using backtrace-eval.
6079 * subr.el (internal--called-interactively-p--get-frame): Remove.
6080 (called-interactively-p):
6081 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6082 `base' arg of backtrace-frame instead.
6083
6084 2013-07-26 Glenn Morris <rgm@gnu.org>
6085
6086 * align.el (align-regexp): Doc fix. (Bug#14857)
6087 (align-region): Explicit error if subexpression missing/does not match.
6088
6089 * simple.el (global-visual-line-mode):
6090 Do not duplicate the mode lighter. (Bug#14858)
6091
6092 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6093
6094 * window.el (display-buffer): In display-buffer bind
6095 split-window-keep-point to t, bug#14829.
6096
6097 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6098
6099 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6100 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6101 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6102 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6103 Change accordingly.
6104 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6105 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6106
6107 2013-07-25 Glenn Morris <rgm@gnu.org>
6108
6109 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6110
6111 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6114 parameter to modify-frame-parameters if the value has not changed;
6115 this is a workaround for bug#14949.
6116 (desktop--make-frame): On cl-delete-if call, check parameter name,
6117 not full parameter.
6118
6119 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6120
6121 * vc/vc.el (vc-ignore): New function.
6122
6123 * vc/vc-svn.el (vc-svn-ignore): New function.
6124
6125 * vc/vc-hg.el (vc-hg-ignore): New function.
6126
6127 * vc/vc-git.el (vc-git-ignore): New function.
6128
6129 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6130 (vc-dir-ignore): New function.
6131
6132 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6133 (cvs-append-to-ignore): Move here from pcvs.el.
6134
6135 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6136
6137 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6138
6139 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6140
6141 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6142 (desktop-restore-frames): Warn when deleting an existing frame failed.
6143
6144 2013-07-24 Glenn Morris <rgm@gnu.org>
6145
6146 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6147
6148 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * filenotify.el (file-notify-supported-p):
6151 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6152 Remove functions.
6153
6154 * autorevert.el (auto-revert-use-notify):
6155 (auto-revert-notify-add-watch):
6156 * net/tramp.el (tramp-file-name-for-operation):
6157 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6159 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6161 Remove `file-notify-supported-p' entry.
6162
6163 2013-07-24 Glenn Morris <rgm@gnu.org>
6164
6165 * printing.el: Replace all uses of deleted ps-windows-system,
6166 ps-lp-system, ps-flatten-list with lpr- versions.
6167
6168 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6171 checked with memq (bug#14935).
6172
6173 * files.el (revert-buffer-function): Use a non-nil default.
6174 (revert-buffer-preserve-modes): Declare var to
6175 provide access to the `preserve-modes' argument.
6176 (revert-buffer): Let-bind it.
6177 (revert-buffer--default): New function, extracted from revert-buffer.
6178
6179 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * lpr.el: Signal print errors more prominently.
6182 (print-region-function): Don't default to nil.
6183 (lpr-print-region): New function, extracted from print-region-1.
6184 Check lpr's return value and signal an error in case of problem.
6185 (print-region-1): Use it.
6186 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6187 versions instead.
6188 (ps-printer-name): Default to nil.
6189 (ps-printer-name-option): Default to lpr-printer-switch.
6190 (ps-print-region-function): Don't default to nil.
6191 (ps-postscript-code-directory): Simplify default.
6192 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6193 (ps-string-list, ps-eval-switch, ps-flatten-list)
6194 (ps-flatten-list-1): Remove.
6195 (ps-multibyte-buffer): Avoid setq.
6196 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6197 (print-region-function, ps-print-region-function): Don't set them here.
6198
6199 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6200
6201 * ido.el (ido-fractionp):
6202 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6203 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6204 (ido-max-directory-size, ido-max-dir-file-cache)
6205 (ido-decorations): Doc fix.
6206
6207 * ansi-color.el: Fix old URL.
6208
6209 2013-07-23 Michael R. Mauger <michael@mauger.com>
6210
6211 * progmodes/sql.el: Version 3.3
6212 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6213 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6214 (sql-interactive-remove-continuation-prompt): Rewrite, use
6215 functions above. Fix continuation prompt and complete output line
6216 handling.
6217 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6218 redirected output buffer.
6219 (sql-mode): Restore deleted code (Bug#13591).
6220
6221 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6224
6225 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6226
6227 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6228
6229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6230 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6231 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6232
6233 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6234
6235 * desktop.el (desktop-clear): Simplify; remove useless checks
6236 against invalid buffer names.
6237 (desktop-list*): Use cl-list*.
6238 (desktop-buffer-info, desktop-create-buffer): Simplify.
6239
6240 2013-07-23 Leo Liu <sdl.web@gmail.com>
6241
6242 * bookmark.el (bookmark-make-record): Restore NAME as a default
6243 value. (Bug#14933)
6244
6245 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6248 extracted from autoload--insert-text.
6249 (autoload--insert-text): Remove.
6250 (autoload--print-cookie-text): New function, extracted from
6251 autoload--insert-cookie-text.
6252 (autoload--insert-cookie-text): Remove.
6253 (autoload-generate-file-autoloads): Adjust calls accordingly.
6254
6255 * winner.el (winner-hook-installed-p): Remove.
6256 (winner-mode): Simplify accordingly.
6257
6258 * subr.el (add-to-list): Fix compiler-macro when `append' is
6259 not constant. Don't use `cl-member' for the base case.
6260
6261 * progmodes/subword.el: Fix boundary case (bug#13758).
6262 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6263 own group.
6264 (subword-backward-regexp): Make it a constant.
6265 (subword-forward-internal): Don't treat a trailing capital as the
6266 beginning of a word.
6267
6268 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6269
6270 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6271 global value of tabulated-list-revert-hook (bug#14930).
6272
6273 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6274
6275 * desktop.el: Require 'cl-lib.
6276 (desktop-before-saving-frames-functions): New hook.
6277 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6278 for frames being saved. Rename from desktop--save-minibuffer-frames.
6279 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6280 Do not save frames with non-nil `desktop-dont-save' parameter.
6281 Filter out deleted frames.
6282 (desktop--find-frame): Use cl-find-if.
6283 (desktop--select-frame): Use cl-(first|second|third) to access values
6284 of desktop-mini.
6285 (desktop--make-frame): Use cl-delete-if.
6286 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6287 (desktop-restore-frames): Use cl-(first|second|third) to access values
6288 of desktop-mini. Look for visible frame at the end, not while
6289 restoring frames.
6290
6291 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6292 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6293 Use string-match-p, looking-at-p (bug#14927).
6294
6295 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6296
6297 * desktop.el (desktop-saved-frame-states):
6298 Rename from desktop--saved-states; all users changed.
6299 (desktop-save-frames): Rename from desktop--save-frames.
6300 Do not save state to desktop file.
6301 (desktop-save): Save desktop-saved-frame-states to desktop file
6302 and reset to nil.
6303 (desktop-restoring-frames-p): New function.
6304 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6305 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6306 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6307
6308 * desktop.el: Correctly restore iconified frames.
6309 (desktop--filter-iconified-position): New function.
6310 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6311
6312 2013-07-20 Glenn Morris <rgm@gnu.org>
6313
6314 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6315 Let `message' do the formatting.
6316 (def-gdb-preempt-display-buffer): Add explicit format.
6317
6318 * image-dired.el (image-dired-track-original-file):
6319 Use with-current-buffer.
6320 (image-dired-track-thumbnail): Use with-current-buffer.
6321 Avoid changing point of wrong window.
6322
6323 * image-dired.el (image-dired-track-original-file):
6324 Avoid changing point of wrong window. (Bug#14909)
6325
6326 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6327
6328 * progmodes/gdb-mi.el (gdb-done-or-error):
6329 Guard against "%" in gdb output. (Bug#14127)
6330
6331 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6332
6333 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6334 (Bug#14826)
6335
6336 * international/mule.el (coding-system-iso-2022-flags): Fix last
6337 change.
6338
6339 2013-07-20 Kenichi Handa <handa@gnu.org>
6340
6341 * international/mule.el (coding-system-iso-2022-flags):
6342 Add `8-bit-level-4'. (Bug#8522)
6343
6344 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6345
6346 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6347 (bug#14815).
6348
6349 * net/eww.el (eww-process-text-input): Allow inputting when the
6350 point is at the start of the line, as the properties aren't
6351 front-sticky.
6352
6353 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6354 degenerate widths.
6355
6356 2013-07-19 Richard Stallman <rms@gnu.org>
6357
6358 * epa.el (epa-popup-info-window): Doc fix.
6359
6360 * subr.el (split-string): New arg TRIM.
6361
6362 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6363
6364 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6365 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6366
6367 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6368
6369 * filenotify.el (file-notify--library): Rename from
6370 `file-notify-support'. Do not autoload. Adapt all uses.
6371 (file-notify-supported-p): New defun.
6372
6373 * autorevert.el (auto-revert-use-notify):
6374 Use `file-notify-supported-p' instead of `file-notify-support'.
6375 Adapt docstring.
6376 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6377
6378 * net/tramp.el (tramp-file-name-for-operation):
6379 Add `file-notify-supported-p'.
6380
6381 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6382 New defun.
6383 (tramp-sh-file-name-handler-alist): Add it as handler for
6384 `file-notify-supported-p '.
6385
6386 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6388 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6389 Add `ignore' as handler for `file-notify-*' functions.
6390
6391 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6392
6393 * simple.el (line-move-partial, line-move): Don't start vscroll or
6394 scroll-up if the current line is not taller than the window.
6395 (Bug#14881)
6396
6397 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6398
6399 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6400 highlight question marks in the method names as strings.
6401 (ruby-block-beg-keywords): Inline.
6402 (ruby-font-lock-keyword-beg-re): Extract from
6403 `ruby-font-lock-keywords'.
6404
6405 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6406
6407 * frame.el (blink-cursor-blinks): New defcustom.
6408 (blink-cursor-blinks-done): New defvar.
6409 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6410 (blink-cursor-timer-function): Check if number of blinks has been
6411 done on X and NS.
6412 (blink-cursor-suspend, blink-cursor-check): New defuns.
6413
6414 2013-07-15 Glenn Morris <rgm@gnu.org>
6415
6416 * edmacro.el (edmacro-format-keys): Fix previous change.
6417
6418 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6419
6420 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6421 The hack didn't work outside English locales anyway.
6422
6423 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6424
6425 * simple.el (define-alternatives): Rename from alternatives-define,
6426 per RMS' suggestion.
6427
6428 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * desktop.el (desktop-restore-frames): Change default to t.
6431 (desktop-restore-in-current-display): Now offer more options.
6432 (desktop-restoring-reuses-frames): New customization option.
6433 (desktop--saved-states): Doc fix.
6434 (desktop-filter-parameters-alist): New variable, renamed and expanded
6435 from desktop--excluded-frame-parameters.
6436 (desktop--target-display): New variable.
6437 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6438 (desktop--filter-tty*, desktop--filter-*-color)
6439 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6440 (desktop--filter-save-desktop-parm)
6441 (desktop-restore-in-original-display-p): New functions.
6442 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6443 (desktop--save-minibuffer-frames): New function, inspired by a similar
6444 function from Martin Rudalics.
6445 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6446 (desktop--restore-in-this-display-p): Remove.
6447 (desktop--find-frame): Rename from desktop--find-frame-in-display
6448 and add predicate argument.
6449 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6450 (desktop--reuse-list): New variable.
6451 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6452 New functions.
6453 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6454
6455 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6456
6457 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6458
6459 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6460
6461 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6462 Highlight conversion methods on Kernel.
6463
6464 2013-07-13 Alan Mackenzie <acm@muc.de>
6465
6466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6467 and comment it out. This out-commenting enables certain C++
6468 declarations to be parsed correctly.
6469
6470 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6471
6472 * international/mule.el (define-coding-system): Doc fix.
6473
6474 * simple.el (default-font-height): Don't call font-info if the
6475 frame's default font didn't change since the frame was created.
6476 (Bug#14838)
6477
6478 2013-07-13 Leo Liu <sdl.web@gmail.com>
6479
6480 * ido.el (ido-read-file-name): Guard against non-symbol value.
6481
6482 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6483
6484 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6485 in nested defuns.
6486
6487 2013-07-13 Leo Liu <sdl.web@gmail.com>
6488
6489 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6490 ido-set-matches call. (Bug#6852)
6491
6492 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6493
6494 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6495 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6496 Ruby 2.0.
6497 (ruby-font-lock-keywords): Distinguish calls to functions with
6498 module-like names from module references. Highlight character
6499 literals.
6500
6501 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6502
6503 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6504 (gdb-send): Handle continued commands. (Bug#14847)
6505
6506 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * desktop.el (desktop--v2s): Remove unused local variable.
6509 (desktop-save-buffer): Make defvar-local; adjust docstring.
6510 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6511 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6512
6513 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6514
6515 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6516
6517 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6518
6519 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6520 (Bug#14842)
6521
6522 2013-07-12 Glenn Morris <rgm@gnu.org>
6523
6524 * doc-view.el: Require cl-lib at runtime too.
6525 (doc-view-remove-if): Remove.
6526 (doc-view-search-next-match, doc-view-search-previous-match):
6527 Use cl-remove-if.
6528
6529 * edmacro.el: Require cl-lib at runtime too.
6530 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6531 (edmacro-mismatch, edmacro-subseq): Remove.
6532
6533 * shadowfile.el: Require cl-lib.
6534 (shadow-remove-if): Remove.
6535 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6536 Use cl-remove-if.
6537
6538 * wid-edit.el: Require cl-lib.
6539 (widget-choose): Use cl-remove-if.
6540 (widget-remove-if): Remove.
6541
6542 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6543 (ebrowse-delete-if-not): Remove.
6544 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6545 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6546 Use cl-delete-if-not.
6547
6548 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6549
6550 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6551 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6552
6553 2013-07-12 Leo Liu <sdl.web@gmail.com>
6554
6555 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6556
6557 2013-07-11 Glenn Morris <rgm@gnu.org>
6558
6559 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6560 (edebug-gensym-index, edebug-gensym):
6561 Remove reimplementation of cl-gensym.
6562 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6563
6564 * thumbs.el: Require cl-lib at run-time too.
6565 (thumbs-gensym-counter, thumbs-gensym):
6566 Remove reimplementation of cl-gensym.
6567 (thumbs-temp-file): Use cl-gensym.
6568
6569 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6570 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6571 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6572 (ert--union, ert--gensym-counter, ert--gensym-counter)
6573 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6574 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6575 (ert-make-test-unbound, ert--expand-should-1)
6576 (ert--expand-should, ert--should-error-handle-error)
6577 (should-error, ert--explain-equal-rec)
6578 (ert--plist-difference-explanation, ert-select-tests)
6579 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6580 Use cl-lib functions rather than reimplementations.
6581
6582 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6583
6584 * net/tramp.el (tramp-methods): Extend docstring.
6585 (tramp-connection-timeout): New defcustom.
6586 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6587 (with-tramp-progress-reporter): Simplify.
6588 (tramp-process-actions): Improve messages.
6589
6590 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6591 * net/tramp-sh.el (tramp-maybe-open-connection):
6592 Use `tramp-connection-timeout'.
6593 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6594 (Bug#14808)
6595
6596 2013-07-11 Leo Liu <sdl.web@gmail.com>
6597
6598 * ido.el (ido-read-file-name): Conform to the requirements of
6599 read-file-name. (Bug#11861)
6600 (ido-read-directory-name): Conform to the requirements of
6601 read-directory-name.
6602
6603 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * subr.el (delay-warning): New function.
6606
6607 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6608
6609 * simple.el (default-line-height): New function.
6610 (line-move-partial, line-move): Use it instead of computing the
6611 line height inline.
6612 (line-move-partial): Always compute ROWH. If the last line is
6613 partially-visible, but its text is completely visible, allow
6614 cursor to enter such a partially-visible line.
6615
6616 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6617
6618 Improve error messages. (Bug#14808)
6619
6620 * net/tramp.el (tramp-current-connection): New defvar, moved from
6621 tramp-sh.el.
6622 (tramp-message-show-progress-reporter-message): Remove, not
6623 needed anymore.
6624 (tramp-error-with-buffer): Show message in minibuffer.
6625 Discard input before waiting. Reset connection timestamp.
6626 (with-tramp-progress-reporter): Improve messages.
6627 (tramp-process-actions): Use progress reporter. Delete process in
6628 case of error. Improve messages.
6629
6630 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6631 Call `tramp-error-with-buffer' with vector and buffer.
6632 (tramp-current-connection): Remove.
6633 (tramp-maybe-open-connection): The car of
6634 `tramp-current-connection' are the first 3 slots of the vector.
6635
6636 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6637
6638 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6639 inside continued strings.
6640
6641 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6642
6643 Timestamp fixes for undo (Bug#14824).
6644 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6645
6646 2013-07-10 Leo Liu <sdl.web@gmail.com>
6647
6648 * files.el (require-final-newline): Allow safe local value.
6649 (Bug#14834)
6650
6651 2013-07-09 Leo Liu <sdl.web@gmail.com>
6652
6653 * ido.el (ido-read-directory-name): Handle fallback.
6654 (ido-read-file-name): Update DIR to ido-current-directory.
6655 (Bug#1516)
6656 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6657
6658 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6659
6660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6661 "autoload". Remove "warn lower camel case" section, previously
6662 commented out. Highlight negation char. Do not highlight the
6663 target in singleton method definitions.
6664
6665 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * faces.el (tty-setup-hook): Declare the hook.
6668
6669 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6670 and detect when a guard/pred depends on local vars (bug#14773).
6671 (pcase--u1): Adjust caller.
6672
6673 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6674
6675 * simple.el (line-move-partial, line-move): Account for
6676 line-spacing.
6677 (line-move-partial): Avoid setting vscroll when the last
6678 partially-visible line in window is of default height.
6679
6680 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6681
6682 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6683 been used a while.
6684
6685 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * subr.el (read-quoted-char): Remove unused local variable `char'.
6688
6689 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6690
6691 * ediff.el (ediff-version): Version update.
6692 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6693 (ediff-merge-with-ancestor-command, ediff-directories-command)
6694 (ediff-directories3-command, ediff-merge-directories-command)
6695 (ediff-merge-directories-with-ancestor-command): New functions.
6696 All are command-line interfaces to ediff: to facilitate calling
6697 Emacs with the appropriate ediff functions invoked.
6698
6699 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6700 (viper-save-kill-buffer): Check if buffer is modified.
6701
6702 * viper.el (viper-version): Version update.
6703 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6704
6705 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6708 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6709 (viper-intercept-ESC-key): Simplify.
6710 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6711 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6712 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6713 (viper-setup-ESC-to-escape): New functions.
6714 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6715 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6716
6717 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6718
6719 * simple.el (default-font-height, window-screen-lines):
6720 New functions.
6721 (line-move, line-move-partial): Use them instead of
6722 frame-char-height and window-text-height. This makes scrolling
6723 text smoother when the buffer's default face uses a font that is
6724 different from the frame's default font.
6725
6726 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6727
6728 * files.el (write-file): Do not display confirm dialog for NS,
6729 it does its own dialog, which can't be cancelled (Bug#14578).
6730
6731 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6732
6733 * simple.el (line-move-partial): Adjust the row returned by
6734 posn-at-point for the current window-vscroll. (Bug#14567)
6735
6736 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6737
6738 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6739 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6740 spaces.
6741
6742 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6743
6744 * window.el (window-state-put-stale-windows): New variable.
6745 (window--state-put-2): Save list of windows without matching buffer.
6746 (window-state-put): Remove "bufferless" windows if possible.
6747
6748 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * simple.el (alternatives-define): Remove leftover :group keyword.
6751 Tweak docstring.
6752
6753 2013-07-06 Leo Liu <sdl.web@gmail.com>
6754
6755 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6756 (ido-enable-virtual-buffers): New variable.
6757 (ido-buffer-internal, ido-toggle-virtual-buffers)
6758 (ido-make-buffer-list): Use it.
6759 (ido-exhibit): Support turning on and off virtual buffers
6760 automatically.
6761
6762 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * simple.el (alternatives-define): New macro.
6765
6766 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * subr.el (read-quoted-char): Use read-key.
6769 (sit-for): Let read-event decode tty input (bug#14782).
6770
6771 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6772
6773 * calendar/todo-mode.el: Add handling of file deletion, both by
6774 mode command and externally. Fix various related bugs.
6775 Clarify Commentary and improve some documentation strings and code.
6776 (todo-delete-file): New command.
6777 (todo-check-file): New function.
6778 (todo-show): Handle external deletion of the file we're trying to
6779 show (bug#14688). Replace called-interactively-p by an optional
6780 prefix argument to avoid problematic interaction with catch form
6781 when byte compiled (bug#14702).
6782 (todo-quit): Handle external deletion of the archive's todo file.
6783 Make sure the buffer that was visiting the archive file is still
6784 live before trying to bury it.
6785 (todo-category-completions): Handle external deletion of any
6786 category completion files.
6787 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6788 of todo files, in case of external deletion.
6789 (todo-add-file): Replace unnecessary setq by let-binding.
6790 (todo-find-archive): Check whether there are any archives.
6791 Replace unnecessary setq by let-binding.
6792 (todo-archive-done-item): Use find-file-noselect to get the
6793 archive buffer whether or not the archive already exists.
6794 Remove superfluous code. Use file size instead of buffer-file-name to
6795 check if the archive is new; if it is, update list of archives.
6796 (todo-default-todo-file): Allow nil to be a valid value for when
6797 there are no todo files.
6798 (todo-reevaluate-default-file-defcustom): Use corrected definition
6799 of todo-default-todo-file.
6800 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6801 (todo-delete-category, todo-show-categories-table)
6802 (todo-category-number): Clarify comment.
6803 (todo-filter-items): Clarify documentation string.
6804 (todo-show-current-file, todo-display-as-todo-file)
6805 (todo-reset-and-enable-done-separator): Tweak documentation string.
6806 (todo-done-separator): Make separator length window-width, since
6807 bug#2749 is now fixed.
6808
6809 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6810
6811 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6812 Support both "gvfs-monitor-dir" and "inotifywait".
6813 (tramp-sh-file-inotifywait-process-filter): Rename from
6814 `tramp-sh-file-notify-process-filter'.
6815 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6816 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6817
6818 2013-07-05 Leo Liu <sdl.web@gmail.com>
6819
6820 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6821
6822 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6823
6824 * frame.el (display-pixel-height, display-pixel-width)
6825 (display-mm-height, display-mm-width): Mention behavior on
6826 multi-monitor setups in docstrings.
6827 (w32-display-monitor-attributes-list): Declare function.
6828 (display-monitor-attributes-list): Use it.
6829
6830 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6831
6832 * filenotify.el: New package.
6833
6834 * autorevert.el (top): Require filenotify.el.
6835 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6836 instead.
6837 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6838 (auto-revert-notify-handler): Use `file-notify-*' functions.
6839
6840 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6841
6842 * net/tramp.el (tramp-file-name-for-operation):
6843 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6844
6845 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6846 for `file-notify-add-watch' and `file-notify-rm-watch'.
6847 (tramp-process-sentinel): Improve trace.
6848 (tramp-sh-handle-file-notify-add-watch)
6849 (tramp-sh-file-notify-process-filter)
6850 (tramp-sh-handle-file-notify-rm-watch)
6851 (tramp-get-remote-inotifywait): New defuns.
6852
6853 2013-07-03 Juri Linkov <juri@jurta.org>
6854
6855 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6856 call of `occur-read-primary-args' to interactive spec.
6857
6858 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6859 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6860
6861 2013-07-03 Matthias Meulien <orontee@gmail.com>
6862
6863 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6864 `Buffer-menu-multi-occur'. Add it to the menu.
6865 (Buffer-menu-mode): Document it in docstring.
6866 (Buffer-menu-multi-occur): New command. (Bug#14673)
6867
6868 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6869
6870 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6871 keywords and built-ins.
6872
6873 2013-07-03 Glenn Morris <rgm@gnu.org>
6874
6875 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6876
6877 Make info-xref checks case-sensitive by default
6878 * info.el (Info-find-node, Info-find-in-tag-table)
6879 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6880 Add option for exact case matching of nodes.
6881 * info-xref.el (info-xref): New custom group.
6882 (info-xref-case-fold): New option.
6883 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6884
6885 2013-07-03 Leo Liu <sdl.web@gmail.com>
6886
6887 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6888
6889 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6890
6891 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6892 middle of block statement initially, lower the depth. Remove
6893 FIXME comment, not longer valid. Remove middle of block statement
6894 detection, no need to do that anymore since we've been using
6895 `ruby-parse-region' here.
6896
6897 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6898
6899 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6900
6901 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6902
6903 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6904
6905 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6906
6907 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6908 (desktop-restore-in-current-display): New customization option.
6909 (desktop--excluded-frame-parameters): Add `font'.
6910 (desktop--save-frames): Rename from desktop--save-windows.
6911 (desktop--restore-in-this-display-p): New function.
6912 (desktop--make-full-frame): Remove unwanted width/height from
6913 full(width|height) frames.
6914 (desktop--restore-frames): Rename from desktop--restore-windows.
6915 Obey desktop-restore-current-display. Do not delete old frames or
6916 select a new frame unless we were able to restore at least one frame.
6917
6918 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6919
6920 * files.el (find-file-noselect): Simplify conditional expression.
6921
6922 * remember.el (remember-append-to-file):
6923 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6924
6925 Add `remember-notes' function to store random notes across Emacs
6926 restarts.
6927 * remember.el (remember-data-file): Add :set callback to affect
6928 notes buffer (if any).
6929 (remember-notes): New command.
6930 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6931 New defcustoms for the `remember-notes' function.
6932 (remember-notes-save-and-bury-buffer): New command.
6933 (remember-notes-mode-map): New variable.
6934 (remember-mode): New minor mode.
6935 (remember-notes--kill-buffer-query): New function.
6936 * startup.el (initial-buffer-choice): Add notes to custom type.
6937
6938 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6939
6940 * bindings.el (right-char, left-char): Don't call sit-for, this is
6941 no longer needed. Use arithmetic comparison only for numerical
6942 arguments.
6943
6944 * international/mule-cmds.el (select-safe-coding-system):
6945 Handle the case of FROM being a string correctly. (Bug#14755)
6946
6947 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6948
6949 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6950 progression on degenerate tables.
6951 (shr-rescale-image): ImageMagick animated images currently don't work.
6952
6953 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6954
6955 Some fixes and improvements for desktop frame restoration.
6956 It is still experimental and disabled by default.
6957 * desktop.el (desktop--save-windows): Put the selected frame at
6958 the head of the list.
6959 (desktop--make-full-frame): New function.
6960 (desktop--restore-windows): Try to re-select the frame that was
6961 selected upon saving. Do not abort if some frames fail to restore,
6962 just show an error message and continue. Set up maximized frames
6963 so they have default non-maximized dimensions.
6964
6965 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6966
6967 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6968 Don't start heredoc inside a string or comment.
6969
6970 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6971
6972 * bindings.el (visual-order-cursor-movement): New defcustom.
6973 (right-char, left-char): Provide visual-order cursor motion by
6974 calling move-point-visually. Update the doc strings.
6975
6976 2013-06-28 Kenichi Handa <handa@gnu.org>
6977
6978 * international/mule.el (define-coding-system): New coding system
6979 properties :inhibit-null-byte-detection,
6980 :inhibit-iso-escape-detection, and :prefer-utf-8.
6981 (set-buffer-file-coding-system): If :charset-list property of
6982 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6983 appropriate for setting.
6984
6985 * international/mule-cmds.el (select-safe-coding-system):
6986 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6987 multibyte characters, return utf-8 (or one of its siblings).
6988
6989 * international/mule-conf.el (prefer-utf-8): New coding system.
6990 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6991 files.
6992
6993 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6994
6995 * net/shr.el (shr-render-region): New function.
6996
6997 * net/eww.el: Autoload `eww-browse-url'.
6998
6999 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7000
7001 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7002 Adapt to `package-desc-version' being a list.
7003 Use `package--ac-desc-version' to retrieve version from a package
7004 archive element.
7005
7006 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7007
7008 New experimental feature to save&restore window and frame setup.
7009 * desktop.el (desktop-save-windows): New defcustom.
7010 (desktop--saved-states): New var.
7011 (desktop--excluded-frame-parameters): New defconst.
7012 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7013 (desktop--restore-windows, desktop--save-windows): New functions.
7014 (desktop-save): Call `desktop--save-windows'.
7015 (desktop-read): Call `desktop--restore-windows'.
7016
7017 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7018
7019 * net/shr.el (add-face-text-property): Remove compat definition.
7020
7021 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7022
7023 * info.el (Info-try-follow-nearest-node): Move search for footnote
7024 above search for node name to prevent missing a footnote (bug#14717).
7025
7026 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7027
7028 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7029
7030 2013-06-27 Leo Liu <sdl.web@gmail.com>
7031
7032 * net/eww.el (eww-read-bookmarks): Check file size.
7033
7034 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7037 advice--pending if newdef is nil or an autoload (bug#13820).
7038 (advice-mapc): New function.
7039
7040 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7041
7042 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7043 probably.
7044 (eww-mode-map): Add a menu bar.
7045 (eww-add-bookmark): New command.
7046 (eww-bookmark-mode): New mode and commands.
7047 (eww-add-bookmark): Remove newlines from the title.
7048 (eww-bookmark-browse): Don't bug out if it's the only window.
7049
7050 2013-06-26 Glenn Morris <rgm@gnu.org>
7051
7052 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7053 (hfy-size): Handle ttys. (Bug#14668)
7054
7055 * info-xref.el: Update for Texinfo 5 change in *note format.
7056 (info-xref-node-re, info-xref-note-re): New constants.
7057 (info-xref-check-buffer): Use info-xref-note-re.
7058
7059 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7062
7063 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7064 nil terminate the loop (bug#14718).
7065
7066 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067
7068 * net/eww.el: Rework history traversal. When going forward/back,
7069 put these actions into the history, too, so that they can be
7070 replayed.
7071 (eww-render): Move the history reset to the correct buffer.
7072
7073 2013-06-25 Juri Linkov <juri@jurta.org>
7074
7075 * files-x.el (modify-dir-local-variable): Change the header comment
7076 in the file with directory local variables. (Bug#14692)
7077
7078 * files-x.el (read-file-local-variable-value): Add `default'.
7079 (Bug#14710)
7080
7081 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7082
7083 * net/eww.el (eww-make-unique-file-name): Create a unique file
7084 name before saving to entering `y' accidentally asynchronously.
7085
7086 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7087
7088 * net/eww.el (eww-download): New command and keystroke.
7089
7090 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091
7092 * net/eww.el (eww-copy-page-url): Change name of command.
7093
7094 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7095 be more consistent with Info and dired.
7096
7097 * net/eww.el (eww-mode-map): Ditto.
7098
7099 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7102 packages from archives.
7103 (package-archive-contents): Change format; include obsolete packages.
7104 (package-desc): Use `dir' to mark builtin packages.
7105 (package--from-builtin): Set the `dir' field to `builtin'.
7106 (generated-autoload-file, version-control): Declare.
7107 (package-compute-transaction): Change first arg and return value to be
7108 lists of package-descs. Adjust to new package-archive-contents format.
7109 (package--add-to-archive-contents): Adjust to new
7110 package-archive-contents format.
7111 (package-download-transaction): Arg is now a list of package-descs.
7112 (package-install): If `pkg' is a package name, pass it as
7113 a requirement, so it is subject to the usual (e.g. disabled) checks.
7114 (describe-package): Accept package-desc as well.
7115 (describe-package-1): Describe a specific package-desc. Add links to
7116 other package-descs for the same package name.
7117 (package-menu-describe-package): Pass the actual package-desc.
7118 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7119 works correctly.
7120 (package-desc-status): New function.
7121 (package-menu--refresh): New function, extracted
7122 from package-menu--generate.
7123 (package-menu--generate): Use it.
7124 (package-delete): Update package-alist.
7125 (package-menu-execute): Don't call package-initialize.
7126
7127 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7128 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7129 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7130 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7131 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7132 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7133
7134 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7135
7136 * window.el (window--state-get-1): Workaround for bug#14527.
7137 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7138
7139 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7140
7141 * net/eww.el (eww-back-url): Implement the history by stashing all
7142 the data into a list.
7143 (eww-forward-url): Allow going forward in the history, too.
7144
7145 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7148 for values and use read--expression for expressions (bug#14710).
7149 (read-file-local-variable): Avoid setq.
7150 (read-file-local-variable-mode): Use minor-mode-list.
7151
7152 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7153
7154 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7155 for DOI URLs.
7156
7157 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7158
7159 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7160 Update imenu-support when dialect changes.
7161
7162 2013-06-25 Leo Liu <sdl.web@gmail.com>
7163
7164 * ido.el (ido-read-internal): Allow forward slash on windows.
7165
7166 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7167
7168 * net/eww.el (eww): Start of strings is \\`, not ^.
7169
7170 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7171
7172 * net/shr.el (shr-browse-url): Fix interactive spec.
7173
7174 * net/eww.el (eww): Add a trailing slash to domain names.
7175
7176 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7179
7180 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7181
7182 * net/shr.el (shr-browse-url): Use an external browser if given a
7183 prefix.
7184
7185 * net/eww.el (eww-external-browser): Move to shr.
7186
7187 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7188
7189 * net/eww.el (eww): Work more correctly for file: URLs.
7190 (eww-detect-charset): Allow quoted charsets.
7191 (eww-yank-page-url): New command and keystroke.
7192
7193 2013-06-24 Daiki Ueno <ueno@gnu.org>
7194
7195 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7196 file name of gpg executable.
7197 (epg-context-program): New function.
7198 (epg-context-home-directory): New function.
7199 (epg-context-set-program): New function.
7200 (epg-context-set-home-directory): New function.
7201 (epg--start): Use `epg-context-program' instead of
7202 'epg-gpg-program'.
7203 (epg--list-keys-1): Likewise.
7204
7205 2013-06-24 Leo Liu <sdl.web@gmail.com>
7206
7207 * ido.el (ido-read-internal): Fix bug#14620.
7208
7209 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7210
7211 * faces.el (face-documentation): Simplify.
7212 (read-face-attribute, tty-find-type, x-resolve-font-name):
7213 Use `string-match-p'.
7214 (list-faces-display): Use `string-match-p'. Simplify.
7215 (face-spec-recalc): Check face to avoid face alias loops.
7216 (read-color): Use `string-match-p' and non-capturing parenthesis.
7217
7218 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7219
7220 * net/shr.el (shr-rescale-image): Use the new
7221 :max-width/:max-height functionality.
7222
7223 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7224
7225 * net/eww.el (eww-search-prefix): New variable.
7226 (eww): Use it.
7227 (eww-external-browser): New variable.
7228 (eww-mode-map): New keystroke.
7229 (eww-browse-with-external-browser): New command.
7230
7231 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7232
7233 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7234
7235 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7236 Don't skip aligning the next header field when padding is 0;
7237 otherwise, field width is not respected unless the title is as
7238 wide as the field.
7239
7240 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * emacs-lisp/package.el (package-el-version): Remove.
7243 (package-process-define-package): Fix inf-loop.
7244 (package-install): Allow symbols as arguments again.
7245
7246 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7247
7248 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7249 add some more keyword-like methods.
7250 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7251
7252 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * bs.el (bs-buffer-show-mark): Make defvar-local.
7255 (bs-mode): Use setq-local.
7256
7257 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7258 (emacs-lock--try-unlocking): Make defvar-local.
7259
7260 2013-06-22 Glenn Morris <rgm@gnu.org>
7261
7262 * play/cookie1.el (cookie-apropos): Minor simplification.
7263
7264 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7265
7266 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7267
7268 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7269 `regexp-opt', it breaks the build during dumping.
7270
7271 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7272
7273 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7274 Highlight keyword-like methods on Kernel and Module with
7275 font-lock-builtin-face.
7276 (auto-mode-alist): Consolidate different entries into one regexp
7277 and add more *file-s.
7278
7279 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7280
7281 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7282
7283 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7284 (diary-entry): Use it in the action of this button type instead of
7285 diary-goto-entry.
7286
7287 * calendar/todo-mode.el: New version.
7288 (todo-add-category): Append new category to end of file and give
7289 it the highest number, instead of putting it at the beginning and
7290 giving it 0. Incorporate noninteractive functionality.
7291 (todo-forward-category): Adapt to 1-based category numbering.
7292 Allow skipping over archived categories.
7293 (todo-backward-category): Derive from todo-forward-category.
7294 (todo-backward-item, todo-forward-item): Make noninteractive and
7295 delegate interactive part to new commands. Make sensitive to done items.
7296 (todo-categories): Make value an alist of category names and
7297 vectors of item counts.
7298 (todo-category-beg): Make a defconst.
7299 (todo-category-number): Use 1 instead of 0 as initial value.
7300 (todo-category-select): Make sensitive to overlays, optional item
7301 highlighting and done items.
7302 (todo-delete-item): Make sensitive to overlays and marked and done items.
7303 (todo-edit-item): Make sensitive to overlays and editing of
7304 date/time header optional. Add format checks.
7305 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7306 no-op if point is not on an item. Advertise using todo-edit-quit.
7307 (todo-edit-mode): Make sensitive to new format, font-locking, and
7308 multiple todo files.
7309 (todo-insert-item, todo-insert-item-here): Derive from
7310 todo-basic-insert-item and extend functionality.
7311 (todo-item-end, todo-item-start): Make sensitive to done items.
7312 (todo-item-string): Don't return text properties. Restore point.
7313 (todo-jump-to-category): Make sensitive to multiple todo files and
7314 todo archives. Use extended category completion.
7315 (todo-lower-item, todo-raise-item): Rename to *-priority and
7316 derive from todo-set-item-priority.
7317 (todo-mode): Derive from special-mode. Make sensitive to new
7318 format, font-locking and multiple todo files. Make read-only.
7319 (todo-mode-map): Don't suppress digit keys, so they can supply
7320 prefix arguments. Add many new key bindings.
7321 (todo-prefix): Insert as an overlay instead of file text.
7322 Change semantics from diary date expression to purely visual mark.
7323 (todo-print): Rename to todo-print-buffer. Make buffer display
7324 features printable. Remove option to restrict number of items
7325 printed. Add option to print to file.
7326 (todo-print-function): Rename to todo-print-buffer-function.
7327 (todo-quit): Extend to handle exiting new todo modes.
7328 (todo-remove-item): Make sensitive to overlays.
7329 (todo-save): Extend to buffers of filtered items.
7330 (todo-show): Make sensitive to done items, multiple todo files and
7331 new todo modes. Offer to convert legacy todo file before creating
7332 first new todo file.
7333 (todo-show-priorities): Rename to todo-top-priorities.
7334 Change semantics of value 0.
7335 (todo-top-priorities): Rename to todo-filter-top-priorities,
7336 derive from todo-filter-items and extend functionality.
7337 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7338 and extend functionality to other types of filtered items.
7339 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7340 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7341 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7342 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7343 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7344 (todo-edit-mode-hook, todo-entry-prefix-function)
7345 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7346 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7347 (todo-initials, todo-insert-threshold, todo-item-string-start)
7348 (todo-line-string, todo-menu, todo-mode-hook)
7349 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7350 (todo-print-priorities, todo-remove-separator)
7351 (todo-save-top-priorities-too, todo-string-count-lines)
7352 (todo-string-multiline-p, todo-time-string-format)
7353 (todo-tmp-buffer-name): Remove.
7354 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7355 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7356 (todo-edit-category-diary-inclusion)
7357 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7358 (todo-edit-file, todo-edit-item-date-day)
7359 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7360 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7361 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7362 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7363 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7364 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7365 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7366 (todo-filter-top-priorities-multifile, todo-find-archive)
7367 (todo-find-filtered-items-file, todo-go-to-source-item)
7368 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7369 (todo-jump-to-archive-category, todo-lower-category)
7370 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7371 (todo-move-category, todo-move-item, todo-next-button)
7372 (todo-next-item, todo-padded-string, todo-powerset)
7373 (todo-previous-button, todo-previous-item)
7374 (todo-print-buffer-to-file, todo-raise-category)
7375 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7376 (todo-set-category-number, todo-set-item-priority)
7377 (todo-set-top-priorities-in-category)
7378 (todo-set-top-priorities-in-file, todo-show-categories-table)
7379 (todo-sort-categories-alphabetically-or-numerically)
7380 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7381 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7382 (todo-toggle-item-header, todo-toggle-item-highlighting)
7383 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7384 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7385 (todo-unarchive-items, todo-unmark-category): New commands.
7386 (todo-absolute-file-name, todo-add-to-buffer-list)
7387 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7388 (todo-basic-insert-item, todo-category-completions)
7389 (todo-category-number, todo-category-string-matcher-1)
7390 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7391 (todo-check-format, todo-clear-matches)
7392 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7393 (todo-current-category, todo-date-string-matcher)
7394 (todo-define-insertion-command, todo-diary-expired-matcher)
7395 (todo-diary-goto-entry, todo-diary-item-p)
7396 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7397 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7398 (todo-done-item-section-p, todo-done-separator)
7399 (todo-done-string-matcher, todo-files, todo-filter-items)
7400 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7401 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7402 (todo-insert-category-line, todo-insert-item-from-calendar)
7403 (todo-insert-sort-button, todo-insert-with-overlays)
7404 (todo-insertion-command-name, todo-insertion-key-bindings)
7405 (todo-label-to-key, todo-longest-category-name-length)
7406 (todo-make-categories-list, todo-mode-external-set)
7407 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7408 (todo-modes-set-3, todo-multiple-filter-files)
7409 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7410 (todo-read-category, todo-read-date, todo-read-dayname)
7411 (todo-read-file-name, todo-read-time)
7412 (todo-reevaluate-category-completions-files-defcustom)
7413 (todo-reevaluate-default-file-defcustom)
7414 (todo-reevaluate-filelist-defcustoms)
7415 (todo-reevaluate-filter-files-defcustom)
7416 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7417 (todo-reset-done-separator, todo-reset-done-separator-string)
7418 (todo-reset-done-string, todo-reset-global-current-todo-file)
7419 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7420 (todo-reset-prefix, todo-set-categories)
7421 (todo-set-date-from-calendar, todo-set-show-current-file)
7422 (todo-set-top-priorities, todo-short-file-name)
7423 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7424 (todo-total-item-counts, todo-update-buffer-list)
7425 (todo-update-categories-display, todo-update-categories-sexp)
7426 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7427 New functions.
7428 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7429 New major modes.
7430 (todo-categories, todo-display, todo-edit, todo-faces)
7431 (todo-filtered): New defgroups.
7432 (todo-archived-only, todo-button, todo-category-string, todo-date)
7433 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7434 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7435 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7436 (todo-add-item-if-new-category, todo-always-add-time-string)
7437 (todo-categories-align, todo-categories-archived-label)
7438 (todo-categories-category-label, todo-categories-diary-label)
7439 (todo-categories-done-label, todo-categories-number-separator)
7440 (todo-categories-todo-label, todo-categories-totals-label)
7441 (todo-category-completions-files, todo-completion-ignore-case)
7442 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7443 (todo-done-separator-string, todo-done-string)
7444 (todo-files-function, todo-filter-done-items, todo-filter-files)
7445 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7446 (todo-initial-category, todo-initial-file, todo-item-mark)
7447 (todo-legacy-date-time-regexp, todo-mode-line-function)
7448 (todo-nondiary-marker, todo-number-prefix)
7449 (todo-print-buffer-function, todo-show-current-file)
7450 (todo-show-done-only, todo-show-first, todo-show-with-done)
7451 (todo-skip-archived-categories, todo-top-priorities-overrides)
7452 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7453 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7454 New defcustoms.
7455 (todo-category-done, todo-date-pattern, todo-date-string-start)
7456 (todo-diary-items-buffer, todo-done-string-start)
7457 (todo-filtered-items-buffer, todo-item-start)
7458 (todo-month-abbrev-array, todo-month-name-array)
7459 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7460 (todo-top-priorities-buffer): New defconsts.
7461 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7462 (todo-categories-with-marks, todo-category-string-face)
7463 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7464 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7465 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7466 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7467 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7468 (todo-font-lock-keywords, todo-global-current-todo-file)
7469 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7470 (todo-insertion-commands-args)
7471 (todo-insertion-commands-args-genlist)
7472 (todo-insertion-commands-names, todo-insertion-map)
7473 (todo-key-bindings-t, todo-key-bindings-t+a)
7474 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7475 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7476 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7477 (todo-visited): New variables.
7478
7479 2013-06-21 Glenn Morris <rgm@gnu.org>
7480
7481 * play/cookie1.el (cookie-apropos): Add optional display argument.
7482 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7483 (psychoanalyze-pinhead): Use cookie-doctor.
7484
7485 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * emacs-lisp/package.el (tar-get-file-descriptor)
7488 (tar--extract): Declare.
7489
7490 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7491
7492 Extend flymake's warning predicate to be a function (bug#14217).
7493 * progmodes/flymake.el (flymake-warning-predicate): New.
7494 (flymake-parse-line): Use it.
7495 (flymake-warning-re): Make obsolete alias to
7496 `flymake-warning-predicate'.
7497
7498 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7501 (package-obsolete-list): Remove.
7502 (package-activate): Remove min-version argument. Add `force' argument.
7503 Adjust to new package-alist format.
7504 (package-mark-obsolete): Remove.
7505 (package-unpack): Force reload of the package's autoloads.
7506 (package-installed-p): Check builtins if the installed package is not
7507 recent enough.
7508 (package-initialize): Don't reset package-obsolete-list.
7509 Don't specify which package version to activate.
7510 (package-process-define-package, describe-package-1)
7511 (package-menu--generate): Adjust to new package-alist format.
7512
7513 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7514
7515 * allout-widgets.el (allout-widgets-mode-off)
7516 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7517 (allout-widgets-post-command-business)
7518 (allout-widgets-after-copy-or-kill-function)
7519 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7520 (allout-decorate-item-and-context)
7521 (allout-graphics-modification-handler): Fix typos in docstrings.
7522 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7523
7524 * cmuscheme.el (scheme-start-file): Doc fix.
7525 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7526 (scheme-input-filter): Use `string-match-p'.
7527
7528 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7529
7530 * dired-x.el: Use Dired consistently in docstrings.
7531
7532 * dired.el: Use Dired consistently in docstrings.
7533 (dired-readin, dired-mode): Use `setq-local'.
7534 (dired-switches-alist): Make defvar-local.
7535 (dired-buffers-for-dir): Use `zerop'.
7536 (dired-safe-switches-p, dired-switches-escape-p)
7537 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7538 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7539 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7540 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7541 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7542 (dired-toggle-marks, dired-mark-files-containing-regexp)
7543 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7544 (dired-flag-auto-save-files, dired-flag-backup-files):
7545 Use `looking-at-p'.
7546 (dired-mark-files-regexp, dired-build-subdir-alist):
7547 Use `string-match-p', `looking-at-p'.
7548
7549 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7550 (direct-print-region-helper): Use `string-match-p'.
7551
7552 2013-06-21 Leo Liu <sdl.web@gmail.com>
7553
7554 * comint.el (comint-redirect-results-list-from-process):
7555 Fix infinite loop.
7556
7557 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * net/eww.el (eww-update-header-line-format): Quote % characters.
7560
7561 2013-06-21 Glenn Morris <rgm@gnu.org>
7562
7563 * play/cookie1.el (cookie): New custom group.
7564 (cookie-file): New option.
7565 (cookie-check-file): New function.
7566 (cookie): Make it interactive. Make start and end messages optional.
7567 Interactively, display the result. Default to cookie-file.
7568 (cookie-insert): Default to cookie-file.
7569 (cookie-snarf): Make start and end messages optional.
7570 Default to cookie-file. Use with-temp-buffer.
7571 (cookie-read): Rename from read-cookie.
7572 Make start and end messages optional. Default to cookie-file.
7573 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7574 Do not autoload it.
7575 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7576 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7577
7578 2013-06-21 Leo Liu <sdl.web@gmail.com>
7579
7580 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7581
7582 2013-06-21 Glenn Morris <rgm@gnu.org>
7583
7584 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7585
7586 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7587 Daniel Hackney <dan@haxney.org>
7588
7589 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7590 Consolidate the single-file vs tarball code.
7591 (package-desc-suffix): New function.
7592 (package-desc-full-name): Don't bother inlining it.
7593 (package-load-descriptor): Return the new package-desc.
7594 (package-mark-obsolete): Remove unused arg `package'.
7595 (package-unpack): Make it work for single files as well.
7596 Make it update package-alist.
7597 (package--make-autoloads-and-stuff): Rename from
7598 package--make-autoloads-and-compile. Don't compile any more.
7599 (package--compile): New function.
7600 (package-generate-description-file): New function, extracted from
7601 package-unpack-single.
7602 (package-unpack-single): Remove.
7603 (package--with-work-buffer): Add indentation and debugging info.
7604 (package-download-single): Remove.
7605 (package-install-from-archive): Rename from package-download-tar, make
7606 it take a pkg-desc, and make it work for single files as well.
7607 (package-download-transaction): Simplify.
7608 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7609 external tar program.
7610 (package-install-from-buffer): Remove `pkg-desc' argument.
7611 Use package-tar-file-info for tar-mode buffers.
7612 (package-install-file): Simplify accordingly.
7613 (package-archive-base): Change to take a pkg-desc.
7614 * tar-mode.el (tar--check-descriptor): New function, extracted from
7615 tar-get-descriptor.
7616 (tar-get-descriptor): Use it.
7617 (tar-get-file-descriptor): New function.
7618 (tar--extract): New function, extracted from tar-extract.
7619 (tar--extract): Use it.
7620 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7621 case the summary uses non-ascii. Adjust to new calling convention of
7622 package-tar-file-info.
7623
7624 2013-06-21 Leo Liu <sdl.web@gmail.com>
7625
7626 * comint.el (comint-redirect-results-list-from-process):
7627 Fix random delay. (Bug#14681)
7628
7629 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * profiler.el (profiler-format-number): Use log, not log10.
7632
7633 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7636
7637 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7640 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7641 yet available.
7642 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7643 (AUTOGENEL): ... here.
7644 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7645 (cl--defsubst-expand): Use it.
7646
7647 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7648
7649 * subr.el (log10): Move here from C code, and declare as obsolete.
7650 All uses of (log10 X) replaced with (log X 10).
7651
7652 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7655 Declare with `defvar-local'.
7656 (tabulated-list-use-header-line, tabulated-list-entries)
7657 (tabulated-list-padding, tabulated-list-printer)
7658 (tabulated-list-sort-key): Declare with `defvar-local'.
7659 (tabulated-list-init-header, tabulated-list-print-fake-header):
7660 Use `setq-local'.
7661
7662 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7663
7664 * arc-mode.el (archive-mode): Add `archive-write-file' to
7665 `write-contents-functions' also for remote files. (Bug#14652)
7666
7667 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7668
7669 * cus-edit.el (custom-commands): Fix typos.
7670 (custom-display): Fix tooltip text.
7671 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7672 Fix typos in docstrings.
7673 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7674 (custom-unlispify-menu-entry, custom-magic-value-create)
7675 (custom-add-see-also, custom-group-value-create): Use ?\s.
7676 (custom-guess-type, customize-apropos, editable-field)
7677 (custom-face-value-create): Use `string-match-p'.
7678 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7679
7680 * custom.el (custom-load-symbol): Use `string-match-p'.
7681
7682 * ansi-color.el: Convert to lexical binding.
7683 (ansi-colors): Fix URL.
7684 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7685 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7686 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7687
7688 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7689
7690 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7691
7692 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7693
7694 2013-06-19 Tom Tromey <tromey@redhat.com>
7695
7696 * net/eww.el (eww-top-url): Remove.
7697 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7698 (eww-render): Set new variables. Don't set eww-top-url.
7699 (eww-handle-link): Handle "prev", "home", and "contents".
7700 Downcase the rel text.
7701 (eww-top-url): Choose best top URL.
7702
7703 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7704
7705 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7706 relying in widget.el. Using widget.el leads to too many
7707 user interface inconsistencies.
7708 (eww-self-insert): Implement entering commands in text fields.
7709 (eww-process-text-input): New function to make text input field editing
7710 work.
7711 (eww-submit): Rewrite to use the new-style form methods.
7712 (eww-select-display): Display the correct selected item.
7713 (eww-change-select): Implement changing the select value.
7714 (eww-toggle-checkbox): Implement radio/checkboxes.
7715 (eww-update-field): Fix compilation error.
7716 (eww-tag-textarea): Implement <textarea>.
7717
7718 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7719 we don't shadow mode-specific bindings.
7720
7721 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7722 nothing to push.
7723
7724 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7725
7726 2013-06-19 Glenn Morris <rgm@gnu.org>
7727
7728 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7729
7730 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7733 not needed.
7734
7735 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7736
7737 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7738
7739 * net/browse-url.el (browse-url-browser-function):
7740 `eww-browse-url' has the right calling signature, `eww' does not.
7741
7742 2013-06-19 Glenn Morris <rgm@gnu.org>
7743
7744 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7745 Only eval autoloaded macros.
7746 (byte-compile-autoload): Only give the macro warning for macros.
7747
7748 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7749 (ps-underlined-faces): Declare.
7750
7751 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7752 (speedbar-add-supported-extension): Declare.
7753
7754 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7755 Don't include a date stamp in the header of the generated file;
7756 it leads to needless differences between output files.
7757
7758 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7759
7760 * net/secrets.el (secrets-struct-secret-content-type):
7761 Replace check of introspection data by a test call of "CreateItem".
7762 Some servers do not offer introspection.
7763
7764 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * electric.el (electric-pair-mode): Improve interaction with
7767 electric-layout-mode.
7768 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7769 (electric-pair-syntax): Use text-mode-syntax-table in comments
7770 and strings.
7771 (electric-pair--insert): New function.
7772 (electric-pair-post-self-insert-function): Use it and
7773 electric--after-char-pos.
7774
7775 2013-06-19 Leo Liu <sdl.web@gmail.com>
7776
7777 * progmodes/octave.el (octave-help): Fix regexp.
7778
7779 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7780
7781 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7782 (shr-table-horizontal-line): Allow nil as a value, and change the
7783 default.
7784 (shr-insert-table-ruler): Respect the nil value.
7785
7786 2013-06-18 Tom Tromey <tromey@barimba>
7787
7788 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7789 New defvars.
7790 (eww-open-file): New defun.
7791 (eww-render): Initialize new variables.
7792 (eww-display-html): Handle "link" and "a".
7793 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7794 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7795 (eww-back-url): Rename from eww-previous-url.
7796 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7797 New defuns.
7798
7799 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7800
7801 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7802 Distinguish ternary operator tokens from slash symbol and slash
7803 char literal.
7804
7805 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7806
7807 Convert symbol prettification into minor mode and global minor mode.
7808
7809 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7810 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7811 (prettify-symbols--keywords): Rename from
7812 `prog-prettify-symbols-alist' and make a local defvar.
7813 (prettify-symbols--compose-symbol): Rename from
7814 `prog--prettify-font-lock-compose-symbol'.
7815 (prettify-symbols--make-keywords): Rename from
7816 `prog-prettify-font-lock-symbols-keywords' and simplify.
7817 (prog-prettify-install): Remove.
7818 (prettify-symbols-mode): New minor mode, based on
7819 `prog-prettify-install'.
7820 (turn-on-prettify-symbols-mode): New function.
7821 (global-prettify-symbols-mode): New globalized minor mode.
7822
7823 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7824 * progmodes/cfengine.el (cfengine3-mode):
7825 * progmodes/perl-mode.el (perl-mode): Don't call
7826 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7827
7828 2013-06-18 Juri Linkov <juri@jurta.org>
7829
7830 * files-x.el (modify-file-local-variable-message): New function.
7831 (modify-file-local-variable)
7832 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7833 and call `modify-file-local-variable-message' when it's non-nil.
7834 (add-file-local-variable, delete-file-local-variable)
7835 (add-file-local-variable-prop-line)
7836 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7837 and use it. (Bug#9820)
7838
7839 2013-06-18 Juri Linkov <juri@jurta.org>
7840
7841 * emulation/vi.el (vi-shell-op):
7842 * emulation/vip.el (vip-execute-com, ex-command):
7843 * emulation/viper-cmd.el (viper-exec-bang):
7844 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7845 the call of `shell-command-on-region'. (Bug#14637)
7846
7847 * simple.el (shell-command-on-region): Doc fix.
7848
7849 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7852 (bug#14633).
7853
7854 2013-06-18 Glenn Morris <rgm@gnu.org>
7855
7856 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7857
7858 * newcomment.el (comment-search-forward, comment-search-backward):
7859 Doc fix. (Bug#14376)
7860
7861 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7864 (buffer-face-mode-invoke): Doc fix.
7865
7866 2013-06-18 Matthias Meulien <orontee@gmail.com>
7867
7868 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7869 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7870
7871 2013-06-18 Glenn Morris <rgm@gnu.org>
7872
7873 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7874 Replace obsolete function generic-make-keywords with its expansion.
7875
7876 * progmodes/python.el (ffap-alist): Declare.
7877
7878 * textmodes/reftex.el (bibtex-mode-map): Declare.
7879
7880 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7883 (package-unpack, package-unpack-single): Return the pkg-dir.
7884 (package-download-transaction): Use it to update package-alist.
7885
7886 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7887
7888 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7889 possible choice.
7890
7891 2013-06-17 Juri Linkov <juri@jurta.org>
7892
7893 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7894
7895 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7896
7897 * emacs-lisp/package.el (package-load-descriptor):
7898 Remove `with-syntax-table' call, `read' doesn't need it.
7899 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7900
7901 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7902
7903 * startup.el (command-line): Expand package name returned by
7904 `package--description-file' (bug#14639).
7905
7906 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7907
7908 * emacs-lisp/package.el (package-load-descriptor): Do not call
7909 `emacs-lisp-mode', just use its syntax table.
7910
7911 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7914 `font-lock-extra-managed-props' if any prettifying keyword is added.
7915 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7916 (prog-mode): Use `setq-local'.
7917
7918 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * international/characters.el (standard-case-table): Set syntax of ?»
7921 and ?« to punctuation.
7922
7923 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7924
7925 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7926 Save relevant match data before calling `syntax-ppss' (bug#14595).
7927
7928 2013-06-15 Juri Linkov <juri@jurta.org>
7929
7930 * files-x.el (modify-file-local-variable-prop-line): Add local
7931 variables to the end of the existing comment on the first line.
7932 Use `file-auto-mode-skip' to skip interpreter magic line,
7933 and also skip XML declaration.
7934
7935 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * startup.el (package--builtin-versions): New var.
7938 (package-subdirectory-regexp): Remove.
7939 (package--description-file): Hard code its value instead.
7940
7941 * emacs-lisp/package.el: Don't activate packages older than builtin.
7942 (package-obsolete-list): Rename from package-obsolete-alist, and make
7943 it into a simple list of package-desc.
7944 (package-strip-version): Remove.
7945 (package-built-in-p): Use package--builtin-versions.
7946 (package-mark-obsolete): Simplify.
7947 (package-process-define-package): Mark it obsolete if older than the
7948 builtin version.
7949 (package-handle-response): Use line-end-position.
7950 (package-read-archive-contents, package--download-one-archive):
7951 Simplify.
7952 (package--add-to-archive-contents): Skip if older than the builtin or
7953 installed version.
7954 (package-menu-describe-package): Fix last change.
7955 (package-list-unversioned): New var.
7956 (package-menu--generate): Use it.
7957
7958 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7959 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7960 (autoload-builtin-package-versions): New variable.
7961 (autoload-generate-file-autoloads): Use them.
7962 Remove the list of autoloaded functions/macros from the
7963 (autoload...) comments.
7964
7965 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7966
7967 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7968
7969 * simple.el (line-move-partial): Don't jump to the next screen
7970 line as soon as it becomes visible. Instead, continue enlarging
7971 the vscroll until the portion of a tall screen line that's left on
7972 display is about the height of the frame's default font.
7973 (Bug#14567)
7974
7975 2013-06-15 Glenn Morris <rgm@gnu.org>
7976
7977 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7978 compilation-error-regexp-alist void, or local while let-bound.
7979
7980 * progmodes/make-mode.el (makefile-mode-syntax-table):
7981 Treat "=" as punctuation. (Bug#14614)
7982
7983 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7984
7985 * help-fns.el (describe-variable):
7986 Add extra line for permanent-local variables.
7987
7988 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7989
7990 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7991 Add export, import, library. (Bug#9164)
7992 (library): Set indent function.
7993
7994 2013-06-14 Glenn Morris <rgm@gnu.org>
7995
7996 * term/xterm.el (xterm--query):
7997 Stop after first matching handler. (Bug#14615)
7998
7999 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8000
8001 Add support for dired in saveplace.
8002 * dired.el (dired-initial-position-hook): New variable.
8003 (dired-initial-position): Call hook to place cursor position.
8004 * saveplace.el (save-place-to-alist): Add dired position.
8005 (save-place-dired-hook): New function.
8006
8007 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8010 through a symbol rather than letrec.
8011
8012 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8013 (package-desc): Add `dir' field.
8014 (package-desc-full-name): New function.
8015 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8016 (package-maybe-load-descriptor): Remove.
8017 (package-load-all-descriptors): Just call package-load-descriptor.
8018 (package--disabled-p): New function.
8019 (package-desc-vers, package-desc-doc): Remove aliases.
8020 (package--dir): Remove function.
8021 (package-activate): Check if a package is disabled.
8022 (package-process-define-package): New function, extracted from
8023 define-package.
8024 (define-package): Turn into a place holder.
8025 (package-unpack-single, package-tar-file-info):
8026 Use package--description-file.
8027 (package-compute-transaction): Use package--disabled-p.
8028 (package-download-transaction): Don't call
8029 package-maybe-load-descriptor since they're all loaded anyway.
8030 (package-install): Change argument to be a pkg-desc.
8031 (package-delete): Use a single pkg-desc argument.
8032 (describe-package-1): Use package-desc-dir instead of package--dir.
8033 Use package-desc property instead of package-symbol.
8034 (package-install-button-action): Adjust accordingly.
8035 (package--push): Rewrite.
8036 (package-menu--print-info): Adjust accordingly. Change the ID format
8037 to be a pkg-desc.
8038 (package-menu-describe-package, package-menu-get-status)
8039 (package-menu--find-upgrades, package-menu-mark-upgrades)
8040 (package-menu-execute, package-menu--name-predicate):
8041 Adjust accordingly.
8042 * startup.el (package--description-file): New function.
8043 (command-line): Use it.
8044 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8045 Use package-desc-version.
8046
8047 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8048 (byte-compile-preprocess): Use it.
8049 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8050 can't quite recognize.
8051 (byte-compile-add-to-list): Remove.
8052 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8053 (cconv-closure-convert): Add assertion.
8054
8055 * emacs-lisp/map-ynp.el: Use lexical-binding.
8056 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8057 Factor out some repeated code.
8058
8059 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * subr.el (with-eval-after-load): New macro.
8062 (eval-after-load): Allow form to be a function.
8063 take advantage of lexical-binding.
8064 (do-after-load-evaluation): Use dolist and adjust to new format.
8065 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8066
8067 2013-06-13 Juri Linkov <juri@jurta.org>
8068
8069 * replace.el (perform-replace): Display "symbol " and other search
8070 modes from `isearch-message-prefix' in the *Help* buffer.
8071
8072 * isearch.el (isearch-query-replace): Add " symbol" and other
8073 possible search modes from `isearch-message-prefix' to the prompt.
8074 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8075 when reading a regexp to collect.
8076
8077 2013-06-13 Juri Linkov <juri@jurta.org>
8078
8079 * isearch.el (word-search-regexp): Match whitespace if the search
8080 string begins or ends in whitespace. The LAX arg is applied to
8081 both ends of the search string. Use `regexp-quote' and explicit
8082 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8083 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8084 boundaries are replaced with symbol boundaries, and characters
8085 between symbols match non-word non-symbol syntax. (Bug#14602)
8086
8087 2013-06-13 Juri Linkov <juri@jurta.org>
8088
8089 * isearch.el (isearch-del-char): Don't exceed the length of
8090 `isearch-string' by the prefix arg. (Bug#14563)
8091
8092 2013-06-13 Juri Linkov <juri@jurta.org>
8093
8094 * isearch.el (isearch-yank-word, isearch-yank-line)
8095 (isearch-char-by-name, isearch-quote-char)
8096 (isearch-printing-char, isearch-process-search-char):
8097 Add optional count prefix arg. (Bug#14563)
8098
8099 * international/isearch-x.el
8100 (isearch-process-search-multibyte-characters):
8101 Add optional count prefix arg.
8102
8103 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8106 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8107 lexical-binding.
8108
8109 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8110
8111 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8112
8113 2013-06-13 Glenn Morris <rgm@gnu.org>
8114
8115 * startup.el (tty-handle-args):
8116 Don't just discard "--" and anything after. (Bug#14608)
8117
8118 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8119
8120 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8121
8122 Implement changes in Secret Service API. Make it backward compatible.
8123 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8124 (secrets-create-item): Use it. Prefix properties with interface.
8125
8126 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8127
8128 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8129 (term-emulate-terminal): Respect term-suppress-hard-newline.
8130
8131 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8132
8133 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8134 Only remove a `thumb-file' overlay. (Bug#14548)
8135
8136 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8137
8138 * mail/reporter.el (reporter-submit-bug-report):
8139 Handle missing package-name. (Bug#14600)
8140
8141 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8142
8143 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8144 (reftex-citation-prompt, reftex-default-bibliography)
8145 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8146 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8147 (reftex-bib-sort-author, reftex-bib-sort-year)
8148 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8149 (reftex-extract-bib-entries-from-thebibliography)
8150 (reftex-get-bibkey-default, reftex-get-bib-names)
8151 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8152 (reftex-format-bib-entry, reftex-parse-bibitem)
8153 (reftex-format-bibitem, reftex-do-citation)
8154 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8155 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8156 (reftex-insert-bib-matches, reftex-format-citation)
8157 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8158 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8159 existing comments into docstrings.
8160
8161 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8162
8163 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8164
8165 2013-06-12 Andreas Schwab <schwab@suse.de>
8166
8167 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8168 for auto-save files.
8169
8170 2013-06-12 Glenn Morris <rgm@gnu.org>
8171
8172 * ido.el (ido-delete-ignored-files): Remove.
8173 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8174 Go back to calling ido-ignore-item-p directly.
8175
8176 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8177
8178 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8179
8180 * ido.el (ido-delete-ignored-files): New function,
8181 split from ido-make-file-list-1.
8182 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8183 (ido-make-file-list-1): Use ido-delete-ignored-files.
8184
8185 2013-06-12 Leo Liu <sdl.web@gmail.com>
8186
8187 * progmodes/octave.el (inferior-octave-startup)
8188 (inferior-octave-completion-table)
8189 (inferior-octave-track-window-width-change)
8190 (octave-eldoc-function-signatures, octave-help)
8191 (octave-find-definition): Use single quoted strings.
8192 (inferior-octave-startup-args): Change default value.
8193 (inferior-octave-startup): Do not hard code "-i" and
8194 "--no-line-editing".
8195 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8196 (inferior-octave-directory-tracker): Use it.
8197 (octave-goto-function-definition): Robustify.
8198 (octave-help): Support highlighting operators in 'See also'.
8199 (octave-find-definition): Find subfunctions only in Octave mode.
8200
8201 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * help-fns.el (help-fns--compiler-macro): If the handler function is
8204 named, then put a link to it.
8205 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8206 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8207 (cl-typep): Use it.
8208 (cl-eval-when): Simplify debug spec.
8209 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8210 compiler-macro function instead of setting `compiler-macro-file'.
8211
8212 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8213
8214 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8215 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8216
8217 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8218 Daniel Hackney <dan@haxney.org>
8219
8220 First part of Daniel Hackney's patch to package.el.
8221 * emacs-lisp/package.el: Use defstruct.
8222 (package-desc): New, main struct.
8223 (package--bi-desc, package--ac-desc): New structs, used to describe the
8224 format in external files.
8225 (package-desc-vers): Replace with package-desc-version accessor.
8226 (package-desc-doc): Replace with package-desc-summary accessor.
8227 (package-activate-1): Remove `package' arg since the pkg-vec now
8228 includes the name.
8229 (define-package): Use package-desc-from-define.
8230 (package-unpack-single): Change file-name arg to be a symbol.
8231 (package--add-to-archive-contents): Use package-desc-create and new
8232 accessor functions to package--ac-desc.
8233 (package-buffer-info, package-tar-file-info): Return a package-desc.
8234 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8235 arg to be a package-desc.
8236 (package-install-file): Adjust accordingly. Use \' to match EOS.
8237 (package--from-builtin): New function.
8238 (describe-package-1, package-menu--generate): Use it.
8239 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8240 (package-generate-autoloads): Idem and return the name of the file.
8241 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8242 Change pkg-info arg to be a package-desc.
8243 Use package-make-ac-desc.
8244 (package-upload-file): Use \' to match EOS.
8245 * finder.el (finder-compile-keywords): Use package-make-builtin.
8246
8247 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * vc/vc.el (vc-deduce-fileset): Change error message.
8250 (vc-read-backend): New function.
8251 (vc-next-action): Use it.
8252
8253 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8254
8255 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8256 (prolog-font-lock-keywords): Use regexp-opt instead.
8257 Don't manually highlight strings.
8258 (prolog-mode-variables): Simplify comment-start-skip.
8259 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8260
8261 * emacs-lisp/generic.el (generic--normalise-comments)
8262 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8263 (generic-mode-set-comments): Use them.
8264 (generic-bracket-support): Use setq-local.
8265 (generic-make-keywords-list): Declare obsolete.
8266
8267 2013-06-11 Glenn Morris <rgm@gnu.org>
8268
8269 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8270 Prettify after setting font-lock-defaults. (Bug#14574)
8271
8272 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8273
8274 * replace.el (query-replace, occur-read-regexp-defaults-function)
8275 (replace-search):
8276 * subr.el (declare-function, number-sequence, local-set-key)
8277 (substitute-key-definition, locate-user-emacs-file)
8278 (with-silent-modifications, split-string, eval-after-load):
8279 Fix typos, remove unneeded backslashes and reflow some docstrings.
8280
8281 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8284 default for Elisp files.
8285
8286 2013-06-11 Glenn Morris <rgm@gnu.org>
8287
8288 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8289 although define-derived-mode was doing this anyway. (Bug#14583)
8290
8291 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8294 Fix make-variable-buffer-local call to refer to the correct variable.
8295
8296 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8297
8298 * eshell/em-term.el (eshell-visual-commands)
8299 (eshell-visual-subcommands, eshell-visual-options):
8300 Add summary line to docstrings. Add cross-references.
8301
8302 2013-06-10 Glenn Morris <rgm@gnu.org>
8303
8304 * epa.el (epa-read-file-name): New function. (Bug#14510)
8305 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8306
8307 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8308
8309 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8310 output redirection to be ignored with visual commands.
8311
8312 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8313
8314 * eshell/em-term.el (eshell-visual-command-p): New function.
8315 (eshell-term-initialize): Move long lambda to separate function
8316 eshell-visual-command-p.
8317 * eshell/em-dirs.el (eshell-dirs-initialise):
8318 * eshell/em-script.el (eshell-script-initialize):
8319 Add missing #' to lambda.
8320
8321 2013-06-08 Leo Liu <sdl.web@gmail.com>
8322
8323 * progmodes/octave.el (octave-add-log-current-defun): New function.
8324 (octave-mode): Set add-log-current-defun-function.
8325 (octave-goto-function-definition): Do not move point if not found.
8326 (octave-find-definition): Enhance to try subfunctions first.
8327
8328 2013-06-08 Glenn Morris <rgm@gnu.org>
8329
8330 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8331 (byte-compile-backward-char, byte-compile-backward-word):
8332 Improve previous change, to handle non-explicit nil.
8333
8334 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8337 (smie--opener/closer-at-point): New function.
8338 (smie--matching-block-data): Use it. Don't match from right after an
8339 opener or right before a closer. Obey smie-blink-matching-inners.
8340 Don't signal a mismatch for repeated inners like "switch..case..case".
8341
8342 2013-06-07 Leo Liu <sdl.web@gmail.com>
8343
8344 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8345 to t. (Bug#14303)
8346 (octave-function-header-regexp): Fix. (Bug#14570)
8347 (octave-help-mode-finish-hook, octave-help-mode-finish):
8348 Remove. Just use temp-buffer-show-hook.
8349
8350 * newcomment.el (comment-search-backward): Revert last change.
8351 (Bug#14434)
8352
8353 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8354
8355 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8356
8357 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8358 through xargs, to avoid failure due to MS-Windows limitations on
8359 command-line length.
8360
8361 2013-06-06 Glenn Morris <rgm@gnu.org>
8362
8363 * font-lock.el (lisp-font-lock-keywords-2):
8364 Treat user-error like error.
8365
8366 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8367 (byte-compile-backward-char, byte-compile-backward-word):
8368 Handle explicit nil arguments. (Bug#14565)
8369
8370 2013-06-05 Alan Mackenzie <acm@muc.de>
8371
8372 * isearch.el (isearch-allow-prefix): New user option.
8373 (isearch-other-meta-char): Don't exit isearch when a prefix
8374 argument is typed whilst `isearch-allow-prefix' is non-nil.
8375 (Bug#9706)
8376
8377 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * autorevert.el (auto-revert-notify-handler): Use memq.
8380 Hide assertion failure.
8381
8382 * skeleton.el: Use cl-lib.
8383 (skeleton-further-elements): Use defvar-local.
8384 (skeleton-insert): Use cl-progv.
8385
8386 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8387
8388 * progmodes/prog-mode.el (prog-prettify-symbols)
8389 (prog-prettify-install): Update docstrings.
8390
8391 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * simple.el: Move all the prog-mode code to prog-mode.el.
8394 * progmodes/prog-mode.el: New file.
8395 * loadup.el: Add prog-mode.el.
8396
8397 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8398
8399 * simple.el (prog-prettify-symbols): Add version.
8400 (prog-prettify-install): Add convenience function to prettify symbols.
8401
8402 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8403 (perl--augmented-font-lock-keywords-1)
8404 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8405 variables and use it.
8406
8407 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8408 (cfengine3-mode): Remove unneeded variable and use it.
8409
8410 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8411 (lisp--augmented-font-lock-keywords-1)
8412 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8413 Remove unneeded variables and use it.
8414
8415 2013-06-05 João Távora <joaotavora@gmail.com>
8416
8417 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8418 to point when opening the connection. (Bug#14380)
8419
8420 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * subr.el (load-history-regexp, load-history-filename-element)
8423 (eval-after-load, after-load-functions, do-after-load-evaluation)
8424 (eval-next-after-load, display-delayed-warnings)
8425 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8426 definition of save-match-data.
8427 (overriding-local-map): Remove accidental obsolescence declaration.
8428
8429 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8430
8431 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8432
8433 Generalize symbol prettify support to prog-mode and implement it
8434 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8435 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8436 (prog--prettify-font-lock-compose-symbol)
8437 (prog-prettify-font-lock-symbols-keywords): New variables and
8438 functions to support symbol prettification.
8439 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8440 (lisp--augmented-font-lock-keywords-1)
8441 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8442 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8443 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8444 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8445 Implement prettify of -> => :: strings.
8446 * progmodes/perl-mode.el (perl-prettify-symbols)
8447 (perl--font-lock-compose-symbol)
8448 (perl--font-lock-symbols-keywords): Move to prog-mode.
8449 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8450 (perl-font-lock-keywords-1)
8451 (perl-font-lock-keywords-2): Remove explicit prettify support.
8452 (perl--augmented-font-lock-keywords)
8453 (perl--augmented-font-lock-keywords-1)
8454 (perl--augmented-font-lock-keywords-2, perl-mode):
8455 Implement prettify support.
8456
8457 2013-06-05 Leo Liu <sdl.web@gmail.com>
8458
8459 Re-implement smie matching block highlight using
8460 show-paren-data-function. (Bug#14395)
8461 * emacs-lisp/smie.el (smie-matching-block-highlight)
8462 (smie--highlight-matching-block-overlay)
8463 (smie--highlight-matching-block-lastpos)
8464 (smie-highlight-matching-block)
8465 (smie-highlight-matching-block-mode): Remove.
8466 (smie--matching-block-data-cache): New variable.
8467 (smie--matching-block-data): New function.
8468 (smie-setup): Use smie--matching-block-data for
8469 show-paren-data-function.
8470
8471 * progmodes/octave.el (octave-mode-menu): Fix.
8472 (octave-find-definition): Skip garbage lines.
8473
8474 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 Fix compilation error with simultaneous dynamic+lexical scoping.
8477 Add warning when a defvar appears after the first let-binding.
8478 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8479 (byte-compile-close-variables): Initialize it.
8480 (byte-compile--declare-var): New function.
8481 (byte-compile-file-form-defvar)
8482 (byte-compile-file-form-define-abbrev-table)
8483 (byte-compile-file-form-custom-declare-variable): Use it.
8484 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8485 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8486 (byte-compile-bind): Handle dynamic bindings that shadow
8487 lexical bindings.
8488 (byte-compile-unbind): Make arg non-optional.
8489 (byte-compile-let): Simplify.
8490 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8491 (cconv--analyse-function, cconv-analyse-form): Populate it.
8492 Protect byte-compile-bound-variables to limit the scope of defvars.
8493 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8494 Remove unneeded rule for `declare'.
8495
8496 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8497 so as to avoid depending on cl-adjoin at run-time.
8498 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8499
8500 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8501 (macroexp--warn-and-return): Use it.
8502
8503 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * lisp/subr.el: Convert to lexical binding.
8506 (overriding-local-map): Make obsolete.
8507 (add-to-list): Doc fix. Add compiler macro.
8508 (read-key): Swap values of local maps.
8509
8510 2013-06-05 Leo Liu <sdl.web@gmail.com>
8511
8512 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8513
8514 2013-06-04 Leo Liu <sdl.web@gmail.com>
8515
8516 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8517 (compilation-auto-jump): Suppress the "Mark set" message to give
8518 way to exit message.
8519
8520 2013-06-04 Alan Mackenzie <acm@muc.de>
8521
8522 Remove faulty optimisation from indentation calculation.
8523 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8524 search limit based on 2000 characters back from indent-point.
8525
8526 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8527
8528 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8529
8530 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emacs-lisp/lisp.el: Use lexical-binding.
8533 (lisp--local-variables-1, lisp--local-variables): New functions.
8534 (lisp--local-variables-completion-table): New var.
8535 (lisp-completion-at-point): Use it complete let-bound vars.
8536
8537 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8538 eagerly (bug#14422).
8539
8540 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8541
8542 * autorevert.el (auto-revert-notify-enabled)
8543 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8544 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8545 (auto-revert-notify-handler): Handle also gfilenotify.
8546
8547 * subr.el (file-notify-handle-event): New defun. Replacing ...
8548 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8549 Remove.
8550
8551 2013-06-03 Juri Linkov <juri@jurta.org>
8552
8553 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8554 `M-s h .'. (Bug#14427)
8555
8556 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8557 command `hi-lock-face-symbol-at-point'.
8558 (hi-lock-face-symbol-at-point): New command.
8559 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8560 (hi-lock-menu): Add `highlight-symbol-at-point'.
8561 (hi-lock-mode): Doc fix.
8562
8563 * isearch.el (isearch-forward-symbol-at-point): New command.
8564 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8565 (isearch-highlight-regexp): Add a regexp which matches
8566 words/symbols for word/symbol mode.
8567
8568 * subr.el (find-tag-default-bounds): New function with the body
8569 mostly moved from `find-tag-default'.
8570 (find-tag-default): Move most code to `find-tag-default-bounds',
8571 call it and apply `buffer-substring-no-properties' afterwards.
8572
8573 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8574
8575 * eshell/em-term.el (eshell-term-initialize):
8576 Use `cl-intersection' rather than `intersection'.
8577
8578 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8579
8580 * vc/log-view.el: Doc fix.
8581 (log-view-mode-map): Copy keymap from `special-mode-map'.
8582
8583 2013-06-02 Eric Ludlam <zappo@gnu.org>
8584
8585 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8586 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8587 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8588 (eieio-unbound, eieio-default-superclass)
8589 (eieio--define-field-accessors, method-static, method-before)
8590 (method-primary, method-after, method-num-lists)
8591 (method-generic-before, method-generic-primary)
8592 (method-generic-after, method-num-slots)
8593 (eieio-specialized-key-to-generic-key)
8594 (eieio--check-type, class-v, class-p)
8595 (eieio-class-name, define-obsolete-function-alias)
8596 (eieio-class-parents-fast, eieio-class-children-fast)
8597 (same-class-fast-p, class-constructor, generic-p)
8598 (generic-primary-only-p, generic-primary-only-one-p)
8599 (class-option-assoc, class-option, eieio-object-p)
8600 (class-abstract-p, class-method-invocation-order)
8601 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8602 (eieio-class-un-autoload, eieio-defclass)
8603 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8604 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8605 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8606 (eieio-defgeneric-reset-generic-form)
8607 (eieio-defgeneric-form-primary-only)
8608 (eieio-defgeneric-reset-generic-form-primary-only)
8609 (eieio-defgeneric-form-primary-only-one)
8610 (eieio-defgeneric-reset-generic-form-primary-only-one)
8611 (eieio-unbind-method-implementations)
8612 (eieio--defmethod, eieio--typep)
8613 (eieio-perform-slot-validation, eieio-validate-slot-value)
8614 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8615 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8616 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8617 (eieio-slot-name-index, eieio-class-slot-name-index)
8618 (eieio-set-defaults, eieio-initarg-to-attribute)
8619 (eieio-attribute-to-initarg, eieio-c3-candidate)
8620 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8621 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8622 (eieio-class-precedence-list, eieio-generic-call-methodname)
8623 (eieio-generic-call-arglst, eieio-generic-call-key)
8624 (eieio-generic-call-next-method-list)
8625 (eieio-pre-method-execution-functions, eieio-generic-call)
8626 (eieio-generic-call-primary-only, eieiomt-method-list)
8627 (eieiomt-optimizing-obarray, eieiomt-install)
8628 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8629 (eieio-generic-form, eieio-defmethod, make-obsolete)
8630 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8631 (defclass): Remove `eval-and-compile' from macro.
8632 (call-next-method, shared-initialize): Instead of using
8633 `scoped-class' variable, use new eieio--scoped-class, and
8634 eieio--with-scoped-class.
8635 (initialize-instance): Rename local variable 'scoped-class' to
8636 'this-class' to remove ambiguitity from old global.
8637
8638 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8639 eieio.el.
8640 (eieio--scoped-class-stack): New variable.
8641 (eieio--scoped-class): New fcn.
8642 (eieio--with-scoped-class): New scoping macro.
8643 (eieio-defclass): Use pushnew instead of add-to-list.
8644 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8645 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8646 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8647 `scoped-class' variable, use new eieio--scoped-class, and
8648 eieio--with-scoped-class.
8649
8650 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8651
8652 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8653
8654 * eshell/esh-ext.el (eshell-external-command): Pass args to
8655 `eshell-find-interpreter'.
8656 (eshell-find-interpreter): Add new second parameter ARGS.
8657
8658 * eshell/em-script.el (eshell-script-initialize): Add second arg
8659 to the function added as MATCH to `eshell-interpreter-alist'.
8660
8661 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8662 the function added as MATCH to `eshell-interpreter-alist'.
8663
8664 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8665 (eshell-visual-options): New defcustom.
8666 (eshell-escape-control-x): Adapt docstring.
8667 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8668 `eshell-visual-options' in addition to `eshell-visual-commands'.
8669 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8670
8671 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8672
8673 * progmodes/python.el (python-indent-block-enders): Add break,
8674 continue and raise keywords.
8675
8676 2013-06-01 Glenn Morris <rgm@gnu.org>
8677
8678 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8679
8680 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8681 * progmodes/cc-cmds.el (delete-forward-p):
8682 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8683 * progmodes/cc-engine.el (buffer-syntactic-context):
8684 * progmodes/cc-fonts.el (face-property-instance):
8685 * progmodes/cc-mode.el (set-keymap-parents):
8686 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8687 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8688 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8689 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8690 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8691
8692 * progmodes/cc-vars.el (other): Emacs has this widget since
8693 at least 21.1, so don't (re)define it.
8694
8695 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8696 Replace the obsolete alias pcomplete-arg-quote-list.
8697
8698 2013-06-01 Leo Liu <sdl.web@gmail.com>
8699
8700 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8701 punctuation syntax.
8702 (inferior-octave-minimal-columns)
8703 (inferior-octave-last-column-width): New variables.
8704 (inferior-octave-track-window-width-change): New function.
8705 (inferior-octave-mode): Adjust column width so that Octave output,
8706 for example from 'ls', can fit into the window nicely.
8707
8708 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8709
8710 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8711 Highlight expansions inside regexp literals.
8712
8713 2013-05-31 Glenn Morris <rgm@gnu.org>
8714
8715 * obsolete/sym-comp.el (symbol-complete):
8716 Replace obsolete completion-annotate-function.
8717
8718 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8719
8720 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8721
8722 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8723 New function, checks if point is inside a literal that allows
8724 expression expansion.
8725 (ruby-syntax-propertize-expansion): Use it.
8726 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8727 around the body.
8728
8729 2013-05-30 Juri Linkov <juri@jurta.org>
8730
8731 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8732 to "\M-si".
8733 (isearch-invisible): New variable.
8734 (isearch-forward): Doc fix.
8735 (isearch-mode): Set `isearch-invisible'
8736 to the value of `search-invisible'.
8737 (isearch-toggle-case-fold): Doc fix.
8738 (isearch-toggle-invisible): New command.
8739 (isearch-query-replace): Let-bind `search-invisible'
8740 to the value of `isearch-invisible'.
8741 (isearch-search): Use `isearch-invisible' instead of
8742 `search-invisible'. Let-bind `search-invisible'
8743 to the value of `isearch-invisible'. (Bug#11378)
8744
8745 2013-05-30 Juri Linkov <juri@jurta.org>
8746
8747 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8748 call when `query-flag' is nil and `search-invisible' is non-nil.
8749 (Bug#11746)
8750
8751 2013-05-30 Glenn Morris <rgm@gnu.org>
8752
8753 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8754
8755 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8756 (cc-require): Suppress spurious "noruntime" warnings.
8757 (cc-require-when-compile): Use fboundp, for sake of compiler.
8758
8759 * progmodes/cc-mode.el: Move load of cc-vars before that of
8760 cc-langs (which in turn loads cc-vars), to quieten compiler.
8761
8762 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * paren.el: Simplify the code.
8765 (show-paren-mode): Always start the timer.
8766 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8767 (show-paren--overlay, show-paren--overlay-1): Rename from
8768 show-paren-overlay and show-paren-overlay-1, and initialize to an
8769 overlay rather than to nil.
8770 (show-paren-function): Misc cleanup and simplifications.
8771
8772 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * paren.el (show-paren-data-function): New hook.
8775 (show-paren--default): New function, extracted from show-paren-function.
8776 (show-paren-function): Use show-paren-data-function.
8777
8778 2013-05-30 Glenn Morris <rgm@gnu.org>
8779
8780 * ielm.el (ielm-map, ielm-complete-symbol):
8781 Use completion-at-point rather than obsolete functions.
8782 (inferior-emacs-lisp-mode): Doc fix.
8783 Set completion-at-point-functions, rather than
8784 comint-dynamic-complete-functions.
8785
8786 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8787 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8788 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8789
8790 * image.el (image-animated-p): Tweak definition.
8791
8792 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8793 (rlogin-process-connection-type): Tweak default. Add set-after.
8794 (rlogin-host): Doc fix.
8795 (rlogin): Tweak prompt.
8796 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8797
8798 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8799 * progmodes/tcl.el (inferior-tcl-mode-map):
8800 Use completion-at-point rather than obsolete alias.
8801
8802 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8803
8804 * minibuffer.el (read-file-name-completion-ignore-case):
8805 Move before completion--in-region, for eager macro expansion.
8806
8807 2013-05-29 Juri Linkov <juri@jurta.org>
8808
8809 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8810 for total count of matching lines. Add `global-matches' for total
8811 count of matches. Rename `matches' to `lines' for count of
8812 matching lines. Add `matches' for count of matches.
8813 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8814 to `prev-line' for line number of prev match endpt.
8815 Increment `matches' for every match. Print the number of
8816 matching lines in the header.
8817 (occur-context-lines): Rename `lines' to `curr-line'.
8818 Rename `prev-lines' to `prev-line'. (Bug#14017)
8819
8820 2013-05-29 Juri Linkov <juri@jurta.org>
8821
8822 * replace.el (perform-replace): Add `skip-read-only-count',
8823 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8824 Increment them for corresponding conditions and report the number
8825 of skipped occurrences in the final message. (Bug#11746)
8826 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8827 (replace-string, replace-regexp): Doc fix.
8828
8829 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8832
8833 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8834 prog-mode-map (bug#14504).
8835
8836 2013-05-29 Leo Liu <sdl.web@gmail.com>
8837
8838 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8839 (octave-help): Small simplification.
8840
8841 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8842 off the highlight first.
8843
8844 2013-05-29 Glenn Morris <rgm@gnu.org>
8845
8846 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8847 Handle idlwave-last-system-routine-info-cons-cell being nil.
8848
8849 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8850 (idlwave-write-paths): Simplify via with-temp-buffer.
8851
8852 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8853 * emulation/cua-rect.el: Also load cua-base at run time.
8854
8855 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8856 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8857 (cperl-imenu-on-info): Require imenu.
8858
8859 2013-05-28 Alan Mackenzie <acm@muc.de>
8860
8861 Handle "capitalised keywords" correctly.
8862 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8863
8864 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8865
8866 * eshell/em-unix.el: Add -r option to cp.
8867
8868 2013-05-28 Glenn Morris <rgm@gnu.org>
8869
8870 * vc/vc-arch.el (vc-exec-after): Declare.
8871 (vc-switches): Autoload.
8872 * vc/vc-bzr.el: No need to require vc when compiling.
8873 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8874 (vc-resynch-buffer, vc-dir-refresh): Declare.
8875 (vc-setup-buffer, vc-switches): Autoload.
8876 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8877 (vc-resynch-buffer): Declare.
8878 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8879 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8880 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8881 (grep-read-regexp, grep-read-files, grep-expand-template)
8882 (vc-dir-refresh): Declare.
8883 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8884 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8885 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8886 * vc/vc-mtn.el (vc-exec-after): Declare.
8887 (vc-switches): Autoload.
8888 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8889 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8890 (vc-file-tree-walk): Declare.
8891 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8892 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8893 (vc-tag-precondition, vc-rename-master): Autoload.
8894 * vc/vc-svn.el (vc-exec-after): Declare.
8895 (vc-switches, vc-setup-buffer): Autoload.
8896 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8897 Autoload.
8898 (vc-resynch-buffer): Declare.
8899
8900 * obsolete/fast-lock.el (byte-compile-warnings):
8901 Don't warn about obsolete features in this obsolete file.
8902
8903 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8904 Move definition before use.
8905
8906 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8907 (dun-unix-verbs): Remove dun-zippy.
8908 (dun-zippy): Remove function.
8909
8910 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8911
8912 2013-05-27 Juri Linkov <juri@jurta.org>
8913
8914 * replace.el (replace-search): New function with code moved out
8915 from `perform-replace'.
8916 (replace-highlight, replace-dehighlight): Move function definitions
8917 up closer to `replace-search'. (Bug#11746)
8918
8919 2013-05-27 Juri Linkov <juri@jurta.org>
8920
8921 * replace.el (perform-replace): Ignore invisible matches.
8922 In addition to checking `query-replace-skip-read-only', also
8923 filter out matches by calling `run-hook-with-args-until-failure'
8924 on `isearch-filter-predicates', and also check `search-invisible'
8925 for t or call `isearch-range-invisible'.
8926 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8927
8928 2013-05-27 Juri Linkov <juri@jurta.org>
8929
8930 * isearch.el (isearch-filter-predicates): Rename from
8931 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8932 (isearch-message-prefix): Display text from the property
8933 `isearch-message-prefix' of the currently active filters.
8934 (isearch-search): Don't compare `isearch-filter-predicate' with
8935 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8936 on `isearch-filter-predicates'. Also check `search-invisible' for t
8937 or call `isearch-range-invisible'.
8938 (isearch-filter-visible): Make obsolete.
8939 (isearch-lazy-highlight-search):
8940 Call `run-hook-with-args-until-failure' on
8941 `isearch-filter-predicates' and use `isearch-range-invisible'.
8942
8943 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8944 `isearch-filter-predicates' instead of `funcall'ing
8945 `isearch-filter-predicate'.
8946 (Info-mode): Set `Info-isearch-filter' to
8947 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8948
8949 * dired-aux.el (dired-isearch-filter-predicate-orig):
8950 Remove variable.
8951 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8952 (dired-isearch-filenames-end): Add and remove
8953 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8954 instead of changing the value of `isearch-filter-predicate'.
8955 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8956 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8957 Put property `isearch-message-prefix' to "filename " on
8958 `dired-isearch-filter-filenames'.
8959
8960 * wdired.el (wdired-change-to-wdired-mode):
8961 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8962 locally instead of changing `isearch-filter-predicate'.
8963 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8964
8965 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8966
8967 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8968 return the commit hash (Bug#14459). Also set the
8969 `vc-git-detached' property.
8970 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8971 (vc-git-mode-line-string): Use the same help-echo format whether
8972 in detached mode or not, because we know the actual revision now.
8973 When in detached mode, shorten the revision to 7 chars.
8974
8975 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * emacs-lisp/easy-mmode.el (define-minor-mode):
8978 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8979 mode hook and provide a docstring.
8980
8981 2013-05-27 Alan Mackenzie <acm@muc.de>
8982
8983 Remove spurious syntax-table text properties inserted by C-y.
8984 * progmodes/cc-mode.el (c-after-change): Also clear hard
8985 syntax-table property with value nil.
8986
8987 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8988
8989 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8990 when reading the events; the buffer layout shall not be changed.
8991
8992 2013-05-27 Leo Liu <sdl.web@gmail.com>
8993
8994 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8995 New variable.
8996 (inferior-octave-directory-tracker): Automatically re-sync
8997 default-directory.
8998 (octave-help): Improve handling of 'See also'.
8999
9000 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * doc-view.el: Minor naming convention tweaks.
9003 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9004
9005 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9006 even if there's no `display' property yet (bug#14435).
9007
9008 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9009
9010 * subr.el (unmsys--file-name): Rename from reveal-filename.
9011
9012 * Makefile.in (custom-deps, finder-data, autoloads)
9013 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9014 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9015 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9016
9017 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9020 error-completion on the first 2 args of condition-case (bug#14446).
9021 Don't burp at EOB.
9022
9023 2013-05-25 Leo Liu <sdl.web@gmail.com>
9024
9025 * comint.el (comint-previous-matching-input): Do not flood the
9026 *Messages* buffer with trivial messages.
9027
9028 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * progmodes/flymake.el (flymake-nop): Don't return a string.
9031 (flymake-set-at): Fix typo.
9032
9033 * simple.el (read--expression): New function, extracted from
9034 eval-expression. Set completion-at-point-functions (bug#14465).
9035 (eval-expression, eval-minibuffer): Use it.
9036
9037 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9038
9039 * progmodes/flymake.el (flymake-save-buffer-in-file)
9040 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9041 (flymake-selected-frame, flymake-log, flymake-ins-after)
9042 (flymake-set-at, flymake-get-buildfile-from-cache)
9043 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9044 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9045 Refine the doc string.
9046 (flymake-get-file-name-mode-and-masks): Reformat.
9047 (flymake-get-real-file-name-function): Fix a minor bug.
9048
9049 2013-05-24 Juri Linkov <juri@jurta.org>
9050
9051 * progmodes/grep.el (grep-mode-font-lock-keywords):
9052 Support =linenumber= format used by git-grep for lines with
9053 function names. (Bug#13549)
9054
9055 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9058 0 after a semi-colon; it works better for smie-auto-fill.
9059 (octave--indent-new-comment-line): New function.
9060 (octave-indent-new-comment-line): Use it (indirectly).
9061 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9062 modify comment-line-break-function.
9063
9064 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9065 (smie-setup): Use add-function to set it.
9066
9067 2013-05-24 Sam Steingold <sds@gnu.org>
9068
9069 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9070 argument (before the `interactive' argument).
9071
9072 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * image-mode.el (image-mode-winprops): Add winprops to
9075 image-mode-winprops-alist before running
9076 image-mode-new-window-functions.
9077 * doc-view.el (doc-view-new-window-function): Don't delay
9078 doc-view-goto-page via timers (bug#14435).
9079
9080 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9081
9082 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9083 (doc-view-desktop-save-buffer): New function.
9084 (doc-view-restore-desktop-buffer): New function.
9085 (desktop-buffer-mode-handlers):
9086 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9087 handler.
9088 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9089 `desktop-save-buffer' function.
9090
9091 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9094 (tramp-gvfs-file-name-handler): Raise a user error when
9095 `tramp-gvfs-enabled' is nil.
9096 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9097 Do not raise a user error when loading package. (Bug#14447)
9098
9099 * net/xesam.el: Move to obsolete/.
9100
9101 2013-05-24 Glenn Morris <rgm@gnu.org>
9102
9103 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9104
9105 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9106
9107 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9108 (Info-find-node, Man-getpage-in-background): Declare.
9109
9110 * mail/unrmail.el (unrmail):
9111 Replace obsolete detect-coding-with-priority.
9112
9113 * net/socks.el (socks-split-string): Use this rather than split-string.
9114 (socks-nslookup-host): Update for above change.
9115 (dynamic-choice, s5-dynamic-choice-match)
9116 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9117 Comment out unused code.
9118
9119 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9120 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9121 (gud-tooltip-echo-area): Make obsolete.
9122 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9123
9124 * progmodes/js.el (js--optimize-arglist): Declare.
9125
9126 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9127
9128 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9129 (ediff-window-C): Declare.
9130
9131 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9132 Tweak requires to silence compiler.
9133
9134 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9135 (he-search-string, he-tried-table, he-expand-list)
9136 (he-init-string, he-string-member, he-substitute-string)
9137 (he-reset-string): Declare.
9138
9139 * obsolete/options.el (list-options): Use custom-variable-p,
9140 rather than obsolete alias.
9141
9142 2013-05-23 Sam Steingold <sds@gnu.org>
9143
9144 * simple.el (shell-command-on-region): Pass the `replace' argument
9145 down to `call-process-region' to comply with the doc as reported on
9146 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9147
9148 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * emacs-lisp/smie.el (smie-indent-forward-token)
9151 (smie-indent-backward-token): Handle string tokens (bug#14381).
9152
9153 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9154
9155 * ielm.el (ielm-menu): New menu.
9156 (inferior-emacs-lisp-mode): Set comment-start.
9157
9158 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9159
9160 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9161 Fix deactivate action.
9162
9163 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9164 Add cleveref macros.
9165
9166 * lisp/textmodes/reftex-parse.el
9167 (reftex-locate-bibliography-files): Accept options for
9168 bibliography commands.
9169 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9170 Add addbibresource. Basic Biblatex support.
9171
9172 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9173
9174 * net/tramp-gvfs.el (top):
9175 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9176 when loading package. (Bug#14447)
9177
9178 2013-05-23 Glenn Morris <rgm@gnu.org>
9179
9180 * progmodes/js.el: No need to load comint when compiling.
9181 (ring-insert, comint-send-string, comint-send-input)
9182 (comint-last-input-end, ido-chop): Declare.
9183
9184 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9185 * vc/ediff-mult.el: Adjust requires.
9186 (ediff-directories-internal, ediff-directory-revisions-internal)
9187 (ediff-patch-file-internal): Declare.
9188 * vc/ediff-ptch.el: Adjust requires.
9189 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9190 (ediff-find-file): Autoload.
9191 * vc/ediff-util.el: No need to load ediff when compiling.
9192 (ediff-regions-internal): Declare.
9193 * vc/ediff-wind.el: Adjust requires.
9194 (ediff-compute-toolbar-width): Define when compiling.
9195 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9196 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9197 (dired-get-filename, dired-get-marked-files)
9198 (ediff-last-dir-patch, ediff-patch-default-directory)
9199 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9200 (ediff-patch-buffer-internal): Declare.
9201
9202 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9203 (ispell-process, ispell-buffer-local-words, lm-summary)
9204 (lm-section-start, lm-section-end): Declare.
9205 (checkdoc-ispell-init): Simplify.
9206
9207 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9208 (he-string-member, he-reset-string, he-substitute-string): Declare.
9209
9210 * eshell/em-ls.el: Adjust requires.
9211 (eshell-glob-regexp): Declare.
9212 * eshell/em-tramp.el: Adjust requires.
9213 (eshell-parse-command): Autoload.
9214 * eshell/em-xtra.el: Adjust requires.
9215 (eshell-parse-command): Autoload.
9216 * eshell/esh-ext.el: Adjust requires.
9217 (eshell-parse-command, eshell-close-handles): Autoload.
9218 * eshell/esh-io.el: Adjust requires.
9219 (eshell-output-filter): Autoload.
9220 * eshell/esh-util.el: No need to load tramp when compiling.
9221 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9222 Declare.
9223 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9224 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9225 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9226 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9227 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9228 * eshell/esh-opt.el, eshell/esh-proc.el:
9229 * eshell/esh-var.el: Adjust requires.
9230 * eshell/eshell.el: Do not require esh-util twice.
9231 (eshell-add-input-to-history): Declare.
9232 (eshell-command): Check history module is active before using it.
9233
9234 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9235
9236 2013-05-22 Leo Liu <sdl.web@gmail.com>
9237
9238 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9239
9240 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9241
9242 * autorevert.el (auto-revert-notify-add-watch)
9243 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9244 it indicates changes in file modification time.
9245
9246 2013-05-22 Glenn Morris <rgm@gnu.org>
9247
9248 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9249 Always delete the autoloaded function from the noruntime and
9250 unresolved functions lists.
9251
9252 * allout.el: No need to load epa, epg, overlay when compiling.
9253 (epg-context-set-passphrase-callback, epg-list-keys)
9254 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9255 (epg-key-user-id-list): Declare.
9256
9257 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9258 (viper-set-parsing-style-toggling-macro)
9259 (viper-set-emacs-state-searchstyle-macros):
9260 Use called-interactively-p on Emacs.
9261 (viper-looking-back): Make it an obsolete alias. Update callers.
9262 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9263 Use looking-back rather than viper-looking-back.
9264 (viper-tmp-insert-at-eob, viper-enlarge-region)
9265 (viper-read-string-with-history, viper-register-to-point)
9266 (viper-append-to-register, viper-change-state-to-vi)
9267 (viper-backward-char-carefully, viper-forward-char-carefully)
9268 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9269 (viper-change-state-to-emacs): Declare.
9270 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9271 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9272 * emulation/viper-mous.el: Do not load viper-cmd.
9273 (viper-backward-char-carefully, viper-forward-char-carefully)
9274 (viper-forward-word, viper-adjust-window): Declare.
9275
9276 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9277
9278 * progmodes/idlw-help.el (idlwave-help-fontify):
9279 Use called-interactively-p.
9280
9281 * term/w32console.el (w32-get-console-codepage)
9282 (w32-get-console-output-codepage): Declare.
9283
9284 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9285 Remove unnecessary declarations.
9286 (dframe-message): Doc fix.
9287
9288 * info.el (dframe-select-attached-frame, dframe-current-frame):
9289 Declare.
9290
9291 * speedbar.el (speedbar-message): Make it an obsolete alias.
9292 Update all callers.
9293 (speedbar-with-attached-buffer)
9294 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9295 (speedbar-with-writable): Use backquote.
9296 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9297 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9298 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9299 rather than speedbar- aliases.
9300 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9301 (speedbar-make-specialized-keymap, speedbar-insert-button)
9302 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9303 (speedbar-do-function-pointer): Declare.
9304 (rmail-speedbar-button, rmail-speedbar-find-file)
9305 (rmail-speedbar-move-message):
9306 Use dframe-with-attached-buffer rather than speedbar- alias.
9307 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9308 (dframe-message, speedbar-make-specialized-keymap)
9309 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9310 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9311 (speedbar-insert-button, dframe-select-attached-frame)
9312 (dframe-maybee-jump-to-attached-frame)
9313 (speedbar-change-initial-expansion-list)
9314 (speedbar-previously-used-expansion-list-name): Declare.
9315 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9316 Use dframe-message, dframe-with-attached-buffer rather than
9317 speedbar- aliases.
9318 (gud-sentinel): Silence compiler.
9319 * progmodes/vhdl-mode.el (speedbar-refresh)
9320 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9321 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9322 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9323 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9324 (speedbar-file-lists, speedbar-make-tag-line)
9325 (speedbar-line-directory, speedbar-goto-this-file)
9326 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9327 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9328 (speedbar-make-button, speedbar-reset-scanners)
9329 (speedbar-files-item-info, speedbar-line-text)
9330 (speedbar-find-file-in-frame, speedbar-set-timer)
9331 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9332 (speedbar-with-writable): Do not (re)define it.
9333 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9334 rather than speedbar- alias.
9335
9336 2013-05-21 Leo Liu <sdl.web@gmail.com>
9337
9338 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9339 menu items.
9340 (octave-mode): Tweak fill-nobreak-predicate.
9341 (inferior-octave-startup): Check process to avoid infinite loop.
9342 (inferior-octave): Pop to buffer first to show abornmal process
9343 exit information.
9344
9345 2013-05-21 Glenn Morris <rgm@gnu.org>
9346
9347 * printing.el (pr-menu-bar): Define when compiling.
9348
9349 2013-05-21 Leo Liu <sdl.web@gmail.com>
9350
9351 * progmodes/octave.el (octave-auto-fill): Remove.
9352 (octave-indent-new-comment-line): Improve.
9353 (octave-mode): Use auto fill mode through
9354 comment-line-break-function and fill-nobreak-predicate.
9355 (octave-goto-function-definition): Support DEFUN_DLD.
9356 (octave-beginning-of-defun): Small tweak.
9357 (octave-help): Show parent directory.
9358
9359 2013-05-21 Glenn Morris <rgm@gnu.org>
9360
9361 * files.el (dired-unmark):
9362 * progmodes/gud.el (gdb-input): Update declarations.
9363
9364 * calculator.el (electric, ehelp): No need to load when compiling.
9365 (Electric-command-loop, electric-describe-mode): Declare.
9366
9367 * doc-view.el (doc-view-current-converter-processes): Move before use.
9368
9369 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9370 Move MODE-set-explicitly definition before use.
9371
9372 * international/mule-diag.el (mule-diag):
9373 Don't use obsolete window-system-version.
9374
9375 * mail/feedmail.el (smtpmail): No need to load when compiling.
9376 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9377
9378 * mail/mail-utils.el (rfc822): No need to load when compiling.
9379 (rfc822-addresses): Autoload it.
9380 (mail-strip-quoted-names): Trivial simplification.
9381
9382 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9383 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9384
9385 * net/snmp-mode.el (tempo): Don't duplicate requires.
9386
9387 * progmodes/prolog.el (info): No need to load when compiling.
9388 (comint): Require before shell requires it.
9389 (Info-goto-node): Autoload it.
9390 (Info-follow-nearest-node): Declare.
9391 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9392
9393 * textmodes/artist.el (picture-mode-exit): Declare.
9394
9395 * textmodes/reftex-parse.el (reftex-parse-from-file):
9396 Trivial rewrite so the compiler can parse it better.
9397
9398 2013-05-20 Leo Liu <sdl.web@gmail.com>
9399
9400 * progmodes/octave.el (octave-help-mode-map)
9401 (octave-help-mode-finish-hook): New variables.
9402 (octave-help-mode, octave-help-mode-finish): New functions.
9403 (octave-help): Use octave-help-mode.
9404
9405 2013-05-20 Glenn Morris <rgm@gnu.org>
9406
9407 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9408
9409 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9410
9411 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9412 start at point, so that expansion starting right after opening
9413 slash in a regexp is recognized.
9414 (ruby-syntax-before-regexp-re): New defvar, extracted from
9415 ruby-syntax-propertize-function. Since the value of this regexp
9416 is looked up at runtime now, we should be able to turn
9417 `ruby-syntax-methods-before-regexp' into a defcustom later.
9418 (ruby-syntax-propertize-function): Split regexp matching into two
9419 parts, for opening and closing slashes. That allows us to skip
9420 over string interpolations and support multiline regexps.
9421 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9422 for them, which calls `ruby-syntax-propertize-expansion'.
9423 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9424 call to `ruby-syntax-propertize-function'.
9425 (ruby-syntax-propertize-expansion): Extracted from
9426 `ruby-syntax-propertize-expansions'. Handles one expansion.
9427 (ruby-syntax-propertize-percent-literal): Leave point right after
9428 the percent symbol, so that the expression expansion rule can
9429 propertize the contents.
9430 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9431 heredoc openers.
9432 (ruby-syntax-propertize-expansions): Remove.
9433
9434 2013-05-18 Juri Linkov <juri@jurta.org>
9435
9436 * man.el (Man-default-man-entry): Remove `-' from the end
9437 of the default value. (Bug#14400)
9438
9439 2013-05-18 Glenn Morris <rgm@gnu.org>
9440
9441 * comint.el (comint-password-prompt-regexp):
9442 Allow "password for XXX" where XXX contains colons (eg https://...).
9443
9444 2013-05-18 Leo Liu <sdl.web@gmail.com>
9445
9446 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9447 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9448 (octave-source-directories): Don't check process.
9449 (octave-source-directories, octave-find-definition): Doc fix.
9450
9451 2013-05-18 Glenn Morris <rgm@gnu.org>
9452
9453 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9454 Remove backspace/delete bindings. (Bug#14392)
9455
9456 * cus-dep.el (custom-make-dependencies): Sort the output.
9457 (custom-versions-load-alist): Convert comment to doc.
9458
9459 2013-05-17 Leo Liu <sdl.web@gmail.com>
9460
9461 * newcomment.el (comment-search-backward): Stricter in finding
9462 comment start. (Bug#14303)
9463
9464 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9465 (octave-comment-start-skip): Properly anchored.
9466
9467 2013-05-17 Leo Liu <sdl.web@gmail.com>
9468
9469 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9470 Clean up when turned off. (Bug#14395)
9471 (smie--highlight-matching-block-overlay): No longer buffer-local.
9472 (smie-highlight-matching-block): Adjust.
9473
9474 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9475
9476 Doc string fix for "nanoseconds" (Bug#14406).
9477 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9478 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9479
9480 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9481
9482 * calc/calc-units.el (math-extract-units): Preserve powers
9483 of units.
9484
9485 2013-05-17 Leo Liu <sdl.web@gmail.com>
9486
9487 * subr.el (delete-consecutive-dups): New function.
9488 * ido.el (ido-set-matches-1): Use it.
9489 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9490 * ido.el (ido-remove-consecutive-dups): Remove.
9491
9492 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9495 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9496 regexp-opt's `words'.
9497
9498 2013-05-16 Leo Liu <sdl.web@gmail.com>
9499
9500 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9501 (smie--highlight-matching-block-overlay)
9502 (smie--highlight-matching-block-lastpos)
9503 (smie--highlight-matching-block-timer): New variables.
9504 (smie-highlight-matching-block): New function.
9505 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9506 (smie-setup): Conditionally enable smie-blink-matching-open.
9507
9508 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9509
9510 Sync with upstream verilog-mode r840.
9511 * progmodes/verilog-mode.el (verilog-mode-version)
9512 (verilog-mode-release-date): Update.
9513 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9514 (verilog-sig-tieoff): Fix string error on
9515 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9516 (verilog-read-decls): Fix parameters confusing
9517 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9518
9519 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9520
9521 * subr.el (reveal-filename): New function.
9522
9523 * loadup.el: Compute Emacs executable versions on MS-Windows,
9524 where executables have the .exe extension. Add a hard link
9525 emacs-XX.YY.ZZ.exe on MS-Windows.
9526
9527 * Makefile.in (XARGS_LIMIT): New variable.
9528 (custom-deps, finder-data, autoloads)
9529 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9530 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9531 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9532 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9533
9534 2013-05-16 Leo Liu <sdl.web@gmail.com>
9535
9536 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9537 (octave-mode-menu, octave-mode-map): Remove its uses.
9538
9539 2013-05-16 Reto Zimmermann <reto@gnu.org>
9540
9541 Sync with upstream vhdl mode v3.34.2.
9542 * progmodes/vhdl-mode.el: Use `push' throughout.
9543 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9544 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9545 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9546 (vhdl-actual-generic-name): New option to derive actual generic name.
9547 (vhdl-port-paste-signals): Replace formal by actual generics.
9548 (vhdl-beautify): New name for old group vhdl-align. Update users.
9549 (vhdl-beautify-options): New option.
9550 (vhdl-last-input-event): New compat alias. Use throughout.
9551 (vhdl-goto-line): Replace user level function `goto-line'.
9552 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9553 vhdl-fix-statement-buffer.
9554 (vhdl-create-mode-menu): Add some entries.
9555 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9556 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9557 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9558 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9559 to force statements on one line.
9560 (vhdl-remove-trailing-spaces-region):
9561 New, split from vhdl-remove-trailing-spaces.
9562 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9563 Respect vhdl-beautify-options.
9564 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9565 (vhdl-update-sensitivity-list): Not add with index if exists without.
9566 Not include array index with signal. Ignore keywords in comments.
9567 (vhdl-get-visible-signals): Regexp tweaks.
9568 (vhdl-template-component-inst): Handle empty library.
9569 (vhdl-template-type): Add template for 'enum' type.
9570 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9571 Use vhdl-replace-string.
9572 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9573 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9574 (vhdl-speedbar-initialize): Update for above name change.
9575 (vhdl-compose-wire-components): Fix in handling of constants.
9576 (vhdl-error-regexp-emacs-alist): New variable.
9577 (vhdl-error-regexp-add-emacs): New function;
9578 adds support for new compile.el (Emacs 22+)
9579 (vhdl-generate-makefile-1): Change target order for single lib. units.
9580 Allow use of absolute file names.
9581
9582 2013-05-16 Leo Liu <sdl.web@gmail.com>
9583
9584 * simple.el (prog-indent-sexp): Indent enclosing defun.
9585
9586 2013-05-15 Glenn Morris <rgm@gnu.org>
9587
9588 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9589 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9590 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9591 (whitespace-highlight): Move to whitespace group.
9592
9593 * comint.el (comint-source):
9594 * pcmpl-linux.el (pcmpl-linux):
9595 * shell.el (shell-faces):
9596 * eshell/esh-opt.el (eshell-opt):
9597 * international/ccl.el (ccl): Remove empty custom groups.
9598
9599 * completion.el (dynamic-completion-mode):
9600 * jit-lock.el (jit-lock-debug-mode):
9601 * minibuffer.el (completion-in-region-mode):
9602 * type-break.el (type-break-mode-line-message-mode)
9603 (type-break-query-mode):
9604 * emulation/tpu-edt.el (tpu-edt-mode):
9605 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9606 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9607 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9608
9609 * term/xterm.el (xterm): Change parent group to terminals.
9610
9611 * master.el (master): Remove empty custom group.
9612 (master-mode): Remove unused :group argument.
9613 * textmodes/refill.el (refill): Remove empty custom group.
9614 (refill-mode): Remove unused :group argument.
9615
9616 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9617
9618 * cus-dep.el: Provide a feature.
9619 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9620 Don't mistakenly ignore files whose basenames match a basename
9621 from preloaded-file-list (eg cedet/ede/simple.el).
9622 Add a fallback method for getting :group.
9623
9624 2013-05-15 Juri Linkov <juri@jurta.org>
9625
9626 * isearch.el (isearch-char-by-name): Rename from
9627 `isearch-insert-char-by-name'. Doc fix.
9628 (isearch-forward): Mention `isearch-char-by-name' in
9629 the docstring. (Bug#13348)
9630
9631 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9632 `exit-minibuffer' instead of
9633 `isearch-nonincremental-exit-minibuffer'.
9634 (isearch-edit-string): Remove mention of
9635 `isearch-nonincremental-exit-minibuffer' from docstring.
9636 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9637 (isearch-forward-exit-minibuffer)
9638 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9639
9640 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * loadup.el: Just use unversioned DOC.
9643
9644 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9645 literals as extending to EOB.
9646 (nxml-last-fontify-end): Remove unused variable.
9647 (nxml-after-change1): Use with-silent-modifications.
9648 (nxml-extend-after-change-region): Simplify.
9649 (nxml-extend-after-change-region1): Remove function.
9650 (nxml-after-change1): Don't adjust for dependent regions.
9651 (nxml-fontify-matcher): Simplify.
9652 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9653 (xmltok-add-dependent): Remove function.
9654 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9655 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9656 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9657 unclosed <[[, <?, comment, and other literals as extending to EOB.
9658 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9659 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9660 Remove functions.
9661 (rng-do-some-validation-1): Don't mark dependent regions.
9662 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9663 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9664 (nxml-clear-dependent-regions): Remove functions.
9665 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9666 (nxml-ensure-scan-up-to-date):
9667 Don't clear&mark dependent regions.
9668
9669 2013-05-15 Leo Liu <sdl.web@gmail.com>
9670
9671 * progmodes/octave.el (octave-goto-function-definition):
9672 Improve and fix callers.
9673
9674 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9677 the setter (bug#14387).
9678
9679 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9680 surrounding group (bug#14402).
9681
9682 2013-05-14 Juri Linkov <juri@jurta.org>
9683
9684 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9685 (Bug#14390)
9686
9687 2013-05-14 Glenn Morris <rgm@gnu.org>
9688
9689 * progmodes/f90.el (f90-imenu-generic-expression):
9690 Fix typo in 2013-05-08 change. (Bug#14402)
9691
9692 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9693
9694 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9695 Remove signals for which replies are never received.
9696
9697 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9698
9699 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9700 (gdb-handler-alist, gdb-handler-number): Remove variables.
9701 (gdb-handler-list): New variable.
9702 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9703 (gdb-pending-handler-p, gdb-handle-reply)
9704 (gdb-remove-all-pending-triggers): New functions.
9705 (gdb-discard-unordered-replies): New defcustom.
9706 (gdb-handler): New defstruct.
9707 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9708 instead of gdb-pending-triggers. Update docstring.
9709 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9710 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9711 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9712 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9713 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9714 (gdb-frame-handler): Pending triggers are now automatically managed.
9715 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9716 Remove argument.
9717 (gdb-input): Automatically handles pending triggers. Update docstring.
9718 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9719 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9720 Update comments.
9721 (gdb-done-or-error): Now use gdb-handle-reply.
9722
9723 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9724
9725 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9726 gdb-debug-log.
9727
9728 2013-05-14 Glenn Morris <rgm@gnu.org>
9729
9730 * subr.el (user-emacs-directory-warning): New option.
9731 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9732
9733 2013-05-14 Leo Liu <sdl.web@gmail.com>
9734
9735 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9736 during redisplay.
9737 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9738 (octave-font-lock-texinfo-comment): Fix invalid search bound
9739 error: wrong side of point.
9740
9741 2013-05-14 Glenn Morris <rgm@gnu.org>
9742
9743 * progmodes/flymake.el (flymake-xml-program): New option.
9744 (flymake-xml-init): Use it.
9745
9746 * term/xterm.el: Provide a feature.
9747
9748 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9749
9750 2013-05-13 Glenn Morris <rgm@gnu.org>
9751
9752 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9753 Add compat aliases as a hack workaround. (Bug#14384)
9754
9755 2013-05-13 Leo Liu <sdl.web@gmail.com>
9756
9757 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9758 ###, and %!.
9759 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9760 C-M-q.
9761 (octave-comment-start-skip): Include %!.
9762 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9763
9764 2013-05-12 Leo Liu <sdl.web@gmail.com>
9765
9766 * progmodes/octave.el (inferior-octave-startup): Store the value
9767 of __octave_srcdir__ for octave-source-directories.
9768 (inferior-octave-check-process): New function refactored out of
9769 inferior-octave-send-list-and-digest.
9770 (octave-source-directories)
9771 (octave-find-definition-filename-function): New variables.
9772 (octave-source-directories)
9773 (octave-find-definition-default-filename): New functions.
9774 (octave-find-definition): Improve to find functions implemented in C++.
9775
9776 2013-05-12 Glenn Morris <rgm@gnu.org>
9777
9778 * calendar/diary-lib.el (diary-outlook-format-1):
9779 Don't include dayname in the output. (Bug#14349)
9780
9781 2013-05-11 Glenn Morris <rgm@gnu.org>
9782
9783 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9784
9785 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9786 Treat cc-provide like provide.
9787
9788 2013-05-11 Kevin Ryde <user42@zip.com.au>
9789
9790 * cus-dep.el (custom-make-dependencies):
9791 Use generated-autoload-load-name for the sake of files such
9792 such cedet/semantic/bovine/c.el, where the base file name
9793 is not in load-path. (Bug#5277)
9794
9795 2013-05-11 Glenn Morris <rgm@gnu.org>
9796
9797 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9798 Provide features.
9799
9800 2013-05-11 Leo Liu <sdl.web@gmail.com>
9801
9802 * progmodes/octave.el (octave-indent-comment): Improve.
9803 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9804 (octave-eldoc-function-signatures, octave-eldoc-function):
9805 New functions.
9806 (octave-mode, inferior-octave-mode): Add eldoc support.
9807
9808 2013-05-11 Richard Stallman <rms@gnu.org>
9809
9810 * epa.el (epa-decrypt-file): Take output file name as argument
9811 and read it using `interactive'.
9812
9813 2013-05-11 Leo Liu <sdl.web@gmail.com>
9814
9815 * progmodes/octave.el (octave-beginning-of-line)
9816 (octave-end-of-line): Check before using up-list because it jumps
9817 out of more syntactic contructs since moving to smie.
9818 (octave-indent-comment): New function.
9819 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9820 (octave-begin-keywords, octave-end-keywords)
9821 (octave-reserved-words, octave-smie-bnf-table)
9822 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9823
9824 2013-05-11 Glenn Morris <rgm@gnu.org>
9825
9826 * faces.el (internal-face-x-get-resource):
9827 * frame.el (ns-display-monitor-attributes-list):
9828 * calc/calc-aent.el (math-to-radians-2):
9829 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9830 Fix declarations.
9831
9832 * calc/calc-menu.el: Make it loadable in isolation.
9833
9834 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9835 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9836 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9837 (eudc-bbdb-query-internal): Require 'bbdb.
9838
9839 * lpr.el (lpr-headers-switches):
9840 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9841
9842 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9843
9844 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9845
9846 * term.el (term-set-escape-char): Make it idempotent.
9847
9848 2013-05-10 Leo Liu <sdl.web@gmail.com>
9849
9850 * progmodes/octave.el (inferior-octave-completion-table):
9851 No longer a function and all uses changed. Use cache to speed up
9852 completion due to bug#11906.
9853 (octave-beginning-of-defun): Re-write to be more general.
9854
9855 2013-05-10 Glenn Morris <rgm@gnu.org>
9856
9857 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9858
9859 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * comint.el (comint-redirect-send-command-to-process): Use :around
9862 rather than :override for comint-redirect-filter.
9863 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9864 Call it instead of comint-redirect-original-filter-function (which
9865 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9866
9867 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9868
9869 * frame.el (display-monitor-attributes-list): Add NS case.
9870 (ns-display-monitor-attributes-list): Declare.
9871
9872 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9873
9874 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9875
9876 2013-05-09 Glenn Morris <rgm@gnu.org>
9877
9878 * international/fontset.el (vertical-centering-font-regexp):
9879 Set standard-value.
9880
9881 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9882
9883 * bookmark.el (bookmark-search-delay):
9884 * cus-start.el (vertical-centering-font-regexp):
9885 * ps-mule.el (ps-mule-font-info-database-default):
9886 * ps-print.el (ps-default-fg, ps-default-bg):
9887 * type-break.el (type-break-good-break-interval):
9888 * whitespace.el (whitespace-indentation-regexp)
9889 (whitespace-space-after-tab-regexp):
9890 * emacs-lisp/testcover.el (testcover-1value-functions)
9891 (testcover-noreturn-functions, testcover-progn-functions)
9892 (testcover-prog1-functions):
9893 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9894 * eshell/em-glob.el (eshell-glob-translate-alist):
9895 * play/tetris.el (tetris-tty-colors):
9896 * progmodes/cpp.el (cpp-face-default-list):
9897 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9898 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9899 (idlwave-help-browser-generic-args):
9900 * progmodes/make-mode.el (makefile-special-targets-list):
9901 * progmodes/python.el (python-shell-virtualenv-path):
9902 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9903 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9904 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9905 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9906 * textmodes/reftex-vars.el (reftex-format-label-function):
9907 * textmodes/remember.el (remember-diary-file): Fix custom types.
9908
9909 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9910 Add :version.
9911
9912 2013-05-09 Leo Liu <sdl.web@gmail.com>
9913
9914 * progmodes/octave.el (inferior-octave-completion-at-point):
9915 Restore file completion. (Bug#14300)
9916 (inferior-octave-startup): Fix incorrect highlighting for the
9917 first prompt.
9918
9919 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * progmodes/ruby-mode.el: First cut at SMIE support.
9922 (ruby-use-smie): New var.
9923 (ruby-smie-grammar): New constant.
9924 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9925 (ruby-smie--forward-token, ruby-smie--backward-token)
9926 (ruby-smie-rules): New functions.
9927 (ruby-mode-variables): Setup SMIE if applicable.
9928
9929 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9930
9931 * simple.el (line-move-visual): Signal beginning/end of buffer
9932 only if vertical-motion moved less than it was requested. Avoids
9933 silly incorrect error messages when there are display strings with
9934 multiple newlines at EOL.
9935
9936 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9939 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9940 (prolog-char-quote-workaround):
9941 * progmodes/cperl-mode.el (cperl-under-as-char):
9942 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9943 Mark as obsolete.
9944 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9945 their declaration.
9946 (vhdl-mode-syntax-table-init): Remove.
9947
9948 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9949 last change.
9950
9951 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9952 syntax for "_".
9953 (ld-script-font-lock-keywords):
9954 Change regexps to use things like \_< and \_>.
9955
9956 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9957 Change all regexps to use things like \_< and \_>.
9958
9959 * progmodes/autoconf.el (autoconf-definition-regexp)
9960 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9961 Handle a _ with symbol syntax.
9962 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9963
9964 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9965 Consolidate declaration.
9966 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9967 the declaration.
9968 (ada-create-syntax-table): Remove.
9969 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9970 already has the right syntax nowadays.
9971 (ada-goto-next-word): Don't change the syntax of "_".
9972
9973 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9974 with-wrapper-hook.
9975
9976 2013-05-08 Sam Steingold <sds@gnu.org>
9977
9978 * thingatpt.el (thing-at-point): Accept optional second argument
9979 NO-PROPERTIES to strip the text properties from the return value.
9980 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9981 to `thing-at-point' instead of stripping the properties ourselves.
9982 Also, when `thing-at-point' fails to find a url, prepend "http://"
9983 to the filename at point on the assumption that the user is
9984 pointing at something like gnu.org/gnu.
9985
9986 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9989 * faces.el (crm-separator):
9990 Silence byte-compiler.
9991
9992 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9993 (tool-bar-map): Remove unneeded defvars.
9994
9995 2013-05-08 Leo Liu <sdl.web@gmail.com>
9996
9997 Re-work a fix for bug#10994 based on Le Wang's patch.
9998 * ido.el (ido-remove-consecutive-dups): New helper.
9999 (ido-completing-read): Use it.
10000 (ido-chop): Revert fix for bug#10994.
10001
10002 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10003
10004 * cus-edit.el (custom-save-variables):
10005 Pretty-print long values. (Bug#14187)
10006
10007 2013-05-08 Glenn Morris <rgm@gnu.org>
10008
10009 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10010 (m4-mode-syntax-table): Init in the defvar.
10011 (m4-mode-abbrev-table): Let define-derived-mode define it.
10012
10013 2013-05-08 Tom Tromey <tromey@redhat.com>
10014
10015 * progmodes/m4-mode.el (m4-mode-syntax-table):
10016 Do not treat "_" as word constituent. (Bug#14167)
10017
10018 2013-05-07 Glenn Morris <rgm@gnu.org>
10019
10020 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10021 Remove explicit eshell-isearch-cancel-map.
10022
10023 * progmodes/f90.el (f90-smart-end-names): New option.
10024 (f90-smart-end): Doc fix.
10025 (f90-end-block-optional-name): New constant.
10026 (f90-block-match): Respect f90-smart-end-names.
10027
10028 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10031 about implicit semi-colons (bug#14218).
10032
10033 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10034
10035 * frame.el (display-monitor-attributes-list)
10036 (frame-monitor-attributes): New functions.
10037
10038 2013-05-06 Leo Liu <sdl.web@gmail.com>
10039
10040 * progmodes/octave.el (octave-syntax-propertize-function): Change
10041 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10042 (octave-font-lock-keywords): Use octave-operator-regexp.
10043 (octave-completion-at-point): Rename from
10044 octave-completion-at-point-function.
10045 (inferior-octave-directory-tracker): Robustify.
10046 (octave-text-functions): Remove and fix its uses. No such things
10047 any more.
10048
10049 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * emacs-lisp/trace.el (trace--display-buffer): New function.
10052 (trace-make-advice): Use it.
10053
10054 2013-05-06 Juri Linkov <juri@jurta.org>
10055
10056 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10057 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10058 Doc fix.
10059 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10060 in the help string. (Bug#12985)
10061
10062 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10063
10064 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10065
10066 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * progmodes/perl-mode.el: Add support for here documents.
10069 (perl-syntax-propertize-function): Match here-doc markers.
10070 (perl-syntax-propertize-special-constructs): Find their end.
10071 (perl-imenu-generic-expression): Use [:alnum:].
10072
10073 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10074 (advice--add-function): Refresh the advice if already present
10075 (bug#14317).
10076
10077 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10078
10079 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10080
10081 2013-05-06 Glenn Morris <rgm@gnu.org>
10082
10083 * w32-fns.el (w32-charset-info-alist): Declare.
10084
10085 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10086 of its defcustom properties.
10087 (eshell-cmpl-initialize): No need to load pcomplete.
10088
10089 * generic-x.el: No need to require comint when compiling.
10090
10091 * net/eudc-export.el: Make it loadable without bbdb.
10092 (top-level): Use require rather than load-library.
10093 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10094 (eudc-batch-export-records-to-bbdb)
10095 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10096 Require bbdb.
10097
10098 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10101 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10102 some tweaks, instead.
10103
10104 2013-05-05 Leo Liu <sdl.web@gmail.com>
10105
10106 * progmodes/octave.el (octave-font-lock-keywords)
10107 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10108 (inferior-octave-send-list-and-digest): Improve error message.
10109 (octave-mode, inferior-octave-mode): Use setq-local.
10110 (octave-help): Set info-lookup-mode.
10111
10112 2013-05-05 Richard Stallman <rms@gnu.org>
10113
10114 * vc/compare-w.el (compare-windows-whitespace):
10115 Treat no-break space as whitespace.
10116
10117 * mail/rmailsum.el (rmail-summary-rmail-update):
10118 Detect empty summary and don't change selected message.
10119 (rmail-summary-goto-msg): Likewise.
10120
10121 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10122 Doc fixes, rename args.
10123
10124 2013-05-05 Alan Mackenzie <acm@muc.de>
10125
10126 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10127
10128 2013-05-05 Juri Linkov <juri@jurta.org>
10129
10130 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10131 to not add the length of the summary segment to the return value.
10132 (Bug#14125)
10133
10134 2013-05-05 Leo Liu <sdl.web@gmail.com>
10135
10136 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10137 (inferior-octave-output-filter): Remove.
10138 (octave-send-region, inferior-octave-startup): Fix callers.
10139 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10140 (octave-binary-file-extensions): New user variable.
10141 (octave-find-definition): Confirm if opening binary files.
10142 (octave-help-file): Use octave-find-definition to get the binary
10143 confirmation.
10144 (octave-help): Adjust for octave-help-file change.
10145
10146 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10147
10148 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10149 Merge the two entries that handle function definitions.
10150 (pascal--syntax-propertize): New const.
10151 (pascal-mode): Use it. Use setq-local.
10152
10153 2013-05-04 Glenn Morris <rgm@gnu.org>
10154
10155 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10156 (diary-from-outlook): Respect diary-from-outlook-function.
10157
10158 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10161 Move the declaration from C.
10162 (read-minibuffer, eval-minibuffer): Move from C.
10163 (completion-setup-function): Avoid minibuffer-completion-contents.
10164
10165 2013-05-03 Leo Liu <sdl.web@gmail.com>
10166
10167 * progmodes/octave.el (octave-font-lock-keywords): Do not
10168 dehighlight 'end' in comments or strings.
10169 (octave-completing-read, octave-goto-function-definition):
10170 New helpers.
10171 (octave-help-buffer): New user variable.
10172 (octave-help-file, octave-help-function): New button types.
10173 (octave-help): New command and bind it to C-h ;.
10174 (octave-find-definition): New command and bind it to M-.
10175 (user-error): Alias to error if not defined.
10176
10177 2013-05-02 Leo Liu <sdl.web@gmail.com>
10178
10179 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10180 for \. (bug#14332)
10181 (octave-font-lock-keywords): Include [ and {.
10182
10183 2013-05-02 Leo Liu <sdl.web@gmail.com>
10184
10185 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10186 (inferior-octave): Remove calling comint-mode and return the buffer.
10187 (inferior-octave-startup): Cosmetic changes.
10188
10189 2013-05-02 Leo Liu <sdl.web@gmail.com>
10190
10191 * progmodes/octave.el (octave-syntax-propertize-function):
10192 Include the case when ' is at line beginning. (Bug#14336)
10193
10194 2013-05-02 Glenn Morris <rgm@gnu.org>
10195
10196 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10197 * desktop.el (vc-dir-mode): Just autoload it here.
10198
10199 2013-05-02 Alan Mackenzie <acm@muc.de>
10200
10201 Eliminate variable c-standard-font-lock-fontify-region-function.
10202 * progmodes/cc-mode.el
10203 (c-standard-font-lock-fontify-region-function): Remove.
10204 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10205
10206 2013-05-01 Leo Liu <sdl.web@gmail.com>
10207
10208 * progmodes/octave.el: Compatible with older emacs-24 releases.
10209 (inferior-octave-has-built-in-variables): Remove. Built-in
10210 variables were removed from Octave in 2007.
10211 (inferior-octave-startup): Fix uses.
10212 (comint-line-beginning-position): Remove compatibility code for
10213 emacs 21.
10214
10215 2013-05-01 Juri Linkov <juri@jurta.org>
10216
10217 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10218
10219 2013-05-01 Juri Linkov <juri@jurta.org>
10220
10221 * comint.el (comint-previous-matching-input): Don't print message
10222 "History item: %d" when `isearch-mode' is active.
10223 (comint-history-isearch-message): Print message "History item: %d"
10224 when `comint-input-ring-index' is not empty and this function is
10225 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10226
10227 2013-05-01 Leo Liu <sdl.web@gmail.com>
10228
10229 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10230 definitions. Use completion-at-point to insert keywords.
10231 (octave-abbrev-start): Remove.
10232 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10233
10234 2013-04-30 Leo Liu <sdl.web@gmail.com>
10235
10236 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10237 change.
10238
10239 2013-04-30 Alan Mackenzie <acm@muc.de>
10240
10241 Handle arbitrarily long C++ member initialisation lists.
10242 * progmodes/cc-engine.el (c-back-over-member-initializers):
10243 new function.
10244 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10245 (most) member init lists.
10246
10247 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10248
10249 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10250 variable.
10251
10252 2013-04-30 Leo Liu <sdl.web@gmail.com>
10253
10254 * progmodes/octave.el (octave-variables): Remove. No builtin
10255 variables any more. All converted to functions.
10256 (octave-font-lock-keywords, octave-completion-at-point-function):
10257 Fix uses.
10258 (octave-font-lock-texinfo-comment): New user variable.
10259 (octave-texinfo-font-lock-keywords): New variable for texinfo
10260 comment block.
10261 (octave-function-comment-block): New face.
10262 (octave-font-lock-texinfo-comment): New function.
10263 (octave-mode): Font lock texinfo comment block.
10264
10265 2013-04-29 Leo Liu <sdl.web@gmail.com>
10266
10267 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10268 indexing expression.
10269 (octave-continuation-string): Do not use \.
10270 (inferior-octave-complete-impossible): Remove.
10271 (inferior-octave-completion-table)
10272 (inferior-octave-completion-at-point): Remove its uses.
10273 (inferior-octave-startup): completion_matches was introduced to
10274 Octave in 1996 so safe to assume it.
10275 (octave-function-file-comment): Improve to follow how Octave does it.
10276 (octave-update-function-file-comment): Tweak.
10277
10278 2013-04-29 Leo Liu <sdl.web@gmail.com>
10279
10280 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10281 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10282 (octave-function-file-comment): Fix typo.
10283 (octave-sync-function-file-names): Use read-char-choice.
10284
10285 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10286
10287 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10288 to t for the less important warnings.
10289
10290 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10291
10292 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10293
10294 2013-04-27 Glenn Morris <rgm@gnu.org>
10295
10296 * vc/log-view.el (log-view-current-entry):
10297 Treat "---" separator lines as part of the following rev. (Bug#14169)
10298
10299 2013-04-27 Juri Linkov <juri@jurta.org>
10300
10301 * subr.el (read-number): Doc fix about using it by interactive
10302 code letter `n'. (Bug#14254)
10303
10304 2013-04-27 Juri Linkov <juri@jurta.org>
10305
10306 * desktop.el (desktop-auto-save-timeout): New option.
10307 (desktop-file-checksum): New variable.
10308 (desktop-save): Add optional arg `auto-save' and don't auto-save
10309 if nothing changed.
10310 (desktop-auto-save-timer): New variable.
10311 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10312 (after-init-hook): Call `desktop-auto-save-set-timer'.
10313 Suggested by Reuben Thomas <rrt@sc3d.org> in
10314 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10315
10316 2013-04-27 Leo Liu <sdl.web@gmail.com>
10317
10318 * progmodes/octave.el (octave-function-file-p)
10319 (octave-skip-comment-forward, octave-function-file-comment)
10320 (octave-update-function-file-comment): New functions.
10321 (octave-mode-map): Bind C-c ; to
10322 octave-update-function-file-comment.
10323 (octave-mode-menu): Add octave-update-function-file-comment.
10324 (octave-mode, inferior-octave-mode): Fix doc-string.
10325 (octave-insert-defun): Conform to Octave's coding convention.
10326 (Bug#14285)
10327
10328 * files.el (basic-save-buffer): Don't let errors in
10329 before-save-hook prevent saving buffer.
10330
10331 2013-04-20 Roland Winkler <winkler@gnu.org>
10332
10333 * faces.el (read-face-name): Use completing-read if arg multiple
10334 is nil.
10335
10336 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10337
10338 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10339 displayed, move point to after the totals line.
10340 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10341 for the details.
10342
10343 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10346 Add current dir to the load-path.
10347 (package-generate-autoloads): Don't rely on
10348 autoload-ensure-default-file.
10349
10350 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10351
10352 * textmodes/remember.el (remember-store-in-files): Document that
10353 the file name format is passed to `format-time-string'.
10354
10355 2013-04-26 Leo Liu <sdl.web@gmail.com>
10356
10357 * progmodes/octave.el (octave-sync-function-file-names): New function.
10358 (octave-mode): Use it in before-save-hook.
10359
10360 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10363 (bug#14274).
10364
10365 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10366 \n and comment, even if it's not an implicit ; (bug#14218).
10367
10368 2013-04-26 Glenn Morris <rgm@gnu.org>
10369
10370 * subr.el (read-number): Once more use `read' rather than
10371 `string-to-number', to trap non-numeric input. (Bug#14254)
10372
10373 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10374
10375 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10376 Use `syntax-multiline' text property consistently instead of
10377 `font-lock-multiline'. (Bug#14237)
10378
10379 2013-04-26 Glenn Morris <rgm@gnu.org>
10380
10381 * emacs-lisp/shadow.el (list-load-path-shadows):
10382 No longer necessary to check for duplicate simple.el, since
10383 2012-07-07 change to init_lread to not include installation lisp
10384 directories in load-path when running uninstalled. (Bug#14270)
10385
10386 2013-04-26 Leo Liu <sdl.web@gmail.com>
10387
10388 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10389 (octave-mode, inferior-octave-mode): Use setq-local.
10390 (octave-not-in-string-or-comment-p): Rename to
10391 octave-in-string-or-comment-p.
10392 (octave-in-comment-p, octave-in-string-p)
10393 (octave-in-string-or-comment-p): Replace defsubst with defun.
10394
10395 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10396
10397 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10398
10399 2013-04-25 Bastien Guerry <bzg@gnu.org>
10400
10401 * textmodes/remember.el (remember-data-directory)
10402 (remember-directory-file-name-format): Fix custom types.
10403
10404 2013-04-25 Leo Liu <sdl.web@gmail.com>
10405
10406 * progmodes/octave.el (octave-completion-at-point-function):
10407 Make use of inferior octave process.
10408 (octave-initialize-completions): Remove.
10409 (inferior-octave-completion-table): New function.
10410 (inferior-octave-completion-at-point): Use it.
10411 (octave-completion-alist): Remove.
10412
10413 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10416 (opascal-mode-syntax-table): New var.
10417 (opascal-literal-kind, opascal-is-literal-end)
10418 (opascal-literal-token-at): Rewrite.
10419 (opascal--literal-start-re, opascal-font-lock-keywords)
10420 (opascal--syntax-propertize): New constants.
10421 (opascal-font-lock-defaults): Adjust.
10422 (opascal-mode): Use them. Set comment-<foo> variables as well.
10423 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10424 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10425 (delphi-other-face, opascal-other-face): Remove face variables.
10426 (opascal-save-state): Remove macro.
10427 (opascal-fontifying-progress-step): Remove constant.
10428 (opascal--ignore-changes): Remove var.
10429 (opascal-set-token-property, opascal-parse-next-literal)
10430 (opascal-is-stable-literal, opascal-complete-literal)
10431 (opascal-is-literal-start, opascal-face-of)
10432 (opascal-parse-region, opascal-parse-region-until-stable)
10433 (opascal-fontify-region, opascal-after-change)
10434 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10435 (opascal-debug-parse-region, opascal-debug-parse-window)
10436 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10437 (opascal-debug-fontify-buffer): Remove.
10438 (opascal-debug-mode-map): Adjust accordingly.
10439
10440 2013-04-25 Leo Liu <sdl.web@gmail.com>
10441
10442 Merge octave-mod.el and octave-inf.el into octave.el with some
10443 cleanups.
10444 * progmodes/octave.el: New file renamed from octave-mod.el.
10445 * progmodes/octave-inf.el: Merged into octave.el.
10446 * progmodes/octave-mod.el: Renamed to octave.el.
10447
10448 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10449
10450 * textmodes/reftex-vars.el
10451 (reftex-label-ignored-macros-and-environments): New defcustom.
10452
10453 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10454
10455 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10458 (smie-indent-keyword): Improve the check to ensure that the next
10459 comment is really on the same line.
10460 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10461
10462 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10463 semi-colons if the line is not otherwise empty (bug#14218).
10464
10465 2013-04-25 Glenn Morris <rgm@gnu.org>
10466
10467 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10468
10469 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * progmodes/opascal.el (opascal-set-token-property): Rename from
10472 opascal-set-text-properties and only set `token' (bug#14134).
10473 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10474 (opascal-literal-text-properties): Remove.
10475 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10476 Adjust callers.
10477
10478 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10479
10480 * textmodes/remember.el (remember-handler-functions): Add an
10481 option for a new handler `remember-store-in-files'.
10482 (remember-data-directory, remember-directory-file-name-format):
10483 New options.
10484 (remember-store-in-files): New function to store remember notes
10485 as separate files within a directory.
10486
10487 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10488
10489 * progmodes/compile.el (compilation-next-error-function):
10490 Pass "formats" to compilation-find-file (bug#11777).
10491
10492 2013-04-24 Glenn Morris <rgm@gnu.org>
10493
10494 * vc/vc-bzr.el (vc-bzr-print-log):
10495 * vc/vc-hg.el (vc-hg-print-log):
10496 * vc/vc-svn.el (vc-svn-print-log):
10497 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10498
10499 * vc/vc-bzr.el (vc-bzr-print-log):
10500 * vc/vc-cvs.el (vc-cvs-print-log):
10501 * vc/vc-git.el (vc-git-print-log):
10502 * vc/vc-hg.el (vc-hg-print-log):
10503 * vc/vc-mtn.el (vc-mtn-print-log):
10504 * vc/vc-rcs.el (vc-rcs-print-log):
10505 * vc/vc-sccs.el (vc-sccs-print-log):
10506 * vc/vc-svn.el (vc-svn-print-log):
10507 * vc/vc.el (vc-print-log-internal): Doc fixes.
10508
10509 2013-04-23 Glenn Morris <rgm@gnu.org>
10510
10511 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10512 Remove venerable code attempting to avoid substitute-command-keys.
10513
10514 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10515
10516 * textmodes/reftex-vars.el (reftex-label-regexps):
10517 Call `reftex-compile-variables' after changes to this variable.
10518
10519 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10522 Use lexical-binding.
10523 (jit-lock-force-redisplay): Use markers, check buffer's continued
10524 existence and beware narrowed buffers.
10525 (jit-lock-fontify-now): Adjust call accordingly.
10526
10527 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10530 to avoid misleading the user.
10531
10532 2013-04-22 Leo Liu <sdl.web@gmail.com>
10533
10534 * info-look.el: Prefer latex2e.info. (Bug#14240)
10535
10536 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10537
10538 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10539
10540 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10541 * net/tramp.el (tramp-call-process): ... here.
10542 (tramp-set-completion-function, tramp-parse-putty):
10543 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10544 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10545 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10546 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10547 (tramp-call-local-coding-command): Use `tramp-call-process'
10548 instead of `tramp-compat-call-process'.
10549
10550 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10551 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10552 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10553 (tramp-find-inline-compress): Improve traces.
10554 (tramp-maybe-send-script): Check for Perl binary.
10555 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10556
10557 2013-04-22 Daiki Ueno <ueno@gnu.org>
10558
10559 * epg.el (epg-context-pinentry-mode): New function.
10560 (epg-context-set-pinentry-mode): New function.
10561 (epg--start): Pass --pinentry-mode option to gpg command.
10562
10563 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10564
10565 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10566 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10567 `completion-at-point'. (Bug#13774)
10568
10569 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10570 default key binding for `describe-distribution' has been moved to
10571 `C-h C-o'. (Bug#13970)
10572
10573 2013-04-21 Glenn Morris <rgm@gnu.org>
10574
10575 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10576 Add doc strings.
10577 (vc-print-log): Clarify interactive prompt.
10578
10579 2013-04-20 Glenn Morris <rgm@gnu.org>
10580
10581 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10582 No longer include timestamp etc information.
10583
10584 2013-04-20 Roland Winkler <winkler@gnu.org>
10585
10586 * faces.el (read-face-name): Bug fix, return just one face if arg
10587 multiple is nil. (Bug#14209)
10588
10589 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10592 (remove-function): Autoload.
10593
10594 * comint.el (comint-redirect-original-filter-function): Remove.
10595 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10596 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10597 (vc-cvs-annotate-command):
10598 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10599 * progmodes/prolog.el (prolog-consult-compile):
10600 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10601 Use add/remove-function instead.
10602 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10603 (gud-tooltip-process-output, gud-tooltip-tips):
10604 Use add/remove-function instead.
10605 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10606 (scheme-interaction-mode, exit-scheme-interaction-mode):
10607 Use add/remove-function instead.
10608
10609 * vc/vc-dispatcher.el: Use lexical-binding.
10610 (vc--process-sentinel): Rename from vc-process-sentinel.
10611 Change last arg to be the code to run. Don't use vc-previous-sentinel
10612 and vc-sentinel-commands any more.
10613 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10614 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10615
10616 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10617
10618 * progmodes/sh-script.el (sh-imenu-generic-expression):
10619 Handle function names with a single character. (Bug#14111)
10620
10621 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10622
10623 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10624 for subroutines defined in an eval (bug#14182).
10625
10626 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10627
10628 * bookmark.el (bookmark-completing-read): Improve handling of empty
10629 string (bug#14176).
10630
10631 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10634
10635 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10636
10637 New faster Imenu implementation (bug#14058).
10638 * progmodes/python.el:
10639 (python-imenu-prev-index-position):
10640 (python-imenu-format-item-label-function)
10641 (python-imenu-format-parent-item-label-function)
10642 (python-imenu-format-parent-item-jump-label-function):
10643 New vars.
10644 (python-imenu-format-item-label)
10645 (python-imenu-format-parent-item-label)
10646 (python-imenu-format-parent-item-jump-label)
10647 (python-imenu--put-parent, python-imenu--build-tree)
10648 (python-imenu-create-index, python-imenu-create-flat-index)
10649 (python-util-popn): New functions.
10650 (python-mode): Set imenu-create-index-function to
10651 python-imenu-create-index.
10652
10653 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10654
10655 * winner.el (winner-active-region): Use region-active-p, activate-mark
10656 and deactivate-mark (bug#14225).
10657
10658 * simple.el (deactivate-mark): Don't inline it.
10659
10660 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10661
10662 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10663
10664 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10665
10666 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10667 file extensions from the archive-mode entry in order to prefer
10668 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10669
10670 2013-04-18 Leo Liu <sdl.web@gmail.com>
10671
10672 * bindings.el (help-event-list): Add ?\?.
10673
10674 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10675
10676 * subr.el (with-wrapper-hook): Declare obsolete.
10677 * simple.el (filter-buffer-substring-function): New hook.
10678 (filter-buffer-substring): Use it.
10679 (filter-buffer-substring-functions): Mark obsolete.
10680 * minibuffer.el (completion-in-region-function): New hook.
10681 (completion-in-region): Use it.
10682 (completion-in-region-functions): Mark obsolete.
10683 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10684 * abbrev.el (abbrev-expand-function): New hook.
10685 (expand-abbrev): Use it.
10686 (abbrev-expand-functions): Mark obsolete.
10687 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10688 and :filter-return.
10689
10690 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10691
10692 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10693 and do not care about match data.
10694
10695 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10698 completion tables when completing error conditions and
10699 `declare' arguments.
10700 (lisp-complete-symbol, field-complete): Mark as obsolete.
10701 (check-parens): Unmatched parens are user errors.
10702 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10703
10704 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10705
10706 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10707 command changed buffer (ie. `flyspell-pre-buffer' is not current
10708 buffer), which prevents making decisions based on invalid value of
10709 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10710 cause an error when `flyspell-pre-point' was nil after switching
10711 buffers.
10712 (flyspell-post-command-hook): No longer needs to change buffers when
10713 checking pre-word. While at it remove unnecessary progn.
10714
10715 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10716
10717 * textmodes/ispell.el (ispell-add-per-file-word-list):
10718 Fix `flyspell-correct-word-before-point' error when accepting
10719 words and `coment-padding' is an integer by using
10720 `comment-normalize-vars' (Bug #14214).
10721
10722 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10723
10724 New defun movement commands.
10725 * progmodes/python.el (python-nav--syntactically)
10726 (python-nav--forward-defun, python-nav-backward-defun)
10727 (python-nav-forward-defun): New functions.
10728
10729 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10730
10731 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10732 (python-syntax-context): Use named compiler-macro for backwards
10733 compatibility with Emacs 24.x.
10734
10735 2013-04-17 Leo Liu <sdl.web@gmail.com>
10736
10737 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10738 octave-hide-process-buffer.
10739
10740 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10743 (bug#14216).
10744
10745 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10746
10747 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10748 Fix adjustment of offset when receiving incomplete responses from GDB
10749 (bug#14129).
10750
10751 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10754 python-mode-abbrev-table.
10755 (python-skeleton-define): Adjust accordingly.
10756 (python-mode-abbrev-table): New table that inherits from it so that
10757 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10758
10759 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10760 (abbrev-symbol): Use it.
10761 (abbrev--before-point): Use it since we already handle inheritance.
10762
10763 2013-04-16 Leo Liu <sdl.web@gmail.com>
10764
10765 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10766 binding to info-lookup-symbol.
10767
10768 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10769
10770 * minibuffer.el (completion--twq-all):
10771 * term/ns-win.el (ns-initialize-window-system):
10772 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10773
10774 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10777 global bindings.
10778
10779 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10780
10781 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10782
10783 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10784 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10785 to nil.
10786 (ruby-end-of-defun): Remove the unused arg, change the docstring
10787 to reflect that this function is only used as the value of
10788 `end-of-defun-function'.
10789 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10790 to reflect an earlier change that beginning/end-of-defun functions
10791 jump between methods in a class definition, as well as top-level
10792 functions.
10793
10794 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * minibuffer.el (minibuffer-complete): Don't just scroll
10797 a *Completions* that's been iconified.
10798 (minibuffer-force-complete): Make sure repetitions do cycle when going
10799 through completion-in-region -> minibuffer-complete.
10800
10801 2013-04-15 Alan Mackenzie <acm@muc.de>
10802
10803 Correct the placement of c-cpp-delimiters when there're #s not at
10804 col 0.
10805
10806 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10807 place a submatch around the #.
10808 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10809 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10810 on the #, not BOL.
10811
10812 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10815 (advice--member-p): New arg `name'.
10816 (advice--add-function, advice-member-p): Use it (bug#14202).
10817
10818 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10819
10820 Reformulate java imenu-generic-expression.
10821 The old expression contained ill formed regexps.
10822
10823 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10824 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10825 (cc-imenu-java-method-arg-regexp): New defconsts.
10826 (cc-imenu-java-build-type-args-regex): New defun.
10827 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10828 handling of spaces in the regexp.
10829
10830 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10831
10832 * textmodes/ispell.el (ispell-command-loop): Remove
10833 flyspell highlight of a word when ispell accepts it (bug #14178).
10834
10835 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10836
10837 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10838 uses code from the previous `ange-ftp-run-real-handler'.
10839 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10840 only in case that function exist. This is needed for proper
10841 unloading of Tramp.
10842
10843 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10844
10845 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10846
10847 * textmodes/reftex.el (reftex-compile-variables): Use it.
10848
10849 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * files.el (normal-mode): Only use default major-mode if no other mode
10852 was specified.
10853
10854 * emacs-lisp/trace.el (trace-values): New function.
10855
10856 * files.el: Allow : in local variables (bug#14089).
10857 (hack-local-variable-regexp): New var.
10858 (hack-local-variables-prop-line, hack-local-variables): Use it.
10859
10860 2013-04-13 Roland Winkler <winkler@gnu.org>
10861
10862 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10863 data before it gets modified by bibtex-beginning-of-entry.
10864
10865 2013-04-13 Roland Winkler <winkler@gnu.org>
10866
10867 * textmodes/bibtex.el (bibtex-url): Doc fix.
10868
10869 2013-04-13 Roland Winkler <winkler@gnu.org>
10870
10871 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10872 does not visit a BibTeX file, exclude it from the list of buffers
10873 returned by bibtex-initialize.
10874
10875 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10876
10877 * window.el (split-window): Remove interactive form, since as a
10878 command this function is a special case of split-window-below.
10879 Correct doc string.
10880
10881 2013-04-12 Roland Winkler <winkler@gnu.org>
10882
10883 * faces.el (read-face-name): Do not override value of arg default.
10884 Allow single faces and strings as default values. Remove those
10885 elements from return value that are not faces.
10886 (describe-face): Simplify.
10887 (face-at-point): New optional args thing and multiple so that this
10888 function can provide the same functionality previously provided by
10889 read-face-name.
10890 (make-face-bold, make-face-unbold, make-face-italic)
10891 (make-face-unitalic, make-face-bold-italic, invert-face)
10892 (modify-face, read-face-and-attribute): Use face-at-point.
10893
10894 * cus-edit.el (customize-face, customize-face-other-window)
10895 * cus-theme.el (custom-theme-add-face)
10896 * face-remap.el (buffer-face-set)
10897 * facemenu.el (facemenu-set-face): Use face-at-point.
10898
10899 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10900
10901 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10902
10903 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10904
10905 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10906 off leading { and trailing } from field values.
10907
10908 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * emacs-lisp/timer.el (timer--check): New function.
10911 (timer--time, timer-set-function, timer-event-handler): Use it.
10912 (timer-set-idle-time): Simplify.
10913 (timer--activate): CSE.
10914 (timer-event-handler): Give more info in error message.
10915 (internal-timer-start-idle): New function, moved from C.
10916
10917 * mpc.el (mpc-proc): Add `restart' argument.
10918 (mpc-proc-cmd): Use it.
10919 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10920 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10921 less often.
10922
10923 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10924
10925 * progmodes/sh-script.el: Implement `sh-mode' own
10926 `add-log-current-defun-function' (bug#14112).
10927 (sh-current-defun-name): New function.
10928 (sh-mode): Use the function.
10929
10930 2013-04-09 Bastien Guerry <bzg@gnu.org>
10931
10932 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10933
10934 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10937
10938 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10939 timer (bug#14156).
10940
10941 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10942
10943 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10944 declaration.
10945
10946 2013-04-07 Leo Liu <sdl.web@gmail.com>
10947
10948 * pcmpl-x.el: New file.
10949
10950 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10951
10952 Do not set x-display-name until X connection is established.
10953 This is needed to prevent from weird situation described at
10954 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10955 * frame.el (make-frame): Set x-display-name after call to
10956 window system initialization function, not before.
10957 * term/x-win.el (x-initialize-window-system): Add optional
10958 display argument and use it.
10959 * term/w32-win.el (w32-initialize-window-system):
10960 * term/ns-win.el (ns-initialize-window-system):
10961 * term/pc-win.el (msdos-initialize-window-system):
10962 Add compatible optional display argument.
10963
10964 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10965
10966 * files.el (normal-backup-enable-predicate): On MS-Windows and
10967 MS-DOS compare truenames of temporary-file-directory and of the
10968 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10969 don't fail comparison by compare-strings. Also, compare file
10970 names case-insensitively on MS-Windows and MS-DOS.
10971
10972 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10975 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10976
10977 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10978
10979 * whitespace.el (whitespace-color-on, whitespace-color-off):
10980 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10981
10982 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10983
10984 * ispell.el (ispell-set-spellchecker-params):
10985 Really set `ispell-args' for all equivs.
10986
10987 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * ido.el (ido-completions): Use extra elements of ido-decorations
10990 (bug#14143).
10991 (ido-decorations): Update docstring.
10992
10993 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10994
10995 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10996 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10997 nil during initialization, in order not to miss changes since the
10998 file was opened. (Bug#14140)
10999
11000 2013-04-05 Leo Liu <sdl.web@gmail.com>
11001
11002 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11003
11004 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11005
11006 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11007
11008 2013-04-04 Glenn Morris <rgm@gnu.org>
11009
11010 * electric.el (electric-pair-inhibit-predicate): Add :version.
11011
11012 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11015 when a package is required several times (bug#14082).
11016
11017 2013-04-04 Roland Winkler <winkler@gnu.org>
11018
11019 * faces.el (read-face-name): Behave as promised by the docstring.
11020 Assume that arg default is a list of faces.
11021 (describe-face): Call read-face-name with list of default faces.
11022
11023 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11024
11025 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11026 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11027 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11028 the header.
11029 (bookmark-exit-hook-internal): Save even if list is empty.
11030
11031 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11032
11033 * emacs-lisp/package.el (package-pinned-packages): New var.
11034 (package--add-to-archive-contents): Obey it (bug#14118).
11035
11036 2013-04-03 Alan Mackenzie <acm@muc.de>
11037
11038 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11039 Also adapt to the new values of element 7 of a parse state.
11040
11041 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11042 parameter `not-in-delimiter'. Handle being inside comment opener.
11043 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11044 character in case we're typing a '*' after a '/'.
11045 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11046 instead by passing the parameter to c-state-pp-to-literal.
11047
11048 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11049 for elt. 7 of a parse state.
11050
11051 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11052
11053 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11054 * international/latin1-disp.el, international/mule-util.el:
11055 * language/cyril-util.el, language/european.el, language/ind-util.el:
11056 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11057 * language/tibetan.el, language/viet-util.el:
11058 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11059
11060 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11063 (electric-pair-post-self-insert-function): Use it.
11064 (electric-pair-default-inhibit): New function, extracted from
11065 electric-pair-post-self-insert-function.
11066
11067 2013-03-31 Roland Winkler <winkler@gnu.org>
11068
11069 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11070
11071 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11074
11075 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11076
11077 Un-indent after "pass" and "return" statements (Bug#13888)
11078 * progmodes/python.el (python-indent-block-enders): New var.
11079 (python-indent-calculate-indentation): Use it.
11080
11081 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11082
11083 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11084 defun. Defining it as defalias could introduce too eager
11085 byte-compiler optimization. (Bug#14030)
11086
11087 2013-03-30 Chong Yidong <cyd@gnu.org>
11088
11089 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11090
11091 2013-03-30 Leo Liu <sdl.web@gmail.com>
11092
11093 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11094 (kmacro-execute-from-register): Pass the keyboard macro to
11095 kmacro-call-macro or repeating won't work correctly.
11096
11097 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11098
11099 * progmodes/subword.el: Back to using `forward-symbol'.
11100
11101 * subr.el (forward-whitespace, forward-symbol)
11102 (forward-same-syntax): Move from thingatpt.el.
11103
11104 2013-03-29 Leo Liu <sdl.web@gmail.com>
11105
11106 * kmacro.el (kmacro-to-register): New command.
11107 (kmacro-execute-from-register): New function.
11108 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11109
11110 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * mpc.el: Use defvar-local and setq-local.
11113 (mpc--proc-connect): Connection failures are not bugs.
11114 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11115 (mpc-volume-map): Bind to the up-events.
11116
11117 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11118
11119 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11120 instead of `forward-symbol'.
11121
11122 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11125 (edebug--recursive-edit): Use it.
11126 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11127 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11128
11129 2013-03-28 Leo Liu <sdl.web@gmail.com>
11130
11131 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11132
11133 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11134
11135 * facemenu.el (list-colors-callback): New defvar.
11136 (list-colors-redisplay): New function.
11137 (list-colors-display): Install list-colors-redisplay as the
11138 revert-buffer-function. (Bug#14063)
11139
11140 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11143 and suffixes don't overlap (bug#14061).
11144
11145 * case-table.el: Use lexical-binding.
11146 (case-table-get-table): New function.
11147 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11148
11149 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11150
11151 * progmodes/subword.el: Add `superword-mode' to do word motion
11152 over symbol_words (parallels and leverages `subword-mode' which
11153 does word motion inside MixedCaseWords).
11154
11155 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11156
11157 * eshell/em-unix.el: Move su and sudo to...
11158 * eshell/em-tramp.el: ...Eshell tramp module.
11159
11160 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11163 Change return value to be a sexp. Delay `get-buffer' to after
11164 restoring the desktop (bug#13951).
11165
11166 2013-03-26 Leo Liu <sdl.web@gmail.com>
11167
11168 * register.el: Move semantic tag handling back to
11169 cedet/semantic/senator.el. (Bug#14052)
11170
11171 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11174 into the prompt either (bug#13963).
11175
11176 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11179 part of "(error-foo)".
11180
11181 2013-03-24 Juri Linkov <juri@jurta.org>
11182
11183 * replace.el (list-matching-lines-prefix-face): New defcustom.
11184 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11185 `occur-engine' if `face-differs-from-default-p' returns t.
11186 (occur-engine): Add `,' inside backquote construct to evaluate
11187 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11188 Pass `prefix-face' to the functions `occur-context-lines' and
11189 `occur-engine-add-prefix'.
11190 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11191 `prefix-face' and propertize the prefix with `prefix-face'.
11192 (Bug#14017)
11193
11194 2013-03-24 Leo Liu <sdl.web@gmail.com>
11195
11196 * nxml/rng-valid.el (rng-validate-while-idle)
11197 (rng-validate-quick-while-idle): Guard against deleted buffer.
11198 (Bug#13999)
11199
11200 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11201 is the last entry in kill-buffer-hook.
11202
11203 * files.el (kill-buffer-hook): Doc fix.
11204
11205 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11206
11207 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11208 Make it safe-local.
11209
11210 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11211
11212 2013-03-23 Leo Liu <sdl.web@gmail.com>
11213
11214 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11215 Remove.
11216
11217 * nxml/rng-valid.el (rng-validate-mode)
11218 (rng-after-change-function, rng-do-some-validation):
11219 * nxml/rng-maint.el (rng-validate-buffer):
11220 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11221 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11222 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11223 (nxml-extend-after-change-region): Use with-silent-modifications.
11224
11225 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11226 timer-idle-list.
11227
11228 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11229 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11230 timer-idle-list. (Bug#13999)
11231
11232 2013-03-23 Juri Linkov <juri@jurta.org>
11233
11234 * info.el (info-index-match): New face.
11235 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11236 main pattern and add text properties with the new face to matches
11237 in index entries relative to the beginning of the index entry.
11238 (Bug#14015)
11239
11240 2013-03-21 Eric Ludlam <zappo@gnu.org>
11241
11242 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11243 Inhibit read only while inserting objects.
11244
11245 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11246
11247 * progmodes/cfengine.el: Update docs to mention
11248 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11249 symbol motion. Remove "_" from the word syntax.
11250
11251 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11252
11253 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11254 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11255
11256 2013-03-20 Juri Linkov <juri@jurta.org>
11257
11258 * info.el (Info-next-reference-or-link)
11259 (Info-prev-reference-or-link): New functions.
11260 (Info-next-reference, Info-prev-reference): Use them.
11261 (Info-try-follow-nearest-node): Handle footnote navigation.
11262 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11263
11264 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11267 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11268
11269 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11270
11271 Suppress unnecessary non-ASCII chatter during build process.
11272 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11273 (batch-skkdic-convert): Suppress most of the chatter.
11274 It's not needed so much now that machines are faster,
11275 and its non-ASCII component was confusing; see Dmitry Gutov in
11276 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11277
11278 2013-03-20 Leo Liu <sdl.web@gmail.com>
11279
11280 * ido.el (ido-chop): Fix bug#10994.
11281
11282 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11283
11284 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11285 Remove vars.
11286 (whitespace-color-on, whitespace-color-off):
11287 Use `font-lock-fontify-buffer' (Bug#13817).
11288
11289 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11292 remapping in mode-line.
11293 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11294
11295 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11296
11297 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11298 value for `whitespace-line' face (Bug#13875).
11299 (whitespace-font-lock-keywords): Change description.
11300 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11301 the constructed keywords instead.
11302 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11303
11304 2013-03-19 Leo Liu <sdl.web@gmail.com>
11305
11306 * progmodes/compile.el (compilation-display-error): New command.
11307 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11308 C-o. (Bug#13992)
11309
11310 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11311
11312 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11313
11314 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11315
11316 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11317
11318 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11319
11320 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11321
11322 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11323 * net/tramp-gvfs.el (top):
11324 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11325 (tramp-handle-shell-command): Use it.
11326 (tramp-dissect-file-name): Raise an error when hostname is a
11327 method name, and neither method nor user is specified.
11328
11329 * net/trampver.el: Update release number.
11330
11331 2013-03-18 Leo Liu <sdl.web@gmail.com>
11332
11333 Make sure eldoc can be turned off properly.
11334 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11335 eldoc-mode.
11336 (eldoc-display-message-p): Revert last change.
11337 (eldoc-display-message-no-interference-p)
11338 (eldoc-print-current-symbol-info): Tweak.
11339
11340 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11341
11342 * doc-view.el (doc-view-new-window-function): Check the new window
11343 overlay's display property instead the char property of the
11344 buffer's first char. Use `with-selected-window' instead of
11345 `save-window-excursion' with `select-window'.
11346 (doc-view-document->bitmap): Check the current doc-view overlay's
11347 display property instead the char property of the buffer's first char.
11348
11349 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11350
11351 Automate the build of ja-dic.el (Bug#13984).
11352 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11353 from the input, rather than assume that it's been done for us by the
11354 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11355 the current date into a ja-dic.el comment, as that complicates
11356 regression testing.
11357
11358 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * whitespace.el: Fix double evaluation.
11361 (whitespace-space, whitespace-hspace, whitespace-tab)
11362 (whitespace-newline, whitespace-trailing, whitespace-line)
11363 (whitespace-space-before-tab, whitespace-indentation)
11364 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11365 obsolete defvars.
11366 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11367 (whitespace-color-on): Use a single font-lock-add-keywords call.
11368 Fix double-evaluation of face variables.
11369
11370 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11371
11372 * net/tramp-adb.el (tramp-adb-parse-device-names):
11373 Use `start-process' instead of `call-process'. Otherwise, the
11374 function might be blocked under MS Windows. (Bug#13299)
11375
11376 2013-03-17 Leo Liu <sdl.web@gmail.com>
11377
11378 Extend eldoc to display info in the mode-line. (Bug#13978)
11379 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11380 (eldoc-mode-line-string): New variable.
11381 (eldoc-minibuffer-message): New function.
11382 (eldoc-message-function): New variable.
11383 (eldoc-message): Use it.
11384 (eldoc-display-message-p)
11385 (eldoc-display-message-no-interference-p):
11386 Support eldoc-post-insert-mode.
11387
11388 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11389 (eval-expression): Run it.
11390
11391 2013-03-17 Roland Winkler <winkler@gnu.org>
11392
11393 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11394 strings in the list of return values.
11395
11396 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11397
11398 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11399 radix before checking for HMS forms.
11400
11401 2013-03-16 Leo Liu <sdl.web@gmail.com>
11402
11403 * progmodes/scheme.el: Add indentation and font-locking for λ.
11404 (Bug#13975)
11405
11406 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11409 token before point (bug#13942).
11410
11411 2013-03-16 Leo Liu <sdl.web@gmail.com>
11412
11413 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11414
11415 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11416
11417 * startup.el (command-line-normalize-file-name): Fix handling of
11418 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11419 <xfq.free@gmail.com> in
11420 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11421
11422 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11423
11424 Sync with Tramp 2.2.7.
11425
11426 * net/trampver.el: Update release number.
11427
11428 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11429
11430 * doc-view.el: Fix bug#13887.
11431 (doc-view-insert-image): Don't modify overlay associated to
11432 non-live windows, and implement horizontal centering of image in
11433 case it's smaller than the window.
11434 (doc-view-new-window-function): Force redisplay of new windows on
11435 doc-view buffers.
11436
11437 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11438
11439 * saveplace.el (save-place-alist-to-file): Don't sort
11440 `save-place-alist', just pretty-print it (bug#13882).
11441
11442 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11443
11444 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11445 Check whether `default-file-name-coding-system' is bound.
11446 It isn't in XEmacs.
11447
11448 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11451 backquotes for `obsolete' (bug#13929).
11452
11453 * international/mule.el (find-auto-coding): Include file name in
11454 obsolescence warning (bug#13922).
11455
11456 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11457
11458 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11459 for CFEngine 3-specific indentation.
11460 (cfengine3-indent-line): Use it. Fix up category regex.
11461 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11462
11463 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * type-break.el (type-break-file-name):
11466 * textmodes/remember.el (remember-data-file):
11467 * strokes.el (strokes-file):
11468 * shadowfile.el (shadow-initialize):
11469 * saveplace.el (save-place-file):
11470 * ps-bdf.el (bdf-cache-file):
11471 * progmodes/idlwave.el (idlwave-config-directory):
11472 * net/quickurl.el (quickurl-url-file):
11473 * international/kkc.el (kkc-init-file-name):
11474 * ido.el (ido-save-directory-list-file):
11475 * emulation/viper.el (viper-custom-file-name):
11476 * emulation/vip.el (vip-startup-file):
11477 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11478 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11479
11480 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11481
11482 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11483 * language/thai-word.el: Switch to UTF-8.
11484
11485 See ChangeLog.16 for earlier changes.
11486
11487 ;; Local Variables:
11488 ;; coding: utf-8
11489 ;; End:
11490
11491 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11492
11493 This file is part of GNU Emacs.
11494
11495 GNU Emacs is free software: you can redistribute it and/or modify
11496 it under the terms of the GNU General Public License as published by
11497 the Free Software Foundation, either version 3 of the License, or
11498 (at your option) any later version.
11499
11500 GNU Emacs is distributed in the hope that it will be useful,
11501 but WITHOUT ANY WARRANTY; without even the implied warranty of
11502 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11503 GNU General Public License for more details.
11504
11505 You should have received a copy of the GNU General Public License
11506 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.