ca34fd6e482b438257e9977a1a7f534d6ef498d4
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-20 Juri Linkov <juri@jurta.org>
2
3 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4 (read-regexp-suggestions): New function.
5 (read-regexp): Use `read-regexp-defaults-function' to get default values.
6 Use `read-regexp-suggestions'. Add non-empty default to history
7 for empty input.
8 (occur-read-regexp-defaults-function): Remove function.
9 (occur-read-primary-args): Use `regexp-history-last' instead of
10 `occur-read-regexp-defaults-function'.
11
12 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
15 `hi-lock-read-regexp-defaults-function'. Doc fix.
16 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
17 with `find-tag-default-as-symbol-regexp'. Doc fix.
18 (hi-lock-read-regexp-defaults): Remove function.
19 (hi-lock-regexp-okay): Add check for null.
20
21 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
22 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
23
24 * subr.el (find-tag-default-as-symbol-regexp): New function.
25 (find-tag-default-as-regexp): Move symbol regexp formatting to
26 `find-tag-default-as-symbol-regexp'.
27
28 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
29
30 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
31 (Bug#14179)
32
33 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
34
35 * calendar/todo-mode.el: New implementation of item insertion
36 commands and key bindings.
37 (todo-key-prompt): New face.
38 (todo-insert-item): New command.
39 (todo-insert-item--parameters): New defconst, replacing defvar
40 todo-insertion-commands-args-genlist.
41 (todo-insert-item--param-key-alist): New defconst, replacing
42 defvar todo-insertion-commands-arg-key-list.
43 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
44 (todo-insert-item--argsleft, todo-insert-item--apply-args)
45 (todo-insert-item--next-param): New functions.
46 (todo-insert-item--args, todo-insert-item--argleft)
47 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
48 New variables.
49 (todo-key-bindings-t): Change binding of "i" from
50 todo-insertion-map to todo-insert-item.
51 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
52 (todo-insertion-command-name, todo-insertion-commands-names)
53 (todo-define-insertion-command, todo-insertion-commands)
54 (todo-insertion-key-bindings, todo-insertion-map): Remove.
55
56 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
57
58 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
59 (todo-toggle-item-highlighting): Use eval-and-compile instead of
60 eval-when-compile.
61 (todo-move-category): Allow choosing a non-existing todo file to
62 move the category to, and create that file.
63 (todo-default-priority): New user option.
64 (todo-set-item-priority): Use it.
65 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
66 (desktop-restore-file-buffer): Declare.
67 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
68 (todo-modes-set-2): Locally set desktop-save-buffer to
69 todo-desktop-save-buffer.
70 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
71 (auto-mode-alist): Add autoload cookie.
72
73 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
74
75 * emacs-lisp/subr-x.el: Renamed from helpers.el.
76 helpers.el was a poor choice of name.
77 (string-remove-prefix): New function.
78 (string-remove-suffix): New function.
79
80 2013-12-20 Martin Rudalics <rudalics@gmx.at>
81
82 Fix assignment for new window total sizes.
83 * window.el (window--pixel-to-size): Remove function.
84 (window--pixel-to-total-1, window--pixel-to-total): Fix
85 calculation of new total sizes.
86
87 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
88
89 * comint.el (comint-output-filter): Fix rear-nonsticky property
90 placement (Bug#16010).
91
92 2013-12-20 Chong Yidong <cyd@gnu.org>
93
94 * faces.el (read-color): Minor fix for completion function.
95
96 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
97
98 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
99 option. (Bug#16182)
100 (ruby-smie--indent-to-stmt-p): Use it.
101 (ruby-smie-rules): Revert the logic in the handling of `when'.
102 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
103 (ruby-deep-arglist, ruby-deep-indent-paren)
104 (ruby-deep-indent-paren-style): Update docstrings to note that the
105 vars don't have any effect with SMIE.
106
107 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
108
109 * calc/calc.el (calc-enter, calc-pop): Use the variable
110 `calc-context-sensitive-enter'.
111
112 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
113
114 * net/shr.el (shr-insert): Protect against infloops in degenerate
115 tables.
116
117 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
118
119 * progmodes/octave.el (octave): Add link to manual and octave
120 homepage.
121 (octave-mode-menu): Link to octave-mode manual.
122
123 2013-12-20 Leo Liu <sdl.web@gmail.com>
124
125 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
126 insertion using skeleton-end-newline. (Bug#16138)
127
128 2013-12-20 Juri Linkov <juri@jurta.org>
129
130 * replace.el (occur-engine): Use `add-face-text-property'
131 to add the face property to matches and titles. (Bug#14645)
132
133 * hi-lock.el (hi-green): Use lighter color "light green" closer to
134 the palette of other hi-lock colors.
135 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
136
137 2013-12-19 Juri Linkov <juri@jurta.org>
138
139 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
140 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
141 (minibuffer-history-symbol): Move variable declaration closer to
142 its usage.
143
144 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
145 (Bug#14785)
146
147 2013-12-19 Juri Linkov <juri@jurta.org>
148
149 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
150 New function.
151 (log-edit-hook): Add it to :options. (Bug#16170)
152
153 2013-12-19 Juri Linkov <juri@jurta.org>
154
155 * simple.el (eval-expression-print-format): Don't check for
156 command names and the last command. Always display additional
157 formats of the integer result in the echo area, and insert them
158 to the current buffer only with a zero prefix arg.
159 Display character when char-displayable-p is non-nil.
160 (eval-expression): With a zero prefix arg, set `print-length' and
161 `print-level' to nil, and insert the integer values from
162 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
163
164 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
165 `eval-last-sexp-arg-internal'. Doc fix.
166 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
167 `eval-last-sexp-print-value'. Doc fix.
168 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
169 Set `print-length' and `print-level' to nil when arg is zero.
170 (eval-last-sexp): Doc fix.
171 (eval-defun-2): Print the integer values from
172 `eval-expression-print-format' at the end.
173
174 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
175 values from `eval-expression-print-format' at the end.
176
177 * ielm.el (ielm-eval-input): Print the integer
178 values from `eval-expression-print-format' at the end.
179
180 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
181
182 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
183 2013-12-11T19:01:44Z!tzz@lifelogs.com.
184
185 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
188 (hl-line-highlight, global-hl-line-highlight): Use it.
189 (hl-line-overlay): Use defvar-local.
190
191 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
192
193 * term/ns-win.el: Require dnd.
194 (global-map): Remove drag items.
195 (ns-insert-text, ns-set-foreground-at-mouse)
196 (ns-set-background-at-mouse):
197 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
198 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
199 New functions.
200
201 2013-12-19 Glenn Morris <rgm@gnu.org>
202
203 * emacs-lisp/ert.el (ert-select-tests):
204 Fix string/symbol mixup. (Bug#16121)
205
206 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
207
208 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
209 keywords to their parent.
210
211 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
212
213 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
214 first arg to be a string (fixed dead code), or an operator symbol.
215 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
216 operator symbols.
217 (ruby-smie-rules): Remove parent token check in the `.' clause, it
218 did nothing. Don't respond to `(:after ".")', it will be called
219 with :before anyway. Remove the ` @ ' rule, it didn't seem to
220 change anything. Only return indentation for binary operators
221 when they are hanging. De-dent opening paren when its parent is
222 `.', otherwise it looks bad when the dot is not at bol or eol
223 (bug#16182).
224
225 2013-12-19 Juri Linkov <juri@jurta.org>
226
227 * replace.el (query-replace-read-args): Split a non-negative arg
228 and a negative arg into separate elements.
229 (query-replace, query-replace-regexp, replace-string)
230 (replace-regexp): Add arg `backward'. Doc fix.
231 (replace-match-maybe-edit): When new arg `backward' is non-nil,
232 move point to the beginning of the match.
233 (replace-search, replace-highlight): Use new arg `backward'
234 to set the value of `isearch-forward'.
235 (perform-replace): Add arg `backward' and use it to perform
236 replacement backward. (Bug#14979)
237
238 * isearch.el (isearch-query-replace): Use a negative prefix arg
239 to call `perform-replace' with a non-nil arg `backward'.
240
241 2013-12-18 Juri Linkov <juri@jurta.org>
242
243 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
244 to the default list. Move `log-edit-show-files' to the end.
245 Add more available functions to options.
246 (log-edit): Move default specific settings to
247 `log-edit-insert-message-template'. Don't move point.
248 (log-edit-insert-message-template): New function.
249 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
250 (Bug#16170)
251
252 2013-12-18 Juri Linkov <juri@jurta.org>
253
254 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
255 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
256
257 2013-12-18 Leo Liu <sdl.web@gmail.com>
258
259 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
260
261 2013-12-18 Eli Zaretskii <eliz@gnu.org>
262
263 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
264 formats for displaying file sizes when the -s switch is given.
265 Instead, compute a separate format for displaying the size in
266 blocks, which is displayed in addition to the "regular" size.
267 When -h is given in addition to -s, produce size in blocks in
268 human-readable form as well. (Bug#16179)
269
270 2013-12-18 Tassilo Horn <tsdh@gnu.org>
271
272 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
273 Reference tables with ~\ref{...} instead of only \ref{...}.
274
275 2013-12-18 Chong Yidong <cyd@gnu.org>
276
277 * cus-edit.el (custom-magic-alist): Fix "themed" description
278 (Bug#14348).
279
280 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
281 is non-nil, do not create a new entry in the symbol's theme-value
282 or theme-face property; update theme-settings only (Bug#14664).
283 (custom-available-themes): Doc fix.
284
285 * cus-theme.el (custom-new-theme-mode-map): Add bindings
286 (Bug#15674).
287
288 * replace.el (occur-engine): Avoid infloop (Bug#7593).
289
290 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
291
292 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
293 (Bug#13914).
294
295 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
296
297 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
298
299 2013-12-18 Glenn Morris <rgm@gnu.org>
300
301 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
302 * cus-start.el (load-prefer-newer): New option.
303
304 2013-12-18 Le Wang <l26wang@gmail.com>
305
306 * comint.el (comint-previous-matching-input-from-input):
307 Retain point (Bug#13404).
308
309 2013-12-18 Chong Yidong <cyd@gnu.org>
310
311 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
312
313 2013-12-18 Glenn Morris <rgm@gnu.org>
314
315 * mail/emacsbug.el (report-emacs-bug):
316 Only mention enable-multibyte-characters if non-standard.
317
318 2013-12-17 Juri Linkov <juri@jurta.org>
319
320 * arc-mode.el (archive-extract-by-file): Check if directory exists
321 before deletion to not show irrelevant errors if it doesn't exist.
322
323 2013-12-17 Juri Linkov <juri@jurta.org>
324
325 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
326 (Bug#14751)
327
328 * net/eww.el (browse-web): Add alias to `eww'.
329 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
330 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
331
332 * net/browse-url.el (browse-url-browser-function): Move `eww'
333 closer to similar functions.
334
335 * startup.el (fancy-startup-screen, fancy-about-screen):
336 Set browse-url-browser-function to eww-browse-url locally.
337 (Bug#14751)
338
339 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * window.el (window--pixel-to-total): Remove unused `mini' var.
342 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
343 (split-window): Remove unused `new' var.
344 (window--display-buffer): Remove unused `frame' and `delta' vars.
345 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
346 and display-width'.
347
348 2013-12-17 Martin Rudalics <rudalics@gmx.at>
349
350 * dired.el (dired-mark-pop-up):
351 * register.el (register-preview): Don't bind
352 split-height-threshold here since it's now done in
353 display-buffer-below-selected.
354
355 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
356
357 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
358 xterm-rgb-convert-to-16bit.
359 (rxvt-register-default-colors): Standardize with
360 xterm-register-default-colors (Bug#14078).
361
362 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
363
364 * simple.el (kill-region): Pass mark first, then point, so that
365 kill-append works right (Bug#12819).
366 (copy-region-as-kill, kill-ring-save): Likewise.
367
368 2013-12-17 Leo Liu <sdl.web@gmail.com>
369
370 * net/rcirc.el (rcirc-add-face):
371 * eshell/em-prompt.el (eshell-emit-prompt):
372 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
373 (Bug#16167)
374
375 2013-12-17 Chong Yidong <cyd@gnu.org>
376
377 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
378 Suggested by Xue Fuqiao.
379
380 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
381
382 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
383
384 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * net/shr.el (shr-insert-document): Remove unused var
387 `shr-preliminary-table-render'.
388 (shr-rescale-image): Remove unused arg `force'.
389 (shr-put-image): Update calls accordingly.
390 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
391
392 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
393
394 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
395 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
396 :close-all, to see which indentation method to use (Bug#16116).
397 (smie-rules-function): Document the method :close-all.
398
399 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
400
401 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
402
403 * net/eww.el (eww-display-html): If we can't find the anchor we're
404 looking for, then go to point-min.
405
406 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
407
408 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
409 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
410 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
411 Expand dir too, in case it's relative.
412
413 2013-12-16 Juri Linkov <juri@jurta.org>
414
415 * desktop.el (desktop-auto-save-timeout): Change default to
416 `auto-save-timeout'. Doc fix.
417 (desktop-save): Skip the timestamp in desktop-saved-frameset
418 when checking for auto-save changes.
419 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
420 `desktop-auto-save' is called repeatedly by the idle timer.
421 (desktop-auto-save-set-timer): Replace `run-with-timer' with
422 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
423 (Bug#15331)
424
425 2013-12-16 Juri Linkov <juri@jurta.org>
426
427 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
428 (Bug#16035)
429 (isearch-pre-command-hook): Check `this-command' for symbolp.
430
431 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
434
435 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
436
437 * progmodes/cfengine.el (cfengine3--current-word): Remove.
438 (cfengine3--current-function): Bring in the current-function
439 functionality from `cfengine3--current-word'.
440 (cfengine3-completion-function): Bring in the
441 bounds-of-current-word functionality from
442 `cfengine3--current-word'.
443
444 2013-12-16 Martin Rudalics <rudalics@gmx.at>
445
446 * window.el (display-buffer-below-selected):
447 Bind split-height-threshold to 0 as suggested by Juri Linkov.
448
449 2013-12-16 Leo Liu <sdl.web@gmail.com>
450
451 * progmodes/compile.el (compile-goto-error): Do not push-mark.
452 Remove NOMSG arg and all uses changed.
453
454 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
457 (cua--deactivate-rectangle): Don't deactivate the mark.
458 (cua-set-rectangle-mark): Don't set mark-active since
459 cua--activate-rectangle already does it for us.
460 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
461 non-rectangular region.
462
463 * emulation/cua-base.el (cua-repeat-replace-region):
464 Use with-current-buffer.
465
466 * net/gnutls.el: Use cl-lib.
467 (gnutls-negotiate): `mapcan' -> cl-mapcan.
468
469 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
470
471 * emacs-lisp/package.el (package-built-in-p): Support both
472 built-in and the package.el converted package descriptions.
473 (package-show-package-list): Allow keywords.
474 (package-keyword-button-action): Use it instead of
475 `finder-list-matches'.
476 (package-menu-filter-interactive): Interactive filtering (by
477 keyword) function.
478 (package-menu--generate): Support keywords and change keymappings
479 and headers when they are given.
480 (package--has-keyword-p): Helper function.
481 (package-menu--refresh): Use it.
482 (package--mapc): Helper function.
483 (package-all-keywords): Use it.
484 (package-menu-mode-map): Set up menu items and keybindings to
485 provide a filtering UI.
486
487 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
488
489 * net/gnutls.el (gnutls-verify-error): New defcustom to control
490 the behavior when a certificate fails validation. Defaults to
491 old behavior: never abort, just warn.
492 (gnutls-negotiate): Use it.
493
494 2013-12-14 Martin Rudalics <rudalics@gmx.at>
495
496 * window.el (display-buffer-below-selected): Never split window
497 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
498
499 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
500
501 * emacs-lisp/package.el (package--prepare-dependencies): New function.
502 (package-buffer-info): Use it (bug#15108).
503
504 * icomplete.el (icomplete-completions): Make sure the prefix is already
505 displayed elsewhere before hiding it.
506
507 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
508
509 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
510 open-paren tokens when preceded by a open-paren, too.
511 (ruby-smie-rules): Handle virtual indentation after open-paren
512 tokens specially. If there is code between it and eol, return the
513 column where is starts (Bug#16118).
514
515 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
516
517 * progmodes/cfengine.el: Fix `add-hook' doc.
518 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
519 (cfengine3--current-word): Fix parameters.
520 (cfengine3-make-syntax-cache): Simplify further.
521 (cfengine3-completion-function, cfengine3--current-function):
522 Use `assq' for symbols.
523 (cfengine3--current-function): Fix `cfengine3--current-word' call.
524
525 2013-12-13 Glenn Morris <rgm@gnu.org>
526
527 * loadup.el (load-path): Warn if site-load or site-init changes it.
528 No more need to reset it when bootstrapping.
529
530 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
531
532 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
533 locations for cf-promises.
534 (cfengine-mode-syntax-functions-regex): New caching variable.
535 (cfengine3-fallback-syntax): Fallback syntax for cases where
536 cf-promises doesn't run.
537 (cfengine3--current-word): Reimplement using
538 `cfengine-mode-syntax-functions-regex'.
539 (cfengine3-completion-function, cfengine3--current-function):
540 Use `cfengine3-make-syntax-cache' directly.
541 (cfengine3-clear-syntax-cache): New function.
542 (cfengine3-make-syntax-cache): Simplify and create
543 `cfengine-mode-syntax-functions-regex' on demand.
544 (cfengine3-format-function-docstring): Don't call
545 `cfengine3-make-syntax-cache' explicitly.
546
547 2013-12-13 Martin Rudalics <rudalics@gmx.at>
548
549 Fix windmove-find-other-window broken after pixelwise resizing
550 (Bug#16017).
551 * windmove.el (windmove-other-window-loc): Revert change from
552 2013-12-04.
553 (windmove-find-other-window): Call window-in-direction.
554 * window.el (window-in-direction): New arguments SIGN, WRAP and
555 MINI to emulate original windmove-find-other-window behavior.
556
557 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
558
559 * simple.el (blink-matching--overlay): New variable.
560 (blink-matching-open): Instead of moving point, highlight the
561 matching paren with an overlay
562 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
563
564 * faces.el (paren-showing-faces, show-paren-match)
565 (show-paren-mismatch): Move from paren.el.
566
567 2013-12-13 Leo Liu <sdl.web@gmail.com>
568
569 * indent.el (indent-region): Disable progress reporter in
570 minibuffer. (Bug#16108)
571
572 * bindings.el (visual-order-cursor-movement): Fix version.
573
574 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
575
576 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
577 Also match after beginning of line.
578 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
579 files. Thanks to Russell Sim. (Bug#15378)
580
581 2013-12-13 Juri Linkov <juri@jurta.org>
582
583 * simple.el <Keypad support>: Remove key bindings duplicated
584 with bindings.el. (Bug#14397)
585
586 2013-12-13 Juri Linkov <juri@jurta.org>
587
588 * comint.el (comint-mode-map): Replace `delete-char' with
589 `delete-forward-char'. (Bug#16109)
590
591 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
592
593 * progmodes/python.el (python-indent-calculate-indentation):
594 Fix de-denters cornercase. (Bug#15731)
595
596 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
599 (advice--make): Pay attention to `depth'.
600 (advice--make-1): Don't autoload commands eagerly.
601 * emacs-lisp/elp.el (elp-instrument-function):
602 * emacs-lisp/trace.el (trace-function-internal):
603 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
604
605 * iswitchb.el (iswitchb-mode): Don't belittle ido.
606
607 2013-12-12 Eli Zaretskii <eliz@gnu.org>
608
609 * term/w32-win.el (w32-handle-dropped-file):
610 * startup.el (normal-top-level):
611 * net/browse-url.el (browse-url-file-url):
612 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
613 decode file names using 'utf-8' rather than
614 file-name-coding-system.
615
616 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
617
618 * progmodes/python.el (python-indent-context)
619 (python-indent-calculate-indentation): Fix auto-identation
620 behavior for comment blocks. (Bug#15916)
621
622 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
623
624 * progmodes/python.el (python-indent-calculate-indentation):
625 When determining indentation, don't treat "return", "pass", etc., as
626 operators when they are just string constituents. (Bug#15812)
627
628 2013-12-12 Juri Linkov <juri@jurta.org>
629
630 * uniquify.el (uniquify-buffer-name-style): Change default to
631 `post-forward-angle-brackets'.
632
633 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
634 `uniquify'. Change default to `post-forward-angle-brackets'.
635
636 2013-12-11 Glenn Morris <rgm@gnu.org>
637
638 * emacs-lisp/package.el (finder-list-matches):
639 Autoload rather than falsely declaring.
640
641 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
642
643 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
644 (eww-mode-map): Use them.
645
646 2013-12-11 Martin Rudalics <rudalics@gmx.at>
647
648 * window.el (display-buffer-in-side-window): Fix doc-string
649 (Bug#16115).
650
651 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
652
653 * vc/vc-git.el: Silence byte-compiler warnings.
654 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
655 (log-edit-set-header): Declare.
656
657 2013-12-11 Eli Zaretskii <eliz@gnu.org>
658
659 * Makefile.in (custom-deps, finder-data): Run output file names
660 through unmsys--file-name. (Bug#16099)
661
662 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
665 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
666
667 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
668 instead of deleting the selection "by hand" (bug#16098).
669 Rely on insert-for-yank to yank rectangles.
670 (cua-highlight-region-shift-only): Mark obsolete.
671 (cua-mode): Don't enable/disable transient-mark-mode,
672 shift-select-mode (cua-mode works both with and without them), and
673 pc-selection-mode (obsolete).
674 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
675 (cua--deactivate-rectangle): Deactivate it.
676
677 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
678 (delete-selection-helper): Make sure yank starts at the top of the
679 deleted region.
680 (minibuffer-keyboard-quit): Use region-active-p.
681
682 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
683
684 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
685 to `delete' (bug#16109).
686
687 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
688
689 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
690 info manual and show keybindings and set `:group' keyword.
691
692 2013-12-11 Juri Linkov <juri@jurta.org>
693
694 * delsel.el (delete-active-region): Let-bind `this-command'
695 to prevent `kill-region' from changing its original value.
696 (delete-selection-helper): Handle `overwrite-mode' for the type
697 `kill' exactly the same way as for the type `t'.
698 (insert-char, quoted-insert, reindent-then-newline-and-indent):
699 Support more commands. (Bug#13312)
700
701 2013-12-11 Juri Linkov <juri@jurta.org>
702
703 * bindings.el: Map kp keys to non-kp keys systematically
704 with basic modifiers control, meta and shift. (Bug#14397)
705
706 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
707
708 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
709 "Close browser" menu items. Fix wrong function of "List
710 bookmarks".
711
712 2013-12-11 Juri Linkov <juri@jurta.org>
713
714 * misearch.el (multi-isearch-buffers): Set the value of
715 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
716 arg of isearch-forward to t.
717 (multi-isearch-buffers-regexp): Set the value of
718 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
719 arg of isearch-forward-regexp to t.
720 (multi-isearch-files): Set the value of
721 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
722 arg of isearch-forward to t.
723 (multi-isearch-files-regexp): Set the value of
724 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
725 arg of isearch-forward-regexp to t. (Bug#16035)
726
727 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
728 arg of isearch-forward to t.
729 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
730 arg of isearch-forward-regexp to t.
731 (dired-isearch-filter-filenames): Remove unnecessary check for
732 `dired-isearch-filenames'.
733
734 * comint.el (comint-history-isearch-backward):
735 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
736 (comint-history-isearch-backward-regexp):
737 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
738
739 2013-12-10 Eli Zaretskii <eliz@gnu.org>
740
741 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
742 unmsys--file-name. (Bug#16099)
743
744 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
745
746 * emacs-lisp/package.el (package-keyword-button-action):
747 Remove finder.el require dependency.
748
749 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
750
751 * emacs-lisp/package.el: Require finder.el.
752 (describe-package-1): Add keyword buttons.
753 (package-make-button): New convenience function.
754 (package-keyword-button-action): Keyword button action using
755 `finder-list-matches'
756
757 2013-12-09 Eli Zaretskii <eliz@gnu.org>
758
759 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
760 last commit.
761
762 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
763
764 * autorevert.el (auto-revert-notify-add-watch): Do not handle
765 symlinked files.
766
767 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
768
769 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
770 after the end of a percent literal.
771
772 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
773
774 * progmodes/ruby-mode.el (ruby-forward-string): Document.
775 Handle caret-delimited strings (Bug#16079).
776
777 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
778
779 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
780 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
781 `ruby-parse-partial' (Bug#16078).
782
783 2013-12-09 Leo Liu <sdl.web@gmail.com>
784
785 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
786
787 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
788
789 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
790 (js-switch-indent-offset): New option.
791 (js--proper-indentation): Use it. And handle the case when
792 "default" is actually a key in an object literal.
793 (js--same-line): New function.
794 (js--multi-line-declaration-indentation): Use it.
795 (js--indent-in-array-comp, js--array-comp-indentation):
796 New functions.
797 (js--proper-indentation): Use them, to handle array comprehension
798 continuations.
799
800 2013-12-08 Leo Liu <sdl.web@gmail.com>
801
802 * progmodes/flymake.el (flymake-highlight-line): Re-write.
803 (flymake-make-overlay): Remove arg MOUSE-FACE.
804 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
805
806 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
809 New function.
810 (redisplay-highlight-region-function): Use it.
811
812 * emulation/cua-base.el (cua--explicit-region-start)
813 (cua--last-region-shifted): Remove.
814 (cua--deactivate): Use deactivate-mark.
815 (cua--pre-command-handler-1): Don't handle shift-selection.
816 (cua--post-command-handler-1): Don't change transient-mark-mode.
817 (cua--select-keymaps): Use region-active-p rather than
818 cua--explicit-region-start or cua--last-region-shifted.
819 (cua-mode): Enable shift-select-mode.
820
821 2013-12-08 Leo Liu <sdl.web@gmail.com>
822
823 * progmodes/flymake.el (flymake-popup-current-error-menu):
824 Rename from flymake-display-err-menu-for-current-line. Reimplement.
825 (flymake-posn-at-point-as-event, flymake-popup-menu)
826 (flymake-make-emacs-menu): Remove. (Bug#16077)
827
828 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * rect.el (rectangle-mark-mode): Activate mark even if
831 transient-mark-mode is off (bug#16066).
832 (rectangle--highlight-for-redisplay): Fix boundary condition when point
833 is > mark and at bolp.
834
835 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
836 (region-extract-function): Use it.
837 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
838 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
839 Delete functions.
840 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
841 kill-ring-save, kill-region, delete-char, delete-forward-char.
842 Ignore self-insert-iso.
843
844 * emulation/cua-gmrk.el (cua--init-global-mark):
845 Ignore `self-insert-iso'.
846
847 * emulation/cua-base.el (cua--prefix-copy-handler)
848 (cua--prefix-cut-handler): Rely on region-extract-function rather than
849 checking cua--rectangle.
850 (cua-delete-region): Use region-extract-function.
851 (cua-replace-region): Delete function.
852 (cua-copy-region, cua-cut-region): Obey region-extract-function.
853 (cua--pre-command-handler-1): Don't do the delete-selection thing.
854 (cua--self-insert-char-p): Ignore `self-insert-iso'.
855 (cua--init-keymaps): Don't remap delete-selection commands.
856 (cua-mode): Use delete-selection-mode instead of rolling our own
857 (bug#16085).
858
859 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
860 Obey region-extract-function.
861
862 Make registers and delete-selection-mode work on rectangles.
863 * register.el (describe-register-1): Don't modify the register's value.
864 (copy-to-register): Obey region-extract-function.
865 * delsel.el (delete-active-region): Obey region-extract-function.
866
867 2013-12-08 Leo Liu <sdl.web@gmail.com>
868
869 * progmodes/flymake.el (flymake, flymake-error-bitmap)
870 (flymake-warning-bitmap, flymake-fringe-indicator-position)
871 (flymake-compilation-prevents-syntax-check)
872 (flymake-start-syntax-check-on-newline)
873 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
874 (flymake-start-syntax-check-on-find-file, flymake-log-level)
875 (flymake-xml-program, flymake-master-file-dirs)
876 (flymake-master-file-count-limit)
877 (flymake-allowed-file-name-masks): Relocate.
878 (flymake-makehash, flymake-float-time)
879 (flymake-replace-regexp-in-string, flymake-split-string)
880 (flymake-get-temp-dir): Remove.
881 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
882 (flymake-current-row, flymake-selected-frame)
883 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
884 related functions. (Bug#16077)
885
886 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
887
888 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
889
890 2013-12-07 Tassilo Horn <tsdh@gnu.org>
891
892 * help-fns.el (describe-function-1): Use new advice-* functions
893 rather than old ad-* functions. Fix function type description and
894 source links for advised functions and subrs.
895
896 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
897
898 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
899
900 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
901
902 * progmodes/compile.el (compilation-start):
903 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
904
905 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
906 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
907
908 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
909
910 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
911 Touch up the last change.
912
913 2013-12-06 Leo Liu <sdl.web@gmail.com>
914
915 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
916 (inferior-octave-startup): Always use "octave> " for prompt.
917 (octave-goto-function-definition)
918 (octave-sync-function-file-names)
919 (octave-find-definition-default-filename): Remove redundant backquotes.
920
921 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
922
923 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
924 syntax for `?'.
925 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
926 where appropriate already.
927 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
928 end of method names (Bug#15874).
929
930 2013-12-06 Juri Linkov <juri@jurta.org>
931
932 * isearch.el (isearch--saved-overriding-local-map):
933 New internal variable.
934 (isearch-mode): Set it to the initial value of
935 `overriding-terminal-local-map'.
936 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
937 with `isearch--saved-overriding-local-map'. (Bug#16035)
938
939 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
940
941 * progmodes/octave.el (inferior-octave-completion-table):
942 Turn back into function, use `completion-table-with-cache'
943 (Bug#11906). Update all references.
944
945 * minibuffer.el (completion-table-with-cache): New function.
946
947 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
948
949 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
950
951 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
952
953 * net/eww.el (eww-current-source): New variable to store page
954 source.
955 (eww-display-html, eww-mode, eww-save-history)
956 (eww-restore-history): Use it.
957 (eww-view-source): New command to view page source.
958 Opportunistically uses `html-mode' to highlight the buffer.
959 (eww-mode-map): Install it.
960
961 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
962
963 * net/dbus.el (dbus-unregister-service)
964 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
965 Fix docstring.
966 (dbus-unregister-service): Skip :serial entries in
967 `dbus-registered-objects-table'.
968 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
969
970 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
971
972 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
973 around keywords with extra `split-string' argument.
974
975 2013-12-04 Martin Rudalics <rudalics@gmx.at>
976
977 * windmove.el (windmove-other-window-loc): Handle navigation
978 between windows (excluding the minibuffer window - Bug#16017).
979
980 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
981
982 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
983 in D-Bus type syntax.
984 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
985 preserve unibyte strings. (Bug#16048)
986
987 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
990 Call force-mode-line-update is the proper buffer (bug#16042).
991
992 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
993
994 * vc/log-edit.el (log-edit-add-new-comment): Rename to
995 `log-edit-remember-comment', make argument optional. Adjust all
996 callers.
997 (log-edit-mode): Add `log-edit-remember-comment' to
998 `kill-buffer-hook' locally.
999 (log-edit-kill-buffer): Don't remember comment explicitly since
1000 the buffer is killed anyway.
1001
1002 2013-12-04 Juri Linkov <juri@jurta.org>
1003
1004 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1005 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1006
1007 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1008
1009 * notifications.el (notifications-close-notification): Call the
1010 D-Bus method with ID being a `:uint32'. (Bug#16030)
1011
1012 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1013
1014 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1015
1016 2013-12-03 Juri Linkov <juri@jurta.org>
1017
1018 * progmodes/compile.el (compilation-start): Rename window alist
1019 entry `no-display-ok' to `allow-no-window'.
1020
1021 * simple.el (shell-command): Add window alist entry
1022 `allow-no-window' to `display-buffer'.
1023 (async-shell-command): Doc fix.
1024
1025 * window.el (display-buffer-no-window): New action function.
1026 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1027
1028 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1029
1030 * vc/log-edit.el (log-edit-set-header): Extract from
1031 `log-edit-toggle-header'.
1032 (log-edit-extract-headers): Separate the summary, when extracted
1033 from header, from the rest of the message with an empty line.
1034
1035 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1036 line, if present, to the Summary header.
1037
1038 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1041 in current-buffer (bug#16029).
1042
1043 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1044
1045 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1046 (debugger-mode-map): Bind it.
1047 (debugger--backtrace-base): New function.
1048 (debugger-eval-expression): Use it.
1049 (debugger-frame-number): Skip local vars when present.
1050 (debugger--locals-visible-p, debugger--insert-locals)
1051 (debugger--show-locals, debugger--hide-locals): New functions.
1052
1053 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1054
1055 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1056 "LC_ALL".
1057 (tramp-get-remote-locale): New defun.
1058 (tramp-open-connection-setup-interactive-shell): Use it.
1059
1060 2013-12-02 Leo Liu <sdl.web@gmail.com>
1061
1062 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1063
1064 * progmodes/sh-script.el (sh-shell-process):
1065 * progmodes/octave.el (inferior-octave-process-live-p):
1066 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1067 (gdb-inferior-io-sentinel):
1068 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1069
1070 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1071
1072 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1073 `save-selected-window' to `log-edit-hide-buf'. This makes
1074 `log-edit-show-files' idempotent.
1075 (log-edit-show-files): Mark the new window as dedicated.
1076
1077 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1078
1079 * vc/log-edit.el (log-edit-mode-map): Add binding for
1080 `log-edit-kill-biffer'.
1081 (log-edit-hide-buf): Add a FIXME comment.
1082 (log-edit-add-new-comment): New function, extracted from
1083 `log-edit-done'.
1084 (log-edit-done, log-edit-add-to-changelog): Use it.
1085 (log-edit-kill-buffer): New command.
1086
1087 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1088
1089 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1090 instead of killing the buffer.
1091
1092 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1095
1096 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1097
1098 * net/eww.el (eww-form-checkbox-selected-symbol)
1099 (eww-form-checkbox-symbol): New customizable variable.
1100 (eww-form-checkbox, eww-toggle-checkbox):
1101 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1102
1103 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1104 (shr--get-media-pref, shr--extract-best-source): New function.
1105 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1106 no :src tag was specified.
1107
1108 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1109 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1110 Use \\` to match beginning of string instead of ^.
1111 (eww-browse-with-external-browser): Provide optional URL parameter.
1112 (eww-render): Set `eww-current-title' back to "".
1113
1114 * net/shr.el (shr-tag-video): Display content for video if no
1115 poster is available.
1116 (shr-tag-audio): Add support for <audio> tag.
1117
1118 * net/eww.el (eww-text-input-types): : New const.
1119 (eww-process-text-input): Treat input types in
1120 `eww-text-input-types' as text.
1121
1122 * net/shr.el (shr-tag-table): Fix comment typo.
1123
1124 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1125
1126 * net/eww.el (eww-follow-link): New command to avoid reloading
1127 pages when we follow #target links (bug#15243).
1128 (eww-quit): Special mode buffers shouldn't query before exiting.
1129
1130 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1131
1132 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1133 forms.
1134
1135 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1136
1137 * net/eww.el (eww-restore-history): Update the window title after
1138 moving in the history.
1139 (eww-current-dom): New variable used to save the current DOM.
1140
1141 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1142
1143 * vc/log-edit.el (log-edit-mode-map): Add binding for
1144 `log-edit-beginning-of-line'.
1145 (log-edit-setup-add-author): New user option.
1146 (log-edit-beginning-of-line): New command.
1147 (log-edit): Move major mode call above the contents setup so that
1148 the local variable values are already applied.
1149 (log-edit): Only insert "Author: " when
1150 `log-edit-setup-add-author' is non-nil.
1151 (log-edit): When SETUP is non-nil, position point after ": "
1152 instead of point-min.
1153
1154 2013-12-01 Glenn Morris <rgm@gnu.org>
1155
1156 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1157
1158 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1159
1160 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1161 redisplay to make sure the initial frame gets a chance to become
1162 visible. (Bug#16014)
1163
1164 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1165
1166 Support resizing frames and windows pixelwise.
1167 * cus-start.el (frame-resize-pixelwise)
1168 (window-resize-pixelwise): New entries.
1169 * emacs-lisp/debug.el (debug): Use window-total-height instead
1170 of window-total-size.
1171 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1172 * help.el (describe-bindings-internal): Call help-buffer
1173 (temp-buffer-max-width): New option.
1174 (resize-temp-buffer-window, help-window-setup)
1175 (with-help-window): Rewrite.
1176 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1177 dragging dividers.
1178 * window.el (frame-char-size, window-min-pixel-height)
1179 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1180 (window-min-pixel-width, window-safe-min-pixel-size)
1181 (window-combination-p, window-safe-min-size)
1182 (window-resizable-p, window--size-to-pixel)
1183 (window--pixel-to-size, window--resize-apply-p): New functions.
1184 (window-safe-min-height): Fix doc-string.
1185 (window-size, window-min-size, window--min-size-1)
1186 (window-sizable, window-sizable-p, window--min-delta-1)
1187 (window-min-delta, window--max-delta-1, window-max-delta)
1188 (window--resizable, window--resizable-p, window-resizable)
1189 (window-full-height-p, window-full-width-p, window-at-side-p)
1190 (window--in-direction-2, window-in-direction)
1191 (window--resize-reset-1, window--resize-mini-window)
1192 (window-resize, window-resize-no-error)
1193 (window--resize-child-windows-normal)
1194 (window--resize-child-windows, window--resize-siblings)
1195 (window--resize-this-window, window--resize-root-window)
1196 (window--resize-root-window-vertically)
1197 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1198 (maximize-window, minimize-window, delete-window)
1199 (quit-restore-window, window-split-min-size, split-window)
1200 (balance-windows-2, balance-windows)
1201 (balance-windows-area-adjust, balance-windows-area)
1202 (window--state-get-1, window-state-get, window--state-put-1)
1203 (window--state-put-2, window-state-put)
1204 (display-buffer-record-window, window--display-buffer):
1205 Make functions handle pixelwise sizing of windows.
1206 (display-buffer--action-function-custom-type)
1207 (display-buffer-fallback-action):
1208 Add display-buffer-in-previous-window.
1209 (display-buffer-use-some-window): Resize window to height it had
1210 before.
1211 (fit-window-to-buffer-horizontally): New option.
1212 (fit-frame-to-buffer): Describe new values.
1213 (fit-frame-to-buffer-bottom-margin): Replace with
1214 fit-frame-to-buffer-margins.
1215 (window--sanitize-margin): New function.
1216 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1217 using window-text-pixel-size.
1218
1219 2013-11-30 Glenn Morris <rgm@gnu.org>
1220
1221 * emacs-lisp/bytecomp.el (byte-compile-form):
1222 Make the `interactive-only' warning like the `obsolete' one.
1223 * comint.el (comint-run):
1224 * files.el (insert-file-literally, insert-file):
1225 * replace.el (replace-string, replace-regexp):
1226 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1227 (goto-line, insert-buffer, next-line, previous-line):
1228 Tweak `interactive-only' spec.
1229
1230 Stop keeping (most) generated cedet grammar files in the repository.
1231 * Makefile.in (semantic): New.
1232 (compile-main): Depend on semantic.
1233
1234 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1237 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1238
1239 * uniquify.el (uniquify-buffer-name-style): Change default.
1240
1241 * loadup.el: Preload "uniquify".
1242
1243 * time.el (display-time-update): Update all mode lines (bug#15999).
1244
1245 * electric.el (electric-indent-mode): Enable by default.
1246 * loadup.el: Preload "electric".
1247
1248 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1249
1250 * emacs-lisp/helpers.el (string-empty-p): New function.
1251 (string-blank-p): New function.
1252
1253 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1254
1255 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1256 (Bug#14029).
1257
1258 2013-11-29 Andreas Politz <politza@fh-trier.de>
1259 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1260 allow non-lambda lists as functions.
1261 (imenu--in-alist): Don't recurse into non-subalists.
1262 (imenu): Don't pass function itself as an argument (Bug#14029).
1263
1264 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * progmodes/python.el (python-mode-map): Remove binding for ":".
1267 (python-indent-electric-colon): Remove command.
1268 (python-indent-post-self-insert-function): Integrate the previous code
1269 of python-indent-electric-colon. Make it conditional on
1270 electric-indent-mode.
1271 (python-mode): Add ?: to electric-indent-chars.
1272 Move python-indent-post-self-insert-function to the end of
1273 post-self-insert-hook.
1274
1275 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * doc-view.el (doc-view-goto-page): Update mode-line.
1278
1279 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1280
1281 2013-11-27 Glenn Morris <rgm@gnu.org>
1282
1283 * international/charprop.el, international/uni-bidi.el:
1284 * international/uni-category.el, international/uni-combining.el:
1285 * international/uni-comment.el, international/uni-decimal.el:
1286 * international/uni-decomposition.el, international/uni-digit.el:
1287 * international/uni-lowercase.el, international/uni-mirrored.el:
1288 * international/uni-name.el, international/uni-numeric.el:
1289 * international/uni-old-name.el, international/uni-titlecase.el:
1290 * international/uni-uppercase.el:
1291 Remove generated files from VCS repository.
1292
1293 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1294
1295 * filenotify.el (file-notify-add-watch): Don't special-case
1296 w32notify when computing the directory to watch.
1297
1298 2013-11-27 Glenn Morris <rgm@gnu.org>
1299
1300 Make bootstrap without generated uni-*.el files possible again.
1301 * loadup.el: Update command-line-args checking for unidata-gen.
1302 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1303 * composite.el, international/characters.el:
1304 Handle unicode tables being undefined.
1305
1306 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1307 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1308 (compile-main): Depend on leim rule.
1309 (leim): New rule.
1310 * loadup.el: Move leim-list.el to leim/ subdirectory.
1311 * startup.el (normal-top-level): No more leim directory.
1312 * international/ja-dic-cnv.el (skkdic-convert):
1313 Disable version-control and autoloads in output files.
1314 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1315 Disable version-control and autoloads in output files.
1316 * leim/quail: Move here from ../leim.
1317 * leim/quail/hangul.el (hangul-input-method-activate):
1318 Add autoload cookie.
1319 (generated-autoload-load-name): Set file-local value.
1320 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1321 (generated-autoload-load-name): Set file-local value.
1322
1323 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1324
1325 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1326 (eww-add-bookmark): ask confirmation when add to bookmarks
1327 (eww-quit): ask confirmation before quitting eww
1328
1329 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1330
1331 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1332 reading output from Diff on MS-Windows and MS-DOS.
1333
1334 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1335
1336 * emacs-lisp/helpers.el (string-reverse): New function.
1337
1338 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1339
1340 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1341 names on MS Windows, like "/[::1]:".
1342
1343 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1344 SWITCHES.
1345
1346 2013-11-26 Glenn Morris <rgm@gnu.org>
1347
1348 * progmodes/python.el (python-indent-guess-indent-offset):
1349 Avoid corner-case error. (Bug#15975)
1350
1351 Preload leim-list.el. (Bug#4789)
1352 * loadup.el: Load leim-list.el when found.
1353 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1354
1355 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1356
1357 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1358
1359 * emacs-lisp/helpers.el (string-join): New function.
1360
1361 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1362
1363 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1364 Mark as obsolete and replace it with a symbol property.
1365 (byte-compile-form): Use new 'interactive-only property.
1366 * comint.el, files.el, replace.el, simple.el:
1367 Apply new 'interactive-only properly.
1368
1369 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1370
1371 * window.el (display-buffer-at-bottom): Make sure that
1372 split-window-sensibly creates the new window on bottom
1373 (Bug#15961).
1374
1375 2013-11-23 David Kastrup <dak@gnu.org>
1376
1377 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1378 on the conflict markers when available.
1379 (smerge--get-marker): New function.
1380 (smerge-end-re, smerge-base-re): Add subgroup.
1381
1382 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * frame.el (handle-focus-in, handle-focus-out): Add missing
1385 interactive spec.
1386
1387 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1388
1389 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1390 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1391
1392 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1395 (gomoku--last-pos): New var.
1396 (gomoku--intangible-chars): New const.
1397 (gomoku--intangible): New function.
1398 (gomoku-mode): Use it. Derive from special-mode.
1399 (gomoku-move-up): Adjust line count.
1400 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1401 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1402 Simplify accordingly.
1403
1404 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1405 Remove blink-cursor code.
1406 (blink-cursor-timer-function, blink-cursor-suspend):
1407 Don't special-case GUIs.
1408 (blink-cursor-mode): Use focus-in/out-hook.
1409
1410 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1411
1412 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1413 work when annotation is invisible (Bug#13886).
1414
1415 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1416
1417 * json.el (json-alist-p): Only return non-nil if the alist has
1418 simple keys (Bug#13518).
1419
1420 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1421
1422 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1423 when control-statement is the first statement in a buffer (Bug#15956).
1424
1425 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1426
1427 * imenu.el (imenu-generic-skip-comments-and-strings):
1428 New option (Bug#15560).
1429 (imenu--generic-function): Use it.
1430
1431 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1432
1433 * minibuffer.el (completion--in-region-1): Scroll the correct
1434 window. (Bug#13898)
1435
1436 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1437
1438 * emacs-lisp/helpers.el: Add some string helpers.
1439 (string-trim-left): Removes leading whitespace.
1440 (string-trim-right): Removes trailing whitespace.
1441 (string-trim): Removes leading and trailing whitespace.
1442
1443 * subr.el (string-suffix-p): New function.
1444
1445 2013-11-23 Glenn Morris <rgm@gnu.org>
1446
1447 * progmodes/python.el (python-shell-send-file):
1448 Add option to delete file when done. (Bug#15647)
1449 (python-shell-send-string, python-shell-send-region): Use it.
1450
1451 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1452
1453 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1454 to set buffer-read-only to t, never to nil. (Bug#15938)
1455
1456 * textmodes/tex-mode.el (latex-noindent-environments):
1457 Add safe-local-variable property. (Bug#15936)
1458
1459 2013-11-23 Glenn Morris <rgm@gnu.org>
1460
1461 * textmodes/enriched.el (enriched-mode): Doc fix.
1462 * emacs-lisp/authors.el (authors-renamed-files-alist):
1463 Add enriched.doc -> enriched.txt.
1464
1465 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1466
1467 2013-11-22 Leo Liu <sdl.web@gmail.com>
1468
1469 * progmodes/octave.el (inferior-octave-startup): Spit out error
1470 message.
1471
1472 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1473
1474 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1475 Improve docstring.
1476 Add :version.
1477 (ruby-encoding-magic-comment-style): Add :version.
1478
1479 2013-11-22 Leo Liu <sdl.web@gmail.com>
1480
1481 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1482 (Bug#15076)
1483 (octave-help-mode): Adapt to change to help-mode-finish to use
1484 derived-mode-p on 2013-09-17.
1485 (inferior-octave-prompt): Also match octave-gui.
1486 (octave-kill-process): Don't ask twice. (Bug#10564)
1487
1488 2013-11-22 Leo Liu <sdl.web@gmail.com>
1489
1490 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1491 (inferior-octave-startup, inferior-octave-check-process)
1492 (inferior-octave-track-window-width-change)
1493 (octave-completion-at-point, octave-eldoc-function): Use it.
1494 (octave-kill-process): Provide confirmation. (Bug#10564)
1495
1496 2013-11-21 Leo Liu <sdl.web@gmail.com>
1497
1498 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1499 Fix obsolete variable comment-use-global-state.
1500
1501 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1502
1503 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1504 Add `octave-source-file'.
1505 (octave-source-file): New function. (Bug#15935)
1506
1507 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1508
1509 * net/eww.el (eww-local-regex): New variable.
1510 (eww): Use it to detect localhost and similar.
1511
1512 2013-11-21 Leo Liu <sdl.web@gmail.com>
1513
1514 Add completion for command `ag'.
1515 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1516 (pcomplete/ag): New function.
1517 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1518
1519 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1522 (bug#14646).
1523 (make-obsolete): Remove interactive spec.
1524
1525 2013-11-21 Glenn Morris <rgm@gnu.org>
1526
1527 * startup.el (command-line-1): Use path-separator with -L.
1528
1529 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1530
1531 * emacs-lisp/package.el (describe-package-1): Add package archive
1532 to shown fields.
1533
1534 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1535
1536 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1537 Change default to "# encoding: %s" to differentiate it from the
1538 default Ruby encoding comment template.
1539
1540 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1541
1542 * ses.el (ses-mode): Doc fix. (Bug#14748)
1543
1544 2013-11-20 Leo Liu <sdl.web@gmail.com>
1545
1546 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1547
1548 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1549
1550 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1551 when rebase or bisect are in progress.
1552
1553 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1554
1555 * filenotify.el (file-notify-add-watch): Doc fix.
1556
1557 2013-11-19 Leo Liu <sdl.web@gmail.com>
1558
1559 * obsolete/rcompile.el: Mark obsolete.
1560
1561 * progmodes/compile.el (compilation-start)
1562 (compilation-goto-locus, compilation-find-file):
1563 Pass no-display-ok and handle nil value from display-buffer.
1564 (Bug#13594)
1565
1566 * window.el (display-buffer-alist, display-buffer): Document the
1567 new parameter no-display-ok. Return either a window or nil
1568 but never a non-window value.
1569
1570 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * electric.el (electric-indent-mode-map): Remove.
1573 (electric-indent-mode): Change the global-map instead (bug#15915).
1574
1575 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1576 Use add-function.
1577
1578 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/nadvice.el (remove-function): Align with
1581 add-function's behavior.
1582
1583 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1584 (gdb--string-regexp): New constant.
1585 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1586 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1587 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1588 submatch 1.
1589 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1590 Adjust use accordingly.
1591 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1592
1593 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1594
1595 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1596 interpolation curlies (Bug#15914).
1597
1598 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1599
1600 * calc/calc.el (calc-context-sensitive-enter): New variable.
1601 (calc-enter): Use `calc-context-sensitive-enter'.
1602
1603 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1604
1605 * progmodes/cfengine.el: Version bump.
1606 (cfengine-cf-promises): New defcustom to locate cf-promises.
1607 (cfengine3-vartypes): Add new "data" type.
1608 (cfengine3--current-word): New function to get current name-like
1609 word or its bounds.
1610 (cfengine3--current-function): New function to look up a CFEngine
1611 function's definition.
1612 (cfengine3-format-function-docstring): New function.
1613 (cfengine3-make-syntax-cache): New function.
1614 (cfengine3-documentation-function): New function: ElDoc glue.
1615 (cfengine3-completion-function): New function: completion glue.
1616 (cfengine3-mode): Set `compile-command',
1617 `eldoc-documentation-function', and add to
1618 `completion-at-point-functions'.
1619
1620 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1621
1622 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1623 `tramp-current-connection'.
1624
1625 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1626
1627 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1628 nil/self/true/false with "end of symbol".
1629
1630 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1631
1632 * subr.el (version-regexp-alist): Fix a typo.
1633
1634 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1635
1636 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1637 "en_US.utf8" and "LC_CTYPE" to "".
1638 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1639 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1640
1641 2013-11-15 Leo Liu <sdl.web@gmail.com>
1642
1643 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1644
1645 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * progmodes/gud.el (ctl-x-map):
1648 Remove C-x SPC binding. (Bug#12342)
1649 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1650
1651 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1652
1653 * subr.el (version-regexp-alist):
1654 Recognize hg, svn and darcs versions as snapshot versions.
1655
1656 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1657 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1658 (ruby--encoding-comment-required-p): Extract from
1659 `ruby-mode-set-encoding'.
1660 (ruby-mode-set-encoding): Add the ability to always insert an
1661 utf-8 encoding comment. Fix and simplify coding comment update
1662 logic.
1663
1664 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * net/tramp-gvfs.el (top): Run init code only when
1667 `tramp-gvfs-enabled' is not nil.
1668 (tramp-gvfs-enabled): Check also :system bus.
1669
1670 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 Sync with upstream verilog-mode revision 78e66ba.
1673 * progmodes/verilog-mode.el (verilog-end-of-defun)
1674 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1675 (verilog-get-end-of-defun): Remove unused argument.
1676 (verilog-comment-depth): Remove unused local `e'.
1677 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1678 Don't pass arg to verilog-get-end-of-defun.
1679
1680 2013-11-14 Glenn Morris <rgm@gnu.org>
1681
1682 * obsolete/assoc.el (aget): Prefix dynamic variable.
1683
1684 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1685
1686 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * widget.el, hfy-cmap.el: Remove bogus package version number.
1689
1690 2013-11-13 Glenn Morris <rgm@gnu.org>
1691
1692 * replace.el (replace-eval-replacement):
1693 Try to give more helpful error message. (Bug#15836)
1694
1695 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1696 (archive-7z-update): Avoid custom type mismatches.
1697
1698 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1699
1700 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1701
1702 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1703 address can be empty.
1704
1705 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1706 Accept nil SWITCHES.
1707 (tramp-gvfs-handle-write-region): Implement APPEND.
1708
1709 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1710
1711 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1712 binary "|" operator and closing block args delimiter.
1713 Remove FIXME comment referring to Ruby 1.8-only syntax.
1714 (ruby-smie--implicit-semi-p): Not after "|" operator.
1715 (ruby-smie--closing-pipe-p): New function.
1716 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1717 (ruby-smie-rules): Indent after "|".
1718
1719 2013-11-12 Glenn Morris <rgm@gnu.org>
1720
1721 * ps-print.el (ps-face-attribute-list):
1722 Handle anonymous faces. (Bug#15827)
1723
1724 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1725
1726 * window.el (display-buffer-other-frame): Fix doc-string.
1727 (Bug#15868)
1728
1729 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1732
1733 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1734
1735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1736 (tramp-sh-handle-file-local-copy): Don't write a message when
1737 saving temporary files.
1738
1739 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1740 both directories are remote.
1741 (tramp-smb-handle-directory-files): Do not return double entries.
1742 Do not expand full file names.
1743 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1744 (tramp-smb-handle-write-region): Implement APPEND.
1745 (tramp-smb-get-stat-capability): Fix a stupid bug.
1746
1747 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1750
1751 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1752
1753 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1754 throwing error over malformed let/let* (bug#15814).
1755
1756 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * iswitchb.el (iswitchb-mode): Mark obsolete.
1759
1760 2013-11-11 Glenn Morris <rgm@gnu.org>
1761
1762 * international/uni-bidi.el, international/uni-category.el:
1763 * international/uni-name.el, international/uni-numeric.el:
1764 Regenerate for Unicode 6.3.0.
1765
1766 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1767
1768 * net/tramp.el (tramp-methods):
1769 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1770 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1771
1772 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1773
1774 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1775 Force highlighting text after Summary keyword in doc face for rpm.
1776
1777 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1780 available and the word has no wildcards, append one to the grep pattern.
1781 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1782 (ispell-complete-word): Call `ispell-lookup-words' with the value
1783 independent of `ispell-look-p'.
1784
1785 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1786
1787 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1788 Not after "||".
1789 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1790 their parent.
1791
1792 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1795 (ruby-font-lock-keywords): Use backquote.
1796
1797 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1798
1799 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1800 (ruby-smie--backward-token): Only consider full-string matches.
1801
1802 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1803
1804 * faces.el (describe-face): Add distant-foreground.
1805
1806 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1807
1808 * progmodes/ruby-mode.el: Improve encoding comment handling.
1809 (ruby-encoding-magic-comment-style): New option.
1810 (ruby-custom-encoding-magic-comment-template): New option.
1811 (ruby--insert-coding-comment, ruby--detect-encoding):
1812 New functions extracted from `ruby-mode-set-encoding'.
1813 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1814 to control the style of the auto-inserted encoding comment.
1815
1816 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1817
1818 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1819 Use `smie-backward-sexp' with token argument.
1820
1821 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1822
1823 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1824 Remove instrumentation code.
1825
1826 2013-11-08 Glenn Morris <rgm@gnu.org>
1827
1828 * progmodes/autoconf.el (autoconf-mode):
1829 Tweak comment-start-skip. (Bug#15822)
1830
1831 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1834 at bobp (bug#15826).
1835 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1836
1837 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1838
1839 * man.el (Man-start-calling): New macro, extracted from
1840 Man-getpage-in-background.
1841 (Man-getpage-in-background): Use it.
1842 (Man-update-manpage): New command.
1843 (Man-mode-map): Bind it.
1844
1845 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1846
1847 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1848 of "and", "or", "&&" and "||".
1849 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1850 argument. Prohibit opening curly brace because it could only be a
1851 block opener in that position.
1852 (ruby-smie--forward-token, ruby-smie--backward-token):
1853 Separate "|" from "&" or "*" going after it. That can happen in block
1854 arguments.
1855 (ruby-smie--indent-to-stmt): New function, seeks the end of
1856 previous statement or beginning of buffer.
1857 (ruby-smie-rules): Use it.
1858 (ruby-smie-rules): Check if there's a ":" before a curly block
1859 opener candidate; if there is, it's a hash.
1860
1861 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1864 (cl--block-wrapper): Fix last accidental change.
1865
1866 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1867
1868 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1869 Instrument, in order to hunt failure on hydra.
1870
1871 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1872
1873 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1874 malformed bindings form (bug#15814).
1875
1876 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1879 "." compared to " @ ". This incidentally fixes some indentation
1880 examples with "do".
1881 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1882 (ruby-smie-grammar): New tokens: "and" and "or".
1883 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1884 Exclude "and" and "or". Remove "do" in order to work around token
1885 priorities.
1886 (ruby-smie-rules): Add all infix tokens. Handle the case of
1887 beginning-of-buffer.
1888
1889 2013-11-06 Glenn Morris <rgm@gnu.org>
1890
1891 * Makefile.in (setwins_almost, setwins_for_subdirs):
1892 Avoid accidental matches.
1893
1894 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * menu-bar.el (popup-menu): Use key-binding.
1897
1898 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1899
1900 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1901 menus, support also the menus produced by minor modes.
1902 (Bug#15817)
1903
1904 2013-11-06 Leo Liu <sdl.web@gmail.com>
1905
1906 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1907 DISTANCE to bound the search. All uses changed. (Bug#15808)
1908
1909 2013-11-06 Glenn Morris <rgm@gnu.org>
1910
1911 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1912 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1913 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1914
1915 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * electric.el (electric-indent-just-newline): New command.
1918 (electric-indent-mode-map): New keymap.
1919 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1920 Re-add :group which weren't redundant.
1921
1922 * electric.el (electric-indent-local-mode): New minor mode.
1923 (electric-indent-functions-without-reindent): New var.
1924 (electric-indent-post-self-insert-function): Use it.
1925 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1926
1927 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1928
1929 * international/quail.el (quail-help): Be more explicit about the
1930 meaning of the labels shown on the keys. (Bug#15800)
1931
1932 * startup.el (normal-top-level): Load the subdirs.el files before
1933 setting the locale environment. (Bug#15805)
1934
1935 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1938 via arguments so as to get the right ones (bug#15418).
1939
1940 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1941
1942 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1943
1944 Fix problems found while writing a test suite.
1945
1946 * net/tramp-compat.el (tramp-compat-load): New defun.
1947 * net/tramp.el (tramp-handle-load): Use it.
1948
1949 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1950 "(numberp ok-if-already-exists)" correctly.
1951
1952 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1953
1954 * international/characters.el (glyphless-char-display-control):
1955 Add usage note.
1956
1957 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1958
1959 * progmodes/python.el (python-mode):
1960 * progmodes/scheme.el (scheme-mode):
1961 * progmodes/prolog.el (prolog-mode):
1962 * progmodes/ruby-mode.el (ruby-mode):
1963 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1964 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1965
1966 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * rect.el (rectangle--highlight-for-redisplay):
1969 * emacs-lisp/smie.el (smie--next-indent-change):
1970 Use buffer-chars-modified-tick.
1971
1972 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1973
1974 * electric.el (electric-indent-post-self-insert-function):
1975 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1976
1977 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1978
1979 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1980
1981 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1982
1983 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1984 (bug#15786).
1985
1986 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1989
1990 * progmodes/python.el: Fix up last change.
1991 (python-shell--save-temp-file): New function.
1992 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1993 `string' comes from the current buffer.
1994 (python-shell-send-string-no-output): Remove `msg' arg.
1995 (python--use-fake-loc): New var.
1996 (python-shell-buffer-substring): Obey it. Try to compensate for the
1997 extra coding line added by python-shell--save-temp-file.
1998 (python-shell-send-region): Use python-shell--save-temp-file and
1999 python-shell-send-file directly. Add `nomain' argument.
2000 (python-shell-send-buffer): Use python-shell-send-region.
2001 (python-electric-pair-string-delimiter): New function.
2002 (python-mode): Use it.
2003
2004 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2005
2006 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2007 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2008 environment and decoding all of the default-directory's to here
2009 from command-line.
2010 (command-line): Decode also argv[0].
2011
2012 * loadup.el: Error out if default-directory is a multibyte string
2013 when we are dumping.
2014
2015 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2016
2017 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2018
2019 * emacs-lisp/package.el (package-menu-mode)
2020 (package-menu--print-info, package-menu--archive-predicate):
2021 Add Archive column to package list.
2022
2023 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2024
2025 Fix problems found while writing a test suite.
2026
2027 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2028 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2029 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2030 to nil when running original file name handler. Otherwise,
2031 there are problems with constructs like "$$FOO".
2032
2033 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2034 for `localname'.
2035
2036 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2037
2038 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2039
2040 * subr.el (version<, version<=, version=):
2041 Update docstrings with information for snapshot versions.
2042
2043 * helpers.el: New library for misc helper functions.
2044 (hash-table-keys): New function returning a list of hash keys.
2045 (hash-table-values): New function returning a list of hash values.
2046
2047 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2048
2049 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2050 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2051
2052 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2053
2054 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2055 checking whether point is after a 1-letter word.
2056
2057 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2058
2059 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2060 Don't infloop when expanding region over `multiline' syntax-type that
2061 begins a line (bug#15778).
2062
2063 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2066 Make it into a proper minor mode.
2067 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2068 (rectangle-mark-mode-map): New keymap.
2069 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2070
2071 2013-11-04 Glenn Morris <rgm@gnu.org>
2072
2073 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2074
2075 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2076
2077 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2078 (ruby-smie-rules): Use smie-rule-parent instead.
2079
2080 * emacs-lisp/smie.el (smie-rule-parent): Always call
2081 smie-indent-virtual rather than only for hanging tokens.
2082 (smie--next-indent-change): New helper command.
2083
2084 2013-11-03 Glenn Morris <rgm@gnu.org>
2085
2086 * Makefile.in (abs_srcdir): Remove.
2087 (emacs): Unset EMACSLOADPATH.
2088
2089 2013-11-02 Glenn Morris <rgm@gnu.org>
2090
2091 * Makefile.in (EMACS): Use a relative filename.
2092 (abs_top_builddir): Remove.
2093 (custom-deps, finder-data, autoloads): Use --chdir.
2094
2095 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2096
2097 Use relative filenames in TAGS files.
2098 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2099 (lisptagsfiles4, TAGS): Use relative file names.
2100 (TAGS-LISP): Remove.
2101 (maintainer-clean): No more TAGS-LISP file.
2102
2103 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2104 (lisptagsfiles4): Use absolute filenames again.
2105 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2106 Remove all *loaddefs files, not just the first. Remove esh-groups.
2107 (maintainer-clean): Delete TAGS, TAGS-LISP.
2108
2109 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2110
2111 * emacs-lisp/package.el (package-version-join):
2112 Recognize snapshot versions.
2113
2114 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2115
2116 * subr.el (version-regexp-alist): Add support for snapshot versions.
2117
2118 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2119
2120 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2121 New function, replacement for `smie-rule-parent' for when we want to
2122 skip over our direct parent if it's an assignment token..
2123 (ruby-smie-rules): Use it.
2124
2125 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2126
2127 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2128 unconditionally. Remove now unnecessary forward declarations.
2129 Remove XEmacs-specific setup.
2130 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2131 (ruby-font-lock-syntactic-keywords)
2132 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2133 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2134 (ruby-here-doc-end-syntax): Remove.
2135 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2136 defined as function.
2137
2138 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2139
2140 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2141
2142 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2143
2144 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2145 table and abbrev table, `define-derived-mode' does that for us
2146 anyway.
2147
2148 2013-11-01 Glenn Morris <rgm@gnu.org>
2149
2150 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2151 files is atomic for some time, so no parallel compilation issues).
2152
2153 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2154
2155 * faces.el (face-x-resources): Add :distant-foreground.
2156 (region): Use :distant-foreground for gtk and ns.
2157
2158 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2159
2160 Allow multiple bibliographies when BibLaTeX is used rather than
2161 BibTeX.
2162 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2163 (reftex-locate-bibliography-files): Us it.
2164
2165 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2166
2167 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2168 allow comments in pbm files.
2169
2170 * term/w32-win.el (dynamic-library-alist): Support newer versions
2171 of libjpeg starting with v7: look only for the DLL from the
2172 version against which Emacs was built.
2173 Support versions of libpng beyond 1.4.x.
2174 Support libtiff v4.x.
2175
2176 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2177
2178 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2179 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2180 Add property :safe.
2181 (ruby-deep-arglist): Add property :type.
2182
2183 2013-10-31 Glenn Morris <rgm@gnu.org>
2184
2185 * Makefile.in (custom-deps, finder-data): No need to setq the target
2186 variables, we are in the right directory and the defaults work fine.
2187
2188 2013-10-30 Glenn Morris <rgm@gnu.org>
2189
2190 * Makefile.in (autoloads): Do not use abs_lisp.
2191
2192 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2193 `newline' does not respect `standard-output', so use `princ'.
2194
2195 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2196
2197 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2198 * buff-menu.el (Buffer-menu--unmark): New function.
2199 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2200
2201 2013-10-30 Glenn Morris <rgm@gnu.org>
2202
2203 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2204
2205 * emacs-lisp/package.el (lm-homepage): Declare.
2206
2207 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2208 Fix doc typos.
2209
2210 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2211
2212 * Makefile.in (finder-data, autoloads, update-subdirs)
2213 (compile-main, compile-clean, compile-always, bootstrap-clean):
2214 Check return value of cd.
2215 (compile-calc): Remove.
2216
2217 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2220
2221 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2222 (byte-compile-and-folded): New function.
2223 (=, <, >, <=, >=): Use it.
2224
2225 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2226 (path-separator, null-device, buffer-file-coding-system)
2227 (lpr-headers-switches): Check system-type before modifying them.
2228 (find-buffer-file-type-coding-system): Mark obsolete.
2229 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2230 find-file-not-found-set-buffer-file-coding-system.
2231 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2232 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2233 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2234 (w32-direct-print-region-helper, w32-direct-print-region-function)
2235 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2236 * startup.el (normal-top-level-add-subdirs-to-load-path):
2237 * ps-print.el (ps-print-region-function):
2238 * lpr.el (print-region-function): Use new name.
2239
2240 * subr.el (custom-declare-variable-early): Remove function.
2241 (custom-declare-variable-list): Remove var.
2242 (error, user-error): Remove `while' loop.
2243 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2244 (user-emacs-directory-warning, locate-user-emacs-file):
2245 Move to files.el.
2246 * simple.el (read-quoted-char-radix, read-quoted-char):
2247 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2248 Move from subr.el.
2249 * custom.el (custom-declare-variable-list): Don't process
2250 custom-declare-variable-list.
2251
2252 * progmodes/python.el (python-shell-get-buffer): New function.
2253 (python-shell-get-process): Use it.
2254 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2255 Python which encoding was used. Don't split-string since we only care
2256 about the first line. Return the temp-file, if applicable.
2257 (python-shell-send-region): Tell compile.el how to turn locations in
2258 the temp-file into locations in the source buffer.
2259
2260 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * subr.el (undefined): Add missing behavior from the C code for
2263 unbound keys.
2264
2265 * rect.el: Use lexical-binding. Add new rectangular region support.
2266 (rectangle-mark): New command.
2267 (rectangle--region): New var.
2268 (deactivate-mark-hook): Reset rectangle--region.
2269 (rectangle--extract-region, rectangle--insert-for-yank)
2270 (rectangle--highlight-for-redisplay)
2271 (rectangle--unhighlight-for-redisplay): New functions.
2272 (region-extract-function, redisplay-unhighlight-region-function)
2273 (redisplay-highlight-region-function): Use them to handle
2274 rectangular region.
2275 * simple.el (region-extract-function): New var.
2276 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2277 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2278 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2279 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2280 (redisplay-unhighlight-region-function)
2281 (redisplay-highlight-region-function): New vars.
2282 (redisplay--update-region-highlight): New function.
2283 (pre-redisplay-function): Use it.
2284 (exchange-point-and-mark): Don't deactivate the mark before
2285 reactivate-it anyway.
2286 * comint.el (comint-kill-region): Remove yank-handler argument.
2287 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2288 (delete-char): Remove property, since it's now part of their
2289 default behavior.
2290 (self-insert-iso): Remove property since this command doesn't exist.
2291
2292 * emacs-lisp/package.el (package--download-one-archive)
2293 (describe-package-1): Don't query the user about final newline.
2294
2295 2013-10-29 Daniel Colascione <dancol@dancol.org>
2296
2297 * net/tramp.el (tramp-methods): Document new functionality.
2298 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2299 tramp-hostname-checker if method provides one instead of scanning
2300 argument list for "%h" to decide hostname acceptability.
2301
2302 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2303
2304 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2305 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2306 Handle COPY-CONTENTS. (Bug#15737)
2307
2308 2013-10-28 Daiki Ueno <ueno@gnu.org>
2309
2310 * epa-file.el
2311 (epa-file-cache-passphrase-for-symmetric-encryption):
2312 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2313
2314 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2315
2316 * image.el (defimage):
2317 (image-load-path): Doc fixes.
2318
2319 2013-10-27 Alan Mackenzie <acm@muc.de>
2320
2321 Indent statements in macros following "##" correctly.
2322 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2323 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2324
2325 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2326
2327 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2328
2329 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2330
2331 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2332 after `=' is probably a new expression.
2333
2334 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2335
2336 * man.el (man-imenu-title): New option.
2337 (Man-mode-map): Add menu. (Bug#15722)
2338 (Man-mode): Add imenu to menu.
2339
2340 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2343 specific in what the first arg can be: a non-keyword word,
2344 string/regexp/percent literal opener, opening paren, or unary
2345 operator followed directly by word.
2346
2347 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2350 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2351 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2352 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2353 Remove vars, they do not apply any more.
2354 (prolog-mode-abbrev-table): Remove redundant declaration.
2355 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2356 (prolog-use-smie): Remove.
2357 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2358 supported by prolog-electric-if-then-else-flag.
2359 (prolog-mode-variables, prolog-menu): Use setq-local.
2360 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2361 Remove binding to `Backspace' since this key doesn't exist anyway.
2362 Remove bindings for electric self-inserting keys.
2363 (prog-mode): Assume it's defined.
2364 (prolog-post-self-insert): New function.
2365 (prolog-mode): Use it.
2366 (prolog-indent-line, prolog-indent-level)
2367 (prolog-find-indent-of-matching-paren)
2368 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2369 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2370 (prolog-goto-next-paren, prolog-in-string-or-comment)
2371 (prolog-tokenize, prolog-inside-mline-comment)
2372 (prolog-find-start-of-mline-comment): Remove functions.
2373 (prolog-find-unmatched-paren, prolog-clause-end)
2374 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2375 (prolog-electric--if-then-else): Rename from
2376 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2377 (prolog-tokenize-searchkey): Remove const.
2378 (prolog-clause-info): Use forward-sexp.
2379 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2380 (prolog-electric-if-then-else): Remove commands.
2381 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2382 for use in post-self-insert-hook.
2383 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2384 for use in post-self-insert-hook.
2385 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2386 for use in post-self-insert-hook.
2387 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2388 adapt it for use in post-self-insert-hook.
2389
2390 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2391
2392 * emacs-lisp/ert.el (ert-run-tests-interactively):
2393 Use `completing-read'. (Bug#9756)
2394
2395 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2396
2397 * simple.el (line-move): Call line-move-1 instead of
2398 line-move-visual when the current window hscroll is zero, but
2399 temporary-goal-column indicates we will need to hscroll as result
2400 of the movement. (Bug#15712)
2401
2402 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2403
2404 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2405 capitalization. Use :visible instead of :active.
2406 Fix `ruby-indent-exp' reference. Add menu items for the generic
2407 commands that are used with SMIE.
2408 (ruby-do-end-to-brace): Insert space after `{'.
2409
2410 2013-10-25 John Anthony <john@jo.hnanthony.com>
2411
2412 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2413
2414 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2415
2416 2013-10-25 Glenn Morris <rgm@gnu.org>
2417
2418 * vc/vc.el (vc-print-log): Don't use a working revision unless
2419 one was explicitly specified. (Bug#15322)
2420
2421 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * subr.el (add-to-list): Preserve return value in compiler-macro
2424 (bug#15692).
2425
2426 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2427
2428 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2429 result. Ask user to retry using '-all' flag. (Bug#15701)
2430
2431 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * emacs-lisp/smie.el: New smie-config system.
2434 (smie-config): New defcustom.
2435 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2436 (smie-config-guess, smie-config-save): New commands.
2437 (smie-config--mode-local, smie-config--buffer-local)
2438 (smie-config--trace, smie-config--modefuns): New vars.
2439 (smie-config--advice, smie-config--mode-hook)
2440 (smie-config--setter, smie-config-local, smie-config--get-trace)
2441 (smie-config--guess-value, smie-config--guess): New functions.
2442 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2443 text properties. Treat "string fence" syntax like string syntax.
2444
2445 * progmodes/sh-script.el (sh-use-smie): Change default.
2446 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2447 (sh-var-value): Simplify by CSE.
2448 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2449 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2450 is used.
2451 (sh-guess-basic-offset): Use cl-incf.
2452 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2453
2454 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2455
2456 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2457 (bug#15699).
2458
2459 2013-10-24 Glenn Morris <rgm@gnu.org>
2460
2461 * Makefile.in (abs_top_srcdir): Remove.
2462 (update-subdirs): Use relative path to update-subdirs.
2463
2464 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2465
2466 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2467 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2468 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2469 Call unmsys--file-name before expand-file-name, not after it.
2470
2471 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2474 (ert-test-skipped): New error.
2475 (ert-skip, ert-stats-skipped): New defuns.
2476 (ert--skip-unless): New macro.
2477 (ert-test-skipped): New struct.
2478 (ert--run-test-debugger, ert-test-result-type-p)
2479 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2480 (ert--stats-set-test-and-result, ert-char-for-test-result)
2481 (ert-string-for-test-result, ert-run-tests-batch)
2482 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2483 Handle skipped tests. (Bug#9803)
2484
2485 2013-10-24 Glenn Morris <rgm@gnu.org>
2486
2487 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2488
2489 * Makefile.in (abs_top_srcdir): New, set by configure.
2490 (update-subdirs): Correct build-aux location.
2491
2492 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2495 value, whether we could auto-deduce `backend', or not.
2496
2497 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2498 with parameters" example. Simplify the "is it block or is it
2499 hash" check, but also make it more thorough.
2500
2501 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2502
2503 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2504
2505 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2508 { if it is hanging.
2509
2510 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2511 :before ";".
2512
2513 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2514
2515 * progmodes/compile.el (compilation-directory-matcher)
2516 (compilation-page-delimiter):
2517 Support GNU Make-4.0 directory quoting. (Bug#15678)
2518
2519 2013-10-23 Leo Liu <sdl.web@gmail.com>
2520
2521 * ido.el (ido-tidy): Handle read-only text.
2522
2523 2013-10-23 Glenn Morris <rgm@gnu.org>
2524
2525 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2526 (emacs, compile, compile-always):
2527 Quote entities that might contain whitespace.
2528 (custom-deps, finder-data, autoloads): Use abs_lisp.
2529 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2530 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2531 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2532
2533 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2534
2535 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2536 Use `following-char'.
2537
2538 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2541 * progmodes/ruby-mode.el (ruby-smie-rules):
2542 Remove corresponding workaround. Fix indentation rule of ";" so it
2543 also applies when ";" is the parent.
2544
2545 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2546
2547 * frame.el (display-screens, display-pixel-height)
2548 (display-pixel-width, display-mm-width, display-backing-store)
2549 (display-save-under, display-planes, display-color-cells)
2550 (display-visual-class, display-monitor-attributes-list):
2551 Mention the optional ‘display’ argument in doc strings.
2552
2553 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2554
2555 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2556 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2557
2558 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2559
2560 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2561 TODO. Add "." after " @ ".
2562 (ruby-smie--at-dot-call): New function. Checks if point at method
2563 call with explicit target.
2564 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2565 to the method name tokens when it precedes them.
2566 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2567 (ruby-smie-rules): Add rule for indentation before and after "."
2568 token.
2569
2570 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * textmodes/remember.el (remember-diary-extract-entries):
2573 Avoid add-to-list.
2574
2575 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2576 an instruction.
2577
2578 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2579
2580 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2581 (ruby-smie--implicit-semi-p): Add new operator chars.
2582
2583 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2584 `smie-down-list'.
2585 (ruby-smie--args-separator-p): Check that there's no newline
2586 between method call and its arguments.
2587
2588 2013-10-20 Alan Mackenzie <acm@muc.de>
2589
2590 Allow comma separated lists after Java "implements".
2591
2592 * progmodes/cc-engine.el (c-backward-over-enum-header):
2593 Parse commas.
2594 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2595 from a "disallowed" list in enum fontification.
2596
2597 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2598
2599 * startup.el (default-frame-background-mode): Remove unused defvar.
2600
2601 * progmodes/verilog-mode.el (verilog-mode): Don't set
2602 comment-indent-function globally.
2603
2604 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2605
2606 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2607 Move Info menu item creation to ns-win.el.
2608
2609 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2610 in menu bar.
2611
2612 * menu-bar.el: Move GNUStep specific menus...
2613
2614 * term/ns-win.el (ns-initialize-window-system): ... to here.
2615
2616 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * simple.el (newline): Only run post-self-insert-hook when
2619 called interactively.
2620
2621 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2622
2623 * icomplete.el (icomplete-with-completion-tables): Add :version.
2624
2625 2013-10-19 Alan Mackenzie <acm@muc.de>
2626
2627 Fix fontification bugs with constructors and const.
2628
2629 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2630 CASE 2) Remove the check for the absence of a suffix construct
2631 after a function declaration with only types (no identifiers) in
2632 the parentheses. Also, accept a function declaration with just a
2633 type inside the parentheses, if this type can be positively
2634 recognised as such, or if a prefix keyword like "explicit" nails
2635 down the construct as a declaration.
2636
2637 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2638
2639 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2640 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2641 the problem whereby selecting a menu item that leads to a
2642 minibuffer prompt moves the cursor out of the minibuffer window,
2643 making it hard to type at the prompt. Suggested by Stefan Monnier
2644 <monnier@iro.umontreal.ca>.
2645
2646 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2647
2648 * menu-bar.el: Don't make Services menu.
2649
2650 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2651
2652 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2653 (ffap-alist): Use ffap-c++-mode for c++-mode.
2654 (ffap-c++-path): New variable.
2655 (ffap-c++-mode): New function.
2656
2657 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2658
2659 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2660
2661 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2662
2663 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2664 introduced on 2013-09-08, which results in an infinite loop
2665 requesting a password.
2666
2667 2013-10-18 Glenn Morris <rgm@gnu.org>
2668
2669 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2670
2671 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2672
2673 Sync with upstream verilog-mode revision 1a6ecec7.
2674 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2675 (verilog-mode-release-date): Remove.
2676 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2677 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2678 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2679 (verilog-auto-tieoff-ignore-regexp)
2680 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2681 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2682 (verilog-signals-with, verilog-dir-cache-preserving)
2683 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2684 Doc fixes.
2685 (verilog-case-fold): New option, to control case folding in
2686 regexp searches, bug597.
2687 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2688 (verilog-string-match-fold, verilog-in-paren-count)
2689 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2690 (verilog-at-close-struct-p): New functions.
2691 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2692 (verilog-forward-sexp, verilog-set-auto-endcomments):
2693 (verilog-leap-to-case-head): Handle "unique0" case.
2694 (verilog-in-constraint-re): New constant.
2695 (verilog-keywords, verilog-type-font-keywords):
2696 Add some SystemVerilog 1800-2012 keywords.
2697 (verilog-label-be): Remove unimplemented argument, bug669.
2698 (verilog-batch-execute-func): When batch expanding clear
2699 create-lockfiles to prevent spurious user locks when a file ends
2700 up not changing.
2701 (verilog-calculate-indent, verilog-calc-1)
2702 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2703 (verilog-do-indent): Fix indentation of nested constraints
2704 and structures.
2705 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2706 (verilog-auto-inst-param): Use verilog-string-match-fold.
2707 (verilog-read-inst-module-matcher):
2708 Fix AUTOINST on gate primitives with #1.
2709 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2710 Reads all user-defined typed variables.
2711 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2712 (verilog-signals-matching-regexp)
2713 (verilog-signals-not-matching-regexp, verilog-auto):
2714 Respect verilog-case-fold.
2715 (verilog-diff-report): Fix line count.
2716 (verilog-auto-assign-modport): Remove unused local `modi'.
2717 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2718 better handle multidimensional arrays.
2719 Fix packed array ports misadding bit index in AUTOINST, bug637.
2720 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2721 to not double-declare existing outputs and inputs, respectively.
2722 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2723 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2724 (verilog-sk-uvm-component): New skeleton.
2725 (verilog-submit-bug-report): Add verilog-case-fold,
2726 remove verilog-mode-release-date.
2727
2728 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2729
2730 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2731 as before.
2732
2733 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2734
2735 * textmodes/remember.el (remember): set buffer-offer-save in
2736 remember buffers (bug#13566).
2737
2738 2013-10-18 Daniel Colascione <dancol@dancol.org>
2739
2740 When evaluating forms in ielm, direct standard output to ielm
2741 buffer. Add new ielm-return-for-effect command. Remove trailing
2742 whitespace throughout.
2743
2744 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2745 (ielm-return-for-effect): New command.
2746 (ielm-send-input): Accept optional `for-effect' parameter.
2747 (ielm-eval-input): Accept optional `for-effect' parameter.
2748 Bind `standard-output' to stream we create using
2749 `ielm-standard-output-impl'. Suppress printing result when
2750 `for-effect'.
2751 (ielm-standard-output-impl): New function.
2752 (inferior-emacs-lisp-mode): Explain new features in documentation.
2753
2754 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2755
2756 Code cleanup.
2757
2758 * net/tramp.el (tramp-debug-message): Do not check for connection
2759 buffer.
2760 (tramp-message): Use "vector" connection property.
2761
2762 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2763 (tramp-equal-remote, tramp-eshell-directory-change)
2764 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2765 (tramp-adb-handle-rename-file)
2766 * net/tramp-cmds.el (tramp-list-remote-buffers)
2767 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2768 * net/tramp-compat.el (tramp-compat-process-running-p)
2769 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2770 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2771 (tramp-gvfs-handle-rename-file)
2772 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2773 (tramp-set-file-uid-gid)
2774 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2775 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2776 of `file-remote-p'.
2777
2778 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2779 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2780 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2781 (tramp-gw-open-network-stream): Suppress unrelated traces.
2782
2783 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2784 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2786 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2787 connection property.
2788
2789 * net/tramp-cache.el (top): Suppress traces when reading
2790 persistency file.
2791
2792 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2793 Refactor common code. Improve debug message.
2794 (tramp-maybe-open-connection)
2795 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2796 connection buffer too early.
2797
2798 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2799 from `tramp-smb-actions-with-acl'.
2800 (tramp-smb-actions-set-acl): New defconst.
2801 (tramp-smb-handle-copy-directory)
2802 (tramp-smb-action-get-acl): New defun, renamed from
2803 `tramp-smb-action-with-acl'.
2804 (tramp-smb-action-set-acl): New defun.
2805 (tramp-smb-handle-set-file-acl): Rewrite.
2806
2807 2013-10-17 Glenn Morris <rgm@gnu.org>
2808
2809 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2810
2811 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * skeleton.el (skeleton-newline): Remove.
2814 (skeleton-internal-1): Use (insert "\n") instead.
2815
2816 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2817 let-bindings.
2818
2819 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2820 forward-sexp-function while we redo its job (bug#15613).
2821
2822 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2823
2824 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2825 represented by lists.
2826
2827 2013-10-16 Glenn Morris <rgm@gnu.org>
2828
2829 * tmm.el (tmm--history): New dynamic variable.
2830 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2831
2832 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2833
2834 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2835 (tramp-smb-errors): Add error messages.
2836 (tramp-smb-actions-with-acl): New defconst.
2837 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2838 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2839 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2840 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2841 (tramp-smb-get-stat-capability): Fix tests.
2842
2843 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2844
2845 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2846 (bug#15580).
2847
2848 2013-10-16 Glenn Morris <rgm@gnu.org>
2849
2850 * ansi-color.el (ansi-color-drop-regexp):
2851 Add 1J, 1K, 2K. (Bug#15617)
2852
2853 * files.el (hack-local-variables--warned-lexical): New.
2854 (hack-local-variables):
2855 Warn about misplaced lexical-binding. (Bug#15616)
2856
2857 * net/eww.el (eww-render): Always set eww-current-url,
2858 and update header line. (Bug#15622)
2859 (eww-display-html): ... Rather than just doing it here.
2860
2861 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2862
2863 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2864 menu navigations commands.
2865
2866 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2867
2868 * progmodes/subword.el (subword-capitalize): Be careful when
2869 the search for [[:alpha:]] fails (bug#15580).
2870
2871 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2872
2873 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2874 to commands that scroll the menu.
2875
2876 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2877
2878 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2879 Handle methods ending with `?' and `!'.
2880
2881 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2882
2883 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2884 `japanese-cp932' to `cp932' to fix the problem where saving a
2885 source file written in Shift_JIS twice would end up having
2886 `coding: japanese-cp932' which Ruby could not recognize.
2887 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2888 in `ruby-encoding-map'.
2889 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2890 doesn't need to be explicitly declared in magic comment.
2891 (ruby-encoding-map): Add type declaration for better customize UI.
2892
2893 2013-10-13 Glenn Morris <rgm@gnu.org>
2894
2895 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2896 Occur buffers are read-only. http://bugs.debian.org/720775
2897
2898 * emacs-lisp/authors.el (authors-fixed-entries):
2899 Comment out old alpha stuff.
2900
2901 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2902
2903 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2904 to `after-save-hook' instead of `before-save-hook'.
2905 (ruby-mode-set-encoding): Use the value of coding system used to
2906 write the file. Call `basic-save-buffer-1' after modifying the
2907 buffer.
2908
2909 2013-10-13 Alan Mackenzie <acm@muc.de>
2910
2911 Fix indentation/fontification of Java enum with
2912 "implements"/generic.
2913
2914 * progmodes/cc-engine.el (c-backward-over-enum-header):
2915 Extracted from the three other places and enhanced to handle generics.
2916 (c-inside-bracelist-p): Uses new function above.
2917 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2918 function above.
2919 (c-font-lock-enum-tail): Uses new function above.
2920
2921 2013-10-13 Kenichi Handa <handa@gnu.org>
2922
2923 * international/mule-cmds.el (select-safe-coding-system): Remove a
2924 superfluous condition in chekcing whether a coding system is safe
2925 or not.
2926
2927 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2928
2929 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2930
2931 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2932
2933 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2934
2935 2013-10-13 Glenn Morris <rgm@gnu.org>
2936
2937 * menu-bar.el (menu-bar-update-buffers):
2938 Unify Buffers menu prompt string. (Bug#15576)
2939
2940 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2941
2942 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2943 Add some entries.
2944 (authors-fixed-entries): Use accented form of name.
2945
2946 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2949 method calls (bug#15594).
2950 (ruby-smie--args-separator-p): New function.
2951 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2952 recognize paren-free method calls.
2953
2954 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2955 internals of universal-argument.
2956
2957 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2958
2959 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2960 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2961 dropped menu on second mouse click on the menu bar.
2962
2963 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2966 (explicit-shell-file-name): Declare.
2967 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2968 (sh-completion-at-point-function): New function.
2969 (sh-mode): Use it.
2970 (sh-smie--keyword-p): Remove unused argument.
2971 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2972 vars.
2973 (sh-set-shell): Always setup SMIE, even if we use the
2974 old indentation code.
2975
2976 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2977
2978 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2979 cases of ? and =.
2980 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2981 predicate would return nil are almost non-existent.
2982 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2983
2984 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2985 cache also after commands that modify the buffer but don't move
2986 point.
2987
2988 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * env.el (substitute-env-in-file-name): New function.
2991 (substitute-env-vars): Extend the meaning of the optional arg.
2992
2993 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2994
2995 * term/w32-win.el (dynamic-library-alist): Define separate lists
2996 of GIF DLLs for versions before and after 5.0.0 of giflib.
2997 (Bug#15531)
2998
2999 2013-10-10 João Távora <joaotavora@gmail.com>
3000
3001 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3002 not locked, use last revision and current source as
3003 defaults. (Bug#15569)
3004
3005 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3006
3007 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3008 menu-bar is hidden.
3009
3010 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3011
3012 * window.el (pop-to-buffer-same-window): Fix doc-string.
3013 (Bug#15492)
3014
3015 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3018
3019 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3020
3021 * calendar/icalendar.el (icalendar-import-file):
3022 Fix interactive spec. (Bug#15482)
3023
3024 2013-10-10 Glenn Morris <rgm@gnu.org>
3025
3026 * desktop.el (desktop-save): Default to saving in .emacs.d,
3027 since PWD is no longer in desktop-path by default. (Bug#15319)
3028
3029 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3030 now that text mode has a menu with the same entry.
3031 (menu-bar-text-mode-auto-fill): Remove now unused func.
3032 * textmodes/text-mode.el (text-mode-map):
3033 Use auto-fill help text from menu-bar.el.
3034
3035 2013-10-10 John Anthony <john@jo.hnanthony.com>
3036
3037 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3038
3039 2013-10-09 Juri Linkov <juri@jurta.org>
3040
3041 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3042 instead of this-command-keys. Add universal-argument-more and
3043 universal-argument-minus to the list of prefix commands. (Bug#15568)
3044
3045 2013-10-09 Glenn Morris <rgm@gnu.org>
3046
3047 * vc/vc-svn.el (vc-svn-create-repo):
3048 Expand paths in file://... url. (Bug#15446)
3049
3050 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3051 Add some entries.
3052 (authors): Remove unused local variables.
3053
3054 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * profiler.el: Create a more coherent calltree from partial backtraces.
3057 (profiler-format): Hide the tail with `invisible' so that C-s can still
3058 find the hidden elements.
3059 (profiler-calltree-depth): Don't recurse so enthusiastically.
3060 (profiler-function-equal): New hash-table-test.
3061 (profiler-calltree-build-unified): New function.
3062 (profiler-calltree-build): Use it.
3063 (profiler-report-make-name-part): Indent the calltree less.
3064 (profiler-report-mode): Add visibility specs for profiler-format.
3065 (profiler-report-expand-entry, profiler-report-toggle-entry):
3066 Expand the whole subtree when provided with a prefix arg.
3067
3068 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3069
3070 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3071 iuwu-mod token.
3072 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3073 hanging iuwu-mod token.
3074 (ruby-smie--forward-token): Do not include a dot after a token in
3075 that token.
3076 (ruby-smie--backward-token): Likewise.
3077
3078 2013-10-08 Juri Linkov <juri@jurta.org>
3079
3080 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3081 to isearch-other-control-char.
3082 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3083 and isearch-post-command-hook to post-command-hook.
3084 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3085 and isearch-post-command-hook from post-command-hook.
3086 (isearch-unread-key-sequence)
3087 (isearch-reread-key-sequence-naturally)
3088 (isearch-lookup-scroll-key, isearch-other-control-char)
3089 (isearch-other-meta-char): Remove functions.
3090 (isearch-pre-command-hook, isearch-post-command-hook):
3091 New functions based on isearch-other-meta-char rewritten
3092 relying on the new behavior of overriding-terminal-local-map
3093 that does not replace the local keymaps any more. (Bug#15200)
3094
3095 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3096
3097 Support menus on text-mode terminals.
3098 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3099 functionality.
3100
3101 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3102
3103 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3104 Move here from mouse.el.
3105 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3106 and arrow keys.
3107 (tty-menu-navigation-map): New map for TTY menu navigation.
3108
3109 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3110
3111 * frame.el (display-mouse-p): Report text-mode mouse as available
3112 on w32.
3113 (display-popup-menus-p): Report availability if mouse is
3114 available; don't condition on window-system.
3115
3116 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3117 (tty-menu-selected-face): New faces.
3118
3119 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3122 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3123 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3124 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3125 New constants.
3126 (lisp-mode-variables): New `elisp' argument.
3127 (emacs-lisp-mode): Use it.
3128 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3129 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3130
3131 * indent.el: Use lexical-binding.
3132 (indent-region): Add progress reporter.
3133 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3134 last step.
3135 (indent--next-tab-stop): New function to implement this behavior.
3136 (tab-to-tab-stop, move-to-tab-stop): Use it.
3137
3138 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3139
3140 * indent.el (indent-rigidly--current-indentation): New function.
3141 (indent-rigidly-map): New var.
3142 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3143
3144 2013-10-08 Bastien Guerry <bzg@gnu.org>
3145
3146 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3147
3148 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * progmodes/perl-mode.el: Use lexical-binding.
3151 Remove redundant :group args.
3152 (perl-nochange): Change default to be closer to other major modes's
3153 standard behavior.
3154 (perl-indent-line): Don't consider text on current line as a
3155 valid beginning of function from which to indent.
3156
3157 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3158 with more than one argument (bug#15538).
3159
3160 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3161
3162 * vc/pcvs.el: Use lexical-binding.
3163 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3164 environment of `eval'.
3165 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3166 than a list of expressions. Adjust callers.
3167 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3168
3169 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3170
3171 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3172 case of the dot in a chained method call being on the following line.
3173
3174 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * electric.el (electric-indent-inhibit): New var.
3177 (electric-indent-post-self-insert-function): Use it.
3178 * progmodes/python.el (python-mode): Set it.
3179
3180 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3181 open braces.
3182
3183 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3184
3185 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3186 (css-mode): Use electric-indent-chars.
3187
3188 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3189 (font-lock-beg, font-lock-end): Move before first use.
3190 (nxml-mode): Use syntax-propertize-function.
3191 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3192 (nxml-extend-after-change-region): Remove.
3193 * nxml/xmltok.el: Use lexical-binding.
3194 (xmltok-save): Use `declare'.
3195 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3196 * nxml/nxml-util.el: Use lexical-binding.
3197 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3198 Use `declare'.
3199 * nxml/nxml-ns.el: Use lexical-binding.
3200 (nxml-ns-save): Use `declare'.
3201 (nxml-ns-prefixes-for): Avoid add-to-list.
3202 * nxml/rng-match.el: Use lexical-binding.
3203 (rng--ipattern): Use cl-defstruct.
3204 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3205 (rng-cons-group-after, rng-subst-group-after)
3206 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3207 Use closures instead of `(lambda...).
3208
3209 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3210
3211 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3212 of BEG and END.
3213
3214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3215 Use `tramp-handle-insert-file-contents'.
3216 (tramp-gvfs-handle-insert-file-contents): Remove function.
3217
3218 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3219 Use `save-restriction' in order to keep markers.
3220
3221 * net/trampver.el: Update release number.
3222
3223 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * progmodes/compile.el (compilation-parse-errors):
3226 Use compilation--put-prop.
3227 (compilation--ensure-parse): Check compilation-multiline.
3228
3229 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3230
3231 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3232 lexical-binding.
3233
3234 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3235
3236 * progmodes/ruby-mode.el: Fix recently added tests.
3237 (ruby-smie-grammar): Add - and +.
3238 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3239 (ruby-smie--backward-id): New functions.
3240 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3241 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3242 any more.
3243
3244 2013-10-07 Leo Liu <sdl.web@gmail.com>
3245
3246 * register.el (register-preview-delay)
3247 (register-preview-functions): New variables.
3248 (register-read-with-preview, register-preview)
3249 (register-describe-oneline): New functions.
3250 (point-to-register, window-configuration-to-register)
3251 (frame-configuration-to-register, jump-to-register)
3252 (number-to-register, view-register, insert-register)
3253 (copy-to-register, append-to-register, prepend-to-register)
3254 (copy-rectangle-to-register): Use register-read-with-preview to
3255 read register. (Bug#15525)
3256
3257 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3258
3259 * net/network-stream.el (network-stream-open-starttls): Don't add
3260 --insecure if it's already present, because that gnutls-cli
3261 rejects getting that parameter twice.
3262
3263 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3264
3265 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3266 keyword, too.
3267
3268 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3269
3270 * newcomment.el (comment-use-global-state): Change default value
3271 to t, mark obsolete (Bug#15251).
3272 (comment-beginning): In addition to `comment-to-syntax', check the
3273 value of `comment-use-global-state'.
3274
3275 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3278 (ruby-comment-column): Follow the global default, by default.
3279 (ruby-smie-grammar): Add assignment syntax.
3280 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3281 open-paren, a comma, or a \.
3282 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3283 and line continuations.
3284 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3285 followed by implicit semi-colons. Add rule for string concatenation
3286 and for indentation at BOB.
3287 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3288
3289 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3290 calling next-sexp, since next-token may have skipped chars which
3291 next-sexp doesn't know should be skipped!
3292
3293 2013-10-05 Leo Liu <sdl.web@gmail.com>
3294
3295 * progmodes/octave.el (octave-send-region):
3296 Call compilation-forget-errors.
3297
3298 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3299
3300 * vc/vc-svn.el (vc-svn-find-admin-dir):
3301 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3302 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3303 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3304 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3305
3306 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3309
3310 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * subr.el (read-passwd): Hide chars even when called within a context
3313 where after-change-functions is disabled (bug#15501).
3314 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3315 until we removed ourself from overriding-terminal-local-map.
3316
3317 2013-10-04 Leo Liu <sdl.web@gmail.com>
3318
3319 * progmodes/octave.el (inferior-octave-mode):
3320 Call compilation-forget-errors.
3321
3322 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3323
3324 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3325
3326 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * net/secrets.el (secrets-create-collection): Add optional
3329 argument ALIAS. Use proper Label keyword. Append ALIAS as
3330 dbus-call-method argument. (Bug#15516)
3331
3332 2013-10-04 Leo Liu <sdl.web@gmail.com>
3333
3334 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3335 (inferior-octave-compilation-font-lock-keywords): New variables.
3336 (compilation-error-regexp-alist)
3337 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3338 (inferior-octave-mode): Use compilation-shell-minor-mode.
3339
3340 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3341
3342 * minibuffer.el (completion--replace): Be careful that `end' might be
3343 a marker.
3344
3345 2013-10-03 Daiki Ueno <ueno@gnu.org>
3346
3347 Add support for package signature checking.
3348 * emacs-lisp/package.el (url-http-file-exists-p)
3349 (epg-make-context, epg-context-set-home-directory)
3350 (epg-verify-string, epg-context-result-for)
3351 (epg-signature-status, epg-signature-to-string)
3352 (epg-check-configuration, epg-configuration)
3353 (epg-import-keys-from-file): Declare.
3354 (package-check-signature): New user option.
3355 (package-unsigned-archives): New user option.
3356 (package-desc): Add `signed' field.
3357 (package-load-descriptor): Set `signed' field if .signed file exists.
3358 (package--archive-file-exists-p): New function.
3359 (package--check-signature): New function.
3360 (package-install-from-archive): Check package signature.
3361 (package--download-one-archive): Check archive signature.
3362 (package-delete): Remove .signed file.
3363 (package-import-keyring): New command.
3364 (package-refresh-contents): Import default keyring.
3365 (package-desc-status): Add "unsigned" status.
3366 (describe-package-1, package-menu--print-info)
3367 (package-menu-mark-delete, package-menu--find-upgrades)
3368 (package-menu--status-predicate): Support "unsigned" status.
3369
3370 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3373 the new compilation scheme using the new byte-codes.
3374
3375 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3376 (byte-pophandler): New byte codes.
3377 (byte-goto-ops): Adjust accordingly.
3378 (byte-compile--use-old-handlers): New var.
3379 (byte-compile-catch): Use new byte codes depending on
3380 byte-compile--use-old-handlers.
3381 (byte-compile-condition-case--old): Rename from
3382 byte-compile-condition-case.
3383 (byte-compile-condition-case--new): New function.
3384 (byte-compile-condition-case): New function that dispatches depending
3385 on byte-compile--use-old-handlers.
3386 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3387 when we can.
3388
3389 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3390 Optimize under `condition-case' and `catch' if
3391 byte-compile--use-old-handlers is nil.
3392 (disassemble-offset): Handle new bytecodes.
3393
3394 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * subr.el (error): Use `declare'.
3397 (decode-char, encode-char): Use advertised-calling-convention instead
3398 of the docstring to discourage use of the `restriction' arg.
3399
3400 2013-10-03 Daiki Ueno <ueno@gnu.org>
3401
3402 * epg.el (epg-verify-file): Add a comment saying that it does not
3403 notify verification error as a return value nor a signal.
3404 (epg-verify-string): Ditto.
3405
3406 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3407
3408 * progmodes/compile.el (compilation-start): Try globbing the arg to
3409 `cd' (bug#15417).
3410
3411 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3412
3413 Sync with Tramp 2.2.8.
3414
3415 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3416 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3417 * net/trampver.el: Update release number.
3418
3419 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3420
3421 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3422 and default-process-coding-system for darwin only.
3423
3424 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3427
3428 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3429
3430 * vc/vc-git.el (vc-git-grep): Disable pager.
3431
3432 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3433
3434 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3435 Use :url instead of :homepage, as per
3436 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3437
3438 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3439 non-nil, use `syntax-ppss' (Bug#15251).
3440
3441 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3442
3443 * progmodes/octave.el (inferior-octave-startup-file):
3444 Prefer ~/.emacs.d/init_octave.m.
3445
3446 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3447
3448 * emacs-lisp/package.el (package-desc-from-define):
3449 Accept additional arguments as plist, convert them to an alist and store
3450 them in the `extras' slot.
3451 (package-generate-description-file): Convert extras alist back to
3452 plist and append to the `define-package' form arguments.
3453 (package--alist-to-plist): New function.
3454 (package--ac-desc): Add `extras' slot.
3455 (package--add-to-archive-contents): Check if the archive-contents
3456 vector is long enough, and if it is, pass its `extras' slot value
3457 to `package-desc-create'.
3458 (package-buffer-info): Call `lm-homepage', pass the returned value
3459 to `package-desc-from-define'.
3460 (describe-package-1): Render the homepage button (Bug#13291).
3461
3462 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3463 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3464
3465 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3466
3467 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3468 and default-process-coding-system to utf-8-unix (Bug#15402).
3469
3470 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3471
3472 * subr.el (looking-back): Do not recommend using looking-back.
3473
3474 2013-09-28 Alan Mackenzie <acm@muc.de>
3475
3476 Fix indentation/fontification of Java enum with "implements".
3477
3478 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3479 regexp which matches "implements", etc., in Java.
3480 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3481 specifier clauses coming after "enum".
3482 * progmodes/cc-fonts.el (c-font-lock-declarations)
3483 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3484 after "enum".
3485
3486 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3487
3488 * faces.el (region): Change ns_selection_color to
3489 ns_selection_fg_color, add ns_selection_bg_color.
3490
3491 2013-09-28 Leo Liu <sdl.web@gmail.com>
3492
3493 * progmodes/octave.el (inferior-octave-completion-table)
3494 (inferior-octave-completion-at-point): Minor tweaks.
3495
3496 * textmodes/ispell.el (ispell-lookup-words): Rename from
3497 lookup-words. (Bug#15460)
3498 (lookup-words): Obsolete.
3499 (ispell-complete-word, ispell-command-loop): All uses changed.
3500
3501 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3502
3503 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3504 (octave-mode-menu): Add octave-send-buffer.
3505 (octave-send-buffer): New function.
3506
3507 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3508
3509 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3510 octave-lookfor.
3511 (octave-mode-menu): Add octave-lookfor.
3512 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3513 octave-lookfor.
3514 (octave-lookfor): New function.
3515
3516 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * emacs-lisp/cl-macs.el:
3519 (cl--loop-destr-temps): Remove.
3520 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3521 its convention.
3522 (cl--loop-set-iterator-function): New function.
3523 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3524 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3525 Bind `it' with `let' instead of substituting it with `cl-subst'.
3526 (cl--unused-var-p): New function.
3527 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3528 Eliminate some unused variable warnings (bug#15326).
3529
3530 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3531
3532 * doc-view.el (doc-view-scale-reset): Rename from
3533 `doc-view-reset-zoom-level'.
3534 (doc-view-scale-adjust): New command.
3535 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3536 `doc-view-scale-adjust'.
3537
3538 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3539
3540 * doc-view.el (doc-view-reset-zoom-level): New command.
3541 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3542 zoom commands (bug#15466).
3543
3544 2013-09-26 Kenichi Handa <handa@gnu.org>
3545
3546 * international/quail.el (quail-help): Make it not a command.
3547
3548 2013-09-26 Leo Liu <sdl.web@gmail.com>
3549
3550 * minibuffer.el (completion-all-sorted-completions): Make args
3551 optional as they are.
3552
3553 2013-09-25 Daniel Colascione <dancol@dancol.org>
3554
3555 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3556 specs are and that they're not evaluated.
3557
3558 2013-09-24 Sam Steingold <sds@gnu.org>
3559
3560 * midnight.el (clean-buffer-list-kill-regexps)
3561 (clean-buffer-list-kill-buffer-names): Update for the new Man
3562 buffer naming which includes the object name.
3563
3564 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3567 (eshell-parse-command, eshell-parse-pipeline): Use it since
3568 eshell-separate-commands requires a dynamic scoped var.
3569 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3570
3571 2013-09-23 Leo Liu <sdl.web@gmail.com>
3572
3573 * autoinsert.el (auto-insert-alist): Make the value of
3574 lexical-binding match its file setting.
3575
3576 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3577
3578 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3579
3580 * autoarg.el (autoarg-kp-digit-argument):
3581 * electric.el (Electric-command-loop):
3582 * kmacro.el (kmacro-step-edit-insert):
3583 Do not set universal-argument-num-events.
3584
3585 2013-09-22 Leo Liu <sdl.web@gmail.com>
3586
3587 * files.el (interpreter-mode-alist): Add octave.
3588
3589 2013-09-21 Alan Mackenzie <acm@muc.de>
3590
3591 C++: fontify identifier in declaration following "public:" correctly.
3592 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3593 to match "public", etc.
3594 (c-decl-prefix-re): Add ":" into the C++ value.
3595 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3596 bit. Add a check for a ":" preceded by "public", etc.
3597
3598 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3599
3600 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3601 recognized by GDB 7.5 and later.
3602
3603 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3604
3605 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3606
3607 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * subr.el (internal--call-interactively): New const.
3610 (called-interactively-p): Use it (bug#3984).
3611
3612 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3613
3614 * vc/pcvs.el (cvs-mode-ignore):
3615 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3616 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3617
3618 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3621 (eshell-ls-orig-insert-directory): Remove.
3622 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3623 (eshell-ls-use-in-dired): Use advice-add/remove.
3624 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3625 Add `orig-fun' arg for use in :around advice.
3626 Make it check (redundantly) eshell-ls-use-in-dired.
3627
3628 2013-09-19 Glenn Morris <rgm@gnu.org>
3629
3630 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3631
3632 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3633
3634 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3635
3636 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3637
3638 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3639 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3640 (tramp-get-remote-python): New defuns.
3641 (tramp-get-remote-uid-with-perl)
3642 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3643 contributed by yary <not.com@gmail.com> (tiny change).
3644 (tramp-get-remote-uid-with-python)
3645 (tramp-get-remote-gid-with-python): New defuns. Python code
3646 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3647 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3648
3649 2013-09-19 Glenn Morris <rgm@gnu.org>
3650
3651 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3652
3653 * eshell/em-unix.el (eshell-remove-entries):
3654 Rename argument to avoid name-clash with global `top-level'.
3655
3656 * eshell/esh-proc.el (eshell-kill-process-function):
3657 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3658 (eshell-reset-after-proc): Remove unused arg `proc'.
3659
3660 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3661 (directory-files-and-attributes): Mark unused arg.
3662
3663 * eshell/em-unix.el (eshell-remove-entries):
3664 Remove unused arg `path'. Update callers.
3665
3666 * eshell/em-hist.el (eshell-hist-parse-arguments):
3667 Remove unused arg `silent'. Update callers.
3668
3669 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3670 Fix (f)boundp mix-up.
3671
3672 * eshell/em-smart.el (eshell-smart-scroll-window)
3673 (eshell-disable-after-change):
3674 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3675
3676 2013-09-18 Alan Mackenzie <acm@muc.de>
3677
3678 Fix fontification of type when followed by "const".
3679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3680 "known" types from fontification.
3681
3682 2013-09-18 Glenn Morris <rgm@gnu.org>
3683
3684 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3685 (chart-face-list): Drop Emacsen without display-color-p.
3686
3687 * net/eww.el (libxml-parse-html-region): Declare.
3688 (eww-display-html): Explicit error if no libxml2 support.
3689
3690 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3691
3692 * image.el (image-type-from-buffer, image-multi-frame-p):
3693 Remove --without-x warning/error.
3694
3695 * mouse.el (mouse-yank-primary):
3696 * term.el (term-mouse-paste):
3697 Reorder to silence --without-x compilation.
3698
3699 * mpc.el (doc-view-mode): Silence --without-x compilation.
3700
3701 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3702 Silence --without-x compilation.
3703
3704 * progmodes/gud.el (gud-find-file, gud-mode):
3705 Silence --without-x compilation.
3706 (tooltip-mode): Declare.
3707
3708 * wdired.el (dired-backup-overwrite): Remove declaration.
3709 (wdired-mode-map): Add doc string.
3710
3711 * custom.el (x-get-resource): Declare.
3712
3713 * eshell/em-glob.el (ange-cache):
3714 * eshell/em-unix.el (ange-cache): Declare.
3715
3716 * faces.el (x-display-list, x-open-connection, x-get-resource):
3717 Declare.
3718
3719 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3720 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3721 Declare.
3722
3723 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3724
3725 * net/gnutls.el (gnutls-log-level): Declare.
3726
3727 * net/shr.el (image-size, image-animate): Declare.
3728
3729 * simple.el (font-info): Declare.
3730
3731 * subr.el (x-popup-dialog): Declare.
3732
3733 * term/common-win.el (x-select-enable-primary)
3734 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3735 Declare.
3736
3737 * term/ns-win.el (x-handle-args): Declare.
3738
3739 * term/x-win.el (x-select-enable-clipboard): Declare.
3740
3741 * term/w32-win.el (create-default-fontset): Declare.
3742
3743 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3744 Declare.
3745
3746 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3747 (fit-frame-to-buffer): Explicit error if --without-x.
3748 (mouse-autoselect-window-select): Silence compiler.
3749
3750 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3751
3752 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3753 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3754 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3755 * eshell/esh-util.el (eshell-sublist):
3756 Remove unused local variables.
3757
3758 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3759
3760 * textmodes/two-column.el: Make 2C-split work for --without-x.
3761 (scroll-bar-columns): Autoload.
3762 (top-level): Require fringe when compiling.
3763
3764 2013-09-18 Leo Liu <sdl.web@gmail.com>
3765
3766 * subr.el (add-hook): Robustify to handle closure as well.
3767
3768 2013-09-17 Glenn Morris <rgm@gnu.org>
3769
3770 * simple.el (messages-buffer-mode-map): Unbind "g".
3771
3772 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * help-mode.el (help-mode-finish): Use derived-mode-p.
3775 Remove obsolete highlighting.
3776
3777 * play/life.el (life-mode): Use define-derived-mode. Derive from
3778 special-mode.
3779 (life): Let-bind inhibit-read-only.
3780 (life-setup): Avoid `setq'. Use `life-mode'.
3781
3782 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3783 which should not be needed any more.
3784 (package-menu-refresh, package-menu-describe-package): Use user-error.
3785
3786 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3787 (eshell-post-rewrite-command-hook): Make obsolete.
3788 (eshell-parse-command): Simplify.
3789 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3790 (eshell--cmd): Declare.
3791 (eshell-parse-pipeline): Remove unused var `final-p'.
3792 Pass a dynvar to eshell-post-rewrite-command-hook.
3793 Implement the new eshell-post-rewrite-command-function.
3794 (eshell-invoke-directly): Remove unused arg `input'.
3795 * eshell/esh-io.el (eshell-io-initialize):
3796 Use eshell-post-rewrite-command-function (bug#15399).
3797 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3798 adjust to new calling convention.
3799 (eshell-create-handles): Rename args to avoid clashing with dynvar
3800 `standard-output'.
3801
3802 2013-09-17 Glenn Morris <rgm@gnu.org>
3803
3804 * simple.el (messages-buffer-mode): New major mode.
3805 (messages-buffer): New function.
3806 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3807 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3808 (ert-run-test): Use `messages-buffer' function.
3809 (ert--force-message-log-buffer-truncation): Ignore read-only.
3810 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3811 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3812
3813 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3816
3817 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3818
3819 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * icomplete.el (icomplete-in-buffer): New var.
3822 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3823 vars and replace them with functions.
3824 (icomplete-minibuffer-setup): Adjust accordingly.
3825 (icomplete--completion-table, icomplete--completion-predicate)
3826 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3827 New functions.
3828 (icomplete-forward-completions, icomplete-backward-completions)
3829 (icomplete-simple-completing-p, icomplete-exhibit)
3830 (icomplete-completions): Use them.
3831 (icomplete--in-region-buffer): New var.
3832 (icomplete--in-region-setup): New function.
3833 (icomplete-mode): Use it.
3834
3835 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3836 (bug#15379).
3837 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3838 return args and options.
3839 (eshell-eval-using-options): Use the new return value of
3840 eshell--do-opts to set the options's vars in their scope.
3841 (eshell--set-option): Rename from eshell-set-option.
3842 Add arg `opt-vals'.
3843 (eshell--process-option): Rename from eshell-process-option.
3844 Add arg `opt-vals'.
3845 (eshell--process-args): Use an `opt-vals' alist to store the options's
3846 values during their processing and return them additionally to the
3847 remaining args.
3848
3849 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3850
3851 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3852 continuation character an operator, as far as indentation is
3853 concerned (Bug#15369).
3854
3855 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3856
3857 * window.el (window--state-put-2): Don't process buffer state
3858 when buffer doesn't exist any more (Bug#15382).
3859
3860 2013-09-15 Glenn Morris <rgm@gnu.org>
3861
3862 * eshell/em-unix.el (eshell/rm):
3863 Make -f ignore missing files. (Bug#15373)
3864
3865 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3866 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3867 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3868
3869 2013-09-14 Glenn Morris <rgm@gnu.org>
3870
3871 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3872
3873 2013-09-13 Glenn Morris <rgm@gnu.org>
3874
3875 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3876 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3877
3878 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3879
3880 * frame.el (x-focus-frame): Mark as declared in frame.c.
3881
3882 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * ls-lisp.el: Use advice-add.
3885 (original-insert-directory): Remove.
3886 (ls-lisp--insert-directory): Rename from insert-directory; add
3887 `orig-fun' argument.
3888 (insert-directory): Advise.
3889
3890 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3891
3892 * term.el (term-emulate-terminal): Decode the command string
3893 before passing it to term-command-hook. (Bug#15337)
3894
3895 2013-09-13 Glenn Morris <rgm@gnu.org>
3896
3897 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3898
3899 * eshell/esh-ext.el (eshell-search-path): Declare.
3900
3901 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3902 Otherwise an error occurs if eshell-dirs module not loaded.
3903
3904 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3905
3906 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3909 `tramp-check-proper-host'. Check for a valid method name.
3910
3911 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3912 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3913 * net/tramp-sh.el (tramp-maybe-open-connection):
3914 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3915
3916 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3917 also for hash values.
3918
3919 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * term/ns-win.el (parameters): Don't declare as dynamic.
3922 (before-make-frame-hook): Don't add ineffective function.
3923
3924 * eshell/*.el: Use lexical-binding (bug#15231).
3925
3926 2013-09-12 Kenichi Handa <handa@gnu.org>
3927
3928 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3929
3930 2013-09-12 Glenn Morris <rgm@gnu.org>
3931
3932 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3933 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3934
3935 * subr.el (do-after-load-evaluation): Also give compiler warnings
3936 when obsolete files are used (except by obsolete files).
3937
3938 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3939 in the status output, assume `filename' is the first. (Bug#15322)
3940
3941 * vc/vc.el (vc-deduce-fileset): Doc fix.
3942
3943 * calc/calc-help.el (Info-goto-node):
3944 * progmodes/cperl-mode.el (Info-find-node):
3945 * vc/ediff.el (Info-goto-node): Update declarations.
3946
3947 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3948
3949 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3950 (vc-bzr-pull): Require vc-dispatcher.
3951 * vc/vc-git.el (vc-compilation-mode): Declare.
3952 (vc-git-pull): Require vc-dispatcher.
3953
3954 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3955
3956 * progmodes/octave.el (help-button-action): Declare.
3957
3958 * shell.el (shell-directory-tracker): Output error as a message
3959 rather than just returning it as a string.
3960 (shell-process-pushd): Remove useless use of message.
3961
3962 * dframe.el (dframe-timer-fn):
3963 * files.el (dir-locals-read-from-file):
3964 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3965 (mpc-format):
3966 * reveal.el (reveal-post-command):
3967 * saveplace.el (load-save-place-alist-from-file):
3968 * shell.el (shell-resync-dirs):
3969 * w32-common-fns.el (x-get-selection-value):
3970 * emacs-lisp/copyright.el (copyright-find-copyright):
3971 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3972 * emulation/tpu-edt.el (tpu-copy-keyfile):
3973 * play/bubbles.el (bubbles--mark-neighbourhood):
3974 * progmodes/executable.el
3975 (executable-make-buffer-file-executable-if-script-p):
3976 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3977
3978 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 Cleanup Eshell to rely less on dynamic scoping.
3981 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3982 last-value, and ext-command here. Bind `args' closer to `body'.
3983 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3984 (eshell--args): Declare new dynamic var.
3985 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3986 last-value, and ext-command. Pass `args' to `body'.
3987 (eshell-process-args): Bind eshell--args.
3988 (eshell-set-option): Use eshell--args.
3989 * eshell/eshell.el (eshell): Use derived-mode-p.
3990 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3991 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3992 (eshell-glob-function): Declare.
3993 * eshell/esh-util.el: Require cl-lib.
3994 (eshell-read-hosts-file): Avoid add-to-list.
3995 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3996 `err'.
3997 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3998 Declare.
3999 (eshell/diff): Remove unused var `err'.
4000 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4001 `killflag'.
4002 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4003 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4004 first use.
4005 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4006 Move declaration before first use.
4007 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4008 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4009 rely on cl-return.
4010
4011 2013-09-12 Glenn Morris <rgm@gnu.org>
4012
4013 * term/ns-win.el (global-map): Remove binding for ispell-next,
4014 deleted 1999-05-29. (Bug#15357)
4015
4016 2013-09-11 Glenn Morris <rgm@gnu.org>
4017
4018 * echistory.el (electric-command-history): Remove call to deleted func.
4019
4020 * play/landmark.el (landmark-mode): Fix typos.
4021
4022 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4023 Check cvs-sort-ignore-file is bound.
4024
4025 * savehist.el: No need for cl when compiling on Emacs.
4026
4027 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4030 (bug#15338).
4031 (eshell-self-insert-command, eshell-send-invisible):
4032 Remove unused argument.
4033 (eshell-handle-control-codes): Remove unused var `orig'.
4034 Avoid delete-backward-char.
4035
4036 * files.el (set-auto-mode): Simplify a bit further.
4037
4038 2013-09-11 Glenn Morris <rgm@gnu.org>
4039
4040 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4041 (set-auto-mode): Don't regexp-quote elements.
4042 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4043 * progmodes/cc-mode.el (interpreter-mode-alist):
4044 * progmodes/ruby-mode.el (interpreter-mode-alist):
4045 Revert previous change.
4046
4047 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * play/snake.el (snake-mode):
4050 * play/mpuz.el (mpuz-mode):
4051 * play/landmark.el (lm-mode):
4052 * play/blackbox.el (blackbox-mode):
4053 * play/5x5.el (5x5-mode):
4054 * obsolete/options.el (Edit-options-mode):
4055 * net/quickurl.el (quickurl-list-mode):
4056 * net/newst-treeview.el (newsticker-treeview-mode):
4057 * mail/rmailsum.el (rmail-summary-mode):
4058 * mail/mspools.el (mspools-mode):
4059 * locate.el (locate-mode):
4060 * ibuffer.el (ibuffer-mode):
4061 * emulation/ws-mode.el (wordstar-mode):
4062 * emacs-lisp/debug.el (debugger-mode):
4063 * array.el (array-mode):
4064 * net/eudc.el (eudc-mode): Use define-derived-mode.
4065 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4066 Move initialization into declaration.
4067 (mairix-searches-mode): Use define-derived-mode.
4068 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4069 (eudc-edit-hotlist): Use dolist.
4070 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4071 (Man-mode): Use define-derived-mode.
4072 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4073 (Info-edit-mode): Use define-derived-mode.
4074 (Info-cease-edit): Use Info-mode.
4075 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4076 into declaration.
4077 (eshell-mode): Use define-derived-mode.
4078 * chistory.el (command-history-mode-map): Rename from
4079 command-history-map.
4080 (command-history-mode): Use define-derived-mode.
4081 (Command-history-setup): Remove function.
4082 * calc/calc.el (calc-trail-mode-map): New var.
4083 (calc-trail-mode): Use define-derived-mode.
4084 (calc-trail-buffer): Set calc-main-buffer manually.
4085 * bookmark.el (bookmark-insert-annotation): New function.
4086 (bookmark-edit-annotation): Use it.
4087 (bookmark-edit-annotation-mode): Make it a proper major mode.
4088 (bookmark-send-edited-annotation): Use derived-mode-p.
4089 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4090 closer to its ideal place. Use \' to match EOS.
4091
4092 * profiler.el (profiler-calltree-find): Use function-equal.
4093
4094 2013-09-10 Glenn Morris <rgm@gnu.org>
4095
4096 * files.el (interpreter-mode-alist): Convert to regexps.
4097 (set-auto-mode): Adapt for this. (Bug#15306)
4098 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4099 Comment out unused variable.
4100 * progmodes/cc-mode.el (interpreter-mode-alist):
4101 * progmodes/python.el (interpreter-mode-alist):
4102 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4103 * progmodes/sh-script.el (sh-set-shell):
4104 No longer use interpreter-mode-alist to get list of shells.
4105
4106 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4107
4108 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * simple.el: Use set-temporary-overlay-map for universal-argument.
4111 (universal-argument-map): Don't use default-bindings (bug#15317).
4112 Bind switch-frame explicitly. Replace universal-argument-minus with
4113 a conditional binding.
4114 (universal-argument-num-events, saved-overriding-map): Remove.
4115 (restore-overriding-map): Remove.
4116 (universal-argument--mode): Rename from save&set-overriding-map,
4117 and rewrite.
4118 (universal-argument, universal-argument-more, negative-argument)
4119 (digit-argument): Adjust accordingly.
4120 (universal-argument-minus): Remove.
4121 (universal-argument-other-key): Remove.
4122
4123 * subr.el (with-demoted-errors): Add `format' argument.
4124
4125 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4126
4127 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4128 `tramp-cleanup-connection'.
4129
4130 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4131 parameters KEEP-DEBUG and KEEP-PASSWORD.
4132
4133 * net/tramp.el (tramp-file-name-handler):
4134 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4135 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4136 (tramp-maybe-open-connection):
4137 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4138 Use `tramp-cleanup-connection'.
4139
4140 * net/tramp-sh.el (tramp-maybe-open-connection):
4141 Catch 'uname-changed inside the progress reporter.
4142
4143 2013-09-10 Glenn Morris <rgm@gnu.org>
4144
4145 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4146
4147 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4148 returns "alternate access method" in mode (eg "-rw-r--r--.").
4149
4150 2013-09-08 Glenn Morris <rgm@gnu.org>
4151
4152 * saveplace.el (load-save-place-alist-from-file):
4153 Demote errors. (Bug#15305)
4154
4155 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4156
4157 Improve compatibility with older Emacsen, and XEmacs.
4158
4159 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4160 only if it is bound. It isn't for XEmacs.
4161 (with-tramp-progress-reporter): Do not let-bind `result'.
4162 This yields to scoping errors in XEmacs.
4163 (tramp-handle-make-auto-save-file-name): New function, moved from
4164 tramp-sh.el.
4165
4166 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4167 for `make-auto-save-file-name'.
4168 (tramp-adb--gnu-switches-to-ash):
4169 Use `tramp-compat-replace-regexp-in-string'.
4170
4171 * net/tramp-cache.el (tramp-cache-print): Call
4172 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4173
4174 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4175 bound. It isn't for XEmacs.
4176
4177 * net/tramp-compat.el (tramp-compat-copy-file):
4178 Catch `wrong-number-of-arguments' error.
4179 (tramp-compat-replace-regexp-in-string): New defun.
4180
4181 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4182 for `make-auto-save-file-name'.
4183 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4184 `copy-file'.
4185 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4186 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4187 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4188
4189 * net/tramp-gw.el (tramp-gw-open-network-stream):
4190 Use `tramp-compat-replace-regexp-in-string'.
4191
4192 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4193 Call `tramp-handle-make-auto-save-file-name'.
4194 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4195 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4196 (tramp-sh-file-inotifywait-process-filter):
4197 Use `tramp-compat-replace-regexp-in-string'.
4198 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4199
4200 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4201 for `make-auto-save-file-name'.
4202 (tramp-smb-handle-copy-directory):
4203 Call `tramp-compat-replace-regexp-in-string'.
4204 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4205 (tramp-smb-handle-copy-file): Improve error message.
4206 (tramp-smb-handle-rename-file): Rename directly only in case
4207 `newname' does not exist yet. This is a restriction of smbclient.
4208 (tramp-smb-maybe-open-connection): Rerun the function only when
4209 `auth-sources' is non-nil.
4210
4211 2013-09-08 Kenichi Handa <handa@gnu.org>
4212
4213 * international/characters.el: Set category "^" (Combining) for
4214 more characters.
4215
4216 2013-09-07 Alan Mackenzie <acm@muc.de>
4217
4218 Correctly fontify Java class constructors.
4219 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4220 in Java Mode.
4221 (c-recognize-typeless-decls): Set the Java value to t.
4222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4223 While handling a "(", add a check for, effectively, Java, and handle a
4224 "typeless" declaration there.
4225
4226 2013-09-07 Roland Winkler <winkler@gnu.org>
4227
4228 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4229 field subtitle for entry type book.
4230
4231 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4232
4233 * minibuffer.el: Make minibuffer-complete call completion-in-region
4234 rather than other way around.
4235 (completion--some, completion-pcm--find-all-completions):
4236 Don't delay signals when debugging.
4237 (minibuffer-completion-contents): Beware fields within the
4238 minibuffer contents.
4239 (completion-all-sorted-completions): Use defvar-local.
4240 (completion--do-completion, completion--cache-all-sorted-completions)
4241 (completion-all-sorted-completions, minibuffer-force-complete):
4242 Add args `beg' and `end'.
4243 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4244 (minibuffer-complete): Use completion-in-region.
4245 (completion-complete-and-exit): New fun, extracted from
4246 minibuffer-complete-and-exit.
4247 (minibuffer-complete-and-exit): Use it.
4248 (completion--complete-and-exit): Rename from
4249 minibuffer--complete-and-exit.
4250 (completion-in-region--single-word): New function, extracted from
4251 minibuffer-complete-word.
4252 (minibuffer-complete-word): Use it.
4253 (display-completion-list): Make `common-substring' argument obsolete.
4254 (completion--in-region): Call completion--in-region-1 instead of
4255 minibuffer-complete.
4256 (completion-help-at-point): Pass boundaries to
4257 minibuffer-completion-help as args rather than via an overlay.
4258 (completion-pcm--string->pattern): Use `any-delim'.
4259 (completion-pcm--optimize-pattern): New function.
4260 (completion-pcm--pattern->regex): Handle `any-delim'.
4261 * icomplete.el (icomplete-forward-completions)
4262 (icomplete-backward-completions, icomplete-completions):
4263 Adjust calls to completion-all-sorted-completions and
4264 completion--cache-all-sorted-completions.
4265 (icomplete-with-completion-tables): Default to t.
4266 * emacs-lisp/crm.el (crm--current-element): Rename from
4267 crm--select-current-element. Don't put an overlay but return the
4268 boundaries instead.
4269 (crm--completion-command): Take two new args to bind to the boundaries.
4270 (crm-completion-help): Adjust accordingly.
4271 (crm-complete): Use completion-in-region.
4272 (crm-complete-word): Use completion-in-region--single-word.
4273 (crm-complete-and-exit): Use completion-complete-and-exit.
4274
4275 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4278 than dynamically.
4279
4280 2013-09-06 Juri Linkov <juri@jurta.org>
4281
4282 * info.el (Info-display-images-node): When image file doesn't exist
4283 display text version of the image if it's provided in the Info file.
4284 Otherwise, display the location of missing image from SRC attribute.
4285 Add help-echo text property from ALT attribute. (Bug#15279)
4286
4287 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4288
4289 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4290 (edit-abbrevs-mode): Use define-derived-mode.
4291
4292 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4293 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4294 that it's defined.
4295 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4296 Use define-derived-mode.
4297
4298 * epg.el (epg-start-encrypt): Minor CSE simplification.
4299
4300 2013-09-06 William Xu <william.xwl@gmail.com>
4301
4302 * arc-mode.el: Add support for 7za (bug#15264).
4303 (archive-7z-program): New var.
4304 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4305 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4306 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4307
4308 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4309
4310 Remove URL syntax.
4311
4312 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4313 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4314 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4315 (tramp-postfix-host-format, tramp-file-name-regexp)
4316 (tramp-completion-file-name-regexp)
4317 (tramp-completion-dissect-file-name)
4318 (tramp-handle-substitute-in-file-name): Remove 'url case.
4319 (tramp-file-name-regexp-url)
4320 (tramp-completion-file-name-regexp-url): Remove constants.
4321
4322 2013-09-06 Glenn Morris <rgm@gnu.org>
4323
4324 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4325
4326 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4327
4328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4329 keywords" below "here-doc beginnings" (Bug#15270).
4330
4331 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4332
4333 * subr.el (pop): Use `car-safe'.
4334 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4335 to detect unused `pop' return value.
4336
4337 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4338 var `block-regexp'.
4339 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4340 (python-fill-string): Remove unused var `marker'.
4341 (python-skeleton-add-menu-items): Remove unused var `items'.
4342
4343 * international/mule-cmds.el: Require CL.
4344 (find-coding-systems-for-charsets): Avoid add-to-list.
4345 (sanitize-coding-system-list): New function, extracted from
4346 select-safe-coding-system-interactively.
4347 (select-safe-coding-system-interactively): Use it.
4348 (read-input-method-name): Accept symbols for `default'.
4349
4350 * emacs-lisp/advice.el (defadvice): Add indent rule.
4351
4352 2013-09-05 Daniel Hackney <dan@haxney.org>
4353
4354 * dired-x.el:
4355 * net/ange-ftp.el:
4356 * net/browse-url.el:
4357 * net/dbus.el:
4358 * net/eudc.el:
4359 * net/eudcb-ldap.el:
4360 * net/eww.el:
4361 * net/imap.el:
4362 * printing.el:
4363 * vc/ediff-diff.el:
4364 * vc/ediff-init.el:
4365 * vc/ediff-merg.el:
4366 * vc/ediff-mult.el:
4367 * vc/ediff-util.el:
4368 * vc/ediff-wind.el:
4369 * vc/ediff.el:
4370 * vc/emerge.el:
4371 * vc/pcvs.el:
4372 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4373 byte compiler. Remove some unused let-bound variables.
4374
4375 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4378 a "ref-cell", since it gets better optimized (bug#14883).
4379
4380 2013-09-05 Glenn Morris <rgm@gnu.org>
4381
4382 * progmodes/cc-awk.el (c-forward-sws): Declare.
4383
4384 2013-09-04 Glenn Morris <rgm@gnu.org>
4385
4386 * generic-x.el [rul-generic-mode]: Require cc-mode.
4387 (c++-mode-syntax-table): Declare.
4388 (rul-generic-mode-syntax-table): Init in the defvar.
4389
4390 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4393 (vc-do-command, vc-set-async-update):
4394 * vc/vc-mtn.el (vc-mtn-dir-status):
4395 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4396 (vc-hg-pull, vc-hg-merge-branch):
4397 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4398 (vc-git-merge-branch):
4399 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4400 (vc-cvs-dir-status-files):
4401 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4402 (vc-bzr-dir-status-files):
4403 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4404 * vc/vc-annotate.el: Use lexical-binding.
4405 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4406 (vc-sentinel-movepoint): Declare.
4407 (vc-annotate): Don't use `goto-line'.
4408 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4409 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4410 (vc-sentinel-movepoint): Declare.
4411 * vc/vc-svn.el: Use lexical-binding.
4412 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4413 * vc/vc-sccs.el:
4414 * vc/vc-rcs.el: Use lexical-binding.
4415
4416 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4417 `deleted'. Don't drop errors silently.
4418
4419 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4420
4421 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4422
4423 * vc/vc.el (vc-ignore): Rewrite.
4424 (vc-default-ignore): New function.
4425 (vc-default-ignore-completion-table): Use find-ignore-file.
4426
4427 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4428 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4429 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4430 Remove. Most code moved to vc.el.
4431
4432 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4435 * net/tramp-smb.el (tramp-smb-get-file-entries):
4436 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4437 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4438
4439 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4440 Update call to it.
4441 (eww-change-select): Remove unused var `properties'.
4442 (eww-make-unique-file-name): Remove unused var `base'.
4443
4444 * finder.el (finder-compile-keywords): Don't mess with windows.
4445
4446 * calculator.el (calculator-funcall): Fix typo in last change.
4447
4448 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4449
4450 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4451 <pkg>-autoloads.el file stop us.
4452
4453 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4454 warnings, and factor out common code.
4455
4456 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4457
4458 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4459 two-character operators and whether the character preceding them
4460 changes their meaning (Bug#15208).
4461
4462 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4463
4464 Format code sent to Python shell for robustness.
4465 * progmodes/python.el (python-shell-buffer-substring):
4466 New function.
4467 (python-shell-send-region, python-shell-send-buffer): Use it.
4468
4469 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4470
4471 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4472 * net/tramp.el (tramp-user-error): ... here.
4473 (tramp-find-method, tramp-check-proper-host)
4474 (tramp-dissect-file-name, tramp-debug-message)
4475 (tramp-handle-shell-command):
4476 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4478
4479 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4480
4481 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4482
4483 * avoid.el (mouse-avoidance-point-position)
4484 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4485 returns nil.
4486
4487 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4488
4489 * progmodes/python.el (python-shell-completion-get-completions):
4490 Drop use of deleted `comint-last-prompt-overlay'.
4491 (python-nav-if-name-main): New command.
4492
4493 2013-09-01 Glenn Morris <rgm@gnu.org>
4494
4495 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4496 Avoid leading space in $wins. Otherwise the sed command used by
4497 eg compile-main ends up containing "/*.el". (Bug#15170)
4498
4499 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4500
4501 2013-08-30 Glenn Morris <rgm@gnu.org>
4502
4503 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4504 Fix is-this-a-directory logic. (Bug#15220)
4505
4506 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * textmodes/css-mode.el: Use SMIE.
4509 (css-smie-grammar): New var.
4510 (css-smie--forward-token, css-smie--backward-token)
4511 (css-smie-rules): New functions.
4512 (css-mode): Use them.
4513 (css-navigation-syntax-table): Remove var.
4514 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4515 (css-indent-calculate, css-indent-line): Remove functions.
4516
4517 Misc changes to reduce use of `(lambda...); and other cleanups.
4518 * cus-edit.el: Use lexical-binding.
4519 (customize-push-and-save, customize-apropos)
4520 (custom-buffer-create-internal): Use closures.
4521 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4522 * progmodes/ada-xref.el: Use setq.
4523 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4524 * dframe.el: Use lexical-binding.
4525 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4526 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4527 * descr-text.el: Use lexical-binding.
4528 (describe-text-widget, describe-text-sexp, describe-property-list):
4529 Use closures.
4530 * comint.el (comint-history-isearch-push-state): Use a closure.
4531 * calculator.el: Use lexical-binding.
4532 (calculator-number-to-string): Make it work with lexical-binding.
4533 (calculator-funcall): Same and use cl-letf.
4534
4535 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4536 (lisp--company-doc-string, lisp--company-location): New functions.
4537 (lisp-completion-at-point): Use them to improve Company support.
4538
4539 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4540 params of lambda expressions.
4541 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4542 (ruby-smie--opening-pipe-p): New function.
4543 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4544 symbols and matched |...| for formal params.
4545 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4546 from being treated as hanging. Handle "rescue".
4547
4548 2013-08-29 Glenn Morris <rgm@gnu.org>
4549
4550 * progmodes/cc-engine.el (c-pull-open-brace):
4551 Move definition before use.
4552
4553 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4556 are immutable. Don't use `unsafe' any more.
4557 (cl--defsubst-expand): Don't substitute at the same time as keeping
4558 a residual unused let-binding. Don't use `unsafe' any more.
4559
4560 2013-08-29 Glenn Morris <rgm@gnu.org>
4561
4562 * calendar/cal-china.el (calendar-chinese-year-cache):
4563 Recenter on 2015.
4564
4565 * nxml/nxml-util.el (nxml-debug-clear-inside):
4566 Use cl-loop rather than loop.
4567
4568 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4569
4570 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4571
4572 2013-08-28 Glenn Morris <rgm@gnu.org>
4573
4574 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4575
4576 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4577
4578 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4579
4580 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * simple.el (repeat-complex-command--called-interactively-skip):
4583 New function.
4584 (repeat-complex-command): Use it (bug#14136).
4585
4586 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4587 (c-define-abbrev-table): Add `doc' argument.
4588 (c-mode-abbrev-table, c++-mode-abbrev-table)
4589 (objc-mode-abbrev-table, java-mode-abbrev-table)
4590 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4591 (awk-mode-abbrev-table): Use it.
4592 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4593 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4594 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4595 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4596 Move initialization into the declaration; and remove any
4597 autoload cookie.
4598
4599 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4600 and dynamic let binding.
4601
4602 * vc/smerge-mode.el: Remove redundant :group args.
4603
4604 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4605 to load-path.
4606
4607 2013-08-28 Juri Linkov <juri@jurta.org>
4608
4609 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4610 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4611 (isearch-other-meta-char): Handle an undefined shifted printing
4612 character by downshifting it. (Bug#15200)
4613
4614 2013-08-28 Juri Linkov <juri@jurta.org>
4615
4616 * isearch.el (isearch-search): Change regexp error message for
4617 non-regexp searches. (Bug#15166)
4618
4619 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4620
4621 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4622 for portability to hosts where /bin/sh has problems.
4623
4624 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4627
4628 2013-08-27 Juri Linkov <juri@jurta.org>
4629
4630 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4631 in the keyboard macro. (Bug#15126)
4632
4633 2013-08-27 Juri Linkov <juri@jurta.org>
4634
4635 * isearch.el (isearch-quote-char): Comment out converting unibyte
4636 to multibyte, thus syncing with its `quoted-insert' counterpart.
4637 (Bug#15166)
4638
4639 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4640
4641 * window.el (display-buffer-use-some-window): Add missing
4642 argument in call of get-largest-window (Bug#15185).
4643 Reported by Stephen Leake.
4644
4645 2013-08-27 Glenn Morris <rgm@gnu.org>
4646
4647 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4648
4649 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4652 from a matcher-function unless there's no more matches (bug#15161).
4653
4654 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4655
4656 * minibuffer.el: Revert change from 2013-08-20.
4657
4658 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4659 with text property `tramp-default', if appropriate.
4660 (tramp-check-proper-host): New defun.
4661 (tramp-dissect-file-name): Do not check hostname. Revert change
4662 of 2013-03-18.
4663 (tramp-backtrace): Make VEC-OR-PROC optional.
4664
4665 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4666 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4667 * net/tramp-sh.el (tramp-maybe-open-connection):
4668 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4669 Apply `tramp-check-proper-host'.
4670
4671 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4672
4673 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4674 lambda expression in order to have `describe-variable' display it.
4675
4676 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4677
4678 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4679 BUF can be optional. (Bug#15186)
4680
4681 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4682
4683 * progmodes/flymake.el (flymake-get-real-file-name-function):
4684 Fix broken customization. (Bug#15184)
4685
4686 2013-08-25 Alan Mackenzie <acm@muc.de>
4687
4688 Improve indentation of bracelists defined by macros (without "=").
4689
4690 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4691 expansion begins with "{", regard it as bracelist when it doesn't
4692 contain a ";".
4693
4694 Parse C++ inher-intro when there's a template split over 2 lines.
4695
4696 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4697 rigorously the search for "class" etc. followed by ":".
4698
4699 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4700 random languages a regexp which never matches rather than nil.
4701
4702 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4703
4704 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4705 (c-awk-regexp-one-line-possibly-open-char-list-re)
4706 (c-awk-one-line-possibly-open-regexp-re)
4707 (c-awk-one-line-non-syn-ws*-re): Remove.
4708 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4709 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4710 (c-awk-space*-unclosed-regexp-/-re): New constants.
4711 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4712 aren't regexp delimiters.
4713
4714 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4715 handling for a rare situation in AWK Mode involving unterminated
4716 strings/regexps.
4717
4718 2013-08-23 Glenn Morris <rgm@gnu.org>
4719
4720 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4721
4722 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4723
4724 * files.el (create-file-buffer): If the result would begin with
4725 spaces, prepend a "|" instead of removing them. (Bug#15162)
4726
4727 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4730 text-properties (bug#15155).
4731
4732 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4733 exist any more.
4734 (calc-keypad-redraw): Remove unused var `pad'.
4735 (calc-keypad-press): Remove unused var `menu'.
4736
4737 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4738
4739 * window.el (display-buffer-pop-up-frame):
4740 Call pop-up-frame-function with BUFFER current so `make-frame' will
4741 use it as the new frame's buffer (Bug#15133).
4742
4743 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * calendar/timeclock.el: Minor cleanups.
4746 (timeclock-ask-before-exiting, timeclock-use-display-time):
4747 Use `symbol'.
4748 (timeclock-modeline-display): Define as alias before the
4749 actual definition.
4750 (timeclock-mode-line-display): Use define-minor-mode.
4751 (timeclock-day-list-template): Make it a function, add an argument.
4752 (timeclock-day-list-required, timeclock-day-list-length)
4753 (timeclock-day-list-debt, timeclock-day-list-span)
4754 (timeclock-day-list-break): Adjust calls accordingly.
4755
4756 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4759 Use read--expression so that completion works again.
4760
4761 2013-08-21 Sam Steingold <sds@gnu.org>
4762
4763 Add rudimentary inferior shell interaction
4764 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4765 (sh-set-shell): Reset it.
4766 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4767 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4768
4769 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * align.el: Use lexical-binding.
4772 (align-region): Simplify accordingly.
4773
4774 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4775
4776 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4777
4778 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4779 `non-essential' up.
4780
4781 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4782
4783 * net/tramp.el:
4784 * net/tramp-adb.el:
4785 * net/tramp-cmds.el:
4786 * net/tramp-ftp.el:
4787 * net/tramp-gvfs.el:
4788 * net/tramp-gw.el:
4789 * net/tramp-sh.el: Don't wrap external variable declarations by
4790 `eval-when-compile'.
4791
4792 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4793
4794 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4795 now that Emacs supports ImageMagick animations.
4796
4797 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4798
4799 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4800 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4801
4802 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4803
4804 * window.el (mouse-autoselect-window-select): Do autoselect when
4805 mouse pointer is on margin.
4806
4807 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4808
4809 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4810
4811 2013-08-16 Glenn Morris <rgm@gnu.org>
4812
4813 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4814 Handle "Remote Directory" response of some clients. (Bug#15058)
4815
4816 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4817 Tweak warning. (Bug#14926)
4818
4819 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4820 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4821
4822 * image-mode.el (image-mode-map): Add menu items to reverse,
4823 increase, decrease, reset animation speed.
4824 (image--set-speed, image-increase-speed, image-decrease-speed)
4825 (image-reverse-speed, image-reset-speed): New functions.
4826 (image-mode-map): Add bindings for speed commands.
4827
4828 * image.el (image-animate-get-speed, image-animate-set-speed):
4829 New functions.
4830 (image-animate-timeout): Respect image :speed property.
4831
4832 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4835 previous line (bug#15101).
4836 (debugger-eval-expression, debugger-record-expression):
4837 Use read--expression (bug#15102).
4838
4839 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4840
4841 Remove byte compiler warnings, visible when compiling with
4842 `byte-compile-force-lexical-warnings' set to t.
4843
4844 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4845 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4846 (tramp-handle-unhandled-file-name-directory)
4847 (tramp-handle-file-notify-add-watch, tramp-action-login)
4848 (tramp-action-succeed, tramp-action-permission-denied)
4849 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4850 arguments with "_".
4851
4852 * net/tramp-adb.el (tramp-adb-parse-device-names)
4853 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4854 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4855 (tramp-adb-handle-file-truename): Remove unused arguments.
4856
4857 * net/tramp-cache.el (tramp-flush-directory-property)
4858 (tramp-flush-connection-property, tramp-list-connections)
4859 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4860
4861 * net/tramp-compat.el (tramp-compat-make-temp-file):
4862 Rename FILENAME to F.
4863
4864 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4865 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4866 (tramp-zeroconf-parse-workstation-device-names)
4867 (tramp-zeroconf-parse-webdav-device-names)
4868 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4869
4870 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4871 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4872
4873 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4874 arguments.
4875 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4876 (tramp-sh-handle-insert-file-contents-literally)
4877 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4878 with "_".
4879 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4880 Remove unused variables.
4881
4882 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4883 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4884 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4885
4886 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4887 Make them a defconst.
4888 (tramp-uuencode-region): Remove unused variable.
4889
4890 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4891
4892 * frameset.el (frameset--prop-setter): New function.
4893 (frameset-prop): Add gv-setter declaration.
4894 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4895 parameter was already set in FILTERED. Doc fix.
4896 (frameset--record-minibuffer-relationships): Allow saving a
4897 minibufferless frame without its corresponding minibuffer frame.
4898 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4899 frame, if the frame id matches.
4900 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4901 frames before orphaned ones.
4902 (frameset-restore): Warn about orphaned windows, instead of error out.
4903
4904 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4905
4906 * window.el (window-make-atom): Don't overwrite parameter
4907 already present.
4908 (display-buffer-in-atom-window): Handle special case where we
4909 split an already atomic window.
4910 (window--major-non-side-window, display-buffer-in-side-window)
4911 (window--side-check): Ignore minibuffer window when walking
4912 window tree.
4913 (window-deletable-p): Return 'frame only if no other frame uses
4914 our minibuffer window.
4915 (record-window-buffer): Run buffer-list-update-hook.
4916 (split-window): Make sure window--check-frame won't destroy an
4917 existing atomic window in case the new window gets nested
4918 inside.
4919 (display-buffer-at-bottom): Ignore minibuffer window when
4920 walking window tree. Don't split a side window.
4921 (pop-to-buffer): Don't set-buffer here, the select-window call
4922 should do that.
4923 (mouse-autoselect-window-select): Autoselect only if we are in the
4924 text portion of the window.
4925
4926 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4927
4928 * net/shr.el (shr-parse-image-data): New function to grab both the
4929 data itself and the Content-Type.
4930 (shr-put-image): Use it.
4931
4932 * net/eww.el (eww-display-image): Ditto.
4933
4934 * image.el (image-content-type-suffixes): New variable.
4935
4936 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4937
4938 * progmodes/python.el (python-imenu--build-tree)
4939 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4940
4941 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4942
4943 * simple.el (backward-word): Mention the optional argument.
4944
4945 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * frameset.el (frameset--make): Rename constructor from make-frameset.
4948 (frameset-p, frameset-valid-p): Don't autoload.
4949 (frameset-valid-p): Use normal accessors.
4950
4951 2013-08-13 Glenn Morris <rgm@gnu.org>
4952
4953 * progmodes/compile.el (compile-command): Tweak example in doc.
4954 * obsolete/scribe.el (scribe-mode):
4955 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4956
4957 * mail/feedmail.el (feedmail-confirm-outgoing)
4958 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4959
4960 * cus-start.el (truncate-partial-width-windows): Fix type.
4961
4962 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4963
4964 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4965
4966 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * emacs-lisp/timer.el (timer--time-setter): New function.
4969 (timer--time): Use it as gv-setter.
4970
4971 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4972 setter is not a symbol.
4973
4974 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4975
4976 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4977 if sending fails. This makes debugging easier.
4978
4979 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4980
4981 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4982 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4983 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4984
4985 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4986
4987 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4988
4989 2013-08-12 Glenn Morris <rgm@gnu.org>
4990
4991 * format.el (format-annotate-function):
4992 Handle read-only text properties in the source. (Bug#14887)
4993
4994 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4995
4996 * net/eww.el (eww-display-html): Ignore coding system errors.
4997 One web site uses "utf-8lias" as the coding system.
4998
4999 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5000
5001 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5002
5003 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5006 (tutorial--detailed-help): Remove unused local variables.
5007 (tutorial--save-tutorial-to): Use ignore-errors.
5008 (help-with-tutorial): Use looking-at-p.
5009
5010 * view.el (view-buffer-other-window, view-buffer-other-frame):
5011 Mark unused arguments.
5012
5013 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5014 (woman-select-symbol-fonts, woman, woman-find-file)
5015 (woman-insert-file-contents, woman-non-underline-faces):
5016 Use string-match-p.
5017 (woman1-unquote): Move declaration.
5018
5019 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5020 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5021 argument. Remove unused local variable.
5022 (xml-parse-elem-type): Use string-match-p.
5023 (xml-substitute-numeric-entities): Use ignore-errors.
5024
5025 * calculator.el (calculator): Mark unused argument.
5026 (calculator-paste, calculator-quit, calculator-integer-p):
5027 Use ignore-errors.
5028 (calculator-string-to-number, calculator-decimal, calculator-exp)
5029 (calculator-op-or-exp): Use string-match-p.
5030
5031 * dired.el (dired-buffer-more-recently-used-p): Declare.
5032 (dired-insert-set-properties, dired-insert-old-subdirs):
5033 Use ignore-errors.
5034
5035 * dired-aux.el (dired-compress): Use ignore-errors.
5036 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5037 (dired-do-async-shell-command, dired-do-shell-command)
5038 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5039 (dired-insert-subdir-validate): Use string-match-p.
5040 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5041 (dired-add-entry): Use string-match-p, looking-at-p.
5042 (dired-insert-subdir-newpos): Remove unused local variable.
5043
5044 * filenotify.el (file-notify-callback): Remove unused local variable.
5045
5046 * filesets.el (filesets-error): Mark unused argument.
5047 (filesets-which-command-p, filesets-filter-dir-names)
5048 (filesets-directory-files, filesets-get-external-viewer)
5049 (filesets-ingroup-get-data): Use string-match-p.
5050
5051 * find-file.el (ff-other-file-name, ff-other-file-name)
5052 (ff-find-the-other-file, ff-cc-hh-converter):
5053 Remove unused local variables.
5054 (ff-get-file-name): Use string-match-p.
5055 (ff-all-dirs-under): Use ignore-errors.
5056
5057 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5058 (follow-select-if-visible): Remove unused local variable.
5059
5060 * forms.el (read-file-filter): Move declaration.
5061 (forms--make-format, forms--make-parser, forms-insert-record):
5062 Quote function with #'.
5063 (forms--update): Use string-match-p. Quote function with #'.
5064
5065 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5066 (help-make-xrefs): Use looking-at-p.
5067 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5068
5069 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5070 (ibuffer-confirm-operation-on): Use string-match-p.
5071
5072 * msb.el (msb-item-handler, msb-dired-item-handler):
5073 Mark unused arguments.
5074
5075 * ses.el (ses-decode-cell-symbol)
5076 (ses-kill-override): Remove unused local variable.
5077 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5078 (ses-load): Use ignore-errors, looking-at-p.
5079 (ses-jump-safe): Use ignore-errors.
5080 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5081
5082 * tabify.el (untabify, tabify): Mark unused arguments.
5083
5084 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5085 Mark unused argument.
5086 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5087 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5088
5089 * emacs-lisp/timer.el (timer--time): Define setter with
5090 gv-define-setter to avoid deprecation warning.
5091
5092 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5093 (*record-cmpl-statistics-p*): Remove (was commented out).
5094 (cmpl-statistics-block): Remove (body was commented out).
5095 All callers changed.
5096 (add-completions-from-buffer, load-completions-from-file):
5097 Remove unused variables.
5098
5099 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5100
5101 * filecache.el (file-cache-delete-file-list):
5102 Print message only when told so.
5103 (file-cache-files-matching): Use #' in mapconcat argument.
5104
5105 * ffap.el (ffap-url-at-point): Fix reference to variable
5106 thing-at-point-default-mail-uri-scheme.
5107
5108 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * subr.el (define-error): New function.
5111 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5112 error-file-not-found and define with define-error.
5113 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5114 and define with define-error.
5115 * userlock.el (file-locked, file-supersession):
5116 * simple.el (mark-inactive):
5117 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5118 * progmodes/ada-mode.el (ada-mode-errors):
5119 * play/life.el (life-extinct):
5120 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5121 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5122 * nxml/rng-util.el (rng-error):
5123 * nxml/rng-uri.el (rng-uri-error):
5124 * nxml/rng-match.el (rng-compile-error):
5125 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5126 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5127 * nxml/nxml-rap.el (nxml-scan-error):
5128 * nxml/nxml-outln.el (nxml-outline-error):
5129 * net/soap-client.el (soap-error):
5130 * net/gnutls.el (gnutls-error):
5131 * net/ange-ftp.el (ftp-error):
5132 * mpc.el (mpc-proc-error):
5133 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5134 (json-number-format, json-string-escape, json-string-format)
5135 (json-key-format, json-object-format):
5136 * jka-compr.el (compression-error):
5137 * international/quail.el (quail-error):
5138 * international/kkc.el (kkc-error):
5139 * emacs-lisp/ert.el (ert-test-failed):
5140 * calc/calc.el (calc-error, inexact-result, math-overflow)
5141 (math-underflow):
5142 * bookmark.el (bookmark-error-no-filename):
5143 * epg.el (epg-error): Define with define-error.
5144
5145 * time.el (display-time-event-handler)
5146 (display-time-next-load-average): Don't call sit-for since it seems
5147 unnecessary (bug#15045).
5148
5149 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5150 Use #' instead of ' to quote functions.
5151 (checkdoc-output-mode): Use setq-local.
5152 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5153 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5154 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5155 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5156 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5157 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5158 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5159 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5160
5161 * ido.el (ido-completion-help): Fix up compiler warning.
5162
5163 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5164
5165 * frameset.el (frameset-p): Add autoload cookie.
5166 (frameset--jump-to-register): New function, based on code moved from
5167 register.el.
5168 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5169
5170 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5171 (frameset-restore, frameset-save, frameset-session-filter-alist):
5172 Remove declarations.
5173 (register-alist): Doc fix.
5174 (frameset-to-register): Move to frameset.el.
5175 (jump-to-register, describe-register-1): Remove frameset-specific code.
5176
5177 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5178
5179 * allout-widgets.el (allout-widgets-pre-command-business)
5180 (allout-widgets-post-command-business)
5181 (allout-widgets-after-change-handler)
5182 (allout-decorate-item-and-context, allout-set-boundary-marker)
5183 (allout-body-modification-handler)
5184 (allout-graphics-modification-handler): Mark ignored arguments.
5185 (allout-widgets-post-command-business)
5186 (allout-widgets-exposure-change-processor)
5187 (allout-widgets-exposure-undo-processor)
5188 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5189 (allout-parse-item-at-point, allout-decorate-item-guides)
5190 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5191 * allout.el (epa-passphrase-callback-function): Declare.
5192 (allout-overlay-insert-in-front-handler)
5193 (allout-overlay-interior-modification-handler)
5194 (allout-isearch-end-handler, allout-chart-siblings)
5195 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5196 (allout-yank-processing, allout-process-exposed)
5197 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5198 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5199 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5200 (lisp-indent-defform): Mark ignored arguments.
5201 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5202 (calculate-lisp-indent): Remove unused variables.
5203 * international/characters.el (indian-2-column, arabic-2-column)
5204 (tibetan): Mark ignored arguments.
5205 (use-cjk-char-width-table): Mark ignored arguments.
5206 Remove unused variables.
5207 * international/fontset.el (build-default-fontset-data)
5208 (x-compose-font-name, create-fontset-from-fontset-spec):
5209 Mark ignored arguments.
5210 (fontset-plain-name): Remove unused variables.
5211 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5212 (keyboard-coding-system): Mark ignored arguments.
5213 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5214 * help.el (resize-temp-buffer-window):
5215 * window.el (display-buffer-in-major-side-window)
5216 (display-buffer-in-side-window, display-buffer-in-previous-window):
5217 Remove unused variables.
5218 * isearch.el (isearch-forward-symbol):
5219 * version.el (emacs-bzr-version-bzr):
5220 * international/mule-cmds.el (current-language-environment):
5221 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5222 (x-handle-display):
5223 * term/pc-win.el (x-list-fonts, x-display-planes)
5224 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5225 (x-server-version, x-display-screens, x-display-mm-height)
5226 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5227 (x-selection-owner-p, x-own-selection-internal)
5228 (x-disown-selection-internal, x-get-selection-internal)
5229 (msdos-initialize-window-system):
5230 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5231 * term/x-win.el (x-handle-no-bitmap-icon):
5232 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5233 (vc-default-find-file-hook, vc-default-extra-menu):
5234 Mark ignored arguments.
5235
5236 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5239 break-condition in the context of the debugged code (bug#12685).
5240
5241 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5242
5243 * comint.el:
5244 Do not use an overlay to highlight the last prompt. (Bug#14744)
5245 (comint-mode): Make comint-last-prompt buffer local.
5246 (comint-last-prompt): New variable.
5247 (comint-last-prompt-overlay): Remove. Superseded by
5248 comint-last-prompt.
5249 (comint-snapshot-last-prompt, comint-output-filter):
5250 Use comint-last-prompt.
5251
5252 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5255 (frameset-save): Check validity of the resulting frameset.
5256
5257 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5258
5259 * ido.el (ido-record-command): Add doc string.
5260
5261 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5262
5263 * frameset.el (frameset): Do not disable creation of the default
5264 frameset-p predicate. Doc fix.
5265 (frameset-valid-p): New function, copied from the old predicate-p.
5266 Add additional checks.
5267 (frameset-restore): Check with frameset-valid-p.
5268 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5269 (frameset-name, frameset-description, frameset-properties)
5270 (frameset-states): Add docstring.
5271 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5272 (frameset-filter-alist): Doc fixes.
5273
5274 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5275
5276 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5277
5278 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5281 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5282 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5283 (byte-compile-normal-call): Remove obsolescence check.
5284
5285 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5286
5287 * frameset.el (frameset-restore): Doc fix.
5288
5289 * register.el (frameset-frame-id, frameset-frame-with-id)
5290 (frameset-p, frameset-restore, frameset-save): Declare.
5291 (register-alist): Document framesets.
5292 (frameset-session-filter-alist): Declare.
5293 (frameset-to-register): New function.
5294 (jump-to-register): Implement jumping to framesets. Doc fix.
5295 (describe-register-1): Describe framesets.
5296
5297 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5298
5299 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5302 Use lexical-binding.
5303
5304 * frameset.el (frameset): Use type vector, not list (incompatible
5305 change). Do not declare a new constructor, use the default one.
5306 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5307 `name' and `description', respectively, and add read-only slot
5308 `timestamp'. Doc fixes.
5309 (frameset-copy, frameset-persistent-filter-alist)
5310 (frameset-filter-alist, frameset-switch-to-gui-p)
5311 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5312 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5313 (frameset-filter-iconified, frameset-keep-original-display-p):
5314 Doc fixes.
5315 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5316 Rename from frameset-filter-(save|restore)-param. All callers changed.
5317 Doc fix.
5318 (frameset-p): Adapt to change to vector and be more thorough.
5319 Change arg name to OBJECT. Doc fix.
5320 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5321 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5322 All callers changed.
5323 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5324 All callers changed.
5325 (frameset--record-minibuffer-relationships): Rename from
5326 frameset--process-minibuffer-frames. All callers changed.
5327 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5328 Use new default constructor (again). Doc fix.
5329 (frameset--find-frame-if): Rename from `frameset--find-frame.
5330 All callers changed.
5331 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5332 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5333 Doc fix.
5334 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5335 PARAMETERS and WINDOW-STATE, respectively.
5336 (frameset-restore): Add new keyword argument PREDICATE.
5337 Reset frameset--target-display to nil. Doc fix.
5338
5339 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5342 (bat-mode): Use it.
5343 (bat-mode-syntax-table): Mark \n as end-of-comment.
5344 (bat-font-lock-keywords): Remove comment rule.
5345
5346 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5347 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5348
5349 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5350 (byte-compile-callargs-warn): Use `push'.
5351 (byte-compile-arglist-warn): Ignore higher-order "calls".
5352 (byte-compile-file-form-autoload): Use `pcase'.
5353 (byte-compile-function-form): If quoting a symbol, check that it exists.
5354
5355 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5356
5357 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5358 and add a few popular commands found in batch files.
5359 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5360 (dos-mode): Doc fixes.
5361
5362 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5365 (dos-mode): Use setq-local. Add space after "rem".
5366 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5367 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5368
5369 2013-08-07 Arni Magnusson <arnima@hafro.is>
5370
5371 * progmodes/dos.el: New file.
5372 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5373 dos-mode.
5374
5375 2013-08-06 Glenn Morris <rgm@gnu.org>
5376
5377 * calendar/calendar.el: Add new faces, and day-header-array.
5378 (calendar-weekday-header, calendar-weekend-header)
5379 (calendar-month-header): New faces.
5380 (calendar-day-header-construct): New function.
5381 (calendar-day-header-width): Also :set calendar-day-header-array.
5382 (calendar-american-month-header, calendar-european-month-header)
5383 (calendar-iso-month-header): Use calendar- faces.
5384 (calendar-generate-month):
5385 Use calendar-day-header-array for day headers; apply faces to them.
5386 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5387 (calendar-abbrev-construct): Add optional maxlen argument.
5388 (calendar-day-name-array): Doc fix.
5389 (calendar-day-name-array, calendar-abbrev-length)
5390 (calendar-day-abbrev-array):
5391 Also :set calendar-day-header-array, and maybe redraw.
5392 (calendar-day-header-array): New option. (Bug#15007)
5393 (calendar-font-lock-keywords): Set to nil and make obsolete.
5394 (calendar-day-name): Add option to use header array.
5395
5396 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5397
5398 * net/shr.el (shr-render-td): Remove debugging.
5399 (shr-render-td): Make width computation consistent by defaulting
5400 all zero-width columns to 10 characters. This may not be optimal,
5401 but it's at least consistent.
5402 (shr-make-table-1): Redo last change to fix the real problem in
5403 colspan handling.
5404
5405 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5406
5407 * files.el (cache-long-line-scans):
5408 Make obsolete alias to `cache-long-scans'.
5409
5410 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5411
5412 * frameset.el (frameset, frameset-filter-alist)
5413 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5414 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5415 (frameset-compute-pos): Rename from frameset--compute-pos,
5416 and add docstring.
5417 (frameset-move-onscreen): Use frameset-compute-pos.
5418 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5419
5420 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5421 Fix typos in docstrings.
5422
5423 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5424
5425 * frame.el (get-other-frame): Tiny cleanup.
5426
5427 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5428
5429 * vc/vc.el (vc-default-ignore-completion-table):
5430 Silence byte-compiler warning.
5431
5432 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5433 slot , which can indeed be nil.
5434 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5435 Move entry for `left' from persistent to live filter alist.
5436 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5437 Doc fixes.
5438 (frameset-filter-params): When restoring a frame, copy items added to
5439 `filtered', to avoid unwittingly modifying the original parameters.
5440 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5441 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5442
5443 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5444 to use looking-at-p instead of looking-at. (Bug#15028)
5445
5446 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 Revert introduction of isearch-filter-predicates (bug#14714).
5449 Rely on add-function instead.
5450 * isearch.el (isearch-filter-predicates): Rename it back to
5451 isearch-filter-predicate.
5452 (isearch-message-prefix): Use advice-function-mapc and advice
5453 properties to get the isearch-message-prefix.
5454 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5455 instead of run-hook-with-args-until-failure.
5456 (isearch-filter-visible): Not obsolete any more.
5457 * loadup.el: Preload nadvice.
5458 * replace.el (perform-replace): Revert to funcall
5459 instead of run-hook-with-args-until-failure.
5460 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5461 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5462 dired-isearch-filenames-toggle; make it into a proper minor mode.
5463 Use add/remove-function.
5464 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5465 Call the minor-mode rather than add/remove-hook.
5466 (dired-isearch-filter-filenames):
5467 Remove isearch-message-prefix property.
5468 * info.el (Info--search-loop): New function, extracted from Info-search.
5469 Funcall isearch-filter-predicate instead of
5470 run-hook-with-args-until-failure isearch-filter-predicates.
5471 (Info-search): Use it.
5472 (Info-mode): Use isearch-filter-predicate instead of
5473 isearch-filter-predicates.
5474
5475 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5476
5477 Do not call to `selected-window' where it is assumed by default.
5478 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5479 `window-hscroll', `window-width', `window-height', `window-buffer',
5480 `window-frame', `window-start', `window-point', `next-window'
5481 and `window-display-table'.
5482 * abbrev.el (abbrev--default-expand):
5483 * bs.el (bs--show-with-configuration):
5484 * buff-menu.el (Buffer-menu-mouse-select):
5485 * calc/calc.el (calc):
5486 * calendar/calendar.el (calendar-generate-window):
5487 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5488 (diary-make-entry):
5489 * comint.el (send-invisible, comint-dynamic-complete-filename)
5490 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5491 * completion.el (complete):
5492 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5493 * disp-table.el (describe-current-display-table):
5494 * doc-view.el (doc-view-insert-image):
5495 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5496 * ehelp.el (with-electric-help):
5497 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5498 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5499 * emacs-lisp/helper.el (Helper-help-scroller):
5500 * emulation/cua-base.el (cua--post-command-handler-1):
5501 * eshell/esh-mode.el (eshell-output-filter):
5502 * ffap.el (ffap-gnus-wrapper):
5503 * help-macro.el (make-help-screen):
5504 * hilit-chg.el (highlight-compare-buffers):
5505 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5506 * hl-line.el (global-hl-line-highlight):
5507 * icomplete.el (icomplete-simple-completing-p):
5508 * isearch.el (isearch-done):
5509 * jit-lock.el (jit-lock-stealth-fontify):
5510 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5511 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5512 * mpc.el (mpc-tagbrowser, mpc):
5513 * net/rcirc.el (rcirc-any-buffer):
5514 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5515 * play/landmark.el (landmark-max-width, landmark-max-height):
5516 * play/zone.el (zone):
5517 * progmodes/compile.el (compilation-goto-locus):
5518 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5519 * progmodes/etags.el (find-tag-other-window):
5520 * progmodes/fortran.el (fortran-column-ruler):
5521 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5522 * progmodes/verilog-mode.el (verilog-point-text):
5523 * reposition.el (reposition-window):
5524 * rot13.el (toggle-rot13-mode):
5525 * server.el (server-switch-buffer):
5526 * shell.el (shell-dynamic-complete-command)
5527 (shell-dynamic-complete-environment-variable):
5528 * simple.el (insert-buffer, set-selective-display)
5529 (delete-completion-window):
5530 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5531 (speedbar-recenter):
5532 * startup.el (fancy-splash-head):
5533 * textmodes/ispell.el (ispell-command-loop):
5534 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5535 * tutorial.el (help-with-tutorial):
5536 * vc/add-log.el (add-change-log-entry):
5537 * vc/compare-w.el (compare-windows):
5538 * vc/ediff-help.el (ediff-indent-help-message):
5539 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5540 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5541 (ediff-setup-control-frame):
5542 * vc/emerge.el (emerge-position-region):
5543 * vc/pcvs-util.el (cvs-bury-buffer):
5544 * window.el (walk-windows, mouse-autoselect-window-select):
5545 * winner.el (winner-set-conf, winner-undo): Related users changed.
5546
5547 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * frameset.el (frameset--set-id): Doc fix.
5550 (frameset-frame-id, frameset-frame-id-equal-p)
5551 (frameset-locate-frame-id): New functions.
5552 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5553 (frameset-restore): Use them.
5554
5555 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5556
5557 Do not call to `selected-frame' where it is assumed by default.
5558 Affected functions are `raise-frame', `redraw-frame',
5559 `frame-first-window', `frame-terminal' and `delete-frame'.
5560 * calendar/appt.el (appt-disp-window):
5561 * epg.el (epg-wait-for-completion):
5562 * follow.el (follow-delete-other-windows-and-split)
5563 (follow-avoid-tail-recenter):
5564 * international/mule.el (set-terminal-coding-system):
5565 * mail/rmail.el (rmail-mail-return):
5566 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5567 * progmodes/f90.el (f90-add-imenu-menu):
5568 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5569 * server.el (server-switch-buffer):
5570 * simple.el (delete-completion-window):
5571 * talk.el (talk):
5572 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5573 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5574 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5575 * vc/ediff.el (ediff-documentation): Related users changed.
5576 * frame.el (selected-terminal): Remove the leftover.
5577
5578 2013-08-05 Glenn Morris <rgm@gnu.org>
5579
5580 * calendar/calendar.el (calendar-generate-month):
5581 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5582 (calendar-generate-month, calendar-font-lock-keywords):
5583 Fix for calendar-day-header-width > length of any day name.
5584
5585 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * desktop.el (desktop-clear): Use new name of sort predicate.
5588
5589 * frameset.el (frameset): Add docstring. Move :version property to its
5590 own `version' slot.
5591 (frameset-copy): Rename from copy-frameset.
5592 (frameset-p): Check more thoroughly.
5593 (frameset-prop): Do not check for :version, which is no longer a prop.
5594 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5595 Use new :never value instead of t.
5596 (frameset-filter-alist): Expand and clarify docstring.
5597 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5598 (frameset-filter-minibuffer, frameset-filter-save-param)
5599 (frameset-filter-restore-param, frameset-filter-iconified):
5600 Add pointer to docstring of frameset-filter-alist.
5601 (frameset-filter-params): Rename filter values to be more meaningful:
5602 :never instead of t, and reverse the meanings of :save and :restore.
5603 (frameset--process-minibuffer-frames): Clarify error message.
5604 (frameset-save): Avoid unnecessary and confusing call to framep.
5605 Use new BOA constructor for framesets.
5606 (frameset--reuse-list): Doc fix.
5607 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5608 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5609 (frameset-minibufferless-first-p): Doc fix.
5610 Rename from frameset-sort-frames-for-deletion.
5611 (frameset-restore): Doc fixes. Use new function names.
5612 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5613
5614 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5615
5616 * desktop.el (desktop-restore-forces-onscreen)
5617 (desktop-restore-reuses-frames): Document :keyword constant values.
5618 (desktop-filter-parameters-alist): Remove, now identical to
5619 frameset-filter-alist.
5620 (desktop--filter-tty*): Remove, moved to frameset.el.
5621 (desktop-save-frameset, desktop-restore-frameset):
5622 Do not pass :filters argument.
5623
5624 * frameset.el (frameset-live-filter-alist)
5625 (frameset-persistent-filter-alist): New variables.
5626 (frameset-filter-alist): Use them. Add autoload cookie.
5627 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5628 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5629 `frameset--id' (it's supposed to be internal to frameset.el).
5630 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5631 (frameset--initial-params): New function.
5632 (frameset--get-frame): Use it. Doc fix.
5633 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5634 Accept :all, not 'all.
5635 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5636 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5637 with fbound symbols. Fix frame id matching, and remove matching ids if
5638 the frame being restored is deleted. Obey :delete.
5639
5640 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * subr.el (macrop): New function.
5643 (text-clone--maintaining): New var.
5644 (text-clone--maintain): Rename from text-clone-maintain. Use it
5645 instead of inhibit-modification-hooks.
5646
5647 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5648 a proxy, so as handle autoloads and redefinitions of the target.
5649 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5650
5651 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5652 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5653 (pcase--mutually-exclusive-p): New function.
5654 (pcase--split-consp): Use it.
5655 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5656 mutually exclusive with the current predicate.
5657
5658 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5659 (edebug-macrop): Remove. Use `macrop' instead.
5660 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5661 (ad-macro-p):
5662 * eshell/esh-cmd.el (eshell-macrop):
5663 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5664
5665 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5668 (advice-mapc): New function, using it.
5669 (advice-function-member-p): New function.
5670 (advice--normalize): Store the cdr in advice--saved-rewrite since
5671 that's the part that will be changed.
5672 (advice--symbol-function): New function.
5673 (advice-remove): Handle removal before the function is defined.
5674 Adjust to new advice--saved-rewrite.
5675 (advice-member-p): Use advice-function-member-p and
5676 advice--symbol-function.
5677
5678 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5679
5680 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5681 (frameset-filter-minibuffer): Doc fix.
5682 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5683 (frameset--set-id, frameset--process-minibuffer-frames)
5684 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5685 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5686
5687 * desktop.el (desktop-clear): Only delete frames when called
5688 interactively and desktop-restore-frames is non-nil. Doc fix.
5689 (desktop-read): Set desktop-saved-frameset to nil.
5690
5691 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5692
5693 * vc/vc.el (vc-ignore): Rewrite.
5694 (vc-default-ignore-completion-table):
5695 (vc--read-lines):
5696 (vc--add-line, vc--remove-regexp): New functions.
5697
5698 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5699 (vc-svn-ignore-completion-table): New function.
5700
5701 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5702 (vc-hg-ignore-completion-table):
5703 (vc-hg-find-ignore-file): New functions.
5704
5705 * vc/vc-git.el (vc-git-ignore): Rewrite.
5706 (vc-git-ignore-completion-table):
5707 (vc-git-find-ignore-file): New functions.
5708
5709 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5710
5711 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5712 (vc-bzr-ignore-completion-table):
5713 (vc-bzr-find-ignore-file): New functions.
5714
5715 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5716
5717 * frameset.el (frameset-prop): New function and setter.
5718 (frameset-save): Do not modify frame list passed by the caller.
5719
5720 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5723
5724 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5727 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5728
5729 * custom.el (custom-initialize-default, custom-initialize-set)
5730 (custom-initialize-reset, custom-initialize-changed): Affect the
5731 toplevel-default-value (bug#6275, bug#14586).
5732 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5733 for bug#6275.
5734
5735 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5736
5737 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5738 Add cl-def* expressions.
5739
5740 * frameset.el (frameset-filter-params): Fix order of arguments.
5741
5742 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5743
5744 Move code related to saving frames to frameset.el.
5745 * desktop.el: Require frameset.
5746 (desktop-restore-frames): Doc fix.
5747 (desktop-restore-reuses-frames): Rename from
5748 desktop-restoring-reuses-frames.
5749 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5750 (desktop-clear): Clear frames too.
5751 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5752 (desktop--filter-tty*, desktop-save, desktop-read):
5753 Use frameset functions.
5754 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5755 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5756 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5757 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5758 (desktop--process-minibuffer-frames, desktop-save-frames)
5759 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5760 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5761 (desktop--sort-states, desktop-restoring-frames-p)
5762 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5763 (desktop-restoring-frameset-p, desktop-restore-frameset)
5764 (desktop--check-dont-save, desktop-save-frameset): New functions.
5765 (desktop--app-id): New constant.
5766 (desktop-first-buffer, desktop-buffer-ok-count)
5767 (desktop-buffer-fail-count): Move before first use.
5768 * frameset.el: New file.
5769
5770 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * files.el: Use lexical-binding.
5773 (dir-locals-read-from-file): Remove unused `err' variable.
5774 (hack-dir-local-variables--warned-coding): New var.
5775 (hack-dir-local-variables): Use it to avoid repeated warnings.
5776 (make-backup-file-name--default-function): New function.
5777 (make-backup-file-name-function): Use it as default.
5778 (buffer-stale--default-function): New function.
5779 (buffer-stale-function): Use it as default.
5780 (revert-buffer-insert-file-contents--default-function): New function.
5781 (revert-buffer-insert-file-contents-function): Use it as default.
5782 (insert-directory): Avoid add-to-list.
5783
5784 * autorevert.el (auto-revert-handler): Simplify.
5785 Use buffer-stale--default-function.
5786
5787 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5788
5789 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5790
5791 * whitespace.el (whitespace-ensure-local-variables): New function.
5792 (whitespace-cleanup-region): Call it.
5793 (whitespace-turn-on): Call it.
5794
5795 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5796
5797 Complete file name handlers.
5798
5799 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5800 (tramp-handle-verify-visited-file-modtime)
5801 (tramp-handle-file-notify-rm-watch): New functions.
5802 (tramp-call-process): Do not bind `default-directory'.
5803
5804 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5805 Order alphabetically.
5806 [access-file, add-name-to-file, dired-call-process]:
5807 [dired-compress-file, file-acl, file-notify-rm-watch]:
5808 [file-ownership-preserved-p, file-selinux-context]:
5809 [make-directory-internal, make-symbolic-link, set-file-acl]:
5810 [set-file-selinux-context, set-visited-file-modtime]:
5811 [verify-visited-file-modtime]: Add handler.
5812 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5813
5814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5815 [file-notify-add-watch, file-notify-rm-watch]:
5816 [set-file-times, set-visited-file-modtime]:
5817 [verify-visited-file-modtime]: Add handler.
5818 (with-tramp-gvfs-error-message)
5819 (tramp-gvfs-handle-set-visited-file-modtime)
5820 (tramp-gvfs-fuse-file-name): Remove.
5821 (tramp-gvfs-handle-file-notify-add-watch)
5822 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5823 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5824
5825 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5826 Order alphabetically.
5827 [file-notify-rm-watch ]: Use default Tramp handler.
5828 [executable-find]: Remove private handler.
5829 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5830 `default-directory'.
5831 (tramp-sh-handle-executable-find)
5832 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5833 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5834 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5835 Do not use `format' in `tramp-message'.
5836
5837 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5838 [file-notify-rm-watch, set-visited-file-modtime]:
5839 [verify-visited-file-modtime]: Add handler.
5840 (tramp-smb-call-winexe): Do not bind `default-directory'.
5841
5842 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5843
5844 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5845
5846 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5847
5848 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5849 use it.
5850 (log-view-diff-changeset): Same.
5851 (log-view-diff-common): Call backend command `previous-revision'
5852 to find out the previous revision, in both cases. Swap the
5853 variables `to' and `fr', so that `fr' usually refers to the
5854 earlier revision (Bug#14989).
5855
5856 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5857
5858 * ibuf-ext.el (ibuffer-filter-by-filename):
5859 Make it work with dired buffers too.
5860
5861 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5862
5863 * emacs-lisp/re-builder.el (reb-color-display-p):
5864 * files.el (save-buffers-kill-terminal):
5865 * net/browse-url.el (browse-url):
5866 * server.el (server-save-buffers-kill-terminal):
5867 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5868 Prefer nil to selected-frame for the first arg of frame-parameter.
5869
5870 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5871
5872 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5873
5874 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5875
5876 * minibuffer.el (completion--twq-all): Try and preserve each
5877 completion's case choice (bug#14907).
5878
5879 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5880
5881 * net/network-stream.el (open-network-stream): Mention the new
5882 :nogreeting parameter.
5883 (network-stream-open-starttls): Use the :nogreeting parameter
5884 (bug#14938).
5885
5886 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5887
5888 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5889 more natural than popping.
5890
5891 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5892 (shr-urlify): Highlight under mouse.
5893
5894 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5895
5896 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5897
5898 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5899
5900 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5901 buffer for output.
5902
5903 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5904 point-min==1. Fix search string. Fix parentheses missing.
5905
5906 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5907 assume point-min==1. Fix search string. Fix parentheses missing.
5908
5909 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5910
5911 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5912 buffer for output.
5913
5914 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5915
5916 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5917 initial frame is minibuffer-less. (Bug#14841)
5918
5919 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5922 option.
5923
5924 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5925 (tramp-maybe-open-connection): Use it.
5926
5927 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5928
5929 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5930 minimal set of parameters passed when creating a frame, because
5931 the minibuffer status of a frame cannot be changed later.
5932
5933 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5934
5935 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5936 replace-regexp-in-string and inadvertent omissions in previous change.
5937 (todo-filter-items): Ensure only file names are comma-separated in
5938 name of filtered items buffer.
5939
5940 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5941
5942 * desktop.el: Optionally force offscreen frames back onscreen.
5943 (desktop-restoring-reuses-frames): New option.
5944 (desktop--compute-pos, desktop--move-onscreen): New functions.
5945 (desktop--make-frame): Use desktop--move-onscreen.
5946
5947 2013-07-27 Alan Mackenzie <acm@muc.de>
5948
5949 Fontify a Java generic method as a function.
5950 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5951 value to t.
5952
5953 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5954
5955 * calendar/todo-mode.el: Add command to rename todo files.
5956 (todo-rename-file): New command.
5957 (todo-key-bindings-t): Add key binding for it. Change the
5958 bindings of todo-filter-regexp-items(-multifile) to use `x'
5959 instead of `r', since the latter is better suited to the new
5960 renaming command.
5961
5962 2013-07-27 Alan Mackenzie <acm@muc.de>
5963
5964 Make Java try-with-resources statement parse properly.
5965 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5966 (c-block-stmt-1-2-key): New language constants/variables.
5967 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5968 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5969 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5970 with c-block-stmt-1-2-key.
5971
5972 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * desktop.el (desktop--make-frame): Apply most frame parameters after
5975 creating the frame to force (partially or totally) offscreen frames to
5976 be restored as such.
5977
5978 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5979
5980 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5981 (Bug#14948)
5982
5983 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5986 `base' arg of backtrace-frame.
5987
5988 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5989
5990 * simple.el (list-processes): Doc fix.
5991
5992 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5993
5994 * desktop.el (desktop--select-frame):
5995 Try harder to reuse existing frames.
5996
5997 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6000 (edebug-eval): Use backtrace-eval.
6001 (edebug--display, edebug--recursive-edit): Don't let-bind the
6002 edebug-outer-* vars that keep track of variables we locally let-bind.
6003 (edebug-outside-excursion): Don't restore outside values of locally
6004 let-bound vars.
6005 (edebug--display): Use user-error.
6006 (cl-lexical-debug, cl-debug-env): Remove.
6007
6008 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6009
6010 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6011 are restored to be sure that they are visible before deleting any
6012 remaining ones.
6013
6014 2013-07-26 Matthias Meulien <orontee@gmail.com>
6015
6016 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6017 vc-print-root-log. (Bug#14948)
6018
6019 2013-07-26 Richard Stallman <rms@gnu.org>
6020
6021 Add aliases for encrypting mail.
6022 * epa.el (epa-mail-aliases): New option.
6023 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6024 Bind inhibit-read-only so read-only text doesn't ruin everything.
6025 (epa-mail-default-recipients): New subroutine broken out.
6026 Handle epa-mail-aliases.
6027
6028 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 Add support for lexical variables to the debugger's `e' command.
6031 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6032 vars, except for debugger-outer-match-data.
6033 (debugger-frame-number): Move check for "on a function call" from
6034 callers into it. Add `skip-base' argument.
6035 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6036 (debugger-env-macro): Only reset the state stored in non-variables,
6037 i.e. current-buffer and match-data.
6038 (debugger-eval-expression): Rewrite using backtrace-eval.
6039 * subr.el (internal--called-interactively-p--get-frame): Remove.
6040 (called-interactively-p):
6041 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6042 `base' arg of backtrace-frame instead.
6043
6044 2013-07-26 Glenn Morris <rgm@gnu.org>
6045
6046 * align.el (align-regexp): Doc fix. (Bug#14857)
6047 (align-region): Explicit error if subexpression missing/does not match.
6048
6049 * simple.el (global-visual-line-mode):
6050 Do not duplicate the mode lighter. (Bug#14858)
6051
6052 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6053
6054 * window.el (display-buffer): In display-buffer bind
6055 split-window-keep-point to t, bug#14829.
6056
6057 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6058
6059 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6060 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6061 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6062 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6063 Change accordingly.
6064 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6065 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6066
6067 2013-07-25 Glenn Morris <rgm@gnu.org>
6068
6069 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6070
6071 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6074 parameter to modify-frame-parameters if the value has not changed;
6075 this is a workaround for bug#14949.
6076 (desktop--make-frame): On cl-delete-if call, check parameter name,
6077 not full parameter.
6078
6079 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6080
6081 * vc/vc.el (vc-ignore): New function.
6082
6083 * vc/vc-svn.el (vc-svn-ignore): New function.
6084
6085 * vc/vc-hg.el (vc-hg-ignore): New function.
6086
6087 * vc/vc-git.el (vc-git-ignore): New function.
6088
6089 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6090 (vc-dir-ignore): New function.
6091
6092 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6093 (cvs-append-to-ignore): Move here from pcvs.el.
6094
6095 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6096
6097 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6098
6099 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6102 (desktop-restore-frames): Warn when deleting an existing frame failed.
6103
6104 2013-07-24 Glenn Morris <rgm@gnu.org>
6105
6106 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6107
6108 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6109
6110 * filenotify.el (file-notify-supported-p):
6111 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6112 Remove functions.
6113
6114 * autorevert.el (auto-revert-use-notify):
6115 (auto-revert-notify-add-watch):
6116 * net/tramp.el (tramp-file-name-for-operation):
6117 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6119 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6120 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6121 Remove `file-notify-supported-p' entry.
6122
6123 2013-07-24 Glenn Morris <rgm@gnu.org>
6124
6125 * printing.el: Replace all uses of deleted ps-windows-system,
6126 ps-lp-system, ps-flatten-list with lpr- versions.
6127
6128 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6131 checked with memq (bug#14935).
6132
6133 * files.el (revert-buffer-function): Use a non-nil default.
6134 (revert-buffer-preserve-modes): Declare var to
6135 provide access to the `preserve-modes' argument.
6136 (revert-buffer): Let-bind it.
6137 (revert-buffer--default): New function, extracted from revert-buffer.
6138
6139 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * lpr.el: Signal print errors more prominently.
6142 (print-region-function): Don't default to nil.
6143 (lpr-print-region): New function, extracted from print-region-1.
6144 Check lpr's return value and signal an error in case of problem.
6145 (print-region-1): Use it.
6146 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6147 versions instead.
6148 (ps-printer-name): Default to nil.
6149 (ps-printer-name-option): Default to lpr-printer-switch.
6150 (ps-print-region-function): Don't default to nil.
6151 (ps-postscript-code-directory): Simplify default.
6152 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6153 (ps-string-list, ps-eval-switch, ps-flatten-list)
6154 (ps-flatten-list-1): Remove.
6155 (ps-multibyte-buffer): Avoid setq.
6156 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6157 (print-region-function, ps-print-region-function): Don't set them here.
6158
6159 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6160
6161 * ido.el (ido-fractionp):
6162 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6163 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6164 (ido-max-directory-size, ido-max-dir-file-cache)
6165 (ido-decorations): Doc fix.
6166
6167 * ansi-color.el: Fix old URL.
6168
6169 2013-07-23 Michael R. Mauger <michael@mauger.com>
6170
6171 * progmodes/sql.el: Version 3.3
6172 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6173 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6174 (sql-interactive-remove-continuation-prompt): Rewrite, use
6175 functions above. Fix continuation prompt and complete output line
6176 handling.
6177 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6178 redirected output buffer.
6179 (sql-mode): Restore deleted code (Bug#13591).
6180
6181 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6184
6185 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6186
6187 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6188
6189 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6190 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6191 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6192
6193 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6194
6195 * desktop.el (desktop-clear): Simplify; remove useless checks
6196 against invalid buffer names.
6197 (desktop-list*): Use cl-list*.
6198 (desktop-buffer-info, desktop-create-buffer): Simplify.
6199
6200 2013-07-23 Leo Liu <sdl.web@gmail.com>
6201
6202 * bookmark.el (bookmark-make-record): Restore NAME as a default
6203 value. (Bug#14933)
6204
6205 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6208 extracted from autoload--insert-text.
6209 (autoload--insert-text): Remove.
6210 (autoload--print-cookie-text): New function, extracted from
6211 autoload--insert-cookie-text.
6212 (autoload--insert-cookie-text): Remove.
6213 (autoload-generate-file-autoloads): Adjust calls accordingly.
6214
6215 * winner.el (winner-hook-installed-p): Remove.
6216 (winner-mode): Simplify accordingly.
6217
6218 * subr.el (add-to-list): Fix compiler-macro when `append' is
6219 not constant. Don't use `cl-member' for the base case.
6220
6221 * progmodes/subword.el: Fix boundary case (bug#13758).
6222 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6223 own group.
6224 (subword-backward-regexp): Make it a constant.
6225 (subword-forward-internal): Don't treat a trailing capital as the
6226 beginning of a word.
6227
6228 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6229
6230 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6231 global value of tabulated-list-revert-hook (bug#14930).
6232
6233 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6234
6235 * desktop.el: Require 'cl-lib.
6236 (desktop-before-saving-frames-functions): New hook.
6237 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6238 for frames being saved. Rename from desktop--save-minibuffer-frames.
6239 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6240 Do not save frames with non-nil `desktop-dont-save' parameter.
6241 Filter out deleted frames.
6242 (desktop--find-frame): Use cl-find-if.
6243 (desktop--select-frame): Use cl-(first|second|third) to access values
6244 of desktop-mini.
6245 (desktop--make-frame): Use cl-delete-if.
6246 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6247 (desktop-restore-frames): Use cl-(first|second|third) to access values
6248 of desktop-mini. Look for visible frame at the end, not while
6249 restoring frames.
6250
6251 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6252 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6253 Use string-match-p, looking-at-p (bug#14927).
6254
6255 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6256
6257 * desktop.el (desktop-saved-frame-states):
6258 Rename from desktop--saved-states; all users changed.
6259 (desktop-save-frames): Rename from desktop--save-frames.
6260 Do not save state to desktop file.
6261 (desktop-save): Save desktop-saved-frame-states to desktop file
6262 and reset to nil.
6263 (desktop-restoring-frames-p): New function.
6264 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6265 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6266 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6267
6268 * desktop.el: Correctly restore iconified frames.
6269 (desktop--filter-iconified-position): New function.
6270 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6271
6272 2013-07-20 Glenn Morris <rgm@gnu.org>
6273
6274 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6275 Let `message' do the formatting.
6276 (def-gdb-preempt-display-buffer): Add explicit format.
6277
6278 * image-dired.el (image-dired-track-original-file):
6279 Use with-current-buffer.
6280 (image-dired-track-thumbnail): Use with-current-buffer.
6281 Avoid changing point of wrong window.
6282
6283 * image-dired.el (image-dired-track-original-file):
6284 Avoid changing point of wrong window. (Bug#14909)
6285
6286 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6287
6288 * progmodes/gdb-mi.el (gdb-done-or-error):
6289 Guard against "%" in gdb output. (Bug#14127)
6290
6291 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6292
6293 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6294 (Bug#14826)
6295
6296 * international/mule.el (coding-system-iso-2022-flags): Fix last
6297 change.
6298
6299 2013-07-20 Kenichi Handa <handa@gnu.org>
6300
6301 * international/mule.el (coding-system-iso-2022-flags):
6302 Add `8-bit-level-4'. (Bug#8522)
6303
6304 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6305
6306 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6307 (bug#14815).
6308
6309 * net/eww.el (eww-process-text-input): Allow inputting when the
6310 point is at the start of the line, as the properties aren't
6311 front-sticky.
6312
6313 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6314 degenerate widths.
6315
6316 2013-07-19 Richard Stallman <rms@gnu.org>
6317
6318 * epa.el (epa-popup-info-window): Doc fix.
6319
6320 * subr.el (split-string): New arg TRIM.
6321
6322 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6325 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6326
6327 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6328
6329 * filenotify.el (file-notify--library): Rename from
6330 `file-notify-support'. Do not autoload. Adapt all uses.
6331 (file-notify-supported-p): New defun.
6332
6333 * autorevert.el (auto-revert-use-notify):
6334 Use `file-notify-supported-p' instead of `file-notify-support'.
6335 Adapt docstring.
6336 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6337
6338 * net/tramp.el (tramp-file-name-for-operation):
6339 Add `file-notify-supported-p'.
6340
6341 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6342 New defun.
6343 (tramp-sh-file-name-handler-alist): Add it as handler for
6344 `file-notify-supported-p '.
6345
6346 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6348 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6349 Add `ignore' as handler for `file-notify-*' functions.
6350
6351 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6352
6353 * simple.el (line-move-partial, line-move): Don't start vscroll or
6354 scroll-up if the current line is not taller than the window.
6355 (Bug#14881)
6356
6357 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6358
6359 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6360 highlight question marks in the method names as strings.
6361 (ruby-block-beg-keywords): Inline.
6362 (ruby-font-lock-keyword-beg-re): Extract from
6363 `ruby-font-lock-keywords'.
6364
6365 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6366
6367 * frame.el (blink-cursor-blinks): New defcustom.
6368 (blink-cursor-blinks-done): New defvar.
6369 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6370 (blink-cursor-timer-function): Check if number of blinks has been
6371 done on X and NS.
6372 (blink-cursor-suspend, blink-cursor-check): New defuns.
6373
6374 2013-07-15 Glenn Morris <rgm@gnu.org>
6375
6376 * edmacro.el (edmacro-format-keys): Fix previous change.
6377
6378 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6379
6380 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6381 The hack didn't work outside English locales anyway.
6382
6383 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * simple.el (define-alternatives): Rename from alternatives-define,
6386 per RMS' suggestion.
6387
6388 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6389
6390 * desktop.el (desktop-restore-frames): Change default to t.
6391 (desktop-restore-in-current-display): Now offer more options.
6392 (desktop-restoring-reuses-frames): New customization option.
6393 (desktop--saved-states): Doc fix.
6394 (desktop-filter-parameters-alist): New variable, renamed and expanded
6395 from desktop--excluded-frame-parameters.
6396 (desktop--target-display): New variable.
6397 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6398 (desktop--filter-tty*, desktop--filter-*-color)
6399 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6400 (desktop--filter-save-desktop-parm)
6401 (desktop-restore-in-original-display-p): New functions.
6402 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6403 (desktop--save-minibuffer-frames): New function, inspired by a similar
6404 function from Martin Rudalics.
6405 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6406 (desktop--restore-in-this-display-p): Remove.
6407 (desktop--find-frame): Rename from desktop--find-frame-in-display
6408 and add predicate argument.
6409 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6410 (desktop--reuse-list): New variable.
6411 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6412 New functions.
6413 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6414
6415 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6418
6419 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6420
6421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6422 Highlight conversion methods on Kernel.
6423
6424 2013-07-13 Alan Mackenzie <acm@muc.de>
6425
6426 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6427 and comment it out. This out-commenting enables certain C++
6428 declarations to be parsed correctly.
6429
6430 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6431
6432 * international/mule.el (define-coding-system): Doc fix.
6433
6434 * simple.el (default-font-height): Don't call font-info if the
6435 frame's default font didn't change since the frame was created.
6436 (Bug#14838)
6437
6438 2013-07-13 Leo Liu <sdl.web@gmail.com>
6439
6440 * ido.el (ido-read-file-name): Guard against non-symbol value.
6441
6442 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6443
6444 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6445 in nested defuns.
6446
6447 2013-07-13 Leo Liu <sdl.web@gmail.com>
6448
6449 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6450 ido-set-matches call. (Bug#6852)
6451
6452 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6453
6454 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6455 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6456 Ruby 2.0.
6457 (ruby-font-lock-keywords): Distinguish calls to functions with
6458 module-like names from module references. Highlight character
6459 literals.
6460
6461 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6462
6463 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6464 (gdb-send): Handle continued commands. (Bug#14847)
6465
6466 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6467
6468 * desktop.el (desktop--v2s): Remove unused local variable.
6469 (desktop-save-buffer): Make defvar-local; adjust docstring.
6470 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6471 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6472
6473 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6474
6475 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6476
6477 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6478
6479 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6480 (Bug#14842)
6481
6482 2013-07-12 Glenn Morris <rgm@gnu.org>
6483
6484 * doc-view.el: Require cl-lib at runtime too.
6485 (doc-view-remove-if): Remove.
6486 (doc-view-search-next-match, doc-view-search-previous-match):
6487 Use cl-remove-if.
6488
6489 * edmacro.el: Require cl-lib at runtime too.
6490 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6491 (edmacro-mismatch, edmacro-subseq): Remove.
6492
6493 * shadowfile.el: Require cl-lib.
6494 (shadow-remove-if): Remove.
6495 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6496 Use cl-remove-if.
6497
6498 * wid-edit.el: Require cl-lib.
6499 (widget-choose): Use cl-remove-if.
6500 (widget-remove-if): Remove.
6501
6502 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6503 (ebrowse-delete-if-not): Remove.
6504 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6505 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6506 Use cl-delete-if-not.
6507
6508 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6509
6510 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6511 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6512
6513 2013-07-12 Leo Liu <sdl.web@gmail.com>
6514
6515 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6516
6517 2013-07-11 Glenn Morris <rgm@gnu.org>
6518
6519 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6520 (edebug-gensym-index, edebug-gensym):
6521 Remove reimplementation of cl-gensym.
6522 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6523
6524 * thumbs.el: Require cl-lib at run-time too.
6525 (thumbs-gensym-counter, thumbs-gensym):
6526 Remove reimplementation of cl-gensym.
6527 (thumbs-temp-file): Use cl-gensym.
6528
6529 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6530 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6531 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6532 (ert--union, ert--gensym-counter, ert--gensym-counter)
6533 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6534 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6535 (ert-make-test-unbound, ert--expand-should-1)
6536 (ert--expand-should, ert--should-error-handle-error)
6537 (should-error, ert--explain-equal-rec)
6538 (ert--plist-difference-explanation, ert-select-tests)
6539 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6540 Use cl-lib functions rather than reimplementations.
6541
6542 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6543
6544 * net/tramp.el (tramp-methods): Extend docstring.
6545 (tramp-connection-timeout): New defcustom.
6546 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6547 (with-tramp-progress-reporter): Simplify.
6548 (tramp-process-actions): Improve messages.
6549
6550 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6551 * net/tramp-sh.el (tramp-maybe-open-connection):
6552 Use `tramp-connection-timeout'.
6553 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6554 (Bug#14808)
6555
6556 2013-07-11 Leo Liu <sdl.web@gmail.com>
6557
6558 * ido.el (ido-read-file-name): Conform to the requirements of
6559 read-file-name. (Bug#11861)
6560 (ido-read-directory-name): Conform to the requirements of
6561 read-directory-name.
6562
6563 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * subr.el (delay-warning): New function.
6566
6567 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6568
6569 * simple.el (default-line-height): New function.
6570 (line-move-partial, line-move): Use it instead of computing the
6571 line height inline.
6572 (line-move-partial): Always compute ROWH. If the last line is
6573 partially-visible, but its text is completely visible, allow
6574 cursor to enter such a partially-visible line.
6575
6576 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6577
6578 Improve error messages. (Bug#14808)
6579
6580 * net/tramp.el (tramp-current-connection): New defvar, moved from
6581 tramp-sh.el.
6582 (tramp-message-show-progress-reporter-message): Remove, not
6583 needed anymore.
6584 (tramp-error-with-buffer): Show message in minibuffer.
6585 Discard input before waiting. Reset connection timestamp.
6586 (with-tramp-progress-reporter): Improve messages.
6587 (tramp-process-actions): Use progress reporter. Delete process in
6588 case of error. Improve messages.
6589
6590 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6591 Call `tramp-error-with-buffer' with vector and buffer.
6592 (tramp-current-connection): Remove.
6593 (tramp-maybe-open-connection): The car of
6594 `tramp-current-connection' are the first 3 slots of the vector.
6595
6596 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6597
6598 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6599 inside continued strings.
6600
6601 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6602
6603 Timestamp fixes for undo (Bug#14824).
6604 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6605
6606 2013-07-10 Leo Liu <sdl.web@gmail.com>
6607
6608 * files.el (require-final-newline): Allow safe local value.
6609 (Bug#14834)
6610
6611 2013-07-09 Leo Liu <sdl.web@gmail.com>
6612
6613 * ido.el (ido-read-directory-name): Handle fallback.
6614 (ido-read-file-name): Update DIR to ido-current-directory.
6615 (Bug#1516)
6616 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6617
6618 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6619
6620 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6621 "autoload". Remove "warn lower camel case" section, previously
6622 commented out. Highlight negation char. Do not highlight the
6623 target in singleton method definitions.
6624
6625 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * faces.el (tty-setup-hook): Declare the hook.
6628
6629 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6630 and detect when a guard/pred depends on local vars (bug#14773).
6631 (pcase--u1): Adjust caller.
6632
6633 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6634
6635 * simple.el (line-move-partial, line-move): Account for
6636 line-spacing.
6637 (line-move-partial): Avoid setting vscroll when the last
6638 partially-visible line in window is of default height.
6639
6640 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6641
6642 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6643 been used a while.
6644
6645 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6646
6647 * subr.el (read-quoted-char): Remove unused local variable `char'.
6648
6649 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6650
6651 * ediff.el (ediff-version): Version update.
6652 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6653 (ediff-merge-with-ancestor-command, ediff-directories-command)
6654 (ediff-directories3-command, ediff-merge-directories-command)
6655 (ediff-merge-directories-with-ancestor-command): New functions.
6656 All are command-line interfaces to ediff: to facilitate calling
6657 Emacs with the appropriate ediff functions invoked.
6658
6659 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6660 (viper-save-kill-buffer): Check if buffer is modified.
6661
6662 * viper.el (viper-version): Version update.
6663 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6664
6665 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6668 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6669 (viper-intercept-ESC-key): Simplify.
6670 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6671 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6672 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6673 (viper-setup-ESC-to-escape): New functions.
6674 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6675 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6676
6677 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6678
6679 * simple.el (default-font-height, window-screen-lines):
6680 New functions.
6681 (line-move, line-move-partial): Use them instead of
6682 frame-char-height and window-text-height. This makes scrolling
6683 text smoother when the buffer's default face uses a font that is
6684 different from the frame's default font.
6685
6686 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6687
6688 * files.el (write-file): Do not display confirm dialog for NS,
6689 it does its own dialog, which can't be cancelled (Bug#14578).
6690
6691 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6692
6693 * simple.el (line-move-partial): Adjust the row returned by
6694 posn-at-point for the current window-vscroll. (Bug#14567)
6695
6696 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6697
6698 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6699 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6700 spaces.
6701
6702 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6703
6704 * window.el (window-state-put-stale-windows): New variable.
6705 (window--state-put-2): Save list of windows without matching buffer.
6706 (window-state-put): Remove "bufferless" windows if possible.
6707
6708 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * simple.el (alternatives-define): Remove leftover :group keyword.
6711 Tweak docstring.
6712
6713 2013-07-06 Leo Liu <sdl.web@gmail.com>
6714
6715 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6716 (ido-enable-virtual-buffers): New variable.
6717 (ido-buffer-internal, ido-toggle-virtual-buffers)
6718 (ido-make-buffer-list): Use it.
6719 (ido-exhibit): Support turning on and off virtual buffers
6720 automatically.
6721
6722 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * simple.el (alternatives-define): New macro.
6725
6726 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * subr.el (read-quoted-char): Use read-key.
6729 (sit-for): Let read-event decode tty input (bug#14782).
6730
6731 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6732
6733 * calendar/todo-mode.el: Add handling of file deletion, both by
6734 mode command and externally. Fix various related bugs.
6735 Clarify Commentary and improve some documentation strings and code.
6736 (todo-delete-file): New command.
6737 (todo-check-file): New function.
6738 (todo-show): Handle external deletion of the file we're trying to
6739 show (bug#14688). Replace called-interactively-p by an optional
6740 prefix argument to avoid problematic interaction with catch form
6741 when byte compiled (bug#14702).
6742 (todo-quit): Handle external deletion of the archive's todo file.
6743 Make sure the buffer that was visiting the archive file is still
6744 live before trying to bury it.
6745 (todo-category-completions): Handle external deletion of any
6746 category completion files.
6747 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6748 of todo files, in case of external deletion.
6749 (todo-add-file): Replace unnecessary setq by let-binding.
6750 (todo-find-archive): Check whether there are any archives.
6751 Replace unnecessary setq by let-binding.
6752 (todo-archive-done-item): Use find-file-noselect to get the
6753 archive buffer whether or not the archive already exists.
6754 Remove superfluous code. Use file size instead of buffer-file-name to
6755 check if the archive is new; if it is, update list of archives.
6756 (todo-default-todo-file): Allow nil to be a valid value for when
6757 there are no todo files.
6758 (todo-reevaluate-default-file-defcustom): Use corrected definition
6759 of todo-default-todo-file.
6760 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6761 (todo-delete-category, todo-show-categories-table)
6762 (todo-category-number): Clarify comment.
6763 (todo-filter-items): Clarify documentation string.
6764 (todo-show-current-file, todo-display-as-todo-file)
6765 (todo-reset-and-enable-done-separator): Tweak documentation string.
6766 (todo-done-separator): Make separator length window-width, since
6767 bug#2749 is now fixed.
6768
6769 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6770
6771 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6772 Support both "gvfs-monitor-dir" and "inotifywait".
6773 (tramp-sh-file-inotifywait-process-filter): Rename from
6774 `tramp-sh-file-notify-process-filter'.
6775 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6776 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6777
6778 2013-07-05 Leo Liu <sdl.web@gmail.com>
6779
6780 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6781
6782 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6783
6784 * frame.el (display-pixel-height, display-pixel-width)
6785 (display-mm-height, display-mm-width): Mention behavior on
6786 multi-monitor setups in docstrings.
6787 (w32-display-monitor-attributes-list): Declare function.
6788 (display-monitor-attributes-list): Use it.
6789
6790 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6791
6792 * filenotify.el: New package.
6793
6794 * autorevert.el (top): Require filenotify.el.
6795 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6796 instead.
6797 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6798 (auto-revert-notify-handler): Use `file-notify-*' functions.
6799
6800 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6801
6802 * net/tramp.el (tramp-file-name-for-operation):
6803 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6804
6805 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6806 for `file-notify-add-watch' and `file-notify-rm-watch'.
6807 (tramp-process-sentinel): Improve trace.
6808 (tramp-sh-handle-file-notify-add-watch)
6809 (tramp-sh-file-notify-process-filter)
6810 (tramp-sh-handle-file-notify-rm-watch)
6811 (tramp-get-remote-inotifywait): New defuns.
6812
6813 2013-07-03 Juri Linkov <juri@jurta.org>
6814
6815 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6816 call of `occur-read-primary-args' to interactive spec.
6817
6818 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6819 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6820
6821 2013-07-03 Matthias Meulien <orontee@gmail.com>
6822
6823 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6824 `Buffer-menu-multi-occur'. Add it to the menu.
6825 (Buffer-menu-mode): Document it in docstring.
6826 (Buffer-menu-multi-occur): New command. (Bug#14673)
6827
6828 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6829
6830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6831 keywords and built-ins.
6832
6833 2013-07-03 Glenn Morris <rgm@gnu.org>
6834
6835 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6836
6837 Make info-xref checks case-sensitive by default
6838 * info.el (Info-find-node, Info-find-in-tag-table)
6839 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6840 Add option for exact case matching of nodes.
6841 * info-xref.el (info-xref): New custom group.
6842 (info-xref-case-fold): New option.
6843 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6844
6845 2013-07-03 Leo Liu <sdl.web@gmail.com>
6846
6847 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6848
6849 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6850
6851 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6852 middle of block statement initially, lower the depth. Remove
6853 FIXME comment, not longer valid. Remove middle of block statement
6854 detection, no need to do that anymore since we've been using
6855 `ruby-parse-region' here.
6856
6857 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6858
6859 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6860
6861 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6862
6863 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6864
6865 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6866
6867 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6868 (desktop-restore-in-current-display): New customization option.
6869 (desktop--excluded-frame-parameters): Add `font'.
6870 (desktop--save-frames): Rename from desktop--save-windows.
6871 (desktop--restore-in-this-display-p): New function.
6872 (desktop--make-full-frame): Remove unwanted width/height from
6873 full(width|height) frames.
6874 (desktop--restore-frames): Rename from desktop--restore-windows.
6875 Obey desktop-restore-current-display. Do not delete old frames or
6876 select a new frame unless we were able to restore at least one frame.
6877
6878 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6879
6880 * files.el (find-file-noselect): Simplify conditional expression.
6881
6882 * remember.el (remember-append-to-file):
6883 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6884
6885 Add `remember-notes' function to store random notes across Emacs
6886 restarts.
6887 * remember.el (remember-data-file): Add :set callback to affect
6888 notes buffer (if any).
6889 (remember-notes): New command.
6890 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6891 New defcustoms for the `remember-notes' function.
6892 (remember-notes-save-and-bury-buffer): New command.
6893 (remember-notes-mode-map): New variable.
6894 (remember-mode): New minor mode.
6895 (remember-notes--kill-buffer-query): New function.
6896 * startup.el (initial-buffer-choice): Add notes to custom type.
6897
6898 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6899
6900 * bindings.el (right-char, left-char): Don't call sit-for, this is
6901 no longer needed. Use arithmetic comparison only for numerical
6902 arguments.
6903
6904 * international/mule-cmds.el (select-safe-coding-system):
6905 Handle the case of FROM being a string correctly. (Bug#14755)
6906
6907 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6908
6909 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6910 progression on degenerate tables.
6911 (shr-rescale-image): ImageMagick animated images currently don't work.
6912
6913 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6914
6915 Some fixes and improvements for desktop frame restoration.
6916 It is still experimental and disabled by default.
6917 * desktop.el (desktop--save-windows): Put the selected frame at
6918 the head of the list.
6919 (desktop--make-full-frame): New function.
6920 (desktop--restore-windows): Try to re-select the frame that was
6921 selected upon saving. Do not abort if some frames fail to restore,
6922 just show an error message and continue. Set up maximized frames
6923 so they have default non-maximized dimensions.
6924
6925 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6926
6927 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6928 Don't start heredoc inside a string or comment.
6929
6930 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6931
6932 * bindings.el (visual-order-cursor-movement): New defcustom.
6933 (right-char, left-char): Provide visual-order cursor motion by
6934 calling move-point-visually. Update the doc strings.
6935
6936 2013-06-28 Kenichi Handa <handa@gnu.org>
6937
6938 * international/mule.el (define-coding-system): New coding system
6939 properties :inhibit-null-byte-detection,
6940 :inhibit-iso-escape-detection, and :prefer-utf-8.
6941 (set-buffer-file-coding-system): If :charset-list property of
6942 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6943 appropriate for setting.
6944
6945 * international/mule-cmds.el (select-safe-coding-system):
6946 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6947 multibyte characters, return utf-8 (or one of its siblings).
6948
6949 * international/mule-conf.el (prefer-utf-8): New coding system.
6950 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6951 files.
6952
6953 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6954
6955 * net/shr.el (shr-render-region): New function.
6956
6957 * net/eww.el: Autoload `eww-browse-url'.
6958
6959 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6960
6961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6962 Adapt to `package-desc-version' being a list.
6963 Use `package--ac-desc-version' to retrieve version from a package
6964 archive element.
6965
6966 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6967
6968 New experimental feature to save&restore window and frame setup.
6969 * desktop.el (desktop-save-windows): New defcustom.
6970 (desktop--saved-states): New var.
6971 (desktop--excluded-frame-parameters): New defconst.
6972 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6973 (desktop--restore-windows, desktop--save-windows): New functions.
6974 (desktop-save): Call `desktop--save-windows'.
6975 (desktop-read): Call `desktop--restore-windows'.
6976
6977 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6978
6979 * net/shr.el (add-face-text-property): Remove compat definition.
6980
6981 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6982
6983 * info.el (Info-try-follow-nearest-node): Move search for footnote
6984 above search for node name to prevent missing a footnote (bug#14717).
6985
6986 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6987
6988 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6989
6990 2013-06-27 Leo Liu <sdl.web@gmail.com>
6991
6992 * net/eww.el (eww-read-bookmarks): Check file size.
6993
6994 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6997 advice--pending if newdef is nil or an autoload (bug#13820).
6998 (advice-mapc): New function.
6999
7000 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7001
7002 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7003 probably.
7004 (eww-mode-map): Add a menu bar.
7005 (eww-add-bookmark): New command.
7006 (eww-bookmark-mode): New mode and commands.
7007 (eww-add-bookmark): Remove newlines from the title.
7008 (eww-bookmark-browse): Don't bug out if it's the only window.
7009
7010 2013-06-26 Glenn Morris <rgm@gnu.org>
7011
7012 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7013 (hfy-size): Handle ttys. (Bug#14668)
7014
7015 * info-xref.el: Update for Texinfo 5 change in *note format.
7016 (info-xref-node-re, info-xref-note-re): New constants.
7017 (info-xref-check-buffer): Use info-xref-note-re.
7018
7019 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7022
7023 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7024 nil terminate the loop (bug#14718).
7025
7026 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7027
7028 * net/eww.el: Rework history traversal. When going forward/back,
7029 put these actions into the history, too, so that they can be
7030 replayed.
7031 (eww-render): Move the history reset to the correct buffer.
7032
7033 2013-06-25 Juri Linkov <juri@jurta.org>
7034
7035 * files-x.el (modify-dir-local-variable): Change the header comment
7036 in the file with directory local variables. (Bug#14692)
7037
7038 * files-x.el (read-file-local-variable-value): Add `default'.
7039 (Bug#14710)
7040
7041 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7042
7043 * net/eww.el (eww-make-unique-file-name): Create a unique file
7044 name before saving to entering `y' accidentally asynchronously.
7045
7046 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7047
7048 * net/eww.el (eww-download): New command and keystroke.
7049
7050 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7051
7052 * net/eww.el (eww-copy-page-url): Change name of command.
7053
7054 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7055 be more consistent with Info and dired.
7056
7057 * net/eww.el (eww-mode-map): Ditto.
7058
7059 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7062 packages from archives.
7063 (package-archive-contents): Change format; include obsolete packages.
7064 (package-desc): Use `dir' to mark builtin packages.
7065 (package--from-builtin): Set the `dir' field to `builtin'.
7066 (generated-autoload-file, version-control): Declare.
7067 (package-compute-transaction): Change first arg and return value to be
7068 lists of package-descs. Adjust to new package-archive-contents format.
7069 (package--add-to-archive-contents): Adjust to new
7070 package-archive-contents format.
7071 (package-download-transaction): Arg is now a list of package-descs.
7072 (package-install): If `pkg' is a package name, pass it as
7073 a requirement, so it is subject to the usual (e.g. disabled) checks.
7074 (describe-package): Accept package-desc as well.
7075 (describe-package-1): Describe a specific package-desc. Add links to
7076 other package-descs for the same package name.
7077 (package-menu-describe-package): Pass the actual package-desc.
7078 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7079 works correctly.
7080 (package-desc-status): New function.
7081 (package-menu--refresh): New function, extracted
7082 from package-menu--generate.
7083 (package-menu--generate): Use it.
7084 (package-delete): Update package-alist.
7085 (package-menu-execute): Don't call package-initialize.
7086
7087 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7088 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7089 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7090 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7091 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7092 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7093
7094 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7095
7096 * window.el (window--state-get-1): Workaround for bug#14527.
7097 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7098
7099 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7100
7101 * net/eww.el (eww-back-url): Implement the history by stashing all
7102 the data into a list.
7103 (eww-forward-url): Allow going forward in the history, too.
7104
7105 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7108 for values and use read--expression for expressions (bug#14710).
7109 (read-file-local-variable): Avoid setq.
7110 (read-file-local-variable-mode): Use minor-mode-list.
7111
7112 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7113
7114 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7115 for DOI URLs.
7116
7117 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7118
7119 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7120 Update imenu-support when dialect changes.
7121
7122 2013-06-25 Leo Liu <sdl.web@gmail.com>
7123
7124 * ido.el (ido-read-internal): Allow forward slash on windows.
7125
7126 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7127
7128 * net/eww.el (eww): Start of strings is \\`, not ^.
7129
7130 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7131
7132 * net/shr.el (shr-browse-url): Fix interactive spec.
7133
7134 * net/eww.el (eww): Add a trailing slash to domain names.
7135
7136 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7137
7138 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7139
7140 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
7142 * net/shr.el (shr-browse-url): Use an external browser if given a
7143 prefix.
7144
7145 * net/eww.el (eww-external-browser): Move to shr.
7146
7147 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7148
7149 * net/eww.el (eww): Work more correctly for file: URLs.
7150 (eww-detect-charset): Allow quoted charsets.
7151 (eww-yank-page-url): New command and keystroke.
7152
7153 2013-06-24 Daiki Ueno <ueno@gnu.org>
7154
7155 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7156 file name of gpg executable.
7157 (epg-context-program): New function.
7158 (epg-context-home-directory): New function.
7159 (epg-context-set-program): New function.
7160 (epg-context-set-home-directory): New function.
7161 (epg--start): Use `epg-context-program' instead of
7162 'epg-gpg-program'.
7163 (epg--list-keys-1): Likewise.
7164
7165 2013-06-24 Leo Liu <sdl.web@gmail.com>
7166
7167 * ido.el (ido-read-internal): Fix bug#14620.
7168
7169 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7170
7171 * faces.el (face-documentation): Simplify.
7172 (read-face-attribute, tty-find-type, x-resolve-font-name):
7173 Use `string-match-p'.
7174 (list-faces-display): Use `string-match-p'. Simplify.
7175 (face-spec-recalc): Check face to avoid face alias loops.
7176 (read-color): Use `string-match-p' and non-capturing parenthesis.
7177
7178 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179
7180 * net/shr.el (shr-rescale-image): Use the new
7181 :max-width/:max-height functionality.
7182
7183 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7184
7185 * net/eww.el (eww-search-prefix): New variable.
7186 (eww): Use it.
7187 (eww-external-browser): New variable.
7188 (eww-mode-map): New keystroke.
7189 (eww-browse-with-external-browser): New command.
7190
7191 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7192
7193 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7194
7195 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7196 Don't skip aligning the next header field when padding is 0;
7197 otherwise, field width is not respected unless the title is as
7198 wide as the field.
7199
7200 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * emacs-lisp/package.el (package-el-version): Remove.
7203 (package-process-define-package): Fix inf-loop.
7204 (package-install): Allow symbols as arguments again.
7205
7206 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7207
7208 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7209 add some more keyword-like methods.
7210 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7211
7212 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7213
7214 * bs.el (bs-buffer-show-mark): Make defvar-local.
7215 (bs-mode): Use setq-local.
7216
7217 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7218 (emacs-lock--try-unlocking): Make defvar-local.
7219
7220 2013-06-22 Glenn Morris <rgm@gnu.org>
7221
7222 * play/cookie1.el (cookie-apropos): Minor simplification.
7223
7224 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7225
7226 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7227
7228 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7229 `regexp-opt', it breaks the build during dumping.
7230
7231 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7232
7233 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7234 Highlight keyword-like methods on Kernel and Module with
7235 font-lock-builtin-face.
7236 (auto-mode-alist): Consolidate different entries into one regexp
7237 and add more *file-s.
7238
7239 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7240
7241 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7242
7243 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7244 (diary-entry): Use it in the action of this button type instead of
7245 diary-goto-entry.
7246
7247 * calendar/todo-mode.el: New version.
7248 (todo-add-category): Append new category to end of file and give
7249 it the highest number, instead of putting it at the beginning and
7250 giving it 0. Incorporate noninteractive functionality.
7251 (todo-forward-category): Adapt to 1-based category numbering.
7252 Allow skipping over archived categories.
7253 (todo-backward-category): Derive from todo-forward-category.
7254 (todo-backward-item, todo-forward-item): Make noninteractive and
7255 delegate interactive part to new commands. Make sensitive to done items.
7256 (todo-categories): Make value an alist of category names and
7257 vectors of item counts.
7258 (todo-category-beg): Make a defconst.
7259 (todo-category-number): Use 1 instead of 0 as initial value.
7260 (todo-category-select): Make sensitive to overlays, optional item
7261 highlighting and done items.
7262 (todo-delete-item): Make sensitive to overlays and marked and done items.
7263 (todo-edit-item): Make sensitive to overlays and editing of
7264 date/time header optional. Add format checks.
7265 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7266 no-op if point is not on an item. Advertise using todo-edit-quit.
7267 (todo-edit-mode): Make sensitive to new format, font-locking, and
7268 multiple todo files.
7269 (todo-insert-item, todo-insert-item-here): Derive from
7270 todo-basic-insert-item and extend functionality.
7271 (todo-item-end, todo-item-start): Make sensitive to done items.
7272 (todo-item-string): Don't return text properties. Restore point.
7273 (todo-jump-to-category): Make sensitive to multiple todo files and
7274 todo archives. Use extended category completion.
7275 (todo-lower-item, todo-raise-item): Rename to *-priority and
7276 derive from todo-set-item-priority.
7277 (todo-mode): Derive from special-mode. Make sensitive to new
7278 format, font-locking and multiple todo files. Make read-only.
7279 (todo-mode-map): Don't suppress digit keys, so they can supply
7280 prefix arguments. Add many new key bindings.
7281 (todo-prefix): Insert as an overlay instead of file text.
7282 Change semantics from diary date expression to purely visual mark.
7283 (todo-print): Rename to todo-print-buffer. Make buffer display
7284 features printable. Remove option to restrict number of items
7285 printed. Add option to print to file.
7286 (todo-print-function): Rename to todo-print-buffer-function.
7287 (todo-quit): Extend to handle exiting new todo modes.
7288 (todo-remove-item): Make sensitive to overlays.
7289 (todo-save): Extend to buffers of filtered items.
7290 (todo-show): Make sensitive to done items, multiple todo files and
7291 new todo modes. Offer to convert legacy todo file before creating
7292 first new todo file.
7293 (todo-show-priorities): Rename to todo-top-priorities.
7294 Change semantics of value 0.
7295 (todo-top-priorities): Rename to todo-filter-top-priorities,
7296 derive from todo-filter-items and extend functionality.
7297 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7298 and extend functionality to other types of filtered items.
7299 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7300 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7301 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7302 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7303 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7304 (todo-edit-mode-hook, todo-entry-prefix-function)
7305 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7306 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7307 (todo-initials, todo-insert-threshold, todo-item-string-start)
7308 (todo-line-string, todo-menu, todo-mode-hook)
7309 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7310 (todo-print-priorities, todo-remove-separator)
7311 (todo-save-top-priorities-too, todo-string-count-lines)
7312 (todo-string-multiline-p, todo-time-string-format)
7313 (todo-tmp-buffer-name): Remove.
7314 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7315 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7316 (todo-edit-category-diary-inclusion)
7317 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7318 (todo-edit-file, todo-edit-item-date-day)
7319 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7320 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7321 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7322 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7323 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7324 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7325 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7326 (todo-filter-top-priorities-multifile, todo-find-archive)
7327 (todo-find-filtered-items-file, todo-go-to-source-item)
7328 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7329 (todo-jump-to-archive-category, todo-lower-category)
7330 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7331 (todo-move-category, todo-move-item, todo-next-button)
7332 (todo-next-item, todo-padded-string, todo-powerset)
7333 (todo-previous-button, todo-previous-item)
7334 (todo-print-buffer-to-file, todo-raise-category)
7335 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7336 (todo-set-category-number, todo-set-item-priority)
7337 (todo-set-top-priorities-in-category)
7338 (todo-set-top-priorities-in-file, todo-show-categories-table)
7339 (todo-sort-categories-alphabetically-or-numerically)
7340 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7341 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7342 (todo-toggle-item-header, todo-toggle-item-highlighting)
7343 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7344 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7345 (todo-unarchive-items, todo-unmark-category): New commands.
7346 (todo-absolute-file-name, todo-add-to-buffer-list)
7347 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7348 (todo-basic-insert-item, todo-category-completions)
7349 (todo-category-number, todo-category-string-matcher-1)
7350 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7351 (todo-check-format, todo-clear-matches)
7352 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7353 (todo-current-category, todo-date-string-matcher)
7354 (todo-define-insertion-command, todo-diary-expired-matcher)
7355 (todo-diary-goto-entry, todo-diary-item-p)
7356 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7357 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7358 (todo-done-item-section-p, todo-done-separator)
7359 (todo-done-string-matcher, todo-files, todo-filter-items)
7360 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7361 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7362 (todo-insert-category-line, todo-insert-item-from-calendar)
7363 (todo-insert-sort-button, todo-insert-with-overlays)
7364 (todo-insertion-command-name, todo-insertion-key-bindings)
7365 (todo-label-to-key, todo-longest-category-name-length)
7366 (todo-make-categories-list, todo-mode-external-set)
7367 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7368 (todo-modes-set-3, todo-multiple-filter-files)
7369 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7370 (todo-read-category, todo-read-date, todo-read-dayname)
7371 (todo-read-file-name, todo-read-time)
7372 (todo-reevaluate-category-completions-files-defcustom)
7373 (todo-reevaluate-default-file-defcustom)
7374 (todo-reevaluate-filelist-defcustoms)
7375 (todo-reevaluate-filter-files-defcustom)
7376 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7377 (todo-reset-done-separator, todo-reset-done-separator-string)
7378 (todo-reset-done-string, todo-reset-global-current-todo-file)
7379 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7380 (todo-reset-prefix, todo-set-categories)
7381 (todo-set-date-from-calendar, todo-set-show-current-file)
7382 (todo-set-top-priorities, todo-short-file-name)
7383 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7384 (todo-total-item-counts, todo-update-buffer-list)
7385 (todo-update-categories-display, todo-update-categories-sexp)
7386 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7387 New functions.
7388 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7389 New major modes.
7390 (todo-categories, todo-display, todo-edit, todo-faces)
7391 (todo-filtered): New defgroups.
7392 (todo-archived-only, todo-button, todo-category-string, todo-date)
7393 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7394 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7395 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7396 (todo-add-item-if-new-category, todo-always-add-time-string)
7397 (todo-categories-align, todo-categories-archived-label)
7398 (todo-categories-category-label, todo-categories-diary-label)
7399 (todo-categories-done-label, todo-categories-number-separator)
7400 (todo-categories-todo-label, todo-categories-totals-label)
7401 (todo-category-completions-files, todo-completion-ignore-case)
7402 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7403 (todo-done-separator-string, todo-done-string)
7404 (todo-files-function, todo-filter-done-items, todo-filter-files)
7405 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7406 (todo-initial-category, todo-initial-file, todo-item-mark)
7407 (todo-legacy-date-time-regexp, todo-mode-line-function)
7408 (todo-nondiary-marker, todo-number-prefix)
7409 (todo-print-buffer-function, todo-show-current-file)
7410 (todo-show-done-only, todo-show-first, todo-show-with-done)
7411 (todo-skip-archived-categories, todo-top-priorities-overrides)
7412 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7413 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7414 New defcustoms.
7415 (todo-category-done, todo-date-pattern, todo-date-string-start)
7416 (todo-diary-items-buffer, todo-done-string-start)
7417 (todo-filtered-items-buffer, todo-item-start)
7418 (todo-month-abbrev-array, todo-month-name-array)
7419 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7420 (todo-top-priorities-buffer): New defconsts.
7421 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7422 (todo-categories-with-marks, todo-category-string-face)
7423 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7424 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7425 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7426 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7427 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7428 (todo-font-lock-keywords, todo-global-current-todo-file)
7429 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7430 (todo-insertion-commands-args)
7431 (todo-insertion-commands-args-genlist)
7432 (todo-insertion-commands-names, todo-insertion-map)
7433 (todo-key-bindings-t, todo-key-bindings-t+a)
7434 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7435 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7436 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7437 (todo-visited): New variables.
7438
7439 2013-06-21 Glenn Morris <rgm@gnu.org>
7440
7441 * play/cookie1.el (cookie-apropos): Add optional display argument.
7442 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7443 (psychoanalyze-pinhead): Use cookie-doctor.
7444
7445 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7446
7447 * emacs-lisp/package.el (tar-get-file-descriptor)
7448 (tar--extract): Declare.
7449
7450 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7451
7452 Extend flymake's warning predicate to be a function (bug#14217).
7453 * progmodes/flymake.el (flymake-warning-predicate): New.
7454 (flymake-parse-line): Use it.
7455 (flymake-warning-re): Make obsolete alias to
7456 `flymake-warning-predicate'.
7457
7458 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7461 (package-obsolete-list): Remove.
7462 (package-activate): Remove min-version argument. Add `force' argument.
7463 Adjust to new package-alist format.
7464 (package-mark-obsolete): Remove.
7465 (package-unpack): Force reload of the package's autoloads.
7466 (package-installed-p): Check builtins if the installed package is not
7467 recent enough.
7468 (package-initialize): Don't reset package-obsolete-list.
7469 Don't specify which package version to activate.
7470 (package-process-define-package, describe-package-1)
7471 (package-menu--generate): Adjust to new package-alist format.
7472
7473 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7474
7475 * allout-widgets.el (allout-widgets-mode-off)
7476 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7477 (allout-widgets-post-command-business)
7478 (allout-widgets-after-copy-or-kill-function)
7479 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7480 (allout-decorate-item-and-context)
7481 (allout-graphics-modification-handler): Fix typos in docstrings.
7482 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7483
7484 * cmuscheme.el (scheme-start-file): Doc fix.
7485 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7486 (scheme-input-filter): Use `string-match-p'.
7487
7488 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7489
7490 * dired-x.el: Use Dired consistently in docstrings.
7491
7492 * dired.el: Use Dired consistently in docstrings.
7493 (dired-readin, dired-mode): Use `setq-local'.
7494 (dired-switches-alist): Make defvar-local.
7495 (dired-buffers-for-dir): Use `zerop'.
7496 (dired-safe-switches-p, dired-switches-escape-p)
7497 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7498 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7499 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7500 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7501 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7502 (dired-toggle-marks, dired-mark-files-containing-regexp)
7503 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7504 (dired-flag-auto-save-files, dired-flag-backup-files):
7505 Use `looking-at-p'.
7506 (dired-mark-files-regexp, dired-build-subdir-alist):
7507 Use `string-match-p', `looking-at-p'.
7508
7509 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7510 (direct-print-region-helper): Use `string-match-p'.
7511
7512 2013-06-21 Leo Liu <sdl.web@gmail.com>
7513
7514 * comint.el (comint-redirect-results-list-from-process):
7515 Fix infinite loop.
7516
7517 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7518
7519 * net/eww.el (eww-update-header-line-format): Quote % characters.
7520
7521 2013-06-21 Glenn Morris <rgm@gnu.org>
7522
7523 * play/cookie1.el (cookie): New custom group.
7524 (cookie-file): New option.
7525 (cookie-check-file): New function.
7526 (cookie): Make it interactive. Make start and end messages optional.
7527 Interactively, display the result. Default to cookie-file.
7528 (cookie-insert): Default to cookie-file.
7529 (cookie-snarf): Make start and end messages optional.
7530 Default to cookie-file. Use with-temp-buffer.
7531 (cookie-read): Rename from read-cookie.
7532 Make start and end messages optional. Default to cookie-file.
7533 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7534 Do not autoload it.
7535 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7536 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7537
7538 2013-06-21 Leo Liu <sdl.web@gmail.com>
7539
7540 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7541
7542 2013-06-21 Glenn Morris <rgm@gnu.org>
7543
7544 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7545
7546 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7547 Daniel Hackney <dan@haxney.org>
7548
7549 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7550 Consolidate the single-file vs tarball code.
7551 (package-desc-suffix): New function.
7552 (package-desc-full-name): Don't bother inlining it.
7553 (package-load-descriptor): Return the new package-desc.
7554 (package-mark-obsolete): Remove unused arg `package'.
7555 (package-unpack): Make it work for single files as well.
7556 Make it update package-alist.
7557 (package--make-autoloads-and-stuff): Rename from
7558 package--make-autoloads-and-compile. Don't compile any more.
7559 (package--compile): New function.
7560 (package-generate-description-file): New function, extracted from
7561 package-unpack-single.
7562 (package-unpack-single): Remove.
7563 (package--with-work-buffer): Add indentation and debugging info.
7564 (package-download-single): Remove.
7565 (package-install-from-archive): Rename from package-download-tar, make
7566 it take a pkg-desc, and make it work for single files as well.
7567 (package-download-transaction): Simplify.
7568 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7569 external tar program.
7570 (package-install-from-buffer): Remove `pkg-desc' argument.
7571 Use package-tar-file-info for tar-mode buffers.
7572 (package-install-file): Simplify accordingly.
7573 (package-archive-base): Change to take a pkg-desc.
7574 * tar-mode.el (tar--check-descriptor): New function, extracted from
7575 tar-get-descriptor.
7576 (tar-get-descriptor): Use it.
7577 (tar-get-file-descriptor): New function.
7578 (tar--extract): New function, extracted from tar-extract.
7579 (tar--extract): Use it.
7580 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7581 case the summary uses non-ascii. Adjust to new calling convention of
7582 package-tar-file-info.
7583
7584 2013-06-21 Leo Liu <sdl.web@gmail.com>
7585
7586 * comint.el (comint-redirect-results-list-from-process):
7587 Fix random delay. (Bug#14681)
7588
7589 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7590
7591 * profiler.el (profiler-format-number): Use log, not log10.
7592
7593 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7596
7597 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7600 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7601 yet available.
7602 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7603 (AUTOGENEL): ... here.
7604 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7605 (cl--defsubst-expand): Use it.
7606
7607 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7608
7609 * subr.el (log10): Move here from C code, and declare as obsolete.
7610 All uses of (log10 X) replaced with (log X 10).
7611
7612 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7613
7614 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7615 Declare with `defvar-local'.
7616 (tabulated-list-use-header-line, tabulated-list-entries)
7617 (tabulated-list-padding, tabulated-list-printer)
7618 (tabulated-list-sort-key): Declare with `defvar-local'.
7619 (tabulated-list-init-header, tabulated-list-print-fake-header):
7620 Use `setq-local'.
7621
7622 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7623
7624 * arc-mode.el (archive-mode): Add `archive-write-file' to
7625 `write-contents-functions' also for remote files. (Bug#14652)
7626
7627 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * cus-edit.el (custom-commands): Fix typos.
7630 (custom-display): Fix tooltip text.
7631 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7632 Fix typos in docstrings.
7633 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7634 (custom-unlispify-menu-entry, custom-magic-value-create)
7635 (custom-add-see-also, custom-group-value-create): Use ?\s.
7636 (custom-guess-type, customize-apropos, editable-field)
7637 (custom-face-value-create): Use `string-match-p'.
7638 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7639
7640 * custom.el (custom-load-symbol): Use `string-match-p'.
7641
7642 * ansi-color.el: Convert to lexical binding.
7643 (ansi-colors): Fix URL.
7644 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7645 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7646 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7647
7648 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7649
7650 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7651
7652 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7653
7654 2013-06-19 Tom Tromey <tromey@redhat.com>
7655
7656 * net/eww.el (eww-top-url): Remove.
7657 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7658 (eww-render): Set new variables. Don't set eww-top-url.
7659 (eww-handle-link): Handle "prev", "home", and "contents".
7660 Downcase the rel text.
7661 (eww-top-url): Choose best top URL.
7662
7663 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7664
7665 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7666 relying in widget.el. Using widget.el leads to too many
7667 user interface inconsistencies.
7668 (eww-self-insert): Implement entering commands in text fields.
7669 (eww-process-text-input): New function to make text input field editing
7670 work.
7671 (eww-submit): Rewrite to use the new-style form methods.
7672 (eww-select-display): Display the correct selected item.
7673 (eww-change-select): Implement changing the select value.
7674 (eww-toggle-checkbox): Implement radio/checkboxes.
7675 (eww-update-field): Fix compilation error.
7676 (eww-tag-textarea): Implement <textarea>.
7677
7678 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7679 we don't shadow mode-specific bindings.
7680
7681 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7682 nothing to push.
7683
7684 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7685
7686 2013-06-19 Glenn Morris <rgm@gnu.org>
7687
7688 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7689
7690 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7691
7692 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7693 not needed.
7694
7695 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7696
7697 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7698
7699 * net/browse-url.el (browse-url-browser-function):
7700 `eww-browse-url' has the right calling signature, `eww' does not.
7701
7702 2013-06-19 Glenn Morris <rgm@gnu.org>
7703
7704 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7705 Only eval autoloaded macros.
7706 (byte-compile-autoload): Only give the macro warning for macros.
7707
7708 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7709 (ps-underlined-faces): Declare.
7710
7711 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7712 (speedbar-add-supported-extension): Declare.
7713
7714 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7715 Don't include a date stamp in the header of the generated file;
7716 it leads to needless differences between output files.
7717
7718 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7719
7720 * net/secrets.el (secrets-struct-secret-content-type):
7721 Replace check of introspection data by a test call of "CreateItem".
7722 Some servers do not offer introspection.
7723
7724 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * electric.el (electric-pair-mode): Improve interaction with
7727 electric-layout-mode.
7728 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7729 (electric-pair-syntax): Use text-mode-syntax-table in comments
7730 and strings.
7731 (electric-pair--insert): New function.
7732 (electric-pair-post-self-insert-function): Use it and
7733 electric--after-char-pos.
7734
7735 2013-06-19 Leo Liu <sdl.web@gmail.com>
7736
7737 * progmodes/octave.el (octave-help): Fix regexp.
7738
7739 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7740
7741 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7742 (shr-table-horizontal-line): Allow nil as a value, and change the
7743 default.
7744 (shr-insert-table-ruler): Respect the nil value.
7745
7746 2013-06-18 Tom Tromey <tromey@barimba>
7747
7748 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7749 New defvars.
7750 (eww-open-file): New defun.
7751 (eww-render): Initialize new variables.
7752 (eww-display-html): Handle "link" and "a".
7753 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7754 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7755 (eww-back-url): Rename from eww-previous-url.
7756 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7757 New defuns.
7758
7759 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7760
7761 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7762 Distinguish ternary operator tokens from slash symbol and slash
7763 char literal.
7764
7765 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7766
7767 Convert symbol prettification into minor mode and global minor mode.
7768
7769 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7770 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7771 (prettify-symbols--keywords): Rename from
7772 `prog-prettify-symbols-alist' and make a local defvar.
7773 (prettify-symbols--compose-symbol): Rename from
7774 `prog--prettify-font-lock-compose-symbol'.
7775 (prettify-symbols--make-keywords): Rename from
7776 `prog-prettify-font-lock-symbols-keywords' and simplify.
7777 (prog-prettify-install): Remove.
7778 (prettify-symbols-mode): New minor mode, based on
7779 `prog-prettify-install'.
7780 (turn-on-prettify-symbols-mode): New function.
7781 (global-prettify-symbols-mode): New globalized minor mode.
7782
7783 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7784 * progmodes/cfengine.el (cfengine3-mode):
7785 * progmodes/perl-mode.el (perl-mode): Don't call
7786 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7787
7788 2013-06-18 Juri Linkov <juri@jurta.org>
7789
7790 * files-x.el (modify-file-local-variable-message): New function.
7791 (modify-file-local-variable)
7792 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7793 and call `modify-file-local-variable-message' when it's non-nil.
7794 (add-file-local-variable, delete-file-local-variable)
7795 (add-file-local-variable-prop-line)
7796 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7797 and use it. (Bug#9820)
7798
7799 2013-06-18 Juri Linkov <juri@jurta.org>
7800
7801 * emulation/vi.el (vi-shell-op):
7802 * emulation/vip.el (vip-execute-com, ex-command):
7803 * emulation/viper-cmd.el (viper-exec-bang):
7804 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7805 the call of `shell-command-on-region'. (Bug#14637)
7806
7807 * simple.el (shell-command-on-region): Doc fix.
7808
7809 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7812 (bug#14633).
7813
7814 2013-06-18 Glenn Morris <rgm@gnu.org>
7815
7816 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7817
7818 * newcomment.el (comment-search-forward, comment-search-backward):
7819 Doc fix. (Bug#14376)
7820
7821 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7824 (buffer-face-mode-invoke): Doc fix.
7825
7826 2013-06-18 Matthias Meulien <orontee@gmail.com>
7827
7828 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7829 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7830
7831 2013-06-18 Glenn Morris <rgm@gnu.org>
7832
7833 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7834 Replace obsolete function generic-make-keywords with its expansion.
7835
7836 * progmodes/python.el (ffap-alist): Declare.
7837
7838 * textmodes/reftex.el (bibtex-mode-map): Declare.
7839
7840 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7841
7842 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7843 (package-unpack, package-unpack-single): Return the pkg-dir.
7844 (package-download-transaction): Use it to update package-alist.
7845
7846 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7847
7848 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7849 possible choice.
7850
7851 2013-06-17 Juri Linkov <juri@jurta.org>
7852
7853 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7854
7855 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7856
7857 * emacs-lisp/package.el (package-load-descriptor):
7858 Remove `with-syntax-table' call, `read' doesn't need it.
7859 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7860
7861 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * startup.el (command-line): Expand package name returned by
7864 `package--description-file' (bug#14639).
7865
7866 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7867
7868 * emacs-lisp/package.el (package-load-descriptor): Do not call
7869 `emacs-lisp-mode', just use its syntax table.
7870
7871 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7874 `font-lock-extra-managed-props' if any prettifying keyword is added.
7875 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7876 (prog-mode): Use `setq-local'.
7877
7878 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * international/characters.el (standard-case-table): Set syntax of ?»
7881 and ?« to punctuation.
7882
7883 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7886 Save relevant match data before calling `syntax-ppss' (bug#14595).
7887
7888 2013-06-15 Juri Linkov <juri@jurta.org>
7889
7890 * files-x.el (modify-file-local-variable-prop-line): Add local
7891 variables to the end of the existing comment on the first line.
7892 Use `file-auto-mode-skip' to skip interpreter magic line,
7893 and also skip XML declaration.
7894
7895 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * startup.el (package--builtin-versions): New var.
7898 (package-subdirectory-regexp): Remove.
7899 (package--description-file): Hard code its value instead.
7900
7901 * emacs-lisp/package.el: Don't activate packages older than builtin.
7902 (package-obsolete-list): Rename from package-obsolete-alist, and make
7903 it into a simple list of package-desc.
7904 (package-strip-version): Remove.
7905 (package-built-in-p): Use package--builtin-versions.
7906 (package-mark-obsolete): Simplify.
7907 (package-process-define-package): Mark it obsolete if older than the
7908 builtin version.
7909 (package-handle-response): Use line-end-position.
7910 (package-read-archive-contents, package--download-one-archive):
7911 Simplify.
7912 (package--add-to-archive-contents): Skip if older than the builtin or
7913 installed version.
7914 (package-menu-describe-package): Fix last change.
7915 (package-list-unversioned): New var.
7916 (package-menu--generate): Use it.
7917
7918 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7919 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7920 (autoload-builtin-package-versions): New variable.
7921 (autoload-generate-file-autoloads): Use them.
7922 Remove the list of autoloaded functions/macros from the
7923 (autoload...) comments.
7924
7925 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7926
7927 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7928
7929 * simple.el (line-move-partial): Don't jump to the next screen
7930 line as soon as it becomes visible. Instead, continue enlarging
7931 the vscroll until the portion of a tall screen line that's left on
7932 display is about the height of the frame's default font.
7933 (Bug#14567)
7934
7935 2013-06-15 Glenn Morris <rgm@gnu.org>
7936
7937 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7938 compilation-error-regexp-alist void, or local while let-bound.
7939
7940 * progmodes/make-mode.el (makefile-mode-syntax-table):
7941 Treat "=" as punctuation. (Bug#14614)
7942
7943 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7944
7945 * help-fns.el (describe-variable):
7946 Add extra line for permanent-local variables.
7947
7948 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7949
7950 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7951 Add export, import, library. (Bug#9164)
7952 (library): Set indent function.
7953
7954 2013-06-14 Glenn Morris <rgm@gnu.org>
7955
7956 * term/xterm.el (xterm--query):
7957 Stop after first matching handler. (Bug#14615)
7958
7959 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7960
7961 Add support for dired in saveplace.
7962 * dired.el (dired-initial-position-hook): New variable.
7963 (dired-initial-position): Call hook to place cursor position.
7964 * saveplace.el (save-place-to-alist): Add dired position.
7965 (save-place-dired-hook): New function.
7966
7967 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7970 through a symbol rather than letrec.
7971
7972 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7973 (package-desc): Add `dir' field.
7974 (package-desc-full-name): New function.
7975 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7976 (package-maybe-load-descriptor): Remove.
7977 (package-load-all-descriptors): Just call package-load-descriptor.
7978 (package--disabled-p): New function.
7979 (package-desc-vers, package-desc-doc): Remove aliases.
7980 (package--dir): Remove function.
7981 (package-activate): Check if a package is disabled.
7982 (package-process-define-package): New function, extracted from
7983 define-package.
7984 (define-package): Turn into a place holder.
7985 (package-unpack-single, package-tar-file-info):
7986 Use package--description-file.
7987 (package-compute-transaction): Use package--disabled-p.
7988 (package-download-transaction): Don't call
7989 package-maybe-load-descriptor since they're all loaded anyway.
7990 (package-install): Change argument to be a pkg-desc.
7991 (package-delete): Use a single pkg-desc argument.
7992 (describe-package-1): Use package-desc-dir instead of package--dir.
7993 Use package-desc property instead of package-symbol.
7994 (package-install-button-action): Adjust accordingly.
7995 (package--push): Rewrite.
7996 (package-menu--print-info): Adjust accordingly. Change the ID format
7997 to be a pkg-desc.
7998 (package-menu-describe-package, package-menu-get-status)
7999 (package-menu--find-upgrades, package-menu-mark-upgrades)
8000 (package-menu-execute, package-menu--name-predicate):
8001 Adjust accordingly.
8002 * startup.el (package--description-file): New function.
8003 (command-line): Use it.
8004 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8005 Use package-desc-version.
8006
8007 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8008 (byte-compile-preprocess): Use it.
8009 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8010 can't quite recognize.
8011 (byte-compile-add-to-list): Remove.
8012 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8013 (cconv-closure-convert): Add assertion.
8014
8015 * emacs-lisp/map-ynp.el: Use lexical-binding.
8016 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8017 Factor out some repeated code.
8018
8019 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * subr.el (with-eval-after-load): New macro.
8022 (eval-after-load): Allow form to be a function.
8023 take advantage of lexical-binding.
8024 (do-after-load-evaluation): Use dolist and adjust to new format.
8025 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8026
8027 2013-06-13 Juri Linkov <juri@jurta.org>
8028
8029 * replace.el (perform-replace): Display "symbol " and other search
8030 modes from `isearch-message-prefix' in the *Help* buffer.
8031
8032 * isearch.el (isearch-query-replace): Add " symbol" and other
8033 possible search modes from `isearch-message-prefix' to the prompt.
8034 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8035 when reading a regexp to collect.
8036
8037 2013-06-13 Juri Linkov <juri@jurta.org>
8038
8039 * isearch.el (word-search-regexp): Match whitespace if the search
8040 string begins or ends in whitespace. The LAX arg is applied to
8041 both ends of the search string. Use `regexp-quote' and explicit
8042 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8043 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8044 boundaries are replaced with symbol boundaries, and characters
8045 between symbols match non-word non-symbol syntax. (Bug#14602)
8046
8047 2013-06-13 Juri Linkov <juri@jurta.org>
8048
8049 * isearch.el (isearch-del-char): Don't exceed the length of
8050 `isearch-string' by the prefix arg. (Bug#14563)
8051
8052 2013-06-13 Juri Linkov <juri@jurta.org>
8053
8054 * isearch.el (isearch-yank-word, isearch-yank-line)
8055 (isearch-char-by-name, isearch-quote-char)
8056 (isearch-printing-char, isearch-process-search-char):
8057 Add optional count prefix arg. (Bug#14563)
8058
8059 * international/isearch-x.el
8060 (isearch-process-search-multibyte-characters):
8061 Add optional count prefix arg.
8062
8063 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8064
8065 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8066 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8067 lexical-binding.
8068
8069 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8070
8071 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8072
8073 2013-06-13 Glenn Morris <rgm@gnu.org>
8074
8075 * startup.el (tty-handle-args):
8076 Don't just discard "--" and anything after. (Bug#14608)
8077
8078 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8079
8080 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8081
8082 Implement changes in Secret Service API. Make it backward compatible.
8083 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8084 (secrets-create-item): Use it. Prefix properties with interface.
8085
8086 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8087
8088 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8089 (term-emulate-terminal): Respect term-suppress-hard-newline.
8090
8091 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8092
8093 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8094 Only remove a `thumb-file' overlay. (Bug#14548)
8095
8096 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8097
8098 * mail/reporter.el (reporter-submit-bug-report):
8099 Handle missing package-name. (Bug#14600)
8100
8101 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8102
8103 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8104 (reftex-citation-prompt, reftex-default-bibliography)
8105 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8106 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8107 (reftex-bib-sort-author, reftex-bib-sort-year)
8108 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8109 (reftex-extract-bib-entries-from-thebibliography)
8110 (reftex-get-bibkey-default, reftex-get-bib-names)
8111 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8112 (reftex-format-bib-entry, reftex-parse-bibitem)
8113 (reftex-format-bibitem, reftex-do-citation)
8114 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8115 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8116 (reftex-insert-bib-matches, reftex-format-citation)
8117 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8118 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8119 existing comments into docstrings.
8120
8121 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8122
8123 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8124
8125 2013-06-12 Andreas Schwab <schwab@suse.de>
8126
8127 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8128 for auto-save files.
8129
8130 2013-06-12 Glenn Morris <rgm@gnu.org>
8131
8132 * ido.el (ido-delete-ignored-files): Remove.
8133 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8134 Go back to calling ido-ignore-item-p directly.
8135
8136 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8137
8138 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8139
8140 * ido.el (ido-delete-ignored-files): New function,
8141 split from ido-make-file-list-1.
8142 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8143 (ido-make-file-list-1): Use ido-delete-ignored-files.
8144
8145 2013-06-12 Leo Liu <sdl.web@gmail.com>
8146
8147 * progmodes/octave.el (inferior-octave-startup)
8148 (inferior-octave-completion-table)
8149 (inferior-octave-track-window-width-change)
8150 (octave-eldoc-function-signatures, octave-help)
8151 (octave-find-definition): Use single quoted strings.
8152 (inferior-octave-startup-args): Change default value.
8153 (inferior-octave-startup): Do not hard code "-i" and
8154 "--no-line-editing".
8155 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8156 (inferior-octave-directory-tracker): Use it.
8157 (octave-goto-function-definition): Robustify.
8158 (octave-help): Support highlighting operators in 'See also'.
8159 (octave-find-definition): Find subfunctions only in Octave mode.
8160
8161 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * help-fns.el (help-fns--compiler-macro): If the handler function is
8164 named, then put a link to it.
8165 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8166 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8167 (cl-typep): Use it.
8168 (cl-eval-when): Simplify debug spec.
8169 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8170 compiler-macro function instead of setting `compiler-macro-file'.
8171
8172 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8173
8174 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8175 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8176
8177 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8178 Daniel Hackney <dan@haxney.org>
8179
8180 First part of Daniel Hackney's patch to package.el.
8181 * emacs-lisp/package.el: Use defstruct.
8182 (package-desc): New, main struct.
8183 (package--bi-desc, package--ac-desc): New structs, used to describe the
8184 format in external files.
8185 (package-desc-vers): Replace with package-desc-version accessor.
8186 (package-desc-doc): Replace with package-desc-summary accessor.
8187 (package-activate-1): Remove `package' arg since the pkg-vec now
8188 includes the name.
8189 (define-package): Use package-desc-from-define.
8190 (package-unpack-single): Change file-name arg to be a symbol.
8191 (package--add-to-archive-contents): Use package-desc-create and new
8192 accessor functions to package--ac-desc.
8193 (package-buffer-info, package-tar-file-info): Return a package-desc.
8194 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8195 arg to be a package-desc.
8196 (package-install-file): Adjust accordingly. Use \' to match EOS.
8197 (package--from-builtin): New function.
8198 (describe-package-1, package-menu--generate): Use it.
8199 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8200 (package-generate-autoloads): Idem and return the name of the file.
8201 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8202 Change pkg-info arg to be a package-desc.
8203 Use package-make-ac-desc.
8204 (package-upload-file): Use \' to match EOS.
8205 * finder.el (finder-compile-keywords): Use package-make-builtin.
8206
8207 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * vc/vc.el (vc-deduce-fileset): Change error message.
8210 (vc-read-backend): New function.
8211 (vc-next-action): Use it.
8212
8213 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8214
8215 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8216 (prolog-font-lock-keywords): Use regexp-opt instead.
8217 Don't manually highlight strings.
8218 (prolog-mode-variables): Simplify comment-start-skip.
8219 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8220
8221 * emacs-lisp/generic.el (generic--normalise-comments)
8222 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8223 (generic-mode-set-comments): Use them.
8224 (generic-bracket-support): Use setq-local.
8225 (generic-make-keywords-list): Declare obsolete.
8226
8227 2013-06-11 Glenn Morris <rgm@gnu.org>
8228
8229 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8230 Prettify after setting font-lock-defaults. (Bug#14574)
8231
8232 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8233
8234 * replace.el (query-replace, occur-read-regexp-defaults-function)
8235 (replace-search):
8236 * subr.el (declare-function, number-sequence, local-set-key)
8237 (substitute-key-definition, locate-user-emacs-file)
8238 (with-silent-modifications, split-string, eval-after-load):
8239 Fix typos, remove unneeded backslashes and reflow some docstrings.
8240
8241 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8244 default for Elisp files.
8245
8246 2013-06-11 Glenn Morris <rgm@gnu.org>
8247
8248 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8249 although define-derived-mode was doing this anyway. (Bug#14583)
8250
8251 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8254 Fix make-variable-buffer-local call to refer to the correct variable.
8255
8256 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8257
8258 * eshell/em-term.el (eshell-visual-commands)
8259 (eshell-visual-subcommands, eshell-visual-options):
8260 Add summary line to docstrings. Add cross-references.
8261
8262 2013-06-10 Glenn Morris <rgm@gnu.org>
8263
8264 * epa.el (epa-read-file-name): New function. (Bug#14510)
8265 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8266
8267 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8268
8269 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8270 output redirection to be ignored with visual commands.
8271
8272 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8273
8274 * eshell/em-term.el (eshell-visual-command-p): New function.
8275 (eshell-term-initialize): Move long lambda to separate function
8276 eshell-visual-command-p.
8277 * eshell/em-dirs.el (eshell-dirs-initialise):
8278 * eshell/em-script.el (eshell-script-initialize):
8279 Add missing #' to lambda.
8280
8281 2013-06-08 Leo Liu <sdl.web@gmail.com>
8282
8283 * progmodes/octave.el (octave-add-log-current-defun): New function.
8284 (octave-mode): Set add-log-current-defun-function.
8285 (octave-goto-function-definition): Do not move point if not found.
8286 (octave-find-definition): Enhance to try subfunctions first.
8287
8288 2013-06-08 Glenn Morris <rgm@gnu.org>
8289
8290 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8291 (byte-compile-backward-char, byte-compile-backward-word):
8292 Improve previous change, to handle non-explicit nil.
8293
8294 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8297 (smie--opener/closer-at-point): New function.
8298 (smie--matching-block-data): Use it. Don't match from right after an
8299 opener or right before a closer. Obey smie-blink-matching-inners.
8300 Don't signal a mismatch for repeated inners like "switch..case..case".
8301
8302 2013-06-07 Leo Liu <sdl.web@gmail.com>
8303
8304 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8305 to t. (Bug#14303)
8306 (octave-function-header-regexp): Fix. (Bug#14570)
8307 (octave-help-mode-finish-hook, octave-help-mode-finish):
8308 Remove. Just use temp-buffer-show-hook.
8309
8310 * newcomment.el (comment-search-backward): Revert last change.
8311 (Bug#14434)
8312
8313 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8314
8315 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8316
8317 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8318 through xargs, to avoid failure due to MS-Windows limitations on
8319 command-line length.
8320
8321 2013-06-06 Glenn Morris <rgm@gnu.org>
8322
8323 * font-lock.el (lisp-font-lock-keywords-2):
8324 Treat user-error like error.
8325
8326 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8327 (byte-compile-backward-char, byte-compile-backward-word):
8328 Handle explicit nil arguments. (Bug#14565)
8329
8330 2013-06-05 Alan Mackenzie <acm@muc.de>
8331
8332 * isearch.el (isearch-allow-prefix): New user option.
8333 (isearch-other-meta-char): Don't exit isearch when a prefix
8334 argument is typed whilst `isearch-allow-prefix' is non-nil.
8335 (Bug#9706)
8336
8337 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * autorevert.el (auto-revert-notify-handler): Use memq.
8340 Hide assertion failure.
8341
8342 * skeleton.el: Use cl-lib.
8343 (skeleton-further-elements): Use defvar-local.
8344 (skeleton-insert): Use cl-progv.
8345
8346 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8347
8348 * progmodes/prog-mode.el (prog-prettify-symbols)
8349 (prog-prettify-install): Update docstrings.
8350
8351 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * simple.el: Move all the prog-mode code to prog-mode.el.
8354 * progmodes/prog-mode.el: New file.
8355 * loadup.el: Add prog-mode.el.
8356
8357 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8358
8359 * simple.el (prog-prettify-symbols): Add version.
8360 (prog-prettify-install): Add convenience function to prettify symbols.
8361
8362 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8363 (perl--augmented-font-lock-keywords-1)
8364 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8365 variables and use it.
8366
8367 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8368 (cfengine3-mode): Remove unneeded variable and use it.
8369
8370 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8371 (lisp--augmented-font-lock-keywords-1)
8372 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8373 Remove unneeded variables and use it.
8374
8375 2013-06-05 João Távora <joaotavora@gmail.com>
8376
8377 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8378 to point when opening the connection. (Bug#14380)
8379
8380 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * subr.el (load-history-regexp, load-history-filename-element)
8383 (eval-after-load, after-load-functions, do-after-load-evaluation)
8384 (eval-next-after-load, display-delayed-warnings)
8385 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8386 definition of save-match-data.
8387 (overriding-local-map): Remove accidental obsolescence declaration.
8388
8389 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8390
8391 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8392
8393 Generalize symbol prettify support to prog-mode and implement it
8394 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8395 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8396 (prog--prettify-font-lock-compose-symbol)
8397 (prog-prettify-font-lock-symbols-keywords): New variables and
8398 functions to support symbol prettification.
8399 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8400 (lisp--augmented-font-lock-keywords-1)
8401 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8402 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8403 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8404 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8405 Implement prettify of -> => :: strings.
8406 * progmodes/perl-mode.el (perl-prettify-symbols)
8407 (perl--font-lock-compose-symbol)
8408 (perl--font-lock-symbols-keywords): Move to prog-mode.
8409 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8410 (perl-font-lock-keywords-1)
8411 (perl-font-lock-keywords-2): Remove explicit prettify support.
8412 (perl--augmented-font-lock-keywords)
8413 (perl--augmented-font-lock-keywords-1)
8414 (perl--augmented-font-lock-keywords-2, perl-mode):
8415 Implement prettify support.
8416
8417 2013-06-05 Leo Liu <sdl.web@gmail.com>
8418
8419 Re-implement smie matching block highlight using
8420 show-paren-data-function. (Bug#14395)
8421 * emacs-lisp/smie.el (smie-matching-block-highlight)
8422 (smie--highlight-matching-block-overlay)
8423 (smie--highlight-matching-block-lastpos)
8424 (smie-highlight-matching-block)
8425 (smie-highlight-matching-block-mode): Remove.
8426 (smie--matching-block-data-cache): New variable.
8427 (smie--matching-block-data): New function.
8428 (smie-setup): Use smie--matching-block-data for
8429 show-paren-data-function.
8430
8431 * progmodes/octave.el (octave-mode-menu): Fix.
8432 (octave-find-definition): Skip garbage lines.
8433
8434 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 Fix compilation error with simultaneous dynamic+lexical scoping.
8437 Add warning when a defvar appears after the first let-binding.
8438 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8439 (byte-compile-close-variables): Initialize it.
8440 (byte-compile--declare-var): New function.
8441 (byte-compile-file-form-defvar)
8442 (byte-compile-file-form-define-abbrev-table)
8443 (byte-compile-file-form-custom-declare-variable): Use it.
8444 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8445 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8446 (byte-compile-bind): Handle dynamic bindings that shadow
8447 lexical bindings.
8448 (byte-compile-unbind): Make arg non-optional.
8449 (byte-compile-let): Simplify.
8450 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8451 (cconv--analyse-function, cconv-analyse-form): Populate it.
8452 Protect byte-compile-bound-variables to limit the scope of defvars.
8453 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8454 Remove unneeded rule for `declare'.
8455
8456 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8457 so as to avoid depending on cl-adjoin at run-time.
8458 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8459
8460 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8461 (macroexp--warn-and-return): Use it.
8462
8463 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * lisp/subr.el: Convert to lexical binding.
8466 (overriding-local-map): Make obsolete.
8467 (add-to-list): Doc fix. Add compiler macro.
8468 (read-key): Swap values of local maps.
8469
8470 2013-06-05 Leo Liu <sdl.web@gmail.com>
8471
8472 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8473
8474 2013-06-04 Leo Liu <sdl.web@gmail.com>
8475
8476 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8477 (compilation-auto-jump): Suppress the "Mark set" message to give
8478 way to exit message.
8479
8480 2013-06-04 Alan Mackenzie <acm@muc.de>
8481
8482 Remove faulty optimisation from indentation calculation.
8483 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8484 search limit based on 2000 characters back from indent-point.
8485
8486 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8487
8488 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8489
8490 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * emacs-lisp/lisp.el: Use lexical-binding.
8493 (lisp--local-variables-1, lisp--local-variables): New functions.
8494 (lisp--local-variables-completion-table): New var.
8495 (lisp-completion-at-point): Use it complete let-bound vars.
8496
8497 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8498 eagerly (bug#14422).
8499
8500 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * autorevert.el (auto-revert-notify-enabled)
8503 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8504 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8505 (auto-revert-notify-handler): Handle also gfilenotify.
8506
8507 * subr.el (file-notify-handle-event): New defun. Replacing ...
8508 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8509 Remove.
8510
8511 2013-06-03 Juri Linkov <juri@jurta.org>
8512
8513 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8514 `M-s h .'. (Bug#14427)
8515
8516 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8517 command `hi-lock-face-symbol-at-point'.
8518 (hi-lock-face-symbol-at-point): New command.
8519 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8520 (hi-lock-menu): Add `highlight-symbol-at-point'.
8521 (hi-lock-mode): Doc fix.
8522
8523 * isearch.el (isearch-forward-symbol-at-point): New command.
8524 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8525 (isearch-highlight-regexp): Add a regexp which matches
8526 words/symbols for word/symbol mode.
8527
8528 * subr.el (find-tag-default-bounds): New function with the body
8529 mostly moved from `find-tag-default'.
8530 (find-tag-default): Move most code to `find-tag-default-bounds',
8531 call it and apply `buffer-substring-no-properties' afterwards.
8532
8533 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8534
8535 * eshell/em-term.el (eshell-term-initialize):
8536 Use `cl-intersection' rather than `intersection'.
8537
8538 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8539
8540 * vc/log-view.el: Doc fix.
8541 (log-view-mode-map): Copy keymap from `special-mode-map'.
8542
8543 2013-06-02 Eric Ludlam <zappo@gnu.org>
8544
8545 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8546 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8547 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8548 (eieio-unbound, eieio-default-superclass)
8549 (eieio--define-field-accessors, method-static, method-before)
8550 (method-primary, method-after, method-num-lists)
8551 (method-generic-before, method-generic-primary)
8552 (method-generic-after, method-num-slots)
8553 (eieio-specialized-key-to-generic-key)
8554 (eieio--check-type, class-v, class-p)
8555 (eieio-class-name, define-obsolete-function-alias)
8556 (eieio-class-parents-fast, eieio-class-children-fast)
8557 (same-class-fast-p, class-constructor, generic-p)
8558 (generic-primary-only-p, generic-primary-only-one-p)
8559 (class-option-assoc, class-option, eieio-object-p)
8560 (class-abstract-p, class-method-invocation-order)
8561 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8562 (eieio-class-un-autoload, eieio-defclass)
8563 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8564 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8565 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8566 (eieio-defgeneric-reset-generic-form)
8567 (eieio-defgeneric-form-primary-only)
8568 (eieio-defgeneric-reset-generic-form-primary-only)
8569 (eieio-defgeneric-form-primary-only-one)
8570 (eieio-defgeneric-reset-generic-form-primary-only-one)
8571 (eieio-unbind-method-implementations)
8572 (eieio--defmethod, eieio--typep)
8573 (eieio-perform-slot-validation, eieio-validate-slot-value)
8574 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8575 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8576 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8577 (eieio-slot-name-index, eieio-class-slot-name-index)
8578 (eieio-set-defaults, eieio-initarg-to-attribute)
8579 (eieio-attribute-to-initarg, eieio-c3-candidate)
8580 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8581 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8582 (eieio-class-precedence-list, eieio-generic-call-methodname)
8583 (eieio-generic-call-arglst, eieio-generic-call-key)
8584 (eieio-generic-call-next-method-list)
8585 (eieio-pre-method-execution-functions, eieio-generic-call)
8586 (eieio-generic-call-primary-only, eieiomt-method-list)
8587 (eieiomt-optimizing-obarray, eieiomt-install)
8588 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8589 (eieio-generic-form, eieio-defmethod, make-obsolete)
8590 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8591 (defclass): Remove `eval-and-compile' from macro.
8592 (call-next-method, shared-initialize): Instead of using
8593 `scoped-class' variable, use new eieio--scoped-class, and
8594 eieio--with-scoped-class.
8595 (initialize-instance): Rename local variable 'scoped-class' to
8596 'this-class' to remove ambiguitity from old global.
8597
8598 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8599 eieio.el.
8600 (eieio--scoped-class-stack): New variable.
8601 (eieio--scoped-class): New fcn.
8602 (eieio--with-scoped-class): New scoping macro.
8603 (eieio-defclass): Use pushnew instead of add-to-list.
8604 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8605 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8606 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8607 `scoped-class' variable, use new eieio--scoped-class, and
8608 eieio--with-scoped-class.
8609
8610 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8611
8612 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8613
8614 * eshell/esh-ext.el (eshell-external-command): Pass args to
8615 `eshell-find-interpreter'.
8616 (eshell-find-interpreter): Add new second parameter ARGS.
8617
8618 * eshell/em-script.el (eshell-script-initialize): Add second arg
8619 to the function added as MATCH to `eshell-interpreter-alist'.
8620
8621 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8622 the function added as MATCH to `eshell-interpreter-alist'.
8623
8624 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8625 (eshell-visual-options): New defcustom.
8626 (eshell-escape-control-x): Adapt docstring.
8627 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8628 `eshell-visual-options' in addition to `eshell-visual-commands'.
8629 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8630
8631 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8632
8633 * progmodes/python.el (python-indent-block-enders): Add break,
8634 continue and raise keywords.
8635
8636 2013-06-01 Glenn Morris <rgm@gnu.org>
8637
8638 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8639
8640 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8641 * progmodes/cc-cmds.el (delete-forward-p):
8642 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8643 * progmodes/cc-engine.el (buffer-syntactic-context):
8644 * progmodes/cc-fonts.el (face-property-instance):
8645 * progmodes/cc-mode.el (set-keymap-parents):
8646 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8647 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8648 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8649 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8650 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8651
8652 * progmodes/cc-vars.el (other): Emacs has this widget since
8653 at least 21.1, so don't (re)define it.
8654
8655 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8656 Replace the obsolete alias pcomplete-arg-quote-list.
8657
8658 2013-06-01 Leo Liu <sdl.web@gmail.com>
8659
8660 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8661 punctuation syntax.
8662 (inferior-octave-minimal-columns)
8663 (inferior-octave-last-column-width): New variables.
8664 (inferior-octave-track-window-width-change): New function.
8665 (inferior-octave-mode): Adjust column width so that Octave output,
8666 for example from 'ls', can fit into the window nicely.
8667
8668 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8669
8670 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8671 Highlight expansions inside regexp literals.
8672
8673 2013-05-31 Glenn Morris <rgm@gnu.org>
8674
8675 * obsolete/sym-comp.el (symbol-complete):
8676 Replace obsolete completion-annotate-function.
8677
8678 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8679
8680 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8681
8682 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8683 New function, checks if point is inside a literal that allows
8684 expression expansion.
8685 (ruby-syntax-propertize-expansion): Use it.
8686 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8687 around the body.
8688
8689 2013-05-30 Juri Linkov <juri@jurta.org>
8690
8691 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8692 to "\M-si".
8693 (isearch-invisible): New variable.
8694 (isearch-forward): Doc fix.
8695 (isearch-mode): Set `isearch-invisible'
8696 to the value of `search-invisible'.
8697 (isearch-toggle-case-fold): Doc fix.
8698 (isearch-toggle-invisible): New command.
8699 (isearch-query-replace): Let-bind `search-invisible'
8700 to the value of `isearch-invisible'.
8701 (isearch-search): Use `isearch-invisible' instead of
8702 `search-invisible'. Let-bind `search-invisible'
8703 to the value of `isearch-invisible'. (Bug#11378)
8704
8705 2013-05-30 Juri Linkov <juri@jurta.org>
8706
8707 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8708 call when `query-flag' is nil and `search-invisible' is non-nil.
8709 (Bug#11746)
8710
8711 2013-05-30 Glenn Morris <rgm@gnu.org>
8712
8713 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8714
8715 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8716 (cc-require): Suppress spurious "noruntime" warnings.
8717 (cc-require-when-compile): Use fboundp, for sake of compiler.
8718
8719 * progmodes/cc-mode.el: Move load of cc-vars before that of
8720 cc-langs (which in turn loads cc-vars), to quieten compiler.
8721
8722 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * paren.el: Simplify the code.
8725 (show-paren-mode): Always start the timer.
8726 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8727 (show-paren--overlay, show-paren--overlay-1): Rename from
8728 show-paren-overlay and show-paren-overlay-1, and initialize to an
8729 overlay rather than to nil.
8730 (show-paren-function): Misc cleanup and simplifications.
8731
8732 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * paren.el (show-paren-data-function): New hook.
8735 (show-paren--default): New function, extracted from show-paren-function.
8736 (show-paren-function): Use show-paren-data-function.
8737
8738 2013-05-30 Glenn Morris <rgm@gnu.org>
8739
8740 * ielm.el (ielm-map, ielm-complete-symbol):
8741 Use completion-at-point rather than obsolete functions.
8742 (inferior-emacs-lisp-mode): Doc fix.
8743 Set completion-at-point-functions, rather than
8744 comint-dynamic-complete-functions.
8745
8746 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8747 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8748 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8749
8750 * image.el (image-animated-p): Tweak definition.
8751
8752 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8753 (rlogin-process-connection-type): Tweak default. Add set-after.
8754 (rlogin-host): Doc fix.
8755 (rlogin): Tweak prompt.
8756 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8757
8758 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8759 * progmodes/tcl.el (inferior-tcl-mode-map):
8760 Use completion-at-point rather than obsolete alias.
8761
8762 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8763
8764 * minibuffer.el (read-file-name-completion-ignore-case):
8765 Move before completion--in-region, for eager macro expansion.
8766
8767 2013-05-29 Juri Linkov <juri@jurta.org>
8768
8769 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8770 for total count of matching lines. Add `global-matches' for total
8771 count of matches. Rename `matches' to `lines' for count of
8772 matching lines. Add `matches' for count of matches.
8773 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8774 to `prev-line' for line number of prev match endpt.
8775 Increment `matches' for every match. Print the number of
8776 matching lines in the header.
8777 (occur-context-lines): Rename `lines' to `curr-line'.
8778 Rename `prev-lines' to `prev-line'. (Bug#14017)
8779
8780 2013-05-29 Juri Linkov <juri@jurta.org>
8781
8782 * replace.el (perform-replace): Add `skip-read-only-count',
8783 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8784 Increment them for corresponding conditions and report the number
8785 of skipped occurrences in the final message. (Bug#11746)
8786 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8787 (replace-string, replace-regexp): Doc fix.
8788
8789 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8792
8793 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8794 prog-mode-map (bug#14504).
8795
8796 2013-05-29 Leo Liu <sdl.web@gmail.com>
8797
8798 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8799 (octave-help): Small simplification.
8800
8801 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8802 off the highlight first.
8803
8804 2013-05-29 Glenn Morris <rgm@gnu.org>
8805
8806 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8807 Handle idlwave-last-system-routine-info-cons-cell being nil.
8808
8809 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8810 (idlwave-write-paths): Simplify via with-temp-buffer.
8811
8812 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8813 * emulation/cua-rect.el: Also load cua-base at run time.
8814
8815 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8816 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8817 (cperl-imenu-on-info): Require imenu.
8818
8819 2013-05-28 Alan Mackenzie <acm@muc.de>
8820
8821 Handle "capitalised keywords" correctly.
8822 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8823
8824 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8825
8826 * eshell/em-unix.el: Add -r option to cp.
8827
8828 2013-05-28 Glenn Morris <rgm@gnu.org>
8829
8830 * vc/vc-arch.el (vc-exec-after): Declare.
8831 (vc-switches): Autoload.
8832 * vc/vc-bzr.el: No need to require vc when compiling.
8833 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8834 (vc-resynch-buffer, vc-dir-refresh): Declare.
8835 (vc-setup-buffer, vc-switches): Autoload.
8836 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8837 (vc-resynch-buffer): Declare.
8838 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8839 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8840 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8841 (grep-read-regexp, grep-read-files, grep-expand-template)
8842 (vc-dir-refresh): Declare.
8843 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8844 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8845 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8846 * vc/vc-mtn.el (vc-exec-after): Declare.
8847 (vc-switches): Autoload.
8848 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8849 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8850 (vc-file-tree-walk): Declare.
8851 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8852 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8853 (vc-tag-precondition, vc-rename-master): Autoload.
8854 * vc/vc-svn.el (vc-exec-after): Declare.
8855 (vc-switches, vc-setup-buffer): Autoload.
8856 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8857 Autoload.
8858 (vc-resynch-buffer): Declare.
8859
8860 * obsolete/fast-lock.el (byte-compile-warnings):
8861 Don't warn about obsolete features in this obsolete file.
8862
8863 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8864 Move definition before use.
8865
8866 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8867 (dun-unix-verbs): Remove dun-zippy.
8868 (dun-zippy): Remove function.
8869
8870 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8871
8872 2013-05-27 Juri Linkov <juri@jurta.org>
8873
8874 * replace.el (replace-search): New function with code moved out
8875 from `perform-replace'.
8876 (replace-highlight, replace-dehighlight): Move function definitions
8877 up closer to `replace-search'. (Bug#11746)
8878
8879 2013-05-27 Juri Linkov <juri@jurta.org>
8880
8881 * replace.el (perform-replace): Ignore invisible matches.
8882 In addition to checking `query-replace-skip-read-only', also
8883 filter out matches by calling `run-hook-with-args-until-failure'
8884 on `isearch-filter-predicates', and also check `search-invisible'
8885 for t or call `isearch-range-invisible'.
8886 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8887
8888 2013-05-27 Juri Linkov <juri@jurta.org>
8889
8890 * isearch.el (isearch-filter-predicates): Rename from
8891 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8892 (isearch-message-prefix): Display text from the property
8893 `isearch-message-prefix' of the currently active filters.
8894 (isearch-search): Don't compare `isearch-filter-predicate' with
8895 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8896 on `isearch-filter-predicates'. Also check `search-invisible' for t
8897 or call `isearch-range-invisible'.
8898 (isearch-filter-visible): Make obsolete.
8899 (isearch-lazy-highlight-search):
8900 Call `run-hook-with-args-until-failure' on
8901 `isearch-filter-predicates' and use `isearch-range-invisible'.
8902
8903 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8904 `isearch-filter-predicates' instead of `funcall'ing
8905 `isearch-filter-predicate'.
8906 (Info-mode): Set `Info-isearch-filter' to
8907 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8908
8909 * dired-aux.el (dired-isearch-filter-predicate-orig):
8910 Remove variable.
8911 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8912 (dired-isearch-filenames-end): Add and remove
8913 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8914 instead of changing the value of `isearch-filter-predicate'.
8915 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8916 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8917 Put property `isearch-message-prefix' to "filename " on
8918 `dired-isearch-filter-filenames'.
8919
8920 * wdired.el (wdired-change-to-wdired-mode):
8921 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8922 locally instead of changing `isearch-filter-predicate'.
8923 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8924
8925 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8926
8927 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8928 return the commit hash (Bug#14459). Also set the
8929 `vc-git-detached' property.
8930 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8931 (vc-git-mode-line-string): Use the same help-echo format whether
8932 in detached mode or not, because we know the actual revision now.
8933 When in detached mode, shorten the revision to 7 chars.
8934
8935 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * emacs-lisp/easy-mmode.el (define-minor-mode):
8938 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8939 mode hook and provide a docstring.
8940
8941 2013-05-27 Alan Mackenzie <acm@muc.de>
8942
8943 Remove spurious syntax-table text properties inserted by C-y.
8944 * progmodes/cc-mode.el (c-after-change): Also clear hard
8945 syntax-table property with value nil.
8946
8947 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8948
8949 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8950 when reading the events; the buffer layout shall not be changed.
8951
8952 2013-05-27 Leo Liu <sdl.web@gmail.com>
8953
8954 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8955 New variable.
8956 (inferior-octave-directory-tracker): Automatically re-sync
8957 default-directory.
8958 (octave-help): Improve handling of 'See also'.
8959
8960 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * doc-view.el: Minor naming convention tweaks.
8963 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8964
8965 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8966 even if there's no `display' property yet (bug#14435).
8967
8968 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8969
8970 * subr.el (unmsys--file-name): Rename from reveal-filename.
8971
8972 * Makefile.in (custom-deps, finder-data, autoloads)
8973 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8974 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8975 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8976
8977 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8980 error-completion on the first 2 args of condition-case (bug#14446).
8981 Don't burp at EOB.
8982
8983 2013-05-25 Leo Liu <sdl.web@gmail.com>
8984
8985 * comint.el (comint-previous-matching-input): Do not flood the
8986 *Messages* buffer with trivial messages.
8987
8988 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * progmodes/flymake.el (flymake-nop): Don't return a string.
8991 (flymake-set-at): Fix typo.
8992
8993 * simple.el (read--expression): New function, extracted from
8994 eval-expression. Set completion-at-point-functions (bug#14465).
8995 (eval-expression, eval-minibuffer): Use it.
8996
8997 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8998
8999 * progmodes/flymake.el (flymake-save-buffer-in-file)
9000 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9001 (flymake-selected-frame, flymake-log, flymake-ins-after)
9002 (flymake-set-at, flymake-get-buildfile-from-cache)
9003 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9004 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9005 Refine the doc string.
9006 (flymake-get-file-name-mode-and-masks): Reformat.
9007 (flymake-get-real-file-name-function): Fix a minor bug.
9008
9009 2013-05-24 Juri Linkov <juri@jurta.org>
9010
9011 * progmodes/grep.el (grep-mode-font-lock-keywords):
9012 Support =linenumber= format used by git-grep for lines with
9013 function names. (Bug#13549)
9014
9015 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9018 0 after a semi-colon; it works better for smie-auto-fill.
9019 (octave--indent-new-comment-line): New function.
9020 (octave-indent-new-comment-line): Use it (indirectly).
9021 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9022 modify comment-line-break-function.
9023
9024 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9025 (smie-setup): Use add-function to set it.
9026
9027 2013-05-24 Sam Steingold <sds@gnu.org>
9028
9029 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9030 argument (before the `interactive' argument).
9031
9032 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * image-mode.el (image-mode-winprops): Add winprops to
9035 image-mode-winprops-alist before running
9036 image-mode-new-window-functions.
9037 * doc-view.el (doc-view-new-window-function): Don't delay
9038 doc-view-goto-page via timers (bug#14435).
9039
9040 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9041
9042 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9043 (doc-view-desktop-save-buffer): New function.
9044 (doc-view-restore-desktop-buffer): New function.
9045 (desktop-buffer-mode-handlers):
9046 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9047 handler.
9048 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9049 `desktop-save-buffer' function.
9050
9051 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9054 (tramp-gvfs-file-name-handler): Raise a user error when
9055 `tramp-gvfs-enabled' is nil.
9056 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9057 Do not raise a user error when loading package. (Bug#14447)
9058
9059 * net/xesam.el: Move to obsolete/.
9060
9061 2013-05-24 Glenn Morris <rgm@gnu.org>
9062
9063 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9064
9065 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9066
9067 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9068 (Info-find-node, Man-getpage-in-background): Declare.
9069
9070 * mail/unrmail.el (unrmail):
9071 Replace obsolete detect-coding-with-priority.
9072
9073 * net/socks.el (socks-split-string): Use this rather than split-string.
9074 (socks-nslookup-host): Update for above change.
9075 (dynamic-choice, s5-dynamic-choice-match)
9076 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9077 Comment out unused code.
9078
9079 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9080 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9081 (gud-tooltip-echo-area): Make obsolete.
9082 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9083
9084 * progmodes/js.el (js--optimize-arglist): Declare.
9085
9086 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9087
9088 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9089 (ediff-window-C): Declare.
9090
9091 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9092 Tweak requires to silence compiler.
9093
9094 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9095 (he-search-string, he-tried-table, he-expand-list)
9096 (he-init-string, he-string-member, he-substitute-string)
9097 (he-reset-string): Declare.
9098
9099 * obsolete/options.el (list-options): Use custom-variable-p,
9100 rather than obsolete alias.
9101
9102 2013-05-23 Sam Steingold <sds@gnu.org>
9103
9104 * simple.el (shell-command-on-region): Pass the `replace' argument
9105 down to `call-process-region' to comply with the doc as reported on
9106 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9107
9108 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * emacs-lisp/smie.el (smie-indent-forward-token)
9111 (smie-indent-backward-token): Handle string tokens (bug#14381).
9112
9113 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9114
9115 * ielm.el (ielm-menu): New menu.
9116 (inferior-emacs-lisp-mode): Set comment-start.
9117
9118 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9119
9120 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9121 Fix deactivate action.
9122
9123 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9124 Add cleveref macros.
9125
9126 * lisp/textmodes/reftex-parse.el
9127 (reftex-locate-bibliography-files): Accept options for
9128 bibliography commands.
9129 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9130 Add addbibresource. Basic Biblatex support.
9131
9132 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9133
9134 * net/tramp-gvfs.el (top):
9135 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9136 when loading package. (Bug#14447)
9137
9138 2013-05-23 Glenn Morris <rgm@gnu.org>
9139
9140 * progmodes/js.el: No need to load comint when compiling.
9141 (ring-insert, comint-send-string, comint-send-input)
9142 (comint-last-input-end, ido-chop): Declare.
9143
9144 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9145 * vc/ediff-mult.el: Adjust requires.
9146 (ediff-directories-internal, ediff-directory-revisions-internal)
9147 (ediff-patch-file-internal): Declare.
9148 * vc/ediff-ptch.el: Adjust requires.
9149 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9150 (ediff-find-file): Autoload.
9151 * vc/ediff-util.el: No need to load ediff when compiling.
9152 (ediff-regions-internal): Declare.
9153 * vc/ediff-wind.el: Adjust requires.
9154 (ediff-compute-toolbar-width): Define when compiling.
9155 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9156 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9157 (dired-get-filename, dired-get-marked-files)
9158 (ediff-last-dir-patch, ediff-patch-default-directory)
9159 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9160 (ediff-patch-buffer-internal): Declare.
9161
9162 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9163 (ispell-process, ispell-buffer-local-words, lm-summary)
9164 (lm-section-start, lm-section-end): Declare.
9165 (checkdoc-ispell-init): Simplify.
9166
9167 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9168 (he-string-member, he-reset-string, he-substitute-string): Declare.
9169
9170 * eshell/em-ls.el: Adjust requires.
9171 (eshell-glob-regexp): Declare.
9172 * eshell/em-tramp.el: Adjust requires.
9173 (eshell-parse-command): Autoload.
9174 * eshell/em-xtra.el: Adjust requires.
9175 (eshell-parse-command): Autoload.
9176 * eshell/esh-ext.el: Adjust requires.
9177 (eshell-parse-command, eshell-close-handles): Autoload.
9178 * eshell/esh-io.el: Adjust requires.
9179 (eshell-output-filter): Autoload.
9180 * eshell/esh-util.el: No need to load tramp when compiling.
9181 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9182 Declare.
9183 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9184 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9185 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9186 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9187 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9188 * eshell/esh-opt.el, eshell/esh-proc.el:
9189 * eshell/esh-var.el: Adjust requires.
9190 * eshell/eshell.el: Do not require esh-util twice.
9191 (eshell-add-input-to-history): Declare.
9192 (eshell-command): Check history module is active before using it.
9193
9194 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9195
9196 2013-05-22 Leo Liu <sdl.web@gmail.com>
9197
9198 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9199
9200 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * autorevert.el (auto-revert-notify-add-watch)
9203 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9204 it indicates changes in file modification time.
9205
9206 2013-05-22 Glenn Morris <rgm@gnu.org>
9207
9208 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9209 Always delete the autoloaded function from the noruntime and
9210 unresolved functions lists.
9211
9212 * allout.el: No need to load epa, epg, overlay when compiling.
9213 (epg-context-set-passphrase-callback, epg-list-keys)
9214 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9215 (epg-key-user-id-list): Declare.
9216
9217 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9218 (viper-set-parsing-style-toggling-macro)
9219 (viper-set-emacs-state-searchstyle-macros):
9220 Use called-interactively-p on Emacs.
9221 (viper-looking-back): Make it an obsolete alias. Update callers.
9222 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9223 Use looking-back rather than viper-looking-back.
9224 (viper-tmp-insert-at-eob, viper-enlarge-region)
9225 (viper-read-string-with-history, viper-register-to-point)
9226 (viper-append-to-register, viper-change-state-to-vi)
9227 (viper-backward-char-carefully, viper-forward-char-carefully)
9228 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9229 (viper-change-state-to-emacs): Declare.
9230 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9231 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9232 * emulation/viper-mous.el: Do not load viper-cmd.
9233 (viper-backward-char-carefully, viper-forward-char-carefully)
9234 (viper-forward-word, viper-adjust-window): Declare.
9235
9236 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9237
9238 * progmodes/idlw-help.el (idlwave-help-fontify):
9239 Use called-interactively-p.
9240
9241 * term/w32console.el (w32-get-console-codepage)
9242 (w32-get-console-output-codepage): Declare.
9243
9244 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9245 Remove unnecessary declarations.
9246 (dframe-message): Doc fix.
9247
9248 * info.el (dframe-select-attached-frame, dframe-current-frame):
9249 Declare.
9250
9251 * speedbar.el (speedbar-message): Make it an obsolete alias.
9252 Update all callers.
9253 (speedbar-with-attached-buffer)
9254 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9255 (speedbar-with-writable): Use backquote.
9256 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9257 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9258 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9259 rather than speedbar- aliases.
9260 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9261 (speedbar-make-specialized-keymap, speedbar-insert-button)
9262 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9263 (speedbar-do-function-pointer): Declare.
9264 (rmail-speedbar-button, rmail-speedbar-find-file)
9265 (rmail-speedbar-move-message):
9266 Use dframe-with-attached-buffer rather than speedbar- alias.
9267 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9268 (dframe-message, speedbar-make-specialized-keymap)
9269 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9270 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9271 (speedbar-insert-button, dframe-select-attached-frame)
9272 (dframe-maybee-jump-to-attached-frame)
9273 (speedbar-change-initial-expansion-list)
9274 (speedbar-previously-used-expansion-list-name): Declare.
9275 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9276 Use dframe-message, dframe-with-attached-buffer rather than
9277 speedbar- aliases.
9278 (gud-sentinel): Silence compiler.
9279 * progmodes/vhdl-mode.el (speedbar-refresh)
9280 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9281 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9282 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9283 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9284 (speedbar-file-lists, speedbar-make-tag-line)
9285 (speedbar-line-directory, speedbar-goto-this-file)
9286 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9287 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9288 (speedbar-make-button, speedbar-reset-scanners)
9289 (speedbar-files-item-info, speedbar-line-text)
9290 (speedbar-find-file-in-frame, speedbar-set-timer)
9291 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9292 (speedbar-with-writable): Do not (re)define it.
9293 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9294 rather than speedbar- alias.
9295
9296 2013-05-21 Leo Liu <sdl.web@gmail.com>
9297
9298 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9299 menu items.
9300 (octave-mode): Tweak fill-nobreak-predicate.
9301 (inferior-octave-startup): Check process to avoid infinite loop.
9302 (inferior-octave): Pop to buffer first to show abornmal process
9303 exit information.
9304
9305 2013-05-21 Glenn Morris <rgm@gnu.org>
9306
9307 * printing.el (pr-menu-bar): Define when compiling.
9308
9309 2013-05-21 Leo Liu <sdl.web@gmail.com>
9310
9311 * progmodes/octave.el (octave-auto-fill): Remove.
9312 (octave-indent-new-comment-line): Improve.
9313 (octave-mode): Use auto fill mode through
9314 comment-line-break-function and fill-nobreak-predicate.
9315 (octave-goto-function-definition): Support DEFUN_DLD.
9316 (octave-beginning-of-defun): Small tweak.
9317 (octave-help): Show parent directory.
9318
9319 2013-05-21 Glenn Morris <rgm@gnu.org>
9320
9321 * files.el (dired-unmark):
9322 * progmodes/gud.el (gdb-input): Update declarations.
9323
9324 * calculator.el (electric, ehelp): No need to load when compiling.
9325 (Electric-command-loop, electric-describe-mode): Declare.
9326
9327 * doc-view.el (doc-view-current-converter-processes): Move before use.
9328
9329 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9330 Move MODE-set-explicitly definition before use.
9331
9332 * international/mule-diag.el (mule-diag):
9333 Don't use obsolete window-system-version.
9334
9335 * mail/feedmail.el (smtpmail): No need to load when compiling.
9336 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9337
9338 * mail/mail-utils.el (rfc822): No need to load when compiling.
9339 (rfc822-addresses): Autoload it.
9340 (mail-strip-quoted-names): Trivial simplification.
9341
9342 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9343 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9344
9345 * net/snmp-mode.el (tempo): Don't duplicate requires.
9346
9347 * progmodes/prolog.el (info): No need to load when compiling.
9348 (comint): Require before shell requires it.
9349 (Info-goto-node): Autoload it.
9350 (Info-follow-nearest-node): Declare.
9351 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9352
9353 * textmodes/artist.el (picture-mode-exit): Declare.
9354
9355 * textmodes/reftex-parse.el (reftex-parse-from-file):
9356 Trivial rewrite so the compiler can parse it better.
9357
9358 2013-05-20 Leo Liu <sdl.web@gmail.com>
9359
9360 * progmodes/octave.el (octave-help-mode-map)
9361 (octave-help-mode-finish-hook): New variables.
9362 (octave-help-mode, octave-help-mode-finish): New functions.
9363 (octave-help): Use octave-help-mode.
9364
9365 2013-05-20 Glenn Morris <rgm@gnu.org>
9366
9367 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9368
9369 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9370
9371 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9372 start at point, so that expansion starting right after opening
9373 slash in a regexp is recognized.
9374 (ruby-syntax-before-regexp-re): New defvar, extracted from
9375 ruby-syntax-propertize-function. Since the value of this regexp
9376 is looked up at runtime now, we should be able to turn
9377 `ruby-syntax-methods-before-regexp' into a defcustom later.
9378 (ruby-syntax-propertize-function): Split regexp matching into two
9379 parts, for opening and closing slashes. That allows us to skip
9380 over string interpolations and support multiline regexps.
9381 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9382 for them, which calls `ruby-syntax-propertize-expansion'.
9383 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9384 call to `ruby-syntax-propertize-function'.
9385 (ruby-syntax-propertize-expansion): Extracted from
9386 `ruby-syntax-propertize-expansions'. Handles one expansion.
9387 (ruby-syntax-propertize-percent-literal): Leave point right after
9388 the percent symbol, so that the expression expansion rule can
9389 propertize the contents.
9390 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9391 heredoc openers.
9392 (ruby-syntax-propertize-expansions): Remove.
9393
9394 2013-05-18 Juri Linkov <juri@jurta.org>
9395
9396 * man.el (Man-default-man-entry): Remove `-' from the end
9397 of the default value. (Bug#14400)
9398
9399 2013-05-18 Glenn Morris <rgm@gnu.org>
9400
9401 * comint.el (comint-password-prompt-regexp):
9402 Allow "password for XXX" where XXX contains colons (eg https://...).
9403
9404 2013-05-18 Leo Liu <sdl.web@gmail.com>
9405
9406 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9407 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9408 (octave-source-directories): Don't check process.
9409 (octave-source-directories, octave-find-definition): Doc fix.
9410
9411 2013-05-18 Glenn Morris <rgm@gnu.org>
9412
9413 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9414 Remove backspace/delete bindings. (Bug#14392)
9415
9416 * cus-dep.el (custom-make-dependencies): Sort the output.
9417 (custom-versions-load-alist): Convert comment to doc.
9418
9419 2013-05-17 Leo Liu <sdl.web@gmail.com>
9420
9421 * newcomment.el (comment-search-backward): Stricter in finding
9422 comment start. (Bug#14303)
9423
9424 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9425 (octave-comment-start-skip): Properly anchored.
9426
9427 2013-05-17 Leo Liu <sdl.web@gmail.com>
9428
9429 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9430 Clean up when turned off. (Bug#14395)
9431 (smie--highlight-matching-block-overlay): No longer buffer-local.
9432 (smie-highlight-matching-block): Adjust.
9433
9434 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9435
9436 Doc string fix for "nanoseconds" (Bug#14406).
9437 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9438 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9439
9440 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9441
9442 * calc/calc-units.el (math-extract-units): Preserve powers
9443 of units.
9444
9445 2013-05-17 Leo Liu <sdl.web@gmail.com>
9446
9447 * subr.el (delete-consecutive-dups): New function.
9448 * ido.el (ido-set-matches-1): Use it.
9449 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9450 * ido.el (ido-remove-consecutive-dups): Remove.
9451
9452 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9455 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9456 regexp-opt's `words'.
9457
9458 2013-05-16 Leo Liu <sdl.web@gmail.com>
9459
9460 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9461 (smie--highlight-matching-block-overlay)
9462 (smie--highlight-matching-block-lastpos)
9463 (smie--highlight-matching-block-timer): New variables.
9464 (smie-highlight-matching-block): New function.
9465 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9466 (smie-setup): Conditionally enable smie-blink-matching-open.
9467
9468 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9469
9470 Sync with upstream verilog-mode r840.
9471 * progmodes/verilog-mode.el (verilog-mode-version)
9472 (verilog-mode-release-date): Update.
9473 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9474 (verilog-sig-tieoff): Fix string error on
9475 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9476 (verilog-read-decls): Fix parameters confusing
9477 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9478
9479 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9480
9481 * subr.el (reveal-filename): New function.
9482
9483 * loadup.el: Compute Emacs executable versions on MS-Windows,
9484 where executables have the .exe extension. Add a hard link
9485 emacs-XX.YY.ZZ.exe on MS-Windows.
9486
9487 * Makefile.in (XARGS_LIMIT): New variable.
9488 (custom-deps, finder-data, autoloads)
9489 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9490 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9491 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9492 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9493
9494 2013-05-16 Leo Liu <sdl.web@gmail.com>
9495
9496 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9497 (octave-mode-menu, octave-mode-map): Remove its uses.
9498
9499 2013-05-16 Reto Zimmermann <reto@gnu.org>
9500
9501 Sync with upstream vhdl mode v3.34.2.
9502 * progmodes/vhdl-mode.el: Use `push' throughout.
9503 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9504 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9505 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9506 (vhdl-actual-generic-name): New option to derive actual generic name.
9507 (vhdl-port-paste-signals): Replace formal by actual generics.
9508 (vhdl-beautify): New name for old group vhdl-align. Update users.
9509 (vhdl-beautify-options): New option.
9510 (vhdl-last-input-event): New compat alias. Use throughout.
9511 (vhdl-goto-line): Replace user level function `goto-line'.
9512 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9513 vhdl-fix-statement-buffer.
9514 (vhdl-create-mode-menu): Add some entries.
9515 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9516 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9517 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9518 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9519 to force statements on one line.
9520 (vhdl-remove-trailing-spaces-region):
9521 New, split from vhdl-remove-trailing-spaces.
9522 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9523 Respect vhdl-beautify-options.
9524 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9525 (vhdl-update-sensitivity-list): Not add with index if exists without.
9526 Not include array index with signal. Ignore keywords in comments.
9527 (vhdl-get-visible-signals): Regexp tweaks.
9528 (vhdl-template-component-inst): Handle empty library.
9529 (vhdl-template-type): Add template for 'enum' type.
9530 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9531 Use vhdl-replace-string.
9532 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9533 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9534 (vhdl-speedbar-initialize): Update for above name change.
9535 (vhdl-compose-wire-components): Fix in handling of constants.
9536 (vhdl-error-regexp-emacs-alist): New variable.
9537 (vhdl-error-regexp-add-emacs): New function;
9538 adds support for new compile.el (Emacs 22+)
9539 (vhdl-generate-makefile-1): Change target order for single lib. units.
9540 Allow use of absolute file names.
9541
9542 2013-05-16 Leo Liu <sdl.web@gmail.com>
9543
9544 * simple.el (prog-indent-sexp): Indent enclosing defun.
9545
9546 2013-05-15 Glenn Morris <rgm@gnu.org>
9547
9548 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9549 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9550 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9551 (whitespace-highlight): Move to whitespace group.
9552
9553 * comint.el (comint-source):
9554 * pcmpl-linux.el (pcmpl-linux):
9555 * shell.el (shell-faces):
9556 * eshell/esh-opt.el (eshell-opt):
9557 * international/ccl.el (ccl): Remove empty custom groups.
9558
9559 * completion.el (dynamic-completion-mode):
9560 * jit-lock.el (jit-lock-debug-mode):
9561 * minibuffer.el (completion-in-region-mode):
9562 * type-break.el (type-break-mode-line-message-mode)
9563 (type-break-query-mode):
9564 * emulation/tpu-edt.el (tpu-edt-mode):
9565 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9566 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9567 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9568
9569 * term/xterm.el (xterm): Change parent group to terminals.
9570
9571 * master.el (master): Remove empty custom group.
9572 (master-mode): Remove unused :group argument.
9573 * textmodes/refill.el (refill): Remove empty custom group.
9574 (refill-mode): Remove unused :group argument.
9575
9576 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9577
9578 * cus-dep.el: Provide a feature.
9579 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9580 Don't mistakenly ignore files whose basenames match a basename
9581 from preloaded-file-list (eg cedet/ede/simple.el).
9582 Add a fallback method for getting :group.
9583
9584 2013-05-15 Juri Linkov <juri@jurta.org>
9585
9586 * isearch.el (isearch-char-by-name): Rename from
9587 `isearch-insert-char-by-name'. Doc fix.
9588 (isearch-forward): Mention `isearch-char-by-name' in
9589 the docstring. (Bug#13348)
9590
9591 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9592 `exit-minibuffer' instead of
9593 `isearch-nonincremental-exit-minibuffer'.
9594 (isearch-edit-string): Remove mention of
9595 `isearch-nonincremental-exit-minibuffer' from docstring.
9596 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9597 (isearch-forward-exit-minibuffer)
9598 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9599
9600 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * loadup.el: Just use unversioned DOC.
9603
9604 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9605 literals as extending to EOB.
9606 (nxml-last-fontify-end): Remove unused variable.
9607 (nxml-after-change1): Use with-silent-modifications.
9608 (nxml-extend-after-change-region): Simplify.
9609 (nxml-extend-after-change-region1): Remove function.
9610 (nxml-after-change1): Don't adjust for dependent regions.
9611 (nxml-fontify-matcher): Simplify.
9612 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9613 (xmltok-add-dependent): Remove function.
9614 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9615 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9616 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9617 unclosed <[[, <?, comment, and other literals as extending to EOB.
9618 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9619 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9620 Remove functions.
9621 (rng-do-some-validation-1): Don't mark dependent regions.
9622 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9623 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9624 (nxml-clear-dependent-regions): Remove functions.
9625 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9626 (nxml-ensure-scan-up-to-date):
9627 Don't clear&mark dependent regions.
9628
9629 2013-05-15 Leo Liu <sdl.web@gmail.com>
9630
9631 * progmodes/octave.el (octave-goto-function-definition):
9632 Improve and fix callers.
9633
9634 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9637 the setter (bug#14387).
9638
9639 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9640 surrounding group (bug#14402).
9641
9642 2013-05-14 Juri Linkov <juri@jurta.org>
9643
9644 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9645 (Bug#14390)
9646
9647 2013-05-14 Glenn Morris <rgm@gnu.org>
9648
9649 * progmodes/f90.el (f90-imenu-generic-expression):
9650 Fix typo in 2013-05-08 change. (Bug#14402)
9651
9652 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9653
9654 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9655 Remove signals for which replies are never received.
9656
9657 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9658
9659 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9660 (gdb-handler-alist, gdb-handler-number): Remove variables.
9661 (gdb-handler-list): New variable.
9662 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9663 (gdb-pending-handler-p, gdb-handle-reply)
9664 (gdb-remove-all-pending-triggers): New functions.
9665 (gdb-discard-unordered-replies): New defcustom.
9666 (gdb-handler): New defstruct.
9667 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9668 instead of gdb-pending-triggers. Update docstring.
9669 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9670 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9671 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9672 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9673 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9674 (gdb-frame-handler): Pending triggers are now automatically managed.
9675 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9676 Remove argument.
9677 (gdb-input): Automatically handles pending triggers. Update docstring.
9678 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9679 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9680 Update comments.
9681 (gdb-done-or-error): Now use gdb-handle-reply.
9682
9683 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9684
9685 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9686 gdb-debug-log.
9687
9688 2013-05-14 Glenn Morris <rgm@gnu.org>
9689
9690 * subr.el (user-emacs-directory-warning): New option.
9691 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9692
9693 2013-05-14 Leo Liu <sdl.web@gmail.com>
9694
9695 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9696 during redisplay.
9697 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9698 (octave-font-lock-texinfo-comment): Fix invalid search bound
9699 error: wrong side of point.
9700
9701 2013-05-14 Glenn Morris <rgm@gnu.org>
9702
9703 * progmodes/flymake.el (flymake-xml-program): New option.
9704 (flymake-xml-init): Use it.
9705
9706 * term/xterm.el: Provide a feature.
9707
9708 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9709
9710 2013-05-13 Glenn Morris <rgm@gnu.org>
9711
9712 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9713 Add compat aliases as a hack workaround. (Bug#14384)
9714
9715 2013-05-13 Leo Liu <sdl.web@gmail.com>
9716
9717 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9718 ###, and %!.
9719 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9720 C-M-q.
9721 (octave-comment-start-skip): Include %!.
9722 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9723
9724 2013-05-12 Leo Liu <sdl.web@gmail.com>
9725
9726 * progmodes/octave.el (inferior-octave-startup): Store the value
9727 of __octave_srcdir__ for octave-source-directories.
9728 (inferior-octave-check-process): New function refactored out of
9729 inferior-octave-send-list-and-digest.
9730 (octave-source-directories)
9731 (octave-find-definition-filename-function): New variables.
9732 (octave-source-directories)
9733 (octave-find-definition-default-filename): New functions.
9734 (octave-find-definition): Improve to find functions implemented in C++.
9735
9736 2013-05-12 Glenn Morris <rgm@gnu.org>
9737
9738 * calendar/diary-lib.el (diary-outlook-format-1):
9739 Don't include dayname in the output. (Bug#14349)
9740
9741 2013-05-11 Glenn Morris <rgm@gnu.org>
9742
9743 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9744
9745 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9746 Treat cc-provide like provide.
9747
9748 2013-05-11 Kevin Ryde <user42@zip.com.au>
9749
9750 * cus-dep.el (custom-make-dependencies):
9751 Use generated-autoload-load-name for the sake of files such
9752 such cedet/semantic/bovine/c.el, where the base file name
9753 is not in load-path. (Bug#5277)
9754
9755 2013-05-11 Glenn Morris <rgm@gnu.org>
9756
9757 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9758 Provide features.
9759
9760 2013-05-11 Leo Liu <sdl.web@gmail.com>
9761
9762 * progmodes/octave.el (octave-indent-comment): Improve.
9763 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9764 (octave-eldoc-function-signatures, octave-eldoc-function):
9765 New functions.
9766 (octave-mode, inferior-octave-mode): Add eldoc support.
9767
9768 2013-05-11 Richard Stallman <rms@gnu.org>
9769
9770 * epa.el (epa-decrypt-file): Take output file name as argument
9771 and read it using `interactive'.
9772
9773 2013-05-11 Leo Liu <sdl.web@gmail.com>
9774
9775 * progmodes/octave.el (octave-beginning-of-line)
9776 (octave-end-of-line): Check before using up-list because it jumps
9777 out of more syntactic contructs since moving to smie.
9778 (octave-indent-comment): New function.
9779 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9780 (octave-begin-keywords, octave-end-keywords)
9781 (octave-reserved-words, octave-smie-bnf-table)
9782 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9783
9784 2013-05-11 Glenn Morris <rgm@gnu.org>
9785
9786 * faces.el (internal-face-x-get-resource):
9787 * frame.el (ns-display-monitor-attributes-list):
9788 * calc/calc-aent.el (math-to-radians-2):
9789 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9790 Fix declarations.
9791
9792 * calc/calc-menu.el: Make it loadable in isolation.
9793
9794 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9795 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9796 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9797 (eudc-bbdb-query-internal): Require 'bbdb.
9798
9799 * lpr.el (lpr-headers-switches):
9800 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9801
9802 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9803
9804 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9805
9806 * term.el (term-set-escape-char): Make it idempotent.
9807
9808 2013-05-10 Leo Liu <sdl.web@gmail.com>
9809
9810 * progmodes/octave.el (inferior-octave-completion-table):
9811 No longer a function and all uses changed. Use cache to speed up
9812 completion due to bug#11906.
9813 (octave-beginning-of-defun): Re-write to be more general.
9814
9815 2013-05-10 Glenn Morris <rgm@gnu.org>
9816
9817 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9818
9819 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9820
9821 * comint.el (comint-redirect-send-command-to-process): Use :around
9822 rather than :override for comint-redirect-filter.
9823 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9824 Call it instead of comint-redirect-original-filter-function (which
9825 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9826
9827 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9828
9829 * frame.el (display-monitor-attributes-list): Add NS case.
9830 (ns-display-monitor-attributes-list): Declare.
9831
9832 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9833
9834 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9835
9836 2013-05-09 Glenn Morris <rgm@gnu.org>
9837
9838 * international/fontset.el (vertical-centering-font-regexp):
9839 Set standard-value.
9840
9841 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9842
9843 * bookmark.el (bookmark-search-delay):
9844 * cus-start.el (vertical-centering-font-regexp):
9845 * ps-mule.el (ps-mule-font-info-database-default):
9846 * ps-print.el (ps-default-fg, ps-default-bg):
9847 * type-break.el (type-break-good-break-interval):
9848 * whitespace.el (whitespace-indentation-regexp)
9849 (whitespace-space-after-tab-regexp):
9850 * emacs-lisp/testcover.el (testcover-1value-functions)
9851 (testcover-noreturn-functions, testcover-progn-functions)
9852 (testcover-prog1-functions):
9853 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9854 * eshell/em-glob.el (eshell-glob-translate-alist):
9855 * play/tetris.el (tetris-tty-colors):
9856 * progmodes/cpp.el (cpp-face-default-list):
9857 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9858 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9859 (idlwave-help-browser-generic-args):
9860 * progmodes/make-mode.el (makefile-special-targets-list):
9861 * progmodes/python.el (python-shell-virtualenv-path):
9862 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9863 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9864 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9865 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9866 * textmodes/reftex-vars.el (reftex-format-label-function):
9867 * textmodes/remember.el (remember-diary-file): Fix custom types.
9868
9869 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9870 Add :version.
9871
9872 2013-05-09 Leo Liu <sdl.web@gmail.com>
9873
9874 * progmodes/octave.el (inferior-octave-completion-at-point):
9875 Restore file completion. (Bug#14300)
9876 (inferior-octave-startup): Fix incorrect highlighting for the
9877 first prompt.
9878
9879 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * progmodes/ruby-mode.el: First cut at SMIE support.
9882 (ruby-use-smie): New var.
9883 (ruby-smie-grammar): New constant.
9884 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9885 (ruby-smie--forward-token, ruby-smie--backward-token)
9886 (ruby-smie-rules): New functions.
9887 (ruby-mode-variables): Setup SMIE if applicable.
9888
9889 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9890
9891 * simple.el (line-move-visual): Signal beginning/end of buffer
9892 only if vertical-motion moved less than it was requested. Avoids
9893 silly incorrect error messages when there are display strings with
9894 multiple newlines at EOL.
9895
9896 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9899 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9900 (prolog-char-quote-workaround):
9901 * progmodes/cperl-mode.el (cperl-under-as-char):
9902 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9903 Mark as obsolete.
9904 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9905 their declaration.
9906 (vhdl-mode-syntax-table-init): Remove.
9907
9908 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9909 last change.
9910
9911 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9912 syntax for "_".
9913 (ld-script-font-lock-keywords):
9914 Change regexps to use things like \_< and \_>.
9915
9916 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9917 Change all regexps to use things like \_< and \_>.
9918
9919 * progmodes/autoconf.el (autoconf-definition-regexp)
9920 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9921 Handle a _ with symbol syntax.
9922 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9923
9924 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9925 Consolidate declaration.
9926 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9927 the declaration.
9928 (ada-create-syntax-table): Remove.
9929 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9930 already has the right syntax nowadays.
9931 (ada-goto-next-word): Don't change the syntax of "_".
9932
9933 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9934 with-wrapper-hook.
9935
9936 2013-05-08 Sam Steingold <sds@gnu.org>
9937
9938 * thingatpt.el (thing-at-point): Accept optional second argument
9939 NO-PROPERTIES to strip the text properties from the return value.
9940 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9941 to `thing-at-point' instead of stripping the properties ourselves.
9942 Also, when `thing-at-point' fails to find a url, prepend "http://"
9943 to the filename at point on the assumption that the user is
9944 pointing at something like gnu.org/gnu.
9945
9946 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9947
9948 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9949 * faces.el (crm-separator):
9950 Silence byte-compiler.
9951
9952 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9953 (tool-bar-map): Remove unneeded defvars.
9954
9955 2013-05-08 Leo Liu <sdl.web@gmail.com>
9956
9957 Re-work a fix for bug#10994 based on Le Wang's patch.
9958 * ido.el (ido-remove-consecutive-dups): New helper.
9959 (ido-completing-read): Use it.
9960 (ido-chop): Revert fix for bug#10994.
9961
9962 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9963
9964 * cus-edit.el (custom-save-variables):
9965 Pretty-print long values. (Bug#14187)
9966
9967 2013-05-08 Glenn Morris <rgm@gnu.org>
9968
9969 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9970 (m4-mode-syntax-table): Init in the defvar.
9971 (m4-mode-abbrev-table): Let define-derived-mode define it.
9972
9973 2013-05-08 Tom Tromey <tromey@redhat.com>
9974
9975 * progmodes/m4-mode.el (m4-mode-syntax-table):
9976 Do not treat "_" as word constituent. (Bug#14167)
9977
9978 2013-05-07 Glenn Morris <rgm@gnu.org>
9979
9980 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9981 Remove explicit eshell-isearch-cancel-map.
9982
9983 * progmodes/f90.el (f90-smart-end-names): New option.
9984 (f90-smart-end): Doc fix.
9985 (f90-end-block-optional-name): New constant.
9986 (f90-block-match): Respect f90-smart-end-names.
9987
9988 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9991 about implicit semi-colons (bug#14218).
9992
9993 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9994
9995 * frame.el (display-monitor-attributes-list)
9996 (frame-monitor-attributes): New functions.
9997
9998 2013-05-06 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/octave.el (octave-syntax-propertize-function): Change
10001 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10002 (octave-font-lock-keywords): Use octave-operator-regexp.
10003 (octave-completion-at-point): Rename from
10004 octave-completion-at-point-function.
10005 (inferior-octave-directory-tracker): Robustify.
10006 (octave-text-functions): Remove and fix its uses. No such things
10007 any more.
10008
10009 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * emacs-lisp/trace.el (trace--display-buffer): New function.
10012 (trace-make-advice): Use it.
10013
10014 2013-05-06 Juri Linkov <juri@jurta.org>
10015
10016 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10017 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10018 Doc fix.
10019 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10020 in the help string. (Bug#12985)
10021
10022 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10023
10024 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10025
10026 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * progmodes/perl-mode.el: Add support for here documents.
10029 (perl-syntax-propertize-function): Match here-doc markers.
10030 (perl-syntax-propertize-special-constructs): Find their end.
10031 (perl-imenu-generic-expression): Use [:alnum:].
10032
10033 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10034 (advice--add-function): Refresh the advice if already present
10035 (bug#14317).
10036
10037 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10038
10039 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10040
10041 2013-05-06 Glenn Morris <rgm@gnu.org>
10042
10043 * w32-fns.el (w32-charset-info-alist): Declare.
10044
10045 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10046 of its defcustom properties.
10047 (eshell-cmpl-initialize): No need to load pcomplete.
10048
10049 * generic-x.el: No need to require comint when compiling.
10050
10051 * net/eudc-export.el: Make it loadable without bbdb.
10052 (top-level): Use require rather than load-library.
10053 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10054 (eudc-batch-export-records-to-bbdb)
10055 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10056 Require bbdb.
10057
10058 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10061 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10062 some tweaks, instead.
10063
10064 2013-05-05 Leo Liu <sdl.web@gmail.com>
10065
10066 * progmodes/octave.el (octave-font-lock-keywords)
10067 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10068 (inferior-octave-send-list-and-digest): Improve error message.
10069 (octave-mode, inferior-octave-mode): Use setq-local.
10070 (octave-help): Set info-lookup-mode.
10071
10072 2013-05-05 Richard Stallman <rms@gnu.org>
10073
10074 * vc/compare-w.el (compare-windows-whitespace):
10075 Treat no-break space as whitespace.
10076
10077 * mail/rmailsum.el (rmail-summary-rmail-update):
10078 Detect empty summary and don't change selected message.
10079 (rmail-summary-goto-msg): Likewise.
10080
10081 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10082 Doc fixes, rename args.
10083
10084 2013-05-05 Alan Mackenzie <acm@muc.de>
10085
10086 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10087
10088 2013-05-05 Juri Linkov <juri@jurta.org>
10089
10090 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10091 to not add the length of the summary segment to the return value.
10092 (Bug#14125)
10093
10094 2013-05-05 Leo Liu <sdl.web@gmail.com>
10095
10096 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10097 (inferior-octave-output-filter): Remove.
10098 (octave-send-region, inferior-octave-startup): Fix callers.
10099 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10100 (octave-binary-file-extensions): New user variable.
10101 (octave-find-definition): Confirm if opening binary files.
10102 (octave-help-file): Use octave-find-definition to get the binary
10103 confirmation.
10104 (octave-help): Adjust for octave-help-file change.
10105
10106 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10107
10108 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10109 Merge the two entries that handle function definitions.
10110 (pascal--syntax-propertize): New const.
10111 (pascal-mode): Use it. Use setq-local.
10112
10113 2013-05-04 Glenn Morris <rgm@gnu.org>
10114
10115 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10116 (diary-from-outlook): Respect diary-from-outlook-function.
10117
10118 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10121 Move the declaration from C.
10122 (read-minibuffer, eval-minibuffer): Move from C.
10123 (completion-setup-function): Avoid minibuffer-completion-contents.
10124
10125 2013-05-03 Leo Liu <sdl.web@gmail.com>
10126
10127 * progmodes/octave.el (octave-font-lock-keywords): Do not
10128 dehighlight 'end' in comments or strings.
10129 (octave-completing-read, octave-goto-function-definition):
10130 New helpers.
10131 (octave-help-buffer): New user variable.
10132 (octave-help-file, octave-help-function): New button types.
10133 (octave-help): New command and bind it to C-h ;.
10134 (octave-find-definition): New command and bind it to M-.
10135 (user-error): Alias to error if not defined.
10136
10137 2013-05-02 Leo Liu <sdl.web@gmail.com>
10138
10139 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10140 for \. (bug#14332)
10141 (octave-font-lock-keywords): Include [ and {.
10142
10143 2013-05-02 Leo Liu <sdl.web@gmail.com>
10144
10145 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10146 (inferior-octave): Remove calling comint-mode and return the buffer.
10147 (inferior-octave-startup): Cosmetic changes.
10148
10149 2013-05-02 Leo Liu <sdl.web@gmail.com>
10150
10151 * progmodes/octave.el (octave-syntax-propertize-function):
10152 Include the case when ' is at line beginning. (Bug#14336)
10153
10154 2013-05-02 Glenn Morris <rgm@gnu.org>
10155
10156 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10157 * desktop.el (vc-dir-mode): Just autoload it here.
10158
10159 2013-05-02 Alan Mackenzie <acm@muc.de>
10160
10161 Eliminate variable c-standard-font-lock-fontify-region-function.
10162 * progmodes/cc-mode.el
10163 (c-standard-font-lock-fontify-region-function): Remove.
10164 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10165
10166 2013-05-01 Leo Liu <sdl.web@gmail.com>
10167
10168 * progmodes/octave.el: Compatible with older emacs-24 releases.
10169 (inferior-octave-has-built-in-variables): Remove. Built-in
10170 variables were removed from Octave in 2007.
10171 (inferior-octave-startup): Fix uses.
10172 (comint-line-beginning-position): Remove compatibility code for
10173 emacs 21.
10174
10175 2013-05-01 Juri Linkov <juri@jurta.org>
10176
10177 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10178
10179 2013-05-01 Juri Linkov <juri@jurta.org>
10180
10181 * comint.el (comint-previous-matching-input): Don't print message
10182 "History item: %d" when `isearch-mode' is active.
10183 (comint-history-isearch-message): Print message "History item: %d"
10184 when `comint-input-ring-index' is not empty and this function is
10185 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10186
10187 2013-05-01 Leo Liu <sdl.web@gmail.com>
10188
10189 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10190 definitions. Use completion-at-point to insert keywords.
10191 (octave-abbrev-start): Remove.
10192 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10193
10194 2013-04-30 Leo Liu <sdl.web@gmail.com>
10195
10196 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10197 change.
10198
10199 2013-04-30 Alan Mackenzie <acm@muc.de>
10200
10201 Handle arbitrarily long C++ member initialisation lists.
10202 * progmodes/cc-engine.el (c-back-over-member-initializers):
10203 new function.
10204 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10205 (most) member init lists.
10206
10207 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10208
10209 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10210 variable.
10211
10212 2013-04-30 Leo Liu <sdl.web@gmail.com>
10213
10214 * progmodes/octave.el (octave-variables): Remove. No builtin
10215 variables any more. All converted to functions.
10216 (octave-font-lock-keywords, octave-completion-at-point-function):
10217 Fix uses.
10218 (octave-font-lock-texinfo-comment): New user variable.
10219 (octave-texinfo-font-lock-keywords): New variable for texinfo
10220 comment block.
10221 (octave-function-comment-block): New face.
10222 (octave-font-lock-texinfo-comment): New function.
10223 (octave-mode): Font lock texinfo comment block.
10224
10225 2013-04-29 Leo Liu <sdl.web@gmail.com>
10226
10227 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10228 indexing expression.
10229 (octave-continuation-string): Do not use \.
10230 (inferior-octave-complete-impossible): Remove.
10231 (inferior-octave-completion-table)
10232 (inferior-octave-completion-at-point): Remove its uses.
10233 (inferior-octave-startup): completion_matches was introduced to
10234 Octave in 1996 so safe to assume it.
10235 (octave-function-file-comment): Improve to follow how Octave does it.
10236 (octave-update-function-file-comment): Tweak.
10237
10238 2013-04-29 Leo Liu <sdl.web@gmail.com>
10239
10240 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10241 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10242 (octave-function-file-comment): Fix typo.
10243 (octave-sync-function-file-names): Use read-char-choice.
10244
10245 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10246
10247 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10248 to t for the less important warnings.
10249
10250 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10251
10252 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10253
10254 2013-04-27 Glenn Morris <rgm@gnu.org>
10255
10256 * vc/log-view.el (log-view-current-entry):
10257 Treat "---" separator lines as part of the following rev. (Bug#14169)
10258
10259 2013-04-27 Juri Linkov <juri@jurta.org>
10260
10261 * subr.el (read-number): Doc fix about using it by interactive
10262 code letter `n'. (Bug#14254)
10263
10264 2013-04-27 Juri Linkov <juri@jurta.org>
10265
10266 * desktop.el (desktop-auto-save-timeout): New option.
10267 (desktop-file-checksum): New variable.
10268 (desktop-save): Add optional arg `auto-save' and don't auto-save
10269 if nothing changed.
10270 (desktop-auto-save-timer): New variable.
10271 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10272 (after-init-hook): Call `desktop-auto-save-set-timer'.
10273 Suggested by Reuben Thomas <rrt@sc3d.org> in
10274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10275
10276 2013-04-27 Leo Liu <sdl.web@gmail.com>
10277
10278 * progmodes/octave.el (octave-function-file-p)
10279 (octave-skip-comment-forward, octave-function-file-comment)
10280 (octave-update-function-file-comment): New functions.
10281 (octave-mode-map): Bind C-c ; to
10282 octave-update-function-file-comment.
10283 (octave-mode-menu): Add octave-update-function-file-comment.
10284 (octave-mode, inferior-octave-mode): Fix doc-string.
10285 (octave-insert-defun): Conform to Octave's coding convention.
10286 (Bug#14285)
10287
10288 * files.el (basic-save-buffer): Don't let errors in
10289 before-save-hook prevent saving buffer.
10290
10291 2013-04-20 Roland Winkler <winkler@gnu.org>
10292
10293 * faces.el (read-face-name): Use completing-read if arg multiple
10294 is nil.
10295
10296 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10297
10298 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10299 displayed, move point to after the totals line.
10300 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10301 for the details.
10302
10303 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10306 Add current dir to the load-path.
10307 (package-generate-autoloads): Don't rely on
10308 autoload-ensure-default-file.
10309
10310 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10311
10312 * textmodes/remember.el (remember-store-in-files): Document that
10313 the file name format is passed to `format-time-string'.
10314
10315 2013-04-26 Leo Liu <sdl.web@gmail.com>
10316
10317 * progmodes/octave.el (octave-sync-function-file-names): New function.
10318 (octave-mode): Use it in before-save-hook.
10319
10320 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10323 (bug#14274).
10324
10325 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10326 \n and comment, even if it's not an implicit ; (bug#14218).
10327
10328 2013-04-26 Glenn Morris <rgm@gnu.org>
10329
10330 * subr.el (read-number): Once more use `read' rather than
10331 `string-to-number', to trap non-numeric input. (Bug#14254)
10332
10333 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10334
10335 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10336 Use `syntax-multiline' text property consistently instead of
10337 `font-lock-multiline'. (Bug#14237)
10338
10339 2013-04-26 Glenn Morris <rgm@gnu.org>
10340
10341 * emacs-lisp/shadow.el (list-load-path-shadows):
10342 No longer necessary to check for duplicate simple.el, since
10343 2012-07-07 change to init_lread to not include installation lisp
10344 directories in load-path when running uninstalled. (Bug#14270)
10345
10346 2013-04-26 Leo Liu <sdl.web@gmail.com>
10347
10348 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10349 (octave-mode, inferior-octave-mode): Use setq-local.
10350 (octave-not-in-string-or-comment-p): Rename to
10351 octave-in-string-or-comment-p.
10352 (octave-in-comment-p, octave-in-string-p)
10353 (octave-in-string-or-comment-p): Replace defsubst with defun.
10354
10355 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10356
10357 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10358
10359 2013-04-25 Bastien Guerry <bzg@gnu.org>
10360
10361 * textmodes/remember.el (remember-data-directory)
10362 (remember-directory-file-name-format): Fix custom types.
10363
10364 2013-04-25 Leo Liu <sdl.web@gmail.com>
10365
10366 * progmodes/octave.el (octave-completion-at-point-function):
10367 Make use of inferior octave process.
10368 (octave-initialize-completions): Remove.
10369 (inferior-octave-completion-table): New function.
10370 (inferior-octave-completion-at-point): Use it.
10371 (octave-completion-alist): Remove.
10372
10373 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10376 (opascal-mode-syntax-table): New var.
10377 (opascal-literal-kind, opascal-is-literal-end)
10378 (opascal-literal-token-at): Rewrite.
10379 (opascal--literal-start-re, opascal-font-lock-keywords)
10380 (opascal--syntax-propertize): New constants.
10381 (opascal-font-lock-defaults): Adjust.
10382 (opascal-mode): Use them. Set comment-<foo> variables as well.
10383 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10384 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10385 (delphi-other-face, opascal-other-face): Remove face variables.
10386 (opascal-save-state): Remove macro.
10387 (opascal-fontifying-progress-step): Remove constant.
10388 (opascal--ignore-changes): Remove var.
10389 (opascal-set-token-property, opascal-parse-next-literal)
10390 (opascal-is-stable-literal, opascal-complete-literal)
10391 (opascal-is-literal-start, opascal-face-of)
10392 (opascal-parse-region, opascal-parse-region-until-stable)
10393 (opascal-fontify-region, opascal-after-change)
10394 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10395 (opascal-debug-parse-region, opascal-debug-parse-window)
10396 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10397 (opascal-debug-fontify-buffer): Remove.
10398 (opascal-debug-mode-map): Adjust accordingly.
10399
10400 2013-04-25 Leo Liu <sdl.web@gmail.com>
10401
10402 Merge octave-mod.el and octave-inf.el into octave.el with some
10403 cleanups.
10404 * progmodes/octave.el: New file renamed from octave-mod.el.
10405 * progmodes/octave-inf.el: Merged into octave.el.
10406 * progmodes/octave-mod.el: Renamed to octave.el.
10407
10408 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10409
10410 * textmodes/reftex-vars.el
10411 (reftex-label-ignored-macros-and-environments): New defcustom.
10412
10413 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10414
10415 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10418 (smie-indent-keyword): Improve the check to ensure that the next
10419 comment is really on the same line.
10420 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10421
10422 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10423 semi-colons if the line is not otherwise empty (bug#14218).
10424
10425 2013-04-25 Glenn Morris <rgm@gnu.org>
10426
10427 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10428
10429 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * progmodes/opascal.el (opascal-set-token-property): Rename from
10432 opascal-set-text-properties and only set `token' (bug#14134).
10433 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10434 (opascal-literal-text-properties): Remove.
10435 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10436 Adjust callers.
10437
10438 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10439
10440 * textmodes/remember.el (remember-handler-functions): Add an
10441 option for a new handler `remember-store-in-files'.
10442 (remember-data-directory, remember-directory-file-name-format):
10443 New options.
10444 (remember-store-in-files): New function to store remember notes
10445 as separate files within a directory.
10446
10447 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10448
10449 * progmodes/compile.el (compilation-next-error-function):
10450 Pass "formats" to compilation-find-file (bug#11777).
10451
10452 2013-04-24 Glenn Morris <rgm@gnu.org>
10453
10454 * vc/vc-bzr.el (vc-bzr-print-log):
10455 * vc/vc-hg.el (vc-hg-print-log):
10456 * vc/vc-svn.el (vc-svn-print-log):
10457 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10458
10459 * vc/vc-bzr.el (vc-bzr-print-log):
10460 * vc/vc-cvs.el (vc-cvs-print-log):
10461 * vc/vc-git.el (vc-git-print-log):
10462 * vc/vc-hg.el (vc-hg-print-log):
10463 * vc/vc-mtn.el (vc-mtn-print-log):
10464 * vc/vc-rcs.el (vc-rcs-print-log):
10465 * vc/vc-sccs.el (vc-sccs-print-log):
10466 * vc/vc-svn.el (vc-svn-print-log):
10467 * vc/vc.el (vc-print-log-internal): Doc fixes.
10468
10469 2013-04-23 Glenn Morris <rgm@gnu.org>
10470
10471 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10472 Remove venerable code attempting to avoid substitute-command-keys.
10473
10474 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10475
10476 * textmodes/reftex-vars.el (reftex-label-regexps):
10477 Call `reftex-compile-variables' after changes to this variable.
10478
10479 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10482 Use lexical-binding.
10483 (jit-lock-force-redisplay): Use markers, check buffer's continued
10484 existence and beware narrowed buffers.
10485 (jit-lock-fontify-now): Adjust call accordingly.
10486
10487 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10490 to avoid misleading the user.
10491
10492 2013-04-22 Leo Liu <sdl.web@gmail.com>
10493
10494 * info-look.el: Prefer latex2e.info. (Bug#14240)
10495
10496 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10497
10498 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10499
10500 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10501 * net/tramp.el (tramp-call-process): ... here.
10502 (tramp-set-completion-function, tramp-parse-putty):
10503 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10504 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10505 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10506 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10507 (tramp-call-local-coding-command): Use `tramp-call-process'
10508 instead of `tramp-compat-call-process'.
10509
10510 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10511 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10512 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10513 (tramp-find-inline-compress): Improve traces.
10514 (tramp-maybe-send-script): Check for Perl binary.
10515 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10516
10517 2013-04-22 Daiki Ueno <ueno@gnu.org>
10518
10519 * epg.el (epg-context-pinentry-mode): New function.
10520 (epg-context-set-pinentry-mode): New function.
10521 (epg--start): Pass --pinentry-mode option to gpg command.
10522
10523 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10524
10525 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10526 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10527 `completion-at-point'. (Bug#13774)
10528
10529 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10530 default key binding for `describe-distribution' has been moved to
10531 `C-h C-o'. (Bug#13970)
10532
10533 2013-04-21 Glenn Morris <rgm@gnu.org>
10534
10535 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10536 Add doc strings.
10537 (vc-print-log): Clarify interactive prompt.
10538
10539 2013-04-20 Glenn Morris <rgm@gnu.org>
10540
10541 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10542 No longer include timestamp etc information.
10543
10544 2013-04-20 Roland Winkler <winkler@gnu.org>
10545
10546 * faces.el (read-face-name): Bug fix, return just one face if arg
10547 multiple is nil. (Bug#14209)
10548
10549 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10552 (remove-function): Autoload.
10553
10554 * comint.el (comint-redirect-original-filter-function): Remove.
10555 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10556 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10557 (vc-cvs-annotate-command):
10558 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10559 * progmodes/prolog.el (prolog-consult-compile):
10560 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10561 Use add/remove-function instead.
10562 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10563 (gud-tooltip-process-output, gud-tooltip-tips):
10564 Use add/remove-function instead.
10565 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10566 (scheme-interaction-mode, exit-scheme-interaction-mode):
10567 Use add/remove-function instead.
10568
10569 * vc/vc-dispatcher.el: Use lexical-binding.
10570 (vc--process-sentinel): Rename from vc-process-sentinel.
10571 Change last arg to be the code to run. Don't use vc-previous-sentinel
10572 and vc-sentinel-commands any more.
10573 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10574 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10575
10576 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10577
10578 * progmodes/sh-script.el (sh-imenu-generic-expression):
10579 Handle function names with a single character. (Bug#14111)
10580
10581 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10582
10583 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10584 for subroutines defined in an eval (bug#14182).
10585
10586 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10587
10588 * bookmark.el (bookmark-completing-read): Improve handling of empty
10589 string (bug#14176).
10590
10591 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10592
10593 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10594
10595 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10596
10597 New faster Imenu implementation (bug#14058).
10598 * progmodes/python.el:
10599 (python-imenu-prev-index-position):
10600 (python-imenu-format-item-label-function)
10601 (python-imenu-format-parent-item-label-function)
10602 (python-imenu-format-parent-item-jump-label-function):
10603 New vars.
10604 (python-imenu-format-item-label)
10605 (python-imenu-format-parent-item-label)
10606 (python-imenu-format-parent-item-jump-label)
10607 (python-imenu--put-parent, python-imenu--build-tree)
10608 (python-imenu-create-index, python-imenu-create-flat-index)
10609 (python-util-popn): New functions.
10610 (python-mode): Set imenu-create-index-function to
10611 python-imenu-create-index.
10612
10613 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * winner.el (winner-active-region): Use region-active-p, activate-mark
10616 and deactivate-mark (bug#14225).
10617
10618 * simple.el (deactivate-mark): Don't inline it.
10619
10620 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10621
10622 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10623
10624 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10625
10626 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10627 file extensions from the archive-mode entry in order to prefer
10628 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10629
10630 2013-04-18 Leo Liu <sdl.web@gmail.com>
10631
10632 * bindings.el (help-event-list): Add ?\?.
10633
10634 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * subr.el (with-wrapper-hook): Declare obsolete.
10637 * simple.el (filter-buffer-substring-function): New hook.
10638 (filter-buffer-substring): Use it.
10639 (filter-buffer-substring-functions): Mark obsolete.
10640 * minibuffer.el (completion-in-region-function): New hook.
10641 (completion-in-region): Use it.
10642 (completion-in-region-functions): Mark obsolete.
10643 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10644 * abbrev.el (abbrev-expand-function): New hook.
10645 (expand-abbrev): Use it.
10646 (abbrev-expand-functions): Mark obsolete.
10647 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10648 and :filter-return.
10649
10650 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10651
10652 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10653 and do not care about match data.
10654
10655 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10658 completion tables when completing error conditions and
10659 `declare' arguments.
10660 (lisp-complete-symbol, field-complete): Mark as obsolete.
10661 (check-parens): Unmatched parens are user errors.
10662 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10663
10664 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10665
10666 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10667 command changed buffer (ie. `flyspell-pre-buffer' is not current
10668 buffer), which prevents making decisions based on invalid value of
10669 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10670 cause an error when `flyspell-pre-point' was nil after switching
10671 buffers.
10672 (flyspell-post-command-hook): No longer needs to change buffers when
10673 checking pre-word. While at it remove unnecessary progn.
10674
10675 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10676
10677 * textmodes/ispell.el (ispell-add-per-file-word-list):
10678 Fix `flyspell-correct-word-before-point' error when accepting
10679 words and `coment-padding' is an integer by using
10680 `comment-normalize-vars' (Bug #14214).
10681
10682 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10683
10684 New defun movement commands.
10685 * progmodes/python.el (python-nav--syntactically)
10686 (python-nav--forward-defun, python-nav-backward-defun)
10687 (python-nav-forward-defun): New functions.
10688
10689 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10690
10691 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10692 (python-syntax-context): Use named compiler-macro for backwards
10693 compatibility with Emacs 24.x.
10694
10695 2013-04-17 Leo Liu <sdl.web@gmail.com>
10696
10697 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10698 octave-hide-process-buffer.
10699
10700 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10703 (bug#14216).
10704
10705 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10706
10707 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10708 Fix adjustment of offset when receiving incomplete responses from GDB
10709 (bug#14129).
10710
10711 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10714 python-mode-abbrev-table.
10715 (python-skeleton-define): Adjust accordingly.
10716 (python-mode-abbrev-table): New table that inherits from it so that
10717 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10718
10719 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10720 (abbrev-symbol): Use it.
10721 (abbrev--before-point): Use it since we already handle inheritance.
10722
10723 2013-04-16 Leo Liu <sdl.web@gmail.com>
10724
10725 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10726 binding to info-lookup-symbol.
10727
10728 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10729
10730 * minibuffer.el (completion--twq-all):
10731 * term/ns-win.el (ns-initialize-window-system):
10732 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10733
10734 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10737 global bindings.
10738
10739 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10740
10741 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10742
10743 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10744 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10745 to nil.
10746 (ruby-end-of-defun): Remove the unused arg, change the docstring
10747 to reflect that this function is only used as the value of
10748 `end-of-defun-function'.
10749 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10750 to reflect an earlier change that beginning/end-of-defun functions
10751 jump between methods in a class definition, as well as top-level
10752 functions.
10753
10754 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * minibuffer.el (minibuffer-complete): Don't just scroll
10757 a *Completions* that's been iconified.
10758 (minibuffer-force-complete): Make sure repetitions do cycle when going
10759 through completion-in-region -> minibuffer-complete.
10760
10761 2013-04-15 Alan Mackenzie <acm@muc.de>
10762
10763 Correct the placement of c-cpp-delimiters when there're #s not at
10764 col 0.
10765
10766 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10767 place a submatch around the #.
10768 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10769 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10770 on the #, not BOL.
10771
10772 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10775 (advice--member-p): New arg `name'.
10776 (advice--add-function, advice-member-p): Use it (bug#14202).
10777
10778 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10779
10780 Reformulate java imenu-generic-expression.
10781 The old expression contained ill formed regexps.
10782
10783 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10784 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10785 (cc-imenu-java-method-arg-regexp): New defconsts.
10786 (cc-imenu-java-build-type-args-regex): New defun.
10787 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10788 handling of spaces in the regexp.
10789
10790 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10791
10792 * textmodes/ispell.el (ispell-command-loop): Remove
10793 flyspell highlight of a word when ispell accepts it (bug #14178).
10794
10795 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10796
10797 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10798 uses code from the previous `ange-ftp-run-real-handler'.
10799 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10800 only in case that function exist. This is needed for proper
10801 unloading of Tramp.
10802
10803 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10804
10805 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10806
10807 * textmodes/reftex.el (reftex-compile-variables): Use it.
10808
10809 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * files.el (normal-mode): Only use default major-mode if no other mode
10812 was specified.
10813
10814 * emacs-lisp/trace.el (trace-values): New function.
10815
10816 * files.el: Allow : in local variables (bug#14089).
10817 (hack-local-variable-regexp): New var.
10818 (hack-local-variables-prop-line, hack-local-variables): Use it.
10819
10820 2013-04-13 Roland Winkler <winkler@gnu.org>
10821
10822 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10823 data before it gets modified by bibtex-beginning-of-entry.
10824
10825 2013-04-13 Roland Winkler <winkler@gnu.org>
10826
10827 * textmodes/bibtex.el (bibtex-url): Doc fix.
10828
10829 2013-04-13 Roland Winkler <winkler@gnu.org>
10830
10831 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10832 does not visit a BibTeX file, exclude it from the list of buffers
10833 returned by bibtex-initialize.
10834
10835 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10836
10837 * window.el (split-window): Remove interactive form, since as a
10838 command this function is a special case of split-window-below.
10839 Correct doc string.
10840
10841 2013-04-12 Roland Winkler <winkler@gnu.org>
10842
10843 * faces.el (read-face-name): Do not override value of arg default.
10844 Allow single faces and strings as default values. Remove those
10845 elements from return value that are not faces.
10846 (describe-face): Simplify.
10847 (face-at-point): New optional args thing and multiple so that this
10848 function can provide the same functionality previously provided by
10849 read-face-name.
10850 (make-face-bold, make-face-unbold, make-face-italic)
10851 (make-face-unitalic, make-face-bold-italic, invert-face)
10852 (modify-face, read-face-and-attribute): Use face-at-point.
10853
10854 * cus-edit.el (customize-face, customize-face-other-window)
10855 * cus-theme.el (custom-theme-add-face)
10856 * face-remap.el (buffer-face-set)
10857 * facemenu.el (facemenu-set-face): Use face-at-point.
10858
10859 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10860
10861 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10862
10863 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10864
10865 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10866 off leading { and trailing } from field values.
10867
10868 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * emacs-lisp/timer.el (timer--check): New function.
10871 (timer--time, timer-set-function, timer-event-handler): Use it.
10872 (timer-set-idle-time): Simplify.
10873 (timer--activate): CSE.
10874 (timer-event-handler): Give more info in error message.
10875 (internal-timer-start-idle): New function, moved from C.
10876
10877 * mpc.el (mpc-proc): Add `restart' argument.
10878 (mpc-proc-cmd): Use it.
10879 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10880 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10881 less often.
10882
10883 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10884
10885 * progmodes/sh-script.el: Implement `sh-mode' own
10886 `add-log-current-defun-function' (bug#14112).
10887 (sh-current-defun-name): New function.
10888 (sh-mode): Use the function.
10889
10890 2013-04-09 Bastien Guerry <bzg@gnu.org>
10891
10892 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10893
10894 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10897
10898 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10899 timer (bug#14156).
10900
10901 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10902
10903 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10904 declaration.
10905
10906 2013-04-07 Leo Liu <sdl.web@gmail.com>
10907
10908 * pcmpl-x.el: New file.
10909
10910 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10911
10912 Do not set x-display-name until X connection is established.
10913 This is needed to prevent from weird situation described at
10914 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10915 * frame.el (make-frame): Set x-display-name after call to
10916 window system initialization function, not before.
10917 * term/x-win.el (x-initialize-window-system): Add optional
10918 display argument and use it.
10919 * term/w32-win.el (w32-initialize-window-system):
10920 * term/ns-win.el (ns-initialize-window-system):
10921 * term/pc-win.el (msdos-initialize-window-system):
10922 Add compatible optional display argument.
10923
10924 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10925
10926 * files.el (normal-backup-enable-predicate): On MS-Windows and
10927 MS-DOS compare truenames of temporary-file-directory and of the
10928 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10929 don't fail comparison by compare-strings. Also, compare file
10930 names case-insensitively on MS-Windows and MS-DOS.
10931
10932 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10935 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10936
10937 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10938
10939 * whitespace.el (whitespace-color-on, whitespace-color-off):
10940 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10941
10942 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10943
10944 * ispell.el (ispell-set-spellchecker-params):
10945 Really set `ispell-args' for all equivs.
10946
10947 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * ido.el (ido-completions): Use extra elements of ido-decorations
10950 (bug#14143).
10951 (ido-decorations): Update docstring.
10952
10953 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10954
10955 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10956 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10957 nil during initialization, in order not to miss changes since the
10958 file was opened. (Bug#14140)
10959
10960 2013-04-05 Leo Liu <sdl.web@gmail.com>
10961
10962 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10963
10964 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10965
10966 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10967
10968 2013-04-04 Glenn Morris <rgm@gnu.org>
10969
10970 * electric.el (electric-pair-inhibit-predicate): Add :version.
10971
10972 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10975 when a package is required several times (bug#14082).
10976
10977 2013-04-04 Roland Winkler <winkler@gnu.org>
10978
10979 * faces.el (read-face-name): Behave as promised by the docstring.
10980 Assume that arg default is a list of faces.
10981 (describe-face): Call read-face-name with list of default faces.
10982
10983 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10984
10985 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10986 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10987 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10988 the header.
10989 (bookmark-exit-hook-internal): Save even if list is empty.
10990
10991 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10992
10993 * emacs-lisp/package.el (package-pinned-packages): New var.
10994 (package--add-to-archive-contents): Obey it (bug#14118).
10995
10996 2013-04-03 Alan Mackenzie <acm@muc.de>
10997
10998 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10999 Also adapt to the new values of element 7 of a parse state.
11000
11001 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11002 parameter `not-in-delimiter'. Handle being inside comment opener.
11003 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11004 character in case we're typing a '*' after a '/'.
11005 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11006 instead by passing the parameter to c-state-pp-to-literal.
11007
11008 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11009 for elt. 7 of a parse state.
11010
11011 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11012
11013 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11014 * international/latin1-disp.el, international/mule-util.el:
11015 * language/cyril-util.el, language/european.el, language/ind-util.el:
11016 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11017 * language/tibetan.el, language/viet-util.el:
11018 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11019
11020 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11023 (electric-pair-post-self-insert-function): Use it.
11024 (electric-pair-default-inhibit): New function, extracted from
11025 electric-pair-post-self-insert-function.
11026
11027 2013-03-31 Roland Winkler <winkler@gnu.org>
11028
11029 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11030
11031 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11034
11035 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11036
11037 Un-indent after "pass" and "return" statements (Bug#13888)
11038 * progmodes/python.el (python-indent-block-enders): New var.
11039 (python-indent-calculate-indentation): Use it.
11040
11041 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11042
11043 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11044 defun. Defining it as defalias could introduce too eager
11045 byte-compiler optimization. (Bug#14030)
11046
11047 2013-03-30 Chong Yidong <cyd@gnu.org>
11048
11049 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11050
11051 2013-03-30 Leo Liu <sdl.web@gmail.com>
11052
11053 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11054 (kmacro-execute-from-register): Pass the keyboard macro to
11055 kmacro-call-macro or repeating won't work correctly.
11056
11057 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11058
11059 * progmodes/subword.el: Back to using `forward-symbol'.
11060
11061 * subr.el (forward-whitespace, forward-symbol)
11062 (forward-same-syntax): Move from thingatpt.el.
11063
11064 2013-03-29 Leo Liu <sdl.web@gmail.com>
11065
11066 * kmacro.el (kmacro-to-register): New command.
11067 (kmacro-execute-from-register): New function.
11068 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11069
11070 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * mpc.el: Use defvar-local and setq-local.
11073 (mpc--proc-connect): Connection failures are not bugs.
11074 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11075 (mpc-volume-map): Bind to the up-events.
11076
11077 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11078
11079 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11080 instead of `forward-symbol'.
11081
11082 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11083
11084 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11085 (edebug--recursive-edit): Use it.
11086 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11087 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11088
11089 2013-03-28 Leo Liu <sdl.web@gmail.com>
11090
11091 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11092
11093 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11094
11095 * facemenu.el (list-colors-callback): New defvar.
11096 (list-colors-redisplay): New function.
11097 (list-colors-display): Install list-colors-redisplay as the
11098 revert-buffer-function. (Bug#14063)
11099
11100 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11103 and suffixes don't overlap (bug#14061).
11104
11105 * case-table.el: Use lexical-binding.
11106 (case-table-get-table): New function.
11107 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11108
11109 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11110
11111 * progmodes/subword.el: Add `superword-mode' to do word motion
11112 over symbol_words (parallels and leverages `subword-mode' which
11113 does word motion inside MixedCaseWords).
11114
11115 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11116
11117 * eshell/em-unix.el: Move su and sudo to...
11118 * eshell/em-tramp.el: ...Eshell tramp module.
11119
11120 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11123 Change return value to be a sexp. Delay `get-buffer' to after
11124 restoring the desktop (bug#13951).
11125
11126 2013-03-26 Leo Liu <sdl.web@gmail.com>
11127
11128 * register.el: Move semantic tag handling back to
11129 cedet/semantic/senator.el. (Bug#14052)
11130
11131 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11134 into the prompt either (bug#13963).
11135
11136 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11139 part of "(error-foo)".
11140
11141 2013-03-24 Juri Linkov <juri@jurta.org>
11142
11143 * replace.el (list-matching-lines-prefix-face): New defcustom.
11144 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11145 `occur-engine' if `face-differs-from-default-p' returns t.
11146 (occur-engine): Add `,' inside backquote construct to evaluate
11147 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11148 Pass `prefix-face' to the functions `occur-context-lines' and
11149 `occur-engine-add-prefix'.
11150 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11151 `prefix-face' and propertize the prefix with `prefix-face'.
11152 (Bug#14017)
11153
11154 2013-03-24 Leo Liu <sdl.web@gmail.com>
11155
11156 * nxml/rng-valid.el (rng-validate-while-idle)
11157 (rng-validate-quick-while-idle): Guard against deleted buffer.
11158 (Bug#13999)
11159
11160 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11161 is the last entry in kill-buffer-hook.
11162
11163 * files.el (kill-buffer-hook): Doc fix.
11164
11165 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11166
11167 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11168 Make it safe-local.
11169
11170 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11171
11172 2013-03-23 Leo Liu <sdl.web@gmail.com>
11173
11174 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11175 Remove.
11176
11177 * nxml/rng-valid.el (rng-validate-mode)
11178 (rng-after-change-function, rng-do-some-validation):
11179 * nxml/rng-maint.el (rng-validate-buffer):
11180 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11181 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11182 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11183 (nxml-extend-after-change-region): Use with-silent-modifications.
11184
11185 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11186 timer-idle-list.
11187
11188 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11189 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11190 timer-idle-list. (Bug#13999)
11191
11192 2013-03-23 Juri Linkov <juri@jurta.org>
11193
11194 * info.el (info-index-match): New face.
11195 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11196 main pattern and add text properties with the new face to matches
11197 in index entries relative to the beginning of the index entry.
11198 (Bug#14015)
11199
11200 2013-03-21 Eric Ludlam <zappo@gnu.org>
11201
11202 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11203 Inhibit read only while inserting objects.
11204
11205 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11206
11207 * progmodes/cfengine.el: Update docs to mention
11208 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11209 symbol motion. Remove "_" from the word syntax.
11210
11211 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11212
11213 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11214 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11215
11216 2013-03-20 Juri Linkov <juri@jurta.org>
11217
11218 * info.el (Info-next-reference-or-link)
11219 (Info-prev-reference-or-link): New functions.
11220 (Info-next-reference, Info-prev-reference): Use them.
11221 (Info-try-follow-nearest-node): Handle footnote navigation.
11222 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11223
11224 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11227 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11228
11229 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11230
11231 Suppress unnecessary non-ASCII chatter during build process.
11232 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11233 (batch-skkdic-convert): Suppress most of the chatter.
11234 It's not needed so much now that machines are faster,
11235 and its non-ASCII component was confusing; see Dmitry Gutov in
11236 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11237
11238 2013-03-20 Leo Liu <sdl.web@gmail.com>
11239
11240 * ido.el (ido-chop): Fix bug#10994.
11241
11242 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11243
11244 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11245 Remove vars.
11246 (whitespace-color-on, whitespace-color-off):
11247 Use `font-lock-fontify-buffer' (Bug#13817).
11248
11249 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11252 remapping in mode-line.
11253 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11254
11255 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11256
11257 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11258 value for `whitespace-line' face (Bug#13875).
11259 (whitespace-font-lock-keywords): Change description.
11260 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11261 the constructed keywords instead.
11262 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11263
11264 2013-03-19 Leo Liu <sdl.web@gmail.com>
11265
11266 * progmodes/compile.el (compilation-display-error): New command.
11267 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11268 C-o. (Bug#13992)
11269
11270 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11271
11272 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11273
11274 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11275
11276 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11277
11278 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11279
11280 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11281
11282 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11283 * net/tramp-gvfs.el (top):
11284 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11285 (tramp-handle-shell-command): Use it.
11286 (tramp-dissect-file-name): Raise an error when hostname is a
11287 method name, and neither method nor user is specified.
11288
11289 * net/trampver.el: Update release number.
11290
11291 2013-03-18 Leo Liu <sdl.web@gmail.com>
11292
11293 Make sure eldoc can be turned off properly.
11294 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11295 eldoc-mode.
11296 (eldoc-display-message-p): Revert last change.
11297 (eldoc-display-message-no-interference-p)
11298 (eldoc-print-current-symbol-info): Tweak.
11299
11300 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11301
11302 * doc-view.el (doc-view-new-window-function): Check the new window
11303 overlay's display property instead the char property of the
11304 buffer's first char. Use `with-selected-window' instead of
11305 `save-window-excursion' with `select-window'.
11306 (doc-view-document->bitmap): Check the current doc-view overlay's
11307 display property instead the char property of the buffer's first char.
11308
11309 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11310
11311 Automate the build of ja-dic.el (Bug#13984).
11312 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11313 from the input, rather than assume that it's been done for us by the
11314 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11315 the current date into a ja-dic.el comment, as that complicates
11316 regression testing.
11317
11318 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * whitespace.el: Fix double evaluation.
11321 (whitespace-space, whitespace-hspace, whitespace-tab)
11322 (whitespace-newline, whitespace-trailing, whitespace-line)
11323 (whitespace-space-before-tab, whitespace-indentation)
11324 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11325 obsolete defvars.
11326 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11327 (whitespace-color-on): Use a single font-lock-add-keywords call.
11328 Fix double-evaluation of face variables.
11329
11330 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11331
11332 * net/tramp-adb.el (tramp-adb-parse-device-names):
11333 Use `start-process' instead of `call-process'. Otherwise, the
11334 function might be blocked under MS Windows. (Bug#13299)
11335
11336 2013-03-17 Leo Liu <sdl.web@gmail.com>
11337
11338 Extend eldoc to display info in the mode-line. (Bug#13978)
11339 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11340 (eldoc-mode-line-string): New variable.
11341 (eldoc-minibuffer-message): New function.
11342 (eldoc-message-function): New variable.
11343 (eldoc-message): Use it.
11344 (eldoc-display-message-p)
11345 (eldoc-display-message-no-interference-p):
11346 Support eldoc-post-insert-mode.
11347
11348 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11349 (eval-expression): Run it.
11350
11351 2013-03-17 Roland Winkler <winkler@gnu.org>
11352
11353 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11354 strings in the list of return values.
11355
11356 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11357
11358 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11359 radix before checking for HMS forms.
11360
11361 2013-03-16 Leo Liu <sdl.web@gmail.com>
11362
11363 * progmodes/scheme.el: Add indentation and font-locking for λ.
11364 (Bug#13975)
11365
11366 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11369 token before point (bug#13942).
11370
11371 2013-03-16 Leo Liu <sdl.web@gmail.com>
11372
11373 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11374
11375 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11376
11377 * startup.el (command-line-normalize-file-name): Fix handling of
11378 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11379 <xfq.free@gmail.com> in
11380 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11381
11382 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11383
11384 Sync with Tramp 2.2.7.
11385
11386 * net/trampver.el: Update release number.
11387
11388 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11389
11390 * doc-view.el: Fix bug#13887.
11391 (doc-view-insert-image): Don't modify overlay associated to
11392 non-live windows, and implement horizontal centering of image in
11393 case it's smaller than the window.
11394 (doc-view-new-window-function): Force redisplay of new windows on
11395 doc-view buffers.
11396
11397 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11398
11399 * saveplace.el (save-place-alist-to-file): Don't sort
11400 `save-place-alist', just pretty-print it (bug#13882).
11401
11402 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11403
11404 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11405 Check whether `default-file-name-coding-system' is bound.
11406 It isn't in XEmacs.
11407
11408 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11411 backquotes for `obsolete' (bug#13929).
11412
11413 * international/mule.el (find-auto-coding): Include file name in
11414 obsolescence warning (bug#13922).
11415
11416 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11417
11418 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11419 for CFEngine 3-specific indentation.
11420 (cfengine3-indent-line): Use it. Fix up category regex.
11421 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11422
11423 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * type-break.el (type-break-file-name):
11426 * textmodes/remember.el (remember-data-file):
11427 * strokes.el (strokes-file):
11428 * shadowfile.el (shadow-initialize):
11429 * saveplace.el (save-place-file):
11430 * ps-bdf.el (bdf-cache-file):
11431 * progmodes/idlwave.el (idlwave-config-directory):
11432 * net/quickurl.el (quickurl-url-file):
11433 * international/kkc.el (kkc-init-file-name):
11434 * ido.el (ido-save-directory-list-file):
11435 * emulation/viper.el (viper-custom-file-name):
11436 * emulation/vip.el (vip-startup-file):
11437 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11438 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11439
11440 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11441
11442 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11443 * language/thai-word.el: Switch to UTF-8.
11444
11445 See ChangeLog.16 for earlier changes.
11446
11447 ;; Local Variables:
11448 ;; coding: utf-8
11449 ;; End:
11450
11451 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11452
11453 This file is part of GNU Emacs.
11454
11455 GNU Emacs is free software: you can redistribute it and/or modify
11456 it under the terms of the GNU General Public License as published by
11457 the Free Software Foundation, either version 3 of the License, or
11458 (at your option) any later version.
11459
11460 GNU Emacs is distributed in the hope that it will be useful,
11461 but WITHOUT ANY WARRANTY; without even the implied warranty of
11462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11463 GNU General Public License for more details.
11464
11465 You should have received a copy of the GNU General Public License
11466 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.