]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
lisp/calc/calc.el (calc-enter, calc-pop): Use the variable
[gnu-emacs] / lisp / ChangeLog
1 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc.el (calc-enter, calc-pop): Use the variable
4 `calc-context-sensitive-enter'.
5
6 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7
8 * net/shr.el (shr-insert): Protect against infloops in degenerate
9 tables.
10
11 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12
13 * progmodes/octave.el (octave): Add link to manual and octave
14 homepage.
15 (octave-mode-menu): Link to octave-mode manual.
16
17 2013-12-20 Leo Liu <sdl.web@gmail.com>
18
19 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
20 insertion using skeleton-end-newline. (Bug#16138)
21
22 2013-12-20 Juri Linkov <juri@jurta.org>
23
24 * replace.el (occur-engine): Use `add-face-text-property'
25 to add the face property to matches and titles. (Bug#14645)
26
27 * hi-lock.el (hi-green): Use lighter color "light green" closer to
28 the palette of other hi-lock colors.
29 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
30
31 2013-12-19 Juri Linkov <juri@jurta.org>
32
33 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
34 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
35 (minibuffer-history-symbol): Move variable declaration closer to
36 its usage.
37
38 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
39 (Bug#14785)
40
41 2013-12-19 Juri Linkov <juri@jurta.org>
42
43 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
44 New function.
45 (log-edit-hook): Add it to :options. (Bug#16170)
46
47 2013-12-19 Juri Linkov <juri@jurta.org>
48
49 * simple.el (eval-expression-print-format): Don't check for
50 command names and the last command. Always display additional
51 formats of the integer result in the echo area, and insert them
52 to the current buffer only with a zero prefix arg.
53 Display character when char-displayable-p is non-nil.
54 (eval-expression): With a zero prefix arg, set `print-length' and
55 `print-level' to nil, and insert the integer values from
56 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
57
58 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
59 `eval-last-sexp-arg-internal'. Doc fix.
60 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
61 `eval-last-sexp-print-value'. Doc fix.
62 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
63 Set `print-length' and `print-level' to nil when arg is zero.
64 (eval-last-sexp): Doc fix.
65 (eval-defun-2): Print the integer values from
66 `eval-expression-print-format' at the end.
67
68 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
69 values from `eval-expression-print-format' at the end.
70
71 * ielm.el (ielm-eval-input): Print the integer
72 values from `eval-expression-print-format' at the end.
73
74 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
75
76 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
77 2013-12-11T19:01:44Z!tzz@lifelogs.com.
78
79 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
82 (hl-line-highlight, global-hl-line-highlight): Use it.
83 (hl-line-overlay): Use defvar-local.
84
85 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
86
87 * term/ns-win.el: Require dnd.
88 (global-map): Remove drag items.
89 (ns-insert-text, ns-set-foreground-at-mouse)
90 (ns-set-background-at-mouse):
91 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
92 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
93 New functions.
94
95 2013-12-19 Glenn Morris <rgm@gnu.org>
96
97 * emacs-lisp/ert.el (ert-select-tests):
98 Fix string/symbol mixup. (Bug#16121)
99
100 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
101
102 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
103 keywords to their parent.
104
105 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
106
107 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
108 first arg to be a string (fixed dead code), or an operator symbol.
109 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
110 operator symbols.
111 (ruby-smie-rules): Remove parent token check in the `.' clause, it
112 did nothing. Don't respond to `(:after ".")', it will be called
113 with :before anyway. Remove the ` @ ' rule, it didn't seem to
114 change anything. Only return indentation for binary operators
115 when they are hanging. De-dent opening paren when its parent is
116 `.', otherwise it looks bad when the dot is not at bol or eol
117 (bug#16182).
118
119 2013-12-19 Juri Linkov <juri@jurta.org>
120
121 * replace.el (query-replace-read-args): Split a non-negative arg
122 and a negative arg into separate elements.
123 (query-replace, query-replace-regexp, replace-string)
124 (replace-regexp): Add arg `backward'. Doc fix.
125 (replace-match-maybe-edit): When new arg `backward' is non-nil,
126 move point to the beginning of the match.
127 (replace-search, replace-highlight): Use new arg `backward'
128 to set the value of `isearch-forward'.
129 (perform-replace): Add arg `backward' and use it to perform
130 replacement backward. (Bug#14979)
131
132 * isearch.el (isearch-query-replace): Use a negative prefix arg
133 to call `perform-replace' with a non-nil arg `backward'.
134
135 2013-12-18 Juri Linkov <juri@jurta.org>
136
137 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
138 to the default list. Move `log-edit-show-files' to the end.
139 Add more available functions to options.
140 (log-edit): Move default specific settings to
141 `log-edit-insert-message-template'. Don't move point.
142 (log-edit-insert-message-template): New function.
143 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
144 (Bug#16170)
145
146 2013-12-18 Juri Linkov <juri@jurta.org>
147
148 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
149 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
150
151 2013-12-18 Leo Liu <sdl.web@gmail.com>
152
153 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
154
155 2013-12-18 Eli Zaretskii <eliz@gnu.org>
156
157 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
158 formats for displaying file sizes when the -s switch is given.
159 Instead, compute a separate format for displaying the size in
160 blocks, which is displayed in addition to the "regular" size.
161 When -h is given in addition to -s, produce size in blocks in
162 human-readable form as well. (Bug#16179)
163
164 2013-12-18 Tassilo Horn <tsdh@gnu.org>
165
166 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
167 Reference tables with ~\ref{...} instead of only \ref{...}.
168
169 2013-12-18 Chong Yidong <cyd@gnu.org>
170
171 * cus-edit.el (custom-magic-alist): Fix "themed" description
172 (Bug#14348).
173
174 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
175 is non-nil, do not create a new entry in the symbol's theme-value
176 or theme-face property; update theme-settings only (Bug#14664).
177 (custom-available-themes): Doc fix.
178
179 * cus-theme.el (custom-new-theme-mode-map): Add bindings
180 (Bug#15674).
181
182 * replace.el (occur-engine): Avoid infloop (Bug#7593).
183
184 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
185
186 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
187 (Bug#13914).
188
189 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
190
191 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
192
193 2013-12-18 Glenn Morris <rgm@gnu.org>
194
195 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
196 * cus-start.el (load-prefer-newer): New option.
197
198 2013-12-18 Le Wang <l26wang@gmail.com>
199
200 * comint.el (comint-previous-matching-input-from-input):
201 Retain point (Bug#13404).
202
203 2013-12-18 Chong Yidong <cyd@gnu.org>
204
205 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
206
207 2013-12-18 Glenn Morris <rgm@gnu.org>
208
209 * mail/emacsbug.el (report-emacs-bug):
210 Only mention enable-multibyte-characters if non-standard.
211
212 2013-12-17 Juri Linkov <juri@jurta.org>
213
214 * arc-mode.el (archive-extract-by-file): Check if directory exists
215 before deletion to not show irrelevant errors if it doesn't exist.
216
217 2013-12-17 Juri Linkov <juri@jurta.org>
218
219 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
220 (Bug#14751)
221
222 * net/eww.el (browse-web): Add alias to `eww'.
223 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
224 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
225
226 * net/browse-url.el (browse-url-browser-function): Move `eww'
227 closer to similar functions.
228
229 * startup.el (fancy-startup-screen, fancy-about-screen):
230 Set browse-url-browser-function to eww-browse-url locally.
231 (Bug#14751)
232
233 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * window.el (window--pixel-to-total): Remove unused `mini' var.
236 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
237 (split-window): Remove unused `new' var.
238 (window--display-buffer): Remove unused `frame' and `delta' vars.
239 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
240 and display-width'.
241
242 2013-12-17 Martin Rudalics <rudalics@gmx.at>
243
244 * dired.el (dired-mark-pop-up):
245 * register.el (register-preview): Don't bind
246 split-height-threshold here since it's now done in
247 display-buffer-below-selected.
248
249 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
250
251 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
252 xterm-rgb-convert-to-16bit.
253 (rxvt-register-default-colors): Standardize with
254 xterm-register-default-colors (Bug#14078).
255
256 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
257
258 * simple.el (kill-region): Pass mark first, then point, so that
259 kill-append works right (Bug#12819).
260 (copy-region-as-kill, kill-ring-save): Likewise.
261
262 2013-12-17 Leo Liu <sdl.web@gmail.com>
263
264 * net/rcirc.el (rcirc-add-face):
265 * eshell/em-prompt.el (eshell-emit-prompt):
266 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
267 (Bug#16167)
268
269 2013-12-17 Chong Yidong <cyd@gnu.org>
270
271 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
272 Suggested by Xue Fuqiao.
273
274 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
275
276 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
277
278 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * net/shr.el (shr-insert-document): Remove unused var
281 `shr-preliminary-table-render'.
282 (shr-rescale-image): Remove unused arg `force'.
283 (shr-put-image): Update calls accordingly.
284 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
285
286 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
287
288 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
289 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
290 :close-all, to see which indentation method to use (Bug#16116).
291 (smie-rules-function): Document the method :close-all.
292
293 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
294
295 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
296
297 * net/eww.el (eww-display-html): If we can't find the anchor we're
298 looking for, then go to point-min.
299
300 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
301
302 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
303 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
304 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
305 Expand dir too, in case it's relative.
306
307 2013-12-16 Juri Linkov <juri@jurta.org>
308
309 * desktop.el (desktop-auto-save-timeout): Change default to
310 `auto-save-timeout'. Doc fix.
311 (desktop-save): Skip the timestamp in desktop-saved-frameset
312 when checking for auto-save changes.
313 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
314 `desktop-auto-save' is called repeatedly by the idle timer.
315 (desktop-auto-save-set-timer): Replace `run-with-timer' with
316 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
317 (Bug#15331)
318
319 2013-12-16 Juri Linkov <juri@jurta.org>
320
321 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
322 (Bug#16035)
323 (isearch-pre-command-hook): Check `this-command' for symbolp.
324
325 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
328
329 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
330
331 * progmodes/cfengine.el (cfengine3--current-word): Remove.
332 (cfengine3--current-function): Bring in the current-function
333 functionality from `cfengine3--current-word'.
334 (cfengine3-completion-function): Bring in the
335 bounds-of-current-word functionality from
336 `cfengine3--current-word'.
337
338 2013-12-16 Martin Rudalics <rudalics@gmx.at>
339
340 * window.el (display-buffer-below-selected):
341 Bind split-height-threshold to 0 as suggested by Juri Linkov.
342
343 2013-12-16 Leo Liu <sdl.web@gmail.com>
344
345 * progmodes/compile.el (compile-goto-error): Do not push-mark.
346 Remove NOMSG arg and all uses changed.
347
348 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
351 (cua--deactivate-rectangle): Don't deactivate the mark.
352 (cua-set-rectangle-mark): Don't set mark-active since
353 cua--activate-rectangle already does it for us.
354 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
355 non-rectangular region.
356
357 * emulation/cua-base.el (cua-repeat-replace-region):
358 Use with-current-buffer.
359
360 * net/gnutls.el: Use cl-lib.
361 (gnutls-negotiate): `mapcan' -> cl-mapcan.
362
363 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
364
365 * emacs-lisp/package.el (package-built-in-p): Support both
366 built-in and the package.el converted package descriptions.
367 (package-show-package-list): Allow keywords.
368 (package-keyword-button-action): Use it instead of
369 `finder-list-matches'.
370 (package-menu-filter-interactive): Interactive filtering (by
371 keyword) function.
372 (package-menu--generate): Support keywords and change keymappings
373 and headers when they are given.
374 (package--has-keyword-p): Helper function.
375 (package-menu--refresh): Use it.
376 (package--mapc): Helper function.
377 (package-all-keywords): Use it.
378 (package-menu-mode-map): Set up menu items and keybindings to
379 provide a filtering UI.
380
381 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
382
383 * net/gnutls.el (gnutls-verify-error): New defcustom to control
384 the behavior when a certificate fails validation. Defaults to
385 old behavior: never abort, just warn.
386 (gnutls-negotiate): Use it.
387
388 2013-12-14 Martin Rudalics <rudalics@gmx.at>
389
390 * window.el (display-buffer-below-selected): Never split window
391 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
392
393 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
394
395 * emacs-lisp/package.el (package--prepare-dependencies): New function.
396 (package-buffer-info): Use it (bug#15108).
397
398 * icomplete.el (icomplete-completions): Make sure the prefix is already
399 displayed elsewhere before hiding it.
400
401 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
402
403 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
404 open-paren tokens when preceded by a open-paren, too.
405 (ruby-smie-rules): Handle virtual indentation after open-paren
406 tokens specially. If there is code between it and eol, return the
407 column where is starts (Bug#16118).
408
409 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
410
411 * progmodes/cfengine.el: Fix `add-hook' doc.
412 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
413 (cfengine3--current-word): Fix parameters.
414 (cfengine3-make-syntax-cache): Simplify further.
415 (cfengine3-completion-function, cfengine3--current-function):
416 Use `assq' for symbols.
417 (cfengine3--current-function): Fix `cfengine3--current-word' call.
418
419 2013-12-13 Glenn Morris <rgm@gnu.org>
420
421 * loadup.el (load-path): Warn if site-load or site-init changes it.
422 No more need to reset it when bootstrapping.
423
424 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
425
426 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
427 locations for cf-promises.
428 (cfengine-mode-syntax-functions-regex): New caching variable.
429 (cfengine3-fallback-syntax): Fallback syntax for cases where
430 cf-promises doesn't run.
431 (cfengine3--current-word): Reimplement using
432 `cfengine-mode-syntax-functions-regex'.
433 (cfengine3-completion-function, cfengine3--current-function):
434 Use `cfengine3-make-syntax-cache' directly.
435 (cfengine3-clear-syntax-cache): New function.
436 (cfengine3-make-syntax-cache): Simplify and create
437 `cfengine-mode-syntax-functions-regex' on demand.
438 (cfengine3-format-function-docstring): Don't call
439 `cfengine3-make-syntax-cache' explicitly.
440
441 2013-12-13 Martin Rudalics <rudalics@gmx.at>
442
443 Fix windmove-find-other-window broken after pixelwise resizing
444 (Bug#16017).
445 * windmove.el (windmove-other-window-loc): Revert change from
446 2013-12-04.
447 (windmove-find-other-window): Call window-in-direction.
448 * window.el (window-in-direction): New arguments SIGN, WRAP and
449 MINI to emulate original windmove-find-other-window behavior.
450
451 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
452
453 * simple.el (blink-matching--overlay): New variable.
454 (blink-matching-open): Instead of moving point, highlight the
455 matching paren with an overlay
456 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
457
458 * faces.el (paren-showing-faces, show-paren-match)
459 (show-paren-mismatch): Move from paren.el.
460
461 2013-12-13 Leo Liu <sdl.web@gmail.com>
462
463 * indent.el (indent-region): Disable progress reporter in
464 minibuffer. (Bug#16108)
465
466 * bindings.el (visual-order-cursor-movement): Fix version.
467
468 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
469
470 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
471 Also match after beginning of line.
472 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
473 files. Thanks to Russell Sim. (Bug#15378)
474
475 2013-12-13 Juri Linkov <juri@jurta.org>
476
477 * simple.el <Keypad support>: Remove key bindings duplicated
478 with bindings.el. (Bug#14397)
479
480 2013-12-13 Juri Linkov <juri@jurta.org>
481
482 * comint.el (comint-mode-map): Replace `delete-char' with
483 `delete-forward-char'. (Bug#16109)
484
485 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
486
487 * progmodes/python.el (python-indent-calculate-indentation):
488 Fix de-denters cornercase. (Bug#15731)
489
490 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
493 (advice--make): Pay attention to `depth'.
494 (advice--make-1): Don't autoload commands eagerly.
495 * emacs-lisp/elp.el (elp-instrument-function):
496 * emacs-lisp/trace.el (trace-function-internal):
497 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
498
499 * iswitchb.el (iswitchb-mode): Don't belittle ido.
500
501 2013-12-12 Eli Zaretskii <eliz@gnu.org>
502
503 * term/w32-win.el (w32-handle-dropped-file):
504 * startup.el (normal-top-level):
505 * net/browse-url.el (browse-url-file-url):
506 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
507 decode file names using 'utf-8' rather than
508 file-name-coding-system.
509
510 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
511
512 * progmodes/python.el (python-indent-context)
513 (python-indent-calculate-indentation): Fix auto-identation
514 behavior for comment blocks. (Bug#15916)
515
516 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
517
518 * progmodes/python.el (python-indent-calculate-indentation):
519 When determining indentation, don't treat "return", "pass", etc., as
520 operators when they are just string constituents. (Bug#15812)
521
522 2013-12-12 Juri Linkov <juri@jurta.org>
523
524 * uniquify.el (uniquify-buffer-name-style): Change default to
525 `post-forward-angle-brackets'.
526
527 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
528 `uniquify'. Change default to `post-forward-angle-brackets'.
529
530 2013-12-11 Glenn Morris <rgm@gnu.org>
531
532 * emacs-lisp/package.el (finder-list-matches):
533 Autoload rather than falsely declaring.
534
535 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
536
537 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
538 (eww-mode-map): Use them.
539
540 2013-12-11 Martin Rudalics <rudalics@gmx.at>
541
542 * window.el (display-buffer-in-side-window): Fix doc-string
543 (Bug#16115).
544
545 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
546
547 * vc/vc-git.el: Silence byte-compiler warnings.
548 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
549 (log-edit-set-header): Declare.
550
551 2013-12-11 Eli Zaretskii <eliz@gnu.org>
552
553 * Makefile.in (custom-deps, finder-data): Run output file names
554 through unmsys--file-name. (Bug#16099)
555
556 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
559 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
560
561 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
562 instead of deleting the selection "by hand" (bug#16098).
563 Rely on insert-for-yank to yank rectangles.
564 (cua-highlight-region-shift-only): Mark obsolete.
565 (cua-mode): Don't enable/disable transient-mark-mode,
566 shift-select-mode (cua-mode works both with and without them), and
567 pc-selection-mode (obsolete).
568 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
569 (cua--deactivate-rectangle): Deactivate it.
570
571 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
572 (delete-selection-helper): Make sure yank starts at the top of the
573 deleted region.
574 (minibuffer-keyboard-quit): Use region-active-p.
575
576 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
577
578 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
579 to `delete' (bug#16109).
580
581 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
582
583 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
584 info manual and show keybindings and set `:group' keyword.
585
586 2013-12-11 Juri Linkov <juri@jurta.org>
587
588 * delsel.el (delete-active-region): Let-bind `this-command'
589 to prevent `kill-region' from changing its original value.
590 (delete-selection-helper): Handle `overwrite-mode' for the type
591 `kill' exactly the same way as for the type `t'.
592 (insert-char, quoted-insert, reindent-then-newline-and-indent):
593 Support more commands. (Bug#13312)
594
595 2013-12-11 Juri Linkov <juri@jurta.org>
596
597 * bindings.el: Map kp keys to non-kp keys systematically
598 with basic modifiers control, meta and shift. (Bug#14397)
599
600 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
601
602 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
603 "Close browser" menu items. Fix wrong function of "List
604 bookmarks".
605
606 2013-12-11 Juri Linkov <juri@jurta.org>
607
608 * misearch.el (multi-isearch-buffers): Set the value of
609 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
610 arg of isearch-forward to t.
611 (multi-isearch-buffers-regexp): Set the value of
612 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
613 arg of isearch-forward-regexp to t.
614 (multi-isearch-files): Set the value of
615 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
616 arg of isearch-forward to t.
617 (multi-isearch-files-regexp): Set the value of
618 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
619 arg of isearch-forward-regexp to t. (Bug#16035)
620
621 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
622 arg of isearch-forward to t.
623 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
624 arg of isearch-forward-regexp to t.
625 (dired-isearch-filter-filenames): Remove unnecessary check for
626 `dired-isearch-filenames'.
627
628 * comint.el (comint-history-isearch-backward):
629 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
630 (comint-history-isearch-backward-regexp):
631 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
632
633 2013-12-10 Eli Zaretskii <eliz@gnu.org>
634
635 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
636 unmsys--file-name. (Bug#16099)
637
638 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
639
640 * emacs-lisp/package.el (package-keyword-button-action):
641 Remove finder.el require dependency.
642
643 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
644
645 * emacs-lisp/package.el: Require finder.el.
646 (describe-package-1): Add keyword buttons.
647 (package-make-button): New convenience function.
648 (package-keyword-button-action): Keyword button action using
649 `finder-list-matches'
650
651 2013-12-09 Eli Zaretskii <eliz@gnu.org>
652
653 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
654 last commit.
655
656 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
657
658 * autorevert.el (auto-revert-notify-add-watch): Do not handle
659 symlinked files.
660
661 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
662
663 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
664 after the end of a percent literal.
665
666 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
667
668 * progmodes/ruby-mode.el (ruby-forward-string): Document.
669 Handle caret-delimited strings (Bug#16079).
670
671 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
672
673 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
674 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
675 `ruby-parse-partial' (Bug#16078).
676
677 2013-12-09 Leo Liu <sdl.web@gmail.com>
678
679 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
680
681 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
682
683 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
684 (js-switch-indent-offset): New option.
685 (js--proper-indentation): Use it. And handle the case when
686 "default" is actually a key in an object literal.
687 (js--same-line): New function.
688 (js--multi-line-declaration-indentation): Use it.
689 (js--indent-in-array-comp, js--array-comp-indentation):
690 New functions.
691 (js--proper-indentation): Use them, to handle array comprehension
692 continuations.
693
694 2013-12-08 Leo Liu <sdl.web@gmail.com>
695
696 * progmodes/flymake.el (flymake-highlight-line): Re-write.
697 (flymake-make-overlay): Remove arg MOUSE-FACE.
698 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
699
700 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
703 New function.
704 (redisplay-highlight-region-function): Use it.
705
706 * emulation/cua-base.el (cua--explicit-region-start)
707 (cua--last-region-shifted): Remove.
708 (cua--deactivate): Use deactivate-mark.
709 (cua--pre-command-handler-1): Don't handle shift-selection.
710 (cua--post-command-handler-1): Don't change transient-mark-mode.
711 (cua--select-keymaps): Use region-active-p rather than
712 cua--explicit-region-start or cua--last-region-shifted.
713 (cua-mode): Enable shift-select-mode.
714
715 2013-12-08 Leo Liu <sdl.web@gmail.com>
716
717 * progmodes/flymake.el (flymake-popup-current-error-menu):
718 Rename from flymake-display-err-menu-for-current-line. Reimplement.
719 (flymake-posn-at-point-as-event, flymake-popup-menu)
720 (flymake-make-emacs-menu): Remove. (Bug#16077)
721
722 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * rect.el (rectangle-mark-mode): Activate mark even if
725 transient-mark-mode is off (bug#16066).
726 (rectangle--highlight-for-redisplay): Fix boundary condition when point
727 is > mark and at bolp.
728
729 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
730 (region-extract-function): Use it.
731 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
732 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
733 Delete functions.
734 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
735 kill-ring-save, kill-region, delete-char, delete-forward-char.
736 Ignore self-insert-iso.
737
738 * emulation/cua-gmrk.el (cua--init-global-mark):
739 Ignore `self-insert-iso'.
740
741 * emulation/cua-base.el (cua--prefix-copy-handler)
742 (cua--prefix-cut-handler): Rely on region-extract-function rather than
743 checking cua--rectangle.
744 (cua-delete-region): Use region-extract-function.
745 (cua-replace-region): Delete function.
746 (cua-copy-region, cua-cut-region): Obey region-extract-function.
747 (cua--pre-command-handler-1): Don't do the delete-selection thing.
748 (cua--self-insert-char-p): Ignore `self-insert-iso'.
749 (cua--init-keymaps): Don't remap delete-selection commands.
750 (cua-mode): Use delete-selection-mode instead of rolling our own
751 (bug#16085).
752
753 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
754 Obey region-extract-function.
755
756 Make registers and delete-selection-mode work on rectangles.
757 * register.el (describe-register-1): Don't modify the register's value.
758 (copy-to-register): Obey region-extract-function.
759 * delsel.el (delete-active-region): Obey region-extract-function.
760
761 2013-12-08 Leo Liu <sdl.web@gmail.com>
762
763 * progmodes/flymake.el (flymake, flymake-error-bitmap)
764 (flymake-warning-bitmap, flymake-fringe-indicator-position)
765 (flymake-compilation-prevents-syntax-check)
766 (flymake-start-syntax-check-on-newline)
767 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
768 (flymake-start-syntax-check-on-find-file, flymake-log-level)
769 (flymake-xml-program, flymake-master-file-dirs)
770 (flymake-master-file-count-limit)
771 (flymake-allowed-file-name-masks): Relocate.
772 (flymake-makehash, flymake-float-time)
773 (flymake-replace-regexp-in-string, flymake-split-string)
774 (flymake-get-temp-dir): Remove.
775 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
776 (flymake-current-row, flymake-selected-frame)
777 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
778 related functions. (Bug#16077)
779
780 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
781
782 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
783
784 2013-12-07 Tassilo Horn <tsdh@gnu.org>
785
786 * help-fns.el (describe-function-1): Use new advice-* functions
787 rather than old ad-* functions. Fix function type description and
788 source links for advised functions and subrs.
789
790 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
791
792 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
793
794 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
795
796 * progmodes/compile.el (compilation-start):
797 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
798
799 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
800 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
801
802 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
803
804 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
805 Touch up the last change.
806
807 2013-12-06 Leo Liu <sdl.web@gmail.com>
808
809 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
810 (inferior-octave-startup): Always use "octave> " for prompt.
811 (octave-goto-function-definition)
812 (octave-sync-function-file-names)
813 (octave-find-definition-default-filename): Remove redundant backquotes.
814
815 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
816
817 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
818 syntax for `?'.
819 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
820 where appropriate already.
821 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
822 end of method names (Bug#15874).
823
824 2013-12-06 Juri Linkov <juri@jurta.org>
825
826 * isearch.el (isearch--saved-overriding-local-map):
827 New internal variable.
828 (isearch-mode): Set it to the initial value of
829 `overriding-terminal-local-map'.
830 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
831 with `isearch--saved-overriding-local-map'. (Bug#16035)
832
833 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
834
835 * progmodes/octave.el (inferior-octave-completion-table):
836 Turn back into function, use `completion-table-with-cache'
837 (Bug#11906). Update all references.
838
839 * minibuffer.el (completion-table-with-cache): New function.
840
841 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
842
843 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
844
845 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
846
847 * net/eww.el (eww-current-source): New variable to store page
848 source.
849 (eww-display-html, eww-mode, eww-save-history)
850 (eww-restore-history): Use it.
851 (eww-view-source): New command to view page source.
852 Opportunistically uses `html-mode' to highlight the buffer.
853 (eww-mode-map): Install it.
854
855 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
856
857 * net/dbus.el (dbus-unregister-service)
858 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
859 Fix docstring.
860 (dbus-unregister-service): Skip :serial entries in
861 `dbus-registered-objects-table'.
862 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
863
864 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
865
866 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
867 around keywords with extra `split-string' argument.
868
869 2013-12-04 Martin Rudalics <rudalics@gmx.at>
870
871 * windmove.el (windmove-other-window-loc): Handle navigation
872 between windows (excluding the minibuffer window - Bug#16017).
873
874 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
875
876 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
877 in D-Bus type syntax.
878 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
879 preserve unibyte strings. (Bug#16048)
880
881 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
884 Call force-mode-line-update is the proper buffer (bug#16042).
885
886 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
887
888 * vc/log-edit.el (log-edit-add-new-comment): Rename to
889 `log-edit-remember-comment', make argument optional. Adjust all
890 callers.
891 (log-edit-mode): Add `log-edit-remember-comment' to
892 `kill-buffer-hook' locally.
893 (log-edit-kill-buffer): Don't remember comment explicitly since
894 the buffer is killed anyway.
895
896 2013-12-04 Juri Linkov <juri@jurta.org>
897
898 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
899 add-hook and remove-hook for multi-buffer search. (Bug#16035)
900
901 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
902
903 * notifications.el (notifications-close-notification): Call the
904 D-Bus method with ID being a `:uint32'. (Bug#16030)
905
906 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
907
908 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
909
910 2013-12-03 Juri Linkov <juri@jurta.org>
911
912 * progmodes/compile.el (compilation-start): Rename window alist
913 entry `no-display-ok' to `allow-no-window'.
914
915 * simple.el (shell-command): Add window alist entry
916 `allow-no-window' to `display-buffer'.
917 (async-shell-command): Doc fix.
918
919 * window.el (display-buffer-no-window): New action function.
920 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
921
922 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
923
924 * vc/log-edit.el (log-edit-set-header): Extract from
925 `log-edit-toggle-header'.
926 (log-edit-extract-headers): Separate the summary, when extracted
927 from header, from the rest of the message with an empty line.
928
929 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
930 line, if present, to the Summary header.
931
932 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
935 in current-buffer (bug#16029).
936
937 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
938
939 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
940 (debugger-mode-map): Bind it.
941 (debugger--backtrace-base): New function.
942 (debugger-eval-expression): Use it.
943 (debugger-frame-number): Skip local vars when present.
944 (debugger--locals-visible-p, debugger--insert-locals)
945 (debugger--show-locals, debugger--hide-locals): New functions.
946
947 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
948
949 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
950 "LC_ALL".
951 (tramp-get-remote-locale): New defun.
952 (tramp-open-connection-setup-interactive-shell): Use it.
953
954 2013-12-02 Leo Liu <sdl.web@gmail.com>
955
956 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
957
958 * progmodes/sh-script.el (sh-shell-process):
959 * progmodes/octave.el (inferior-octave-process-live-p):
960 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
961 (gdb-inferior-io-sentinel):
962 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
963
964 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
965
966 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
967 `save-selected-window' to `log-edit-hide-buf'. This makes
968 `log-edit-show-files' idempotent.
969 (log-edit-show-files): Mark the new window as dedicated.
970
971 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
972
973 * vc/log-edit.el (log-edit-mode-map): Add binding for
974 `log-edit-kill-biffer'.
975 (log-edit-hide-buf): Add a FIXME comment.
976 (log-edit-add-new-comment): New function, extracted from
977 `log-edit-done'.
978 (log-edit-done, log-edit-add-to-changelog): Use it.
979 (log-edit-kill-buffer): New command.
980
981 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
982
983 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
984 instead of killing the buffer.
985
986 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
989
990 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
991
992 * net/eww.el (eww-form-checkbox-selected-symbol)
993 (eww-form-checkbox-symbol): New customizable variable.
994 (eww-form-checkbox, eww-toggle-checkbox):
995 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
996
997 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
998 (shr--get-media-pref, shr--extract-best-source): New function.
999 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1000 no :src tag was specified.
1001
1002 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1003 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1004 Use \\` to match beginning of string instead of ^.
1005 (eww-browse-with-external-browser): Provide optional URL parameter.
1006 (eww-render): Set `eww-current-title' back to "".
1007
1008 * net/shr.el (shr-tag-video): Display content for video if no
1009 poster is available.
1010 (shr-tag-audio): Add support for <audio> tag.
1011
1012 * net/eww.el (eww-text-input-types): : New const.
1013 (eww-process-text-input): Treat input types in
1014 `eww-text-input-types' as text.
1015
1016 * net/shr.el (shr-tag-table): Fix comment typo.
1017
1018 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1019
1020 * net/eww.el (eww-follow-link): New command to avoid reloading
1021 pages when we follow #target links (bug#15243).
1022 (eww-quit): Special mode buffers shouldn't query before exiting.
1023
1024 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1025
1026 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1027 forms.
1028
1029 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1030
1031 * net/eww.el (eww-restore-history): Update the window title after
1032 moving in the history.
1033 (eww-current-dom): New variable used to save the current DOM.
1034
1035 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1036
1037 * vc/log-edit.el (log-edit-mode-map): Add binding for
1038 `log-edit-beginning-of-line'.
1039 (log-edit-setup-add-author): New user option.
1040 (log-edit-beginning-of-line): New command.
1041 (log-edit): Move major mode call above the contents setup so that
1042 the local variable values are already applied.
1043 (log-edit): Only insert "Author: " when
1044 `log-edit-setup-add-author' is non-nil.
1045 (log-edit): When SETUP is non-nil, position point after ": "
1046 instead of point-min.
1047
1048 2013-12-01 Glenn Morris <rgm@gnu.org>
1049
1050 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1051
1052 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1053
1054 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1055 redisplay to make sure the initial frame gets a chance to become
1056 visible. (Bug#16014)
1057
1058 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1059
1060 Support resizing frames and windows pixelwise.
1061 * cus-start.el (frame-resize-pixelwise)
1062 (window-resize-pixelwise): New entries.
1063 * emacs-lisp/debug.el (debug): Use window-total-height instead
1064 of window-total-size.
1065 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1066 * help.el (describe-bindings-internal): Call help-buffer
1067 (temp-buffer-max-width): New option.
1068 (resize-temp-buffer-window, help-window-setup)
1069 (with-help-window): Rewrite.
1070 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1071 dragging dividers.
1072 * window.el (frame-char-size, window-min-pixel-height)
1073 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1074 (window-min-pixel-width, window-safe-min-pixel-size)
1075 (window-combination-p, window-safe-min-size)
1076 (window-resizable-p, window--size-to-pixel)
1077 (window--pixel-to-size, window--resize-apply-p): New functions.
1078 (window-safe-min-height): Fix doc-string.
1079 (window-size, window-min-size, window--min-size-1)
1080 (window-sizable, window-sizable-p, window--min-delta-1)
1081 (window-min-delta, window--max-delta-1, window-max-delta)
1082 (window--resizable, window--resizable-p, window-resizable)
1083 (window-full-height-p, window-full-width-p, window-at-side-p)
1084 (window--in-direction-2, window-in-direction)
1085 (window--resize-reset-1, window--resize-mini-window)
1086 (window-resize, window-resize-no-error)
1087 (window--resize-child-windows-normal)
1088 (window--resize-child-windows, window--resize-siblings)
1089 (window--resize-this-window, window--resize-root-window)
1090 (window--resize-root-window-vertically)
1091 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1092 (maximize-window, minimize-window, delete-window)
1093 (quit-restore-window, window-split-min-size, split-window)
1094 (balance-windows-2, balance-windows)
1095 (balance-windows-area-adjust, balance-windows-area)
1096 (window--state-get-1, window-state-get, window--state-put-1)
1097 (window--state-put-2, window-state-put)
1098 (display-buffer-record-window, window--display-buffer):
1099 Make functions handle pixelwise sizing of windows.
1100 (display-buffer--action-function-custom-type)
1101 (display-buffer-fallback-action):
1102 Add display-buffer-in-previous-window.
1103 (display-buffer-use-some-window): Resize window to height it had
1104 before.
1105 (fit-window-to-buffer-horizontally): New option.
1106 (fit-frame-to-buffer): Describe new values.
1107 (fit-frame-to-buffer-bottom-margin): Replace with
1108 fit-frame-to-buffer-margins.
1109 (window--sanitize-margin): New function.
1110 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1111 using window-text-pixel-size.
1112
1113 2013-11-30 Glenn Morris <rgm@gnu.org>
1114
1115 * emacs-lisp/bytecomp.el (byte-compile-form):
1116 Make the `interactive-only' warning like the `obsolete' one.
1117 * comint.el (comint-run):
1118 * files.el (insert-file-literally, insert-file):
1119 * replace.el (replace-string, replace-regexp):
1120 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1121 (goto-line, insert-buffer, next-line, previous-line):
1122 Tweak `interactive-only' spec.
1123
1124 Stop keeping (most) generated cedet grammar files in the repository.
1125 * Makefile.in (semantic): New.
1126 (compile-main): Depend on semantic.
1127
1128 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1131 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1132
1133 * uniquify.el (uniquify-buffer-name-style): Change default.
1134
1135 * loadup.el: Preload "uniquify".
1136
1137 * time.el (display-time-update): Update all mode lines (bug#15999).
1138
1139 * electric.el (electric-indent-mode): Enable by default.
1140 * loadup.el: Preload "electric".
1141
1142 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1143
1144 * emacs-lisp/helpers.el (string-empty-p): New function.
1145 (string-blank-p): New function.
1146
1147 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1148
1149 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1150 (Bug#14029).
1151
1152 2013-11-29 Andreas Politz <politza@fh-trier.de>
1153 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1154 allow non-lambda lists as functions.
1155 (imenu--in-alist): Don't recurse into non-subalists.
1156 (imenu): Don't pass function itself as an argument (Bug#14029).
1157
1158 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * progmodes/python.el (python-mode-map): Remove binding for ":".
1161 (python-indent-electric-colon): Remove command.
1162 (python-indent-post-self-insert-function): Integrate the previous code
1163 of python-indent-electric-colon. Make it conditional on
1164 electric-indent-mode.
1165 (python-mode): Add ?: to electric-indent-chars.
1166 Move python-indent-post-self-insert-function to the end of
1167 post-self-insert-hook.
1168
1169 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * doc-view.el (doc-view-goto-page): Update mode-line.
1172
1173 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1174
1175 2013-11-27 Glenn Morris <rgm@gnu.org>
1176
1177 * international/charprop.el, international/uni-bidi.el:
1178 * international/uni-category.el, international/uni-combining.el:
1179 * international/uni-comment.el, international/uni-decimal.el:
1180 * international/uni-decomposition.el, international/uni-digit.el:
1181 * international/uni-lowercase.el, international/uni-mirrored.el:
1182 * international/uni-name.el, international/uni-numeric.el:
1183 * international/uni-old-name.el, international/uni-titlecase.el:
1184 * international/uni-uppercase.el:
1185 Remove generated files from VCS repository.
1186
1187 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1188
1189 * filenotify.el (file-notify-add-watch): Don't special-case
1190 w32notify when computing the directory to watch.
1191
1192 2013-11-27 Glenn Morris <rgm@gnu.org>
1193
1194 Make bootstrap without generated uni-*.el files possible again.
1195 * loadup.el: Update command-line-args checking for unidata-gen.
1196 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1197 * composite.el, international/characters.el:
1198 Handle unicode tables being undefined.
1199
1200 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1201 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1202 (compile-main): Depend on leim rule.
1203 (leim): New rule.
1204 * loadup.el: Move leim-list.el to leim/ subdirectory.
1205 * startup.el (normal-top-level): No more leim directory.
1206 * international/ja-dic-cnv.el (skkdic-convert):
1207 Disable version-control and autoloads in output files.
1208 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1209 Disable version-control and autoloads in output files.
1210 * leim/quail: Move here from ../leim.
1211 * leim/quail/hangul.el (hangul-input-method-activate):
1212 Add autoload cookie.
1213 (generated-autoload-load-name): Set file-local value.
1214 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1215 (generated-autoload-load-name): Set file-local value.
1216
1217 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1218
1219 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1220 (eww-add-bookmark): ask confirmation when add to bookmarks
1221 (eww-quit): ask confirmation before quitting eww
1222
1223 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1224
1225 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1226 reading output from Diff on MS-Windows and MS-DOS.
1227
1228 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1229
1230 * emacs-lisp/helpers.el (string-reverse): New function.
1231
1232 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1235 names on MS Windows, like "/[::1]:".
1236
1237 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1238 SWITCHES.
1239
1240 2013-11-26 Glenn Morris <rgm@gnu.org>
1241
1242 * progmodes/python.el (python-indent-guess-indent-offset):
1243 Avoid corner-case error. (Bug#15975)
1244
1245 Preload leim-list.el. (Bug#4789)
1246 * loadup.el: Load leim-list.el when found.
1247 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1248
1249 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1250
1251 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1252
1253 * emacs-lisp/helpers.el (string-join): New function.
1254
1255 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1256
1257 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1258 Mark as obsolete and replace it with a symbol property.
1259 (byte-compile-form): Use new 'interactive-only property.
1260 * comint.el, files.el, replace.el, simple.el:
1261 Apply new 'interactive-only properly.
1262
1263 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1264
1265 * window.el (display-buffer-at-bottom): Make sure that
1266 split-window-sensibly creates the new window on bottom
1267 (Bug#15961).
1268
1269 2013-11-23 David Kastrup <dak@gnu.org>
1270
1271 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1272 on the conflict markers when available.
1273 (smerge--get-marker): New function.
1274 (smerge-end-re, smerge-base-re): Add subgroup.
1275
1276 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * frame.el (handle-focus-in, handle-focus-out): Add missing
1279 interactive spec.
1280
1281 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1282
1283 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1284 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1285
1286 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1289 (gomoku--last-pos): New var.
1290 (gomoku--intangible-chars): New const.
1291 (gomoku--intangible): New function.
1292 (gomoku-mode): Use it. Derive from special-mode.
1293 (gomoku-move-up): Adjust line count.
1294 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1295 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1296 Simplify accordingly.
1297
1298 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1299 Remove blink-cursor code.
1300 (blink-cursor-timer-function, blink-cursor-suspend):
1301 Don't special-case GUIs.
1302 (blink-cursor-mode): Use focus-in/out-hook.
1303
1304 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1307 work when annotation is invisible (Bug#13886).
1308
1309 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1310
1311 * json.el (json-alist-p): Only return non-nil if the alist has
1312 simple keys (Bug#13518).
1313
1314 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1315
1316 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1317 when control-statement is the first statement in a buffer (Bug#15956).
1318
1319 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1320
1321 * imenu.el (imenu-generic-skip-comments-and-strings):
1322 New option (Bug#15560).
1323 (imenu--generic-function): Use it.
1324
1325 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1326
1327 * minibuffer.el (completion--in-region-1): Scroll the correct
1328 window. (Bug#13898)
1329
1330 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1331
1332 * emacs-lisp/helpers.el: Add some string helpers.
1333 (string-trim-left): Removes leading whitespace.
1334 (string-trim-right): Removes trailing whitespace.
1335 (string-trim): Removes leading and trailing whitespace.
1336
1337 * subr.el (string-suffix-p): New function.
1338
1339 2013-11-23 Glenn Morris <rgm@gnu.org>
1340
1341 * progmodes/python.el (python-shell-send-file):
1342 Add option to delete file when done. (Bug#15647)
1343 (python-shell-send-string, python-shell-send-region): Use it.
1344
1345 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1346
1347 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1348 to set buffer-read-only to t, never to nil. (Bug#15938)
1349
1350 * textmodes/tex-mode.el (latex-noindent-environments):
1351 Add safe-local-variable property. (Bug#15936)
1352
1353 2013-11-23 Glenn Morris <rgm@gnu.org>
1354
1355 * textmodes/enriched.el (enriched-mode): Doc fix.
1356 * emacs-lisp/authors.el (authors-renamed-files-alist):
1357 Add enriched.doc -> enriched.txt.
1358
1359 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1360
1361 2013-11-22 Leo Liu <sdl.web@gmail.com>
1362
1363 * progmodes/octave.el (inferior-octave-startup): Spit out error
1364 message.
1365
1366 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1367
1368 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1369 Improve docstring.
1370 Add :version.
1371 (ruby-encoding-magic-comment-style): Add :version.
1372
1373 2013-11-22 Leo Liu <sdl.web@gmail.com>
1374
1375 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1376 (Bug#15076)
1377 (octave-help-mode): Adapt to change to help-mode-finish to use
1378 derived-mode-p on 2013-09-17.
1379 (inferior-octave-prompt): Also match octave-gui.
1380 (octave-kill-process): Don't ask twice. (Bug#10564)
1381
1382 2013-11-22 Leo Liu <sdl.web@gmail.com>
1383
1384 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1385 (inferior-octave-startup, inferior-octave-check-process)
1386 (inferior-octave-track-window-width-change)
1387 (octave-completion-at-point, octave-eldoc-function): Use it.
1388 (octave-kill-process): Provide confirmation. (Bug#10564)
1389
1390 2013-11-21 Leo Liu <sdl.web@gmail.com>
1391
1392 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1393 Fix obsolete variable comment-use-global-state.
1394
1395 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1396
1397 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1398 Add `octave-source-file'.
1399 (octave-source-file): New function. (Bug#15935)
1400
1401 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1402
1403 * net/eww.el (eww-local-regex): New variable.
1404 (eww): Use it to detect localhost and similar.
1405
1406 2013-11-21 Leo Liu <sdl.web@gmail.com>
1407
1408 Add completion for command `ag'.
1409 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1410 (pcomplete/ag): New function.
1411 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1412
1413 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1416 (bug#14646).
1417 (make-obsolete): Remove interactive spec.
1418
1419 2013-11-21 Glenn Morris <rgm@gnu.org>
1420
1421 * startup.el (command-line-1): Use path-separator with -L.
1422
1423 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1424
1425 * emacs-lisp/package.el (describe-package-1): Add package archive
1426 to shown fields.
1427
1428 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1429
1430 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1431 Change default to "# encoding: %s" to differentiate it from the
1432 default Ruby encoding comment template.
1433
1434 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1435
1436 * ses.el (ses-mode): Doc fix. (Bug#14748)
1437
1438 2013-11-20 Leo Liu <sdl.web@gmail.com>
1439
1440 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1441
1442 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1443
1444 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1445 when rebase or bisect are in progress.
1446
1447 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1448
1449 * filenotify.el (file-notify-add-watch): Doc fix.
1450
1451 2013-11-19 Leo Liu <sdl.web@gmail.com>
1452
1453 * obsolete/rcompile.el: Mark obsolete.
1454
1455 * progmodes/compile.el (compilation-start)
1456 (compilation-goto-locus, compilation-find-file):
1457 Pass no-display-ok and handle nil value from display-buffer.
1458 (Bug#13594)
1459
1460 * window.el (display-buffer-alist, display-buffer): Document the
1461 new parameter no-display-ok. Return either a window or nil
1462 but never a non-window value.
1463
1464 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * electric.el (electric-indent-mode-map): Remove.
1467 (electric-indent-mode): Change the global-map instead (bug#15915).
1468
1469 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1470 Use add-function.
1471
1472 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * emacs-lisp/nadvice.el (remove-function): Align with
1475 add-function's behavior.
1476
1477 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1478 (gdb--string-regexp): New constant.
1479 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1480 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1481 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1482 submatch 1.
1483 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1484 Adjust use accordingly.
1485 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1486
1487 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1488
1489 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1490 interpolation curlies (Bug#15914).
1491
1492 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1493
1494 * calc/calc.el (calc-context-sensitive-enter): New variable.
1495 (calc-enter): Use `calc-context-sensitive-enter'.
1496
1497 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1498
1499 * progmodes/cfengine.el: Version bump.
1500 (cfengine-cf-promises): New defcustom to locate cf-promises.
1501 (cfengine3-vartypes): Add new "data" type.
1502 (cfengine3--current-word): New function to get current name-like
1503 word or its bounds.
1504 (cfengine3--current-function): New function to look up a CFEngine
1505 function's definition.
1506 (cfengine3-format-function-docstring): New function.
1507 (cfengine3-make-syntax-cache): New function.
1508 (cfengine3-documentation-function): New function: ElDoc glue.
1509 (cfengine3-completion-function): New function: completion glue.
1510 (cfengine3-mode): Set `compile-command',
1511 `eldoc-documentation-function', and add to
1512 `completion-at-point-functions'.
1513
1514 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1515
1516 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1517 `tramp-current-connection'.
1518
1519 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1520
1521 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1522 nil/self/true/false with "end of symbol".
1523
1524 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1525
1526 * subr.el (version-regexp-alist): Fix a typo.
1527
1528 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1531 "en_US.utf8" and "LC_CTYPE" to "".
1532 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1533 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1534
1535 2013-11-15 Leo Liu <sdl.web@gmail.com>
1536
1537 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1538
1539 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * progmodes/gud.el (ctl-x-map):
1542 Remove C-x SPC binding. (Bug#12342)
1543 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1544
1545 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1546
1547 * subr.el (version-regexp-alist):
1548 Recognize hg, svn and darcs versions as snapshot versions.
1549
1550 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1551 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1552 (ruby--encoding-comment-required-p): Extract from
1553 `ruby-mode-set-encoding'.
1554 (ruby-mode-set-encoding): Add the ability to always insert an
1555 utf-8 encoding comment. Fix and simplify coding comment update
1556 logic.
1557
1558 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1559
1560 * net/tramp-gvfs.el (top): Run init code only when
1561 `tramp-gvfs-enabled' is not nil.
1562 (tramp-gvfs-enabled): Check also :system bus.
1563
1564 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 Sync with upstream verilog-mode revision 78e66ba.
1567 * progmodes/verilog-mode.el (verilog-end-of-defun)
1568 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1569 (verilog-get-end-of-defun): Remove unused argument.
1570 (verilog-comment-depth): Remove unused local `e'.
1571 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1572 Don't pass arg to verilog-get-end-of-defun.
1573
1574 2013-11-14 Glenn Morris <rgm@gnu.org>
1575
1576 * obsolete/assoc.el (aget): Prefix dynamic variable.
1577
1578 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1579
1580 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * widget.el, hfy-cmap.el: Remove bogus package version number.
1583
1584 2013-11-13 Glenn Morris <rgm@gnu.org>
1585
1586 * replace.el (replace-eval-replacement):
1587 Try to give more helpful error message. (Bug#15836)
1588
1589 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1590 (archive-7z-update): Avoid custom type mismatches.
1591
1592 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1593
1594 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1595
1596 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1597 address can be empty.
1598
1599 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1600 Accept nil SWITCHES.
1601 (tramp-gvfs-handle-write-region): Implement APPEND.
1602
1603 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1604
1605 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1606 binary "|" operator and closing block args delimiter.
1607 Remove FIXME comment referring to Ruby 1.8-only syntax.
1608 (ruby-smie--implicit-semi-p): Not after "|" operator.
1609 (ruby-smie--closing-pipe-p): New function.
1610 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1611 (ruby-smie-rules): Indent after "|".
1612
1613 2013-11-12 Glenn Morris <rgm@gnu.org>
1614
1615 * ps-print.el (ps-face-attribute-list):
1616 Handle anonymous faces. (Bug#15827)
1617
1618 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1619
1620 * window.el (display-buffer-other-frame): Fix doc-string.
1621 (Bug#15868)
1622
1623 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1626
1627 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1630 (tramp-sh-handle-file-local-copy): Don't write a message when
1631 saving temporary files.
1632
1633 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1634 both directories are remote.
1635 (tramp-smb-handle-directory-files): Do not return double entries.
1636 Do not expand full file names.
1637 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1638 (tramp-smb-handle-write-region): Implement APPEND.
1639 (tramp-smb-get-stat-capability): Fix a stupid bug.
1640
1641 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1644
1645 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1646
1647 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1648 throwing error over malformed let/let* (bug#15814).
1649
1650 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1652 * iswitchb.el (iswitchb-mode): Mark obsolete.
1653
1654 2013-11-11 Glenn Morris <rgm@gnu.org>
1655
1656 * international/uni-bidi.el, international/uni-category.el:
1657 * international/uni-name.el, international/uni-numeric.el:
1658 Regenerate for Unicode 6.3.0.
1659
1660 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp.el (tramp-methods):
1663 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1664 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1665
1666 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1667
1668 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1669 Force highlighting text after Summary keyword in doc face for rpm.
1670
1671 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1672
1673 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1674 available and the word has no wildcards, append one to the grep pattern.
1675 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1676 (ispell-complete-word): Call `ispell-lookup-words' with the value
1677 independent of `ispell-look-p'.
1678
1679 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1680
1681 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1682 Not after "||".
1683 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1684 their parent.
1685
1686 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1689 (ruby-font-lock-keywords): Use backquote.
1690
1691 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1692
1693 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1694 (ruby-smie--backward-token): Only consider full-string matches.
1695
1696 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1697
1698 * faces.el (describe-face): Add distant-foreground.
1699
1700 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1701
1702 * progmodes/ruby-mode.el: Improve encoding comment handling.
1703 (ruby-encoding-magic-comment-style): New option.
1704 (ruby-custom-encoding-magic-comment-template): New option.
1705 (ruby--insert-coding-comment, ruby--detect-encoding):
1706 New functions extracted from `ruby-mode-set-encoding'.
1707 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1708 to control the style of the auto-inserted encoding comment.
1709
1710 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1711
1712 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1713 Use `smie-backward-sexp' with token argument.
1714
1715 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1716
1717 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1718 Remove instrumentation code.
1719
1720 2013-11-08 Glenn Morris <rgm@gnu.org>
1721
1722 * progmodes/autoconf.el (autoconf-mode):
1723 Tweak comment-start-skip. (Bug#15822)
1724
1725 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1728 at bobp (bug#15826).
1729 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1730
1731 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1732
1733 * man.el (Man-start-calling): New macro, extracted from
1734 Man-getpage-in-background.
1735 (Man-getpage-in-background): Use it.
1736 (Man-update-manpage): New command.
1737 (Man-mode-map): Bind it.
1738
1739 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1740
1741 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1742 of "and", "or", "&&" and "||".
1743 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1744 argument. Prohibit opening curly brace because it could only be a
1745 block opener in that position.
1746 (ruby-smie--forward-token, ruby-smie--backward-token):
1747 Separate "|" from "&" or "*" going after it. That can happen in block
1748 arguments.
1749 (ruby-smie--indent-to-stmt): New function, seeks the end of
1750 previous statement or beginning of buffer.
1751 (ruby-smie-rules): Use it.
1752 (ruby-smie-rules): Check if there's a ":" before a curly block
1753 opener candidate; if there is, it's a hash.
1754
1755 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1758 (cl--block-wrapper): Fix last accidental change.
1759
1760 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1761
1762 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1763 Instrument, in order to hunt failure on hydra.
1764
1765 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1766
1767 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1768 malformed bindings form (bug#15814).
1769
1770 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1773 "." compared to " @ ". This incidentally fixes some indentation
1774 examples with "do".
1775 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1776 (ruby-smie-grammar): New tokens: "and" and "or".
1777 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1778 Exclude "and" and "or". Remove "do" in order to work around token
1779 priorities.
1780 (ruby-smie-rules): Add all infix tokens. Handle the case of
1781 beginning-of-buffer.
1782
1783 2013-11-06 Glenn Morris <rgm@gnu.org>
1784
1785 * Makefile.in (setwins_almost, setwins_for_subdirs):
1786 Avoid accidental matches.
1787
1788 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * menu-bar.el (popup-menu): Use key-binding.
1791
1792 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1793
1794 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1795 menus, support also the menus produced by minor modes.
1796 (Bug#15817)
1797
1798 2013-11-06 Leo Liu <sdl.web@gmail.com>
1799
1800 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1801 DISTANCE to bound the search. All uses changed. (Bug#15808)
1802
1803 2013-11-06 Glenn Morris <rgm@gnu.org>
1804
1805 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1806 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1807 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1808
1809 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * electric.el (electric-indent-just-newline): New command.
1812 (electric-indent-mode-map): New keymap.
1813 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1814 Re-add :group which weren't redundant.
1815
1816 * electric.el (electric-indent-local-mode): New minor mode.
1817 (electric-indent-functions-without-reindent): New var.
1818 (electric-indent-post-self-insert-function): Use it.
1819 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1820
1821 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1822
1823 * international/quail.el (quail-help): Be more explicit about the
1824 meaning of the labels shown on the keys. (Bug#15800)
1825
1826 * startup.el (normal-top-level): Load the subdirs.el files before
1827 setting the locale environment. (Bug#15805)
1828
1829 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1832 via arguments so as to get the right ones (bug#15418).
1833
1834 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1835
1836 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1837
1838 Fix problems found while writing a test suite.
1839
1840 * net/tramp-compat.el (tramp-compat-load): New defun.
1841 * net/tramp.el (tramp-handle-load): Use it.
1842
1843 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1844 "(numberp ok-if-already-exists)" correctly.
1845
1846 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1847
1848 * international/characters.el (glyphless-char-display-control):
1849 Add usage note.
1850
1851 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1852
1853 * progmodes/python.el (python-mode):
1854 * progmodes/scheme.el (scheme-mode):
1855 * progmodes/prolog.el (prolog-mode):
1856 * progmodes/ruby-mode.el (ruby-mode):
1857 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1858 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1859
1860 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * rect.el (rectangle--highlight-for-redisplay):
1863 * emacs-lisp/smie.el (smie--next-indent-change):
1864 Use buffer-chars-modified-tick.
1865
1866 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1867
1868 * electric.el (electric-indent-post-self-insert-function):
1869 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1870
1871 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1872
1873 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1874
1875 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1876
1877 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1878 (bug#15786).
1879
1880 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1883
1884 * progmodes/python.el: Fix up last change.
1885 (python-shell--save-temp-file): New function.
1886 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1887 `string' comes from the current buffer.
1888 (python-shell-send-string-no-output): Remove `msg' arg.
1889 (python--use-fake-loc): New var.
1890 (python-shell-buffer-substring): Obey it. Try to compensate for the
1891 extra coding line added by python-shell--save-temp-file.
1892 (python-shell-send-region): Use python-shell--save-temp-file and
1893 python-shell-send-file directly. Add `nomain' argument.
1894 (python-shell-send-buffer): Use python-shell-send-region.
1895 (python-electric-pair-string-delimiter): New function.
1896 (python-mode): Use it.
1897
1898 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1899
1900 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1901 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1902 environment and decoding all of the default-directory's to here
1903 from command-line.
1904 (command-line): Decode also argv[0].
1905
1906 * loadup.el: Error out if default-directory is a multibyte string
1907 when we are dumping.
1908
1909 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1910
1911 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1912
1913 * emacs-lisp/package.el (package-menu-mode)
1914 (package-menu--print-info, package-menu--archive-predicate):
1915 Add Archive column to package list.
1916
1917 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1918
1919 Fix problems found while writing a test suite.
1920
1921 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1922 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1923 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1924 to nil when running original file name handler. Otherwise,
1925 there are problems with constructs like "$$FOO".
1926
1927 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1928 for `localname'.
1929
1930 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1931
1932 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1933
1934 * subr.el (version<, version<=, version=):
1935 Update docstrings with information for snapshot versions.
1936
1937 * helpers.el: New library for misc helper functions.
1938 (hash-table-keys): New function returning a list of hash keys.
1939 (hash-table-values): New function returning a list of hash values.
1940
1941 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1944 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1945
1946 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1947
1948 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1949 checking whether point is after a 1-letter word.
1950
1951 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1952
1953 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1954 Don't infloop when expanding region over `multiline' syntax-type that
1955 begins a line (bug#15778).
1956
1957 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1960 Make it into a proper minor mode.
1961 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1962 (rectangle-mark-mode-map): New keymap.
1963 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1964
1965 2013-11-04 Glenn Morris <rgm@gnu.org>
1966
1967 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1968
1969 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1972 (ruby-smie-rules): Use smie-rule-parent instead.
1973
1974 * emacs-lisp/smie.el (smie-rule-parent): Always call
1975 smie-indent-virtual rather than only for hanging tokens.
1976 (smie--next-indent-change): New helper command.
1977
1978 2013-11-03 Glenn Morris <rgm@gnu.org>
1979
1980 * Makefile.in (abs_srcdir): Remove.
1981 (emacs): Unset EMACSLOADPATH.
1982
1983 2013-11-02 Glenn Morris <rgm@gnu.org>
1984
1985 * Makefile.in (EMACS): Use a relative filename.
1986 (abs_top_builddir): Remove.
1987 (custom-deps, finder-data, autoloads): Use --chdir.
1988
1989 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1990
1991 Use relative filenames in TAGS files.
1992 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1993 (lisptagsfiles4, TAGS): Use relative file names.
1994 (TAGS-LISP): Remove.
1995 (maintainer-clean): No more TAGS-LISP file.
1996
1997 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1998 (lisptagsfiles4): Use absolute filenames again.
1999 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2000 Remove all *loaddefs files, not just the first. Remove esh-groups.
2001 (maintainer-clean): Delete TAGS, TAGS-LISP.
2002
2003 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2004
2005 * emacs-lisp/package.el (package-version-join):
2006 Recognize snapshot versions.
2007
2008 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2009
2010 * subr.el (version-regexp-alist): Add support for snapshot versions.
2011
2012 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2013
2014 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2015 New function, replacement for `smie-rule-parent' for when we want to
2016 skip over our direct parent if it's an assignment token..
2017 (ruby-smie-rules): Use it.
2018
2019 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2022 unconditionally. Remove now unnecessary forward declarations.
2023 Remove XEmacs-specific setup.
2024 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2025 (ruby-font-lock-syntactic-keywords)
2026 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2027 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2028 (ruby-here-doc-end-syntax): Remove.
2029 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2030 defined as function.
2031
2032 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2033
2034 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2035
2036 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2037
2038 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2039 table and abbrev table, `define-derived-mode' does that for us
2040 anyway.
2041
2042 2013-11-01 Glenn Morris <rgm@gnu.org>
2043
2044 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2045 files is atomic for some time, so no parallel compilation issues).
2046
2047 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2048
2049 * faces.el (face-x-resources): Add :distant-foreground.
2050 (region): Use :distant-foreground for gtk and ns.
2051
2052 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2053
2054 Allow multiple bibliographies when BibLaTeX is used rather than
2055 BibTeX.
2056 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2057 (reftex-locate-bibliography-files): Us it.
2058
2059 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2060
2061 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2062 allow comments in pbm files.
2063
2064 * term/w32-win.el (dynamic-library-alist): Support newer versions
2065 of libjpeg starting with v7: look only for the DLL from the
2066 version against which Emacs was built.
2067 Support versions of libpng beyond 1.4.x.
2068 Support libtiff v4.x.
2069
2070 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2071
2072 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2073 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2074 Add property :safe.
2075 (ruby-deep-arglist): Add property :type.
2076
2077 2013-10-31 Glenn Morris <rgm@gnu.org>
2078
2079 * Makefile.in (custom-deps, finder-data): No need to setq the target
2080 variables, we are in the right directory and the defaults work fine.
2081
2082 2013-10-30 Glenn Morris <rgm@gnu.org>
2083
2084 * Makefile.in (autoloads): Do not use abs_lisp.
2085
2086 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2087 `newline' does not respect `standard-output', so use `princ'.
2088
2089 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2090
2091 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2092 * buff-menu.el (Buffer-menu--unmark): New function.
2093 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2094
2095 2013-10-30 Glenn Morris <rgm@gnu.org>
2096
2097 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2098
2099 * emacs-lisp/package.el (lm-homepage): Declare.
2100
2101 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2102 Fix doc typos.
2103
2104 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2105
2106 * Makefile.in (finder-data, autoloads, update-subdirs)
2107 (compile-main, compile-clean, compile-always, bootstrap-clean):
2108 Check return value of cd.
2109 (compile-calc): Remove.
2110
2111 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2114
2115 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2116 (byte-compile-and-folded): New function.
2117 (=, <, >, <=, >=): Use it.
2118
2119 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2120 (path-separator, null-device, buffer-file-coding-system)
2121 (lpr-headers-switches): Check system-type before modifying them.
2122 (find-buffer-file-type-coding-system): Mark obsolete.
2123 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2124 find-file-not-found-set-buffer-file-coding-system.
2125 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2126 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2127 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2128 (w32-direct-print-region-helper, w32-direct-print-region-function)
2129 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2130 * startup.el (normal-top-level-add-subdirs-to-load-path):
2131 * ps-print.el (ps-print-region-function):
2132 * lpr.el (print-region-function): Use new name.
2133
2134 * subr.el (custom-declare-variable-early): Remove function.
2135 (custom-declare-variable-list): Remove var.
2136 (error, user-error): Remove `while' loop.
2137 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2138 (user-emacs-directory-warning, locate-user-emacs-file):
2139 Move to files.el.
2140 * simple.el (read-quoted-char-radix, read-quoted-char):
2141 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2142 Move from subr.el.
2143 * custom.el (custom-declare-variable-list): Don't process
2144 custom-declare-variable-list.
2145
2146 * progmodes/python.el (python-shell-get-buffer): New function.
2147 (python-shell-get-process): Use it.
2148 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2149 Python which encoding was used. Don't split-string since we only care
2150 about the first line. Return the temp-file, if applicable.
2151 (python-shell-send-region): Tell compile.el how to turn locations in
2152 the temp-file into locations in the source buffer.
2153
2154 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * subr.el (undefined): Add missing behavior from the C code for
2157 unbound keys.
2158
2159 * rect.el: Use lexical-binding. Add new rectangular region support.
2160 (rectangle-mark): New command.
2161 (rectangle--region): New var.
2162 (deactivate-mark-hook): Reset rectangle--region.
2163 (rectangle--extract-region, rectangle--insert-for-yank)
2164 (rectangle--highlight-for-redisplay)
2165 (rectangle--unhighlight-for-redisplay): New functions.
2166 (region-extract-function, redisplay-unhighlight-region-function)
2167 (redisplay-highlight-region-function): Use them to handle
2168 rectangular region.
2169 * simple.el (region-extract-function): New var.
2170 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2171 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2172 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2173 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2174 (redisplay-unhighlight-region-function)
2175 (redisplay-highlight-region-function): New vars.
2176 (redisplay--update-region-highlight): New function.
2177 (pre-redisplay-function): Use it.
2178 (exchange-point-and-mark): Don't deactivate the mark before
2179 reactivate-it anyway.
2180 * comint.el (comint-kill-region): Remove yank-handler argument.
2181 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2182 (delete-char): Remove property, since it's now part of their
2183 default behavior.
2184 (self-insert-iso): Remove property since this command doesn't exist.
2185
2186 * emacs-lisp/package.el (package--download-one-archive)
2187 (describe-package-1): Don't query the user about final newline.
2188
2189 2013-10-29 Daniel Colascione <dancol@dancol.org>
2190
2191 * net/tramp.el (tramp-methods): Document new functionality.
2192 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2193 tramp-hostname-checker if method provides one instead of scanning
2194 argument list for "%h" to decide hostname acceptability.
2195
2196 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2197
2198 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2199 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2200 Handle COPY-CONTENTS. (Bug#15737)
2201
2202 2013-10-28 Daiki Ueno <ueno@gnu.org>
2203
2204 * epa-file.el
2205 (epa-file-cache-passphrase-for-symmetric-encryption):
2206 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2207
2208 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2209
2210 * image.el (defimage):
2211 (image-load-path): Doc fixes.
2212
2213 2013-10-27 Alan Mackenzie <acm@muc.de>
2214
2215 Indent statements in macros following "##" correctly.
2216 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2217 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2218
2219 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2220
2221 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2222
2223 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2224
2225 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2226 after `=' is probably a new expression.
2227
2228 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2229
2230 * man.el (man-imenu-title): New option.
2231 (Man-mode-map): Add menu. (Bug#15722)
2232 (Man-mode): Add imenu to menu.
2233
2234 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2237 specific in what the first arg can be: a non-keyword word,
2238 string/regexp/percent literal opener, opening paren, or unary
2239 operator followed directly by word.
2240
2241 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2244 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2245 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2246 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2247 Remove vars, they do not apply any more.
2248 (prolog-mode-abbrev-table): Remove redundant declaration.
2249 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2250 (prolog-use-smie): Remove.
2251 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2252 supported by prolog-electric-if-then-else-flag.
2253 (prolog-mode-variables, prolog-menu): Use setq-local.
2254 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2255 Remove binding to `Backspace' since this key doesn't exist anyway.
2256 Remove bindings for electric self-inserting keys.
2257 (prog-mode): Assume it's defined.
2258 (prolog-post-self-insert): New function.
2259 (prolog-mode): Use it.
2260 (prolog-indent-line, prolog-indent-level)
2261 (prolog-find-indent-of-matching-paren)
2262 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2263 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2264 (prolog-goto-next-paren, prolog-in-string-or-comment)
2265 (prolog-tokenize, prolog-inside-mline-comment)
2266 (prolog-find-start-of-mline-comment): Remove functions.
2267 (prolog-find-unmatched-paren, prolog-clause-end)
2268 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2269 (prolog-electric--if-then-else): Rename from
2270 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2271 (prolog-tokenize-searchkey): Remove const.
2272 (prolog-clause-info): Use forward-sexp.
2273 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2274 (prolog-electric-if-then-else): Remove commands.
2275 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2276 for use in post-self-insert-hook.
2277 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2278 for use in post-self-insert-hook.
2279 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2280 for use in post-self-insert-hook.
2281 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2282 adapt it for use in post-self-insert-hook.
2283
2284 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2285
2286 * emacs-lisp/ert.el (ert-run-tests-interactively):
2287 Use `completing-read'. (Bug#9756)
2288
2289 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2290
2291 * simple.el (line-move): Call line-move-1 instead of
2292 line-move-visual when the current window hscroll is zero, but
2293 temporary-goal-column indicates we will need to hscroll as result
2294 of the movement. (Bug#15712)
2295
2296 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2299 capitalization. Use :visible instead of :active.
2300 Fix `ruby-indent-exp' reference. Add menu items for the generic
2301 commands that are used with SMIE.
2302 (ruby-do-end-to-brace): Insert space after `{'.
2303
2304 2013-10-25 John Anthony <john@jo.hnanthony.com>
2305
2306 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2307
2308 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2309
2310 2013-10-25 Glenn Morris <rgm@gnu.org>
2311
2312 * vc/vc.el (vc-print-log): Don't use a working revision unless
2313 one was explicitly specified. (Bug#15322)
2314
2315 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * subr.el (add-to-list): Preserve return value in compiler-macro
2318 (bug#15692).
2319
2320 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2321
2322 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2323 result. Ask user to retry using '-all' flag. (Bug#15701)
2324
2325 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * emacs-lisp/smie.el: New smie-config system.
2328 (smie-config): New defcustom.
2329 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2330 (smie-config-guess, smie-config-save): New commands.
2331 (smie-config--mode-local, smie-config--buffer-local)
2332 (smie-config--trace, smie-config--modefuns): New vars.
2333 (smie-config--advice, smie-config--mode-hook)
2334 (smie-config--setter, smie-config-local, smie-config--get-trace)
2335 (smie-config--guess-value, smie-config--guess): New functions.
2336 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2337 text properties. Treat "string fence" syntax like string syntax.
2338
2339 * progmodes/sh-script.el (sh-use-smie): Change default.
2340 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2341 (sh-var-value): Simplify by CSE.
2342 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2343 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2344 is used.
2345 (sh-guess-basic-offset): Use cl-incf.
2346 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2347
2348 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2349
2350 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2351 (bug#15699).
2352
2353 2013-10-24 Glenn Morris <rgm@gnu.org>
2354
2355 * Makefile.in (abs_top_srcdir): Remove.
2356 (update-subdirs): Use relative path to update-subdirs.
2357
2358 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2359
2360 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2361 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2362 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2363 Call unmsys--file-name before expand-file-name, not after it.
2364
2365 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2368 (ert-test-skipped): New error.
2369 (ert-skip, ert-stats-skipped): New defuns.
2370 (ert--skip-unless): New macro.
2371 (ert-test-skipped): New struct.
2372 (ert--run-test-debugger, ert-test-result-type-p)
2373 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2374 (ert--stats-set-test-and-result, ert-char-for-test-result)
2375 (ert-string-for-test-result, ert-run-tests-batch)
2376 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2377 Handle skipped tests. (Bug#9803)
2378
2379 2013-10-24 Glenn Morris <rgm@gnu.org>
2380
2381 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2382
2383 * Makefile.in (abs_top_srcdir): New, set by configure.
2384 (update-subdirs): Correct build-aux location.
2385
2386 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2387
2388 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2389 value, whether we could auto-deduce `backend', or not.
2390
2391 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2392 with parameters" example. Simplify the "is it block or is it
2393 hash" check, but also make it more thorough.
2394
2395 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2396
2397 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2398
2399 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2402 { if it is hanging.
2403
2404 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2405 :before ";".
2406
2407 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2408
2409 * progmodes/compile.el (compilation-directory-matcher)
2410 (compilation-page-delimiter):
2411 Support GNU Make-4.0 directory quoting. (Bug#15678)
2412
2413 2013-10-23 Leo Liu <sdl.web@gmail.com>
2414
2415 * ido.el (ido-tidy): Handle read-only text.
2416
2417 2013-10-23 Glenn Morris <rgm@gnu.org>
2418
2419 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2420 (emacs, compile, compile-always):
2421 Quote entities that might contain whitespace.
2422 (custom-deps, finder-data, autoloads): Use abs_lisp.
2423 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2424 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2425 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2426
2427 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2430 Use `following-char'.
2431
2432 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2435 * progmodes/ruby-mode.el (ruby-smie-rules):
2436 Remove corresponding workaround. Fix indentation rule of ";" so it
2437 also applies when ";" is the parent.
2438
2439 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2440
2441 * frame.el (display-screens, display-pixel-height)
2442 (display-pixel-width, display-mm-width, display-backing-store)
2443 (display-save-under, display-planes, display-color-cells)
2444 (display-visual-class, display-monitor-attributes-list):
2445 Mention the optional ‘display’ argument in doc strings.
2446
2447 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2448
2449 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2450 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2451
2452 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2455 TODO. Add "." after " @ ".
2456 (ruby-smie--at-dot-call): New function. Checks if point at method
2457 call with explicit target.
2458 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2459 to the method name tokens when it precedes them.
2460 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2461 (ruby-smie-rules): Add rule for indentation before and after "."
2462 token.
2463
2464 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * textmodes/remember.el (remember-diary-extract-entries):
2467 Avoid add-to-list.
2468
2469 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2470 an instruction.
2471
2472 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2473
2474 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2475 (ruby-smie--implicit-semi-p): Add new operator chars.
2476
2477 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2478 `smie-down-list'.
2479 (ruby-smie--args-separator-p): Check that there's no newline
2480 between method call and its arguments.
2481
2482 2013-10-20 Alan Mackenzie <acm@muc.de>
2483
2484 Allow comma separated lists after Java "implements".
2485
2486 * progmodes/cc-engine.el (c-backward-over-enum-header):
2487 Parse commas.
2488 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2489 from a "disallowed" list in enum fontification.
2490
2491 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2492
2493 * startup.el (default-frame-background-mode): Remove unused defvar.
2494
2495 * progmodes/verilog-mode.el (verilog-mode): Don't set
2496 comment-indent-function globally.
2497
2498 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2499
2500 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2501 Move Info menu item creation to ns-win.el.
2502
2503 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2504 in menu bar.
2505
2506 * menu-bar.el: Move GNUStep specific menus...
2507
2508 * term/ns-win.el (ns-initialize-window-system): ... to here.
2509
2510 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * simple.el (newline): Only run post-self-insert-hook when
2513 called interactively.
2514
2515 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2516
2517 * icomplete.el (icomplete-with-completion-tables): Add :version.
2518
2519 2013-10-19 Alan Mackenzie <acm@muc.de>
2520
2521 Fix fontification bugs with constructors and const.
2522
2523 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2524 CASE 2) Remove the check for the absence of a suffix construct
2525 after a function declaration with only types (no identifiers) in
2526 the parentheses. Also, accept a function declaration with just a
2527 type inside the parentheses, if this type can be positively
2528 recognised as such, or if a prefix keyword like "explicit" nails
2529 down the construct as a declaration.
2530
2531 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2532
2533 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2534 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2535 the problem whereby selecting a menu item that leads to a
2536 minibuffer prompt moves the cursor out of the minibuffer window,
2537 making it hard to type at the prompt. Suggested by Stefan Monnier
2538 <monnier@iro.umontreal.ca>.
2539
2540 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2541
2542 * menu-bar.el: Don't make Services menu.
2543
2544 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2545
2546 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2547 (ffap-alist): Use ffap-c++-mode for c++-mode.
2548 (ffap-c++-path): New variable.
2549 (ffap-c++-mode): New function.
2550
2551 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2552
2553 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2554
2555 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2556
2557 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2558 introduced on 2013-09-08, which results in an infinite loop
2559 requesting a password.
2560
2561 2013-10-18 Glenn Morris <rgm@gnu.org>
2562
2563 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2564
2565 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2566
2567 Sync with upstream verilog-mode revision 1a6ecec7.
2568 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2569 (verilog-mode-release-date): Remove.
2570 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2571 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2572 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2573 (verilog-auto-tieoff-ignore-regexp)
2574 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2575 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2576 (verilog-signals-with, verilog-dir-cache-preserving)
2577 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2578 Doc fixes.
2579 (verilog-case-fold): New option, to control case folding in
2580 regexp searches, bug597.
2581 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2582 (verilog-string-match-fold, verilog-in-paren-count)
2583 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2584 (verilog-at-close-struct-p): New functions.
2585 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2586 (verilog-forward-sexp, verilog-set-auto-endcomments):
2587 (verilog-leap-to-case-head): Handle "unique0" case.
2588 (verilog-in-constraint-re): New constant.
2589 (verilog-keywords, verilog-type-font-keywords):
2590 Add some SystemVerilog 1800-2012 keywords.
2591 (verilog-label-be): Remove unimplemented argument, bug669.
2592 (verilog-batch-execute-func): When batch expanding clear
2593 create-lockfiles to prevent spurious user locks when a file ends
2594 up not changing.
2595 (verilog-calculate-indent, verilog-calc-1)
2596 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2597 (verilog-do-indent): Fix indentation of nested constraints
2598 and structures.
2599 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2600 (verilog-auto-inst-param): Use verilog-string-match-fold.
2601 (verilog-read-inst-module-matcher):
2602 Fix AUTOINST on gate primitives with #1.
2603 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2604 Reads all user-defined typed variables.
2605 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2606 (verilog-signals-matching-regexp)
2607 (verilog-signals-not-matching-regexp, verilog-auto):
2608 Respect verilog-case-fold.
2609 (verilog-diff-report): Fix line count.
2610 (verilog-auto-assign-modport): Remove unused local `modi'.
2611 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2612 better handle multidimensional arrays.
2613 Fix packed array ports misadding bit index in AUTOINST, bug637.
2614 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2615 to not double-declare existing outputs and inputs, respectively.
2616 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2617 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2618 (verilog-sk-uvm-component): New skeleton.
2619 (verilog-submit-bug-report): Add verilog-case-fold,
2620 remove verilog-mode-release-date.
2621
2622 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2623
2624 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2625 as before.
2626
2627 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2628
2629 * textmodes/remember.el (remember): set buffer-offer-save in
2630 remember buffers (bug#13566).
2631
2632 2013-10-18 Daniel Colascione <dancol@dancol.org>
2633
2634 When evaluating forms in ielm, direct standard output to ielm
2635 buffer. Add new ielm-return-for-effect command. Remove trailing
2636 whitespace throughout.
2637
2638 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2639 (ielm-return-for-effect): New command.
2640 (ielm-send-input): Accept optional `for-effect' parameter.
2641 (ielm-eval-input): Accept optional `for-effect' parameter.
2642 Bind `standard-output' to stream we create using
2643 `ielm-standard-output-impl'. Suppress printing result when
2644 `for-effect'.
2645 (ielm-standard-output-impl): New function.
2646 (inferior-emacs-lisp-mode): Explain new features in documentation.
2647
2648 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2649
2650 Code cleanup.
2651
2652 * net/tramp.el (tramp-debug-message): Do not check for connection
2653 buffer.
2654 (tramp-message): Use "vector" connection property.
2655
2656 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2657 (tramp-equal-remote, tramp-eshell-directory-change)
2658 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2659 (tramp-adb-handle-rename-file)
2660 * net/tramp-cmds.el (tramp-list-remote-buffers)
2661 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2662 * net/tramp-compat.el (tramp-compat-process-running-p)
2663 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2664 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2665 (tramp-gvfs-handle-rename-file)
2666 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2667 (tramp-set-file-uid-gid)
2668 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2669 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2670 of `file-remote-p'.
2671
2672 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2673 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2674 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2675 (tramp-gw-open-network-stream): Suppress unrelated traces.
2676
2677 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2678 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2680 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2681 connection property.
2682
2683 * net/tramp-cache.el (top): Suppress traces when reading
2684 persistency file.
2685
2686 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2687 Refactor common code. Improve debug message.
2688 (tramp-maybe-open-connection)
2689 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2690 connection buffer too early.
2691
2692 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2693 from `tramp-smb-actions-with-acl'.
2694 (tramp-smb-actions-set-acl): New defconst.
2695 (tramp-smb-handle-copy-directory)
2696 (tramp-smb-action-get-acl): New defun, renamed from
2697 `tramp-smb-action-with-acl'.
2698 (tramp-smb-action-set-acl): New defun.
2699 (tramp-smb-handle-set-file-acl): Rewrite.
2700
2701 2013-10-17 Glenn Morris <rgm@gnu.org>
2702
2703 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2704
2705 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * skeleton.el (skeleton-newline): Remove.
2708 (skeleton-internal-1): Use (insert "\n") instead.
2709
2710 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2711 let-bindings.
2712
2713 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2714 forward-sexp-function while we redo its job (bug#15613).
2715
2716 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2717
2718 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2719 represented by lists.
2720
2721 2013-10-16 Glenn Morris <rgm@gnu.org>
2722
2723 * tmm.el (tmm--history): New dynamic variable.
2724 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2725
2726 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2727
2728 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2729 (tramp-smb-errors): Add error messages.
2730 (tramp-smb-actions-with-acl): New defconst.
2731 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2732 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2733 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2734 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2735 (tramp-smb-get-stat-capability): Fix tests.
2736
2737 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2738
2739 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2740 (bug#15580).
2741
2742 2013-10-16 Glenn Morris <rgm@gnu.org>
2743
2744 * ansi-color.el (ansi-color-drop-regexp):
2745 Add 1J, 1K, 2K. (Bug#15617)
2746
2747 * files.el (hack-local-variables--warned-lexical): New.
2748 (hack-local-variables):
2749 Warn about misplaced lexical-binding. (Bug#15616)
2750
2751 * net/eww.el (eww-render): Always set eww-current-url,
2752 and update header line. (Bug#15622)
2753 (eww-display-html): ... Rather than just doing it here.
2754
2755 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2756
2757 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2758 menu navigations commands.
2759
2760 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2761
2762 * progmodes/subword.el (subword-capitalize): Be careful when
2763 the search for [[:alpha:]] fails (bug#15580).
2764
2765 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2766
2767 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2768 to commands that scroll the menu.
2769
2770 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2773 Handle methods ending with `?' and `!'.
2774
2775 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2776
2777 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2778 `japanese-cp932' to `cp932' to fix the problem where saving a
2779 source file written in Shift_JIS twice would end up having
2780 `coding: japanese-cp932' which Ruby could not recognize.
2781 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2782 in `ruby-encoding-map'.
2783 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2784 doesn't need to be explicitly declared in magic comment.
2785 (ruby-encoding-map): Add type declaration for better customize UI.
2786
2787 2013-10-13 Glenn Morris <rgm@gnu.org>
2788
2789 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2790 Occur buffers are read-only. http://bugs.debian.org/720775
2791
2792 * emacs-lisp/authors.el (authors-fixed-entries):
2793 Comment out old alpha stuff.
2794
2795 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2796
2797 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2798 to `after-save-hook' instead of `before-save-hook'.
2799 (ruby-mode-set-encoding): Use the value of coding system used to
2800 write the file. Call `basic-save-buffer-1' after modifying the
2801 buffer.
2802
2803 2013-10-13 Alan Mackenzie <acm@muc.de>
2804
2805 Fix indentation/fontification of Java enum with
2806 "implements"/generic.
2807
2808 * progmodes/cc-engine.el (c-backward-over-enum-header):
2809 Extracted from the three other places and enhanced to handle generics.
2810 (c-inside-bracelist-p): Uses new function above.
2811 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2812 function above.
2813 (c-font-lock-enum-tail): Uses new function above.
2814
2815 2013-10-13 Kenichi Handa <handa@gnu.org>
2816
2817 * international/mule-cmds.el (select-safe-coding-system): Remove a
2818 superfluous condition in chekcing whether a coding system is safe
2819 or not.
2820
2821 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2822
2823 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2824
2825 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2826
2827 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2828
2829 2013-10-13 Glenn Morris <rgm@gnu.org>
2830
2831 * menu-bar.el (menu-bar-update-buffers):
2832 Unify Buffers menu prompt string. (Bug#15576)
2833
2834 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2835
2836 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2837 Add some entries.
2838 (authors-fixed-entries): Use accented form of name.
2839
2840 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2843 method calls (bug#15594).
2844 (ruby-smie--args-separator-p): New function.
2845 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2846 recognize paren-free method calls.
2847
2848 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2849 internals of universal-argument.
2850
2851 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2852
2853 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2854 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2855 dropped menu on second mouse click on the menu bar.
2856
2857 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2860 (explicit-shell-file-name): Declare.
2861 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2862 (sh-completion-at-point-function): New function.
2863 (sh-mode): Use it.
2864 (sh-smie--keyword-p): Remove unused argument.
2865 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2866 vars.
2867 (sh-set-shell): Always setup SMIE, even if we use the
2868 old indentation code.
2869
2870 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2871
2872 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2873 cases of ? and =.
2874 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2875 predicate would return nil are almost non-existent.
2876 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2877
2878 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2879 cache also after commands that modify the buffer but don't move
2880 point.
2881
2882 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * env.el (substitute-env-in-file-name): New function.
2885 (substitute-env-vars): Extend the meaning of the optional arg.
2886
2887 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2888
2889 * term/w32-win.el (dynamic-library-alist): Define separate lists
2890 of GIF DLLs for versions before and after 5.0.0 of giflib.
2891 (Bug#15531)
2892
2893 2013-10-10 João Távora <joaotavora@gmail.com>
2894
2895 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2896 not locked, use last revision and current source as
2897 defaults. (Bug#15569)
2898
2899 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2900
2901 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2902 menu-bar is hidden.
2903
2904 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2905
2906 * window.el (pop-to-buffer-same-window): Fix doc-string.
2907 (Bug#15492)
2908
2909 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2912
2913 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2914
2915 * calendar/icalendar.el (icalendar-import-file):
2916 Fix interactive spec. (Bug#15482)
2917
2918 2013-10-10 Glenn Morris <rgm@gnu.org>
2919
2920 * desktop.el (desktop-save): Default to saving in .emacs.d,
2921 since PWD is no longer in desktop-path by default. (Bug#15319)
2922
2923 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2924 now that text mode has a menu with the same entry.
2925 (menu-bar-text-mode-auto-fill): Remove now unused func.
2926 * textmodes/text-mode.el (text-mode-map):
2927 Use auto-fill help text from menu-bar.el.
2928
2929 2013-10-10 John Anthony <john@jo.hnanthony.com>
2930
2931 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2932
2933 2013-10-09 Juri Linkov <juri@jurta.org>
2934
2935 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2936 instead of this-command-keys. Add universal-argument-more and
2937 universal-argument-minus to the list of prefix commands. (Bug#15568)
2938
2939 2013-10-09 Glenn Morris <rgm@gnu.org>
2940
2941 * vc/vc-svn.el (vc-svn-create-repo):
2942 Expand paths in file://... url. (Bug#15446)
2943
2944 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2945 Add some entries.
2946 (authors): Remove unused local variables.
2947
2948 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * profiler.el: Create a more coherent calltree from partial backtraces.
2951 (profiler-format): Hide the tail with `invisible' so that C-s can still
2952 find the hidden elements.
2953 (profiler-calltree-depth): Don't recurse so enthusiastically.
2954 (profiler-function-equal): New hash-table-test.
2955 (profiler-calltree-build-unified): New function.
2956 (profiler-calltree-build): Use it.
2957 (profiler-report-make-name-part): Indent the calltree less.
2958 (profiler-report-mode): Add visibility specs for profiler-format.
2959 (profiler-report-expand-entry, profiler-report-toggle-entry):
2960 Expand the whole subtree when provided with a prefix arg.
2961
2962 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2963
2964 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2965 iuwu-mod token.
2966 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2967 hanging iuwu-mod token.
2968 (ruby-smie--forward-token): Do not include a dot after a token in
2969 that token.
2970 (ruby-smie--backward-token): Likewise.
2971
2972 2013-10-08 Juri Linkov <juri@jurta.org>
2973
2974 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2975 to isearch-other-control-char.
2976 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2977 and isearch-post-command-hook to post-command-hook.
2978 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2979 and isearch-post-command-hook from post-command-hook.
2980 (isearch-unread-key-sequence)
2981 (isearch-reread-key-sequence-naturally)
2982 (isearch-lookup-scroll-key, isearch-other-control-char)
2983 (isearch-other-meta-char): Remove functions.
2984 (isearch-pre-command-hook, isearch-post-command-hook):
2985 New functions based on isearch-other-meta-char rewritten
2986 relying on the new behavior of overriding-terminal-local-map
2987 that does not replace the local keymaps any more. (Bug#15200)
2988
2989 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2990
2991 Support menus on text-mode terminals.
2992 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2993 functionality.
2994
2995 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2996
2997 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2998 Move here from mouse.el.
2999 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3000 and arrow keys.
3001 (tty-menu-navigation-map): New map for TTY menu navigation.
3002
3003 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3004
3005 * frame.el (display-mouse-p): Report text-mode mouse as available
3006 on w32.
3007 (display-popup-menus-p): Report availability if mouse is
3008 available; don't condition on window-system.
3009
3010 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3011 (tty-menu-selected-face): New faces.
3012
3013 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3016 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3017 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3018 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3019 New constants.
3020 (lisp-mode-variables): New `elisp' argument.
3021 (emacs-lisp-mode): Use it.
3022 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3023 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3024
3025 * indent.el: Use lexical-binding.
3026 (indent-region): Add progress reporter.
3027 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3028 last step.
3029 (indent--next-tab-stop): New function to implement this behavior.
3030 (tab-to-tab-stop, move-to-tab-stop): Use it.
3031
3032 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3033
3034 * indent.el (indent-rigidly--current-indentation): New function.
3035 (indent-rigidly-map): New var.
3036 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3037
3038 2013-10-08 Bastien Guerry <bzg@gnu.org>
3039
3040 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3041
3042 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * progmodes/perl-mode.el: Use lexical-binding.
3045 Remove redundant :group args.
3046 (perl-nochange): Change default to be closer to other major modes's
3047 standard behavior.
3048 (perl-indent-line): Don't consider text on current line as a
3049 valid beginning of function from which to indent.
3050
3051 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3052 with more than one argument (bug#15538).
3053
3054 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3055
3056 * vc/pcvs.el: Use lexical-binding.
3057 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3058 environment of `eval'.
3059 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3060 than a list of expressions. Adjust callers.
3061 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3062
3063 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3064
3065 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3066 case of the dot in a chained method call being on the following line.
3067
3068 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * electric.el (electric-indent-inhibit): New var.
3071 (electric-indent-post-self-insert-function): Use it.
3072 * progmodes/python.el (python-mode): Set it.
3073
3074 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3075 open braces.
3076
3077 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3078
3079 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3080 (css-mode): Use electric-indent-chars.
3081
3082 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3083 (font-lock-beg, font-lock-end): Move before first use.
3084 (nxml-mode): Use syntax-propertize-function.
3085 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3086 (nxml-extend-after-change-region): Remove.
3087 * nxml/xmltok.el: Use lexical-binding.
3088 (xmltok-save): Use `declare'.
3089 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3090 * nxml/nxml-util.el: Use lexical-binding.
3091 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3092 Use `declare'.
3093 * nxml/nxml-ns.el: Use lexical-binding.
3094 (nxml-ns-save): Use `declare'.
3095 (nxml-ns-prefixes-for): Avoid add-to-list.
3096 * nxml/rng-match.el: Use lexical-binding.
3097 (rng--ipattern): Use cl-defstruct.
3098 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3099 (rng-cons-group-after, rng-subst-group-after)
3100 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3101 Use closures instead of `(lambda...).
3102
3103 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3104
3105 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3106 of BEG and END.
3107
3108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3109 Use `tramp-handle-insert-file-contents'.
3110 (tramp-gvfs-handle-insert-file-contents): Remove function.
3111
3112 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3113 Use `save-restriction' in order to keep markers.
3114
3115 * net/trampver.el: Update release number.
3116
3117 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * progmodes/compile.el (compilation-parse-errors):
3120 Use compilation--put-prop.
3121 (compilation--ensure-parse): Check compilation-multiline.
3122
3123 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3124
3125 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3126 lexical-binding.
3127
3128 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3129
3130 * progmodes/ruby-mode.el: Fix recently added tests.
3131 (ruby-smie-grammar): Add - and +.
3132 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3133 (ruby-smie--backward-id): New functions.
3134 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3135 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3136 any more.
3137
3138 2013-10-07 Leo Liu <sdl.web@gmail.com>
3139
3140 * register.el (register-preview-delay)
3141 (register-preview-functions): New variables.
3142 (register-read-with-preview, register-preview)
3143 (register-describe-oneline): New functions.
3144 (point-to-register, window-configuration-to-register)
3145 (frame-configuration-to-register, jump-to-register)
3146 (number-to-register, view-register, insert-register)
3147 (copy-to-register, append-to-register, prepend-to-register)
3148 (copy-rectangle-to-register): Use register-read-with-preview to
3149 read register. (Bug#15525)
3150
3151 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3152
3153 * net/network-stream.el (network-stream-open-starttls): Don't add
3154 --insecure if it's already present, because that gnutls-cli
3155 rejects getting that parameter twice.
3156
3157 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3158
3159 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3160 keyword, too.
3161
3162 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3163
3164 * newcomment.el (comment-use-global-state): Change default value
3165 to t, mark obsolete (Bug#15251).
3166 (comment-beginning): In addition to `comment-to-syntax', check the
3167 value of `comment-use-global-state'.
3168
3169 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3172 (ruby-comment-column): Follow the global default, by default.
3173 (ruby-smie-grammar): Add assignment syntax.
3174 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3175 open-paren, a comma, or a \.
3176 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3177 and line continuations.
3178 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3179 followed by implicit semi-colons. Add rule for string concatenation
3180 and for indentation at BOB.
3181 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3182
3183 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3184 calling next-sexp, since next-token may have skipped chars which
3185 next-sexp doesn't know should be skipped!
3186
3187 2013-10-05 Leo Liu <sdl.web@gmail.com>
3188
3189 * progmodes/octave.el (octave-send-region):
3190 Call compilation-forget-errors.
3191
3192 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3193
3194 * vc/vc-svn.el (vc-svn-find-admin-dir):
3195 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3196 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3197 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3198 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3199
3200 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3203
3204 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * subr.el (read-passwd): Hide chars even when called within a context
3207 where after-change-functions is disabled (bug#15501).
3208 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3209 until we removed ourself from overriding-terminal-local-map.
3210
3211 2013-10-04 Leo Liu <sdl.web@gmail.com>
3212
3213 * progmodes/octave.el (inferior-octave-mode):
3214 Call compilation-forget-errors.
3215
3216 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3217
3218 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3219
3220 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * net/secrets.el (secrets-create-collection): Add optional
3223 argument ALIAS. Use proper Label keyword. Append ALIAS as
3224 dbus-call-method argument. (Bug#15516)
3225
3226 2013-10-04 Leo Liu <sdl.web@gmail.com>
3227
3228 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3229 (inferior-octave-compilation-font-lock-keywords): New variables.
3230 (compilation-error-regexp-alist)
3231 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3232 (inferior-octave-mode): Use compilation-shell-minor-mode.
3233
3234 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3235
3236 * minibuffer.el (completion--replace): Be careful that `end' might be
3237 a marker.
3238
3239 2013-10-03 Daiki Ueno <ueno@gnu.org>
3240
3241 Add support for package signature checking.
3242 * emacs-lisp/package.el (url-http-file-exists-p)
3243 (epg-make-context, epg-context-set-home-directory)
3244 (epg-verify-string, epg-context-result-for)
3245 (epg-signature-status, epg-signature-to-string)
3246 (epg-check-configuration, epg-configuration)
3247 (epg-import-keys-from-file): Declare.
3248 (package-check-signature): New user option.
3249 (package-unsigned-archives): New user option.
3250 (package-desc): Add `signed' field.
3251 (package-load-descriptor): Set `signed' field if .signed file exists.
3252 (package--archive-file-exists-p): New function.
3253 (package--check-signature): New function.
3254 (package-install-from-archive): Check package signature.
3255 (package--download-one-archive): Check archive signature.
3256 (package-delete): Remove .signed file.
3257 (package-import-keyring): New command.
3258 (package-refresh-contents): Import default keyring.
3259 (package-desc-status): Add "unsigned" status.
3260 (describe-package-1, package-menu--print-info)
3261 (package-menu-mark-delete, package-menu--find-upgrades)
3262 (package-menu--status-predicate): Support "unsigned" status.
3263
3264 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3267 the new compilation scheme using the new byte-codes.
3268
3269 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3270 (byte-pophandler): New byte codes.
3271 (byte-goto-ops): Adjust accordingly.
3272 (byte-compile--use-old-handlers): New var.
3273 (byte-compile-catch): Use new byte codes depending on
3274 byte-compile--use-old-handlers.
3275 (byte-compile-condition-case--old): Rename from
3276 byte-compile-condition-case.
3277 (byte-compile-condition-case--new): New function.
3278 (byte-compile-condition-case): New function that dispatches depending
3279 on byte-compile--use-old-handlers.
3280 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3281 when we can.
3282
3283 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3284 Optimize under `condition-case' and `catch' if
3285 byte-compile--use-old-handlers is nil.
3286 (disassemble-offset): Handle new bytecodes.
3287
3288 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * subr.el (error): Use `declare'.
3291 (decode-char, encode-char): Use advertised-calling-convention instead
3292 of the docstring to discourage use of the `restriction' arg.
3293
3294 2013-10-03 Daiki Ueno <ueno@gnu.org>
3295
3296 * epg.el (epg-verify-file): Add a comment saying that it does not
3297 notify verification error as a return value nor a signal.
3298 (epg-verify-string): Ditto.
3299
3300 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3301
3302 * progmodes/compile.el (compilation-start): Try globbing the arg to
3303 `cd' (bug#15417).
3304
3305 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3306
3307 Sync with Tramp 2.2.8.
3308
3309 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3310 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3311 * net/trampver.el: Update release number.
3312
3313 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3314
3315 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3316 and default-process-coding-system for darwin only.
3317
3318 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3321
3322 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3323
3324 * vc/vc-git.el (vc-git-grep): Disable pager.
3325
3326 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3327
3328 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3329 Use :url instead of :homepage, as per
3330 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3331
3332 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3333 non-nil, use `syntax-ppss' (Bug#15251).
3334
3335 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3336
3337 * progmodes/octave.el (inferior-octave-startup-file):
3338 Prefer ~/.emacs.d/init_octave.m.
3339
3340 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3341
3342 * emacs-lisp/package.el (package-desc-from-define):
3343 Accept additional arguments as plist, convert them to an alist and store
3344 them in the `extras' slot.
3345 (package-generate-description-file): Convert extras alist back to
3346 plist and append to the `define-package' form arguments.
3347 (package--alist-to-plist): New function.
3348 (package--ac-desc): Add `extras' slot.
3349 (package--add-to-archive-contents): Check if the archive-contents
3350 vector is long enough, and if it is, pass its `extras' slot value
3351 to `package-desc-create'.
3352 (package-buffer-info): Call `lm-homepage', pass the returned value
3353 to `package-desc-from-define'.
3354 (describe-package-1): Render the homepage button (Bug#13291).
3355
3356 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3357 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3358
3359 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3360
3361 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3362 and default-process-coding-system to utf-8-unix (Bug#15402).
3363
3364 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3365
3366 * subr.el (looking-back): Do not recommend using looking-back.
3367
3368 2013-09-28 Alan Mackenzie <acm@muc.de>
3369
3370 Fix indentation/fontification of Java enum with "implements".
3371
3372 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3373 regexp which matches "implements", etc., in Java.
3374 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3375 specifier clauses coming after "enum".
3376 * progmodes/cc-fonts.el (c-font-lock-declarations)
3377 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3378 after "enum".
3379
3380 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3381
3382 * faces.el (region): Change ns_selection_color to
3383 ns_selection_fg_color, add ns_selection_bg_color.
3384
3385 2013-09-28 Leo Liu <sdl.web@gmail.com>
3386
3387 * progmodes/octave.el (inferior-octave-completion-table)
3388 (inferior-octave-completion-at-point): Minor tweaks.
3389
3390 * textmodes/ispell.el (ispell-lookup-words): Rename from
3391 lookup-words. (Bug#15460)
3392 (lookup-words): Obsolete.
3393 (ispell-complete-word, ispell-command-loop): All uses changed.
3394
3395 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3396
3397 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3398 (octave-mode-menu): Add octave-send-buffer.
3399 (octave-send-buffer): New function.
3400
3401 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3402
3403 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3404 octave-lookfor.
3405 (octave-mode-menu): Add octave-lookfor.
3406 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3407 octave-lookfor.
3408 (octave-lookfor): New function.
3409
3410 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/cl-macs.el:
3413 (cl--loop-destr-temps): Remove.
3414 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3415 its convention.
3416 (cl--loop-set-iterator-function): New function.
3417 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3418 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3419 Bind `it' with `let' instead of substituting it with `cl-subst'.
3420 (cl--unused-var-p): New function.
3421 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3422 Eliminate some unused variable warnings (bug#15326).
3423
3424 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3425
3426 * doc-view.el (doc-view-scale-reset): Rename from
3427 `doc-view-reset-zoom-level'.
3428 (doc-view-scale-adjust): New command.
3429 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3430 `doc-view-scale-adjust'.
3431
3432 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3433
3434 * doc-view.el (doc-view-reset-zoom-level): New command.
3435 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3436 zoom commands (bug#15466).
3437
3438 2013-09-26 Kenichi Handa <handa@gnu.org>
3439
3440 * international/quail.el (quail-help): Make it not a command.
3441
3442 2013-09-26 Leo Liu <sdl.web@gmail.com>
3443
3444 * minibuffer.el (completion-all-sorted-completions): Make args
3445 optional as they are.
3446
3447 2013-09-25 Daniel Colascione <dancol@dancol.org>
3448
3449 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3450 specs are and that they're not evaluated.
3451
3452 2013-09-24 Sam Steingold <sds@gnu.org>
3453
3454 * midnight.el (clean-buffer-list-kill-regexps)
3455 (clean-buffer-list-kill-buffer-names): Update for the new Man
3456 buffer naming which includes the object name.
3457
3458 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3461 (eshell-parse-command, eshell-parse-pipeline): Use it since
3462 eshell-separate-commands requires a dynamic scoped var.
3463 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3464
3465 2013-09-23 Leo Liu <sdl.web@gmail.com>
3466
3467 * autoinsert.el (auto-insert-alist): Make the value of
3468 lexical-binding match its file setting.
3469
3470 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3471
3472 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3473
3474 * autoarg.el (autoarg-kp-digit-argument):
3475 * electric.el (Electric-command-loop):
3476 * kmacro.el (kmacro-step-edit-insert):
3477 Do not set universal-argument-num-events.
3478
3479 2013-09-22 Leo Liu <sdl.web@gmail.com>
3480
3481 * files.el (interpreter-mode-alist): Add octave.
3482
3483 2013-09-21 Alan Mackenzie <acm@muc.de>
3484
3485 C++: fontify identifier in declaration following "public:" correctly.
3486 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3487 to match "public", etc.
3488 (c-decl-prefix-re): Add ":" into the C++ value.
3489 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3490 bit. Add a check for a ":" preceded by "public", etc.
3491
3492 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3493
3494 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3495 recognized by GDB 7.5 and later.
3496
3497 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3498
3499 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3500
3501 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * subr.el (internal--call-interactively): New const.
3504 (called-interactively-p): Use it (bug#3984).
3505
3506 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3507
3508 * vc/pcvs.el (cvs-mode-ignore):
3509 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3510 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3511
3512 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3515 (eshell-ls-orig-insert-directory): Remove.
3516 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3517 (eshell-ls-use-in-dired): Use advice-add/remove.
3518 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3519 Add `orig-fun' arg for use in :around advice.
3520 Make it check (redundantly) eshell-ls-use-in-dired.
3521
3522 2013-09-19 Glenn Morris <rgm@gnu.org>
3523
3524 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3525
3526 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3527
3528 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3529
3530 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3533 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3534 (tramp-get-remote-python): New defuns.
3535 (tramp-get-remote-uid-with-perl)
3536 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3537 contributed by yary <not.com@gmail.com> (tiny change).
3538 (tramp-get-remote-uid-with-python)
3539 (tramp-get-remote-gid-with-python): New defuns. Python code
3540 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3541 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3542
3543 2013-09-19 Glenn Morris <rgm@gnu.org>
3544
3545 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3546
3547 * eshell/em-unix.el (eshell-remove-entries):
3548 Rename argument to avoid name-clash with global `top-level'.
3549
3550 * eshell/esh-proc.el (eshell-kill-process-function):
3551 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3552 (eshell-reset-after-proc): Remove unused arg `proc'.
3553
3554 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3555 (directory-files-and-attributes): Mark unused arg.
3556
3557 * eshell/em-unix.el (eshell-remove-entries):
3558 Remove unused arg `path'. Update callers.
3559
3560 * eshell/em-hist.el (eshell-hist-parse-arguments):
3561 Remove unused arg `silent'. Update callers.
3562
3563 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3564 Fix (f)boundp mix-up.
3565
3566 * eshell/em-smart.el (eshell-smart-scroll-window)
3567 (eshell-disable-after-change):
3568 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3569
3570 2013-09-18 Alan Mackenzie <acm@muc.de>
3571
3572 Fix fontification of type when followed by "const".
3573 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3574 "known" types from fontification.
3575
3576 2013-09-18 Glenn Morris <rgm@gnu.org>
3577
3578 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3579 (chart-face-list): Drop Emacsen without display-color-p.
3580
3581 * net/eww.el (libxml-parse-html-region): Declare.
3582 (eww-display-html): Explicit error if no libxml2 support.
3583
3584 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3585
3586 * image.el (image-type-from-buffer, image-multi-frame-p):
3587 Remove --without-x warning/error.
3588
3589 * mouse.el (mouse-yank-primary):
3590 * term.el (term-mouse-paste):
3591 Reorder to silence --without-x compilation.
3592
3593 * mpc.el (doc-view-mode): Silence --without-x compilation.
3594
3595 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3596 Silence --without-x compilation.
3597
3598 * progmodes/gud.el (gud-find-file, gud-mode):
3599 Silence --without-x compilation.
3600 (tooltip-mode): Declare.
3601
3602 * wdired.el (dired-backup-overwrite): Remove declaration.
3603 (wdired-mode-map): Add doc string.
3604
3605 * custom.el (x-get-resource): Declare.
3606
3607 * eshell/em-glob.el (ange-cache):
3608 * eshell/em-unix.el (ange-cache): Declare.
3609
3610 * faces.el (x-display-list, x-open-connection, x-get-resource):
3611 Declare.
3612
3613 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3614 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3615 Declare.
3616
3617 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3618
3619 * net/gnutls.el (gnutls-log-level): Declare.
3620
3621 * net/shr.el (image-size, image-animate): Declare.
3622
3623 * simple.el (font-info): Declare.
3624
3625 * subr.el (x-popup-dialog): Declare.
3626
3627 * term/common-win.el (x-select-enable-primary)
3628 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3629 Declare.
3630
3631 * term/ns-win.el (x-handle-args): Declare.
3632
3633 * term/x-win.el (x-select-enable-clipboard): Declare.
3634
3635 * term/w32-win.el (create-default-fontset): Declare.
3636
3637 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3638 Declare.
3639
3640 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3641 (fit-frame-to-buffer): Explicit error if --without-x.
3642 (mouse-autoselect-window-select): Silence compiler.
3643
3644 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3645
3646 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3647 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3648 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3649 * eshell/esh-util.el (eshell-sublist):
3650 Remove unused local variables.
3651
3652 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3653
3654 * textmodes/two-column.el: Make 2C-split work for --without-x.
3655 (scroll-bar-columns): Autoload.
3656 (top-level): Require fringe when compiling.
3657
3658 2013-09-18 Leo Liu <sdl.web@gmail.com>
3659
3660 * subr.el (add-hook): Robustify to handle closure as well.
3661
3662 2013-09-17 Glenn Morris <rgm@gnu.org>
3663
3664 * simple.el (messages-buffer-mode-map): Unbind "g".
3665
3666 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * help-mode.el (help-mode-finish): Use derived-mode-p.
3669 Remove obsolete highlighting.
3670
3671 * play/life.el (life-mode): Use define-derived-mode. Derive from
3672 special-mode.
3673 (life): Let-bind inhibit-read-only.
3674 (life-setup): Avoid `setq'. Use `life-mode'.
3675
3676 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3677 which should not be needed any more.
3678 (package-menu-refresh, package-menu-describe-package): Use user-error.
3679
3680 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3681 (eshell-post-rewrite-command-hook): Make obsolete.
3682 (eshell-parse-command): Simplify.
3683 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3684 (eshell--cmd): Declare.
3685 (eshell-parse-pipeline): Remove unused var `final-p'.
3686 Pass a dynvar to eshell-post-rewrite-command-hook.
3687 Implement the new eshell-post-rewrite-command-function.
3688 (eshell-invoke-directly): Remove unused arg `input'.
3689 * eshell/esh-io.el (eshell-io-initialize):
3690 Use eshell-post-rewrite-command-function (bug#15399).
3691 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3692 adjust to new calling convention.
3693 (eshell-create-handles): Rename args to avoid clashing with dynvar
3694 `standard-output'.
3695
3696 2013-09-17 Glenn Morris <rgm@gnu.org>
3697
3698 * simple.el (messages-buffer-mode): New major mode.
3699 (messages-buffer): New function.
3700 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3701 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3702 (ert-run-test): Use `messages-buffer' function.
3703 (ert--force-message-log-buffer-truncation): Ignore read-only.
3704 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3705 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3706
3707 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3710
3711 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3712
3713 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * icomplete.el (icomplete-in-buffer): New var.
3716 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3717 vars and replace them with functions.
3718 (icomplete-minibuffer-setup): Adjust accordingly.
3719 (icomplete--completion-table, icomplete--completion-predicate)
3720 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3721 New functions.
3722 (icomplete-forward-completions, icomplete-backward-completions)
3723 (icomplete-simple-completing-p, icomplete-exhibit)
3724 (icomplete-completions): Use them.
3725 (icomplete--in-region-buffer): New var.
3726 (icomplete--in-region-setup): New function.
3727 (icomplete-mode): Use it.
3728
3729 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3730 (bug#15379).
3731 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3732 return args and options.
3733 (eshell-eval-using-options): Use the new return value of
3734 eshell--do-opts to set the options's vars in their scope.
3735 (eshell--set-option): Rename from eshell-set-option.
3736 Add arg `opt-vals'.
3737 (eshell--process-option): Rename from eshell-process-option.
3738 Add arg `opt-vals'.
3739 (eshell--process-args): Use an `opt-vals' alist to store the options's
3740 values during their processing and return them additionally to the
3741 remaining args.
3742
3743 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3744
3745 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3746 continuation character an operator, as far as indentation is
3747 concerned (Bug#15369).
3748
3749 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3750
3751 * window.el (window--state-put-2): Don't process buffer state
3752 when buffer doesn't exist any more (Bug#15382).
3753
3754 2013-09-15 Glenn Morris <rgm@gnu.org>
3755
3756 * eshell/em-unix.el (eshell/rm):
3757 Make -f ignore missing files. (Bug#15373)
3758
3759 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3760 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3761 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3762
3763 2013-09-14 Glenn Morris <rgm@gnu.org>
3764
3765 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3766
3767 2013-09-13 Glenn Morris <rgm@gnu.org>
3768
3769 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3770 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3771
3772 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3773
3774 * frame.el (x-focus-frame): Mark as declared in frame.c.
3775
3776 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * ls-lisp.el: Use advice-add.
3779 (original-insert-directory): Remove.
3780 (ls-lisp--insert-directory): Rename from insert-directory; add
3781 `orig-fun' argument.
3782 (insert-directory): Advise.
3783
3784 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3785
3786 * term.el (term-emulate-terminal): Decode the command string
3787 before passing it to term-command-hook. (Bug#15337)
3788
3789 2013-09-13 Glenn Morris <rgm@gnu.org>
3790
3791 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3792
3793 * eshell/esh-ext.el (eshell-search-path): Declare.
3794
3795 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3796 Otherwise an error occurs if eshell-dirs module not loaded.
3797
3798 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3799
3800 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3801
3802 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3803 `tramp-check-proper-host'. Check for a valid method name.
3804
3805 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3806 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3807 * net/tramp-sh.el (tramp-maybe-open-connection):
3808 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3809
3810 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3811 also for hash values.
3812
3813 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * term/ns-win.el (parameters): Don't declare as dynamic.
3816 (before-make-frame-hook): Don't add ineffective function.
3817
3818 * eshell/*.el: Use lexical-binding (bug#15231).
3819
3820 2013-09-12 Kenichi Handa <handa@gnu.org>
3821
3822 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3823
3824 2013-09-12 Glenn Morris <rgm@gnu.org>
3825
3826 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3827 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3828
3829 * subr.el (do-after-load-evaluation): Also give compiler warnings
3830 when obsolete files are used (except by obsolete files).
3831
3832 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3833 in the status output, assume `filename' is the first. (Bug#15322)
3834
3835 * vc/vc.el (vc-deduce-fileset): Doc fix.
3836
3837 * calc/calc-help.el (Info-goto-node):
3838 * progmodes/cperl-mode.el (Info-find-node):
3839 * vc/ediff.el (Info-goto-node): Update declarations.
3840
3841 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3842
3843 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3844 (vc-bzr-pull): Require vc-dispatcher.
3845 * vc/vc-git.el (vc-compilation-mode): Declare.
3846 (vc-git-pull): Require vc-dispatcher.
3847
3848 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3849
3850 * progmodes/octave.el (help-button-action): Declare.
3851
3852 * shell.el (shell-directory-tracker): Output error as a message
3853 rather than just returning it as a string.
3854 (shell-process-pushd): Remove useless use of message.
3855
3856 * dframe.el (dframe-timer-fn):
3857 * files.el (dir-locals-read-from-file):
3858 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3859 (mpc-format):
3860 * reveal.el (reveal-post-command):
3861 * saveplace.el (load-save-place-alist-from-file):
3862 * shell.el (shell-resync-dirs):
3863 * w32-common-fns.el (x-get-selection-value):
3864 * emacs-lisp/copyright.el (copyright-find-copyright):
3865 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3866 * emulation/tpu-edt.el (tpu-copy-keyfile):
3867 * play/bubbles.el (bubbles--mark-neighbourhood):
3868 * progmodes/executable.el
3869 (executable-make-buffer-file-executable-if-script-p):
3870 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3871
3872 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 Cleanup Eshell to rely less on dynamic scoping.
3875 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3876 last-value, and ext-command here. Bind `args' closer to `body'.
3877 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3878 (eshell--args): Declare new dynamic var.
3879 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3880 last-value, and ext-command. Pass `args' to `body'.
3881 (eshell-process-args): Bind eshell--args.
3882 (eshell-set-option): Use eshell--args.
3883 * eshell/eshell.el (eshell): Use derived-mode-p.
3884 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3885 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3886 (eshell-glob-function): Declare.
3887 * eshell/esh-util.el: Require cl-lib.
3888 (eshell-read-hosts-file): Avoid add-to-list.
3889 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3890 `err'.
3891 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3892 Declare.
3893 (eshell/diff): Remove unused var `err'.
3894 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3895 `killflag'.
3896 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3897 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3898 first use.
3899 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3900 Move declaration before first use.
3901 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3902 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3903 rely on cl-return.
3904
3905 2013-09-12 Glenn Morris <rgm@gnu.org>
3906
3907 * term/ns-win.el (global-map): Remove binding for ispell-next,
3908 deleted 1999-05-29. (Bug#15357)
3909
3910 2013-09-11 Glenn Morris <rgm@gnu.org>
3911
3912 * echistory.el (electric-command-history): Remove call to deleted func.
3913
3914 * play/landmark.el (landmark-mode): Fix typos.
3915
3916 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3917 Check cvs-sort-ignore-file is bound.
3918
3919 * savehist.el: No need for cl when compiling on Emacs.
3920
3921 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3924 (bug#15338).
3925 (eshell-self-insert-command, eshell-send-invisible):
3926 Remove unused argument.
3927 (eshell-handle-control-codes): Remove unused var `orig'.
3928 Avoid delete-backward-char.
3929
3930 * files.el (set-auto-mode): Simplify a bit further.
3931
3932 2013-09-11 Glenn Morris <rgm@gnu.org>
3933
3934 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3935 (set-auto-mode): Don't regexp-quote elements.
3936 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3937 * progmodes/cc-mode.el (interpreter-mode-alist):
3938 * progmodes/ruby-mode.el (interpreter-mode-alist):
3939 Revert previous change.
3940
3941 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * play/snake.el (snake-mode):
3944 * play/mpuz.el (mpuz-mode):
3945 * play/landmark.el (lm-mode):
3946 * play/blackbox.el (blackbox-mode):
3947 * play/5x5.el (5x5-mode):
3948 * obsolete/options.el (Edit-options-mode):
3949 * net/quickurl.el (quickurl-list-mode):
3950 * net/newst-treeview.el (newsticker-treeview-mode):
3951 * mail/rmailsum.el (rmail-summary-mode):
3952 * mail/mspools.el (mspools-mode):
3953 * locate.el (locate-mode):
3954 * ibuffer.el (ibuffer-mode):
3955 * emulation/ws-mode.el (wordstar-mode):
3956 * emacs-lisp/debug.el (debugger-mode):
3957 * array.el (array-mode):
3958 * net/eudc.el (eudc-mode): Use define-derived-mode.
3959 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3960 Move initialization into declaration.
3961 (mairix-searches-mode): Use define-derived-mode.
3962 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3963 (eudc-edit-hotlist): Use dolist.
3964 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3965 (Man-mode): Use define-derived-mode.
3966 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3967 (Info-edit-mode): Use define-derived-mode.
3968 (Info-cease-edit): Use Info-mode.
3969 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3970 into declaration.
3971 (eshell-mode): Use define-derived-mode.
3972 * chistory.el (command-history-mode-map): Rename from
3973 command-history-map.
3974 (command-history-mode): Use define-derived-mode.
3975 (Command-history-setup): Remove function.
3976 * calc/calc.el (calc-trail-mode-map): New var.
3977 (calc-trail-mode): Use define-derived-mode.
3978 (calc-trail-buffer): Set calc-main-buffer manually.
3979 * bookmark.el (bookmark-insert-annotation): New function.
3980 (bookmark-edit-annotation): Use it.
3981 (bookmark-edit-annotation-mode): Make it a proper major mode.
3982 (bookmark-send-edited-annotation): Use derived-mode-p.
3983 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3984 closer to its ideal place. Use \' to match EOS.
3985
3986 * profiler.el (profiler-calltree-find): Use function-equal.
3987
3988 2013-09-10 Glenn Morris <rgm@gnu.org>
3989
3990 * files.el (interpreter-mode-alist): Convert to regexps.
3991 (set-auto-mode): Adapt for this. (Bug#15306)
3992 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3993 Comment out unused variable.
3994 * progmodes/cc-mode.el (interpreter-mode-alist):
3995 * progmodes/python.el (interpreter-mode-alist):
3996 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3997 * progmodes/sh-script.el (sh-set-shell):
3998 No longer use interpreter-mode-alist to get list of shells.
3999
4000 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4001
4002 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4003
4004 * simple.el: Use set-temporary-overlay-map for universal-argument.
4005 (universal-argument-map): Don't use default-bindings (bug#15317).
4006 Bind switch-frame explicitly. Replace universal-argument-minus with
4007 a conditional binding.
4008 (universal-argument-num-events, saved-overriding-map): Remove.
4009 (restore-overriding-map): Remove.
4010 (universal-argument--mode): Rename from save&set-overriding-map,
4011 and rewrite.
4012 (universal-argument, universal-argument-more, negative-argument)
4013 (digit-argument): Adjust accordingly.
4014 (universal-argument-minus): Remove.
4015 (universal-argument-other-key): Remove.
4016
4017 * subr.el (with-demoted-errors): Add `format' argument.
4018
4019 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4020
4021 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4022 `tramp-cleanup-connection'.
4023
4024 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4025 parameters KEEP-DEBUG and KEEP-PASSWORD.
4026
4027 * net/tramp.el (tramp-file-name-handler):
4028 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4029 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4030 (tramp-maybe-open-connection):
4031 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4032 Use `tramp-cleanup-connection'.
4033
4034 * net/tramp-sh.el (tramp-maybe-open-connection):
4035 Catch 'uname-changed inside the progress reporter.
4036
4037 2013-09-10 Glenn Morris <rgm@gnu.org>
4038
4039 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4040
4041 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4042 returns "alternate access method" in mode (eg "-rw-r--r--.").
4043
4044 2013-09-08 Glenn Morris <rgm@gnu.org>
4045
4046 * saveplace.el (load-save-place-alist-from-file):
4047 Demote errors. (Bug#15305)
4048
4049 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4050
4051 Improve compatibility with older Emacsen, and XEmacs.
4052
4053 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4054 only if it is bound. It isn't for XEmacs.
4055 (with-tramp-progress-reporter): Do not let-bind `result'.
4056 This yields to scoping errors in XEmacs.
4057 (tramp-handle-make-auto-save-file-name): New function, moved from
4058 tramp-sh.el.
4059
4060 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4061 for `make-auto-save-file-name'.
4062 (tramp-adb--gnu-switches-to-ash):
4063 Use `tramp-compat-replace-regexp-in-string'.
4064
4065 * net/tramp-cache.el (tramp-cache-print): Call
4066 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4067
4068 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4069 bound. It isn't for XEmacs.
4070
4071 * net/tramp-compat.el (tramp-compat-copy-file):
4072 Catch `wrong-number-of-arguments' error.
4073 (tramp-compat-replace-regexp-in-string): New defun.
4074
4075 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4076 for `make-auto-save-file-name'.
4077 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4078 `copy-file'.
4079 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4080 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4081 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4082
4083 * net/tramp-gw.el (tramp-gw-open-network-stream):
4084 Use `tramp-compat-replace-regexp-in-string'.
4085
4086 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4087 Call `tramp-handle-make-auto-save-file-name'.
4088 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4089 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4090 (tramp-sh-file-inotifywait-process-filter):
4091 Use `tramp-compat-replace-regexp-in-string'.
4092 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4093
4094 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4095 for `make-auto-save-file-name'.
4096 (tramp-smb-handle-copy-directory):
4097 Call `tramp-compat-replace-regexp-in-string'.
4098 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4099 (tramp-smb-handle-copy-file): Improve error message.
4100 (tramp-smb-handle-rename-file): Rename directly only in case
4101 `newname' does not exist yet. This is a restriction of smbclient.
4102 (tramp-smb-maybe-open-connection): Rerun the function only when
4103 `auth-sources' is non-nil.
4104
4105 2013-09-08 Kenichi Handa <handa@gnu.org>
4106
4107 * international/characters.el: Set category "^" (Combining) for
4108 more characters.
4109
4110 2013-09-07 Alan Mackenzie <acm@muc.de>
4111
4112 Correctly fontify Java class constructors.
4113 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4114 in Java Mode.
4115 (c-recognize-typeless-decls): Set the Java value to t.
4116 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4117 While handling a "(", add a check for, effectively, Java, and handle a
4118 "typeless" declaration there.
4119
4120 2013-09-07 Roland Winkler <winkler@gnu.org>
4121
4122 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4123 field subtitle for entry type book.
4124
4125 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * minibuffer.el: Make minibuffer-complete call completion-in-region
4128 rather than other way around.
4129 (completion--some, completion-pcm--find-all-completions):
4130 Don't delay signals when debugging.
4131 (minibuffer-completion-contents): Beware fields within the
4132 minibuffer contents.
4133 (completion-all-sorted-completions): Use defvar-local.
4134 (completion--do-completion, completion--cache-all-sorted-completions)
4135 (completion-all-sorted-completions, minibuffer-force-complete):
4136 Add args `beg' and `end'.
4137 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4138 (minibuffer-complete): Use completion-in-region.
4139 (completion-complete-and-exit): New fun, extracted from
4140 minibuffer-complete-and-exit.
4141 (minibuffer-complete-and-exit): Use it.
4142 (completion--complete-and-exit): Rename from
4143 minibuffer--complete-and-exit.
4144 (completion-in-region--single-word): New function, extracted from
4145 minibuffer-complete-word.
4146 (minibuffer-complete-word): Use it.
4147 (display-completion-list): Make `common-substring' argument obsolete.
4148 (completion--in-region): Call completion--in-region-1 instead of
4149 minibuffer-complete.
4150 (completion-help-at-point): Pass boundaries to
4151 minibuffer-completion-help as args rather than via an overlay.
4152 (completion-pcm--string->pattern): Use `any-delim'.
4153 (completion-pcm--optimize-pattern): New function.
4154 (completion-pcm--pattern->regex): Handle `any-delim'.
4155 * icomplete.el (icomplete-forward-completions)
4156 (icomplete-backward-completions, icomplete-completions):
4157 Adjust calls to completion-all-sorted-completions and
4158 completion--cache-all-sorted-completions.
4159 (icomplete-with-completion-tables): Default to t.
4160 * emacs-lisp/crm.el (crm--current-element): Rename from
4161 crm--select-current-element. Don't put an overlay but return the
4162 boundaries instead.
4163 (crm--completion-command): Take two new args to bind to the boundaries.
4164 (crm-completion-help): Adjust accordingly.
4165 (crm-complete): Use completion-in-region.
4166 (crm-complete-word): Use completion-in-region--single-word.
4167 (crm-complete-and-exit): Use completion-complete-and-exit.
4168
4169 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4170
4171 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4172 than dynamically.
4173
4174 2013-09-06 Juri Linkov <juri@jurta.org>
4175
4176 * info.el (Info-display-images-node): When image file doesn't exist
4177 display text version of the image if it's provided in the Info file.
4178 Otherwise, display the location of missing image from SRC attribute.
4179 Add help-echo text property from ALT attribute. (Bug#15279)
4180
4181 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4184 (edit-abbrevs-mode): Use define-derived-mode.
4185
4186 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4187 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4188 that it's defined.
4189 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4190 Use define-derived-mode.
4191
4192 * epg.el (epg-start-encrypt): Minor CSE simplification.
4193
4194 2013-09-06 William Xu <william.xwl@gmail.com>
4195
4196 * arc-mode.el: Add support for 7za (bug#15264).
4197 (archive-7z-program): New var.
4198 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4199 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4200 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4201
4202 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4203
4204 Remove URL syntax.
4205
4206 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4207 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4208 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4209 (tramp-postfix-host-format, tramp-file-name-regexp)
4210 (tramp-completion-file-name-regexp)
4211 (tramp-completion-dissect-file-name)
4212 (tramp-handle-substitute-in-file-name): Remove 'url case.
4213 (tramp-file-name-regexp-url)
4214 (tramp-completion-file-name-regexp-url): Remove constants.
4215
4216 2013-09-06 Glenn Morris <rgm@gnu.org>
4217
4218 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4219
4220 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4221
4222 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4223 keywords" below "here-doc beginnings" (Bug#15270).
4224
4225 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * subr.el (pop): Use `car-safe'.
4228 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4229 to detect unused `pop' return value.
4230
4231 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4232 var `block-regexp'.
4233 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4234 (python-fill-string): Remove unused var `marker'.
4235 (python-skeleton-add-menu-items): Remove unused var `items'.
4236
4237 * international/mule-cmds.el: Require CL.
4238 (find-coding-systems-for-charsets): Avoid add-to-list.
4239 (sanitize-coding-system-list): New function, extracted from
4240 select-safe-coding-system-interactively.
4241 (select-safe-coding-system-interactively): Use it.
4242 (read-input-method-name): Accept symbols for `default'.
4243
4244 * emacs-lisp/advice.el (defadvice): Add indent rule.
4245
4246 2013-09-05 Daniel Hackney <dan@haxney.org>
4247
4248 * dired-x.el:
4249 * net/ange-ftp.el:
4250 * net/browse-url.el:
4251 * net/dbus.el:
4252 * net/eudc.el:
4253 * net/eudcb-ldap.el:
4254 * net/eww.el:
4255 * net/imap.el:
4256 * printing.el:
4257 * vc/ediff-diff.el:
4258 * vc/ediff-init.el:
4259 * vc/ediff-merg.el:
4260 * vc/ediff-mult.el:
4261 * vc/ediff-util.el:
4262 * vc/ediff-wind.el:
4263 * vc/ediff.el:
4264 * vc/emerge.el:
4265 * vc/pcvs.el:
4266 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4267 byte compiler. Remove some unused let-bound variables.
4268
4269 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4272 a "ref-cell", since it gets better optimized (bug#14883).
4273
4274 2013-09-05 Glenn Morris <rgm@gnu.org>
4275
4276 * progmodes/cc-awk.el (c-forward-sws): Declare.
4277
4278 2013-09-04 Glenn Morris <rgm@gnu.org>
4279
4280 * generic-x.el [rul-generic-mode]: Require cc-mode.
4281 (c++-mode-syntax-table): Declare.
4282 (rul-generic-mode-syntax-table): Init in the defvar.
4283
4284 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4287 (vc-do-command, vc-set-async-update):
4288 * vc/vc-mtn.el (vc-mtn-dir-status):
4289 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4290 (vc-hg-pull, vc-hg-merge-branch):
4291 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4292 (vc-git-merge-branch):
4293 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4294 (vc-cvs-dir-status-files):
4295 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4296 (vc-bzr-dir-status-files):
4297 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4298 * vc/vc-annotate.el: Use lexical-binding.
4299 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4300 (vc-sentinel-movepoint): Declare.
4301 (vc-annotate): Don't use `goto-line'.
4302 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4303 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4304 (vc-sentinel-movepoint): Declare.
4305 * vc/vc-svn.el: Use lexical-binding.
4306 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4307 * vc/vc-sccs.el:
4308 * vc/vc-rcs.el: Use lexical-binding.
4309
4310 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4311 `deleted'. Don't drop errors silently.
4312
4313 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4314
4315 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4316
4317 * vc/vc.el (vc-ignore): Rewrite.
4318 (vc-default-ignore): New function.
4319 (vc-default-ignore-completion-table): Use find-ignore-file.
4320
4321 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4322 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4323 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4324 Remove. Most code moved to vc.el.
4325
4326 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4329 * net/tramp-smb.el (tramp-smb-get-file-entries):
4330 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4331 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4332
4333 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4334 Update call to it.
4335 (eww-change-select): Remove unused var `properties'.
4336 (eww-make-unique-file-name): Remove unused var `base'.
4337
4338 * finder.el (finder-compile-keywords): Don't mess with windows.
4339
4340 * calculator.el (calculator-funcall): Fix typo in last change.
4341
4342 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4343
4344 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4345 <pkg>-autoloads.el file stop us.
4346
4347 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4348 warnings, and factor out common code.
4349
4350 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4351
4352 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4353 two-character operators and whether the character preceding them
4354 changes their meaning (Bug#15208).
4355
4356 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4357
4358 Format code sent to Python shell for robustness.
4359 * progmodes/python.el (python-shell-buffer-substring):
4360 New function.
4361 (python-shell-send-region, python-shell-send-buffer): Use it.
4362
4363 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4366 * net/tramp.el (tramp-user-error): ... here.
4367 (tramp-find-method, tramp-check-proper-host)
4368 (tramp-dissect-file-name, tramp-debug-message)
4369 (tramp-handle-shell-command):
4370 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4371 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4372
4373 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4374
4375 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4376
4377 * avoid.el (mouse-avoidance-point-position)
4378 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4379 returns nil.
4380
4381 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4382
4383 * progmodes/python.el (python-shell-completion-get-completions):
4384 Drop use of deleted `comint-last-prompt-overlay'.
4385 (python-nav-if-name-main): New command.
4386
4387 2013-09-01 Glenn Morris <rgm@gnu.org>
4388
4389 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4390 Avoid leading space in $wins. Otherwise the sed command used by
4391 eg compile-main ends up containing "/*.el". (Bug#15170)
4392
4393 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4394
4395 2013-08-30 Glenn Morris <rgm@gnu.org>
4396
4397 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4398 Fix is-this-a-directory logic. (Bug#15220)
4399
4400 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * textmodes/css-mode.el: Use SMIE.
4403 (css-smie-grammar): New var.
4404 (css-smie--forward-token, css-smie--backward-token)
4405 (css-smie-rules): New functions.
4406 (css-mode): Use them.
4407 (css-navigation-syntax-table): Remove var.
4408 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4409 (css-indent-calculate, css-indent-line): Remove functions.
4410
4411 Misc changes to reduce use of `(lambda...); and other cleanups.
4412 * cus-edit.el: Use lexical-binding.
4413 (customize-push-and-save, customize-apropos)
4414 (custom-buffer-create-internal): Use closures.
4415 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4416 * progmodes/ada-xref.el: Use setq.
4417 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4418 * dframe.el: Use lexical-binding.
4419 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4420 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4421 * descr-text.el: Use lexical-binding.
4422 (describe-text-widget, describe-text-sexp, describe-property-list):
4423 Use closures.
4424 * comint.el (comint-history-isearch-push-state): Use a closure.
4425 * calculator.el: Use lexical-binding.
4426 (calculator-number-to-string): Make it work with lexical-binding.
4427 (calculator-funcall): Same and use cl-letf.
4428
4429 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4430 (lisp--company-doc-string, lisp--company-location): New functions.
4431 (lisp-completion-at-point): Use them to improve Company support.
4432
4433 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4434 params of lambda expressions.
4435 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4436 (ruby-smie--opening-pipe-p): New function.
4437 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4438 symbols and matched |...| for formal params.
4439 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4440 from being treated as hanging. Handle "rescue".
4441
4442 2013-08-29 Glenn Morris <rgm@gnu.org>
4443
4444 * progmodes/cc-engine.el (c-pull-open-brace):
4445 Move definition before use.
4446
4447 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4448
4449 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4450 are immutable. Don't use `unsafe' any more.
4451 (cl--defsubst-expand): Don't substitute at the same time as keeping
4452 a residual unused let-binding. Don't use `unsafe' any more.
4453
4454 2013-08-29 Glenn Morris <rgm@gnu.org>
4455
4456 * calendar/cal-china.el (calendar-chinese-year-cache):
4457 Recenter on 2015.
4458
4459 * nxml/nxml-util.el (nxml-debug-clear-inside):
4460 Use cl-loop rather than loop.
4461
4462 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4463
4464 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4465
4466 2013-08-28 Glenn Morris <rgm@gnu.org>
4467
4468 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4469
4470 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4471
4472 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4473
4474 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * simple.el (repeat-complex-command--called-interactively-skip):
4477 New function.
4478 (repeat-complex-command): Use it (bug#14136).
4479
4480 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4481 (c-define-abbrev-table): Add `doc' argument.
4482 (c-mode-abbrev-table, c++-mode-abbrev-table)
4483 (objc-mode-abbrev-table, java-mode-abbrev-table)
4484 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4485 (awk-mode-abbrev-table): Use it.
4486 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4487 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4488 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4489 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4490 Move initialization into the declaration; and remove any
4491 autoload cookie.
4492
4493 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4494 and dynamic let binding.
4495
4496 * vc/smerge-mode.el: Remove redundant :group args.
4497
4498 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4499 to load-path.
4500
4501 2013-08-28 Juri Linkov <juri@jurta.org>
4502
4503 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4504 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4505 (isearch-other-meta-char): Handle an undefined shifted printing
4506 character by downshifting it. (Bug#15200)
4507
4508 2013-08-28 Juri Linkov <juri@jurta.org>
4509
4510 * isearch.el (isearch-search): Change regexp error message for
4511 non-regexp searches. (Bug#15166)
4512
4513 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4514
4515 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4516 for portability to hosts where /bin/sh has problems.
4517
4518 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4521
4522 2013-08-27 Juri Linkov <juri@jurta.org>
4523
4524 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4525 in the keyboard macro. (Bug#15126)
4526
4527 2013-08-27 Juri Linkov <juri@jurta.org>
4528
4529 * isearch.el (isearch-quote-char): Comment out converting unibyte
4530 to multibyte, thus syncing with its `quoted-insert' counterpart.
4531 (Bug#15166)
4532
4533 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4534
4535 * window.el (display-buffer-use-some-window): Add missing
4536 argument in call of get-largest-window (Bug#15185).
4537 Reported by Stephen Leake.
4538
4539 2013-08-27 Glenn Morris <rgm@gnu.org>
4540
4541 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4542
4543 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4546 from a matcher-function unless there's no more matches (bug#15161).
4547
4548 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4549
4550 * minibuffer.el: Revert change from 2013-08-20.
4551
4552 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4553 with text property `tramp-default', if appropriate.
4554 (tramp-check-proper-host): New defun.
4555 (tramp-dissect-file-name): Do not check hostname. Revert change
4556 of 2013-03-18.
4557 (tramp-backtrace): Make VEC-OR-PROC optional.
4558
4559 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4560 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4561 * net/tramp-sh.el (tramp-maybe-open-connection):
4562 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4563 Apply `tramp-check-proper-host'.
4564
4565 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4566
4567 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4568 lambda expression in order to have `describe-variable' display it.
4569
4570 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4571
4572 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4573 BUF can be optional. (Bug#15186)
4574
4575 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4576
4577 * progmodes/flymake.el (flymake-get-real-file-name-function):
4578 Fix broken customization. (Bug#15184)
4579
4580 2013-08-25 Alan Mackenzie <acm@muc.de>
4581
4582 Improve indentation of bracelists defined by macros (without "=").
4583
4584 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4585 expansion begins with "{", regard it as bracelist when it doesn't
4586 contain a ";".
4587
4588 Parse C++ inher-intro when there's a template split over 2 lines.
4589
4590 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4591 rigorously the search for "class" etc. followed by ":".
4592
4593 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4594 random languages a regexp which never matches rather than nil.
4595
4596 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4597
4598 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4599 (c-awk-regexp-one-line-possibly-open-char-list-re)
4600 (c-awk-one-line-possibly-open-regexp-re)
4601 (c-awk-one-line-non-syn-ws*-re): Remove.
4602 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4603 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4604 (c-awk-space*-unclosed-regexp-/-re): New constants.
4605 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4606 aren't regexp delimiters.
4607
4608 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4609 handling for a rare situation in AWK Mode involving unterminated
4610 strings/regexps.
4611
4612 2013-08-23 Glenn Morris <rgm@gnu.org>
4613
4614 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4615
4616 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4617
4618 * files.el (create-file-buffer): If the result would begin with
4619 spaces, prepend a "|" instead of removing them. (Bug#15162)
4620
4621 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4624 text-properties (bug#15155).
4625
4626 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4627 exist any more.
4628 (calc-keypad-redraw): Remove unused var `pad'.
4629 (calc-keypad-press): Remove unused var `menu'.
4630
4631 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4632
4633 * window.el (display-buffer-pop-up-frame):
4634 Call pop-up-frame-function with BUFFER current so `make-frame' will
4635 use it as the new frame's buffer (Bug#15133).
4636
4637 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * calendar/timeclock.el: Minor cleanups.
4640 (timeclock-ask-before-exiting, timeclock-use-display-time):
4641 Use `symbol'.
4642 (timeclock-modeline-display): Define as alias before the
4643 actual definition.
4644 (timeclock-mode-line-display): Use define-minor-mode.
4645 (timeclock-day-list-template): Make it a function, add an argument.
4646 (timeclock-day-list-required, timeclock-day-list-length)
4647 (timeclock-day-list-debt, timeclock-day-list-span)
4648 (timeclock-day-list-break): Adjust calls accordingly.
4649
4650 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4653 Use read--expression so that completion works again.
4654
4655 2013-08-21 Sam Steingold <sds@gnu.org>
4656
4657 Add rudimentary inferior shell interaction
4658 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4659 (sh-set-shell): Reset it.
4660 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4661 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4662
4663 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * align.el: Use lexical-binding.
4666 (align-region): Simplify accordingly.
4667
4668 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4669
4670 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4671
4672 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4673 `non-essential' up.
4674
4675 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * net/tramp.el:
4678 * net/tramp-adb.el:
4679 * net/tramp-cmds.el:
4680 * net/tramp-ftp.el:
4681 * net/tramp-gvfs.el:
4682 * net/tramp-gw.el:
4683 * net/tramp-sh.el: Don't wrap external variable declarations by
4684 `eval-when-compile'.
4685
4686 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4687
4688 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4689 now that Emacs supports ImageMagick animations.
4690
4691 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4694 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4695
4696 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4697
4698 * window.el (mouse-autoselect-window-select): Do autoselect when
4699 mouse pointer is on margin.
4700
4701 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4702
4703 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4704
4705 2013-08-16 Glenn Morris <rgm@gnu.org>
4706
4707 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4708 Handle "Remote Directory" response of some clients. (Bug#15058)
4709
4710 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4711 Tweak warning. (Bug#14926)
4712
4713 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4714 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4715
4716 * image-mode.el (image-mode-map): Add menu items to reverse,
4717 increase, decrease, reset animation speed.
4718 (image--set-speed, image-increase-speed, image-decrease-speed)
4719 (image-reverse-speed, image-reset-speed): New functions.
4720 (image-mode-map): Add bindings for speed commands.
4721
4722 * image.el (image-animate-get-speed, image-animate-set-speed):
4723 New functions.
4724 (image-animate-timeout): Respect image :speed property.
4725
4726 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4729 previous line (bug#15101).
4730 (debugger-eval-expression, debugger-record-expression):
4731 Use read--expression (bug#15102).
4732
4733 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4734
4735 Remove byte compiler warnings, visible when compiling with
4736 `byte-compile-force-lexical-warnings' set to t.
4737
4738 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4739 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4740 (tramp-handle-unhandled-file-name-directory)
4741 (tramp-handle-file-notify-add-watch, tramp-action-login)
4742 (tramp-action-succeed, tramp-action-permission-denied)
4743 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4744 arguments with "_".
4745
4746 * net/tramp-adb.el (tramp-adb-parse-device-names)
4747 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4748 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4749 (tramp-adb-handle-file-truename): Remove unused arguments.
4750
4751 * net/tramp-cache.el (tramp-flush-directory-property)
4752 (tramp-flush-connection-property, tramp-list-connections)
4753 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4754
4755 * net/tramp-compat.el (tramp-compat-make-temp-file):
4756 Rename FILENAME to F.
4757
4758 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4759 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4760 (tramp-zeroconf-parse-workstation-device-names)
4761 (tramp-zeroconf-parse-webdav-device-names)
4762 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4763
4764 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4765 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4766
4767 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4768 arguments.
4769 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4770 (tramp-sh-handle-insert-file-contents-literally)
4771 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4772 with "_".
4773 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4774 Remove unused variables.
4775
4776 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4777 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4778 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4779
4780 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4781 Make them a defconst.
4782 (tramp-uuencode-region): Remove unused variable.
4783
4784 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4785
4786 * frameset.el (frameset--prop-setter): New function.
4787 (frameset-prop): Add gv-setter declaration.
4788 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4789 parameter was already set in FILTERED. Doc fix.
4790 (frameset--record-minibuffer-relationships): Allow saving a
4791 minibufferless frame without its corresponding minibuffer frame.
4792 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4793 frame, if the frame id matches.
4794 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4795 frames before orphaned ones.
4796 (frameset-restore): Warn about orphaned windows, instead of error out.
4797
4798 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4799
4800 * window.el (window-make-atom): Don't overwrite parameter
4801 already present.
4802 (display-buffer-in-atom-window): Handle special case where we
4803 split an already atomic window.
4804 (window--major-non-side-window, display-buffer-in-side-window)
4805 (window--side-check): Ignore minibuffer window when walking
4806 window tree.
4807 (window-deletable-p): Return 'frame only if no other frame uses
4808 our minibuffer window.
4809 (record-window-buffer): Run buffer-list-update-hook.
4810 (split-window): Make sure window--check-frame won't destroy an
4811 existing atomic window in case the new window gets nested
4812 inside.
4813 (display-buffer-at-bottom): Ignore minibuffer window when
4814 walking window tree. Don't split a side window.
4815 (pop-to-buffer): Don't set-buffer here, the select-window call
4816 should do that.
4817 (mouse-autoselect-window-select): Autoselect only if we are in the
4818 text portion of the window.
4819
4820 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4821
4822 * net/shr.el (shr-parse-image-data): New function to grab both the
4823 data itself and the Content-Type.
4824 (shr-put-image): Use it.
4825
4826 * net/eww.el (eww-display-image): Ditto.
4827
4828 * image.el (image-content-type-suffixes): New variable.
4829
4830 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4831
4832 * progmodes/python.el (python-imenu--build-tree)
4833 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4834
4835 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4836
4837 * simple.el (backward-word): Mention the optional argument.
4838
4839 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * frameset.el (frameset--make): Rename constructor from make-frameset.
4842 (frameset-p, frameset-valid-p): Don't autoload.
4843 (frameset-valid-p): Use normal accessors.
4844
4845 2013-08-13 Glenn Morris <rgm@gnu.org>
4846
4847 * progmodes/compile.el (compile-command): Tweak example in doc.
4848 * obsolete/scribe.el (scribe-mode):
4849 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4850
4851 * mail/feedmail.el (feedmail-confirm-outgoing)
4852 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4853
4854 * cus-start.el (truncate-partial-width-windows): Fix type.
4855
4856 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4857
4858 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4859
4860 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * emacs-lisp/timer.el (timer--time-setter): New function.
4863 (timer--time): Use it as gv-setter.
4864
4865 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4866 setter is not a symbol.
4867
4868 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4869
4870 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4871 if sending fails. This makes debugging easier.
4872
4873 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4874
4875 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4876 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4877 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4878
4879 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4880
4881 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4882
4883 2013-08-12 Glenn Morris <rgm@gnu.org>
4884
4885 * format.el (format-annotate-function):
4886 Handle read-only text properties in the source. (Bug#14887)
4887
4888 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4889
4890 * net/eww.el (eww-display-html): Ignore coding system errors.
4891 One web site uses "utf-8lias" as the coding system.
4892
4893 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4894
4895 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4896
4897 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4898
4899 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4900 (tutorial--detailed-help): Remove unused local variables.
4901 (tutorial--save-tutorial-to): Use ignore-errors.
4902 (help-with-tutorial): Use looking-at-p.
4903
4904 * view.el (view-buffer-other-window, view-buffer-other-frame):
4905 Mark unused arguments.
4906
4907 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4908 (woman-select-symbol-fonts, woman, woman-find-file)
4909 (woman-insert-file-contents, woman-non-underline-faces):
4910 Use string-match-p.
4911 (woman1-unquote): Move declaration.
4912
4913 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4914 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4915 argument. Remove unused local variable.
4916 (xml-parse-elem-type): Use string-match-p.
4917 (xml-substitute-numeric-entities): Use ignore-errors.
4918
4919 * calculator.el (calculator): Mark unused argument.
4920 (calculator-paste, calculator-quit, calculator-integer-p):
4921 Use ignore-errors.
4922 (calculator-string-to-number, calculator-decimal, calculator-exp)
4923 (calculator-op-or-exp): Use string-match-p.
4924
4925 * dired.el (dired-buffer-more-recently-used-p): Declare.
4926 (dired-insert-set-properties, dired-insert-old-subdirs):
4927 Use ignore-errors.
4928
4929 * dired-aux.el (dired-compress): Use ignore-errors.
4930 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4931 (dired-do-async-shell-command, dired-do-shell-command)
4932 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4933 (dired-insert-subdir-validate): Use string-match-p.
4934 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4935 (dired-add-entry): Use string-match-p, looking-at-p.
4936 (dired-insert-subdir-newpos): Remove unused local variable.
4937
4938 * filenotify.el (file-notify-callback): Remove unused local variable.
4939
4940 * filesets.el (filesets-error): Mark unused argument.
4941 (filesets-which-command-p, filesets-filter-dir-names)
4942 (filesets-directory-files, filesets-get-external-viewer)
4943 (filesets-ingroup-get-data): Use string-match-p.
4944
4945 * find-file.el (ff-other-file-name, ff-other-file-name)
4946 (ff-find-the-other-file, ff-cc-hh-converter):
4947 Remove unused local variables.
4948 (ff-get-file-name): Use string-match-p.
4949 (ff-all-dirs-under): Use ignore-errors.
4950
4951 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4952 (follow-select-if-visible): Remove unused local variable.
4953
4954 * forms.el (read-file-filter): Move declaration.
4955 (forms--make-format, forms--make-parser, forms-insert-record):
4956 Quote function with #'.
4957 (forms--update): Use string-match-p. Quote function with #'.
4958
4959 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4960 (help-make-xrefs): Use looking-at-p.
4961 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4962
4963 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4964 (ibuffer-confirm-operation-on): Use string-match-p.
4965
4966 * msb.el (msb-item-handler, msb-dired-item-handler):
4967 Mark unused arguments.
4968
4969 * ses.el (ses-decode-cell-symbol)
4970 (ses-kill-override): Remove unused local variable.
4971 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4972 (ses-load): Use ignore-errors, looking-at-p.
4973 (ses-jump-safe): Use ignore-errors.
4974 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4975
4976 * tabify.el (untabify, tabify): Mark unused arguments.
4977
4978 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4979 Mark unused argument.
4980 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4981 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4982
4983 * emacs-lisp/timer.el (timer--time): Define setter with
4984 gv-define-setter to avoid deprecation warning.
4985
4986 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4987 (*record-cmpl-statistics-p*): Remove (was commented out).
4988 (cmpl-statistics-block): Remove (body was commented out).
4989 All callers changed.
4990 (add-completions-from-buffer, load-completions-from-file):
4991 Remove unused variables.
4992
4993 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4994
4995 * filecache.el (file-cache-delete-file-list):
4996 Print message only when told so.
4997 (file-cache-files-matching): Use #' in mapconcat argument.
4998
4999 * ffap.el (ffap-url-at-point): Fix reference to variable
5000 thing-at-point-default-mail-uri-scheme.
5001
5002 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * subr.el (define-error): New function.
5005 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5006 error-file-not-found and define with define-error.
5007 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5008 and define with define-error.
5009 * userlock.el (file-locked, file-supersession):
5010 * simple.el (mark-inactive):
5011 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5012 * progmodes/ada-mode.el (ada-mode-errors):
5013 * play/life.el (life-extinct):
5014 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5015 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5016 * nxml/rng-util.el (rng-error):
5017 * nxml/rng-uri.el (rng-uri-error):
5018 * nxml/rng-match.el (rng-compile-error):
5019 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5020 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5021 * nxml/nxml-rap.el (nxml-scan-error):
5022 * nxml/nxml-outln.el (nxml-outline-error):
5023 * net/soap-client.el (soap-error):
5024 * net/gnutls.el (gnutls-error):
5025 * net/ange-ftp.el (ftp-error):
5026 * mpc.el (mpc-proc-error):
5027 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5028 (json-number-format, json-string-escape, json-string-format)
5029 (json-key-format, json-object-format):
5030 * jka-compr.el (compression-error):
5031 * international/quail.el (quail-error):
5032 * international/kkc.el (kkc-error):
5033 * emacs-lisp/ert.el (ert-test-failed):
5034 * calc/calc.el (calc-error, inexact-result, math-overflow)
5035 (math-underflow):
5036 * bookmark.el (bookmark-error-no-filename):
5037 * epg.el (epg-error): Define with define-error.
5038
5039 * time.el (display-time-event-handler)
5040 (display-time-next-load-average): Don't call sit-for since it seems
5041 unnecessary (bug#15045).
5042
5043 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5044 Use #' instead of ' to quote functions.
5045 (checkdoc-output-mode): Use setq-local.
5046 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5047 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5048 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5049 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5050 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5051 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5052 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5053 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5054
5055 * ido.el (ido-completion-help): Fix up compiler warning.
5056
5057 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5058
5059 * frameset.el (frameset-p): Add autoload cookie.
5060 (frameset--jump-to-register): New function, based on code moved from
5061 register.el.
5062 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5063
5064 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5065 (frameset-restore, frameset-save, frameset-session-filter-alist):
5066 Remove declarations.
5067 (register-alist): Doc fix.
5068 (frameset-to-register): Move to frameset.el.
5069 (jump-to-register, describe-register-1): Remove frameset-specific code.
5070
5071 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5072
5073 * allout-widgets.el (allout-widgets-pre-command-business)
5074 (allout-widgets-post-command-business)
5075 (allout-widgets-after-change-handler)
5076 (allout-decorate-item-and-context, allout-set-boundary-marker)
5077 (allout-body-modification-handler)
5078 (allout-graphics-modification-handler): Mark ignored arguments.
5079 (allout-widgets-post-command-business)
5080 (allout-widgets-exposure-change-processor)
5081 (allout-widgets-exposure-undo-processor)
5082 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5083 (allout-parse-item-at-point, allout-decorate-item-guides)
5084 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5085 * allout.el (epa-passphrase-callback-function): Declare.
5086 (allout-overlay-insert-in-front-handler)
5087 (allout-overlay-interior-modification-handler)
5088 (allout-isearch-end-handler, allout-chart-siblings)
5089 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5090 (allout-yank-processing, allout-process-exposed)
5091 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5092 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5093 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5094 (lisp-indent-defform): Mark ignored arguments.
5095 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5096 (calculate-lisp-indent): Remove unused variables.
5097 * international/characters.el (indian-2-column, arabic-2-column)
5098 (tibetan): Mark ignored arguments.
5099 (use-cjk-char-width-table): Mark ignored arguments.
5100 Remove unused variables.
5101 * international/fontset.el (build-default-fontset-data)
5102 (x-compose-font-name, create-fontset-from-fontset-spec):
5103 Mark ignored arguments.
5104 (fontset-plain-name): Remove unused variables.
5105 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5106 (keyboard-coding-system): Mark ignored arguments.
5107 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5108 * help.el (resize-temp-buffer-window):
5109 * window.el (display-buffer-in-major-side-window)
5110 (display-buffer-in-side-window, display-buffer-in-previous-window):
5111 Remove unused variables.
5112 * isearch.el (isearch-forward-symbol):
5113 * version.el (emacs-bzr-version-bzr):
5114 * international/mule-cmds.el (current-language-environment):
5115 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5116 (x-handle-display):
5117 * term/pc-win.el (x-list-fonts, x-display-planes)
5118 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5119 (x-server-version, x-display-screens, x-display-mm-height)
5120 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5121 (x-selection-owner-p, x-own-selection-internal)
5122 (x-disown-selection-internal, x-get-selection-internal)
5123 (msdos-initialize-window-system):
5124 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5125 * term/x-win.el (x-handle-no-bitmap-icon):
5126 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5127 (vc-default-find-file-hook, vc-default-extra-menu):
5128 Mark ignored arguments.
5129
5130 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5133 break-condition in the context of the debugged code (bug#12685).
5134
5135 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5136
5137 * comint.el:
5138 Do not use an overlay to highlight the last prompt. (Bug#14744)
5139 (comint-mode): Make comint-last-prompt buffer local.
5140 (comint-last-prompt): New variable.
5141 (comint-last-prompt-overlay): Remove. Superseded by
5142 comint-last-prompt.
5143 (comint-snapshot-last-prompt, comint-output-filter):
5144 Use comint-last-prompt.
5145
5146 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5147
5148 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5149 (frameset-save): Check validity of the resulting frameset.
5150
5151 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5152
5153 * ido.el (ido-record-command): Add doc string.
5154
5155 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5156
5157 * frameset.el (frameset): Do not disable creation of the default
5158 frameset-p predicate. Doc fix.
5159 (frameset-valid-p): New function, copied from the old predicate-p.
5160 Add additional checks.
5161 (frameset-restore): Check with frameset-valid-p.
5162 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5163 (frameset-name, frameset-description, frameset-properties)
5164 (frameset-states): Add docstring.
5165 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5166 (frameset-filter-alist): Doc fixes.
5167
5168 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5169
5170 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5171
5172 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5175 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5176 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5177 (byte-compile-normal-call): Remove obsolescence check.
5178
5179 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5180
5181 * frameset.el (frameset-restore): Doc fix.
5182
5183 * register.el (frameset-frame-id, frameset-frame-with-id)
5184 (frameset-p, frameset-restore, frameset-save): Declare.
5185 (register-alist): Document framesets.
5186 (frameset-session-filter-alist): Declare.
5187 (frameset-to-register): New function.
5188 (jump-to-register): Implement jumping to framesets. Doc fix.
5189 (describe-register-1): Describe framesets.
5190
5191 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5192
5193 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5194
5195 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5196 Use lexical-binding.
5197
5198 * frameset.el (frameset): Use type vector, not list (incompatible
5199 change). Do not declare a new constructor, use the default one.
5200 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5201 `name' and `description', respectively, and add read-only slot
5202 `timestamp'. Doc fixes.
5203 (frameset-copy, frameset-persistent-filter-alist)
5204 (frameset-filter-alist, frameset-switch-to-gui-p)
5205 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5206 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5207 (frameset-filter-iconified, frameset-keep-original-display-p):
5208 Doc fixes.
5209 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5210 Rename from frameset-filter-(save|restore)-param. All callers changed.
5211 Doc fix.
5212 (frameset-p): Adapt to change to vector and be more thorough.
5213 Change arg name to OBJECT. Doc fix.
5214 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5215 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5216 All callers changed.
5217 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5218 All callers changed.
5219 (frameset--record-minibuffer-relationships): Rename from
5220 frameset--process-minibuffer-frames. All callers changed.
5221 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5222 Use new default constructor (again). Doc fix.
5223 (frameset--find-frame-if): Rename from `frameset--find-frame.
5224 All callers changed.
5225 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5226 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5227 Doc fix.
5228 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5229 PARAMETERS and WINDOW-STATE, respectively.
5230 (frameset-restore): Add new keyword argument PREDICATE.
5231 Reset frameset--target-display to nil. Doc fix.
5232
5233 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5236 (bat-mode): Use it.
5237 (bat-mode-syntax-table): Mark \n as end-of-comment.
5238 (bat-font-lock-keywords): Remove comment rule.
5239
5240 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5241 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5242
5243 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5244 (byte-compile-callargs-warn): Use `push'.
5245 (byte-compile-arglist-warn): Ignore higher-order "calls".
5246 (byte-compile-file-form-autoload): Use `pcase'.
5247 (byte-compile-function-form): If quoting a symbol, check that it exists.
5248
5249 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5250
5251 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5252 and add a few popular commands found in batch files.
5253 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5254 (dos-mode): Doc fixes.
5255
5256 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5259 (dos-mode): Use setq-local. Add space after "rem".
5260 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5261 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5262
5263 2013-08-07 Arni Magnusson <arnima@hafro.is>
5264
5265 * progmodes/dos.el: New file.
5266 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5267 dos-mode.
5268
5269 2013-08-06 Glenn Morris <rgm@gnu.org>
5270
5271 * calendar/calendar.el: Add new faces, and day-header-array.
5272 (calendar-weekday-header, calendar-weekend-header)
5273 (calendar-month-header): New faces.
5274 (calendar-day-header-construct): New function.
5275 (calendar-day-header-width): Also :set calendar-day-header-array.
5276 (calendar-american-month-header, calendar-european-month-header)
5277 (calendar-iso-month-header): Use calendar- faces.
5278 (calendar-generate-month):
5279 Use calendar-day-header-array for day headers; apply faces to them.
5280 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5281 (calendar-abbrev-construct): Add optional maxlen argument.
5282 (calendar-day-name-array): Doc fix.
5283 (calendar-day-name-array, calendar-abbrev-length)
5284 (calendar-day-abbrev-array):
5285 Also :set calendar-day-header-array, and maybe redraw.
5286 (calendar-day-header-array): New option. (Bug#15007)
5287 (calendar-font-lock-keywords): Set to nil and make obsolete.
5288 (calendar-day-name): Add option to use header array.
5289
5290 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5291
5292 * net/shr.el (shr-render-td): Remove debugging.
5293 (shr-render-td): Make width computation consistent by defaulting
5294 all zero-width columns to 10 characters. This may not be optimal,
5295 but it's at least consistent.
5296 (shr-make-table-1): Redo last change to fix the real problem in
5297 colspan handling.
5298
5299 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5300
5301 * files.el (cache-long-line-scans):
5302 Make obsolete alias to `cache-long-scans'.
5303
5304 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5305
5306 * frameset.el (frameset, frameset-filter-alist)
5307 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5308 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5309 (frameset-compute-pos): Rename from frameset--compute-pos,
5310 and add docstring.
5311 (frameset-move-onscreen): Use frameset-compute-pos.
5312 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5313
5314 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5315 Fix typos in docstrings.
5316
5317 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5318
5319 * frame.el (get-other-frame): Tiny cleanup.
5320
5321 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * vc/vc.el (vc-default-ignore-completion-table):
5324 Silence byte-compiler warning.
5325
5326 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5327 slot , which can indeed be nil.
5328 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5329 Move entry for `left' from persistent to live filter alist.
5330 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5331 Doc fixes.
5332 (frameset-filter-params): When restoring a frame, copy items added to
5333 `filtered', to avoid unwittingly modifying the original parameters.
5334 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5335 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5336
5337 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5338 to use looking-at-p instead of looking-at. (Bug#15028)
5339
5340 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 Revert introduction of isearch-filter-predicates (bug#14714).
5343 Rely on add-function instead.
5344 * isearch.el (isearch-filter-predicates): Rename it back to
5345 isearch-filter-predicate.
5346 (isearch-message-prefix): Use advice-function-mapc and advice
5347 properties to get the isearch-message-prefix.
5348 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5349 instead of run-hook-with-args-until-failure.
5350 (isearch-filter-visible): Not obsolete any more.
5351 * loadup.el: Preload nadvice.
5352 * replace.el (perform-replace): Revert to funcall
5353 instead of run-hook-with-args-until-failure.
5354 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5355 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5356 dired-isearch-filenames-toggle; make it into a proper minor mode.
5357 Use add/remove-function.
5358 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5359 Call the minor-mode rather than add/remove-hook.
5360 (dired-isearch-filter-filenames):
5361 Remove isearch-message-prefix property.
5362 * info.el (Info--search-loop): New function, extracted from Info-search.
5363 Funcall isearch-filter-predicate instead of
5364 run-hook-with-args-until-failure isearch-filter-predicates.
5365 (Info-search): Use it.
5366 (Info-mode): Use isearch-filter-predicate instead of
5367 isearch-filter-predicates.
5368
5369 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5370
5371 Do not call to `selected-window' where it is assumed by default.
5372 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5373 `window-hscroll', `window-width', `window-height', `window-buffer',
5374 `window-frame', `window-start', `window-point', `next-window'
5375 and `window-display-table'.
5376 * abbrev.el (abbrev--default-expand):
5377 * bs.el (bs--show-with-configuration):
5378 * buff-menu.el (Buffer-menu-mouse-select):
5379 * calc/calc.el (calc):
5380 * calendar/calendar.el (calendar-generate-window):
5381 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5382 (diary-make-entry):
5383 * comint.el (send-invisible, comint-dynamic-complete-filename)
5384 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5385 * completion.el (complete):
5386 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5387 * disp-table.el (describe-current-display-table):
5388 * doc-view.el (doc-view-insert-image):
5389 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5390 * ehelp.el (with-electric-help):
5391 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5392 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5393 * emacs-lisp/helper.el (Helper-help-scroller):
5394 * emulation/cua-base.el (cua--post-command-handler-1):
5395 * eshell/esh-mode.el (eshell-output-filter):
5396 * ffap.el (ffap-gnus-wrapper):
5397 * help-macro.el (make-help-screen):
5398 * hilit-chg.el (highlight-compare-buffers):
5399 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5400 * hl-line.el (global-hl-line-highlight):
5401 * icomplete.el (icomplete-simple-completing-p):
5402 * isearch.el (isearch-done):
5403 * jit-lock.el (jit-lock-stealth-fontify):
5404 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5405 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5406 * mpc.el (mpc-tagbrowser, mpc):
5407 * net/rcirc.el (rcirc-any-buffer):
5408 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5409 * play/landmark.el (landmark-max-width, landmark-max-height):
5410 * play/zone.el (zone):
5411 * progmodes/compile.el (compilation-goto-locus):
5412 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5413 * progmodes/etags.el (find-tag-other-window):
5414 * progmodes/fortran.el (fortran-column-ruler):
5415 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5416 * progmodes/verilog-mode.el (verilog-point-text):
5417 * reposition.el (reposition-window):
5418 * rot13.el (toggle-rot13-mode):
5419 * server.el (server-switch-buffer):
5420 * shell.el (shell-dynamic-complete-command)
5421 (shell-dynamic-complete-environment-variable):
5422 * simple.el (insert-buffer, set-selective-display)
5423 (delete-completion-window):
5424 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5425 (speedbar-recenter):
5426 * startup.el (fancy-splash-head):
5427 * textmodes/ispell.el (ispell-command-loop):
5428 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5429 * tutorial.el (help-with-tutorial):
5430 * vc/add-log.el (add-change-log-entry):
5431 * vc/compare-w.el (compare-windows):
5432 * vc/ediff-help.el (ediff-indent-help-message):
5433 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5434 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5435 (ediff-setup-control-frame):
5436 * vc/emerge.el (emerge-position-region):
5437 * vc/pcvs-util.el (cvs-bury-buffer):
5438 * window.el (walk-windows, mouse-autoselect-window-select):
5439 * winner.el (winner-set-conf, winner-undo): Related users changed.
5440
5441 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * frameset.el (frameset--set-id): Doc fix.
5444 (frameset-frame-id, frameset-frame-id-equal-p)
5445 (frameset-locate-frame-id): New functions.
5446 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5447 (frameset-restore): Use them.
5448
5449 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5450
5451 Do not call to `selected-frame' where it is assumed by default.
5452 Affected functions are `raise-frame', `redraw-frame',
5453 `frame-first-window', `frame-terminal' and `delete-frame'.
5454 * calendar/appt.el (appt-disp-window):
5455 * epg.el (epg-wait-for-completion):
5456 * follow.el (follow-delete-other-windows-and-split)
5457 (follow-avoid-tail-recenter):
5458 * international/mule.el (set-terminal-coding-system):
5459 * mail/rmail.el (rmail-mail-return):
5460 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5461 * progmodes/f90.el (f90-add-imenu-menu):
5462 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5463 * server.el (server-switch-buffer):
5464 * simple.el (delete-completion-window):
5465 * talk.el (talk):
5466 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5467 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5468 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5469 * vc/ediff.el (ediff-documentation): Related users changed.
5470 * frame.el (selected-terminal): Remove the leftover.
5471
5472 2013-08-05 Glenn Morris <rgm@gnu.org>
5473
5474 * calendar/calendar.el (calendar-generate-month):
5475 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5476 (calendar-generate-month, calendar-font-lock-keywords):
5477 Fix for calendar-day-header-width > length of any day name.
5478
5479 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * desktop.el (desktop-clear): Use new name of sort predicate.
5482
5483 * frameset.el (frameset): Add docstring. Move :version property to its
5484 own `version' slot.
5485 (frameset-copy): Rename from copy-frameset.
5486 (frameset-p): Check more thoroughly.
5487 (frameset-prop): Do not check for :version, which is no longer a prop.
5488 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5489 Use new :never value instead of t.
5490 (frameset-filter-alist): Expand and clarify docstring.
5491 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5492 (frameset-filter-minibuffer, frameset-filter-save-param)
5493 (frameset-filter-restore-param, frameset-filter-iconified):
5494 Add pointer to docstring of frameset-filter-alist.
5495 (frameset-filter-params): Rename filter values to be more meaningful:
5496 :never instead of t, and reverse the meanings of :save and :restore.
5497 (frameset--process-minibuffer-frames): Clarify error message.
5498 (frameset-save): Avoid unnecessary and confusing call to framep.
5499 Use new BOA constructor for framesets.
5500 (frameset--reuse-list): Doc fix.
5501 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5502 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5503 (frameset-minibufferless-first-p): Doc fix.
5504 Rename from frameset-sort-frames-for-deletion.
5505 (frameset-restore): Doc fixes. Use new function names.
5506 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5507
5508 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * desktop.el (desktop-restore-forces-onscreen)
5511 (desktop-restore-reuses-frames): Document :keyword constant values.
5512 (desktop-filter-parameters-alist): Remove, now identical to
5513 frameset-filter-alist.
5514 (desktop--filter-tty*): Remove, moved to frameset.el.
5515 (desktop-save-frameset, desktop-restore-frameset):
5516 Do not pass :filters argument.
5517
5518 * frameset.el (frameset-live-filter-alist)
5519 (frameset-persistent-filter-alist): New variables.
5520 (frameset-filter-alist): Use them. Add autoload cookie.
5521 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5522 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5523 `frameset--id' (it's supposed to be internal to frameset.el).
5524 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5525 (frameset--initial-params): New function.
5526 (frameset--get-frame): Use it. Doc fix.
5527 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5528 Accept :all, not 'all.
5529 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5530 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5531 with fbound symbols. Fix frame id matching, and remove matching ids if
5532 the frame being restored is deleted. Obey :delete.
5533
5534 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * subr.el (macrop): New function.
5537 (text-clone--maintaining): New var.
5538 (text-clone--maintain): Rename from text-clone-maintain. Use it
5539 instead of inhibit-modification-hooks.
5540
5541 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5542 a proxy, so as handle autoloads and redefinitions of the target.
5543 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5544
5545 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5546 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5547 (pcase--mutually-exclusive-p): New function.
5548 (pcase--split-consp): Use it.
5549 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5550 mutually exclusive with the current predicate.
5551
5552 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5553 (edebug-macrop): Remove. Use `macrop' instead.
5554 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5555 (ad-macro-p):
5556 * eshell/esh-cmd.el (eshell-macrop):
5557 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5558
5559 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5562 (advice-mapc): New function, using it.
5563 (advice-function-member-p): New function.
5564 (advice--normalize): Store the cdr in advice--saved-rewrite since
5565 that's the part that will be changed.
5566 (advice--symbol-function): New function.
5567 (advice-remove): Handle removal before the function is defined.
5568 Adjust to new advice--saved-rewrite.
5569 (advice-member-p): Use advice-function-member-p and
5570 advice--symbol-function.
5571
5572 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5575 (frameset-filter-minibuffer): Doc fix.
5576 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5577 (frameset--set-id, frameset--process-minibuffer-frames)
5578 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5579 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5580
5581 * desktop.el (desktop-clear): Only delete frames when called
5582 interactively and desktop-restore-frames is non-nil. Doc fix.
5583 (desktop-read): Set desktop-saved-frameset to nil.
5584
5585 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5586
5587 * vc/vc.el (vc-ignore): Rewrite.
5588 (vc-default-ignore-completion-table):
5589 (vc--read-lines):
5590 (vc--add-line, vc--remove-regexp): New functions.
5591
5592 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5593 (vc-svn-ignore-completion-table): New function.
5594
5595 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5596 (vc-hg-ignore-completion-table):
5597 (vc-hg-find-ignore-file): New functions.
5598
5599 * vc/vc-git.el (vc-git-ignore): Rewrite.
5600 (vc-git-ignore-completion-table):
5601 (vc-git-find-ignore-file): New functions.
5602
5603 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5604
5605 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5606 (vc-bzr-ignore-completion-table):
5607 (vc-bzr-find-ignore-file): New functions.
5608
5609 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * frameset.el (frameset-prop): New function and setter.
5612 (frameset-save): Do not modify frame list passed by the caller.
5613
5614 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5617
5618 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5621 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5622
5623 * custom.el (custom-initialize-default, custom-initialize-set)
5624 (custom-initialize-reset, custom-initialize-changed): Affect the
5625 toplevel-default-value (bug#6275, bug#14586).
5626 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5627 for bug#6275.
5628
5629 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5632 Add cl-def* expressions.
5633
5634 * frameset.el (frameset-filter-params): Fix order of arguments.
5635
5636 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5637
5638 Move code related to saving frames to frameset.el.
5639 * desktop.el: Require frameset.
5640 (desktop-restore-frames): Doc fix.
5641 (desktop-restore-reuses-frames): Rename from
5642 desktop-restoring-reuses-frames.
5643 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5644 (desktop-clear): Clear frames too.
5645 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5646 (desktop--filter-tty*, desktop-save, desktop-read):
5647 Use frameset functions.
5648 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5649 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5650 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5651 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5652 (desktop--process-minibuffer-frames, desktop-save-frames)
5653 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5654 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5655 (desktop--sort-states, desktop-restoring-frames-p)
5656 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5657 (desktop-restoring-frameset-p, desktop-restore-frameset)
5658 (desktop--check-dont-save, desktop-save-frameset): New functions.
5659 (desktop--app-id): New constant.
5660 (desktop-first-buffer, desktop-buffer-ok-count)
5661 (desktop-buffer-fail-count): Move before first use.
5662 * frameset.el: New file.
5663
5664 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * files.el: Use lexical-binding.
5667 (dir-locals-read-from-file): Remove unused `err' variable.
5668 (hack-dir-local-variables--warned-coding): New var.
5669 (hack-dir-local-variables): Use it to avoid repeated warnings.
5670 (make-backup-file-name--default-function): New function.
5671 (make-backup-file-name-function): Use it as default.
5672 (buffer-stale--default-function): New function.
5673 (buffer-stale-function): Use it as default.
5674 (revert-buffer-insert-file-contents--default-function): New function.
5675 (revert-buffer-insert-file-contents-function): Use it as default.
5676 (insert-directory): Avoid add-to-list.
5677
5678 * autorevert.el (auto-revert-handler): Simplify.
5679 Use buffer-stale--default-function.
5680
5681 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5682
5683 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5684
5685 * whitespace.el (whitespace-ensure-local-variables): New function.
5686 (whitespace-cleanup-region): Call it.
5687 (whitespace-turn-on): Call it.
5688
5689 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5690
5691 Complete file name handlers.
5692
5693 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5694 (tramp-handle-verify-visited-file-modtime)
5695 (tramp-handle-file-notify-rm-watch): New functions.
5696 (tramp-call-process): Do not bind `default-directory'.
5697
5698 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5699 Order alphabetically.
5700 [access-file, add-name-to-file, dired-call-process]:
5701 [dired-compress-file, file-acl, file-notify-rm-watch]:
5702 [file-ownership-preserved-p, file-selinux-context]:
5703 [make-directory-internal, make-symbolic-link, set-file-acl]:
5704 [set-file-selinux-context, set-visited-file-modtime]:
5705 [verify-visited-file-modtime]: Add handler.
5706 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5707
5708 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5709 [file-notify-add-watch, file-notify-rm-watch]:
5710 [set-file-times, set-visited-file-modtime]:
5711 [verify-visited-file-modtime]: Add handler.
5712 (with-tramp-gvfs-error-message)
5713 (tramp-gvfs-handle-set-visited-file-modtime)
5714 (tramp-gvfs-fuse-file-name): Remove.
5715 (tramp-gvfs-handle-file-notify-add-watch)
5716 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5717 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5718
5719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5720 Order alphabetically.
5721 [file-notify-rm-watch ]: Use default Tramp handler.
5722 [executable-find]: Remove private handler.
5723 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5724 `default-directory'.
5725 (tramp-sh-handle-executable-find)
5726 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5727 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5728 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5729 Do not use `format' in `tramp-message'.
5730
5731 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5732 [file-notify-rm-watch, set-visited-file-modtime]:
5733 [verify-visited-file-modtime]: Add handler.
5734 (tramp-smb-call-winexe): Do not bind `default-directory'.
5735
5736 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5737
5738 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5739
5740 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5741
5742 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5743 use it.
5744 (log-view-diff-changeset): Same.
5745 (log-view-diff-common): Call backend command `previous-revision'
5746 to find out the previous revision, in both cases. Swap the
5747 variables `to' and `fr', so that `fr' usually refers to the
5748 earlier revision (Bug#14989).
5749
5750 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5751
5752 * ibuf-ext.el (ibuffer-filter-by-filename):
5753 Make it work with dired buffers too.
5754
5755 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5756
5757 * emacs-lisp/re-builder.el (reb-color-display-p):
5758 * files.el (save-buffers-kill-terminal):
5759 * net/browse-url.el (browse-url):
5760 * server.el (server-save-buffers-kill-terminal):
5761 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5762 Prefer nil to selected-frame for the first arg of frame-parameter.
5763
5764 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5765
5766 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5767
5768 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5769
5770 * minibuffer.el (completion--twq-all): Try and preserve each
5771 completion's case choice (bug#14907).
5772
5773 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5774
5775 * net/network-stream.el (open-network-stream): Mention the new
5776 :nogreeting parameter.
5777 (network-stream-open-starttls): Use the :nogreeting parameter
5778 (bug#14938).
5779
5780 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5781
5782 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5783 more natural than popping.
5784
5785 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5786 (shr-urlify): Highlight under mouse.
5787
5788 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5789
5790 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5791
5792 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5793
5794 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5795 buffer for output.
5796
5797 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5798 point-min==1. Fix search string. Fix parentheses missing.
5799
5800 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5801 assume point-min==1. Fix search string. Fix parentheses missing.
5802
5803 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5804
5805 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5806 buffer for output.
5807
5808 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5809
5810 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5811 initial frame is minibuffer-less. (Bug#14841)
5812
5813 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5814
5815 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5816 option.
5817
5818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5819 (tramp-maybe-open-connection): Use it.
5820
5821 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5824 minimal set of parameters passed when creating a frame, because
5825 the minibuffer status of a frame cannot be changed later.
5826
5827 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5828
5829 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5830 replace-regexp-in-string and inadvertent omissions in previous change.
5831 (todo-filter-items): Ensure only file names are comma-separated in
5832 name of filtered items buffer.
5833
5834 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5835
5836 * desktop.el: Optionally force offscreen frames back onscreen.
5837 (desktop-restoring-reuses-frames): New option.
5838 (desktop--compute-pos, desktop--move-onscreen): New functions.
5839 (desktop--make-frame): Use desktop--move-onscreen.
5840
5841 2013-07-27 Alan Mackenzie <acm@muc.de>
5842
5843 Fontify a Java generic method as a function.
5844 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5845 value to t.
5846
5847 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5848
5849 * calendar/todo-mode.el: Add command to rename todo files.
5850 (todo-rename-file): New command.
5851 (todo-key-bindings-t): Add key binding for it. Change the
5852 bindings of todo-filter-regexp-items(-multifile) to use `x'
5853 instead of `r', since the latter is better suited to the new
5854 renaming command.
5855
5856 2013-07-27 Alan Mackenzie <acm@muc.de>
5857
5858 Make Java try-with-resources statement parse properly.
5859 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5860 (c-block-stmt-1-2-key): New language constants/variables.
5861 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5862 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5863 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5864 with c-block-stmt-1-2-key.
5865
5866 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5867
5868 * desktop.el (desktop--make-frame): Apply most frame parameters after
5869 creating the frame to force (partially or totally) offscreen frames to
5870 be restored as such.
5871
5872 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5873
5874 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5875 (Bug#14948)
5876
5877 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5880 `base' arg of backtrace-frame.
5881
5882 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5883
5884 * simple.el (list-processes): Doc fix.
5885
5886 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * desktop.el (desktop--select-frame):
5889 Try harder to reuse existing frames.
5890
5891 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5894 (edebug-eval): Use backtrace-eval.
5895 (edebug--display, edebug--recursive-edit): Don't let-bind the
5896 edebug-outer-* vars that keep track of variables we locally let-bind.
5897 (edebug-outside-excursion): Don't restore outside values of locally
5898 let-bound vars.
5899 (edebug--display): Use user-error.
5900 (cl-lexical-debug, cl-debug-env): Remove.
5901
5902 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5905 are restored to be sure that they are visible before deleting any
5906 remaining ones.
5907
5908 2013-07-26 Matthias Meulien <orontee@gmail.com>
5909
5910 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5911 vc-print-root-log. (Bug#14948)
5912
5913 2013-07-26 Richard Stallman <rms@gnu.org>
5914
5915 Add aliases for encrypting mail.
5916 * epa.el (epa-mail-aliases): New option.
5917 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5918 Bind inhibit-read-only so read-only text doesn't ruin everything.
5919 (epa-mail-default-recipients): New subroutine broken out.
5920 Handle epa-mail-aliases.
5921
5922 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 Add support for lexical variables to the debugger's `e' command.
5925 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5926 vars, except for debugger-outer-match-data.
5927 (debugger-frame-number): Move check for "on a function call" from
5928 callers into it. Add `skip-base' argument.
5929 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5930 (debugger-env-macro): Only reset the state stored in non-variables,
5931 i.e. current-buffer and match-data.
5932 (debugger-eval-expression): Rewrite using backtrace-eval.
5933 * subr.el (internal--called-interactively-p--get-frame): Remove.
5934 (called-interactively-p):
5935 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5936 `base' arg of backtrace-frame instead.
5937
5938 2013-07-26 Glenn Morris <rgm@gnu.org>
5939
5940 * align.el (align-regexp): Doc fix. (Bug#14857)
5941 (align-region): Explicit error if subexpression missing/does not match.
5942
5943 * simple.el (global-visual-line-mode):
5944 Do not duplicate the mode lighter. (Bug#14858)
5945
5946 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5947
5948 * window.el (display-buffer): In display-buffer bind
5949 split-window-keep-point to t, bug#14829.
5950
5951 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5952
5953 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5954 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5955 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5956 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5957 Change accordingly.
5958 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5959 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5960
5961 2013-07-25 Glenn Morris <rgm@gnu.org>
5962
5963 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5964
5965 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5966
5967 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5968 parameter to modify-frame-parameters if the value has not changed;
5969 this is a workaround for bug#14949.
5970 (desktop--make-frame): On cl-delete-if call, check parameter name,
5971 not full parameter.
5972
5973 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5974
5975 * vc/vc.el (vc-ignore): New function.
5976
5977 * vc/vc-svn.el (vc-svn-ignore): New function.
5978
5979 * vc/vc-hg.el (vc-hg-ignore): New function.
5980
5981 * vc/vc-git.el (vc-git-ignore): New function.
5982
5983 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5984 (vc-dir-ignore): New function.
5985
5986 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5987 (cvs-append-to-ignore): Move here from pcvs.el.
5988
5989 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5990
5991 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5992
5993 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5996 (desktop-restore-frames): Warn when deleting an existing frame failed.
5997
5998 2013-07-24 Glenn Morris <rgm@gnu.org>
5999
6000 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6001
6002 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * filenotify.el (file-notify-supported-p):
6005 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6006 Remove functions.
6007
6008 * autorevert.el (auto-revert-use-notify):
6009 (auto-revert-notify-add-watch):
6010 * net/tramp.el (tramp-file-name-for-operation):
6011 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6012 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6013 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6015 Remove `file-notify-supported-p' entry.
6016
6017 2013-07-24 Glenn Morris <rgm@gnu.org>
6018
6019 * printing.el: Replace all uses of deleted ps-windows-system,
6020 ps-lp-system, ps-flatten-list with lpr- versions.
6021
6022 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6025 checked with memq (bug#14935).
6026
6027 * files.el (revert-buffer-function): Use a non-nil default.
6028 (revert-buffer-preserve-modes): Declare var to
6029 provide access to the `preserve-modes' argument.
6030 (revert-buffer): Let-bind it.
6031 (revert-buffer--default): New function, extracted from revert-buffer.
6032
6033 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * lpr.el: Signal print errors more prominently.
6036 (print-region-function): Don't default to nil.
6037 (lpr-print-region): New function, extracted from print-region-1.
6038 Check lpr's return value and signal an error in case of problem.
6039 (print-region-1): Use it.
6040 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6041 versions instead.
6042 (ps-printer-name): Default to nil.
6043 (ps-printer-name-option): Default to lpr-printer-switch.
6044 (ps-print-region-function): Don't default to nil.
6045 (ps-postscript-code-directory): Simplify default.
6046 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6047 (ps-string-list, ps-eval-switch, ps-flatten-list)
6048 (ps-flatten-list-1): Remove.
6049 (ps-multibyte-buffer): Avoid setq.
6050 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6051 (print-region-function, ps-print-region-function): Don't set them here.
6052
6053 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6054
6055 * ido.el (ido-fractionp):
6056 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6057 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6058 (ido-max-directory-size, ido-max-dir-file-cache)
6059 (ido-decorations): Doc fix.
6060
6061 * ansi-color.el: Fix old URL.
6062
6063 2013-07-23 Michael R. Mauger <michael@mauger.com>
6064
6065 * progmodes/sql.el: Version 3.3
6066 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6067 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6068 (sql-interactive-remove-continuation-prompt): Rewrite, use
6069 functions above. Fix continuation prompt and complete output line
6070 handling.
6071 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6072 redirected output buffer.
6073 (sql-mode): Restore deleted code (Bug#13591).
6074
6075 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6076
6077 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6078
6079 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6080
6081 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6082
6083 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6084 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6085 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6086
6087 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6088
6089 * desktop.el (desktop-clear): Simplify; remove useless checks
6090 against invalid buffer names.
6091 (desktop-list*): Use cl-list*.
6092 (desktop-buffer-info, desktop-create-buffer): Simplify.
6093
6094 2013-07-23 Leo Liu <sdl.web@gmail.com>
6095
6096 * bookmark.el (bookmark-make-record): Restore NAME as a default
6097 value. (Bug#14933)
6098
6099 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6102 extracted from autoload--insert-text.
6103 (autoload--insert-text): Remove.
6104 (autoload--print-cookie-text): New function, extracted from
6105 autoload--insert-cookie-text.
6106 (autoload--insert-cookie-text): Remove.
6107 (autoload-generate-file-autoloads): Adjust calls accordingly.
6108
6109 * winner.el (winner-hook-installed-p): Remove.
6110 (winner-mode): Simplify accordingly.
6111
6112 * subr.el (add-to-list): Fix compiler-macro when `append' is
6113 not constant. Don't use `cl-member' for the base case.
6114
6115 * progmodes/subword.el: Fix boundary case (bug#13758).
6116 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6117 own group.
6118 (subword-backward-regexp): Make it a constant.
6119 (subword-forward-internal): Don't treat a trailing capital as the
6120 beginning of a word.
6121
6122 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6123
6124 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6125 global value of tabulated-list-revert-hook (bug#14930).
6126
6127 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6128
6129 * desktop.el: Require 'cl-lib.
6130 (desktop-before-saving-frames-functions): New hook.
6131 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6132 for frames being saved. Rename from desktop--save-minibuffer-frames.
6133 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6134 Do not save frames with non-nil `desktop-dont-save' parameter.
6135 Filter out deleted frames.
6136 (desktop--find-frame): Use cl-find-if.
6137 (desktop--select-frame): Use cl-(first|second|third) to access values
6138 of desktop-mini.
6139 (desktop--make-frame): Use cl-delete-if.
6140 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6141 (desktop-restore-frames): Use cl-(first|second|third) to access values
6142 of desktop-mini. Look for visible frame at the end, not while
6143 restoring frames.
6144
6145 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6146 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6147 Use string-match-p, looking-at-p (bug#14927).
6148
6149 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6150
6151 * desktop.el (desktop-saved-frame-states):
6152 Rename from desktop--saved-states; all users changed.
6153 (desktop-save-frames): Rename from desktop--save-frames.
6154 Do not save state to desktop file.
6155 (desktop-save): Save desktop-saved-frame-states to desktop file
6156 and reset to nil.
6157 (desktop-restoring-frames-p): New function.
6158 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6159 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6160 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6161
6162 * desktop.el: Correctly restore iconified frames.
6163 (desktop--filter-iconified-position): New function.
6164 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6165
6166 2013-07-20 Glenn Morris <rgm@gnu.org>
6167
6168 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6169 Let `message' do the formatting.
6170 (def-gdb-preempt-display-buffer): Add explicit format.
6171
6172 * image-dired.el (image-dired-track-original-file):
6173 Use with-current-buffer.
6174 (image-dired-track-thumbnail): Use with-current-buffer.
6175 Avoid changing point of wrong window.
6176
6177 * image-dired.el (image-dired-track-original-file):
6178 Avoid changing point of wrong window. (Bug#14909)
6179
6180 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6181
6182 * progmodes/gdb-mi.el (gdb-done-or-error):
6183 Guard against "%" in gdb output. (Bug#14127)
6184
6185 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6186
6187 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6188 (Bug#14826)
6189
6190 * international/mule.el (coding-system-iso-2022-flags): Fix last
6191 change.
6192
6193 2013-07-20 Kenichi Handa <handa@gnu.org>
6194
6195 * international/mule.el (coding-system-iso-2022-flags):
6196 Add `8-bit-level-4'. (Bug#8522)
6197
6198 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6199
6200 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6201 (bug#14815).
6202
6203 * net/eww.el (eww-process-text-input): Allow inputting when the
6204 point is at the start of the line, as the properties aren't
6205 front-sticky.
6206
6207 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6208 degenerate widths.
6209
6210 2013-07-19 Richard Stallman <rms@gnu.org>
6211
6212 * epa.el (epa-popup-info-window): Doc fix.
6213
6214 * subr.el (split-string): New arg TRIM.
6215
6216 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6217
6218 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6219 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6220
6221 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6222
6223 * filenotify.el (file-notify--library): Rename from
6224 `file-notify-support'. Do not autoload. Adapt all uses.
6225 (file-notify-supported-p): New defun.
6226
6227 * autorevert.el (auto-revert-use-notify):
6228 Use `file-notify-supported-p' instead of `file-notify-support'.
6229 Adapt docstring.
6230 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6231
6232 * net/tramp.el (tramp-file-name-for-operation):
6233 Add `file-notify-supported-p'.
6234
6235 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6236 New defun.
6237 (tramp-sh-file-name-handler-alist): Add it as handler for
6238 `file-notify-supported-p '.
6239
6240 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6241 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6242 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6243 Add `ignore' as handler for `file-notify-*' functions.
6244
6245 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6246
6247 * simple.el (line-move-partial, line-move): Don't start vscroll or
6248 scroll-up if the current line is not taller than the window.
6249 (Bug#14881)
6250
6251 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6252
6253 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6254 highlight question marks in the method names as strings.
6255 (ruby-block-beg-keywords): Inline.
6256 (ruby-font-lock-keyword-beg-re): Extract from
6257 `ruby-font-lock-keywords'.
6258
6259 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6260
6261 * frame.el (blink-cursor-blinks): New defcustom.
6262 (blink-cursor-blinks-done): New defvar.
6263 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6264 (blink-cursor-timer-function): Check if number of blinks has been
6265 done on X and NS.
6266 (blink-cursor-suspend, blink-cursor-check): New defuns.
6267
6268 2013-07-15 Glenn Morris <rgm@gnu.org>
6269
6270 * edmacro.el (edmacro-format-keys): Fix previous change.
6271
6272 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6273
6274 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6275 The hack didn't work outside English locales anyway.
6276
6277 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6278
6279 * simple.el (define-alternatives): Rename from alternatives-define,
6280 per RMS' suggestion.
6281
6282 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6283
6284 * desktop.el (desktop-restore-frames): Change default to t.
6285 (desktop-restore-in-current-display): Now offer more options.
6286 (desktop-restoring-reuses-frames): New customization option.
6287 (desktop--saved-states): Doc fix.
6288 (desktop-filter-parameters-alist): New variable, renamed and expanded
6289 from desktop--excluded-frame-parameters.
6290 (desktop--target-display): New variable.
6291 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6292 (desktop--filter-tty*, desktop--filter-*-color)
6293 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6294 (desktop--filter-save-desktop-parm)
6295 (desktop-restore-in-original-display-p): New functions.
6296 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6297 (desktop--save-minibuffer-frames): New function, inspired by a similar
6298 function from Martin Rudalics.
6299 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6300 (desktop--restore-in-this-display-p): Remove.
6301 (desktop--find-frame): Rename from desktop--find-frame-in-display
6302 and add predicate argument.
6303 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6304 (desktop--reuse-list): New variable.
6305 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6306 New functions.
6307 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6308
6309 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6310
6311 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6312
6313 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6314
6315 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6316 Highlight conversion methods on Kernel.
6317
6318 2013-07-13 Alan Mackenzie <acm@muc.de>
6319
6320 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6321 and comment it out. This out-commenting enables certain C++
6322 declarations to be parsed correctly.
6323
6324 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6325
6326 * international/mule.el (define-coding-system): Doc fix.
6327
6328 * simple.el (default-font-height): Don't call font-info if the
6329 frame's default font didn't change since the frame was created.
6330 (Bug#14838)
6331
6332 2013-07-13 Leo Liu <sdl.web@gmail.com>
6333
6334 * ido.el (ido-read-file-name): Guard against non-symbol value.
6335
6336 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6337
6338 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6339 in nested defuns.
6340
6341 2013-07-13 Leo Liu <sdl.web@gmail.com>
6342
6343 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6344 ido-set-matches call. (Bug#6852)
6345
6346 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6347
6348 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6349 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6350 Ruby 2.0.
6351 (ruby-font-lock-keywords): Distinguish calls to functions with
6352 module-like names from module references. Highlight character
6353 literals.
6354
6355 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6356
6357 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6358 (gdb-send): Handle continued commands. (Bug#14847)
6359
6360 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * desktop.el (desktop--v2s): Remove unused local variable.
6363 (desktop-save-buffer): Make defvar-local; adjust docstring.
6364 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6365 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6366
6367 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6368
6369 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6370
6371 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6372
6373 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6374 (Bug#14842)
6375
6376 2013-07-12 Glenn Morris <rgm@gnu.org>
6377
6378 * doc-view.el: Require cl-lib at runtime too.
6379 (doc-view-remove-if): Remove.
6380 (doc-view-search-next-match, doc-view-search-previous-match):
6381 Use cl-remove-if.
6382
6383 * edmacro.el: Require cl-lib at runtime too.
6384 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6385 (edmacro-mismatch, edmacro-subseq): Remove.
6386
6387 * shadowfile.el: Require cl-lib.
6388 (shadow-remove-if): Remove.
6389 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6390 Use cl-remove-if.
6391
6392 * wid-edit.el: Require cl-lib.
6393 (widget-choose): Use cl-remove-if.
6394 (widget-remove-if): Remove.
6395
6396 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6397 (ebrowse-delete-if-not): Remove.
6398 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6399 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6400 Use cl-delete-if-not.
6401
6402 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6403
6404 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6405 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6406
6407 2013-07-12 Leo Liu <sdl.web@gmail.com>
6408
6409 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6410
6411 2013-07-11 Glenn Morris <rgm@gnu.org>
6412
6413 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6414 (edebug-gensym-index, edebug-gensym):
6415 Remove reimplementation of cl-gensym.
6416 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6417
6418 * thumbs.el: Require cl-lib at run-time too.
6419 (thumbs-gensym-counter, thumbs-gensym):
6420 Remove reimplementation of cl-gensym.
6421 (thumbs-temp-file): Use cl-gensym.
6422
6423 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6424 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6425 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6426 (ert--union, ert--gensym-counter, ert--gensym-counter)
6427 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6428 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6429 (ert-make-test-unbound, ert--expand-should-1)
6430 (ert--expand-should, ert--should-error-handle-error)
6431 (should-error, ert--explain-equal-rec)
6432 (ert--plist-difference-explanation, ert-select-tests)
6433 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6434 Use cl-lib functions rather than reimplementations.
6435
6436 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6437
6438 * net/tramp.el (tramp-methods): Extend docstring.
6439 (tramp-connection-timeout): New defcustom.
6440 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6441 (with-tramp-progress-reporter): Simplify.
6442 (tramp-process-actions): Improve messages.
6443
6444 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6445 * net/tramp-sh.el (tramp-maybe-open-connection):
6446 Use `tramp-connection-timeout'.
6447 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6448 (Bug#14808)
6449
6450 2013-07-11 Leo Liu <sdl.web@gmail.com>
6451
6452 * ido.el (ido-read-file-name): Conform to the requirements of
6453 read-file-name. (Bug#11861)
6454 (ido-read-directory-name): Conform to the requirements of
6455 read-directory-name.
6456
6457 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6458
6459 * subr.el (delay-warning): New function.
6460
6461 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6462
6463 * simple.el (default-line-height): New function.
6464 (line-move-partial, line-move): Use it instead of computing the
6465 line height inline.
6466 (line-move-partial): Always compute ROWH. If the last line is
6467 partially-visible, but its text is completely visible, allow
6468 cursor to enter such a partially-visible line.
6469
6470 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6471
6472 Improve error messages. (Bug#14808)
6473
6474 * net/tramp.el (tramp-current-connection): New defvar, moved from
6475 tramp-sh.el.
6476 (tramp-message-show-progress-reporter-message): Remove, not
6477 needed anymore.
6478 (tramp-error-with-buffer): Show message in minibuffer.
6479 Discard input before waiting. Reset connection timestamp.
6480 (with-tramp-progress-reporter): Improve messages.
6481 (tramp-process-actions): Use progress reporter. Delete process in
6482 case of error. Improve messages.
6483
6484 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6485 Call `tramp-error-with-buffer' with vector and buffer.
6486 (tramp-current-connection): Remove.
6487 (tramp-maybe-open-connection): The car of
6488 `tramp-current-connection' are the first 3 slots of the vector.
6489
6490 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6491
6492 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6493 inside continued strings.
6494
6495 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6496
6497 Timestamp fixes for undo (Bug#14824).
6498 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6499
6500 2013-07-10 Leo Liu <sdl.web@gmail.com>
6501
6502 * files.el (require-final-newline): Allow safe local value.
6503 (Bug#14834)
6504
6505 2013-07-09 Leo Liu <sdl.web@gmail.com>
6506
6507 * ido.el (ido-read-directory-name): Handle fallback.
6508 (ido-read-file-name): Update DIR to ido-current-directory.
6509 (Bug#1516)
6510 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6511
6512 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6513
6514 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6515 "autoload". Remove "warn lower camel case" section, previously
6516 commented out. Highlight negation char. Do not highlight the
6517 target in singleton method definitions.
6518
6519 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * faces.el (tty-setup-hook): Declare the hook.
6522
6523 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6524 and detect when a guard/pred depends on local vars (bug#14773).
6525 (pcase--u1): Adjust caller.
6526
6527 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6528
6529 * simple.el (line-move-partial, line-move): Account for
6530 line-spacing.
6531 (line-move-partial): Avoid setting vscroll when the last
6532 partially-visible line in window is of default height.
6533
6534 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535
6536 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6537 been used a while.
6538
6539 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * subr.el (read-quoted-char): Remove unused local variable `char'.
6542
6543 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6544
6545 * ediff.el (ediff-version): Version update.
6546 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6547 (ediff-merge-with-ancestor-command, ediff-directories-command)
6548 (ediff-directories3-command, ediff-merge-directories-command)
6549 (ediff-merge-directories-with-ancestor-command): New functions.
6550 All are command-line interfaces to ediff: to facilitate calling
6551 Emacs with the appropriate ediff functions invoked.
6552
6553 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6554 (viper-save-kill-buffer): Check if buffer is modified.
6555
6556 * viper.el (viper-version): Version update.
6557 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6558
6559 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6562 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6563 (viper-intercept-ESC-key): Simplify.
6564 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6565 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6566 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6567 (viper-setup-ESC-to-escape): New functions.
6568 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6569 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6570
6571 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6572
6573 * simple.el (default-font-height, window-screen-lines):
6574 New functions.
6575 (line-move, line-move-partial): Use them instead of
6576 frame-char-height and window-text-height. This makes scrolling
6577 text smoother when the buffer's default face uses a font that is
6578 different from the frame's default font.
6579
6580 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6581
6582 * files.el (write-file): Do not display confirm dialog for NS,
6583 it does its own dialog, which can't be cancelled (Bug#14578).
6584
6585 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6586
6587 * simple.el (line-move-partial): Adjust the row returned by
6588 posn-at-point for the current window-vscroll. (Bug#14567)
6589
6590 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6591
6592 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6593 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6594 spaces.
6595
6596 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6597
6598 * window.el (window-state-put-stale-windows): New variable.
6599 (window--state-put-2): Save list of windows without matching buffer.
6600 (window-state-put): Remove "bufferless" windows if possible.
6601
6602 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * simple.el (alternatives-define): Remove leftover :group keyword.
6605 Tweak docstring.
6606
6607 2013-07-06 Leo Liu <sdl.web@gmail.com>
6608
6609 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6610 (ido-enable-virtual-buffers): New variable.
6611 (ido-buffer-internal, ido-toggle-virtual-buffers)
6612 (ido-make-buffer-list): Use it.
6613 (ido-exhibit): Support turning on and off virtual buffers
6614 automatically.
6615
6616 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6617
6618 * simple.el (alternatives-define): New macro.
6619
6620 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * subr.el (read-quoted-char): Use read-key.
6623 (sit-for): Let read-event decode tty input (bug#14782).
6624
6625 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6626
6627 * calendar/todo-mode.el: Add handling of file deletion, both by
6628 mode command and externally. Fix various related bugs.
6629 Clarify Commentary and improve some documentation strings and code.
6630 (todo-delete-file): New command.
6631 (todo-check-file): New function.
6632 (todo-show): Handle external deletion of the file we're trying to
6633 show (bug#14688). Replace called-interactively-p by an optional
6634 prefix argument to avoid problematic interaction with catch form
6635 when byte compiled (bug#14702).
6636 (todo-quit): Handle external deletion of the archive's todo file.
6637 Make sure the buffer that was visiting the archive file is still
6638 live before trying to bury it.
6639 (todo-category-completions): Handle external deletion of any
6640 category completion files.
6641 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6642 of todo files, in case of external deletion.
6643 (todo-add-file): Replace unnecessary setq by let-binding.
6644 (todo-find-archive): Check whether there are any archives.
6645 Replace unnecessary setq by let-binding.
6646 (todo-archive-done-item): Use find-file-noselect to get the
6647 archive buffer whether or not the archive already exists.
6648 Remove superfluous code. Use file size instead of buffer-file-name to
6649 check if the archive is new; if it is, update list of archives.
6650 (todo-default-todo-file): Allow nil to be a valid value for when
6651 there are no todo files.
6652 (todo-reevaluate-default-file-defcustom): Use corrected definition
6653 of todo-default-todo-file.
6654 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6655 (todo-delete-category, todo-show-categories-table)
6656 (todo-category-number): Clarify comment.
6657 (todo-filter-items): Clarify documentation string.
6658 (todo-show-current-file, todo-display-as-todo-file)
6659 (todo-reset-and-enable-done-separator): Tweak documentation string.
6660 (todo-done-separator): Make separator length window-width, since
6661 bug#2749 is now fixed.
6662
6663 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6664
6665 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6666 Support both "gvfs-monitor-dir" and "inotifywait".
6667 (tramp-sh-file-inotifywait-process-filter): Rename from
6668 `tramp-sh-file-notify-process-filter'.
6669 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6670 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6671
6672 2013-07-05 Leo Liu <sdl.web@gmail.com>
6673
6674 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6675
6676 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6677
6678 * frame.el (display-pixel-height, display-pixel-width)
6679 (display-mm-height, display-mm-width): Mention behavior on
6680 multi-monitor setups in docstrings.
6681 (w32-display-monitor-attributes-list): Declare function.
6682 (display-monitor-attributes-list): Use it.
6683
6684 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * filenotify.el: New package.
6687
6688 * autorevert.el (top): Require filenotify.el.
6689 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6690 instead.
6691 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6692 (auto-revert-notify-handler): Use `file-notify-*' functions.
6693
6694 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6695
6696 * net/tramp.el (tramp-file-name-for-operation):
6697 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6698
6699 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6700 for `file-notify-add-watch' and `file-notify-rm-watch'.
6701 (tramp-process-sentinel): Improve trace.
6702 (tramp-sh-handle-file-notify-add-watch)
6703 (tramp-sh-file-notify-process-filter)
6704 (tramp-sh-handle-file-notify-rm-watch)
6705 (tramp-get-remote-inotifywait): New defuns.
6706
6707 2013-07-03 Juri Linkov <juri@jurta.org>
6708
6709 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6710 call of `occur-read-primary-args' to interactive spec.
6711
6712 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6713 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6714
6715 2013-07-03 Matthias Meulien <orontee@gmail.com>
6716
6717 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6718 `Buffer-menu-multi-occur'. Add it to the menu.
6719 (Buffer-menu-mode): Document it in docstring.
6720 (Buffer-menu-multi-occur): New command. (Bug#14673)
6721
6722 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6723
6724 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6725 keywords and built-ins.
6726
6727 2013-07-03 Glenn Morris <rgm@gnu.org>
6728
6729 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6730
6731 Make info-xref checks case-sensitive by default
6732 * info.el (Info-find-node, Info-find-in-tag-table)
6733 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6734 Add option for exact case matching of nodes.
6735 * info-xref.el (info-xref): New custom group.
6736 (info-xref-case-fold): New option.
6737 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6738
6739 2013-07-03 Leo Liu <sdl.web@gmail.com>
6740
6741 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6742
6743 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6744
6745 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6746 middle of block statement initially, lower the depth. Remove
6747 FIXME comment, not longer valid. Remove middle of block statement
6748 detection, no need to do that anymore since we've been using
6749 `ruby-parse-region' here.
6750
6751 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6752
6753 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6754
6755 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6756
6757 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6758
6759 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6762 (desktop-restore-in-current-display): New customization option.
6763 (desktop--excluded-frame-parameters): Add `font'.
6764 (desktop--save-frames): Rename from desktop--save-windows.
6765 (desktop--restore-in-this-display-p): New function.
6766 (desktop--make-full-frame): Remove unwanted width/height from
6767 full(width|height) frames.
6768 (desktop--restore-frames): Rename from desktop--restore-windows.
6769 Obey desktop-restore-current-display. Do not delete old frames or
6770 select a new frame unless we were able to restore at least one frame.
6771
6772 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6773
6774 * files.el (find-file-noselect): Simplify conditional expression.
6775
6776 * remember.el (remember-append-to-file):
6777 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6778
6779 Add `remember-notes' function to store random notes across Emacs
6780 restarts.
6781 * remember.el (remember-data-file): Add :set callback to affect
6782 notes buffer (if any).
6783 (remember-notes): New command.
6784 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6785 New defcustoms for the `remember-notes' function.
6786 (remember-notes-save-and-bury-buffer): New command.
6787 (remember-notes-mode-map): New variable.
6788 (remember-mode): New minor mode.
6789 (remember-notes--kill-buffer-query): New function.
6790 * startup.el (initial-buffer-choice): Add notes to custom type.
6791
6792 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6793
6794 * bindings.el (right-char, left-char): Don't call sit-for, this is
6795 no longer needed. Use arithmetic comparison only for numerical
6796 arguments.
6797
6798 * international/mule-cmds.el (select-safe-coding-system):
6799 Handle the case of FROM being a string correctly. (Bug#14755)
6800
6801 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6804 progression on degenerate tables.
6805 (shr-rescale-image): ImageMagick animated images currently don't work.
6806
6807 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6808
6809 Some fixes and improvements for desktop frame restoration.
6810 It is still experimental and disabled by default.
6811 * desktop.el (desktop--save-windows): Put the selected frame at
6812 the head of the list.
6813 (desktop--make-full-frame): New function.
6814 (desktop--restore-windows): Try to re-select the frame that was
6815 selected upon saving. Do not abort if some frames fail to restore,
6816 just show an error message and continue. Set up maximized frames
6817 so they have default non-maximized dimensions.
6818
6819 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6820
6821 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6822 Don't start heredoc inside a string or comment.
6823
6824 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6825
6826 * bindings.el (visual-order-cursor-movement): New defcustom.
6827 (right-char, left-char): Provide visual-order cursor motion by
6828 calling move-point-visually. Update the doc strings.
6829
6830 2013-06-28 Kenichi Handa <handa@gnu.org>
6831
6832 * international/mule.el (define-coding-system): New coding system
6833 properties :inhibit-null-byte-detection,
6834 :inhibit-iso-escape-detection, and :prefer-utf-8.
6835 (set-buffer-file-coding-system): If :charset-list property of
6836 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6837 appropriate for setting.
6838
6839 * international/mule-cmds.el (select-safe-coding-system):
6840 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6841 multibyte characters, return utf-8 (or one of its siblings).
6842
6843 * international/mule-conf.el (prefer-utf-8): New coding system.
6844 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6845 files.
6846
6847 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6848
6849 * net/shr.el (shr-render-region): New function.
6850
6851 * net/eww.el: Autoload `eww-browse-url'.
6852
6853 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6854
6855 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6856 Adapt to `package-desc-version' being a list.
6857 Use `package--ac-desc-version' to retrieve version from a package
6858 archive element.
6859
6860 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6861
6862 New experimental feature to save&restore window and frame setup.
6863 * desktop.el (desktop-save-windows): New defcustom.
6864 (desktop--saved-states): New var.
6865 (desktop--excluded-frame-parameters): New defconst.
6866 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6867 (desktop--restore-windows, desktop--save-windows): New functions.
6868 (desktop-save): Call `desktop--save-windows'.
6869 (desktop-read): Call `desktop--restore-windows'.
6870
6871 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872
6873 * net/shr.el (add-face-text-property): Remove compat definition.
6874
6875 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6876
6877 * info.el (Info-try-follow-nearest-node): Move search for footnote
6878 above search for node name to prevent missing a footnote (bug#14717).
6879
6880 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6881
6882 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6883
6884 2013-06-27 Leo Liu <sdl.web@gmail.com>
6885
6886 * net/eww.el (eww-read-bookmarks): Check file size.
6887
6888 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6891 advice--pending if newdef is nil or an autoload (bug#13820).
6892 (advice-mapc): New function.
6893
6894 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895
6896 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6897 probably.
6898 (eww-mode-map): Add a menu bar.
6899 (eww-add-bookmark): New command.
6900 (eww-bookmark-mode): New mode and commands.
6901 (eww-add-bookmark): Remove newlines from the title.
6902 (eww-bookmark-browse): Don't bug out if it's the only window.
6903
6904 2013-06-26 Glenn Morris <rgm@gnu.org>
6905
6906 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6907 (hfy-size): Handle ttys. (Bug#14668)
6908
6909 * info-xref.el: Update for Texinfo 5 change in *note format.
6910 (info-xref-node-re, info-xref-note-re): New constants.
6911 (info-xref-check-buffer): Use info-xref-note-re.
6912
6913 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6916
6917 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6918 nil terminate the loop (bug#14718).
6919
6920 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6921
6922 * net/eww.el: Rework history traversal. When going forward/back,
6923 put these actions into the history, too, so that they can be
6924 replayed.
6925 (eww-render): Move the history reset to the correct buffer.
6926
6927 2013-06-25 Juri Linkov <juri@jurta.org>
6928
6929 * files-x.el (modify-dir-local-variable): Change the header comment
6930 in the file with directory local variables. (Bug#14692)
6931
6932 * files-x.el (read-file-local-variable-value): Add `default'.
6933 (Bug#14710)
6934
6935 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6936
6937 * net/eww.el (eww-make-unique-file-name): Create a unique file
6938 name before saving to entering `y' accidentally asynchronously.
6939
6940 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6941
6942 * net/eww.el (eww-download): New command and keystroke.
6943
6944 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6945
6946 * net/eww.el (eww-copy-page-url): Change name of command.
6947
6948 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6949 be more consistent with Info and dired.
6950
6951 * net/eww.el (eww-mode-map): Ditto.
6952
6953 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6956 packages from archives.
6957 (package-archive-contents): Change format; include obsolete packages.
6958 (package-desc): Use `dir' to mark builtin packages.
6959 (package--from-builtin): Set the `dir' field to `builtin'.
6960 (generated-autoload-file, version-control): Declare.
6961 (package-compute-transaction): Change first arg and return value to be
6962 lists of package-descs. Adjust to new package-archive-contents format.
6963 (package--add-to-archive-contents): Adjust to new
6964 package-archive-contents format.
6965 (package-download-transaction): Arg is now a list of package-descs.
6966 (package-install): If `pkg' is a package name, pass it as
6967 a requirement, so it is subject to the usual (e.g. disabled) checks.
6968 (describe-package): Accept package-desc as well.
6969 (describe-package-1): Describe a specific package-desc. Add links to
6970 other package-descs for the same package name.
6971 (package-menu-describe-package): Pass the actual package-desc.
6972 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6973 works correctly.
6974 (package-desc-status): New function.
6975 (package-menu--refresh): New function, extracted
6976 from package-menu--generate.
6977 (package-menu--generate): Use it.
6978 (package-delete): Update package-alist.
6979 (package-menu-execute): Don't call package-initialize.
6980
6981 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6982 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6983 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6984 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6985 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6986 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6987
6988 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6989
6990 * window.el (window--state-get-1): Workaround for bug#14527.
6991 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6992
6993 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6994
6995 * net/eww.el (eww-back-url): Implement the history by stashing all
6996 the data into a list.
6997 (eww-forward-url): Allow going forward in the history, too.
6998
6999 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7002 for values and use read--expression for expressions (bug#14710).
7003 (read-file-local-variable): Avoid setq.
7004 (read-file-local-variable-mode): Use minor-mode-list.
7005
7006 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7007
7008 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7009 for DOI URLs.
7010
7011 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7012
7013 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7014 Update imenu-support when dialect changes.
7015
7016 2013-06-25 Leo Liu <sdl.web@gmail.com>
7017
7018 * ido.el (ido-read-internal): Allow forward slash on windows.
7019
7020 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021
7022 * net/eww.el (eww): Start of strings is \\`, not ^.
7023
7024 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7025
7026 * net/shr.el (shr-browse-url): Fix interactive spec.
7027
7028 * net/eww.el (eww): Add a trailing slash to domain names.
7029
7030 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7031
7032 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7033
7034 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7035
7036 * net/shr.el (shr-browse-url): Use an external browser if given a
7037 prefix.
7038
7039 * net/eww.el (eww-external-browser): Move to shr.
7040
7041 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7042
7043 * net/eww.el (eww): Work more correctly for file: URLs.
7044 (eww-detect-charset): Allow quoted charsets.
7045 (eww-yank-page-url): New command and keystroke.
7046
7047 2013-06-24 Daiki Ueno <ueno@gnu.org>
7048
7049 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7050 file name of gpg executable.
7051 (epg-context-program): New function.
7052 (epg-context-home-directory): New function.
7053 (epg-context-set-program): New function.
7054 (epg-context-set-home-directory): New function.
7055 (epg--start): Use `epg-context-program' instead of
7056 'epg-gpg-program'.
7057 (epg--list-keys-1): Likewise.
7058
7059 2013-06-24 Leo Liu <sdl.web@gmail.com>
7060
7061 * ido.el (ido-read-internal): Fix bug#14620.
7062
7063 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * faces.el (face-documentation): Simplify.
7066 (read-face-attribute, tty-find-type, x-resolve-font-name):
7067 Use `string-match-p'.
7068 (list-faces-display): Use `string-match-p'. Simplify.
7069 (face-spec-recalc): Check face to avoid face alias loops.
7070 (read-color): Use `string-match-p' and non-capturing parenthesis.
7071
7072 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7073
7074 * net/shr.el (shr-rescale-image): Use the new
7075 :max-width/:max-height functionality.
7076
7077 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7078
7079 * net/eww.el (eww-search-prefix): New variable.
7080 (eww): Use it.
7081 (eww-external-browser): New variable.
7082 (eww-mode-map): New keystroke.
7083 (eww-browse-with-external-browser): New command.
7084
7085 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7086
7087 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7088
7089 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7090 Don't skip aligning the next header field when padding is 0;
7091 otherwise, field width is not respected unless the title is as
7092 wide as the field.
7093
7094 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * emacs-lisp/package.el (package-el-version): Remove.
7097 (package-process-define-package): Fix inf-loop.
7098 (package-install): Allow symbols as arguments again.
7099
7100 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7101
7102 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7103 add some more keyword-like methods.
7104 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7105
7106 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7107
7108 * bs.el (bs-buffer-show-mark): Make defvar-local.
7109 (bs-mode): Use setq-local.
7110
7111 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7112 (emacs-lock--try-unlocking): Make defvar-local.
7113
7114 2013-06-22 Glenn Morris <rgm@gnu.org>
7115
7116 * play/cookie1.el (cookie-apropos): Minor simplification.
7117
7118 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7119
7120 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7121
7122 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7123 `regexp-opt', it breaks the build during dumping.
7124
7125 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7126
7127 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7128 Highlight keyword-like methods on Kernel and Module with
7129 font-lock-builtin-face.
7130 (auto-mode-alist): Consolidate different entries into one regexp
7131 and add more *file-s.
7132
7133 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7134
7135 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7136
7137 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7138 (diary-entry): Use it in the action of this button type instead of
7139 diary-goto-entry.
7140
7141 * calendar/todo-mode.el: New version.
7142 (todo-add-category): Append new category to end of file and give
7143 it the highest number, instead of putting it at the beginning and
7144 giving it 0. Incorporate noninteractive functionality.
7145 (todo-forward-category): Adapt to 1-based category numbering.
7146 Allow skipping over archived categories.
7147 (todo-backward-category): Derive from todo-forward-category.
7148 (todo-backward-item, todo-forward-item): Make noninteractive and
7149 delegate interactive part to new commands. Make sensitive to done items.
7150 (todo-categories): Make value an alist of category names and
7151 vectors of item counts.
7152 (todo-category-beg): Make a defconst.
7153 (todo-category-number): Use 1 instead of 0 as initial value.
7154 (todo-category-select): Make sensitive to overlays, optional item
7155 highlighting and done items.
7156 (todo-delete-item): Make sensitive to overlays and marked and done items.
7157 (todo-edit-item): Make sensitive to overlays and editing of
7158 date/time header optional. Add format checks.
7159 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7160 no-op if point is not on an item. Advertise using todo-edit-quit.
7161 (todo-edit-mode): Make sensitive to new format, font-locking, and
7162 multiple todo files.
7163 (todo-insert-item, todo-insert-item-here): Derive from
7164 todo-basic-insert-item and extend functionality.
7165 (todo-item-end, todo-item-start): Make sensitive to done items.
7166 (todo-item-string): Don't return text properties. Restore point.
7167 (todo-jump-to-category): Make sensitive to multiple todo files and
7168 todo archives. Use extended category completion.
7169 (todo-lower-item, todo-raise-item): Rename to *-priority and
7170 derive from todo-set-item-priority.
7171 (todo-mode): Derive from special-mode. Make sensitive to new
7172 format, font-locking and multiple todo files. Make read-only.
7173 (todo-mode-map): Don't suppress digit keys, so they can supply
7174 prefix arguments. Add many new key bindings.
7175 (todo-prefix): Insert as an overlay instead of file text.
7176 Change semantics from diary date expression to purely visual mark.
7177 (todo-print): Rename to todo-print-buffer. Make buffer display
7178 features printable. Remove option to restrict number of items
7179 printed. Add option to print to file.
7180 (todo-print-function): Rename to todo-print-buffer-function.
7181 (todo-quit): Extend to handle exiting new todo modes.
7182 (todo-remove-item): Make sensitive to overlays.
7183 (todo-save): Extend to buffers of filtered items.
7184 (todo-show): Make sensitive to done items, multiple todo files and
7185 new todo modes. Offer to convert legacy todo file before creating
7186 first new todo file.
7187 (todo-show-priorities): Rename to todo-top-priorities.
7188 Change semantics of value 0.
7189 (todo-top-priorities): Rename to todo-filter-top-priorities,
7190 derive from todo-filter-items and extend functionality.
7191 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7192 and extend functionality to other types of filtered items.
7193 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7194 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7195 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7196 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7197 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7198 (todo-edit-mode-hook, todo-entry-prefix-function)
7199 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7200 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7201 (todo-initials, todo-insert-threshold, todo-item-string-start)
7202 (todo-line-string, todo-menu, todo-mode-hook)
7203 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7204 (todo-print-priorities, todo-remove-separator)
7205 (todo-save-top-priorities-too, todo-string-count-lines)
7206 (todo-string-multiline-p, todo-time-string-format)
7207 (todo-tmp-buffer-name): Remove.
7208 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7209 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7210 (todo-edit-category-diary-inclusion)
7211 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7212 (todo-edit-file, todo-edit-item-date-day)
7213 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7214 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7215 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7216 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7217 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7218 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7219 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7220 (todo-filter-top-priorities-multifile, todo-find-archive)
7221 (todo-find-filtered-items-file, todo-go-to-source-item)
7222 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7223 (todo-jump-to-archive-category, todo-lower-category)
7224 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7225 (todo-move-category, todo-move-item, todo-next-button)
7226 (todo-next-item, todo-padded-string, todo-powerset)
7227 (todo-previous-button, todo-previous-item)
7228 (todo-print-buffer-to-file, todo-raise-category)
7229 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7230 (todo-set-category-number, todo-set-item-priority)
7231 (todo-set-top-priorities-in-category)
7232 (todo-set-top-priorities-in-file, todo-show-categories-table)
7233 (todo-sort-categories-alphabetically-or-numerically)
7234 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7235 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7236 (todo-toggle-item-header, todo-toggle-item-highlighting)
7237 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7238 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7239 (todo-unarchive-items, todo-unmark-category): New commands.
7240 (todo-absolute-file-name, todo-add-to-buffer-list)
7241 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7242 (todo-basic-insert-item, todo-category-completions)
7243 (todo-category-number, todo-category-string-matcher-1)
7244 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7245 (todo-check-format, todo-clear-matches)
7246 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7247 (todo-current-category, todo-date-string-matcher)
7248 (todo-define-insertion-command, todo-diary-expired-matcher)
7249 (todo-diary-goto-entry, todo-diary-item-p)
7250 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7251 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7252 (todo-done-item-section-p, todo-done-separator)
7253 (todo-done-string-matcher, todo-files, todo-filter-items)
7254 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7255 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7256 (todo-insert-category-line, todo-insert-item-from-calendar)
7257 (todo-insert-sort-button, todo-insert-with-overlays)
7258 (todo-insertion-command-name, todo-insertion-key-bindings)
7259 (todo-label-to-key, todo-longest-category-name-length)
7260 (todo-make-categories-list, todo-mode-external-set)
7261 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7262 (todo-modes-set-3, todo-multiple-filter-files)
7263 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7264 (todo-read-category, todo-read-date, todo-read-dayname)
7265 (todo-read-file-name, todo-read-time)
7266 (todo-reevaluate-category-completions-files-defcustom)
7267 (todo-reevaluate-default-file-defcustom)
7268 (todo-reevaluate-filelist-defcustoms)
7269 (todo-reevaluate-filter-files-defcustom)
7270 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7271 (todo-reset-done-separator, todo-reset-done-separator-string)
7272 (todo-reset-done-string, todo-reset-global-current-todo-file)
7273 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7274 (todo-reset-prefix, todo-set-categories)
7275 (todo-set-date-from-calendar, todo-set-show-current-file)
7276 (todo-set-top-priorities, todo-short-file-name)
7277 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7278 (todo-total-item-counts, todo-update-buffer-list)
7279 (todo-update-categories-display, todo-update-categories-sexp)
7280 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7281 New functions.
7282 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7283 New major modes.
7284 (todo-categories, todo-display, todo-edit, todo-faces)
7285 (todo-filtered): New defgroups.
7286 (todo-archived-only, todo-button, todo-category-string, todo-date)
7287 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7288 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7289 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7290 (todo-add-item-if-new-category, todo-always-add-time-string)
7291 (todo-categories-align, todo-categories-archived-label)
7292 (todo-categories-category-label, todo-categories-diary-label)
7293 (todo-categories-done-label, todo-categories-number-separator)
7294 (todo-categories-todo-label, todo-categories-totals-label)
7295 (todo-category-completions-files, todo-completion-ignore-case)
7296 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7297 (todo-done-separator-string, todo-done-string)
7298 (todo-files-function, todo-filter-done-items, todo-filter-files)
7299 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7300 (todo-initial-category, todo-initial-file, todo-item-mark)
7301 (todo-legacy-date-time-regexp, todo-mode-line-function)
7302 (todo-nondiary-marker, todo-number-prefix)
7303 (todo-print-buffer-function, todo-show-current-file)
7304 (todo-show-done-only, todo-show-first, todo-show-with-done)
7305 (todo-skip-archived-categories, todo-top-priorities-overrides)
7306 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7307 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7308 New defcustoms.
7309 (todo-category-done, todo-date-pattern, todo-date-string-start)
7310 (todo-diary-items-buffer, todo-done-string-start)
7311 (todo-filtered-items-buffer, todo-item-start)
7312 (todo-month-abbrev-array, todo-month-name-array)
7313 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7314 (todo-top-priorities-buffer): New defconsts.
7315 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7316 (todo-categories-with-marks, todo-category-string-face)
7317 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7318 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7319 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7320 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7321 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7322 (todo-font-lock-keywords, todo-global-current-todo-file)
7323 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7324 (todo-insertion-commands-args)
7325 (todo-insertion-commands-args-genlist)
7326 (todo-insertion-commands-names, todo-insertion-map)
7327 (todo-key-bindings-t, todo-key-bindings-t+a)
7328 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7329 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7330 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7331 (todo-visited): New variables.
7332
7333 2013-06-21 Glenn Morris <rgm@gnu.org>
7334
7335 * play/cookie1.el (cookie-apropos): Add optional display argument.
7336 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7337 (psychoanalyze-pinhead): Use cookie-doctor.
7338
7339 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * emacs-lisp/package.el (tar-get-file-descriptor)
7342 (tar--extract): Declare.
7343
7344 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7345
7346 Extend flymake's warning predicate to be a function (bug#14217).
7347 * progmodes/flymake.el (flymake-warning-predicate): New.
7348 (flymake-parse-line): Use it.
7349 (flymake-warning-re): Make obsolete alias to
7350 `flymake-warning-predicate'.
7351
7352 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7355 (package-obsolete-list): Remove.
7356 (package-activate): Remove min-version argument. Add `force' argument.
7357 Adjust to new package-alist format.
7358 (package-mark-obsolete): Remove.
7359 (package-unpack): Force reload of the package's autoloads.
7360 (package-installed-p): Check builtins if the installed package is not
7361 recent enough.
7362 (package-initialize): Don't reset package-obsolete-list.
7363 Don't specify which package version to activate.
7364 (package-process-define-package, describe-package-1)
7365 (package-menu--generate): Adjust to new package-alist format.
7366
7367 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7368
7369 * allout-widgets.el (allout-widgets-mode-off)
7370 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7371 (allout-widgets-post-command-business)
7372 (allout-widgets-after-copy-or-kill-function)
7373 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7374 (allout-decorate-item-and-context)
7375 (allout-graphics-modification-handler): Fix typos in docstrings.
7376 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7377
7378 * cmuscheme.el (scheme-start-file): Doc fix.
7379 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7380 (scheme-input-filter): Use `string-match-p'.
7381
7382 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7383
7384 * dired-x.el: Use Dired consistently in docstrings.
7385
7386 * dired.el: Use Dired consistently in docstrings.
7387 (dired-readin, dired-mode): Use `setq-local'.
7388 (dired-switches-alist): Make defvar-local.
7389 (dired-buffers-for-dir): Use `zerop'.
7390 (dired-safe-switches-p, dired-switches-escape-p)
7391 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7392 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7393 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7394 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7395 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7396 (dired-toggle-marks, dired-mark-files-containing-regexp)
7397 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7398 (dired-flag-auto-save-files, dired-flag-backup-files):
7399 Use `looking-at-p'.
7400 (dired-mark-files-regexp, dired-build-subdir-alist):
7401 Use `string-match-p', `looking-at-p'.
7402
7403 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7404 (direct-print-region-helper): Use `string-match-p'.
7405
7406 2013-06-21 Leo Liu <sdl.web@gmail.com>
7407
7408 * comint.el (comint-redirect-results-list-from-process):
7409 Fix infinite loop.
7410
7411 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412
7413 * net/eww.el (eww-update-header-line-format): Quote % characters.
7414
7415 2013-06-21 Glenn Morris <rgm@gnu.org>
7416
7417 * play/cookie1.el (cookie): New custom group.
7418 (cookie-file): New option.
7419 (cookie-check-file): New function.
7420 (cookie): Make it interactive. Make start and end messages optional.
7421 Interactively, display the result. Default to cookie-file.
7422 (cookie-insert): Default to cookie-file.
7423 (cookie-snarf): Make start and end messages optional.
7424 Default to cookie-file. Use with-temp-buffer.
7425 (cookie-read): Rename from read-cookie.
7426 Make start and end messages optional. Default to cookie-file.
7427 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7428 Do not autoload it.
7429 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7430 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7431
7432 2013-06-21 Leo Liu <sdl.web@gmail.com>
7433
7434 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7435
7436 2013-06-21 Glenn Morris <rgm@gnu.org>
7437
7438 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7439
7440 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7441 Daniel Hackney <dan@haxney.org>
7442
7443 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7444 Consolidate the single-file vs tarball code.
7445 (package-desc-suffix): New function.
7446 (package-desc-full-name): Don't bother inlining it.
7447 (package-load-descriptor): Return the new package-desc.
7448 (package-mark-obsolete): Remove unused arg `package'.
7449 (package-unpack): Make it work for single files as well.
7450 Make it update package-alist.
7451 (package--make-autoloads-and-stuff): Rename from
7452 package--make-autoloads-and-compile. Don't compile any more.
7453 (package--compile): New function.
7454 (package-generate-description-file): New function, extracted from
7455 package-unpack-single.
7456 (package-unpack-single): Remove.
7457 (package--with-work-buffer): Add indentation and debugging info.
7458 (package-download-single): Remove.
7459 (package-install-from-archive): Rename from package-download-tar, make
7460 it take a pkg-desc, and make it work for single files as well.
7461 (package-download-transaction): Simplify.
7462 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7463 external tar program.
7464 (package-install-from-buffer): Remove `pkg-desc' argument.
7465 Use package-tar-file-info for tar-mode buffers.
7466 (package-install-file): Simplify accordingly.
7467 (package-archive-base): Change to take a pkg-desc.
7468 * tar-mode.el (tar--check-descriptor): New function, extracted from
7469 tar-get-descriptor.
7470 (tar-get-descriptor): Use it.
7471 (tar-get-file-descriptor): New function.
7472 (tar--extract): New function, extracted from tar-extract.
7473 (tar--extract): Use it.
7474 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7475 case the summary uses non-ascii. Adjust to new calling convention of
7476 package-tar-file-info.
7477
7478 2013-06-21 Leo Liu <sdl.web@gmail.com>
7479
7480 * comint.el (comint-redirect-results-list-from-process):
7481 Fix random delay. (Bug#14681)
7482
7483 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7484
7485 * profiler.el (profiler-format-number): Use log, not log10.
7486
7487 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7490
7491 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7494 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7495 yet available.
7496 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7497 (AUTOGENEL): ... here.
7498 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7499 (cl--defsubst-expand): Use it.
7500
7501 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7502
7503 * subr.el (log10): Move here from C code, and declare as obsolete.
7504 All uses of (log10 X) replaced with (log X 10).
7505
7506 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7507
7508 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7509 Declare with `defvar-local'.
7510 (tabulated-list-use-header-line, tabulated-list-entries)
7511 (tabulated-list-padding, tabulated-list-printer)
7512 (tabulated-list-sort-key): Declare with `defvar-local'.
7513 (tabulated-list-init-header, tabulated-list-print-fake-header):
7514 Use `setq-local'.
7515
7516 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7517
7518 * arc-mode.el (archive-mode): Add `archive-write-file' to
7519 `write-contents-functions' also for remote files. (Bug#14652)
7520
7521 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7522
7523 * cus-edit.el (custom-commands): Fix typos.
7524 (custom-display): Fix tooltip text.
7525 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7526 Fix typos in docstrings.
7527 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7528 (custom-unlispify-menu-entry, custom-magic-value-create)
7529 (custom-add-see-also, custom-group-value-create): Use ?\s.
7530 (custom-guess-type, customize-apropos, editable-field)
7531 (custom-face-value-create): Use `string-match-p'.
7532 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7533
7534 * custom.el (custom-load-symbol): Use `string-match-p'.
7535
7536 * ansi-color.el: Convert to lexical binding.
7537 (ansi-colors): Fix URL.
7538 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7539 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7540 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7541
7542 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
7544 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7545
7546 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7547
7548 2013-06-19 Tom Tromey <tromey@redhat.com>
7549
7550 * net/eww.el (eww-top-url): Remove.
7551 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7552 (eww-render): Set new variables. Don't set eww-top-url.
7553 (eww-handle-link): Handle "prev", "home", and "contents".
7554 Downcase the rel text.
7555 (eww-top-url): Choose best top URL.
7556
7557 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7560 relying in widget.el. Using widget.el leads to too many
7561 user interface inconsistencies.
7562 (eww-self-insert): Implement entering commands in text fields.
7563 (eww-process-text-input): New function to make text input field editing
7564 work.
7565 (eww-submit): Rewrite to use the new-style form methods.
7566 (eww-select-display): Display the correct selected item.
7567 (eww-change-select): Implement changing the select value.
7568 (eww-toggle-checkbox): Implement radio/checkboxes.
7569 (eww-update-field): Fix compilation error.
7570 (eww-tag-textarea): Implement <textarea>.
7571
7572 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7573 we don't shadow mode-specific bindings.
7574
7575 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7576 nothing to push.
7577
7578 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7579
7580 2013-06-19 Glenn Morris <rgm@gnu.org>
7581
7582 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7583
7584 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7585
7586 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7587 not needed.
7588
7589 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7590
7591 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7592
7593 * net/browse-url.el (browse-url-browser-function):
7594 `eww-browse-url' has the right calling signature, `eww' does not.
7595
7596 2013-06-19 Glenn Morris <rgm@gnu.org>
7597
7598 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7599 Only eval autoloaded macros.
7600 (byte-compile-autoload): Only give the macro warning for macros.
7601
7602 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7603 (ps-underlined-faces): Declare.
7604
7605 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7606 (speedbar-add-supported-extension): Declare.
7607
7608 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7609 Don't include a date stamp in the header of the generated file;
7610 it leads to needless differences between output files.
7611
7612 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7613
7614 * net/secrets.el (secrets-struct-secret-content-type):
7615 Replace check of introspection data by a test call of "CreateItem".
7616 Some servers do not offer introspection.
7617
7618 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * electric.el (electric-pair-mode): Improve interaction with
7621 electric-layout-mode.
7622 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7623 (electric-pair-syntax): Use text-mode-syntax-table in comments
7624 and strings.
7625 (electric-pair--insert): New function.
7626 (electric-pair-post-self-insert-function): Use it and
7627 electric--after-char-pos.
7628
7629 2013-06-19 Leo Liu <sdl.web@gmail.com>
7630
7631 * progmodes/octave.el (octave-help): Fix regexp.
7632
7633 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7634
7635 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7636 (shr-table-horizontal-line): Allow nil as a value, and change the
7637 default.
7638 (shr-insert-table-ruler): Respect the nil value.
7639
7640 2013-06-18 Tom Tromey <tromey@barimba>
7641
7642 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7643 New defvars.
7644 (eww-open-file): New defun.
7645 (eww-render): Initialize new variables.
7646 (eww-display-html): Handle "link" and "a".
7647 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7648 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7649 (eww-back-url): Rename from eww-previous-url.
7650 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7651 New defuns.
7652
7653 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7654
7655 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7656 Distinguish ternary operator tokens from slash symbol and slash
7657 char literal.
7658
7659 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7660
7661 Convert symbol prettification into minor mode and global minor mode.
7662
7663 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7664 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7665 (prettify-symbols--keywords): Rename from
7666 `prog-prettify-symbols-alist' and make a local defvar.
7667 (prettify-symbols--compose-symbol): Rename from
7668 `prog--prettify-font-lock-compose-symbol'.
7669 (prettify-symbols--make-keywords): Rename from
7670 `prog-prettify-font-lock-symbols-keywords' and simplify.
7671 (prog-prettify-install): Remove.
7672 (prettify-symbols-mode): New minor mode, based on
7673 `prog-prettify-install'.
7674 (turn-on-prettify-symbols-mode): New function.
7675 (global-prettify-symbols-mode): New globalized minor mode.
7676
7677 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7678 * progmodes/cfengine.el (cfengine3-mode):
7679 * progmodes/perl-mode.el (perl-mode): Don't call
7680 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7681
7682 2013-06-18 Juri Linkov <juri@jurta.org>
7683
7684 * files-x.el (modify-file-local-variable-message): New function.
7685 (modify-file-local-variable)
7686 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7687 and call `modify-file-local-variable-message' when it's non-nil.
7688 (add-file-local-variable, delete-file-local-variable)
7689 (add-file-local-variable-prop-line)
7690 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7691 and use it. (Bug#9820)
7692
7693 2013-06-18 Juri Linkov <juri@jurta.org>
7694
7695 * emulation/vi.el (vi-shell-op):
7696 * emulation/vip.el (vip-execute-com, ex-command):
7697 * emulation/viper-cmd.el (viper-exec-bang):
7698 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7699 the call of `shell-command-on-region'. (Bug#14637)
7700
7701 * simple.el (shell-command-on-region): Doc fix.
7702
7703 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7706 (bug#14633).
7707
7708 2013-06-18 Glenn Morris <rgm@gnu.org>
7709
7710 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7711
7712 * newcomment.el (comment-search-forward, comment-search-backward):
7713 Doc fix. (Bug#14376)
7714
7715 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7716
7717 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7718 (buffer-face-mode-invoke): Doc fix.
7719
7720 2013-06-18 Matthias Meulien <orontee@gmail.com>
7721
7722 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7723 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7724
7725 2013-06-18 Glenn Morris <rgm@gnu.org>
7726
7727 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7728 Replace obsolete function generic-make-keywords with its expansion.
7729
7730 * progmodes/python.el (ffap-alist): Declare.
7731
7732 * textmodes/reftex.el (bibtex-mode-map): Declare.
7733
7734 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7737 (package-unpack, package-unpack-single): Return the pkg-dir.
7738 (package-download-transaction): Use it to update package-alist.
7739
7740 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7741
7742 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7743 possible choice.
7744
7745 2013-06-17 Juri Linkov <juri@jurta.org>
7746
7747 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7748
7749 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7750
7751 * emacs-lisp/package.el (package-load-descriptor):
7752 Remove `with-syntax-table' call, `read' doesn't need it.
7753 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7754
7755 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * startup.el (command-line): Expand package name returned by
7758 `package--description-file' (bug#14639).
7759
7760 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7761
7762 * emacs-lisp/package.el (package-load-descriptor): Do not call
7763 `emacs-lisp-mode', just use its syntax table.
7764
7765 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7768 `font-lock-extra-managed-props' if any prettifying keyword is added.
7769 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7770 (prog-mode): Use `setq-local'.
7771
7772 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * international/characters.el (standard-case-table): Set syntax of ?»
7775 and ?« to punctuation.
7776
7777 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7780 Save relevant match data before calling `syntax-ppss' (bug#14595).
7781
7782 2013-06-15 Juri Linkov <juri@jurta.org>
7783
7784 * files-x.el (modify-file-local-variable-prop-line): Add local
7785 variables to the end of the existing comment on the first line.
7786 Use `file-auto-mode-skip' to skip interpreter magic line,
7787 and also skip XML declaration.
7788
7789 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * startup.el (package--builtin-versions): New var.
7792 (package-subdirectory-regexp): Remove.
7793 (package--description-file): Hard code its value instead.
7794
7795 * emacs-lisp/package.el: Don't activate packages older than builtin.
7796 (package-obsolete-list): Rename from package-obsolete-alist, and make
7797 it into a simple list of package-desc.
7798 (package-strip-version): Remove.
7799 (package-built-in-p): Use package--builtin-versions.
7800 (package-mark-obsolete): Simplify.
7801 (package-process-define-package): Mark it obsolete if older than the
7802 builtin version.
7803 (package-handle-response): Use line-end-position.
7804 (package-read-archive-contents, package--download-one-archive):
7805 Simplify.
7806 (package--add-to-archive-contents): Skip if older than the builtin or
7807 installed version.
7808 (package-menu-describe-package): Fix last change.
7809 (package-list-unversioned): New var.
7810 (package-menu--generate): Use it.
7811
7812 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7813 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7814 (autoload-builtin-package-versions): New variable.
7815 (autoload-generate-file-autoloads): Use them.
7816 Remove the list of autoloaded functions/macros from the
7817 (autoload...) comments.
7818
7819 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7820
7821 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7822
7823 * simple.el (line-move-partial): Don't jump to the next screen
7824 line as soon as it becomes visible. Instead, continue enlarging
7825 the vscroll until the portion of a tall screen line that's left on
7826 display is about the height of the frame's default font.
7827 (Bug#14567)
7828
7829 2013-06-15 Glenn Morris <rgm@gnu.org>
7830
7831 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7832 compilation-error-regexp-alist void, or local while let-bound.
7833
7834 * progmodes/make-mode.el (makefile-mode-syntax-table):
7835 Treat "=" as punctuation. (Bug#14614)
7836
7837 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7838
7839 * help-fns.el (describe-variable):
7840 Add extra line for permanent-local variables.
7841
7842 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7843
7844 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7845 Add export, import, library. (Bug#9164)
7846 (library): Set indent function.
7847
7848 2013-06-14 Glenn Morris <rgm@gnu.org>
7849
7850 * term/xterm.el (xterm--query):
7851 Stop after first matching handler. (Bug#14615)
7852
7853 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7854
7855 Add support for dired in saveplace.
7856 * dired.el (dired-initial-position-hook): New variable.
7857 (dired-initial-position): Call hook to place cursor position.
7858 * saveplace.el (save-place-to-alist): Add dired position.
7859 (save-place-dired-hook): New function.
7860
7861 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7864 through a symbol rather than letrec.
7865
7866 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7867 (package-desc): Add `dir' field.
7868 (package-desc-full-name): New function.
7869 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7870 (package-maybe-load-descriptor): Remove.
7871 (package-load-all-descriptors): Just call package-load-descriptor.
7872 (package--disabled-p): New function.
7873 (package-desc-vers, package-desc-doc): Remove aliases.
7874 (package--dir): Remove function.
7875 (package-activate): Check if a package is disabled.
7876 (package-process-define-package): New function, extracted from
7877 define-package.
7878 (define-package): Turn into a place holder.
7879 (package-unpack-single, package-tar-file-info):
7880 Use package--description-file.
7881 (package-compute-transaction): Use package--disabled-p.
7882 (package-download-transaction): Don't call
7883 package-maybe-load-descriptor since they're all loaded anyway.
7884 (package-install): Change argument to be a pkg-desc.
7885 (package-delete): Use a single pkg-desc argument.
7886 (describe-package-1): Use package-desc-dir instead of package--dir.
7887 Use package-desc property instead of package-symbol.
7888 (package-install-button-action): Adjust accordingly.
7889 (package--push): Rewrite.
7890 (package-menu--print-info): Adjust accordingly. Change the ID format
7891 to be a pkg-desc.
7892 (package-menu-describe-package, package-menu-get-status)
7893 (package-menu--find-upgrades, package-menu-mark-upgrades)
7894 (package-menu-execute, package-menu--name-predicate):
7895 Adjust accordingly.
7896 * startup.el (package--description-file): New function.
7897 (command-line): Use it.
7898 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7899 Use package-desc-version.
7900
7901 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7902 (byte-compile-preprocess): Use it.
7903 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7904 can't quite recognize.
7905 (byte-compile-add-to-list): Remove.
7906 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7907 (cconv-closure-convert): Add assertion.
7908
7909 * emacs-lisp/map-ynp.el: Use lexical-binding.
7910 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7911 Factor out some repeated code.
7912
7913 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * subr.el (with-eval-after-load): New macro.
7916 (eval-after-load): Allow form to be a function.
7917 take advantage of lexical-binding.
7918 (do-after-load-evaluation): Use dolist and adjust to new format.
7919 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7920
7921 2013-06-13 Juri Linkov <juri@jurta.org>
7922
7923 * replace.el (perform-replace): Display "symbol " and other search
7924 modes from `isearch-message-prefix' in the *Help* buffer.
7925
7926 * isearch.el (isearch-query-replace): Add " symbol" and other
7927 possible search modes from `isearch-message-prefix' to the prompt.
7928 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7929 when reading a regexp to collect.
7930
7931 2013-06-13 Juri Linkov <juri@jurta.org>
7932
7933 * isearch.el (word-search-regexp): Match whitespace if the search
7934 string begins or ends in whitespace. The LAX arg is applied to
7935 both ends of the search string. Use `regexp-quote' and explicit
7936 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7937 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7938 boundaries are replaced with symbol boundaries, and characters
7939 between symbols match non-word non-symbol syntax. (Bug#14602)
7940
7941 2013-06-13 Juri Linkov <juri@jurta.org>
7942
7943 * isearch.el (isearch-del-char): Don't exceed the length of
7944 `isearch-string' by the prefix arg. (Bug#14563)
7945
7946 2013-06-13 Juri Linkov <juri@jurta.org>
7947
7948 * isearch.el (isearch-yank-word, isearch-yank-line)
7949 (isearch-char-by-name, isearch-quote-char)
7950 (isearch-printing-char, isearch-process-search-char):
7951 Add optional count prefix arg. (Bug#14563)
7952
7953 * international/isearch-x.el
7954 (isearch-process-search-multibyte-characters):
7955 Add optional count prefix arg.
7956
7957 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7960 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7961 lexical-binding.
7962
7963 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7964
7965 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7966
7967 2013-06-13 Glenn Morris <rgm@gnu.org>
7968
7969 * startup.el (tty-handle-args):
7970 Don't just discard "--" and anything after. (Bug#14608)
7971
7972 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7973
7974 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7975
7976 Implement changes in Secret Service API. Make it backward compatible.
7977 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7978 (secrets-create-item): Use it. Prefix properties with interface.
7979
7980 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7981
7982 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7983 (term-emulate-terminal): Respect term-suppress-hard-newline.
7984
7985 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7986
7987 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7988 Only remove a `thumb-file' overlay. (Bug#14548)
7989
7990 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7991
7992 * mail/reporter.el (reporter-submit-bug-report):
7993 Handle missing package-name. (Bug#14600)
7994
7995 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7996
7997 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7998 (reftex-citation-prompt, reftex-default-bibliography)
7999 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8000 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8001 (reftex-bib-sort-author, reftex-bib-sort-year)
8002 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8003 (reftex-extract-bib-entries-from-thebibliography)
8004 (reftex-get-bibkey-default, reftex-get-bib-names)
8005 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8006 (reftex-format-bib-entry, reftex-parse-bibitem)
8007 (reftex-format-bibitem, reftex-do-citation)
8008 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8009 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8010 (reftex-insert-bib-matches, reftex-format-citation)
8011 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8012 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8013 existing comments into docstrings.
8014
8015 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8016
8017 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8018
8019 2013-06-12 Andreas Schwab <schwab@suse.de>
8020
8021 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8022 for auto-save files.
8023
8024 2013-06-12 Glenn Morris <rgm@gnu.org>
8025
8026 * ido.el (ido-delete-ignored-files): Remove.
8027 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8028 Go back to calling ido-ignore-item-p directly.
8029
8030 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8031
8032 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8033
8034 * ido.el (ido-delete-ignored-files): New function,
8035 split from ido-make-file-list-1.
8036 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8037 (ido-make-file-list-1): Use ido-delete-ignored-files.
8038
8039 2013-06-12 Leo Liu <sdl.web@gmail.com>
8040
8041 * progmodes/octave.el (inferior-octave-startup)
8042 (inferior-octave-completion-table)
8043 (inferior-octave-track-window-width-change)
8044 (octave-eldoc-function-signatures, octave-help)
8045 (octave-find-definition): Use single quoted strings.
8046 (inferior-octave-startup-args): Change default value.
8047 (inferior-octave-startup): Do not hard code "-i" and
8048 "--no-line-editing".
8049 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8050 (inferior-octave-directory-tracker): Use it.
8051 (octave-goto-function-definition): Robustify.
8052 (octave-help): Support highlighting operators in 'See also'.
8053 (octave-find-definition): Find subfunctions only in Octave mode.
8054
8055 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * help-fns.el (help-fns--compiler-macro): If the handler function is
8058 named, then put a link to it.
8059 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8060 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8061 (cl-typep): Use it.
8062 (cl-eval-when): Simplify debug spec.
8063 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8064 compiler-macro function instead of setting `compiler-macro-file'.
8065
8066 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8067
8068 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8069 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8070
8071 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8072 Daniel Hackney <dan@haxney.org>
8073
8074 First part of Daniel Hackney's patch to package.el.
8075 * emacs-lisp/package.el: Use defstruct.
8076 (package-desc): New, main struct.
8077 (package--bi-desc, package--ac-desc): New structs, used to describe the
8078 format in external files.
8079 (package-desc-vers): Replace with package-desc-version accessor.
8080 (package-desc-doc): Replace with package-desc-summary accessor.
8081 (package-activate-1): Remove `package' arg since the pkg-vec now
8082 includes the name.
8083 (define-package): Use package-desc-from-define.
8084 (package-unpack-single): Change file-name arg to be a symbol.
8085 (package--add-to-archive-contents): Use package-desc-create and new
8086 accessor functions to package--ac-desc.
8087 (package-buffer-info, package-tar-file-info): Return a package-desc.
8088 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8089 arg to be a package-desc.
8090 (package-install-file): Adjust accordingly. Use \' to match EOS.
8091 (package--from-builtin): New function.
8092 (describe-package-1, package-menu--generate): Use it.
8093 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8094 (package-generate-autoloads): Idem and return the name of the file.
8095 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8096 Change pkg-info arg to be a package-desc.
8097 Use package-make-ac-desc.
8098 (package-upload-file): Use \' to match EOS.
8099 * finder.el (finder-compile-keywords): Use package-make-builtin.
8100
8101 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8102
8103 * vc/vc.el (vc-deduce-fileset): Change error message.
8104 (vc-read-backend): New function.
8105 (vc-next-action): Use it.
8106
8107 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8108
8109 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8110 (prolog-font-lock-keywords): Use regexp-opt instead.
8111 Don't manually highlight strings.
8112 (prolog-mode-variables): Simplify comment-start-skip.
8113 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8114
8115 * emacs-lisp/generic.el (generic--normalise-comments)
8116 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8117 (generic-mode-set-comments): Use them.
8118 (generic-bracket-support): Use setq-local.
8119 (generic-make-keywords-list): Declare obsolete.
8120
8121 2013-06-11 Glenn Morris <rgm@gnu.org>
8122
8123 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8124 Prettify after setting font-lock-defaults. (Bug#14574)
8125
8126 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8127
8128 * replace.el (query-replace, occur-read-regexp-defaults-function)
8129 (replace-search):
8130 * subr.el (declare-function, number-sequence, local-set-key)
8131 (substitute-key-definition, locate-user-emacs-file)
8132 (with-silent-modifications, split-string, eval-after-load):
8133 Fix typos, remove unneeded backslashes and reflow some docstrings.
8134
8135 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8138 default for Elisp files.
8139
8140 2013-06-11 Glenn Morris <rgm@gnu.org>
8141
8142 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8143 although define-derived-mode was doing this anyway. (Bug#14583)
8144
8145 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8148 Fix make-variable-buffer-local call to refer to the correct variable.
8149
8150 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8151
8152 * eshell/em-term.el (eshell-visual-commands)
8153 (eshell-visual-subcommands, eshell-visual-options):
8154 Add summary line to docstrings. Add cross-references.
8155
8156 2013-06-10 Glenn Morris <rgm@gnu.org>
8157
8158 * epa.el (epa-read-file-name): New function. (Bug#14510)
8159 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8160
8161 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8162
8163 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8164 output redirection to be ignored with visual commands.
8165
8166 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8167
8168 * eshell/em-term.el (eshell-visual-command-p): New function.
8169 (eshell-term-initialize): Move long lambda to separate function
8170 eshell-visual-command-p.
8171 * eshell/em-dirs.el (eshell-dirs-initialise):
8172 * eshell/em-script.el (eshell-script-initialize):
8173 Add missing #' to lambda.
8174
8175 2013-06-08 Leo Liu <sdl.web@gmail.com>
8176
8177 * progmodes/octave.el (octave-add-log-current-defun): New function.
8178 (octave-mode): Set add-log-current-defun-function.
8179 (octave-goto-function-definition): Do not move point if not found.
8180 (octave-find-definition): Enhance to try subfunctions first.
8181
8182 2013-06-08 Glenn Morris <rgm@gnu.org>
8183
8184 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8185 (byte-compile-backward-char, byte-compile-backward-word):
8186 Improve previous change, to handle non-explicit nil.
8187
8188 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8191 (smie--opener/closer-at-point): New function.
8192 (smie--matching-block-data): Use it. Don't match from right after an
8193 opener or right before a closer. Obey smie-blink-matching-inners.
8194 Don't signal a mismatch for repeated inners like "switch..case..case".
8195
8196 2013-06-07 Leo Liu <sdl.web@gmail.com>
8197
8198 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8199 to t. (Bug#14303)
8200 (octave-function-header-regexp): Fix. (Bug#14570)
8201 (octave-help-mode-finish-hook, octave-help-mode-finish):
8202 Remove. Just use temp-buffer-show-hook.
8203
8204 * newcomment.el (comment-search-backward): Revert last change.
8205 (Bug#14434)
8206
8207 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8208
8209 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8210
8211 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8212 through xargs, to avoid failure due to MS-Windows limitations on
8213 command-line length.
8214
8215 2013-06-06 Glenn Morris <rgm@gnu.org>
8216
8217 * font-lock.el (lisp-font-lock-keywords-2):
8218 Treat user-error like error.
8219
8220 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8221 (byte-compile-backward-char, byte-compile-backward-word):
8222 Handle explicit nil arguments. (Bug#14565)
8223
8224 2013-06-05 Alan Mackenzie <acm@muc.de>
8225
8226 * isearch.el (isearch-allow-prefix): New user option.
8227 (isearch-other-meta-char): Don't exit isearch when a prefix
8228 argument is typed whilst `isearch-allow-prefix' is non-nil.
8229 (Bug#9706)
8230
8231 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * autorevert.el (auto-revert-notify-handler): Use memq.
8234 Hide assertion failure.
8235
8236 * skeleton.el: Use cl-lib.
8237 (skeleton-further-elements): Use defvar-local.
8238 (skeleton-insert): Use cl-progv.
8239
8240 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8241
8242 * progmodes/prog-mode.el (prog-prettify-symbols)
8243 (prog-prettify-install): Update docstrings.
8244
8245 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8246
8247 * simple.el: Move all the prog-mode code to prog-mode.el.
8248 * progmodes/prog-mode.el: New file.
8249 * loadup.el: Add prog-mode.el.
8250
8251 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8252
8253 * simple.el (prog-prettify-symbols): Add version.
8254 (prog-prettify-install): Add convenience function to prettify symbols.
8255
8256 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8257 (perl--augmented-font-lock-keywords-1)
8258 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8259 variables and use it.
8260
8261 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8262 (cfengine3-mode): Remove unneeded variable and use it.
8263
8264 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8265 (lisp--augmented-font-lock-keywords-1)
8266 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8267 Remove unneeded variables and use it.
8268
8269 2013-06-05 João Távora <joaotavora@gmail.com>
8270
8271 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8272 to point when opening the connection. (Bug#14380)
8273
8274 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * subr.el (load-history-regexp, load-history-filename-element)
8277 (eval-after-load, after-load-functions, do-after-load-evaluation)
8278 (eval-next-after-load, display-delayed-warnings)
8279 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8280 definition of save-match-data.
8281 (overriding-local-map): Remove accidental obsolescence declaration.
8282
8283 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8284
8285 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8286
8287 Generalize symbol prettify support to prog-mode and implement it
8288 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8289 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8290 (prog--prettify-font-lock-compose-symbol)
8291 (prog-prettify-font-lock-symbols-keywords): New variables and
8292 functions to support symbol prettification.
8293 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8294 (lisp--augmented-font-lock-keywords-1)
8295 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8296 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8297 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8298 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8299 Implement prettify of -> => :: strings.
8300 * progmodes/perl-mode.el (perl-prettify-symbols)
8301 (perl--font-lock-compose-symbol)
8302 (perl--font-lock-symbols-keywords): Move to prog-mode.
8303 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8304 (perl-font-lock-keywords-1)
8305 (perl-font-lock-keywords-2): Remove explicit prettify support.
8306 (perl--augmented-font-lock-keywords)
8307 (perl--augmented-font-lock-keywords-1)
8308 (perl--augmented-font-lock-keywords-2, perl-mode):
8309 Implement prettify support.
8310
8311 2013-06-05 Leo Liu <sdl.web@gmail.com>
8312
8313 Re-implement smie matching block highlight using
8314 show-paren-data-function. (Bug#14395)
8315 * emacs-lisp/smie.el (smie-matching-block-highlight)
8316 (smie--highlight-matching-block-overlay)
8317 (smie--highlight-matching-block-lastpos)
8318 (smie-highlight-matching-block)
8319 (smie-highlight-matching-block-mode): Remove.
8320 (smie--matching-block-data-cache): New variable.
8321 (smie--matching-block-data): New function.
8322 (smie-setup): Use smie--matching-block-data for
8323 show-paren-data-function.
8324
8325 * progmodes/octave.el (octave-mode-menu): Fix.
8326 (octave-find-definition): Skip garbage lines.
8327
8328 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 Fix compilation error with simultaneous dynamic+lexical scoping.
8331 Add warning when a defvar appears after the first let-binding.
8332 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8333 (byte-compile-close-variables): Initialize it.
8334 (byte-compile--declare-var): New function.
8335 (byte-compile-file-form-defvar)
8336 (byte-compile-file-form-define-abbrev-table)
8337 (byte-compile-file-form-custom-declare-variable): Use it.
8338 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8339 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8340 (byte-compile-bind): Handle dynamic bindings that shadow
8341 lexical bindings.
8342 (byte-compile-unbind): Make arg non-optional.
8343 (byte-compile-let): Simplify.
8344 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8345 (cconv--analyse-function, cconv-analyse-form): Populate it.
8346 Protect byte-compile-bound-variables to limit the scope of defvars.
8347 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8348 Remove unneeded rule for `declare'.
8349
8350 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8351 so as to avoid depending on cl-adjoin at run-time.
8352 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8353
8354 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8355 (macroexp--warn-and-return): Use it.
8356
8357 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * lisp/subr.el: Convert to lexical binding.
8360 (overriding-local-map): Make obsolete.
8361 (add-to-list): Doc fix. Add compiler macro.
8362 (read-key): Swap values of local maps.
8363
8364 2013-06-05 Leo Liu <sdl.web@gmail.com>
8365
8366 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8367
8368 2013-06-04 Leo Liu <sdl.web@gmail.com>
8369
8370 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8371 (compilation-auto-jump): Suppress the "Mark set" message to give
8372 way to exit message.
8373
8374 2013-06-04 Alan Mackenzie <acm@muc.de>
8375
8376 Remove faulty optimisation from indentation calculation.
8377 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8378 search limit based on 2000 characters back from indent-point.
8379
8380 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8381
8382 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8383
8384 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * emacs-lisp/lisp.el: Use lexical-binding.
8387 (lisp--local-variables-1, lisp--local-variables): New functions.
8388 (lisp--local-variables-completion-table): New var.
8389 (lisp-completion-at-point): Use it complete let-bound vars.
8390
8391 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8392 eagerly (bug#14422).
8393
8394 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8395
8396 * autorevert.el (auto-revert-notify-enabled)
8397 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8398 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8399 (auto-revert-notify-handler): Handle also gfilenotify.
8400
8401 * subr.el (file-notify-handle-event): New defun. Replacing ...
8402 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8403 Remove.
8404
8405 2013-06-03 Juri Linkov <juri@jurta.org>
8406
8407 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8408 `M-s h .'. (Bug#14427)
8409
8410 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8411 command `hi-lock-face-symbol-at-point'.
8412 (hi-lock-face-symbol-at-point): New command.
8413 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8414 (hi-lock-menu): Add `highlight-symbol-at-point'.
8415 (hi-lock-mode): Doc fix.
8416
8417 * isearch.el (isearch-forward-symbol-at-point): New command.
8418 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8419 (isearch-highlight-regexp): Add a regexp which matches
8420 words/symbols for word/symbol mode.
8421
8422 * subr.el (find-tag-default-bounds): New function with the body
8423 mostly moved from `find-tag-default'.
8424 (find-tag-default): Move most code to `find-tag-default-bounds',
8425 call it and apply `buffer-substring-no-properties' afterwards.
8426
8427 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8428
8429 * eshell/em-term.el (eshell-term-initialize):
8430 Use `cl-intersection' rather than `intersection'.
8431
8432 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8433
8434 * vc/log-view.el: Doc fix.
8435 (log-view-mode-map): Copy keymap from `special-mode-map'.
8436
8437 2013-06-02 Eric Ludlam <zappo@gnu.org>
8438
8439 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8440 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8441 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8442 (eieio-unbound, eieio-default-superclass)
8443 (eieio--define-field-accessors, method-static, method-before)
8444 (method-primary, method-after, method-num-lists)
8445 (method-generic-before, method-generic-primary)
8446 (method-generic-after, method-num-slots)
8447 (eieio-specialized-key-to-generic-key)
8448 (eieio--check-type, class-v, class-p)
8449 (eieio-class-name, define-obsolete-function-alias)
8450 (eieio-class-parents-fast, eieio-class-children-fast)
8451 (same-class-fast-p, class-constructor, generic-p)
8452 (generic-primary-only-p, generic-primary-only-one-p)
8453 (class-option-assoc, class-option, eieio-object-p)
8454 (class-abstract-p, class-method-invocation-order)
8455 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8456 (eieio-class-un-autoload, eieio-defclass)
8457 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8458 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8459 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8460 (eieio-defgeneric-reset-generic-form)
8461 (eieio-defgeneric-form-primary-only)
8462 (eieio-defgeneric-reset-generic-form-primary-only)
8463 (eieio-defgeneric-form-primary-only-one)
8464 (eieio-defgeneric-reset-generic-form-primary-only-one)
8465 (eieio-unbind-method-implementations)
8466 (eieio--defmethod, eieio--typep)
8467 (eieio-perform-slot-validation, eieio-validate-slot-value)
8468 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8469 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8470 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8471 (eieio-slot-name-index, eieio-class-slot-name-index)
8472 (eieio-set-defaults, eieio-initarg-to-attribute)
8473 (eieio-attribute-to-initarg, eieio-c3-candidate)
8474 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8475 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8476 (eieio-class-precedence-list, eieio-generic-call-methodname)
8477 (eieio-generic-call-arglst, eieio-generic-call-key)
8478 (eieio-generic-call-next-method-list)
8479 (eieio-pre-method-execution-functions, eieio-generic-call)
8480 (eieio-generic-call-primary-only, eieiomt-method-list)
8481 (eieiomt-optimizing-obarray, eieiomt-install)
8482 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8483 (eieio-generic-form, eieio-defmethod, make-obsolete)
8484 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8485 (defclass): Remove `eval-and-compile' from macro.
8486 (call-next-method, shared-initialize): Instead of using
8487 `scoped-class' variable, use new eieio--scoped-class, and
8488 eieio--with-scoped-class.
8489 (initialize-instance): Rename local variable 'scoped-class' to
8490 'this-class' to remove ambiguitity from old global.
8491
8492 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8493 eieio.el.
8494 (eieio--scoped-class-stack): New variable.
8495 (eieio--scoped-class): New fcn.
8496 (eieio--with-scoped-class): New scoping macro.
8497 (eieio-defclass): Use pushnew instead of add-to-list.
8498 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8499 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8500 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8501 `scoped-class' variable, use new eieio--scoped-class, and
8502 eieio--with-scoped-class.
8503
8504 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8505
8506 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8507
8508 * eshell/esh-ext.el (eshell-external-command): Pass args to
8509 `eshell-find-interpreter'.
8510 (eshell-find-interpreter): Add new second parameter ARGS.
8511
8512 * eshell/em-script.el (eshell-script-initialize): Add second arg
8513 to the function added as MATCH to `eshell-interpreter-alist'.
8514
8515 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8516 the function added as MATCH to `eshell-interpreter-alist'.
8517
8518 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8519 (eshell-visual-options): New defcustom.
8520 (eshell-escape-control-x): Adapt docstring.
8521 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8522 `eshell-visual-options' in addition to `eshell-visual-commands'.
8523 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8524
8525 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8526
8527 * progmodes/python.el (python-indent-block-enders): Add break,
8528 continue and raise keywords.
8529
8530 2013-06-01 Glenn Morris <rgm@gnu.org>
8531
8532 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8533
8534 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8535 * progmodes/cc-cmds.el (delete-forward-p):
8536 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8537 * progmodes/cc-engine.el (buffer-syntactic-context):
8538 * progmodes/cc-fonts.el (face-property-instance):
8539 * progmodes/cc-mode.el (set-keymap-parents):
8540 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8541 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8542 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8543 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8544 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8545
8546 * progmodes/cc-vars.el (other): Emacs has this widget since
8547 at least 21.1, so don't (re)define it.
8548
8549 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8550 Replace the obsolete alias pcomplete-arg-quote-list.
8551
8552 2013-06-01 Leo Liu <sdl.web@gmail.com>
8553
8554 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8555 punctuation syntax.
8556 (inferior-octave-minimal-columns)
8557 (inferior-octave-last-column-width): New variables.
8558 (inferior-octave-track-window-width-change): New function.
8559 (inferior-octave-mode): Adjust column width so that Octave output,
8560 for example from 'ls', can fit into the window nicely.
8561
8562 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8563
8564 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8565 Highlight expansions inside regexp literals.
8566
8567 2013-05-31 Glenn Morris <rgm@gnu.org>
8568
8569 * obsolete/sym-comp.el (symbol-complete):
8570 Replace obsolete completion-annotate-function.
8571
8572 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8573
8574 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8575
8576 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8577 New function, checks if point is inside a literal that allows
8578 expression expansion.
8579 (ruby-syntax-propertize-expansion): Use it.
8580 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8581 around the body.
8582
8583 2013-05-30 Juri Linkov <juri@jurta.org>
8584
8585 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8586 to "\M-si".
8587 (isearch-invisible): New variable.
8588 (isearch-forward): Doc fix.
8589 (isearch-mode): Set `isearch-invisible'
8590 to the value of `search-invisible'.
8591 (isearch-toggle-case-fold): Doc fix.
8592 (isearch-toggle-invisible): New command.
8593 (isearch-query-replace): Let-bind `search-invisible'
8594 to the value of `isearch-invisible'.
8595 (isearch-search): Use `isearch-invisible' instead of
8596 `search-invisible'. Let-bind `search-invisible'
8597 to the value of `isearch-invisible'. (Bug#11378)
8598
8599 2013-05-30 Juri Linkov <juri@jurta.org>
8600
8601 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8602 call when `query-flag' is nil and `search-invisible' is non-nil.
8603 (Bug#11746)
8604
8605 2013-05-30 Glenn Morris <rgm@gnu.org>
8606
8607 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8608
8609 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8610 (cc-require): Suppress spurious "noruntime" warnings.
8611 (cc-require-when-compile): Use fboundp, for sake of compiler.
8612
8613 * progmodes/cc-mode.el: Move load of cc-vars before that of
8614 cc-langs (which in turn loads cc-vars), to quieten compiler.
8615
8616 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * paren.el: Simplify the code.
8619 (show-paren-mode): Always start the timer.
8620 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8621 (show-paren--overlay, show-paren--overlay-1): Rename from
8622 show-paren-overlay and show-paren-overlay-1, and initialize to an
8623 overlay rather than to nil.
8624 (show-paren-function): Misc cleanup and simplifications.
8625
8626 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * paren.el (show-paren-data-function): New hook.
8629 (show-paren--default): New function, extracted from show-paren-function.
8630 (show-paren-function): Use show-paren-data-function.
8631
8632 2013-05-30 Glenn Morris <rgm@gnu.org>
8633
8634 * ielm.el (ielm-map, ielm-complete-symbol):
8635 Use completion-at-point rather than obsolete functions.
8636 (inferior-emacs-lisp-mode): Doc fix.
8637 Set completion-at-point-functions, rather than
8638 comint-dynamic-complete-functions.
8639
8640 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8641 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8642 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8643
8644 * image.el (image-animated-p): Tweak definition.
8645
8646 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8647 (rlogin-process-connection-type): Tweak default. Add set-after.
8648 (rlogin-host): Doc fix.
8649 (rlogin): Tweak prompt.
8650 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8651
8652 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8653 * progmodes/tcl.el (inferior-tcl-mode-map):
8654 Use completion-at-point rather than obsolete alias.
8655
8656 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8657
8658 * minibuffer.el (read-file-name-completion-ignore-case):
8659 Move before completion--in-region, for eager macro expansion.
8660
8661 2013-05-29 Juri Linkov <juri@jurta.org>
8662
8663 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8664 for total count of matching lines. Add `global-matches' for total
8665 count of matches. Rename `matches' to `lines' for count of
8666 matching lines. Add `matches' for count of matches.
8667 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8668 to `prev-line' for line number of prev match endpt.
8669 Increment `matches' for every match. Print the number of
8670 matching lines in the header.
8671 (occur-context-lines): Rename `lines' to `curr-line'.
8672 Rename `prev-lines' to `prev-line'. (Bug#14017)
8673
8674 2013-05-29 Juri Linkov <juri@jurta.org>
8675
8676 * replace.el (perform-replace): Add `skip-read-only-count',
8677 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8678 Increment them for corresponding conditions and report the number
8679 of skipped occurrences in the final message. (Bug#11746)
8680 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8681 (replace-string, replace-regexp): Doc fix.
8682
8683 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8686
8687 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8688 prog-mode-map (bug#14504).
8689
8690 2013-05-29 Leo Liu <sdl.web@gmail.com>
8691
8692 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8693 (octave-help): Small simplification.
8694
8695 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8696 off the highlight first.
8697
8698 2013-05-29 Glenn Morris <rgm@gnu.org>
8699
8700 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8701 Handle idlwave-last-system-routine-info-cons-cell being nil.
8702
8703 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8704 (idlwave-write-paths): Simplify via with-temp-buffer.
8705
8706 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8707 * emulation/cua-rect.el: Also load cua-base at run time.
8708
8709 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8710 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8711 (cperl-imenu-on-info): Require imenu.
8712
8713 2013-05-28 Alan Mackenzie <acm@muc.de>
8714
8715 Handle "capitalised keywords" correctly.
8716 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8717
8718 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8719
8720 * eshell/em-unix.el: Add -r option to cp.
8721
8722 2013-05-28 Glenn Morris <rgm@gnu.org>
8723
8724 * vc/vc-arch.el (vc-exec-after): Declare.
8725 (vc-switches): Autoload.
8726 * vc/vc-bzr.el: No need to require vc when compiling.
8727 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8728 (vc-resynch-buffer, vc-dir-refresh): Declare.
8729 (vc-setup-buffer, vc-switches): Autoload.
8730 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8731 (vc-resynch-buffer): Declare.
8732 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8733 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8734 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8735 (grep-read-regexp, grep-read-files, grep-expand-template)
8736 (vc-dir-refresh): Declare.
8737 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8738 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8739 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8740 * vc/vc-mtn.el (vc-exec-after): Declare.
8741 (vc-switches): Autoload.
8742 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8743 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8744 (vc-file-tree-walk): Declare.
8745 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8746 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8747 (vc-tag-precondition, vc-rename-master): Autoload.
8748 * vc/vc-svn.el (vc-exec-after): Declare.
8749 (vc-switches, vc-setup-buffer): Autoload.
8750 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8751 Autoload.
8752 (vc-resynch-buffer): Declare.
8753
8754 * obsolete/fast-lock.el (byte-compile-warnings):
8755 Don't warn about obsolete features in this obsolete file.
8756
8757 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8758 Move definition before use.
8759
8760 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8761 (dun-unix-verbs): Remove dun-zippy.
8762 (dun-zippy): Remove function.
8763
8764 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8765
8766 2013-05-27 Juri Linkov <juri@jurta.org>
8767
8768 * replace.el (replace-search): New function with code moved out
8769 from `perform-replace'.
8770 (replace-highlight, replace-dehighlight): Move function definitions
8771 up closer to `replace-search'. (Bug#11746)
8772
8773 2013-05-27 Juri Linkov <juri@jurta.org>
8774
8775 * replace.el (perform-replace): Ignore invisible matches.
8776 In addition to checking `query-replace-skip-read-only', also
8777 filter out matches by calling `run-hook-with-args-until-failure'
8778 on `isearch-filter-predicates', and also check `search-invisible'
8779 for t or call `isearch-range-invisible'.
8780 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8781
8782 2013-05-27 Juri Linkov <juri@jurta.org>
8783
8784 * isearch.el (isearch-filter-predicates): Rename from
8785 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8786 (isearch-message-prefix): Display text from the property
8787 `isearch-message-prefix' of the currently active filters.
8788 (isearch-search): Don't compare `isearch-filter-predicate' with
8789 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8790 on `isearch-filter-predicates'. Also check `search-invisible' for t
8791 or call `isearch-range-invisible'.
8792 (isearch-filter-visible): Make obsolete.
8793 (isearch-lazy-highlight-search):
8794 Call `run-hook-with-args-until-failure' on
8795 `isearch-filter-predicates' and use `isearch-range-invisible'.
8796
8797 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8798 `isearch-filter-predicates' instead of `funcall'ing
8799 `isearch-filter-predicate'.
8800 (Info-mode): Set `Info-isearch-filter' to
8801 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8802
8803 * dired-aux.el (dired-isearch-filter-predicate-orig):
8804 Remove variable.
8805 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8806 (dired-isearch-filenames-end): Add and remove
8807 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8808 instead of changing the value of `isearch-filter-predicate'.
8809 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8810 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8811 Put property `isearch-message-prefix' to "filename " on
8812 `dired-isearch-filter-filenames'.
8813
8814 * wdired.el (wdired-change-to-wdired-mode):
8815 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8816 locally instead of changing `isearch-filter-predicate'.
8817 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8818
8819 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8820
8821 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8822 return the commit hash (Bug#14459). Also set the
8823 `vc-git-detached' property.
8824 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8825 (vc-git-mode-line-string): Use the same help-echo format whether
8826 in detached mode or not, because we know the actual revision now.
8827 When in detached mode, shorten the revision to 7 chars.
8828
8829 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * emacs-lisp/easy-mmode.el (define-minor-mode):
8832 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8833 mode hook and provide a docstring.
8834
8835 2013-05-27 Alan Mackenzie <acm@muc.de>
8836
8837 Remove spurious syntax-table text properties inserted by C-y.
8838 * progmodes/cc-mode.el (c-after-change): Also clear hard
8839 syntax-table property with value nil.
8840
8841 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8844 when reading the events; the buffer layout shall not be changed.
8845
8846 2013-05-27 Leo Liu <sdl.web@gmail.com>
8847
8848 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8849 New variable.
8850 (inferior-octave-directory-tracker): Automatically re-sync
8851 default-directory.
8852 (octave-help): Improve handling of 'See also'.
8853
8854 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * doc-view.el: Minor naming convention tweaks.
8857 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8858
8859 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8860 even if there's no `display' property yet (bug#14435).
8861
8862 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8863
8864 * subr.el (unmsys--file-name): Rename from reveal-filename.
8865
8866 * Makefile.in (custom-deps, finder-data, autoloads)
8867 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8868 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8869 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8870
8871 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8874 error-completion on the first 2 args of condition-case (bug#14446).
8875 Don't burp at EOB.
8876
8877 2013-05-25 Leo Liu <sdl.web@gmail.com>
8878
8879 * comint.el (comint-previous-matching-input): Do not flood the
8880 *Messages* buffer with trivial messages.
8881
8882 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * progmodes/flymake.el (flymake-nop): Don't return a string.
8885 (flymake-set-at): Fix typo.
8886
8887 * simple.el (read--expression): New function, extracted from
8888 eval-expression. Set completion-at-point-functions (bug#14465).
8889 (eval-expression, eval-minibuffer): Use it.
8890
8891 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8892
8893 * progmodes/flymake.el (flymake-save-buffer-in-file)
8894 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8895 (flymake-selected-frame, flymake-log, flymake-ins-after)
8896 (flymake-set-at, flymake-get-buildfile-from-cache)
8897 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8898 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8899 Refine the doc string.
8900 (flymake-get-file-name-mode-and-masks): Reformat.
8901 (flymake-get-real-file-name-function): Fix a minor bug.
8902
8903 2013-05-24 Juri Linkov <juri@jurta.org>
8904
8905 * progmodes/grep.el (grep-mode-font-lock-keywords):
8906 Support =linenumber= format used by git-grep for lines with
8907 function names. (Bug#13549)
8908
8909 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8912 0 after a semi-colon; it works better for smie-auto-fill.
8913 (octave--indent-new-comment-line): New function.
8914 (octave-indent-new-comment-line): Use it (indirectly).
8915 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8916 modify comment-line-break-function.
8917
8918 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8919 (smie-setup): Use add-function to set it.
8920
8921 2013-05-24 Sam Steingold <sds@gnu.org>
8922
8923 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8924 argument (before the `interactive' argument).
8925
8926 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * image-mode.el (image-mode-winprops): Add winprops to
8929 image-mode-winprops-alist before running
8930 image-mode-new-window-functions.
8931 * doc-view.el (doc-view-new-window-function): Don't delay
8932 doc-view-goto-page via timers (bug#14435).
8933
8934 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8935
8936 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8937 (doc-view-desktop-save-buffer): New function.
8938 (doc-view-restore-desktop-buffer): New function.
8939 (desktop-buffer-mode-handlers):
8940 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8941 handler.
8942 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8943 `desktop-save-buffer' function.
8944
8945 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8946
8947 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8948 (tramp-gvfs-file-name-handler): Raise a user error when
8949 `tramp-gvfs-enabled' is nil.
8950 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8951 Do not raise a user error when loading package. (Bug#14447)
8952
8953 * net/xesam.el: Move to obsolete/.
8954
8955 2013-05-24 Glenn Morris <rgm@gnu.org>
8956
8957 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8958
8959 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8960
8961 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8962 (Info-find-node, Man-getpage-in-background): Declare.
8963
8964 * mail/unrmail.el (unrmail):
8965 Replace obsolete detect-coding-with-priority.
8966
8967 * net/socks.el (socks-split-string): Use this rather than split-string.
8968 (socks-nslookup-host): Update for above change.
8969 (dynamic-choice, s5-dynamic-choice-match)
8970 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8971 Comment out unused code.
8972
8973 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8974 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8975 (gud-tooltip-echo-area): Make obsolete.
8976 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8977
8978 * progmodes/js.el (js--optimize-arglist): Declare.
8979
8980 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8981
8982 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8983 (ediff-window-C): Declare.
8984
8985 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8986 Tweak requires to silence compiler.
8987
8988 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8989 (he-search-string, he-tried-table, he-expand-list)
8990 (he-init-string, he-string-member, he-substitute-string)
8991 (he-reset-string): Declare.
8992
8993 * obsolete/options.el (list-options): Use custom-variable-p,
8994 rather than obsolete alias.
8995
8996 2013-05-23 Sam Steingold <sds@gnu.org>
8997
8998 * simple.el (shell-command-on-region): Pass the `replace' argument
8999 down to `call-process-region' to comply with the doc as reported on
9000 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9001
9002 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * emacs-lisp/smie.el (smie-indent-forward-token)
9005 (smie-indent-backward-token): Handle string tokens (bug#14381).
9006
9007 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9008
9009 * ielm.el (ielm-menu): New menu.
9010 (inferior-emacs-lisp-mode): Set comment-start.
9011
9012 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9013
9014 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9015 Fix deactivate action.
9016
9017 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9018 Add cleveref macros.
9019
9020 * lisp/textmodes/reftex-parse.el
9021 (reftex-locate-bibliography-files): Accept options for
9022 bibliography commands.
9023 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9024 Add addbibresource. Basic Biblatex support.
9025
9026 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9027
9028 * net/tramp-gvfs.el (top):
9029 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9030 when loading package. (Bug#14447)
9031
9032 2013-05-23 Glenn Morris <rgm@gnu.org>
9033
9034 * progmodes/js.el: No need to load comint when compiling.
9035 (ring-insert, comint-send-string, comint-send-input)
9036 (comint-last-input-end, ido-chop): Declare.
9037
9038 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9039 * vc/ediff-mult.el: Adjust requires.
9040 (ediff-directories-internal, ediff-directory-revisions-internal)
9041 (ediff-patch-file-internal): Declare.
9042 * vc/ediff-ptch.el: Adjust requires.
9043 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9044 (ediff-find-file): Autoload.
9045 * vc/ediff-util.el: No need to load ediff when compiling.
9046 (ediff-regions-internal): Declare.
9047 * vc/ediff-wind.el: Adjust requires.
9048 (ediff-compute-toolbar-width): Define when compiling.
9049 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9050 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9051 (dired-get-filename, dired-get-marked-files)
9052 (ediff-last-dir-patch, ediff-patch-default-directory)
9053 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9054 (ediff-patch-buffer-internal): Declare.
9055
9056 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9057 (ispell-process, ispell-buffer-local-words, lm-summary)
9058 (lm-section-start, lm-section-end): Declare.
9059 (checkdoc-ispell-init): Simplify.
9060
9061 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9062 (he-string-member, he-reset-string, he-substitute-string): Declare.
9063
9064 * eshell/em-ls.el: Adjust requires.
9065 (eshell-glob-regexp): Declare.
9066 * eshell/em-tramp.el: Adjust requires.
9067 (eshell-parse-command): Autoload.
9068 * eshell/em-xtra.el: Adjust requires.
9069 (eshell-parse-command): Autoload.
9070 * eshell/esh-ext.el: Adjust requires.
9071 (eshell-parse-command, eshell-close-handles): Autoload.
9072 * eshell/esh-io.el: Adjust requires.
9073 (eshell-output-filter): Autoload.
9074 * eshell/esh-util.el: No need to load tramp when compiling.
9075 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9076 Declare.
9077 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9078 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9079 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9080 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9081 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9082 * eshell/esh-opt.el, eshell/esh-proc.el:
9083 * eshell/esh-var.el: Adjust requires.
9084 * eshell/eshell.el: Do not require esh-util twice.
9085 (eshell-add-input-to-history): Declare.
9086 (eshell-command): Check history module is active before using it.
9087
9088 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9089
9090 2013-05-22 Leo Liu <sdl.web@gmail.com>
9091
9092 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9093
9094 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * autorevert.el (auto-revert-notify-add-watch)
9097 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9098 it indicates changes in file modification time.
9099
9100 2013-05-22 Glenn Morris <rgm@gnu.org>
9101
9102 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9103 Always delete the autoloaded function from the noruntime and
9104 unresolved functions lists.
9105
9106 * allout.el: No need to load epa, epg, overlay when compiling.
9107 (epg-context-set-passphrase-callback, epg-list-keys)
9108 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9109 (epg-key-user-id-list): Declare.
9110
9111 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9112 (viper-set-parsing-style-toggling-macro)
9113 (viper-set-emacs-state-searchstyle-macros):
9114 Use called-interactively-p on Emacs.
9115 (viper-looking-back): Make it an obsolete alias. Update callers.
9116 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9117 Use looking-back rather than viper-looking-back.
9118 (viper-tmp-insert-at-eob, viper-enlarge-region)
9119 (viper-read-string-with-history, viper-register-to-point)
9120 (viper-append-to-register, viper-change-state-to-vi)
9121 (viper-backward-char-carefully, viper-forward-char-carefully)
9122 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9123 (viper-change-state-to-emacs): Declare.
9124 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9125 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9126 * emulation/viper-mous.el: Do not load viper-cmd.
9127 (viper-backward-char-carefully, viper-forward-char-carefully)
9128 (viper-forward-word, viper-adjust-window): Declare.
9129
9130 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9131
9132 * progmodes/idlw-help.el (idlwave-help-fontify):
9133 Use called-interactively-p.
9134
9135 * term/w32console.el (w32-get-console-codepage)
9136 (w32-get-console-output-codepage): Declare.
9137
9138 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9139 Remove unnecessary declarations.
9140 (dframe-message): Doc fix.
9141
9142 * info.el (dframe-select-attached-frame, dframe-current-frame):
9143 Declare.
9144
9145 * speedbar.el (speedbar-message): Make it an obsolete alias.
9146 Update all callers.
9147 (speedbar-with-attached-buffer)
9148 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9149 (speedbar-with-writable): Use backquote.
9150 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9151 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9152 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9153 rather than speedbar- aliases.
9154 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9155 (speedbar-make-specialized-keymap, speedbar-insert-button)
9156 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9157 (speedbar-do-function-pointer): Declare.
9158 (rmail-speedbar-button, rmail-speedbar-find-file)
9159 (rmail-speedbar-move-message):
9160 Use dframe-with-attached-buffer rather than speedbar- alias.
9161 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9162 (dframe-message, speedbar-make-specialized-keymap)
9163 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9164 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9165 (speedbar-insert-button, dframe-select-attached-frame)
9166 (dframe-maybee-jump-to-attached-frame)
9167 (speedbar-change-initial-expansion-list)
9168 (speedbar-previously-used-expansion-list-name): Declare.
9169 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9170 Use dframe-message, dframe-with-attached-buffer rather than
9171 speedbar- aliases.
9172 (gud-sentinel): Silence compiler.
9173 * progmodes/vhdl-mode.el (speedbar-refresh)
9174 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9175 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9176 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9177 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9178 (speedbar-file-lists, speedbar-make-tag-line)
9179 (speedbar-line-directory, speedbar-goto-this-file)
9180 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9181 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9182 (speedbar-make-button, speedbar-reset-scanners)
9183 (speedbar-files-item-info, speedbar-line-text)
9184 (speedbar-find-file-in-frame, speedbar-set-timer)
9185 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9186 (speedbar-with-writable): Do not (re)define it.
9187 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9188 rather than speedbar- alias.
9189
9190 2013-05-21 Leo Liu <sdl.web@gmail.com>
9191
9192 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9193 menu items.
9194 (octave-mode): Tweak fill-nobreak-predicate.
9195 (inferior-octave-startup): Check process to avoid infinite loop.
9196 (inferior-octave): Pop to buffer first to show abornmal process
9197 exit information.
9198
9199 2013-05-21 Glenn Morris <rgm@gnu.org>
9200
9201 * printing.el (pr-menu-bar): Define when compiling.
9202
9203 2013-05-21 Leo Liu <sdl.web@gmail.com>
9204
9205 * progmodes/octave.el (octave-auto-fill): Remove.
9206 (octave-indent-new-comment-line): Improve.
9207 (octave-mode): Use auto fill mode through
9208 comment-line-break-function and fill-nobreak-predicate.
9209 (octave-goto-function-definition): Support DEFUN_DLD.
9210 (octave-beginning-of-defun): Small tweak.
9211 (octave-help): Show parent directory.
9212
9213 2013-05-21 Glenn Morris <rgm@gnu.org>
9214
9215 * files.el (dired-unmark):
9216 * progmodes/gud.el (gdb-input): Update declarations.
9217
9218 * calculator.el (electric, ehelp): No need to load when compiling.
9219 (Electric-command-loop, electric-describe-mode): Declare.
9220
9221 * doc-view.el (doc-view-current-converter-processes): Move before use.
9222
9223 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9224 Move MODE-set-explicitly definition before use.
9225
9226 * international/mule-diag.el (mule-diag):
9227 Don't use obsolete window-system-version.
9228
9229 * mail/feedmail.el (smtpmail): No need to load when compiling.
9230 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9231
9232 * mail/mail-utils.el (rfc822): No need to load when compiling.
9233 (rfc822-addresses): Autoload it.
9234 (mail-strip-quoted-names): Trivial simplification.
9235
9236 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9237 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9238
9239 * net/snmp-mode.el (tempo): Don't duplicate requires.
9240
9241 * progmodes/prolog.el (info): No need to load when compiling.
9242 (comint): Require before shell requires it.
9243 (Info-goto-node): Autoload it.
9244 (Info-follow-nearest-node): Declare.
9245 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9246
9247 * textmodes/artist.el (picture-mode-exit): Declare.
9248
9249 * textmodes/reftex-parse.el (reftex-parse-from-file):
9250 Trivial rewrite so the compiler can parse it better.
9251
9252 2013-05-20 Leo Liu <sdl.web@gmail.com>
9253
9254 * progmodes/octave.el (octave-help-mode-map)
9255 (octave-help-mode-finish-hook): New variables.
9256 (octave-help-mode, octave-help-mode-finish): New functions.
9257 (octave-help): Use octave-help-mode.
9258
9259 2013-05-20 Glenn Morris <rgm@gnu.org>
9260
9261 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9262
9263 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9264
9265 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9266 start at point, so that expansion starting right after opening
9267 slash in a regexp is recognized.
9268 (ruby-syntax-before-regexp-re): New defvar, extracted from
9269 ruby-syntax-propertize-function. Since the value of this regexp
9270 is looked up at runtime now, we should be able to turn
9271 `ruby-syntax-methods-before-regexp' into a defcustom later.
9272 (ruby-syntax-propertize-function): Split regexp matching into two
9273 parts, for opening and closing slashes. That allows us to skip
9274 over string interpolations and support multiline regexps.
9275 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9276 for them, which calls `ruby-syntax-propertize-expansion'.
9277 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9278 call to `ruby-syntax-propertize-function'.
9279 (ruby-syntax-propertize-expansion): Extracted from
9280 `ruby-syntax-propertize-expansions'. Handles one expansion.
9281 (ruby-syntax-propertize-percent-literal): Leave point right after
9282 the percent symbol, so that the expression expansion rule can
9283 propertize the contents.
9284 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9285 heredoc openers.
9286 (ruby-syntax-propertize-expansions): Remove.
9287
9288 2013-05-18 Juri Linkov <juri@jurta.org>
9289
9290 * man.el (Man-default-man-entry): Remove `-' from the end
9291 of the default value. (Bug#14400)
9292
9293 2013-05-18 Glenn Morris <rgm@gnu.org>
9294
9295 * comint.el (comint-password-prompt-regexp):
9296 Allow "password for XXX" where XXX contains colons (eg https://...).
9297
9298 2013-05-18 Leo Liu <sdl.web@gmail.com>
9299
9300 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9301 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9302 (octave-source-directories): Don't check process.
9303 (octave-source-directories, octave-find-definition): Doc fix.
9304
9305 2013-05-18 Glenn Morris <rgm@gnu.org>
9306
9307 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9308 Remove backspace/delete bindings. (Bug#14392)
9309
9310 * cus-dep.el (custom-make-dependencies): Sort the output.
9311 (custom-versions-load-alist): Convert comment to doc.
9312
9313 2013-05-17 Leo Liu <sdl.web@gmail.com>
9314
9315 * newcomment.el (comment-search-backward): Stricter in finding
9316 comment start. (Bug#14303)
9317
9318 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9319 (octave-comment-start-skip): Properly anchored.
9320
9321 2013-05-17 Leo Liu <sdl.web@gmail.com>
9322
9323 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9324 Clean up when turned off. (Bug#14395)
9325 (smie--highlight-matching-block-overlay): No longer buffer-local.
9326 (smie-highlight-matching-block): Adjust.
9327
9328 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9329
9330 Doc string fix for "nanoseconds" (Bug#14406).
9331 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9332 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9333
9334 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9335
9336 * calc/calc-units.el (math-extract-units): Preserve powers
9337 of units.
9338
9339 2013-05-17 Leo Liu <sdl.web@gmail.com>
9340
9341 * subr.el (delete-consecutive-dups): New function.
9342 * ido.el (ido-set-matches-1): Use it.
9343 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9344 * ido.el (ido-remove-consecutive-dups): Remove.
9345
9346 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9349 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9350 regexp-opt's `words'.
9351
9352 2013-05-16 Leo Liu <sdl.web@gmail.com>
9353
9354 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9355 (smie--highlight-matching-block-overlay)
9356 (smie--highlight-matching-block-lastpos)
9357 (smie--highlight-matching-block-timer): New variables.
9358 (smie-highlight-matching-block): New function.
9359 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9360 (smie-setup): Conditionally enable smie-blink-matching-open.
9361
9362 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9363
9364 Sync with upstream verilog-mode r840.
9365 * progmodes/verilog-mode.el (verilog-mode-version)
9366 (verilog-mode-release-date): Update.
9367 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9368 (verilog-sig-tieoff): Fix string error on
9369 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9370 (verilog-read-decls): Fix parameters confusing
9371 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9372
9373 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9374
9375 * subr.el (reveal-filename): New function.
9376
9377 * loadup.el: Compute Emacs executable versions on MS-Windows,
9378 where executables have the .exe extension. Add a hard link
9379 emacs-XX.YY.ZZ.exe on MS-Windows.
9380
9381 * Makefile.in (XARGS_LIMIT): New variable.
9382 (custom-deps, finder-data, autoloads)
9383 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9384 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9385 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9386 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9387
9388 2013-05-16 Leo Liu <sdl.web@gmail.com>
9389
9390 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9391 (octave-mode-menu, octave-mode-map): Remove its uses.
9392
9393 2013-05-16 Reto Zimmermann <reto@gnu.org>
9394
9395 Sync with upstream vhdl mode v3.34.2.
9396 * progmodes/vhdl-mode.el: Use `push' throughout.
9397 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9398 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9399 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9400 (vhdl-actual-generic-name): New option to derive actual generic name.
9401 (vhdl-port-paste-signals): Replace formal by actual generics.
9402 (vhdl-beautify): New name for old group vhdl-align. Update users.
9403 (vhdl-beautify-options): New option.
9404 (vhdl-last-input-event): New compat alias. Use throughout.
9405 (vhdl-goto-line): Replace user level function `goto-line'.
9406 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9407 vhdl-fix-statement-buffer.
9408 (vhdl-create-mode-menu): Add some entries.
9409 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9410 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9411 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9412 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9413 to force statements on one line.
9414 (vhdl-remove-trailing-spaces-region):
9415 New, split from vhdl-remove-trailing-spaces.
9416 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9417 Respect vhdl-beautify-options.
9418 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9419 (vhdl-update-sensitivity-list): Not add with index if exists without.
9420 Not include array index with signal. Ignore keywords in comments.
9421 (vhdl-get-visible-signals): Regexp tweaks.
9422 (vhdl-template-component-inst): Handle empty library.
9423 (vhdl-template-type): Add template for 'enum' type.
9424 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9425 Use vhdl-replace-string.
9426 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9427 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9428 (vhdl-speedbar-initialize): Update for above name change.
9429 (vhdl-compose-wire-components): Fix in handling of constants.
9430 (vhdl-error-regexp-emacs-alist): New variable.
9431 (vhdl-error-regexp-add-emacs): New function;
9432 adds support for new compile.el (Emacs 22+)
9433 (vhdl-generate-makefile-1): Change target order for single lib. units.
9434 Allow use of absolute file names.
9435
9436 2013-05-16 Leo Liu <sdl.web@gmail.com>
9437
9438 * simple.el (prog-indent-sexp): Indent enclosing defun.
9439
9440 2013-05-15 Glenn Morris <rgm@gnu.org>
9441
9442 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9443 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9444 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9445 (whitespace-highlight): Move to whitespace group.
9446
9447 * comint.el (comint-source):
9448 * pcmpl-linux.el (pcmpl-linux):
9449 * shell.el (shell-faces):
9450 * eshell/esh-opt.el (eshell-opt):
9451 * international/ccl.el (ccl): Remove empty custom groups.
9452
9453 * completion.el (dynamic-completion-mode):
9454 * jit-lock.el (jit-lock-debug-mode):
9455 * minibuffer.el (completion-in-region-mode):
9456 * type-break.el (type-break-mode-line-message-mode)
9457 (type-break-query-mode):
9458 * emulation/tpu-edt.el (tpu-edt-mode):
9459 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9460 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9461 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9462
9463 * term/xterm.el (xterm): Change parent group to terminals.
9464
9465 * master.el (master): Remove empty custom group.
9466 (master-mode): Remove unused :group argument.
9467 * textmodes/refill.el (refill): Remove empty custom group.
9468 (refill-mode): Remove unused :group argument.
9469
9470 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9471
9472 * cus-dep.el: Provide a feature.
9473 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9474 Don't mistakenly ignore files whose basenames match a basename
9475 from preloaded-file-list (eg cedet/ede/simple.el).
9476 Add a fallback method for getting :group.
9477
9478 2013-05-15 Juri Linkov <juri@jurta.org>
9479
9480 * isearch.el (isearch-char-by-name): Rename from
9481 `isearch-insert-char-by-name'. Doc fix.
9482 (isearch-forward): Mention `isearch-char-by-name' in
9483 the docstring. (Bug#13348)
9484
9485 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9486 `exit-minibuffer' instead of
9487 `isearch-nonincremental-exit-minibuffer'.
9488 (isearch-edit-string): Remove mention of
9489 `isearch-nonincremental-exit-minibuffer' from docstring.
9490 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9491 (isearch-forward-exit-minibuffer)
9492 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9493
9494 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * loadup.el: Just use unversioned DOC.
9497
9498 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9499 literals as extending to EOB.
9500 (nxml-last-fontify-end): Remove unused variable.
9501 (nxml-after-change1): Use with-silent-modifications.
9502 (nxml-extend-after-change-region): Simplify.
9503 (nxml-extend-after-change-region1): Remove function.
9504 (nxml-after-change1): Don't adjust for dependent regions.
9505 (nxml-fontify-matcher): Simplify.
9506 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9507 (xmltok-add-dependent): Remove function.
9508 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9509 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9510 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9511 unclosed <[[, <?, comment, and other literals as extending to EOB.
9512 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9513 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9514 Remove functions.
9515 (rng-do-some-validation-1): Don't mark dependent regions.
9516 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9517 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9518 (nxml-clear-dependent-regions): Remove functions.
9519 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9520 (nxml-ensure-scan-up-to-date):
9521 Don't clear&mark dependent regions.
9522
9523 2013-05-15 Leo Liu <sdl.web@gmail.com>
9524
9525 * progmodes/octave.el (octave-goto-function-definition):
9526 Improve and fix callers.
9527
9528 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9531 the setter (bug#14387).
9532
9533 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9534 surrounding group (bug#14402).
9535
9536 2013-05-14 Juri Linkov <juri@jurta.org>
9537
9538 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9539 (Bug#14390)
9540
9541 2013-05-14 Glenn Morris <rgm@gnu.org>
9542
9543 * progmodes/f90.el (f90-imenu-generic-expression):
9544 Fix typo in 2013-05-08 change. (Bug#14402)
9545
9546 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9547
9548 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9549 Remove signals for which replies are never received.
9550
9551 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9552
9553 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9554 (gdb-handler-alist, gdb-handler-number): Remove variables.
9555 (gdb-handler-list): New variable.
9556 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9557 (gdb-pending-handler-p, gdb-handle-reply)
9558 (gdb-remove-all-pending-triggers): New functions.
9559 (gdb-discard-unordered-replies): New defcustom.
9560 (gdb-handler): New defstruct.
9561 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9562 instead of gdb-pending-triggers. Update docstring.
9563 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9564 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9565 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9566 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9567 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9568 (gdb-frame-handler): Pending triggers are now automatically managed.
9569 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9570 Remove argument.
9571 (gdb-input): Automatically handles pending triggers. Update docstring.
9572 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9573 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9574 Update comments.
9575 (gdb-done-or-error): Now use gdb-handle-reply.
9576
9577 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9578
9579 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9580 gdb-debug-log.
9581
9582 2013-05-14 Glenn Morris <rgm@gnu.org>
9583
9584 * subr.el (user-emacs-directory-warning): New option.
9585 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9586
9587 2013-05-14 Leo Liu <sdl.web@gmail.com>
9588
9589 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9590 during redisplay.
9591 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9592 (octave-font-lock-texinfo-comment): Fix invalid search bound
9593 error: wrong side of point.
9594
9595 2013-05-14 Glenn Morris <rgm@gnu.org>
9596
9597 * progmodes/flymake.el (flymake-xml-program): New option.
9598 (flymake-xml-init): Use it.
9599
9600 * term/xterm.el: Provide a feature.
9601
9602 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9603
9604 2013-05-13 Glenn Morris <rgm@gnu.org>
9605
9606 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9607 Add compat aliases as a hack workaround. (Bug#14384)
9608
9609 2013-05-13 Leo Liu <sdl.web@gmail.com>
9610
9611 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9612 ###, and %!.
9613 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9614 C-M-q.
9615 (octave-comment-start-skip): Include %!.
9616 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9617
9618 2013-05-12 Leo Liu <sdl.web@gmail.com>
9619
9620 * progmodes/octave.el (inferior-octave-startup): Store the value
9621 of __octave_srcdir__ for octave-source-directories.
9622 (inferior-octave-check-process): New function refactored out of
9623 inferior-octave-send-list-and-digest.
9624 (octave-source-directories)
9625 (octave-find-definition-filename-function): New variables.
9626 (octave-source-directories)
9627 (octave-find-definition-default-filename): New functions.
9628 (octave-find-definition): Improve to find functions implemented in C++.
9629
9630 2013-05-12 Glenn Morris <rgm@gnu.org>
9631
9632 * calendar/diary-lib.el (diary-outlook-format-1):
9633 Don't include dayname in the output. (Bug#14349)
9634
9635 2013-05-11 Glenn Morris <rgm@gnu.org>
9636
9637 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9638
9639 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9640 Treat cc-provide like provide.
9641
9642 2013-05-11 Kevin Ryde <user42@zip.com.au>
9643
9644 * cus-dep.el (custom-make-dependencies):
9645 Use generated-autoload-load-name for the sake of files such
9646 such cedet/semantic/bovine/c.el, where the base file name
9647 is not in load-path. (Bug#5277)
9648
9649 2013-05-11 Glenn Morris <rgm@gnu.org>
9650
9651 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9652 Provide features.
9653
9654 2013-05-11 Leo Liu <sdl.web@gmail.com>
9655
9656 * progmodes/octave.el (octave-indent-comment): Improve.
9657 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9658 (octave-eldoc-function-signatures, octave-eldoc-function):
9659 New functions.
9660 (octave-mode, inferior-octave-mode): Add eldoc support.
9661
9662 2013-05-11 Richard Stallman <rms@gnu.org>
9663
9664 * epa.el (epa-decrypt-file): Take output file name as argument
9665 and read it using `interactive'.
9666
9667 2013-05-11 Leo Liu <sdl.web@gmail.com>
9668
9669 * progmodes/octave.el (octave-beginning-of-line)
9670 (octave-end-of-line): Check before using up-list because it jumps
9671 out of more syntactic contructs since moving to smie.
9672 (octave-indent-comment): New function.
9673 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9674 (octave-begin-keywords, octave-end-keywords)
9675 (octave-reserved-words, octave-smie-bnf-table)
9676 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9677
9678 2013-05-11 Glenn Morris <rgm@gnu.org>
9679
9680 * faces.el (internal-face-x-get-resource):
9681 * frame.el (ns-display-monitor-attributes-list):
9682 * calc/calc-aent.el (math-to-radians-2):
9683 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9684 Fix declarations.
9685
9686 * calc/calc-menu.el: Make it loadable in isolation.
9687
9688 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9689 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9690 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9691 (eudc-bbdb-query-internal): Require 'bbdb.
9692
9693 * lpr.el (lpr-headers-switches):
9694 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9695
9696 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9697
9698 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9699
9700 * term.el (term-set-escape-char): Make it idempotent.
9701
9702 2013-05-10 Leo Liu <sdl.web@gmail.com>
9703
9704 * progmodes/octave.el (inferior-octave-completion-table):
9705 No longer a function and all uses changed. Use cache to speed up
9706 completion due to bug#11906.
9707 (octave-beginning-of-defun): Re-write to be more general.
9708
9709 2013-05-10 Glenn Morris <rgm@gnu.org>
9710
9711 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9712
9713 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * comint.el (comint-redirect-send-command-to-process): Use :around
9716 rather than :override for comint-redirect-filter.
9717 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9718 Call it instead of comint-redirect-original-filter-function (which
9719 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9720
9721 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9722
9723 * frame.el (display-monitor-attributes-list): Add NS case.
9724 (ns-display-monitor-attributes-list): Declare.
9725
9726 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9727
9728 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9729
9730 2013-05-09 Glenn Morris <rgm@gnu.org>
9731
9732 * international/fontset.el (vertical-centering-font-regexp):
9733 Set standard-value.
9734
9735 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9736
9737 * bookmark.el (bookmark-search-delay):
9738 * cus-start.el (vertical-centering-font-regexp):
9739 * ps-mule.el (ps-mule-font-info-database-default):
9740 * ps-print.el (ps-default-fg, ps-default-bg):
9741 * type-break.el (type-break-good-break-interval):
9742 * whitespace.el (whitespace-indentation-regexp)
9743 (whitespace-space-after-tab-regexp):
9744 * emacs-lisp/testcover.el (testcover-1value-functions)
9745 (testcover-noreturn-functions, testcover-progn-functions)
9746 (testcover-prog1-functions):
9747 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9748 * eshell/em-glob.el (eshell-glob-translate-alist):
9749 * play/tetris.el (tetris-tty-colors):
9750 * progmodes/cpp.el (cpp-face-default-list):
9751 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9752 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9753 (idlwave-help-browser-generic-args):
9754 * progmodes/make-mode.el (makefile-special-targets-list):
9755 * progmodes/python.el (python-shell-virtualenv-path):
9756 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9757 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9758 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9759 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9760 * textmodes/reftex-vars.el (reftex-format-label-function):
9761 * textmodes/remember.el (remember-diary-file): Fix custom types.
9762
9763 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9764 Add :version.
9765
9766 2013-05-09 Leo Liu <sdl.web@gmail.com>
9767
9768 * progmodes/octave.el (inferior-octave-completion-at-point):
9769 Restore file completion. (Bug#14300)
9770 (inferior-octave-startup): Fix incorrect highlighting for the
9771 first prompt.
9772
9773 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * progmodes/ruby-mode.el: First cut at SMIE support.
9776 (ruby-use-smie): New var.
9777 (ruby-smie-grammar): New constant.
9778 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9779 (ruby-smie--forward-token, ruby-smie--backward-token)
9780 (ruby-smie-rules): New functions.
9781 (ruby-mode-variables): Setup SMIE if applicable.
9782
9783 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9784
9785 * simple.el (line-move-visual): Signal beginning/end of buffer
9786 only if vertical-motion moved less than it was requested. Avoids
9787 silly incorrect error messages when there are display strings with
9788 multiple newlines at EOL.
9789
9790 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9793 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9794 (prolog-char-quote-workaround):
9795 * progmodes/cperl-mode.el (cperl-under-as-char):
9796 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9797 Mark as obsolete.
9798 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9799 their declaration.
9800 (vhdl-mode-syntax-table-init): Remove.
9801
9802 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9803 last change.
9804
9805 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9806 syntax for "_".
9807 (ld-script-font-lock-keywords):
9808 Change regexps to use things like \_< and \_>.
9809
9810 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9811 Change all regexps to use things like \_< and \_>.
9812
9813 * progmodes/autoconf.el (autoconf-definition-regexp)
9814 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9815 Handle a _ with symbol syntax.
9816 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9817
9818 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9819 Consolidate declaration.
9820 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9821 the declaration.
9822 (ada-create-syntax-table): Remove.
9823 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9824 already has the right syntax nowadays.
9825 (ada-goto-next-word): Don't change the syntax of "_".
9826
9827 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9828 with-wrapper-hook.
9829
9830 2013-05-08 Sam Steingold <sds@gnu.org>
9831
9832 * thingatpt.el (thing-at-point): Accept optional second argument
9833 NO-PROPERTIES to strip the text properties from the return value.
9834 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9835 to `thing-at-point' instead of stripping the properties ourselves.
9836 Also, when `thing-at-point' fails to find a url, prepend "http://"
9837 to the filename at point on the assumption that the user is
9838 pointing at something like gnu.org/gnu.
9839
9840 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9843 * faces.el (crm-separator):
9844 Silence byte-compiler.
9845
9846 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9847 (tool-bar-map): Remove unneeded defvars.
9848
9849 2013-05-08 Leo Liu <sdl.web@gmail.com>
9850
9851 Re-work a fix for bug#10994 based on Le Wang's patch.
9852 * ido.el (ido-remove-consecutive-dups): New helper.
9853 (ido-completing-read): Use it.
9854 (ido-chop): Revert fix for bug#10994.
9855
9856 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9857
9858 * cus-edit.el (custom-save-variables):
9859 Pretty-print long values. (Bug#14187)
9860
9861 2013-05-08 Glenn Morris <rgm@gnu.org>
9862
9863 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9864 (m4-mode-syntax-table): Init in the defvar.
9865 (m4-mode-abbrev-table): Let define-derived-mode define it.
9866
9867 2013-05-08 Tom Tromey <tromey@redhat.com>
9868
9869 * progmodes/m4-mode.el (m4-mode-syntax-table):
9870 Do not treat "_" as word constituent. (Bug#14167)
9871
9872 2013-05-07 Glenn Morris <rgm@gnu.org>
9873
9874 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9875 Remove explicit eshell-isearch-cancel-map.
9876
9877 * progmodes/f90.el (f90-smart-end-names): New option.
9878 (f90-smart-end): Doc fix.
9879 (f90-end-block-optional-name): New constant.
9880 (f90-block-match): Respect f90-smart-end-names.
9881
9882 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9885 about implicit semi-colons (bug#14218).
9886
9887 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9888
9889 * frame.el (display-monitor-attributes-list)
9890 (frame-monitor-attributes): New functions.
9891
9892 2013-05-06 Leo Liu <sdl.web@gmail.com>
9893
9894 * progmodes/octave.el (octave-syntax-propertize-function): Change
9895 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9896 (octave-font-lock-keywords): Use octave-operator-regexp.
9897 (octave-completion-at-point): Rename from
9898 octave-completion-at-point-function.
9899 (inferior-octave-directory-tracker): Robustify.
9900 (octave-text-functions): Remove and fix its uses. No such things
9901 any more.
9902
9903 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * emacs-lisp/trace.el (trace--display-buffer): New function.
9906 (trace-make-advice): Use it.
9907
9908 2013-05-06 Juri Linkov <juri@jurta.org>
9909
9910 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9911 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9912 Doc fix.
9913 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9914 in the help string. (Bug#12985)
9915
9916 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9917
9918 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9919
9920 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * progmodes/perl-mode.el: Add support for here documents.
9923 (perl-syntax-propertize-function): Match here-doc markers.
9924 (perl-syntax-propertize-special-constructs): Find their end.
9925 (perl-imenu-generic-expression): Use [:alnum:].
9926
9927 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9928 (advice--add-function): Refresh the advice if already present
9929 (bug#14317).
9930
9931 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9932
9933 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9934
9935 2013-05-06 Glenn Morris <rgm@gnu.org>
9936
9937 * w32-fns.el (w32-charset-info-alist): Declare.
9938
9939 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9940 of its defcustom properties.
9941 (eshell-cmpl-initialize): No need to load pcomplete.
9942
9943 * generic-x.el: No need to require comint when compiling.
9944
9945 * net/eudc-export.el: Make it loadable without bbdb.
9946 (top-level): Use require rather than load-library.
9947 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9948 (eudc-batch-export-records-to-bbdb)
9949 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9950 Require bbdb.
9951
9952 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9955 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9956 some tweaks, instead.
9957
9958 2013-05-05 Leo Liu <sdl.web@gmail.com>
9959
9960 * progmodes/octave.el (octave-font-lock-keywords)
9961 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9962 (inferior-octave-send-list-and-digest): Improve error message.
9963 (octave-mode, inferior-octave-mode): Use setq-local.
9964 (octave-help): Set info-lookup-mode.
9965
9966 2013-05-05 Richard Stallman <rms@gnu.org>
9967
9968 * vc/compare-w.el (compare-windows-whitespace):
9969 Treat no-break space as whitespace.
9970
9971 * mail/rmailsum.el (rmail-summary-rmail-update):
9972 Detect empty summary and don't change selected message.
9973 (rmail-summary-goto-msg): Likewise.
9974
9975 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9976 Doc fixes, rename args.
9977
9978 2013-05-05 Alan Mackenzie <acm@muc.de>
9979
9980 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9981
9982 2013-05-05 Juri Linkov <juri@jurta.org>
9983
9984 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9985 to not add the length of the summary segment to the return value.
9986 (Bug#14125)
9987
9988 2013-05-05 Leo Liu <sdl.web@gmail.com>
9989
9990 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9991 (inferior-octave-output-filter): Remove.
9992 (octave-send-region, inferior-octave-startup): Fix callers.
9993 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9994 (octave-binary-file-extensions): New user variable.
9995 (octave-find-definition): Confirm if opening binary files.
9996 (octave-help-file): Use octave-find-definition to get the binary
9997 confirmation.
9998 (octave-help): Adjust for octave-help-file change.
9999
10000 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10003 Merge the two entries that handle function definitions.
10004 (pascal--syntax-propertize): New const.
10005 (pascal-mode): Use it. Use setq-local.
10006
10007 2013-05-04 Glenn Morris <rgm@gnu.org>
10008
10009 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10010 (diary-from-outlook): Respect diary-from-outlook-function.
10011
10012 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10015 Move the declaration from C.
10016 (read-minibuffer, eval-minibuffer): Move from C.
10017 (completion-setup-function): Avoid minibuffer-completion-contents.
10018
10019 2013-05-03 Leo Liu <sdl.web@gmail.com>
10020
10021 * progmodes/octave.el (octave-font-lock-keywords): Do not
10022 dehighlight 'end' in comments or strings.
10023 (octave-completing-read, octave-goto-function-definition):
10024 New helpers.
10025 (octave-help-buffer): New user variable.
10026 (octave-help-file, octave-help-function): New button types.
10027 (octave-help): New command and bind it to C-h ;.
10028 (octave-find-definition): New command and bind it to M-.
10029 (user-error): Alias to error if not defined.
10030
10031 2013-05-02 Leo Liu <sdl.web@gmail.com>
10032
10033 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10034 for \. (bug#14332)
10035 (octave-font-lock-keywords): Include [ and {.
10036
10037 2013-05-02 Leo Liu <sdl.web@gmail.com>
10038
10039 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10040 (inferior-octave): Remove calling comint-mode and return the buffer.
10041 (inferior-octave-startup): Cosmetic changes.
10042
10043 2013-05-02 Leo Liu <sdl.web@gmail.com>
10044
10045 * progmodes/octave.el (octave-syntax-propertize-function):
10046 Include the case when ' is at line beginning. (Bug#14336)
10047
10048 2013-05-02 Glenn Morris <rgm@gnu.org>
10049
10050 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10051 * desktop.el (vc-dir-mode): Just autoload it here.
10052
10053 2013-05-02 Alan Mackenzie <acm@muc.de>
10054
10055 Eliminate variable c-standard-font-lock-fontify-region-function.
10056 * progmodes/cc-mode.el
10057 (c-standard-font-lock-fontify-region-function): Remove.
10058 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10059
10060 2013-05-01 Leo Liu <sdl.web@gmail.com>
10061
10062 * progmodes/octave.el: Compatible with older emacs-24 releases.
10063 (inferior-octave-has-built-in-variables): Remove. Built-in
10064 variables were removed from Octave in 2007.
10065 (inferior-octave-startup): Fix uses.
10066 (comint-line-beginning-position): Remove compatibility code for
10067 emacs 21.
10068
10069 2013-05-01 Juri Linkov <juri@jurta.org>
10070
10071 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10072
10073 2013-05-01 Juri Linkov <juri@jurta.org>
10074
10075 * comint.el (comint-previous-matching-input): Don't print message
10076 "History item: %d" when `isearch-mode' is active.
10077 (comint-history-isearch-message): Print message "History item: %d"
10078 when `comint-input-ring-index' is not empty and this function is
10079 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10080
10081 2013-05-01 Leo Liu <sdl.web@gmail.com>
10082
10083 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10084 definitions. Use completion-at-point to insert keywords.
10085 (octave-abbrev-start): Remove.
10086 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10087
10088 2013-04-30 Leo Liu <sdl.web@gmail.com>
10089
10090 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10091 change.
10092
10093 2013-04-30 Alan Mackenzie <acm@muc.de>
10094
10095 Handle arbitrarily long C++ member initialisation lists.
10096 * progmodes/cc-engine.el (c-back-over-member-initializers):
10097 new function.
10098 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10099 (most) member init lists.
10100
10101 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10102
10103 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10104 variable.
10105
10106 2013-04-30 Leo Liu <sdl.web@gmail.com>
10107
10108 * progmodes/octave.el (octave-variables): Remove. No builtin
10109 variables any more. All converted to functions.
10110 (octave-font-lock-keywords, octave-completion-at-point-function):
10111 Fix uses.
10112 (octave-font-lock-texinfo-comment): New user variable.
10113 (octave-texinfo-font-lock-keywords): New variable for texinfo
10114 comment block.
10115 (octave-function-comment-block): New face.
10116 (octave-font-lock-texinfo-comment): New function.
10117 (octave-mode): Font lock texinfo comment block.
10118
10119 2013-04-29 Leo Liu <sdl.web@gmail.com>
10120
10121 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10122 indexing expression.
10123 (octave-continuation-string): Do not use \.
10124 (inferior-octave-complete-impossible): Remove.
10125 (inferior-octave-completion-table)
10126 (inferior-octave-completion-at-point): Remove its uses.
10127 (inferior-octave-startup): completion_matches was introduced to
10128 Octave in 1996 so safe to assume it.
10129 (octave-function-file-comment): Improve to follow how Octave does it.
10130 (octave-update-function-file-comment): Tweak.
10131
10132 2013-04-29 Leo Liu <sdl.web@gmail.com>
10133
10134 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10135 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10136 (octave-function-file-comment): Fix typo.
10137 (octave-sync-function-file-names): Use read-char-choice.
10138
10139 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10140
10141 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10142 to t for the less important warnings.
10143
10144 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10145
10146 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10147
10148 2013-04-27 Glenn Morris <rgm@gnu.org>
10149
10150 * vc/log-view.el (log-view-current-entry):
10151 Treat "---" separator lines as part of the following rev. (Bug#14169)
10152
10153 2013-04-27 Juri Linkov <juri@jurta.org>
10154
10155 * subr.el (read-number): Doc fix about using it by interactive
10156 code letter `n'. (Bug#14254)
10157
10158 2013-04-27 Juri Linkov <juri@jurta.org>
10159
10160 * desktop.el (desktop-auto-save-timeout): New option.
10161 (desktop-file-checksum): New variable.
10162 (desktop-save): Add optional arg `auto-save' and don't auto-save
10163 if nothing changed.
10164 (desktop-auto-save-timer): New variable.
10165 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10166 (after-init-hook): Call `desktop-auto-save-set-timer'.
10167 Suggested by Reuben Thomas <rrt@sc3d.org> in
10168 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10169
10170 2013-04-27 Leo Liu <sdl.web@gmail.com>
10171
10172 * progmodes/octave.el (octave-function-file-p)
10173 (octave-skip-comment-forward, octave-function-file-comment)
10174 (octave-update-function-file-comment): New functions.
10175 (octave-mode-map): Bind C-c ; to
10176 octave-update-function-file-comment.
10177 (octave-mode-menu): Add octave-update-function-file-comment.
10178 (octave-mode, inferior-octave-mode): Fix doc-string.
10179 (octave-insert-defun): Conform to Octave's coding convention.
10180 (Bug#14285)
10181
10182 * files.el (basic-save-buffer): Don't let errors in
10183 before-save-hook prevent saving buffer.
10184
10185 2013-04-20 Roland Winkler <winkler@gnu.org>
10186
10187 * faces.el (read-face-name): Use completing-read if arg multiple
10188 is nil.
10189
10190 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10191
10192 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10193 displayed, move point to after the totals line.
10194 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10195 for the details.
10196
10197 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10200 Add current dir to the load-path.
10201 (package-generate-autoloads): Don't rely on
10202 autoload-ensure-default-file.
10203
10204 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10205
10206 * textmodes/remember.el (remember-store-in-files): Document that
10207 the file name format is passed to `format-time-string'.
10208
10209 2013-04-26 Leo Liu <sdl.web@gmail.com>
10210
10211 * progmodes/octave.el (octave-sync-function-file-names): New function.
10212 (octave-mode): Use it in before-save-hook.
10213
10214 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10217 (bug#14274).
10218
10219 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10220 \n and comment, even if it's not an implicit ; (bug#14218).
10221
10222 2013-04-26 Glenn Morris <rgm@gnu.org>
10223
10224 * subr.el (read-number): Once more use `read' rather than
10225 `string-to-number', to trap non-numeric input. (Bug#14254)
10226
10227 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10228
10229 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10230 Use `syntax-multiline' text property consistently instead of
10231 `font-lock-multiline'. (Bug#14237)
10232
10233 2013-04-26 Glenn Morris <rgm@gnu.org>
10234
10235 * emacs-lisp/shadow.el (list-load-path-shadows):
10236 No longer necessary to check for duplicate simple.el, since
10237 2012-07-07 change to init_lread to not include installation lisp
10238 directories in load-path when running uninstalled. (Bug#14270)
10239
10240 2013-04-26 Leo Liu <sdl.web@gmail.com>
10241
10242 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10243 (octave-mode, inferior-octave-mode): Use setq-local.
10244 (octave-not-in-string-or-comment-p): Rename to
10245 octave-in-string-or-comment-p.
10246 (octave-in-comment-p, octave-in-string-p)
10247 (octave-in-string-or-comment-p): Replace defsubst with defun.
10248
10249 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10250
10251 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10252
10253 2013-04-25 Bastien Guerry <bzg@gnu.org>
10254
10255 * textmodes/remember.el (remember-data-directory)
10256 (remember-directory-file-name-format): Fix custom types.
10257
10258 2013-04-25 Leo Liu <sdl.web@gmail.com>
10259
10260 * progmodes/octave.el (octave-completion-at-point-function):
10261 Make use of inferior octave process.
10262 (octave-initialize-completions): Remove.
10263 (inferior-octave-completion-table): New function.
10264 (inferior-octave-completion-at-point): Use it.
10265 (octave-completion-alist): Remove.
10266
10267 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10270 (opascal-mode-syntax-table): New var.
10271 (opascal-literal-kind, opascal-is-literal-end)
10272 (opascal-literal-token-at): Rewrite.
10273 (opascal--literal-start-re, opascal-font-lock-keywords)
10274 (opascal--syntax-propertize): New constants.
10275 (opascal-font-lock-defaults): Adjust.
10276 (opascal-mode): Use them. Set comment-<foo> variables as well.
10277 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10278 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10279 (delphi-other-face, opascal-other-face): Remove face variables.
10280 (opascal-save-state): Remove macro.
10281 (opascal-fontifying-progress-step): Remove constant.
10282 (opascal--ignore-changes): Remove var.
10283 (opascal-set-token-property, opascal-parse-next-literal)
10284 (opascal-is-stable-literal, opascal-complete-literal)
10285 (opascal-is-literal-start, opascal-face-of)
10286 (opascal-parse-region, opascal-parse-region-until-stable)
10287 (opascal-fontify-region, opascal-after-change)
10288 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10289 (opascal-debug-parse-region, opascal-debug-parse-window)
10290 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10291 (opascal-debug-fontify-buffer): Remove.
10292 (opascal-debug-mode-map): Adjust accordingly.
10293
10294 2013-04-25 Leo Liu <sdl.web@gmail.com>
10295
10296 Merge octave-mod.el and octave-inf.el into octave.el with some
10297 cleanups.
10298 * progmodes/octave.el: New file renamed from octave-mod.el.
10299 * progmodes/octave-inf.el: Merged into octave.el.
10300 * progmodes/octave-mod.el: Renamed to octave.el.
10301
10302 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10303
10304 * textmodes/reftex-vars.el
10305 (reftex-label-ignored-macros-and-environments): New defcustom.
10306
10307 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10308
10309 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10312 (smie-indent-keyword): Improve the check to ensure that the next
10313 comment is really on the same line.
10314 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10315
10316 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10317 semi-colons if the line is not otherwise empty (bug#14218).
10318
10319 2013-04-25 Glenn Morris <rgm@gnu.org>
10320
10321 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10322
10323 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * progmodes/opascal.el (opascal-set-token-property): Rename from
10326 opascal-set-text-properties and only set `token' (bug#14134).
10327 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10328 (opascal-literal-text-properties): Remove.
10329 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10330 Adjust callers.
10331
10332 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10333
10334 * textmodes/remember.el (remember-handler-functions): Add an
10335 option for a new handler `remember-store-in-files'.
10336 (remember-data-directory, remember-directory-file-name-format):
10337 New options.
10338 (remember-store-in-files): New function to store remember notes
10339 as separate files within a directory.
10340
10341 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10342
10343 * progmodes/compile.el (compilation-next-error-function):
10344 Pass "formats" to compilation-find-file (bug#11777).
10345
10346 2013-04-24 Glenn Morris <rgm@gnu.org>
10347
10348 * vc/vc-bzr.el (vc-bzr-print-log):
10349 * vc/vc-hg.el (vc-hg-print-log):
10350 * vc/vc-svn.el (vc-svn-print-log):
10351 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10352
10353 * vc/vc-bzr.el (vc-bzr-print-log):
10354 * vc/vc-cvs.el (vc-cvs-print-log):
10355 * vc/vc-git.el (vc-git-print-log):
10356 * vc/vc-hg.el (vc-hg-print-log):
10357 * vc/vc-mtn.el (vc-mtn-print-log):
10358 * vc/vc-rcs.el (vc-rcs-print-log):
10359 * vc/vc-sccs.el (vc-sccs-print-log):
10360 * vc/vc-svn.el (vc-svn-print-log):
10361 * vc/vc.el (vc-print-log-internal): Doc fixes.
10362
10363 2013-04-23 Glenn Morris <rgm@gnu.org>
10364
10365 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10366 Remove venerable code attempting to avoid substitute-command-keys.
10367
10368 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10369
10370 * textmodes/reftex-vars.el (reftex-label-regexps):
10371 Call `reftex-compile-variables' after changes to this variable.
10372
10373 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10376 Use lexical-binding.
10377 (jit-lock-force-redisplay): Use markers, check buffer's continued
10378 existence and beware narrowed buffers.
10379 (jit-lock-fontify-now): Adjust call accordingly.
10380
10381 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10384 to avoid misleading the user.
10385
10386 2013-04-22 Leo Liu <sdl.web@gmail.com>
10387
10388 * info-look.el: Prefer latex2e.info. (Bug#14240)
10389
10390 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10391
10392 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10393
10394 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10395 * net/tramp.el (tramp-call-process): ... here.
10396 (tramp-set-completion-function, tramp-parse-putty):
10397 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10398 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10399 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10400 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10401 (tramp-call-local-coding-command): Use `tramp-call-process'
10402 instead of `tramp-compat-call-process'.
10403
10404 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10405 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10406 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10407 (tramp-find-inline-compress): Improve traces.
10408 (tramp-maybe-send-script): Check for Perl binary.
10409 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10410
10411 2013-04-22 Daiki Ueno <ueno@gnu.org>
10412
10413 * epg.el (epg-context-pinentry-mode): New function.
10414 (epg-context-set-pinentry-mode): New function.
10415 (epg--start): Pass --pinentry-mode option to gpg command.
10416
10417 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10418
10419 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10420 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10421 `completion-at-point'. (Bug#13774)
10422
10423 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10424 default key binding for `describe-distribution' has been moved to
10425 `C-h C-o'. (Bug#13970)
10426
10427 2013-04-21 Glenn Morris <rgm@gnu.org>
10428
10429 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10430 Add doc strings.
10431 (vc-print-log): Clarify interactive prompt.
10432
10433 2013-04-20 Glenn Morris <rgm@gnu.org>
10434
10435 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10436 No longer include timestamp etc information.
10437
10438 2013-04-20 Roland Winkler <winkler@gnu.org>
10439
10440 * faces.el (read-face-name): Bug fix, return just one face if arg
10441 multiple is nil. (Bug#14209)
10442
10443 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10444
10445 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10446 (remove-function): Autoload.
10447
10448 * comint.el (comint-redirect-original-filter-function): Remove.
10449 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10450 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10451 (vc-cvs-annotate-command):
10452 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10453 * progmodes/prolog.el (prolog-consult-compile):
10454 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10455 Use add/remove-function instead.
10456 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10457 (gud-tooltip-process-output, gud-tooltip-tips):
10458 Use add/remove-function instead.
10459 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10460 (scheme-interaction-mode, exit-scheme-interaction-mode):
10461 Use add/remove-function instead.
10462
10463 * vc/vc-dispatcher.el: Use lexical-binding.
10464 (vc--process-sentinel): Rename from vc-process-sentinel.
10465 Change last arg to be the code to run. Don't use vc-previous-sentinel
10466 and vc-sentinel-commands any more.
10467 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10468 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10469
10470 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10471
10472 * progmodes/sh-script.el (sh-imenu-generic-expression):
10473 Handle function names with a single character. (Bug#14111)
10474
10475 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10476
10477 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10478 for subroutines defined in an eval (bug#14182).
10479
10480 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10481
10482 * bookmark.el (bookmark-completing-read): Improve handling of empty
10483 string (bug#14176).
10484
10485 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10488
10489 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10490
10491 New faster Imenu implementation (bug#14058).
10492 * progmodes/python.el:
10493 (python-imenu-prev-index-position):
10494 (python-imenu-format-item-label-function)
10495 (python-imenu-format-parent-item-label-function)
10496 (python-imenu-format-parent-item-jump-label-function):
10497 New vars.
10498 (python-imenu-format-item-label)
10499 (python-imenu-format-parent-item-label)
10500 (python-imenu-format-parent-item-jump-label)
10501 (python-imenu--put-parent, python-imenu--build-tree)
10502 (python-imenu-create-index, python-imenu-create-flat-index)
10503 (python-util-popn): New functions.
10504 (python-mode): Set imenu-create-index-function to
10505 python-imenu-create-index.
10506
10507 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * winner.el (winner-active-region): Use region-active-p, activate-mark
10510 and deactivate-mark (bug#14225).
10511
10512 * simple.el (deactivate-mark): Don't inline it.
10513
10514 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10517
10518 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10519
10520 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10521 file extensions from the archive-mode entry in order to prefer
10522 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10523
10524 2013-04-18 Leo Liu <sdl.web@gmail.com>
10525
10526 * bindings.el (help-event-list): Add ?\?.
10527
10528 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * subr.el (with-wrapper-hook): Declare obsolete.
10531 * simple.el (filter-buffer-substring-function): New hook.
10532 (filter-buffer-substring): Use it.
10533 (filter-buffer-substring-functions): Mark obsolete.
10534 * minibuffer.el (completion-in-region-function): New hook.
10535 (completion-in-region): Use it.
10536 (completion-in-region-functions): Mark obsolete.
10537 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10538 * abbrev.el (abbrev-expand-function): New hook.
10539 (expand-abbrev): Use it.
10540 (abbrev-expand-functions): Mark obsolete.
10541 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10542 and :filter-return.
10543
10544 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10545
10546 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10547 and do not care about match data.
10548
10549 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10552 completion tables when completing error conditions and
10553 `declare' arguments.
10554 (lisp-complete-symbol, field-complete): Mark as obsolete.
10555 (check-parens): Unmatched parens are user errors.
10556 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10557
10558 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10559
10560 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10561 command changed buffer (ie. `flyspell-pre-buffer' is not current
10562 buffer), which prevents making decisions based on invalid value of
10563 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10564 cause an error when `flyspell-pre-point' was nil after switching
10565 buffers.
10566 (flyspell-post-command-hook): No longer needs to change buffers when
10567 checking pre-word. While at it remove unnecessary progn.
10568
10569 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10570
10571 * textmodes/ispell.el (ispell-add-per-file-word-list):
10572 Fix `flyspell-correct-word-before-point' error when accepting
10573 words and `coment-padding' is an integer by using
10574 `comment-normalize-vars' (Bug #14214).
10575
10576 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10577
10578 New defun movement commands.
10579 * progmodes/python.el (python-nav--syntactically)
10580 (python-nav--forward-defun, python-nav-backward-defun)
10581 (python-nav-forward-defun): New functions.
10582
10583 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10584
10585 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10586 (python-syntax-context): Use named compiler-macro for backwards
10587 compatibility with Emacs 24.x.
10588
10589 2013-04-17 Leo Liu <sdl.web@gmail.com>
10590
10591 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10592 octave-hide-process-buffer.
10593
10594 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10597 (bug#14216).
10598
10599 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10600
10601 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10602 Fix adjustment of offset when receiving incomplete responses from GDB
10603 (bug#14129).
10604
10605 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10608 python-mode-abbrev-table.
10609 (python-skeleton-define): Adjust accordingly.
10610 (python-mode-abbrev-table): New table that inherits from it so that
10611 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10612
10613 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10614 (abbrev-symbol): Use it.
10615 (abbrev--before-point): Use it since we already handle inheritance.
10616
10617 2013-04-16 Leo Liu <sdl.web@gmail.com>
10618
10619 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10620 binding to info-lookup-symbol.
10621
10622 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10623
10624 * minibuffer.el (completion--twq-all):
10625 * term/ns-win.el (ns-initialize-window-system):
10626 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10627
10628 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10631 global bindings.
10632
10633 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10634
10635 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10636
10637 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10638 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10639 to nil.
10640 (ruby-end-of-defun): Remove the unused arg, change the docstring
10641 to reflect that this function is only used as the value of
10642 `end-of-defun-function'.
10643 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10644 to reflect an earlier change that beginning/end-of-defun functions
10645 jump between methods in a class definition, as well as top-level
10646 functions.
10647
10648 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * minibuffer.el (minibuffer-complete): Don't just scroll
10651 a *Completions* that's been iconified.
10652 (minibuffer-force-complete): Make sure repetitions do cycle when going
10653 through completion-in-region -> minibuffer-complete.
10654
10655 2013-04-15 Alan Mackenzie <acm@muc.de>
10656
10657 Correct the placement of c-cpp-delimiters when there're #s not at
10658 col 0.
10659
10660 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10661 place a submatch around the #.
10662 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10663 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10664 on the #, not BOL.
10665
10666 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10669 (advice--member-p): New arg `name'.
10670 (advice--add-function, advice-member-p): Use it (bug#14202).
10671
10672 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10673
10674 Reformulate java imenu-generic-expression.
10675 The old expression contained ill formed regexps.
10676
10677 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10678 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10679 (cc-imenu-java-method-arg-regexp): New defconsts.
10680 (cc-imenu-java-build-type-args-regex): New defun.
10681 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10682 handling of spaces in the regexp.
10683
10684 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10685
10686 * textmodes/ispell.el (ispell-command-loop): Remove
10687 flyspell highlight of a word when ispell accepts it (bug #14178).
10688
10689 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10690
10691 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10692 uses code from the previous `ange-ftp-run-real-handler'.
10693 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10694 only in case that function exist. This is needed for proper
10695 unloading of Tramp.
10696
10697 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10698
10699 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10700
10701 * textmodes/reftex.el (reftex-compile-variables): Use it.
10702
10703 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10704
10705 * files.el (normal-mode): Only use default major-mode if no other mode
10706 was specified.
10707
10708 * emacs-lisp/trace.el (trace-values): New function.
10709
10710 * files.el: Allow : in local variables (bug#14089).
10711 (hack-local-variable-regexp): New var.
10712 (hack-local-variables-prop-line, hack-local-variables): Use it.
10713
10714 2013-04-13 Roland Winkler <winkler@gnu.org>
10715
10716 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10717 data before it gets modified by bibtex-beginning-of-entry.
10718
10719 2013-04-13 Roland Winkler <winkler@gnu.org>
10720
10721 * textmodes/bibtex.el (bibtex-url): Doc fix.
10722
10723 2013-04-13 Roland Winkler <winkler@gnu.org>
10724
10725 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10726 does not visit a BibTeX file, exclude it from the list of buffers
10727 returned by bibtex-initialize.
10728
10729 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10730
10731 * window.el (split-window): Remove interactive form, since as a
10732 command this function is a special case of split-window-below.
10733 Correct doc string.
10734
10735 2013-04-12 Roland Winkler <winkler@gnu.org>
10736
10737 * faces.el (read-face-name): Do not override value of arg default.
10738 Allow single faces and strings as default values. Remove those
10739 elements from return value that are not faces.
10740 (describe-face): Simplify.
10741 (face-at-point): New optional args thing and multiple so that this
10742 function can provide the same functionality previously provided by
10743 read-face-name.
10744 (make-face-bold, make-face-unbold, make-face-italic)
10745 (make-face-unitalic, make-face-bold-italic, invert-face)
10746 (modify-face, read-face-and-attribute): Use face-at-point.
10747
10748 * cus-edit.el (customize-face, customize-face-other-window)
10749 * cus-theme.el (custom-theme-add-face)
10750 * face-remap.el (buffer-face-set)
10751 * facemenu.el (facemenu-set-face): Use face-at-point.
10752
10753 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10754
10755 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10756
10757 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10758
10759 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10760 off leading { and trailing } from field values.
10761
10762 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * emacs-lisp/timer.el (timer--check): New function.
10765 (timer--time, timer-set-function, timer-event-handler): Use it.
10766 (timer-set-idle-time): Simplify.
10767 (timer--activate): CSE.
10768 (timer-event-handler): Give more info in error message.
10769 (internal-timer-start-idle): New function, moved from C.
10770
10771 * mpc.el (mpc-proc): Add `restart' argument.
10772 (mpc-proc-cmd): Use it.
10773 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10774 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10775 less often.
10776
10777 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10778
10779 * progmodes/sh-script.el: Implement `sh-mode' own
10780 `add-log-current-defun-function' (bug#14112).
10781 (sh-current-defun-name): New function.
10782 (sh-mode): Use the function.
10783
10784 2013-04-09 Bastien Guerry <bzg@gnu.org>
10785
10786 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10787
10788 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10791
10792 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10793 timer (bug#14156).
10794
10795 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10796
10797 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10798 declaration.
10799
10800 2013-04-07 Leo Liu <sdl.web@gmail.com>
10801
10802 * pcmpl-x.el: New file.
10803
10804 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10805
10806 Do not set x-display-name until X connection is established.
10807 This is needed to prevent from weird situation described at
10808 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10809 * frame.el (make-frame): Set x-display-name after call to
10810 window system initialization function, not before.
10811 * term/x-win.el (x-initialize-window-system): Add optional
10812 display argument and use it.
10813 * term/w32-win.el (w32-initialize-window-system):
10814 * term/ns-win.el (ns-initialize-window-system):
10815 * term/pc-win.el (msdos-initialize-window-system):
10816 Add compatible optional display argument.
10817
10818 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10819
10820 * files.el (normal-backup-enable-predicate): On MS-Windows and
10821 MS-DOS compare truenames of temporary-file-directory and of the
10822 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10823 don't fail comparison by compare-strings. Also, compare file
10824 names case-insensitively on MS-Windows and MS-DOS.
10825
10826 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10829 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10830
10831 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10832
10833 * whitespace.el (whitespace-color-on, whitespace-color-off):
10834 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10835
10836 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10837
10838 * ispell.el (ispell-set-spellchecker-params):
10839 Really set `ispell-args' for all equivs.
10840
10841 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * ido.el (ido-completions): Use extra elements of ido-decorations
10844 (bug#14143).
10845 (ido-decorations): Update docstring.
10846
10847 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10848
10849 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10850 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10851 nil during initialization, in order not to miss changes since the
10852 file was opened. (Bug#14140)
10853
10854 2013-04-05 Leo Liu <sdl.web@gmail.com>
10855
10856 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10857
10858 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10859
10860 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10861
10862 2013-04-04 Glenn Morris <rgm@gnu.org>
10863
10864 * electric.el (electric-pair-inhibit-predicate): Add :version.
10865
10866 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10869 when a package is required several times (bug#14082).
10870
10871 2013-04-04 Roland Winkler <winkler@gnu.org>
10872
10873 * faces.el (read-face-name): Behave as promised by the docstring.
10874 Assume that arg default is a list of faces.
10875 (describe-face): Call read-face-name with list of default faces.
10876
10877 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10878
10879 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10880 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10881 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10882 the header.
10883 (bookmark-exit-hook-internal): Save even if list is empty.
10884
10885 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10886
10887 * emacs-lisp/package.el (package-pinned-packages): New var.
10888 (package--add-to-archive-contents): Obey it (bug#14118).
10889
10890 2013-04-03 Alan Mackenzie <acm@muc.de>
10891
10892 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10893 Also adapt to the new values of element 7 of a parse state.
10894
10895 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10896 parameter `not-in-delimiter'. Handle being inside comment opener.
10897 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10898 character in case we're typing a '*' after a '/'.
10899 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10900 instead by passing the parameter to c-state-pp-to-literal.
10901
10902 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10903 for elt. 7 of a parse state.
10904
10905 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10906
10907 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10908 * international/latin1-disp.el, international/mule-util.el:
10909 * language/cyril-util.el, language/european.el, language/ind-util.el:
10910 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10911 * language/tibetan.el, language/viet-util.el:
10912 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10913
10914 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10917 (electric-pair-post-self-insert-function): Use it.
10918 (electric-pair-default-inhibit): New function, extracted from
10919 electric-pair-post-self-insert-function.
10920
10921 2013-03-31 Roland Winkler <winkler@gnu.org>
10922
10923 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10924
10925 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10928
10929 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10930
10931 Un-indent after "pass" and "return" statements (Bug#13888)
10932 * progmodes/python.el (python-indent-block-enders): New var.
10933 (python-indent-calculate-indentation): Use it.
10934
10935 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10936
10937 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10938 defun. Defining it as defalias could introduce too eager
10939 byte-compiler optimization. (Bug#14030)
10940
10941 2013-03-30 Chong Yidong <cyd@gnu.org>
10942
10943 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10944
10945 2013-03-30 Leo Liu <sdl.web@gmail.com>
10946
10947 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10948 (kmacro-execute-from-register): Pass the keyboard macro to
10949 kmacro-call-macro or repeating won't work correctly.
10950
10951 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10952
10953 * progmodes/subword.el: Back to using `forward-symbol'.
10954
10955 * subr.el (forward-whitespace, forward-symbol)
10956 (forward-same-syntax): Move from thingatpt.el.
10957
10958 2013-03-29 Leo Liu <sdl.web@gmail.com>
10959
10960 * kmacro.el (kmacro-to-register): New command.
10961 (kmacro-execute-from-register): New function.
10962 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10963
10964 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * mpc.el: Use defvar-local and setq-local.
10967 (mpc--proc-connect): Connection failures are not bugs.
10968 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10969 (mpc-volume-map): Bind to the up-events.
10970
10971 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10972
10973 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10974 instead of `forward-symbol'.
10975
10976 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10979 (edebug--recursive-edit): Use it.
10980 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10981 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10982
10983 2013-03-28 Leo Liu <sdl.web@gmail.com>
10984
10985 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10986
10987 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10988
10989 * facemenu.el (list-colors-callback): New defvar.
10990 (list-colors-redisplay): New function.
10991 (list-colors-display): Install list-colors-redisplay as the
10992 revert-buffer-function. (Bug#14063)
10993
10994 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10997 and suffixes don't overlap (bug#14061).
10998
10999 * case-table.el: Use lexical-binding.
11000 (case-table-get-table): New function.
11001 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11002
11003 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11004
11005 * progmodes/subword.el: Add `superword-mode' to do word motion
11006 over symbol_words (parallels and leverages `subword-mode' which
11007 does word motion inside MixedCaseWords).
11008
11009 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11010
11011 * eshell/em-unix.el: Move su and sudo to...
11012 * eshell/em-tramp.el: ...Eshell tramp module.
11013
11014 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11017 Change return value to be a sexp. Delay `get-buffer' to after
11018 restoring the desktop (bug#13951).
11019
11020 2013-03-26 Leo Liu <sdl.web@gmail.com>
11021
11022 * register.el: Move semantic tag handling back to
11023 cedet/semantic/senator.el. (Bug#14052)
11024
11025 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11028 into the prompt either (bug#13963).
11029
11030 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11033 part of "(error-foo)".
11034
11035 2013-03-24 Juri Linkov <juri@jurta.org>
11036
11037 * replace.el (list-matching-lines-prefix-face): New defcustom.
11038 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11039 `occur-engine' if `face-differs-from-default-p' returns t.
11040 (occur-engine): Add `,' inside backquote construct to evaluate
11041 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11042 Pass `prefix-face' to the functions `occur-context-lines' and
11043 `occur-engine-add-prefix'.
11044 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11045 `prefix-face' and propertize the prefix with `prefix-face'.
11046 (Bug#14017)
11047
11048 2013-03-24 Leo Liu <sdl.web@gmail.com>
11049
11050 * nxml/rng-valid.el (rng-validate-while-idle)
11051 (rng-validate-quick-while-idle): Guard against deleted buffer.
11052 (Bug#13999)
11053
11054 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11055 is the last entry in kill-buffer-hook.
11056
11057 * files.el (kill-buffer-hook): Doc fix.
11058
11059 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11060
11061 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11062 Make it safe-local.
11063
11064 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11065
11066 2013-03-23 Leo Liu <sdl.web@gmail.com>
11067
11068 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11069 Remove.
11070
11071 * nxml/rng-valid.el (rng-validate-mode)
11072 (rng-after-change-function, rng-do-some-validation):
11073 * nxml/rng-maint.el (rng-validate-buffer):
11074 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11075 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11076 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11077 (nxml-extend-after-change-region): Use with-silent-modifications.
11078
11079 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11080 timer-idle-list.
11081
11082 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11083 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11084 timer-idle-list. (Bug#13999)
11085
11086 2013-03-23 Juri Linkov <juri@jurta.org>
11087
11088 * info.el (info-index-match): New face.
11089 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11090 main pattern and add text properties with the new face to matches
11091 in index entries relative to the beginning of the index entry.
11092 (Bug#14015)
11093
11094 2013-03-21 Eric Ludlam <zappo@gnu.org>
11095
11096 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11097 Inhibit read only while inserting objects.
11098
11099 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11100
11101 * progmodes/cfengine.el: Update docs to mention
11102 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11103 symbol motion. Remove "_" from the word syntax.
11104
11105 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11106
11107 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11108 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11109
11110 2013-03-20 Juri Linkov <juri@jurta.org>
11111
11112 * info.el (Info-next-reference-or-link)
11113 (Info-prev-reference-or-link): New functions.
11114 (Info-next-reference, Info-prev-reference): Use them.
11115 (Info-try-follow-nearest-node): Handle footnote navigation.
11116 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11117
11118 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11121 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11122
11123 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11124
11125 Suppress unnecessary non-ASCII chatter during build process.
11126 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11127 (batch-skkdic-convert): Suppress most of the chatter.
11128 It's not needed so much now that machines are faster,
11129 and its non-ASCII component was confusing; see Dmitry Gutov in
11130 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11131
11132 2013-03-20 Leo Liu <sdl.web@gmail.com>
11133
11134 * ido.el (ido-chop): Fix bug#10994.
11135
11136 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11137
11138 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11139 Remove vars.
11140 (whitespace-color-on, whitespace-color-off):
11141 Use `font-lock-fontify-buffer' (Bug#13817).
11142
11143 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11144
11145 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11146 remapping in mode-line.
11147 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11148
11149 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11150
11151 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11152 value for `whitespace-line' face (Bug#13875).
11153 (whitespace-font-lock-keywords): Change description.
11154 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11155 the constructed keywords instead.
11156 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11157
11158 2013-03-19 Leo Liu <sdl.web@gmail.com>
11159
11160 * progmodes/compile.el (compilation-display-error): New command.
11161 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11162 C-o. (Bug#13992)
11163
11164 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11165
11166 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11167
11168 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11169
11170 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11171
11172 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11173
11174 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11175
11176 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11177 * net/tramp-gvfs.el (top):
11178 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11179 (tramp-handle-shell-command): Use it.
11180 (tramp-dissect-file-name): Raise an error when hostname is a
11181 method name, and neither method nor user is specified.
11182
11183 * net/trampver.el: Update release number.
11184
11185 2013-03-18 Leo Liu <sdl.web@gmail.com>
11186
11187 Make sure eldoc can be turned off properly.
11188 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11189 eldoc-mode.
11190 (eldoc-display-message-p): Revert last change.
11191 (eldoc-display-message-no-interference-p)
11192 (eldoc-print-current-symbol-info): Tweak.
11193
11194 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11195
11196 * doc-view.el (doc-view-new-window-function): Check the new window
11197 overlay's display property instead the char property of the
11198 buffer's first char. Use `with-selected-window' instead of
11199 `save-window-excursion' with `select-window'.
11200 (doc-view-document->bitmap): Check the current doc-view overlay's
11201 display property instead the char property of the buffer's first char.
11202
11203 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11204
11205 Automate the build of ja-dic.el (Bug#13984).
11206 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11207 from the input, rather than assume that it's been done for us by the
11208 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11209 the current date into a ja-dic.el comment, as that complicates
11210 regression testing.
11211
11212 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11213
11214 * whitespace.el: Fix double evaluation.
11215 (whitespace-space, whitespace-hspace, whitespace-tab)
11216 (whitespace-newline, whitespace-trailing, whitespace-line)
11217 (whitespace-space-before-tab, whitespace-indentation)
11218 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11219 obsolete defvars.
11220 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11221 (whitespace-color-on): Use a single font-lock-add-keywords call.
11222 Fix double-evaluation of face variables.
11223
11224 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11225
11226 * net/tramp-adb.el (tramp-adb-parse-device-names):
11227 Use `start-process' instead of `call-process'. Otherwise, the
11228 function might be blocked under MS Windows. (Bug#13299)
11229
11230 2013-03-17 Leo Liu <sdl.web@gmail.com>
11231
11232 Extend eldoc to display info in the mode-line. (Bug#13978)
11233 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11234 (eldoc-mode-line-string): New variable.
11235 (eldoc-minibuffer-message): New function.
11236 (eldoc-message-function): New variable.
11237 (eldoc-message): Use it.
11238 (eldoc-display-message-p)
11239 (eldoc-display-message-no-interference-p):
11240 Support eldoc-post-insert-mode.
11241
11242 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11243 (eval-expression): Run it.
11244
11245 2013-03-17 Roland Winkler <winkler@gnu.org>
11246
11247 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11248 strings in the list of return values.
11249
11250 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11251
11252 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11253 radix before checking for HMS forms.
11254
11255 2013-03-16 Leo Liu <sdl.web@gmail.com>
11256
11257 * progmodes/scheme.el: Add indentation and font-locking for λ.
11258 (Bug#13975)
11259
11260 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11263 token before point (bug#13942).
11264
11265 2013-03-16 Leo Liu <sdl.web@gmail.com>
11266
11267 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11268
11269 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11270
11271 * startup.el (command-line-normalize-file-name): Fix handling of
11272 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11273 <xfq.free@gmail.com> in
11274 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11275
11276 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11277
11278 Sync with Tramp 2.2.7.
11279
11280 * net/trampver.el: Update release number.
11281
11282 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11283
11284 * doc-view.el: Fix bug#13887.
11285 (doc-view-insert-image): Don't modify overlay associated to
11286 non-live windows, and implement horizontal centering of image in
11287 case it's smaller than the window.
11288 (doc-view-new-window-function): Force redisplay of new windows on
11289 doc-view buffers.
11290
11291 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11292
11293 * saveplace.el (save-place-alist-to-file): Don't sort
11294 `save-place-alist', just pretty-print it (bug#13882).
11295
11296 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11297
11298 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11299 Check whether `default-file-name-coding-system' is bound.
11300 It isn't in XEmacs.
11301
11302 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11303
11304 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11305 backquotes for `obsolete' (bug#13929).
11306
11307 * international/mule.el (find-auto-coding): Include file name in
11308 obsolescence warning (bug#13922).
11309
11310 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11311
11312 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11313 for CFEngine 3-specific indentation.
11314 (cfengine3-indent-line): Use it. Fix up category regex.
11315 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11316
11317 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * type-break.el (type-break-file-name):
11320 * textmodes/remember.el (remember-data-file):
11321 * strokes.el (strokes-file):
11322 * shadowfile.el (shadow-initialize):
11323 * saveplace.el (save-place-file):
11324 * ps-bdf.el (bdf-cache-file):
11325 * progmodes/idlwave.el (idlwave-config-directory):
11326 * net/quickurl.el (quickurl-url-file):
11327 * international/kkc.el (kkc-init-file-name):
11328 * ido.el (ido-save-directory-list-file):
11329 * emulation/viper.el (viper-custom-file-name):
11330 * emulation/vip.el (vip-startup-file):
11331 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11332 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11333
11334 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11335
11336 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11337 * language/thai-word.el: Switch to UTF-8.
11338
11339 See ChangeLog.16 for earlier changes.
11340
11341 ;; Local Variables:
11342 ;; coding: utf-8
11343 ;; End:
11344
11345 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11346
11347 This file is part of GNU Emacs.
11348
11349 GNU Emacs is free software: you can redistribute it and/or modify
11350 it under the terms of the GNU General Public License as published by
11351 the Free Software Foundation, either version 3 of the License, or
11352 (at your option) any later version.
11353
11354 GNU Emacs is distributed in the hope that it will be useful,
11355 but WITHOUT ANY WARRANTY; without even the implied warranty of
11356 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11357 GNU General Public License for more details.
11358
11359 You should have received a copy of the GNU General Public License
11360 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.