* faces.el (read-color): Minor fix for completion function.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-20 Chong Yidong <cyd@gnu.org>
2
3 * faces.el (read-color): Minor fix for completion function.
4
5 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
6
7 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
8 option. (Bug#16182)
9 (ruby-smie--indent-to-stmt-p): Use it.
10 (ruby-smie-rules): Revert the logic in the handling of `when'.
11 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12 (ruby-deep-arglist, ruby-deep-indent-paren)
13 (ruby-deep-indent-paren-style): Update docstrings to note that the
14 vars don't have any effect with SMIE.
15
16 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
17
18 * calc/calc.el (calc-enter, calc-pop): Use the variable
19 `calc-context-sensitive-enter'.
20
21 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22
23 * net/shr.el (shr-insert): Protect against infloops in degenerate
24 tables.
25
26 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
27
28 * progmodes/octave.el (octave): Add link to manual and octave
29 homepage.
30 (octave-mode-menu): Link to octave-mode manual.
31
32 2013-12-20 Leo Liu <sdl.web@gmail.com>
33
34 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
35 insertion using skeleton-end-newline. (Bug#16138)
36
37 2013-12-20 Juri Linkov <juri@jurta.org>
38
39 * replace.el (occur-engine): Use `add-face-text-property'
40 to add the face property to matches and titles. (Bug#14645)
41
42 * hi-lock.el (hi-green): Use lighter color "light green" closer to
43 the palette of other hi-lock colors.
44 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
45
46 2013-12-19 Juri Linkov <juri@jurta.org>
47
48 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
49 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
50 (minibuffer-history-symbol): Move variable declaration closer to
51 its usage.
52
53 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
54 (Bug#14785)
55
56 2013-12-19 Juri Linkov <juri@jurta.org>
57
58 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
59 New function.
60 (log-edit-hook): Add it to :options. (Bug#16170)
61
62 2013-12-19 Juri Linkov <juri@jurta.org>
63
64 * simple.el (eval-expression-print-format): Don't check for
65 command names and the last command. Always display additional
66 formats of the integer result in the echo area, and insert them
67 to the current buffer only with a zero prefix arg.
68 Display character when char-displayable-p is non-nil.
69 (eval-expression): With a zero prefix arg, set `print-length' and
70 `print-level' to nil, and insert the integer values from
71 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
72
73 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
74 `eval-last-sexp-arg-internal'. Doc fix.
75 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
76 `eval-last-sexp-print-value'. Doc fix.
77 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
78 Set `print-length' and `print-level' to nil when arg is zero.
79 (eval-last-sexp): Doc fix.
80 (eval-defun-2): Print the integer values from
81 `eval-expression-print-format' at the end.
82
83 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
84 values from `eval-expression-print-format' at the end.
85
86 * ielm.el (ielm-eval-input): Print the integer
87 values from `eval-expression-print-format' at the end.
88
89 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
90
91 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
92 2013-12-11T19:01:44Z!tzz@lifelogs.com.
93
94 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
97 (hl-line-highlight, global-hl-line-highlight): Use it.
98 (hl-line-overlay): Use defvar-local.
99
100 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
101
102 * term/ns-win.el: Require dnd.
103 (global-map): Remove drag items.
104 (ns-insert-text, ns-set-foreground-at-mouse)
105 (ns-set-background-at-mouse):
106 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
107 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
108 New functions.
109
110 2013-12-19 Glenn Morris <rgm@gnu.org>
111
112 * emacs-lisp/ert.el (ert-select-tests):
113 Fix string/symbol mixup. (Bug#16121)
114
115 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
116
117 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
118 keywords to their parent.
119
120 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
121
122 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
123 first arg to be a string (fixed dead code), or an operator symbol.
124 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
125 operator symbols.
126 (ruby-smie-rules): Remove parent token check in the `.' clause, it
127 did nothing. Don't respond to `(:after ".")', it will be called
128 with :before anyway. Remove the ` @ ' rule, it didn't seem to
129 change anything. Only return indentation for binary operators
130 when they are hanging. De-dent opening paren when its parent is
131 `.', otherwise it looks bad when the dot is not at bol or eol
132 (bug#16182).
133
134 2013-12-19 Juri Linkov <juri@jurta.org>
135
136 * replace.el (query-replace-read-args): Split a non-negative arg
137 and a negative arg into separate elements.
138 (query-replace, query-replace-regexp, replace-string)
139 (replace-regexp): Add arg `backward'. Doc fix.
140 (replace-match-maybe-edit): When new arg `backward' is non-nil,
141 move point to the beginning of the match.
142 (replace-search, replace-highlight): Use new arg `backward'
143 to set the value of `isearch-forward'.
144 (perform-replace): Add arg `backward' and use it to perform
145 replacement backward. (Bug#14979)
146
147 * isearch.el (isearch-query-replace): Use a negative prefix arg
148 to call `perform-replace' with a non-nil arg `backward'.
149
150 2013-12-18 Juri Linkov <juri@jurta.org>
151
152 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
153 to the default list. Move `log-edit-show-files' to the end.
154 Add more available functions to options.
155 (log-edit): Move default specific settings to
156 `log-edit-insert-message-template'. Don't move point.
157 (log-edit-insert-message-template): New function.
158 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
159 (Bug#16170)
160
161 2013-12-18 Juri Linkov <juri@jurta.org>
162
163 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
164 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
165
166 2013-12-18 Leo Liu <sdl.web@gmail.com>
167
168 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
169
170 2013-12-18 Eli Zaretskii <eliz@gnu.org>
171
172 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
173 formats for displaying file sizes when the -s switch is given.
174 Instead, compute a separate format for displaying the size in
175 blocks, which is displayed in addition to the "regular" size.
176 When -h is given in addition to -s, produce size in blocks in
177 human-readable form as well. (Bug#16179)
178
179 2013-12-18 Tassilo Horn <tsdh@gnu.org>
180
181 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
182 Reference tables with ~\ref{...} instead of only \ref{...}.
183
184 2013-12-18 Chong Yidong <cyd@gnu.org>
185
186 * cus-edit.el (custom-magic-alist): Fix "themed" description
187 (Bug#14348).
188
189 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
190 is non-nil, do not create a new entry in the symbol's theme-value
191 or theme-face property; update theme-settings only (Bug#14664).
192 (custom-available-themes): Doc fix.
193
194 * cus-theme.el (custom-new-theme-mode-map): Add bindings
195 (Bug#15674).
196
197 * replace.el (occur-engine): Avoid infloop (Bug#7593).
198
199 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
200
201 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
202 (Bug#13914).
203
204 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
205
206 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
207
208 2013-12-18 Glenn Morris <rgm@gnu.org>
209
210 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
211 * cus-start.el (load-prefer-newer): New option.
212
213 2013-12-18 Le Wang <l26wang@gmail.com>
214
215 * comint.el (comint-previous-matching-input-from-input):
216 Retain point (Bug#13404).
217
218 2013-12-18 Chong Yidong <cyd@gnu.org>
219
220 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
221
222 2013-12-18 Glenn Morris <rgm@gnu.org>
223
224 * mail/emacsbug.el (report-emacs-bug):
225 Only mention enable-multibyte-characters if non-standard.
226
227 2013-12-17 Juri Linkov <juri@jurta.org>
228
229 * arc-mode.el (archive-extract-by-file): Check if directory exists
230 before deletion to not show irrelevant errors if it doesn't exist.
231
232 2013-12-17 Juri Linkov <juri@jurta.org>
233
234 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
235 (Bug#14751)
236
237 * net/eww.el (browse-web): Add alias to `eww'.
238 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
239 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
240
241 * net/browse-url.el (browse-url-browser-function): Move `eww'
242 closer to similar functions.
243
244 * startup.el (fancy-startup-screen, fancy-about-screen):
245 Set browse-url-browser-function to eww-browse-url locally.
246 (Bug#14751)
247
248 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * window.el (window--pixel-to-total): Remove unused `mini' var.
251 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
252 (split-window): Remove unused `new' var.
253 (window--display-buffer): Remove unused `frame' and `delta' vars.
254 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
255 and display-width'.
256
257 2013-12-17 Martin Rudalics <rudalics@gmx.at>
258
259 * dired.el (dired-mark-pop-up):
260 * register.el (register-preview): Don't bind
261 split-height-threshold here since it's now done in
262 display-buffer-below-selected.
263
264 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
265
266 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
267 xterm-rgb-convert-to-16bit.
268 (rxvt-register-default-colors): Standardize with
269 xterm-register-default-colors (Bug#14078).
270
271 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
272
273 * simple.el (kill-region): Pass mark first, then point, so that
274 kill-append works right (Bug#12819).
275 (copy-region-as-kill, kill-ring-save): Likewise.
276
277 2013-12-17 Leo Liu <sdl.web@gmail.com>
278
279 * net/rcirc.el (rcirc-add-face):
280 * eshell/em-prompt.el (eshell-emit-prompt):
281 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
282 (Bug#16167)
283
284 2013-12-17 Chong Yidong <cyd@gnu.org>
285
286 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
287 Suggested by Xue Fuqiao.
288
289 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
292
293 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * net/shr.el (shr-insert-document): Remove unused var
296 `shr-preliminary-table-render'.
297 (shr-rescale-image): Remove unused arg `force'.
298 (shr-put-image): Update calls accordingly.
299 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
300
301 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
302
303 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
304 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
305 :close-all, to see which indentation method to use (Bug#16116).
306 (smie-rules-function): Document the method :close-all.
307
308 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
309
310 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
311
312 * net/eww.el (eww-display-html): If we can't find the anchor we're
313 looking for, then go to point-min.
314
315 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
316
317 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
318 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
319 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
320 Expand dir too, in case it's relative.
321
322 2013-12-16 Juri Linkov <juri@jurta.org>
323
324 * desktop.el (desktop-auto-save-timeout): Change default to
325 `auto-save-timeout'. Doc fix.
326 (desktop-save): Skip the timestamp in desktop-saved-frameset
327 when checking for auto-save changes.
328 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
329 `desktop-auto-save' is called repeatedly by the idle timer.
330 (desktop-auto-save-set-timer): Replace `run-with-timer' with
331 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
332 (Bug#15331)
333
334 2013-12-16 Juri Linkov <juri@jurta.org>
335
336 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
337 (Bug#16035)
338 (isearch-pre-command-hook): Check `this-command' for symbolp.
339
340 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
343
344 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
345
346 * progmodes/cfengine.el (cfengine3--current-word): Remove.
347 (cfengine3--current-function): Bring in the current-function
348 functionality from `cfengine3--current-word'.
349 (cfengine3-completion-function): Bring in the
350 bounds-of-current-word functionality from
351 `cfengine3--current-word'.
352
353 2013-12-16 Martin Rudalics <rudalics@gmx.at>
354
355 * window.el (display-buffer-below-selected):
356 Bind split-height-threshold to 0 as suggested by Juri Linkov.
357
358 2013-12-16 Leo Liu <sdl.web@gmail.com>
359
360 * progmodes/compile.el (compile-goto-error): Do not push-mark.
361 Remove NOMSG arg and all uses changed.
362
363 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
366 (cua--deactivate-rectangle): Don't deactivate the mark.
367 (cua-set-rectangle-mark): Don't set mark-active since
368 cua--activate-rectangle already does it for us.
369 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
370 non-rectangular region.
371
372 * emulation/cua-base.el (cua-repeat-replace-region):
373 Use with-current-buffer.
374
375 * net/gnutls.el: Use cl-lib.
376 (gnutls-negotiate): `mapcan' -> cl-mapcan.
377
378 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
379
380 * emacs-lisp/package.el (package-built-in-p): Support both
381 built-in and the package.el converted package descriptions.
382 (package-show-package-list): Allow keywords.
383 (package-keyword-button-action): Use it instead of
384 `finder-list-matches'.
385 (package-menu-filter-interactive): Interactive filtering (by
386 keyword) function.
387 (package-menu--generate): Support keywords and change keymappings
388 and headers when they are given.
389 (package--has-keyword-p): Helper function.
390 (package-menu--refresh): Use it.
391 (package--mapc): Helper function.
392 (package-all-keywords): Use it.
393 (package-menu-mode-map): Set up menu items and keybindings to
394 provide a filtering UI.
395
396 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
397
398 * net/gnutls.el (gnutls-verify-error): New defcustom to control
399 the behavior when a certificate fails validation. Defaults to
400 old behavior: never abort, just warn.
401 (gnutls-negotiate): Use it.
402
403 2013-12-14 Martin Rudalics <rudalics@gmx.at>
404
405 * window.el (display-buffer-below-selected): Never split window
406 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
407
408 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
409
410 * emacs-lisp/package.el (package--prepare-dependencies): New function.
411 (package-buffer-info): Use it (bug#15108).
412
413 * icomplete.el (icomplete-completions): Make sure the prefix is already
414 displayed elsewhere before hiding it.
415
416 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
417
418 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
419 open-paren tokens when preceded by a open-paren, too.
420 (ruby-smie-rules): Handle virtual indentation after open-paren
421 tokens specially. If there is code between it and eol, return the
422 column where is starts (Bug#16118).
423
424 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
425
426 * progmodes/cfengine.el: Fix `add-hook' doc.
427 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
428 (cfengine3--current-word): Fix parameters.
429 (cfengine3-make-syntax-cache): Simplify further.
430 (cfengine3-completion-function, cfengine3--current-function):
431 Use `assq' for symbols.
432 (cfengine3--current-function): Fix `cfengine3--current-word' call.
433
434 2013-12-13 Glenn Morris <rgm@gnu.org>
435
436 * loadup.el (load-path): Warn if site-load or site-init changes it.
437 No more need to reset it when bootstrapping.
438
439 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
440
441 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
442 locations for cf-promises.
443 (cfengine-mode-syntax-functions-regex): New caching variable.
444 (cfengine3-fallback-syntax): Fallback syntax for cases where
445 cf-promises doesn't run.
446 (cfengine3--current-word): Reimplement using
447 `cfengine-mode-syntax-functions-regex'.
448 (cfengine3-completion-function, cfengine3--current-function):
449 Use `cfengine3-make-syntax-cache' directly.
450 (cfengine3-clear-syntax-cache): New function.
451 (cfengine3-make-syntax-cache): Simplify and create
452 `cfengine-mode-syntax-functions-regex' on demand.
453 (cfengine3-format-function-docstring): Don't call
454 `cfengine3-make-syntax-cache' explicitly.
455
456 2013-12-13 Martin Rudalics <rudalics@gmx.at>
457
458 Fix windmove-find-other-window broken after pixelwise resizing
459 (Bug#16017).
460 * windmove.el (windmove-other-window-loc): Revert change from
461 2013-12-04.
462 (windmove-find-other-window): Call window-in-direction.
463 * window.el (window-in-direction): New arguments SIGN, WRAP and
464 MINI to emulate original windmove-find-other-window behavior.
465
466 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
467
468 * simple.el (blink-matching--overlay): New variable.
469 (blink-matching-open): Instead of moving point, highlight the
470 matching paren with an overlay
471 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
472
473 * faces.el (paren-showing-faces, show-paren-match)
474 (show-paren-mismatch): Move from paren.el.
475
476 2013-12-13 Leo Liu <sdl.web@gmail.com>
477
478 * indent.el (indent-region): Disable progress reporter in
479 minibuffer. (Bug#16108)
480
481 * bindings.el (visual-order-cursor-movement): Fix version.
482
483 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
484
485 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
486 Also match after beginning of line.
487 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
488 files. Thanks to Russell Sim. (Bug#15378)
489
490 2013-12-13 Juri Linkov <juri@jurta.org>
491
492 * simple.el <Keypad support>: Remove key bindings duplicated
493 with bindings.el. (Bug#14397)
494
495 2013-12-13 Juri Linkov <juri@jurta.org>
496
497 * comint.el (comint-mode-map): Replace `delete-char' with
498 `delete-forward-char'. (Bug#16109)
499
500 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
501
502 * progmodes/python.el (python-indent-calculate-indentation):
503 Fix de-denters cornercase. (Bug#15731)
504
505 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
508 (advice--make): Pay attention to `depth'.
509 (advice--make-1): Don't autoload commands eagerly.
510 * emacs-lisp/elp.el (elp-instrument-function):
511 * emacs-lisp/trace.el (trace-function-internal):
512 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
513
514 * iswitchb.el (iswitchb-mode): Don't belittle ido.
515
516 2013-12-12 Eli Zaretskii <eliz@gnu.org>
517
518 * term/w32-win.el (w32-handle-dropped-file):
519 * startup.el (normal-top-level):
520 * net/browse-url.el (browse-url-file-url):
521 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
522 decode file names using 'utf-8' rather than
523 file-name-coding-system.
524
525 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
526
527 * progmodes/python.el (python-indent-context)
528 (python-indent-calculate-indentation): Fix auto-identation
529 behavior for comment blocks. (Bug#15916)
530
531 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
532
533 * progmodes/python.el (python-indent-calculate-indentation):
534 When determining indentation, don't treat "return", "pass", etc., as
535 operators when they are just string constituents. (Bug#15812)
536
537 2013-12-12 Juri Linkov <juri@jurta.org>
538
539 * uniquify.el (uniquify-buffer-name-style): Change default to
540 `post-forward-angle-brackets'.
541
542 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
543 `uniquify'. Change default to `post-forward-angle-brackets'.
544
545 2013-12-11 Glenn Morris <rgm@gnu.org>
546
547 * emacs-lisp/package.el (finder-list-matches):
548 Autoload rather than falsely declaring.
549
550 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
551
552 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
553 (eww-mode-map): Use them.
554
555 2013-12-11 Martin Rudalics <rudalics@gmx.at>
556
557 * window.el (display-buffer-in-side-window): Fix doc-string
558 (Bug#16115).
559
560 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
561
562 * vc/vc-git.el: Silence byte-compiler warnings.
563 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
564 (log-edit-set-header): Declare.
565
566 2013-12-11 Eli Zaretskii <eliz@gnu.org>
567
568 * Makefile.in (custom-deps, finder-data): Run output file names
569 through unmsys--file-name. (Bug#16099)
570
571 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
574 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
575
576 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
577 instead of deleting the selection "by hand" (bug#16098).
578 Rely on insert-for-yank to yank rectangles.
579 (cua-highlight-region-shift-only): Mark obsolete.
580 (cua-mode): Don't enable/disable transient-mark-mode,
581 shift-select-mode (cua-mode works both with and without them), and
582 pc-selection-mode (obsolete).
583 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
584 (cua--deactivate-rectangle): Deactivate it.
585
586 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
587 (delete-selection-helper): Make sure yank starts at the top of the
588 deleted region.
589 (minibuffer-keyboard-quit): Use region-active-p.
590
591 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
592
593 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
594 to `delete' (bug#16109).
595
596 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
597
598 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
599 info manual and show keybindings and set `:group' keyword.
600
601 2013-12-11 Juri Linkov <juri@jurta.org>
602
603 * delsel.el (delete-active-region): Let-bind `this-command'
604 to prevent `kill-region' from changing its original value.
605 (delete-selection-helper): Handle `overwrite-mode' for the type
606 `kill' exactly the same way as for the type `t'.
607 (insert-char, quoted-insert, reindent-then-newline-and-indent):
608 Support more commands. (Bug#13312)
609
610 2013-12-11 Juri Linkov <juri@jurta.org>
611
612 * bindings.el: Map kp keys to non-kp keys systematically
613 with basic modifiers control, meta and shift. (Bug#14397)
614
615 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
616
617 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
618 "Close browser" menu items. Fix wrong function of "List
619 bookmarks".
620
621 2013-12-11 Juri Linkov <juri@jurta.org>
622
623 * misearch.el (multi-isearch-buffers): Set the value of
624 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
625 arg of isearch-forward to t.
626 (multi-isearch-buffers-regexp): Set the value of
627 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
628 arg of isearch-forward-regexp to t.
629 (multi-isearch-files): Set the value of
630 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
631 arg of isearch-forward to t.
632 (multi-isearch-files-regexp): Set the value of
633 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
634 arg of isearch-forward-regexp to t. (Bug#16035)
635
636 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
637 arg of isearch-forward to t.
638 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
639 arg of isearch-forward-regexp to t.
640 (dired-isearch-filter-filenames): Remove unnecessary check for
641 `dired-isearch-filenames'.
642
643 * comint.el (comint-history-isearch-backward):
644 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
645 (comint-history-isearch-backward-regexp):
646 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
647
648 2013-12-10 Eli Zaretskii <eliz@gnu.org>
649
650 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
651 unmsys--file-name. (Bug#16099)
652
653 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
654
655 * emacs-lisp/package.el (package-keyword-button-action):
656 Remove finder.el require dependency.
657
658 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
659
660 * emacs-lisp/package.el: Require finder.el.
661 (describe-package-1): Add keyword buttons.
662 (package-make-button): New convenience function.
663 (package-keyword-button-action): Keyword button action using
664 `finder-list-matches'
665
666 2013-12-09 Eli Zaretskii <eliz@gnu.org>
667
668 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
669 last commit.
670
671 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
672
673 * autorevert.el (auto-revert-notify-add-watch): Do not handle
674 symlinked files.
675
676 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
677
678 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
679 after the end of a percent literal.
680
681 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
682
683 * progmodes/ruby-mode.el (ruby-forward-string): Document.
684 Handle caret-delimited strings (Bug#16079).
685
686 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
687
688 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
689 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
690 `ruby-parse-partial' (Bug#16078).
691
692 2013-12-09 Leo Liu <sdl.web@gmail.com>
693
694 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
695
696 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
697
698 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
699 (js-switch-indent-offset): New option.
700 (js--proper-indentation): Use it. And handle the case when
701 "default" is actually a key in an object literal.
702 (js--same-line): New function.
703 (js--multi-line-declaration-indentation): Use it.
704 (js--indent-in-array-comp, js--array-comp-indentation):
705 New functions.
706 (js--proper-indentation): Use them, to handle array comprehension
707 continuations.
708
709 2013-12-08 Leo Liu <sdl.web@gmail.com>
710
711 * progmodes/flymake.el (flymake-highlight-line): Re-write.
712 (flymake-make-overlay): Remove arg MOUSE-FACE.
713 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
714
715 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
718 New function.
719 (redisplay-highlight-region-function): Use it.
720
721 * emulation/cua-base.el (cua--explicit-region-start)
722 (cua--last-region-shifted): Remove.
723 (cua--deactivate): Use deactivate-mark.
724 (cua--pre-command-handler-1): Don't handle shift-selection.
725 (cua--post-command-handler-1): Don't change transient-mark-mode.
726 (cua--select-keymaps): Use region-active-p rather than
727 cua--explicit-region-start or cua--last-region-shifted.
728 (cua-mode): Enable shift-select-mode.
729
730 2013-12-08 Leo Liu <sdl.web@gmail.com>
731
732 * progmodes/flymake.el (flymake-popup-current-error-menu):
733 Rename from flymake-display-err-menu-for-current-line. Reimplement.
734 (flymake-posn-at-point-as-event, flymake-popup-menu)
735 (flymake-make-emacs-menu): Remove. (Bug#16077)
736
737 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * rect.el (rectangle-mark-mode): Activate mark even if
740 transient-mark-mode is off (bug#16066).
741 (rectangle--highlight-for-redisplay): Fix boundary condition when point
742 is > mark and at bolp.
743
744 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
745 (region-extract-function): Use it.
746 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
747 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
748 Delete functions.
749 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
750 kill-ring-save, kill-region, delete-char, delete-forward-char.
751 Ignore self-insert-iso.
752
753 * emulation/cua-gmrk.el (cua--init-global-mark):
754 Ignore `self-insert-iso'.
755
756 * emulation/cua-base.el (cua--prefix-copy-handler)
757 (cua--prefix-cut-handler): Rely on region-extract-function rather than
758 checking cua--rectangle.
759 (cua-delete-region): Use region-extract-function.
760 (cua-replace-region): Delete function.
761 (cua-copy-region, cua-cut-region): Obey region-extract-function.
762 (cua--pre-command-handler-1): Don't do the delete-selection thing.
763 (cua--self-insert-char-p): Ignore `self-insert-iso'.
764 (cua--init-keymaps): Don't remap delete-selection commands.
765 (cua-mode): Use delete-selection-mode instead of rolling our own
766 (bug#16085).
767
768 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
769 Obey region-extract-function.
770
771 Make registers and delete-selection-mode work on rectangles.
772 * register.el (describe-register-1): Don't modify the register's value.
773 (copy-to-register): Obey region-extract-function.
774 * delsel.el (delete-active-region): Obey region-extract-function.
775
776 2013-12-08 Leo Liu <sdl.web@gmail.com>
777
778 * progmodes/flymake.el (flymake, flymake-error-bitmap)
779 (flymake-warning-bitmap, flymake-fringe-indicator-position)
780 (flymake-compilation-prevents-syntax-check)
781 (flymake-start-syntax-check-on-newline)
782 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
783 (flymake-start-syntax-check-on-find-file, flymake-log-level)
784 (flymake-xml-program, flymake-master-file-dirs)
785 (flymake-master-file-count-limit)
786 (flymake-allowed-file-name-masks): Relocate.
787 (flymake-makehash, flymake-float-time)
788 (flymake-replace-regexp-in-string, flymake-split-string)
789 (flymake-get-temp-dir): Remove.
790 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
791 (flymake-current-row, flymake-selected-frame)
792 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
793 related functions. (Bug#16077)
794
795 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
796
797 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
798
799 2013-12-07 Tassilo Horn <tsdh@gnu.org>
800
801 * help-fns.el (describe-function-1): Use new advice-* functions
802 rather than old ad-* functions. Fix function type description and
803 source links for advised functions and subrs.
804
805 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
806
807 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
808
809 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
810
811 * progmodes/compile.el (compilation-start):
812 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
813
814 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
815 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
816
817 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
818
819 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
820 Touch up the last change.
821
822 2013-12-06 Leo Liu <sdl.web@gmail.com>
823
824 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
825 (inferior-octave-startup): Always use "octave> " for prompt.
826 (octave-goto-function-definition)
827 (octave-sync-function-file-names)
828 (octave-find-definition-default-filename): Remove redundant backquotes.
829
830 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
831
832 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
833 syntax for `?'.
834 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
835 where appropriate already.
836 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
837 end of method names (Bug#15874).
838
839 2013-12-06 Juri Linkov <juri@jurta.org>
840
841 * isearch.el (isearch--saved-overriding-local-map):
842 New internal variable.
843 (isearch-mode): Set it to the initial value of
844 `overriding-terminal-local-map'.
845 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
846 with `isearch--saved-overriding-local-map'. (Bug#16035)
847
848 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
849
850 * progmodes/octave.el (inferior-octave-completion-table):
851 Turn back into function, use `completion-table-with-cache'
852 (Bug#11906). Update all references.
853
854 * minibuffer.el (completion-table-with-cache): New function.
855
856 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
857
858 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
859
860 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
861
862 * net/eww.el (eww-current-source): New variable to store page
863 source.
864 (eww-display-html, eww-mode, eww-save-history)
865 (eww-restore-history): Use it.
866 (eww-view-source): New command to view page source.
867 Opportunistically uses `html-mode' to highlight the buffer.
868 (eww-mode-map): Install it.
869
870 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
871
872 * net/dbus.el (dbus-unregister-service)
873 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
874 Fix docstring.
875 (dbus-unregister-service): Skip :serial entries in
876 `dbus-registered-objects-table'.
877 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
878
879 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
880
881 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
882 around keywords with extra `split-string' argument.
883
884 2013-12-04 Martin Rudalics <rudalics@gmx.at>
885
886 * windmove.el (windmove-other-window-loc): Handle navigation
887 between windows (excluding the minibuffer window - Bug#16017).
888
889 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
890
891 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
892 in D-Bus type syntax.
893 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
894 preserve unibyte strings. (Bug#16048)
895
896 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
899 Call force-mode-line-update is the proper buffer (bug#16042).
900
901 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
902
903 * vc/log-edit.el (log-edit-add-new-comment): Rename to
904 `log-edit-remember-comment', make argument optional. Adjust all
905 callers.
906 (log-edit-mode): Add `log-edit-remember-comment' to
907 `kill-buffer-hook' locally.
908 (log-edit-kill-buffer): Don't remember comment explicitly since
909 the buffer is killed anyway.
910
911 2013-12-04 Juri Linkov <juri@jurta.org>
912
913 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
914 add-hook and remove-hook for multi-buffer search. (Bug#16035)
915
916 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
917
918 * notifications.el (notifications-close-notification): Call the
919 D-Bus method with ID being a `:uint32'. (Bug#16030)
920
921 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
922
923 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
924
925 2013-12-03 Juri Linkov <juri@jurta.org>
926
927 * progmodes/compile.el (compilation-start): Rename window alist
928 entry `no-display-ok' to `allow-no-window'.
929
930 * simple.el (shell-command): Add window alist entry
931 `allow-no-window' to `display-buffer'.
932 (async-shell-command): Doc fix.
933
934 * window.el (display-buffer-no-window): New action function.
935 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
936
937 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
938
939 * vc/log-edit.el (log-edit-set-header): Extract from
940 `log-edit-toggle-header'.
941 (log-edit-extract-headers): Separate the summary, when extracted
942 from header, from the rest of the message with an empty line.
943
944 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
945 line, if present, to the Summary header.
946
947 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
950 in current-buffer (bug#16029).
951
952 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
953
954 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
955 (debugger-mode-map): Bind it.
956 (debugger--backtrace-base): New function.
957 (debugger-eval-expression): Use it.
958 (debugger-frame-number): Skip local vars when present.
959 (debugger--locals-visible-p, debugger--insert-locals)
960 (debugger--show-locals, debugger--hide-locals): New functions.
961
962 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
963
964 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
965 "LC_ALL".
966 (tramp-get-remote-locale): New defun.
967 (tramp-open-connection-setup-interactive-shell): Use it.
968
969 2013-12-02 Leo Liu <sdl.web@gmail.com>
970
971 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
972
973 * progmodes/sh-script.el (sh-shell-process):
974 * progmodes/octave.el (inferior-octave-process-live-p):
975 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
976 (gdb-inferior-io-sentinel):
977 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
978
979 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
980
981 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
982 `save-selected-window' to `log-edit-hide-buf'. This makes
983 `log-edit-show-files' idempotent.
984 (log-edit-show-files): Mark the new window as dedicated.
985
986 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
987
988 * vc/log-edit.el (log-edit-mode-map): Add binding for
989 `log-edit-kill-biffer'.
990 (log-edit-hide-buf): Add a FIXME comment.
991 (log-edit-add-new-comment): New function, extracted from
992 `log-edit-done'.
993 (log-edit-done, log-edit-add-to-changelog): Use it.
994 (log-edit-kill-buffer): New command.
995
996 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
997
998 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
999 instead of killing the buffer.
1000
1001 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1004
1005 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1006
1007 * net/eww.el (eww-form-checkbox-selected-symbol)
1008 (eww-form-checkbox-symbol): New customizable variable.
1009 (eww-form-checkbox, eww-toggle-checkbox):
1010 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1011
1012 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1013 (shr--get-media-pref, shr--extract-best-source): New function.
1014 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1015 no :src tag was specified.
1016
1017 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1018 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1019 Use \\` to match beginning of string instead of ^.
1020 (eww-browse-with-external-browser): Provide optional URL parameter.
1021 (eww-render): Set `eww-current-title' back to "".
1022
1023 * net/shr.el (shr-tag-video): Display content for video if no
1024 poster is available.
1025 (shr-tag-audio): Add support for <audio> tag.
1026
1027 * net/eww.el (eww-text-input-types): : New const.
1028 (eww-process-text-input): Treat input types in
1029 `eww-text-input-types' as text.
1030
1031 * net/shr.el (shr-tag-table): Fix comment typo.
1032
1033 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1034
1035 * net/eww.el (eww-follow-link): New command to avoid reloading
1036 pages when we follow #target links (bug#15243).
1037 (eww-quit): Special mode buffers shouldn't query before exiting.
1038
1039 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1040
1041 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1042 forms.
1043
1044 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1045
1046 * net/eww.el (eww-restore-history): Update the window title after
1047 moving in the history.
1048 (eww-current-dom): New variable used to save the current DOM.
1049
1050 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1051
1052 * vc/log-edit.el (log-edit-mode-map): Add binding for
1053 `log-edit-beginning-of-line'.
1054 (log-edit-setup-add-author): New user option.
1055 (log-edit-beginning-of-line): New command.
1056 (log-edit): Move major mode call above the contents setup so that
1057 the local variable values are already applied.
1058 (log-edit): Only insert "Author: " when
1059 `log-edit-setup-add-author' is non-nil.
1060 (log-edit): When SETUP is non-nil, position point after ": "
1061 instead of point-min.
1062
1063 2013-12-01 Glenn Morris <rgm@gnu.org>
1064
1065 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1066
1067 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1068
1069 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1070 redisplay to make sure the initial frame gets a chance to become
1071 visible. (Bug#16014)
1072
1073 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1074
1075 Support resizing frames and windows pixelwise.
1076 * cus-start.el (frame-resize-pixelwise)
1077 (window-resize-pixelwise): New entries.
1078 * emacs-lisp/debug.el (debug): Use window-total-height instead
1079 of window-total-size.
1080 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1081 * help.el (describe-bindings-internal): Call help-buffer
1082 (temp-buffer-max-width): New option.
1083 (resize-temp-buffer-window, help-window-setup)
1084 (with-help-window): Rewrite.
1085 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1086 dragging dividers.
1087 * window.el (frame-char-size, window-min-pixel-height)
1088 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1089 (window-min-pixel-width, window-safe-min-pixel-size)
1090 (window-combination-p, window-safe-min-size)
1091 (window-resizable-p, window--size-to-pixel)
1092 (window--pixel-to-size, window--resize-apply-p): New functions.
1093 (window-safe-min-height): Fix doc-string.
1094 (window-size, window-min-size, window--min-size-1)
1095 (window-sizable, window-sizable-p, window--min-delta-1)
1096 (window-min-delta, window--max-delta-1, window-max-delta)
1097 (window--resizable, window--resizable-p, window-resizable)
1098 (window-full-height-p, window-full-width-p, window-at-side-p)
1099 (window--in-direction-2, window-in-direction)
1100 (window--resize-reset-1, window--resize-mini-window)
1101 (window-resize, window-resize-no-error)
1102 (window--resize-child-windows-normal)
1103 (window--resize-child-windows, window--resize-siblings)
1104 (window--resize-this-window, window--resize-root-window)
1105 (window--resize-root-window-vertically)
1106 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1107 (maximize-window, minimize-window, delete-window)
1108 (quit-restore-window, window-split-min-size, split-window)
1109 (balance-windows-2, balance-windows)
1110 (balance-windows-area-adjust, balance-windows-area)
1111 (window--state-get-1, window-state-get, window--state-put-1)
1112 (window--state-put-2, window-state-put)
1113 (display-buffer-record-window, window--display-buffer):
1114 Make functions handle pixelwise sizing of windows.
1115 (display-buffer--action-function-custom-type)
1116 (display-buffer-fallback-action):
1117 Add display-buffer-in-previous-window.
1118 (display-buffer-use-some-window): Resize window to height it had
1119 before.
1120 (fit-window-to-buffer-horizontally): New option.
1121 (fit-frame-to-buffer): Describe new values.
1122 (fit-frame-to-buffer-bottom-margin): Replace with
1123 fit-frame-to-buffer-margins.
1124 (window--sanitize-margin): New function.
1125 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1126 using window-text-pixel-size.
1127
1128 2013-11-30 Glenn Morris <rgm@gnu.org>
1129
1130 * emacs-lisp/bytecomp.el (byte-compile-form):
1131 Make the `interactive-only' warning like the `obsolete' one.
1132 * comint.el (comint-run):
1133 * files.el (insert-file-literally, insert-file):
1134 * replace.el (replace-string, replace-regexp):
1135 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1136 (goto-line, insert-buffer, next-line, previous-line):
1137 Tweak `interactive-only' spec.
1138
1139 Stop keeping (most) generated cedet grammar files in the repository.
1140 * Makefile.in (semantic): New.
1141 (compile-main): Depend on semantic.
1142
1143 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1146 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1147
1148 * uniquify.el (uniquify-buffer-name-style): Change default.
1149
1150 * loadup.el: Preload "uniquify".
1151
1152 * time.el (display-time-update): Update all mode lines (bug#15999).
1153
1154 * electric.el (electric-indent-mode): Enable by default.
1155 * loadup.el: Preload "electric".
1156
1157 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1158
1159 * emacs-lisp/helpers.el (string-empty-p): New function.
1160 (string-blank-p): New function.
1161
1162 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1163
1164 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1165 (Bug#14029).
1166
1167 2013-11-29 Andreas Politz <politza@fh-trier.de>
1168 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1169 allow non-lambda lists as functions.
1170 (imenu--in-alist): Don't recurse into non-subalists.
1171 (imenu): Don't pass function itself as an argument (Bug#14029).
1172
1173 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * progmodes/python.el (python-mode-map): Remove binding for ":".
1176 (python-indent-electric-colon): Remove command.
1177 (python-indent-post-self-insert-function): Integrate the previous code
1178 of python-indent-electric-colon. Make it conditional on
1179 electric-indent-mode.
1180 (python-mode): Add ?: to electric-indent-chars.
1181 Move python-indent-post-self-insert-function to the end of
1182 post-self-insert-hook.
1183
1184 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * doc-view.el (doc-view-goto-page): Update mode-line.
1187
1188 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1189
1190 2013-11-27 Glenn Morris <rgm@gnu.org>
1191
1192 * international/charprop.el, international/uni-bidi.el:
1193 * international/uni-category.el, international/uni-combining.el:
1194 * international/uni-comment.el, international/uni-decimal.el:
1195 * international/uni-decomposition.el, international/uni-digit.el:
1196 * international/uni-lowercase.el, international/uni-mirrored.el:
1197 * international/uni-name.el, international/uni-numeric.el:
1198 * international/uni-old-name.el, international/uni-titlecase.el:
1199 * international/uni-uppercase.el:
1200 Remove generated files from VCS repository.
1201
1202 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1203
1204 * filenotify.el (file-notify-add-watch): Don't special-case
1205 w32notify when computing the directory to watch.
1206
1207 2013-11-27 Glenn Morris <rgm@gnu.org>
1208
1209 Make bootstrap without generated uni-*.el files possible again.
1210 * loadup.el: Update command-line-args checking for unidata-gen.
1211 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1212 * composite.el, international/characters.el:
1213 Handle unicode tables being undefined.
1214
1215 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1216 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1217 (compile-main): Depend on leim rule.
1218 (leim): New rule.
1219 * loadup.el: Move leim-list.el to leim/ subdirectory.
1220 * startup.el (normal-top-level): No more leim directory.
1221 * international/ja-dic-cnv.el (skkdic-convert):
1222 Disable version-control and autoloads in output files.
1223 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1224 Disable version-control and autoloads in output files.
1225 * leim/quail: Move here from ../leim.
1226 * leim/quail/hangul.el (hangul-input-method-activate):
1227 Add autoload cookie.
1228 (generated-autoload-load-name): Set file-local value.
1229 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1230 (generated-autoload-load-name): Set file-local value.
1231
1232 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1233
1234 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1235 (eww-add-bookmark): ask confirmation when add to bookmarks
1236 (eww-quit): ask confirmation before quitting eww
1237
1238 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1239
1240 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1241 reading output from Diff on MS-Windows and MS-DOS.
1242
1243 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1244
1245 * emacs-lisp/helpers.el (string-reverse): New function.
1246
1247 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1250 names on MS Windows, like "/[::1]:".
1251
1252 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1253 SWITCHES.
1254
1255 2013-11-26 Glenn Morris <rgm@gnu.org>
1256
1257 * progmodes/python.el (python-indent-guess-indent-offset):
1258 Avoid corner-case error. (Bug#15975)
1259
1260 Preload leim-list.el. (Bug#4789)
1261 * loadup.el: Load leim-list.el when found.
1262 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1263
1264 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1265
1266 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1267
1268 * emacs-lisp/helpers.el (string-join): New function.
1269
1270 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1271
1272 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1273 Mark as obsolete and replace it with a symbol property.
1274 (byte-compile-form): Use new 'interactive-only property.
1275 * comint.el, files.el, replace.el, simple.el:
1276 Apply new 'interactive-only properly.
1277
1278 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1279
1280 * window.el (display-buffer-at-bottom): Make sure that
1281 split-window-sensibly creates the new window on bottom
1282 (Bug#15961).
1283
1284 2013-11-23 David Kastrup <dak@gnu.org>
1285
1286 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1287 on the conflict markers when available.
1288 (smerge--get-marker): New function.
1289 (smerge-end-re, smerge-base-re): Add subgroup.
1290
1291 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * frame.el (handle-focus-in, handle-focus-out): Add missing
1294 interactive spec.
1295
1296 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1297
1298 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1299 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1300
1301 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1304 (gomoku--last-pos): New var.
1305 (gomoku--intangible-chars): New const.
1306 (gomoku--intangible): New function.
1307 (gomoku-mode): Use it. Derive from special-mode.
1308 (gomoku-move-up): Adjust line count.
1309 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1310 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1311 Simplify accordingly.
1312
1313 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1314 Remove blink-cursor code.
1315 (blink-cursor-timer-function, blink-cursor-suspend):
1316 Don't special-case GUIs.
1317 (blink-cursor-mode): Use focus-in/out-hook.
1318
1319 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1320
1321 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1322 work when annotation is invisible (Bug#13886).
1323
1324 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1325
1326 * json.el (json-alist-p): Only return non-nil if the alist has
1327 simple keys (Bug#13518).
1328
1329 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1330
1331 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1332 when control-statement is the first statement in a buffer (Bug#15956).
1333
1334 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1335
1336 * imenu.el (imenu-generic-skip-comments-and-strings):
1337 New option (Bug#15560).
1338 (imenu--generic-function): Use it.
1339
1340 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1341
1342 * minibuffer.el (completion--in-region-1): Scroll the correct
1343 window. (Bug#13898)
1344
1345 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1346
1347 * emacs-lisp/helpers.el: Add some string helpers.
1348 (string-trim-left): Removes leading whitespace.
1349 (string-trim-right): Removes trailing whitespace.
1350 (string-trim): Removes leading and trailing whitespace.
1351
1352 * subr.el (string-suffix-p): New function.
1353
1354 2013-11-23 Glenn Morris <rgm@gnu.org>
1355
1356 * progmodes/python.el (python-shell-send-file):
1357 Add option to delete file when done. (Bug#15647)
1358 (python-shell-send-string, python-shell-send-region): Use it.
1359
1360 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1361
1362 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1363 to set buffer-read-only to t, never to nil. (Bug#15938)
1364
1365 * textmodes/tex-mode.el (latex-noindent-environments):
1366 Add safe-local-variable property. (Bug#15936)
1367
1368 2013-11-23 Glenn Morris <rgm@gnu.org>
1369
1370 * textmodes/enriched.el (enriched-mode): Doc fix.
1371 * emacs-lisp/authors.el (authors-renamed-files-alist):
1372 Add enriched.doc -> enriched.txt.
1373
1374 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1375
1376 2013-11-22 Leo Liu <sdl.web@gmail.com>
1377
1378 * progmodes/octave.el (inferior-octave-startup): Spit out error
1379 message.
1380
1381 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1382
1383 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1384 Improve docstring.
1385 Add :version.
1386 (ruby-encoding-magic-comment-style): Add :version.
1387
1388 2013-11-22 Leo Liu <sdl.web@gmail.com>
1389
1390 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1391 (Bug#15076)
1392 (octave-help-mode): Adapt to change to help-mode-finish to use
1393 derived-mode-p on 2013-09-17.
1394 (inferior-octave-prompt): Also match octave-gui.
1395 (octave-kill-process): Don't ask twice. (Bug#10564)
1396
1397 2013-11-22 Leo Liu <sdl.web@gmail.com>
1398
1399 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1400 (inferior-octave-startup, inferior-octave-check-process)
1401 (inferior-octave-track-window-width-change)
1402 (octave-completion-at-point, octave-eldoc-function): Use it.
1403 (octave-kill-process): Provide confirmation. (Bug#10564)
1404
1405 2013-11-21 Leo Liu <sdl.web@gmail.com>
1406
1407 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1408 Fix obsolete variable comment-use-global-state.
1409
1410 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1411
1412 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1413 Add `octave-source-file'.
1414 (octave-source-file): New function. (Bug#15935)
1415
1416 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1417
1418 * net/eww.el (eww-local-regex): New variable.
1419 (eww): Use it to detect localhost and similar.
1420
1421 2013-11-21 Leo Liu <sdl.web@gmail.com>
1422
1423 Add completion for command `ag'.
1424 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1425 (pcomplete/ag): New function.
1426 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1427
1428 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1431 (bug#14646).
1432 (make-obsolete): Remove interactive spec.
1433
1434 2013-11-21 Glenn Morris <rgm@gnu.org>
1435
1436 * startup.el (command-line-1): Use path-separator with -L.
1437
1438 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1439
1440 * emacs-lisp/package.el (describe-package-1): Add package archive
1441 to shown fields.
1442
1443 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1444
1445 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1446 Change default to "# encoding: %s" to differentiate it from the
1447 default Ruby encoding comment template.
1448
1449 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1450
1451 * ses.el (ses-mode): Doc fix. (Bug#14748)
1452
1453 2013-11-20 Leo Liu <sdl.web@gmail.com>
1454
1455 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1456
1457 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1458
1459 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1460 when rebase or bisect are in progress.
1461
1462 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1463
1464 * filenotify.el (file-notify-add-watch): Doc fix.
1465
1466 2013-11-19 Leo Liu <sdl.web@gmail.com>
1467
1468 * obsolete/rcompile.el: Mark obsolete.
1469
1470 * progmodes/compile.el (compilation-start)
1471 (compilation-goto-locus, compilation-find-file):
1472 Pass no-display-ok and handle nil value from display-buffer.
1473 (Bug#13594)
1474
1475 * window.el (display-buffer-alist, display-buffer): Document the
1476 new parameter no-display-ok. Return either a window or nil
1477 but never a non-window value.
1478
1479 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * electric.el (electric-indent-mode-map): Remove.
1482 (electric-indent-mode): Change the global-map instead (bug#15915).
1483
1484 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1485 Use add-function.
1486
1487 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/nadvice.el (remove-function): Align with
1490 add-function's behavior.
1491
1492 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1493 (gdb--string-regexp): New constant.
1494 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1495 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1496 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1497 submatch 1.
1498 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1499 Adjust use accordingly.
1500 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1501
1502 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1503
1504 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1505 interpolation curlies (Bug#15914).
1506
1507 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1508
1509 * calc/calc.el (calc-context-sensitive-enter): New variable.
1510 (calc-enter): Use `calc-context-sensitive-enter'.
1511
1512 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1513
1514 * progmodes/cfengine.el: Version bump.
1515 (cfengine-cf-promises): New defcustom to locate cf-promises.
1516 (cfengine3-vartypes): Add new "data" type.
1517 (cfengine3--current-word): New function to get current name-like
1518 word or its bounds.
1519 (cfengine3--current-function): New function to look up a CFEngine
1520 function's definition.
1521 (cfengine3-format-function-docstring): New function.
1522 (cfengine3-make-syntax-cache): New function.
1523 (cfengine3-documentation-function): New function: ElDoc glue.
1524 (cfengine3-completion-function): New function: completion glue.
1525 (cfengine3-mode): Set `compile-command',
1526 `eldoc-documentation-function', and add to
1527 `completion-at-point-functions'.
1528
1529 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1532 `tramp-current-connection'.
1533
1534 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1535
1536 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1537 nil/self/true/false with "end of symbol".
1538
1539 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1540
1541 * subr.el (version-regexp-alist): Fix a typo.
1542
1543 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1544
1545 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1546 "en_US.utf8" and "LC_CTYPE" to "".
1547 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1548 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1549
1550 2013-11-15 Leo Liu <sdl.web@gmail.com>
1551
1552 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1553
1554 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * progmodes/gud.el (ctl-x-map):
1557 Remove C-x SPC binding. (Bug#12342)
1558 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1559
1560 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1561
1562 * subr.el (version-regexp-alist):
1563 Recognize hg, svn and darcs versions as snapshot versions.
1564
1565 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1566 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1567 (ruby--encoding-comment-required-p): Extract from
1568 `ruby-mode-set-encoding'.
1569 (ruby-mode-set-encoding): Add the ability to always insert an
1570 utf-8 encoding comment. Fix and simplify coding comment update
1571 logic.
1572
1573 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-gvfs.el (top): Run init code only when
1576 `tramp-gvfs-enabled' is not nil.
1577 (tramp-gvfs-enabled): Check also :system bus.
1578
1579 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 Sync with upstream verilog-mode revision 78e66ba.
1582 * progmodes/verilog-mode.el (verilog-end-of-defun)
1583 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1584 (verilog-get-end-of-defun): Remove unused argument.
1585 (verilog-comment-depth): Remove unused local `e'.
1586 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1587 Don't pass arg to verilog-get-end-of-defun.
1588
1589 2013-11-14 Glenn Morris <rgm@gnu.org>
1590
1591 * obsolete/assoc.el (aget): Prefix dynamic variable.
1592
1593 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1594
1595 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 * widget.el, hfy-cmap.el: Remove bogus package version number.
1598
1599 2013-11-13 Glenn Morris <rgm@gnu.org>
1600
1601 * replace.el (replace-eval-replacement):
1602 Try to give more helpful error message. (Bug#15836)
1603
1604 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1605 (archive-7z-update): Avoid custom type mismatches.
1606
1607 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1608
1609 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1612 address can be empty.
1613
1614 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1615 Accept nil SWITCHES.
1616 (tramp-gvfs-handle-write-region): Implement APPEND.
1617
1618 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1619
1620 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1621 binary "|" operator and closing block args delimiter.
1622 Remove FIXME comment referring to Ruby 1.8-only syntax.
1623 (ruby-smie--implicit-semi-p): Not after "|" operator.
1624 (ruby-smie--closing-pipe-p): New function.
1625 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1626 (ruby-smie-rules): Indent after "|".
1627
1628 2013-11-12 Glenn Morris <rgm@gnu.org>
1629
1630 * ps-print.el (ps-face-attribute-list):
1631 Handle anonymous faces. (Bug#15827)
1632
1633 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1634
1635 * window.el (display-buffer-other-frame): Fix doc-string.
1636 (Bug#15868)
1637
1638 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1641
1642 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1643
1644 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1645 (tramp-sh-handle-file-local-copy): Don't write a message when
1646 saving temporary files.
1647
1648 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1649 both directories are remote.
1650 (tramp-smb-handle-directory-files): Do not return double entries.
1651 Do not expand full file names.
1652 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1653 (tramp-smb-handle-write-region): Implement APPEND.
1654 (tramp-smb-get-stat-capability): Fix a stupid bug.
1655
1656 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1659
1660 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1661
1662 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1663 throwing error over malformed let/let* (bug#15814).
1664
1665 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * iswitchb.el (iswitchb-mode): Mark obsolete.
1668
1669 2013-11-11 Glenn Morris <rgm@gnu.org>
1670
1671 * international/uni-bidi.el, international/uni-category.el:
1672 * international/uni-name.el, international/uni-numeric.el:
1673 Regenerate for Unicode 6.3.0.
1674
1675 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1676
1677 * net/tramp.el (tramp-methods):
1678 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1679 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1680
1681 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1682
1683 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1684 Force highlighting text after Summary keyword in doc face for rpm.
1685
1686 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1687
1688 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1689 available and the word has no wildcards, append one to the grep pattern.
1690 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1691 (ispell-complete-word): Call `ispell-lookup-words' with the value
1692 independent of `ispell-look-p'.
1693
1694 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1697 Not after "||".
1698 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1699 their parent.
1700
1701 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1704 (ruby-font-lock-keywords): Use backquote.
1705
1706 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1707
1708 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1709 (ruby-smie--backward-token): Only consider full-string matches.
1710
1711 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1712
1713 * faces.el (describe-face): Add distant-foreground.
1714
1715 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1716
1717 * progmodes/ruby-mode.el: Improve encoding comment handling.
1718 (ruby-encoding-magic-comment-style): New option.
1719 (ruby-custom-encoding-magic-comment-template): New option.
1720 (ruby--insert-coding-comment, ruby--detect-encoding):
1721 New functions extracted from `ruby-mode-set-encoding'.
1722 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1723 to control the style of the auto-inserted encoding comment.
1724
1725 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1726
1727 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1728 Use `smie-backward-sexp' with token argument.
1729
1730 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1731
1732 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1733 Remove instrumentation code.
1734
1735 2013-11-08 Glenn Morris <rgm@gnu.org>
1736
1737 * progmodes/autoconf.el (autoconf-mode):
1738 Tweak comment-start-skip. (Bug#15822)
1739
1740 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1743 at bobp (bug#15826).
1744 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1745
1746 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1747
1748 * man.el (Man-start-calling): New macro, extracted from
1749 Man-getpage-in-background.
1750 (Man-getpage-in-background): Use it.
1751 (Man-update-manpage): New command.
1752 (Man-mode-map): Bind it.
1753
1754 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1755
1756 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1757 of "and", "or", "&&" and "||".
1758 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1759 argument. Prohibit opening curly brace because it could only be a
1760 block opener in that position.
1761 (ruby-smie--forward-token, ruby-smie--backward-token):
1762 Separate "|" from "&" or "*" going after it. That can happen in block
1763 arguments.
1764 (ruby-smie--indent-to-stmt): New function, seeks the end of
1765 previous statement or beginning of buffer.
1766 (ruby-smie-rules): Use it.
1767 (ruby-smie-rules): Check if there's a ":" before a curly block
1768 opener candidate; if there is, it's a hash.
1769
1770 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1773 (cl--block-wrapper): Fix last accidental change.
1774
1775 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1776
1777 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1778 Instrument, in order to hunt failure on hydra.
1779
1780 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1781
1782 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1783 malformed bindings form (bug#15814).
1784
1785 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1786
1787 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1788 "." compared to " @ ". This incidentally fixes some indentation
1789 examples with "do".
1790 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1791 (ruby-smie-grammar): New tokens: "and" and "or".
1792 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1793 Exclude "and" and "or". Remove "do" in order to work around token
1794 priorities.
1795 (ruby-smie-rules): Add all infix tokens. Handle the case of
1796 beginning-of-buffer.
1797
1798 2013-11-06 Glenn Morris <rgm@gnu.org>
1799
1800 * Makefile.in (setwins_almost, setwins_for_subdirs):
1801 Avoid accidental matches.
1802
1803 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * menu-bar.el (popup-menu): Use key-binding.
1806
1807 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1808
1809 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1810 menus, support also the menus produced by minor modes.
1811 (Bug#15817)
1812
1813 2013-11-06 Leo Liu <sdl.web@gmail.com>
1814
1815 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1816 DISTANCE to bound the search. All uses changed. (Bug#15808)
1817
1818 2013-11-06 Glenn Morris <rgm@gnu.org>
1819
1820 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1821 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1822 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1823
1824 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * electric.el (electric-indent-just-newline): New command.
1827 (electric-indent-mode-map): New keymap.
1828 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1829 Re-add :group which weren't redundant.
1830
1831 * electric.el (electric-indent-local-mode): New minor mode.
1832 (electric-indent-functions-without-reindent): New var.
1833 (electric-indent-post-self-insert-function): Use it.
1834 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1835
1836 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1837
1838 * international/quail.el (quail-help): Be more explicit about the
1839 meaning of the labels shown on the keys. (Bug#15800)
1840
1841 * startup.el (normal-top-level): Load the subdirs.el files before
1842 setting the locale environment. (Bug#15805)
1843
1844 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1847 via arguments so as to get the right ones (bug#15418).
1848
1849 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1850
1851 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1852
1853 Fix problems found while writing a test suite.
1854
1855 * net/tramp-compat.el (tramp-compat-load): New defun.
1856 * net/tramp.el (tramp-handle-load): Use it.
1857
1858 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1859 "(numberp ok-if-already-exists)" correctly.
1860
1861 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1862
1863 * international/characters.el (glyphless-char-display-control):
1864 Add usage note.
1865
1866 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1867
1868 * progmodes/python.el (python-mode):
1869 * progmodes/scheme.el (scheme-mode):
1870 * progmodes/prolog.el (prolog-mode):
1871 * progmodes/ruby-mode.el (ruby-mode):
1872 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1873 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1874
1875 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * rect.el (rectangle--highlight-for-redisplay):
1878 * emacs-lisp/smie.el (smie--next-indent-change):
1879 Use buffer-chars-modified-tick.
1880
1881 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1882
1883 * electric.el (electric-indent-post-self-insert-function):
1884 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1885
1886 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1887
1888 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1889
1890 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1891
1892 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1893 (bug#15786).
1894
1895 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1898
1899 * progmodes/python.el: Fix up last change.
1900 (python-shell--save-temp-file): New function.
1901 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1902 `string' comes from the current buffer.
1903 (python-shell-send-string-no-output): Remove `msg' arg.
1904 (python--use-fake-loc): New var.
1905 (python-shell-buffer-substring): Obey it. Try to compensate for the
1906 extra coding line added by python-shell--save-temp-file.
1907 (python-shell-send-region): Use python-shell--save-temp-file and
1908 python-shell-send-file directly. Add `nomain' argument.
1909 (python-shell-send-buffer): Use python-shell-send-region.
1910 (python-electric-pair-string-delimiter): New function.
1911 (python-mode): Use it.
1912
1913 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1914
1915 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1916 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1917 environment and decoding all of the default-directory's to here
1918 from command-line.
1919 (command-line): Decode also argv[0].
1920
1921 * loadup.el: Error out if default-directory is a multibyte string
1922 when we are dumping.
1923
1924 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1925
1926 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1927
1928 * emacs-lisp/package.el (package-menu-mode)
1929 (package-menu--print-info, package-menu--archive-predicate):
1930 Add Archive column to package list.
1931
1932 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1933
1934 Fix problems found while writing a test suite.
1935
1936 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1937 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1938 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1939 to nil when running original file name handler. Otherwise,
1940 there are problems with constructs like "$$FOO".
1941
1942 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1943 for `localname'.
1944
1945 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1946
1947 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1948
1949 * subr.el (version<, version<=, version=):
1950 Update docstrings with information for snapshot versions.
1951
1952 * helpers.el: New library for misc helper functions.
1953 (hash-table-keys): New function returning a list of hash keys.
1954 (hash-table-values): New function returning a list of hash values.
1955
1956 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1959 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1960
1961 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1962
1963 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1964 checking whether point is after a 1-letter word.
1965
1966 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1967
1968 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1969 Don't infloop when expanding region over `multiline' syntax-type that
1970 begins a line (bug#15778).
1971
1972 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1975 Make it into a proper minor mode.
1976 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1977 (rectangle-mark-mode-map): New keymap.
1978 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1979
1980 2013-11-04 Glenn Morris <rgm@gnu.org>
1981
1982 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1983
1984 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1987 (ruby-smie-rules): Use smie-rule-parent instead.
1988
1989 * emacs-lisp/smie.el (smie-rule-parent): Always call
1990 smie-indent-virtual rather than only for hanging tokens.
1991 (smie--next-indent-change): New helper command.
1992
1993 2013-11-03 Glenn Morris <rgm@gnu.org>
1994
1995 * Makefile.in (abs_srcdir): Remove.
1996 (emacs): Unset EMACSLOADPATH.
1997
1998 2013-11-02 Glenn Morris <rgm@gnu.org>
1999
2000 * Makefile.in (EMACS): Use a relative filename.
2001 (abs_top_builddir): Remove.
2002 (custom-deps, finder-data, autoloads): Use --chdir.
2003
2004 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2005
2006 Use relative filenames in TAGS files.
2007 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2008 (lisptagsfiles4, TAGS): Use relative file names.
2009 (TAGS-LISP): Remove.
2010 (maintainer-clean): No more TAGS-LISP file.
2011
2012 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2013 (lisptagsfiles4): Use absolute filenames again.
2014 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2015 Remove all *loaddefs files, not just the first. Remove esh-groups.
2016 (maintainer-clean): Delete TAGS, TAGS-LISP.
2017
2018 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2019
2020 * emacs-lisp/package.el (package-version-join):
2021 Recognize snapshot versions.
2022
2023 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2024
2025 * subr.el (version-regexp-alist): Add support for snapshot versions.
2026
2027 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2028
2029 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2030 New function, replacement for `smie-rule-parent' for when we want to
2031 skip over our direct parent if it's an assignment token..
2032 (ruby-smie-rules): Use it.
2033
2034 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2037 unconditionally. Remove now unnecessary forward declarations.
2038 Remove XEmacs-specific setup.
2039 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2040 (ruby-font-lock-syntactic-keywords)
2041 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2042 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2043 (ruby-here-doc-end-syntax): Remove.
2044 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2045 defined as function.
2046
2047 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2048
2049 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2050
2051 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2052
2053 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2054 table and abbrev table, `define-derived-mode' does that for us
2055 anyway.
2056
2057 2013-11-01 Glenn Morris <rgm@gnu.org>
2058
2059 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2060 files is atomic for some time, so no parallel compilation issues).
2061
2062 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2063
2064 * faces.el (face-x-resources): Add :distant-foreground.
2065 (region): Use :distant-foreground for gtk and ns.
2066
2067 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2068
2069 Allow multiple bibliographies when BibLaTeX is used rather than
2070 BibTeX.
2071 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2072 (reftex-locate-bibliography-files): Us it.
2073
2074 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2075
2076 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2077 allow comments in pbm files.
2078
2079 * term/w32-win.el (dynamic-library-alist): Support newer versions
2080 of libjpeg starting with v7: look only for the DLL from the
2081 version against which Emacs was built.
2082 Support versions of libpng beyond 1.4.x.
2083 Support libtiff v4.x.
2084
2085 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2086
2087 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2088 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2089 Add property :safe.
2090 (ruby-deep-arglist): Add property :type.
2091
2092 2013-10-31 Glenn Morris <rgm@gnu.org>
2093
2094 * Makefile.in (custom-deps, finder-data): No need to setq the target
2095 variables, we are in the right directory and the defaults work fine.
2096
2097 2013-10-30 Glenn Morris <rgm@gnu.org>
2098
2099 * Makefile.in (autoloads): Do not use abs_lisp.
2100
2101 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2102 `newline' does not respect `standard-output', so use `princ'.
2103
2104 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2105
2106 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2107 * buff-menu.el (Buffer-menu--unmark): New function.
2108 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2109
2110 2013-10-30 Glenn Morris <rgm@gnu.org>
2111
2112 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2113
2114 * emacs-lisp/package.el (lm-homepage): Declare.
2115
2116 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2117 Fix doc typos.
2118
2119 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2120
2121 * Makefile.in (finder-data, autoloads, update-subdirs)
2122 (compile-main, compile-clean, compile-always, bootstrap-clean):
2123 Check return value of cd.
2124 (compile-calc): Remove.
2125
2126 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2129
2130 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2131 (byte-compile-and-folded): New function.
2132 (=, <, >, <=, >=): Use it.
2133
2134 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2135 (path-separator, null-device, buffer-file-coding-system)
2136 (lpr-headers-switches): Check system-type before modifying them.
2137 (find-buffer-file-type-coding-system): Mark obsolete.
2138 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2139 find-file-not-found-set-buffer-file-coding-system.
2140 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2141 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2142 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2143 (w32-direct-print-region-helper, w32-direct-print-region-function)
2144 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2145 * startup.el (normal-top-level-add-subdirs-to-load-path):
2146 * ps-print.el (ps-print-region-function):
2147 * lpr.el (print-region-function): Use new name.
2148
2149 * subr.el (custom-declare-variable-early): Remove function.
2150 (custom-declare-variable-list): Remove var.
2151 (error, user-error): Remove `while' loop.
2152 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2153 (user-emacs-directory-warning, locate-user-emacs-file):
2154 Move to files.el.
2155 * simple.el (read-quoted-char-radix, read-quoted-char):
2156 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2157 Move from subr.el.
2158 * custom.el (custom-declare-variable-list): Don't process
2159 custom-declare-variable-list.
2160
2161 * progmodes/python.el (python-shell-get-buffer): New function.
2162 (python-shell-get-process): Use it.
2163 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2164 Python which encoding was used. Don't split-string since we only care
2165 about the first line. Return the temp-file, if applicable.
2166 (python-shell-send-region): Tell compile.el how to turn locations in
2167 the temp-file into locations in the source buffer.
2168
2169 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * subr.el (undefined): Add missing behavior from the C code for
2172 unbound keys.
2173
2174 * rect.el: Use lexical-binding. Add new rectangular region support.
2175 (rectangle-mark): New command.
2176 (rectangle--region): New var.
2177 (deactivate-mark-hook): Reset rectangle--region.
2178 (rectangle--extract-region, rectangle--insert-for-yank)
2179 (rectangle--highlight-for-redisplay)
2180 (rectangle--unhighlight-for-redisplay): New functions.
2181 (region-extract-function, redisplay-unhighlight-region-function)
2182 (redisplay-highlight-region-function): Use them to handle
2183 rectangular region.
2184 * simple.el (region-extract-function): New var.
2185 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2186 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2187 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2188 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2189 (redisplay-unhighlight-region-function)
2190 (redisplay-highlight-region-function): New vars.
2191 (redisplay--update-region-highlight): New function.
2192 (pre-redisplay-function): Use it.
2193 (exchange-point-and-mark): Don't deactivate the mark before
2194 reactivate-it anyway.
2195 * comint.el (comint-kill-region): Remove yank-handler argument.
2196 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2197 (delete-char): Remove property, since it's now part of their
2198 default behavior.
2199 (self-insert-iso): Remove property since this command doesn't exist.
2200
2201 * emacs-lisp/package.el (package--download-one-archive)
2202 (describe-package-1): Don't query the user about final newline.
2203
2204 2013-10-29 Daniel Colascione <dancol@dancol.org>
2205
2206 * net/tramp.el (tramp-methods): Document new functionality.
2207 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2208 tramp-hostname-checker if method provides one instead of scanning
2209 argument list for "%h" to decide hostname acceptability.
2210
2211 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2214 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2215 Handle COPY-CONTENTS. (Bug#15737)
2216
2217 2013-10-28 Daiki Ueno <ueno@gnu.org>
2218
2219 * epa-file.el
2220 (epa-file-cache-passphrase-for-symmetric-encryption):
2221 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2222
2223 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2224
2225 * image.el (defimage):
2226 (image-load-path): Doc fixes.
2227
2228 2013-10-27 Alan Mackenzie <acm@muc.de>
2229
2230 Indent statements in macros following "##" correctly.
2231 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2232 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2233
2234 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2235
2236 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2237
2238 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2239
2240 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2241 after `=' is probably a new expression.
2242
2243 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2244
2245 * man.el (man-imenu-title): New option.
2246 (Man-mode-map): Add menu. (Bug#15722)
2247 (Man-mode): Add imenu to menu.
2248
2249 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2252 specific in what the first arg can be: a non-keyword word,
2253 string/regexp/percent literal opener, opening paren, or unary
2254 operator followed directly by word.
2255
2256 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2259 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2260 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2261 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2262 Remove vars, they do not apply any more.
2263 (prolog-mode-abbrev-table): Remove redundant declaration.
2264 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2265 (prolog-use-smie): Remove.
2266 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2267 supported by prolog-electric-if-then-else-flag.
2268 (prolog-mode-variables, prolog-menu): Use setq-local.
2269 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2270 Remove binding to `Backspace' since this key doesn't exist anyway.
2271 Remove bindings for electric self-inserting keys.
2272 (prog-mode): Assume it's defined.
2273 (prolog-post-self-insert): New function.
2274 (prolog-mode): Use it.
2275 (prolog-indent-line, prolog-indent-level)
2276 (prolog-find-indent-of-matching-paren)
2277 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2278 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2279 (prolog-goto-next-paren, prolog-in-string-or-comment)
2280 (prolog-tokenize, prolog-inside-mline-comment)
2281 (prolog-find-start-of-mline-comment): Remove functions.
2282 (prolog-find-unmatched-paren, prolog-clause-end)
2283 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2284 (prolog-electric--if-then-else): Rename from
2285 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2286 (prolog-tokenize-searchkey): Remove const.
2287 (prolog-clause-info): Use forward-sexp.
2288 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2289 (prolog-electric-if-then-else): Remove commands.
2290 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2291 for use in post-self-insert-hook.
2292 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2293 for use in post-self-insert-hook.
2294 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2295 for use in post-self-insert-hook.
2296 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2297 adapt it for use in post-self-insert-hook.
2298
2299 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * emacs-lisp/ert.el (ert-run-tests-interactively):
2302 Use `completing-read'. (Bug#9756)
2303
2304 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2305
2306 * simple.el (line-move): Call line-move-1 instead of
2307 line-move-visual when the current window hscroll is zero, but
2308 temporary-goal-column indicates we will need to hscroll as result
2309 of the movement. (Bug#15712)
2310
2311 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2312
2313 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2314 capitalization. Use :visible instead of :active.
2315 Fix `ruby-indent-exp' reference. Add menu items for the generic
2316 commands that are used with SMIE.
2317 (ruby-do-end-to-brace): Insert space after `{'.
2318
2319 2013-10-25 John Anthony <john@jo.hnanthony.com>
2320
2321 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2322
2323 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2324
2325 2013-10-25 Glenn Morris <rgm@gnu.org>
2326
2327 * vc/vc.el (vc-print-log): Don't use a working revision unless
2328 one was explicitly specified. (Bug#15322)
2329
2330 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * subr.el (add-to-list): Preserve return value in compiler-macro
2333 (bug#15692).
2334
2335 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2336
2337 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2338 result. Ask user to retry using '-all' flag. (Bug#15701)
2339
2340 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * emacs-lisp/smie.el: New smie-config system.
2343 (smie-config): New defcustom.
2344 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2345 (smie-config-guess, smie-config-save): New commands.
2346 (smie-config--mode-local, smie-config--buffer-local)
2347 (smie-config--trace, smie-config--modefuns): New vars.
2348 (smie-config--advice, smie-config--mode-hook)
2349 (smie-config--setter, smie-config-local, smie-config--get-trace)
2350 (smie-config--guess-value, smie-config--guess): New functions.
2351 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2352 text properties. Treat "string fence" syntax like string syntax.
2353
2354 * progmodes/sh-script.el (sh-use-smie): Change default.
2355 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2356 (sh-var-value): Simplify by CSE.
2357 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2358 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2359 is used.
2360 (sh-guess-basic-offset): Use cl-incf.
2361 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2362
2363 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2364
2365 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2366 (bug#15699).
2367
2368 2013-10-24 Glenn Morris <rgm@gnu.org>
2369
2370 * Makefile.in (abs_top_srcdir): Remove.
2371 (update-subdirs): Use relative path to update-subdirs.
2372
2373 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2374
2375 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2376 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2377 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2378 Call unmsys--file-name before expand-file-name, not after it.
2379
2380 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2381
2382 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2383 (ert-test-skipped): New error.
2384 (ert-skip, ert-stats-skipped): New defuns.
2385 (ert--skip-unless): New macro.
2386 (ert-test-skipped): New struct.
2387 (ert--run-test-debugger, ert-test-result-type-p)
2388 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2389 (ert--stats-set-test-and-result, ert-char-for-test-result)
2390 (ert-string-for-test-result, ert-run-tests-batch)
2391 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2392 Handle skipped tests. (Bug#9803)
2393
2394 2013-10-24 Glenn Morris <rgm@gnu.org>
2395
2396 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2397
2398 * Makefile.in (abs_top_srcdir): New, set by configure.
2399 (update-subdirs): Correct build-aux location.
2400
2401 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2402
2403 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2404 value, whether we could auto-deduce `backend', or not.
2405
2406 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2407 with parameters" example. Simplify the "is it block or is it
2408 hash" check, but also make it more thorough.
2409
2410 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2411
2412 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2413
2414 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2417 { if it is hanging.
2418
2419 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2420 :before ";".
2421
2422 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2423
2424 * progmodes/compile.el (compilation-directory-matcher)
2425 (compilation-page-delimiter):
2426 Support GNU Make-4.0 directory quoting. (Bug#15678)
2427
2428 2013-10-23 Leo Liu <sdl.web@gmail.com>
2429
2430 * ido.el (ido-tidy): Handle read-only text.
2431
2432 2013-10-23 Glenn Morris <rgm@gnu.org>
2433
2434 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2435 (emacs, compile, compile-always):
2436 Quote entities that might contain whitespace.
2437 (custom-deps, finder-data, autoloads): Use abs_lisp.
2438 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2439 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2440 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2441
2442 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2443
2444 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2445 Use `following-char'.
2446
2447 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2450 * progmodes/ruby-mode.el (ruby-smie-rules):
2451 Remove corresponding workaround. Fix indentation rule of ";" so it
2452 also applies when ";" is the parent.
2453
2454 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2455
2456 * frame.el (display-screens, display-pixel-height)
2457 (display-pixel-width, display-mm-width, display-backing-store)
2458 (display-save-under, display-planes, display-color-cells)
2459 (display-visual-class, display-monitor-attributes-list):
2460 Mention the optional ‘display’ argument in doc strings.
2461
2462 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2463
2464 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2465 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2466
2467 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2468
2469 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2470 TODO. Add "." after " @ ".
2471 (ruby-smie--at-dot-call): New function. Checks if point at method
2472 call with explicit target.
2473 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2474 to the method name tokens when it precedes them.
2475 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2476 (ruby-smie-rules): Add rule for indentation before and after "."
2477 token.
2478
2479 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * textmodes/remember.el (remember-diary-extract-entries):
2482 Avoid add-to-list.
2483
2484 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2485 an instruction.
2486
2487 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2488
2489 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2490 (ruby-smie--implicit-semi-p): Add new operator chars.
2491
2492 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2493 `smie-down-list'.
2494 (ruby-smie--args-separator-p): Check that there's no newline
2495 between method call and its arguments.
2496
2497 2013-10-20 Alan Mackenzie <acm@muc.de>
2498
2499 Allow comma separated lists after Java "implements".
2500
2501 * progmodes/cc-engine.el (c-backward-over-enum-header):
2502 Parse commas.
2503 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2504 from a "disallowed" list in enum fontification.
2505
2506 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2507
2508 * startup.el (default-frame-background-mode): Remove unused defvar.
2509
2510 * progmodes/verilog-mode.el (verilog-mode): Don't set
2511 comment-indent-function globally.
2512
2513 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2514
2515 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2516 Move Info menu item creation to ns-win.el.
2517
2518 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2519 in menu bar.
2520
2521 * menu-bar.el: Move GNUStep specific menus...
2522
2523 * term/ns-win.el (ns-initialize-window-system): ... to here.
2524
2525 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * simple.el (newline): Only run post-self-insert-hook when
2528 called interactively.
2529
2530 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2531
2532 * icomplete.el (icomplete-with-completion-tables): Add :version.
2533
2534 2013-10-19 Alan Mackenzie <acm@muc.de>
2535
2536 Fix fontification bugs with constructors and const.
2537
2538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2539 CASE 2) Remove the check for the absence of a suffix construct
2540 after a function declaration with only types (no identifiers) in
2541 the parentheses. Also, accept a function declaration with just a
2542 type inside the parentheses, if this type can be positively
2543 recognised as such, or if a prefix keyword like "explicit" nails
2544 down the construct as a declaration.
2545
2546 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2547
2548 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2549 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2550 the problem whereby selecting a menu item that leads to a
2551 minibuffer prompt moves the cursor out of the minibuffer window,
2552 making it hard to type at the prompt. Suggested by Stefan Monnier
2553 <monnier@iro.umontreal.ca>.
2554
2555 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2556
2557 * menu-bar.el: Don't make Services menu.
2558
2559 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2560
2561 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2562 (ffap-alist): Use ffap-c++-mode for c++-mode.
2563 (ffap-c++-path): New variable.
2564 (ffap-c++-mode): New function.
2565
2566 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2567
2568 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2569
2570 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2573 introduced on 2013-09-08, which results in an infinite loop
2574 requesting a password.
2575
2576 2013-10-18 Glenn Morris <rgm@gnu.org>
2577
2578 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2579
2580 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2581
2582 Sync with upstream verilog-mode revision 1a6ecec7.
2583 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2584 (verilog-mode-release-date): Remove.
2585 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2586 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2587 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2588 (verilog-auto-tieoff-ignore-regexp)
2589 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2590 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2591 (verilog-signals-with, verilog-dir-cache-preserving)
2592 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2593 Doc fixes.
2594 (verilog-case-fold): New option, to control case folding in
2595 regexp searches, bug597.
2596 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2597 (verilog-string-match-fold, verilog-in-paren-count)
2598 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2599 (verilog-at-close-struct-p): New functions.
2600 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2601 (verilog-forward-sexp, verilog-set-auto-endcomments):
2602 (verilog-leap-to-case-head): Handle "unique0" case.
2603 (verilog-in-constraint-re): New constant.
2604 (verilog-keywords, verilog-type-font-keywords):
2605 Add some SystemVerilog 1800-2012 keywords.
2606 (verilog-label-be): Remove unimplemented argument, bug669.
2607 (verilog-batch-execute-func): When batch expanding clear
2608 create-lockfiles to prevent spurious user locks when a file ends
2609 up not changing.
2610 (verilog-calculate-indent, verilog-calc-1)
2611 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2612 (verilog-do-indent): Fix indentation of nested constraints
2613 and structures.
2614 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2615 (verilog-auto-inst-param): Use verilog-string-match-fold.
2616 (verilog-read-inst-module-matcher):
2617 Fix AUTOINST on gate primitives with #1.
2618 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2619 Reads all user-defined typed variables.
2620 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2621 (verilog-signals-matching-regexp)
2622 (verilog-signals-not-matching-regexp, verilog-auto):
2623 Respect verilog-case-fold.
2624 (verilog-diff-report): Fix line count.
2625 (verilog-auto-assign-modport): Remove unused local `modi'.
2626 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2627 better handle multidimensional arrays.
2628 Fix packed array ports misadding bit index in AUTOINST, bug637.
2629 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2630 to not double-declare existing outputs and inputs, respectively.
2631 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2632 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2633 (verilog-sk-uvm-component): New skeleton.
2634 (verilog-submit-bug-report): Add verilog-case-fold,
2635 remove verilog-mode-release-date.
2636
2637 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2638
2639 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2640 as before.
2641
2642 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2643
2644 * textmodes/remember.el (remember): set buffer-offer-save in
2645 remember buffers (bug#13566).
2646
2647 2013-10-18 Daniel Colascione <dancol@dancol.org>
2648
2649 When evaluating forms in ielm, direct standard output to ielm
2650 buffer. Add new ielm-return-for-effect command. Remove trailing
2651 whitespace throughout.
2652
2653 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2654 (ielm-return-for-effect): New command.
2655 (ielm-send-input): Accept optional `for-effect' parameter.
2656 (ielm-eval-input): Accept optional `for-effect' parameter.
2657 Bind `standard-output' to stream we create using
2658 `ielm-standard-output-impl'. Suppress printing result when
2659 `for-effect'.
2660 (ielm-standard-output-impl): New function.
2661 (inferior-emacs-lisp-mode): Explain new features in documentation.
2662
2663 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2664
2665 Code cleanup.
2666
2667 * net/tramp.el (tramp-debug-message): Do not check for connection
2668 buffer.
2669 (tramp-message): Use "vector" connection property.
2670
2671 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2672 (tramp-equal-remote, tramp-eshell-directory-change)
2673 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2674 (tramp-adb-handle-rename-file)
2675 * net/tramp-cmds.el (tramp-list-remote-buffers)
2676 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2677 * net/tramp-compat.el (tramp-compat-process-running-p)
2678 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2679 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2680 (tramp-gvfs-handle-rename-file)
2681 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2682 (tramp-set-file-uid-gid)
2683 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2684 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2685 of `file-remote-p'.
2686
2687 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2688 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2689 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2690 (tramp-gw-open-network-stream): Suppress unrelated traces.
2691
2692 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2693 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2694 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2695 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2696 connection property.
2697
2698 * net/tramp-cache.el (top): Suppress traces when reading
2699 persistency file.
2700
2701 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2702 Refactor common code. Improve debug message.
2703 (tramp-maybe-open-connection)
2704 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2705 connection buffer too early.
2706
2707 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2708 from `tramp-smb-actions-with-acl'.
2709 (tramp-smb-actions-set-acl): New defconst.
2710 (tramp-smb-handle-copy-directory)
2711 (tramp-smb-action-get-acl): New defun, renamed from
2712 `tramp-smb-action-with-acl'.
2713 (tramp-smb-action-set-acl): New defun.
2714 (tramp-smb-handle-set-file-acl): Rewrite.
2715
2716 2013-10-17 Glenn Morris <rgm@gnu.org>
2717
2718 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2719
2720 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * skeleton.el (skeleton-newline): Remove.
2723 (skeleton-internal-1): Use (insert "\n") instead.
2724
2725 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2726 let-bindings.
2727
2728 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2729 forward-sexp-function while we redo its job (bug#15613).
2730
2731 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2732
2733 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2734 represented by lists.
2735
2736 2013-10-16 Glenn Morris <rgm@gnu.org>
2737
2738 * tmm.el (tmm--history): New dynamic variable.
2739 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2740
2741 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2742
2743 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2744 (tramp-smb-errors): Add error messages.
2745 (tramp-smb-actions-with-acl): New defconst.
2746 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2747 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2748 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2749 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2750 (tramp-smb-get-stat-capability): Fix tests.
2751
2752 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2753
2754 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2755 (bug#15580).
2756
2757 2013-10-16 Glenn Morris <rgm@gnu.org>
2758
2759 * ansi-color.el (ansi-color-drop-regexp):
2760 Add 1J, 1K, 2K. (Bug#15617)
2761
2762 * files.el (hack-local-variables--warned-lexical): New.
2763 (hack-local-variables):
2764 Warn about misplaced lexical-binding. (Bug#15616)
2765
2766 * net/eww.el (eww-render): Always set eww-current-url,
2767 and update header line. (Bug#15622)
2768 (eww-display-html): ... Rather than just doing it here.
2769
2770 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2771
2772 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2773 menu navigations commands.
2774
2775 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2776
2777 * progmodes/subword.el (subword-capitalize): Be careful when
2778 the search for [[:alpha:]] fails (bug#15580).
2779
2780 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2781
2782 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2783 to commands that scroll the menu.
2784
2785 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2786
2787 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2788 Handle methods ending with `?' and `!'.
2789
2790 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2791
2792 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2793 `japanese-cp932' to `cp932' to fix the problem where saving a
2794 source file written in Shift_JIS twice would end up having
2795 `coding: japanese-cp932' which Ruby could not recognize.
2796 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2797 in `ruby-encoding-map'.
2798 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2799 doesn't need to be explicitly declared in magic comment.
2800 (ruby-encoding-map): Add type declaration for better customize UI.
2801
2802 2013-10-13 Glenn Morris <rgm@gnu.org>
2803
2804 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2805 Occur buffers are read-only. http://bugs.debian.org/720775
2806
2807 * emacs-lisp/authors.el (authors-fixed-entries):
2808 Comment out old alpha stuff.
2809
2810 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2813 to `after-save-hook' instead of `before-save-hook'.
2814 (ruby-mode-set-encoding): Use the value of coding system used to
2815 write the file. Call `basic-save-buffer-1' after modifying the
2816 buffer.
2817
2818 2013-10-13 Alan Mackenzie <acm@muc.de>
2819
2820 Fix indentation/fontification of Java enum with
2821 "implements"/generic.
2822
2823 * progmodes/cc-engine.el (c-backward-over-enum-header):
2824 Extracted from the three other places and enhanced to handle generics.
2825 (c-inside-bracelist-p): Uses new function above.
2826 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2827 function above.
2828 (c-font-lock-enum-tail): Uses new function above.
2829
2830 2013-10-13 Kenichi Handa <handa@gnu.org>
2831
2832 * international/mule-cmds.el (select-safe-coding-system): Remove a
2833 superfluous condition in chekcing whether a coding system is safe
2834 or not.
2835
2836 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2837
2838 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2839
2840 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2841
2842 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2843
2844 2013-10-13 Glenn Morris <rgm@gnu.org>
2845
2846 * menu-bar.el (menu-bar-update-buffers):
2847 Unify Buffers menu prompt string. (Bug#15576)
2848
2849 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2850
2851 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2852 Add some entries.
2853 (authors-fixed-entries): Use accented form of name.
2854
2855 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2858 method calls (bug#15594).
2859 (ruby-smie--args-separator-p): New function.
2860 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2861 recognize paren-free method calls.
2862
2863 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2864 internals of universal-argument.
2865
2866 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2867
2868 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2869 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2870 dropped menu on second mouse click on the menu bar.
2871
2872 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2875 (explicit-shell-file-name): Declare.
2876 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2877 (sh-completion-at-point-function): New function.
2878 (sh-mode): Use it.
2879 (sh-smie--keyword-p): Remove unused argument.
2880 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2881 vars.
2882 (sh-set-shell): Always setup SMIE, even if we use the
2883 old indentation code.
2884
2885 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2886
2887 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2888 cases of ? and =.
2889 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2890 predicate would return nil are almost non-existent.
2891 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2892
2893 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2894 cache also after commands that modify the buffer but don't move
2895 point.
2896
2897 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * env.el (substitute-env-in-file-name): New function.
2900 (substitute-env-vars): Extend the meaning of the optional arg.
2901
2902 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2903
2904 * term/w32-win.el (dynamic-library-alist): Define separate lists
2905 of GIF DLLs for versions before and after 5.0.0 of giflib.
2906 (Bug#15531)
2907
2908 2013-10-10 João Távora <joaotavora@gmail.com>
2909
2910 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2911 not locked, use last revision and current source as
2912 defaults. (Bug#15569)
2913
2914 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2915
2916 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2917 menu-bar is hidden.
2918
2919 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2920
2921 * window.el (pop-to-buffer-same-window): Fix doc-string.
2922 (Bug#15492)
2923
2924 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2927
2928 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2929
2930 * calendar/icalendar.el (icalendar-import-file):
2931 Fix interactive spec. (Bug#15482)
2932
2933 2013-10-10 Glenn Morris <rgm@gnu.org>
2934
2935 * desktop.el (desktop-save): Default to saving in .emacs.d,
2936 since PWD is no longer in desktop-path by default. (Bug#15319)
2937
2938 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2939 now that text mode has a menu with the same entry.
2940 (menu-bar-text-mode-auto-fill): Remove now unused func.
2941 * textmodes/text-mode.el (text-mode-map):
2942 Use auto-fill help text from menu-bar.el.
2943
2944 2013-10-10 John Anthony <john@jo.hnanthony.com>
2945
2946 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2947
2948 2013-10-09 Juri Linkov <juri@jurta.org>
2949
2950 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2951 instead of this-command-keys. Add universal-argument-more and
2952 universal-argument-minus to the list of prefix commands. (Bug#15568)
2953
2954 2013-10-09 Glenn Morris <rgm@gnu.org>
2955
2956 * vc/vc-svn.el (vc-svn-create-repo):
2957 Expand paths in file://... url. (Bug#15446)
2958
2959 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2960 Add some entries.
2961 (authors): Remove unused local variables.
2962
2963 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * profiler.el: Create a more coherent calltree from partial backtraces.
2966 (profiler-format): Hide the tail with `invisible' so that C-s can still
2967 find the hidden elements.
2968 (profiler-calltree-depth): Don't recurse so enthusiastically.
2969 (profiler-function-equal): New hash-table-test.
2970 (profiler-calltree-build-unified): New function.
2971 (profiler-calltree-build): Use it.
2972 (profiler-report-make-name-part): Indent the calltree less.
2973 (profiler-report-mode): Add visibility specs for profiler-format.
2974 (profiler-report-expand-entry, profiler-report-toggle-entry):
2975 Expand the whole subtree when provided with a prefix arg.
2976
2977 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2978
2979 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2980 iuwu-mod token.
2981 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2982 hanging iuwu-mod token.
2983 (ruby-smie--forward-token): Do not include a dot after a token in
2984 that token.
2985 (ruby-smie--backward-token): Likewise.
2986
2987 2013-10-08 Juri Linkov <juri@jurta.org>
2988
2989 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2990 to isearch-other-control-char.
2991 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2992 and isearch-post-command-hook to post-command-hook.
2993 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2994 and isearch-post-command-hook from post-command-hook.
2995 (isearch-unread-key-sequence)
2996 (isearch-reread-key-sequence-naturally)
2997 (isearch-lookup-scroll-key, isearch-other-control-char)
2998 (isearch-other-meta-char): Remove functions.
2999 (isearch-pre-command-hook, isearch-post-command-hook):
3000 New functions based on isearch-other-meta-char rewritten
3001 relying on the new behavior of overriding-terminal-local-map
3002 that does not replace the local keymaps any more. (Bug#15200)
3003
3004 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3005
3006 Support menus on text-mode terminals.
3007 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3008 functionality.
3009
3010 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3011
3012 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3013 Move here from mouse.el.
3014 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3015 and arrow keys.
3016 (tty-menu-navigation-map): New map for TTY menu navigation.
3017
3018 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3019
3020 * frame.el (display-mouse-p): Report text-mode mouse as available
3021 on w32.
3022 (display-popup-menus-p): Report availability if mouse is
3023 available; don't condition on window-system.
3024
3025 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3026 (tty-menu-selected-face): New faces.
3027
3028 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3031 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3032 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3033 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3034 New constants.
3035 (lisp-mode-variables): New `elisp' argument.
3036 (emacs-lisp-mode): Use it.
3037 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3038 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3039
3040 * indent.el: Use lexical-binding.
3041 (indent-region): Add progress reporter.
3042 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3043 last step.
3044 (indent--next-tab-stop): New function to implement this behavior.
3045 (tab-to-tab-stop, move-to-tab-stop): Use it.
3046
3047 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3048
3049 * indent.el (indent-rigidly--current-indentation): New function.
3050 (indent-rigidly-map): New var.
3051 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3052
3053 2013-10-08 Bastien Guerry <bzg@gnu.org>
3054
3055 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3056
3057 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * progmodes/perl-mode.el: Use lexical-binding.
3060 Remove redundant :group args.
3061 (perl-nochange): Change default to be closer to other major modes's
3062 standard behavior.
3063 (perl-indent-line): Don't consider text on current line as a
3064 valid beginning of function from which to indent.
3065
3066 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3067 with more than one argument (bug#15538).
3068
3069 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3070
3071 * vc/pcvs.el: Use lexical-binding.
3072 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3073 environment of `eval'.
3074 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3075 than a list of expressions. Adjust callers.
3076 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3077
3078 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3079
3080 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3081 case of the dot in a chained method call being on the following line.
3082
3083 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * electric.el (electric-indent-inhibit): New var.
3086 (electric-indent-post-self-insert-function): Use it.
3087 * progmodes/python.el (python-mode): Set it.
3088
3089 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3090 open braces.
3091
3092 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3093
3094 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3095 (css-mode): Use electric-indent-chars.
3096
3097 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3098 (font-lock-beg, font-lock-end): Move before first use.
3099 (nxml-mode): Use syntax-propertize-function.
3100 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3101 (nxml-extend-after-change-region): Remove.
3102 * nxml/xmltok.el: Use lexical-binding.
3103 (xmltok-save): Use `declare'.
3104 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3105 * nxml/nxml-util.el: Use lexical-binding.
3106 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3107 Use `declare'.
3108 * nxml/nxml-ns.el: Use lexical-binding.
3109 (nxml-ns-save): Use `declare'.
3110 (nxml-ns-prefixes-for): Avoid add-to-list.
3111 * nxml/rng-match.el: Use lexical-binding.
3112 (rng--ipattern): Use cl-defstruct.
3113 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3114 (rng-cons-group-after, rng-subst-group-after)
3115 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3116 Use closures instead of `(lambda...).
3117
3118 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3119
3120 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3121 of BEG and END.
3122
3123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3124 Use `tramp-handle-insert-file-contents'.
3125 (tramp-gvfs-handle-insert-file-contents): Remove function.
3126
3127 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3128 Use `save-restriction' in order to keep markers.
3129
3130 * net/trampver.el: Update release number.
3131
3132 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * progmodes/compile.el (compilation-parse-errors):
3135 Use compilation--put-prop.
3136 (compilation--ensure-parse): Check compilation-multiline.
3137
3138 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3139
3140 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3141 lexical-binding.
3142
3143 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3144
3145 * progmodes/ruby-mode.el: Fix recently added tests.
3146 (ruby-smie-grammar): Add - and +.
3147 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3148 (ruby-smie--backward-id): New functions.
3149 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3150 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3151 any more.
3152
3153 2013-10-07 Leo Liu <sdl.web@gmail.com>
3154
3155 * register.el (register-preview-delay)
3156 (register-preview-functions): New variables.
3157 (register-read-with-preview, register-preview)
3158 (register-describe-oneline): New functions.
3159 (point-to-register, window-configuration-to-register)
3160 (frame-configuration-to-register, jump-to-register)
3161 (number-to-register, view-register, insert-register)
3162 (copy-to-register, append-to-register, prepend-to-register)
3163 (copy-rectangle-to-register): Use register-read-with-preview to
3164 read register. (Bug#15525)
3165
3166 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3167
3168 * net/network-stream.el (network-stream-open-starttls): Don't add
3169 --insecure if it's already present, because that gnutls-cli
3170 rejects getting that parameter twice.
3171
3172 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3173
3174 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3175 keyword, too.
3176
3177 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3178
3179 * newcomment.el (comment-use-global-state): Change default value
3180 to t, mark obsolete (Bug#15251).
3181 (comment-beginning): In addition to `comment-to-syntax', check the
3182 value of `comment-use-global-state'.
3183
3184 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3187 (ruby-comment-column): Follow the global default, by default.
3188 (ruby-smie-grammar): Add assignment syntax.
3189 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3190 open-paren, a comma, or a \.
3191 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3192 and line continuations.
3193 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3194 followed by implicit semi-colons. Add rule for string concatenation
3195 and for indentation at BOB.
3196 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3197
3198 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3199 calling next-sexp, since next-token may have skipped chars which
3200 next-sexp doesn't know should be skipped!
3201
3202 2013-10-05 Leo Liu <sdl.web@gmail.com>
3203
3204 * progmodes/octave.el (octave-send-region):
3205 Call compilation-forget-errors.
3206
3207 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3208
3209 * vc/vc-svn.el (vc-svn-find-admin-dir):
3210 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3211 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3212 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3213 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3214
3215 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3218
3219 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * subr.el (read-passwd): Hide chars even when called within a context
3222 where after-change-functions is disabled (bug#15501).
3223 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3224 until we removed ourself from overriding-terminal-local-map.
3225
3226 2013-10-04 Leo Liu <sdl.web@gmail.com>
3227
3228 * progmodes/octave.el (inferior-octave-mode):
3229 Call compilation-forget-errors.
3230
3231 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3232
3233 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3234
3235 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * net/secrets.el (secrets-create-collection): Add optional
3238 argument ALIAS. Use proper Label keyword. Append ALIAS as
3239 dbus-call-method argument. (Bug#15516)
3240
3241 2013-10-04 Leo Liu <sdl.web@gmail.com>
3242
3243 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3244 (inferior-octave-compilation-font-lock-keywords): New variables.
3245 (compilation-error-regexp-alist)
3246 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3247 (inferior-octave-mode): Use compilation-shell-minor-mode.
3248
3249 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3250
3251 * minibuffer.el (completion--replace): Be careful that `end' might be
3252 a marker.
3253
3254 2013-10-03 Daiki Ueno <ueno@gnu.org>
3255
3256 Add support for package signature checking.
3257 * emacs-lisp/package.el (url-http-file-exists-p)
3258 (epg-make-context, epg-context-set-home-directory)
3259 (epg-verify-string, epg-context-result-for)
3260 (epg-signature-status, epg-signature-to-string)
3261 (epg-check-configuration, epg-configuration)
3262 (epg-import-keys-from-file): Declare.
3263 (package-check-signature): New user option.
3264 (package-unsigned-archives): New user option.
3265 (package-desc): Add `signed' field.
3266 (package-load-descriptor): Set `signed' field if .signed file exists.
3267 (package--archive-file-exists-p): New function.
3268 (package--check-signature): New function.
3269 (package-install-from-archive): Check package signature.
3270 (package--download-one-archive): Check archive signature.
3271 (package-delete): Remove .signed file.
3272 (package-import-keyring): New command.
3273 (package-refresh-contents): Import default keyring.
3274 (package-desc-status): Add "unsigned" status.
3275 (describe-package-1, package-menu--print-info)
3276 (package-menu-mark-delete, package-menu--find-upgrades)
3277 (package-menu--status-predicate): Support "unsigned" status.
3278
3279 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3282 the new compilation scheme using the new byte-codes.
3283
3284 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3285 (byte-pophandler): New byte codes.
3286 (byte-goto-ops): Adjust accordingly.
3287 (byte-compile--use-old-handlers): New var.
3288 (byte-compile-catch): Use new byte codes depending on
3289 byte-compile--use-old-handlers.
3290 (byte-compile-condition-case--old): Rename from
3291 byte-compile-condition-case.
3292 (byte-compile-condition-case--new): New function.
3293 (byte-compile-condition-case): New function that dispatches depending
3294 on byte-compile--use-old-handlers.
3295 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3296 when we can.
3297
3298 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3299 Optimize under `condition-case' and `catch' if
3300 byte-compile--use-old-handlers is nil.
3301 (disassemble-offset): Handle new bytecodes.
3302
3303 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * subr.el (error): Use `declare'.
3306 (decode-char, encode-char): Use advertised-calling-convention instead
3307 of the docstring to discourage use of the `restriction' arg.
3308
3309 2013-10-03 Daiki Ueno <ueno@gnu.org>
3310
3311 * epg.el (epg-verify-file): Add a comment saying that it does not
3312 notify verification error as a return value nor a signal.
3313 (epg-verify-string): Ditto.
3314
3315 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3316
3317 * progmodes/compile.el (compilation-start): Try globbing the arg to
3318 `cd' (bug#15417).
3319
3320 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3321
3322 Sync with Tramp 2.2.8.
3323
3324 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3325 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3326 * net/trampver.el: Update release number.
3327
3328 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3329
3330 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3331 and default-process-coding-system for darwin only.
3332
3333 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3336
3337 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3338
3339 * vc/vc-git.el (vc-git-grep): Disable pager.
3340
3341 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3344 Use :url instead of :homepage, as per
3345 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3346
3347 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3348 non-nil, use `syntax-ppss' (Bug#15251).
3349
3350 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3351
3352 * progmodes/octave.el (inferior-octave-startup-file):
3353 Prefer ~/.emacs.d/init_octave.m.
3354
3355 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * emacs-lisp/package.el (package-desc-from-define):
3358 Accept additional arguments as plist, convert them to an alist and store
3359 them in the `extras' slot.
3360 (package-generate-description-file): Convert extras alist back to
3361 plist and append to the `define-package' form arguments.
3362 (package--alist-to-plist): New function.
3363 (package--ac-desc): Add `extras' slot.
3364 (package--add-to-archive-contents): Check if the archive-contents
3365 vector is long enough, and if it is, pass its `extras' slot value
3366 to `package-desc-create'.
3367 (package-buffer-info): Call `lm-homepage', pass the returned value
3368 to `package-desc-from-define'.
3369 (describe-package-1): Render the homepage button (Bug#13291).
3370
3371 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3372 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3373
3374 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3375
3376 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3377 and default-process-coding-system to utf-8-unix (Bug#15402).
3378
3379 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3380
3381 * subr.el (looking-back): Do not recommend using looking-back.
3382
3383 2013-09-28 Alan Mackenzie <acm@muc.de>
3384
3385 Fix indentation/fontification of Java enum with "implements".
3386
3387 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3388 regexp which matches "implements", etc., in Java.
3389 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3390 specifier clauses coming after "enum".
3391 * progmodes/cc-fonts.el (c-font-lock-declarations)
3392 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3393 after "enum".
3394
3395 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3396
3397 * faces.el (region): Change ns_selection_color to
3398 ns_selection_fg_color, add ns_selection_bg_color.
3399
3400 2013-09-28 Leo Liu <sdl.web@gmail.com>
3401
3402 * progmodes/octave.el (inferior-octave-completion-table)
3403 (inferior-octave-completion-at-point): Minor tweaks.
3404
3405 * textmodes/ispell.el (ispell-lookup-words): Rename from
3406 lookup-words. (Bug#15460)
3407 (lookup-words): Obsolete.
3408 (ispell-complete-word, ispell-command-loop): All uses changed.
3409
3410 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3411
3412 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3413 (octave-mode-menu): Add octave-send-buffer.
3414 (octave-send-buffer): New function.
3415
3416 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3417
3418 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3419 octave-lookfor.
3420 (octave-mode-menu): Add octave-lookfor.
3421 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3422 octave-lookfor.
3423 (octave-lookfor): New function.
3424
3425 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * emacs-lisp/cl-macs.el:
3428 (cl--loop-destr-temps): Remove.
3429 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3430 its convention.
3431 (cl--loop-set-iterator-function): New function.
3432 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3433 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3434 Bind `it' with `let' instead of substituting it with `cl-subst'.
3435 (cl--unused-var-p): New function.
3436 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3437 Eliminate some unused variable warnings (bug#15326).
3438
3439 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3440
3441 * doc-view.el (doc-view-scale-reset): Rename from
3442 `doc-view-reset-zoom-level'.
3443 (doc-view-scale-adjust): New command.
3444 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3445 `doc-view-scale-adjust'.
3446
3447 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3448
3449 * doc-view.el (doc-view-reset-zoom-level): New command.
3450 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3451 zoom commands (bug#15466).
3452
3453 2013-09-26 Kenichi Handa <handa@gnu.org>
3454
3455 * international/quail.el (quail-help): Make it not a command.
3456
3457 2013-09-26 Leo Liu <sdl.web@gmail.com>
3458
3459 * minibuffer.el (completion-all-sorted-completions): Make args
3460 optional as they are.
3461
3462 2013-09-25 Daniel Colascione <dancol@dancol.org>
3463
3464 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3465 specs are and that they're not evaluated.
3466
3467 2013-09-24 Sam Steingold <sds@gnu.org>
3468
3469 * midnight.el (clean-buffer-list-kill-regexps)
3470 (clean-buffer-list-kill-buffer-names): Update for the new Man
3471 buffer naming which includes the object name.
3472
3473 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3476 (eshell-parse-command, eshell-parse-pipeline): Use it since
3477 eshell-separate-commands requires a dynamic scoped var.
3478 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3479
3480 2013-09-23 Leo Liu <sdl.web@gmail.com>
3481
3482 * autoinsert.el (auto-insert-alist): Make the value of
3483 lexical-binding match its file setting.
3484
3485 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3488
3489 * autoarg.el (autoarg-kp-digit-argument):
3490 * electric.el (Electric-command-loop):
3491 * kmacro.el (kmacro-step-edit-insert):
3492 Do not set universal-argument-num-events.
3493
3494 2013-09-22 Leo Liu <sdl.web@gmail.com>
3495
3496 * files.el (interpreter-mode-alist): Add octave.
3497
3498 2013-09-21 Alan Mackenzie <acm@muc.de>
3499
3500 C++: fontify identifier in declaration following "public:" correctly.
3501 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3502 to match "public", etc.
3503 (c-decl-prefix-re): Add ":" into the C++ value.
3504 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3505 bit. Add a check for a ":" preceded by "public", etc.
3506
3507 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3508
3509 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3510 recognized by GDB 7.5 and later.
3511
3512 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3513
3514 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3515
3516 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * subr.el (internal--call-interactively): New const.
3519 (called-interactively-p): Use it (bug#3984).
3520
3521 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3522
3523 * vc/pcvs.el (cvs-mode-ignore):
3524 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3525 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3526
3527 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3530 (eshell-ls-orig-insert-directory): Remove.
3531 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3532 (eshell-ls-use-in-dired): Use advice-add/remove.
3533 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3534 Add `orig-fun' arg for use in :around advice.
3535 Make it check (redundantly) eshell-ls-use-in-dired.
3536
3537 2013-09-19 Glenn Morris <rgm@gnu.org>
3538
3539 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3540
3541 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3542
3543 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3544
3545 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3546
3547 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3548 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3549 (tramp-get-remote-python): New defuns.
3550 (tramp-get-remote-uid-with-perl)
3551 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3552 contributed by yary <not.com@gmail.com> (tiny change).
3553 (tramp-get-remote-uid-with-python)
3554 (tramp-get-remote-gid-with-python): New defuns. Python code
3555 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3556 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3557
3558 2013-09-19 Glenn Morris <rgm@gnu.org>
3559
3560 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3561
3562 * eshell/em-unix.el (eshell-remove-entries):
3563 Rename argument to avoid name-clash with global `top-level'.
3564
3565 * eshell/esh-proc.el (eshell-kill-process-function):
3566 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3567 (eshell-reset-after-proc): Remove unused arg `proc'.
3568
3569 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3570 (directory-files-and-attributes): Mark unused arg.
3571
3572 * eshell/em-unix.el (eshell-remove-entries):
3573 Remove unused arg `path'. Update callers.
3574
3575 * eshell/em-hist.el (eshell-hist-parse-arguments):
3576 Remove unused arg `silent'. Update callers.
3577
3578 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3579 Fix (f)boundp mix-up.
3580
3581 * eshell/em-smart.el (eshell-smart-scroll-window)
3582 (eshell-disable-after-change):
3583 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3584
3585 2013-09-18 Alan Mackenzie <acm@muc.de>
3586
3587 Fix fontification of type when followed by "const".
3588 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3589 "known" types from fontification.
3590
3591 2013-09-18 Glenn Morris <rgm@gnu.org>
3592
3593 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3594 (chart-face-list): Drop Emacsen without display-color-p.
3595
3596 * net/eww.el (libxml-parse-html-region): Declare.
3597 (eww-display-html): Explicit error if no libxml2 support.
3598
3599 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3600
3601 * image.el (image-type-from-buffer, image-multi-frame-p):
3602 Remove --without-x warning/error.
3603
3604 * mouse.el (mouse-yank-primary):
3605 * term.el (term-mouse-paste):
3606 Reorder to silence --without-x compilation.
3607
3608 * mpc.el (doc-view-mode): Silence --without-x compilation.
3609
3610 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3611 Silence --without-x compilation.
3612
3613 * progmodes/gud.el (gud-find-file, gud-mode):
3614 Silence --without-x compilation.
3615 (tooltip-mode): Declare.
3616
3617 * wdired.el (dired-backup-overwrite): Remove declaration.
3618 (wdired-mode-map): Add doc string.
3619
3620 * custom.el (x-get-resource): Declare.
3621
3622 * eshell/em-glob.el (ange-cache):
3623 * eshell/em-unix.el (ange-cache): Declare.
3624
3625 * faces.el (x-display-list, x-open-connection, x-get-resource):
3626 Declare.
3627
3628 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3629 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3630 Declare.
3631
3632 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3633
3634 * net/gnutls.el (gnutls-log-level): Declare.
3635
3636 * net/shr.el (image-size, image-animate): Declare.
3637
3638 * simple.el (font-info): Declare.
3639
3640 * subr.el (x-popup-dialog): Declare.
3641
3642 * term/common-win.el (x-select-enable-primary)
3643 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3644 Declare.
3645
3646 * term/ns-win.el (x-handle-args): Declare.
3647
3648 * term/x-win.el (x-select-enable-clipboard): Declare.
3649
3650 * term/w32-win.el (create-default-fontset): Declare.
3651
3652 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3653 Declare.
3654
3655 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3656 (fit-frame-to-buffer): Explicit error if --without-x.
3657 (mouse-autoselect-window-select): Silence compiler.
3658
3659 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3660
3661 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3662 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3663 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3664 * eshell/esh-util.el (eshell-sublist):
3665 Remove unused local variables.
3666
3667 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3668
3669 * textmodes/two-column.el: Make 2C-split work for --without-x.
3670 (scroll-bar-columns): Autoload.
3671 (top-level): Require fringe when compiling.
3672
3673 2013-09-18 Leo Liu <sdl.web@gmail.com>
3674
3675 * subr.el (add-hook): Robustify to handle closure as well.
3676
3677 2013-09-17 Glenn Morris <rgm@gnu.org>
3678
3679 * simple.el (messages-buffer-mode-map): Unbind "g".
3680
3681 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * help-mode.el (help-mode-finish): Use derived-mode-p.
3684 Remove obsolete highlighting.
3685
3686 * play/life.el (life-mode): Use define-derived-mode. Derive from
3687 special-mode.
3688 (life): Let-bind inhibit-read-only.
3689 (life-setup): Avoid `setq'. Use `life-mode'.
3690
3691 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3692 which should not be needed any more.
3693 (package-menu-refresh, package-menu-describe-package): Use user-error.
3694
3695 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3696 (eshell-post-rewrite-command-hook): Make obsolete.
3697 (eshell-parse-command): Simplify.
3698 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3699 (eshell--cmd): Declare.
3700 (eshell-parse-pipeline): Remove unused var `final-p'.
3701 Pass a dynvar to eshell-post-rewrite-command-hook.
3702 Implement the new eshell-post-rewrite-command-function.
3703 (eshell-invoke-directly): Remove unused arg `input'.
3704 * eshell/esh-io.el (eshell-io-initialize):
3705 Use eshell-post-rewrite-command-function (bug#15399).
3706 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3707 adjust to new calling convention.
3708 (eshell-create-handles): Rename args to avoid clashing with dynvar
3709 `standard-output'.
3710
3711 2013-09-17 Glenn Morris <rgm@gnu.org>
3712
3713 * simple.el (messages-buffer-mode): New major mode.
3714 (messages-buffer): New function.
3715 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3716 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3717 (ert-run-test): Use `messages-buffer' function.
3718 (ert--force-message-log-buffer-truncation): Ignore read-only.
3719 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3720 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3721
3722 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3725
3726 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3727
3728 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * icomplete.el (icomplete-in-buffer): New var.
3731 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3732 vars and replace them with functions.
3733 (icomplete-minibuffer-setup): Adjust accordingly.
3734 (icomplete--completion-table, icomplete--completion-predicate)
3735 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3736 New functions.
3737 (icomplete-forward-completions, icomplete-backward-completions)
3738 (icomplete-simple-completing-p, icomplete-exhibit)
3739 (icomplete-completions): Use them.
3740 (icomplete--in-region-buffer): New var.
3741 (icomplete--in-region-setup): New function.
3742 (icomplete-mode): Use it.
3743
3744 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3745 (bug#15379).
3746 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3747 return args and options.
3748 (eshell-eval-using-options): Use the new return value of
3749 eshell--do-opts to set the options's vars in their scope.
3750 (eshell--set-option): Rename from eshell-set-option.
3751 Add arg `opt-vals'.
3752 (eshell--process-option): Rename from eshell-process-option.
3753 Add arg `opt-vals'.
3754 (eshell--process-args): Use an `opt-vals' alist to store the options's
3755 values during their processing and return them additionally to the
3756 remaining args.
3757
3758 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3759
3760 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3761 continuation character an operator, as far as indentation is
3762 concerned (Bug#15369).
3763
3764 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3765
3766 * window.el (window--state-put-2): Don't process buffer state
3767 when buffer doesn't exist any more (Bug#15382).
3768
3769 2013-09-15 Glenn Morris <rgm@gnu.org>
3770
3771 * eshell/em-unix.el (eshell/rm):
3772 Make -f ignore missing files. (Bug#15373)
3773
3774 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3775 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3776 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3777
3778 2013-09-14 Glenn Morris <rgm@gnu.org>
3779
3780 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3781
3782 2013-09-13 Glenn Morris <rgm@gnu.org>
3783
3784 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3785 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3786
3787 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3788
3789 * frame.el (x-focus-frame): Mark as declared in frame.c.
3790
3791 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * ls-lisp.el: Use advice-add.
3794 (original-insert-directory): Remove.
3795 (ls-lisp--insert-directory): Rename from insert-directory; add
3796 `orig-fun' argument.
3797 (insert-directory): Advise.
3798
3799 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3800
3801 * term.el (term-emulate-terminal): Decode the command string
3802 before passing it to term-command-hook. (Bug#15337)
3803
3804 2013-09-13 Glenn Morris <rgm@gnu.org>
3805
3806 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3807
3808 * eshell/esh-ext.el (eshell-search-path): Declare.
3809
3810 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3811 Otherwise an error occurs if eshell-dirs module not loaded.
3812
3813 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3814
3815 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3818 `tramp-check-proper-host'. Check for a valid method name.
3819
3820 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3821 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3822 * net/tramp-sh.el (tramp-maybe-open-connection):
3823 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3824
3825 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3826 also for hash values.
3827
3828 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * term/ns-win.el (parameters): Don't declare as dynamic.
3831 (before-make-frame-hook): Don't add ineffective function.
3832
3833 * eshell/*.el: Use lexical-binding (bug#15231).
3834
3835 2013-09-12 Kenichi Handa <handa@gnu.org>
3836
3837 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3838
3839 2013-09-12 Glenn Morris <rgm@gnu.org>
3840
3841 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3842 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3843
3844 * subr.el (do-after-load-evaluation): Also give compiler warnings
3845 when obsolete files are used (except by obsolete files).
3846
3847 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3848 in the status output, assume `filename' is the first. (Bug#15322)
3849
3850 * vc/vc.el (vc-deduce-fileset): Doc fix.
3851
3852 * calc/calc-help.el (Info-goto-node):
3853 * progmodes/cperl-mode.el (Info-find-node):
3854 * vc/ediff.el (Info-goto-node): Update declarations.
3855
3856 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3857
3858 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3859 (vc-bzr-pull): Require vc-dispatcher.
3860 * vc/vc-git.el (vc-compilation-mode): Declare.
3861 (vc-git-pull): Require vc-dispatcher.
3862
3863 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3864
3865 * progmodes/octave.el (help-button-action): Declare.
3866
3867 * shell.el (shell-directory-tracker): Output error as a message
3868 rather than just returning it as a string.
3869 (shell-process-pushd): Remove useless use of message.
3870
3871 * dframe.el (dframe-timer-fn):
3872 * files.el (dir-locals-read-from-file):
3873 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3874 (mpc-format):
3875 * reveal.el (reveal-post-command):
3876 * saveplace.el (load-save-place-alist-from-file):
3877 * shell.el (shell-resync-dirs):
3878 * w32-common-fns.el (x-get-selection-value):
3879 * emacs-lisp/copyright.el (copyright-find-copyright):
3880 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3881 * emulation/tpu-edt.el (tpu-copy-keyfile):
3882 * play/bubbles.el (bubbles--mark-neighbourhood):
3883 * progmodes/executable.el
3884 (executable-make-buffer-file-executable-if-script-p):
3885 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3886
3887 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 Cleanup Eshell to rely less on dynamic scoping.
3890 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3891 last-value, and ext-command here. Bind `args' closer to `body'.
3892 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3893 (eshell--args): Declare new dynamic var.
3894 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3895 last-value, and ext-command. Pass `args' to `body'.
3896 (eshell-process-args): Bind eshell--args.
3897 (eshell-set-option): Use eshell--args.
3898 * eshell/eshell.el (eshell): Use derived-mode-p.
3899 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3900 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3901 (eshell-glob-function): Declare.
3902 * eshell/esh-util.el: Require cl-lib.
3903 (eshell-read-hosts-file): Avoid add-to-list.
3904 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3905 `err'.
3906 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3907 Declare.
3908 (eshell/diff): Remove unused var `err'.
3909 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3910 `killflag'.
3911 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3912 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3913 first use.
3914 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3915 Move declaration before first use.
3916 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3917 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3918 rely on cl-return.
3919
3920 2013-09-12 Glenn Morris <rgm@gnu.org>
3921
3922 * term/ns-win.el (global-map): Remove binding for ispell-next,
3923 deleted 1999-05-29. (Bug#15357)
3924
3925 2013-09-11 Glenn Morris <rgm@gnu.org>
3926
3927 * echistory.el (electric-command-history): Remove call to deleted func.
3928
3929 * play/landmark.el (landmark-mode): Fix typos.
3930
3931 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3932 Check cvs-sort-ignore-file is bound.
3933
3934 * savehist.el: No need for cl when compiling on Emacs.
3935
3936 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3939 (bug#15338).
3940 (eshell-self-insert-command, eshell-send-invisible):
3941 Remove unused argument.
3942 (eshell-handle-control-codes): Remove unused var `orig'.
3943 Avoid delete-backward-char.
3944
3945 * files.el (set-auto-mode): Simplify a bit further.
3946
3947 2013-09-11 Glenn Morris <rgm@gnu.org>
3948
3949 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3950 (set-auto-mode): Don't regexp-quote elements.
3951 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3952 * progmodes/cc-mode.el (interpreter-mode-alist):
3953 * progmodes/ruby-mode.el (interpreter-mode-alist):
3954 Revert previous change.
3955
3956 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * play/snake.el (snake-mode):
3959 * play/mpuz.el (mpuz-mode):
3960 * play/landmark.el (lm-mode):
3961 * play/blackbox.el (blackbox-mode):
3962 * play/5x5.el (5x5-mode):
3963 * obsolete/options.el (Edit-options-mode):
3964 * net/quickurl.el (quickurl-list-mode):
3965 * net/newst-treeview.el (newsticker-treeview-mode):
3966 * mail/rmailsum.el (rmail-summary-mode):
3967 * mail/mspools.el (mspools-mode):
3968 * locate.el (locate-mode):
3969 * ibuffer.el (ibuffer-mode):
3970 * emulation/ws-mode.el (wordstar-mode):
3971 * emacs-lisp/debug.el (debugger-mode):
3972 * array.el (array-mode):
3973 * net/eudc.el (eudc-mode): Use define-derived-mode.
3974 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3975 Move initialization into declaration.
3976 (mairix-searches-mode): Use define-derived-mode.
3977 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3978 (eudc-edit-hotlist): Use dolist.
3979 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3980 (Man-mode): Use define-derived-mode.
3981 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3982 (Info-edit-mode): Use define-derived-mode.
3983 (Info-cease-edit): Use Info-mode.
3984 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3985 into declaration.
3986 (eshell-mode): Use define-derived-mode.
3987 * chistory.el (command-history-mode-map): Rename from
3988 command-history-map.
3989 (command-history-mode): Use define-derived-mode.
3990 (Command-history-setup): Remove function.
3991 * calc/calc.el (calc-trail-mode-map): New var.
3992 (calc-trail-mode): Use define-derived-mode.
3993 (calc-trail-buffer): Set calc-main-buffer manually.
3994 * bookmark.el (bookmark-insert-annotation): New function.
3995 (bookmark-edit-annotation): Use it.
3996 (bookmark-edit-annotation-mode): Make it a proper major mode.
3997 (bookmark-send-edited-annotation): Use derived-mode-p.
3998 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3999 closer to its ideal place. Use \' to match EOS.
4000
4001 * profiler.el (profiler-calltree-find): Use function-equal.
4002
4003 2013-09-10 Glenn Morris <rgm@gnu.org>
4004
4005 * files.el (interpreter-mode-alist): Convert to regexps.
4006 (set-auto-mode): Adapt for this. (Bug#15306)
4007 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4008 Comment out unused variable.
4009 * progmodes/cc-mode.el (interpreter-mode-alist):
4010 * progmodes/python.el (interpreter-mode-alist):
4011 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4012 * progmodes/sh-script.el (sh-set-shell):
4013 No longer use interpreter-mode-alist to get list of shells.
4014
4015 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4016
4017 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * simple.el: Use set-temporary-overlay-map for universal-argument.
4020 (universal-argument-map): Don't use default-bindings (bug#15317).
4021 Bind switch-frame explicitly. Replace universal-argument-minus with
4022 a conditional binding.
4023 (universal-argument-num-events, saved-overriding-map): Remove.
4024 (restore-overriding-map): Remove.
4025 (universal-argument--mode): Rename from save&set-overriding-map,
4026 and rewrite.
4027 (universal-argument, universal-argument-more, negative-argument)
4028 (digit-argument): Adjust accordingly.
4029 (universal-argument-minus): Remove.
4030 (universal-argument-other-key): Remove.
4031
4032 * subr.el (with-demoted-errors): Add `format' argument.
4033
4034 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4035
4036 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4037 `tramp-cleanup-connection'.
4038
4039 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4040 parameters KEEP-DEBUG and KEEP-PASSWORD.
4041
4042 * net/tramp.el (tramp-file-name-handler):
4043 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4044 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4045 (tramp-maybe-open-connection):
4046 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4047 Use `tramp-cleanup-connection'.
4048
4049 * net/tramp-sh.el (tramp-maybe-open-connection):
4050 Catch 'uname-changed inside the progress reporter.
4051
4052 2013-09-10 Glenn Morris <rgm@gnu.org>
4053
4054 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4055
4056 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4057 returns "alternate access method" in mode (eg "-rw-r--r--.").
4058
4059 2013-09-08 Glenn Morris <rgm@gnu.org>
4060
4061 * saveplace.el (load-save-place-alist-from-file):
4062 Demote errors. (Bug#15305)
4063
4064 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4065
4066 Improve compatibility with older Emacsen, and XEmacs.
4067
4068 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4069 only if it is bound. It isn't for XEmacs.
4070 (with-tramp-progress-reporter): Do not let-bind `result'.
4071 This yields to scoping errors in XEmacs.
4072 (tramp-handle-make-auto-save-file-name): New function, moved from
4073 tramp-sh.el.
4074
4075 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4076 for `make-auto-save-file-name'.
4077 (tramp-adb--gnu-switches-to-ash):
4078 Use `tramp-compat-replace-regexp-in-string'.
4079
4080 * net/tramp-cache.el (tramp-cache-print): Call
4081 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4082
4083 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4084 bound. It isn't for XEmacs.
4085
4086 * net/tramp-compat.el (tramp-compat-copy-file):
4087 Catch `wrong-number-of-arguments' error.
4088 (tramp-compat-replace-regexp-in-string): New defun.
4089
4090 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4091 for `make-auto-save-file-name'.
4092 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4093 `copy-file'.
4094 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4095 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4096 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4097
4098 * net/tramp-gw.el (tramp-gw-open-network-stream):
4099 Use `tramp-compat-replace-regexp-in-string'.
4100
4101 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4102 Call `tramp-handle-make-auto-save-file-name'.
4103 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4104 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4105 (tramp-sh-file-inotifywait-process-filter):
4106 Use `tramp-compat-replace-regexp-in-string'.
4107 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4108
4109 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4110 for `make-auto-save-file-name'.
4111 (tramp-smb-handle-copy-directory):
4112 Call `tramp-compat-replace-regexp-in-string'.
4113 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4114 (tramp-smb-handle-copy-file): Improve error message.
4115 (tramp-smb-handle-rename-file): Rename directly only in case
4116 `newname' does not exist yet. This is a restriction of smbclient.
4117 (tramp-smb-maybe-open-connection): Rerun the function only when
4118 `auth-sources' is non-nil.
4119
4120 2013-09-08 Kenichi Handa <handa@gnu.org>
4121
4122 * international/characters.el: Set category "^" (Combining) for
4123 more characters.
4124
4125 2013-09-07 Alan Mackenzie <acm@muc.de>
4126
4127 Correctly fontify Java class constructors.
4128 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4129 in Java Mode.
4130 (c-recognize-typeless-decls): Set the Java value to t.
4131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4132 While handling a "(", add a check for, effectively, Java, and handle a
4133 "typeless" declaration there.
4134
4135 2013-09-07 Roland Winkler <winkler@gnu.org>
4136
4137 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4138 field subtitle for entry type book.
4139
4140 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * minibuffer.el: Make minibuffer-complete call completion-in-region
4143 rather than other way around.
4144 (completion--some, completion-pcm--find-all-completions):
4145 Don't delay signals when debugging.
4146 (minibuffer-completion-contents): Beware fields within the
4147 minibuffer contents.
4148 (completion-all-sorted-completions): Use defvar-local.
4149 (completion--do-completion, completion--cache-all-sorted-completions)
4150 (completion-all-sorted-completions, minibuffer-force-complete):
4151 Add args `beg' and `end'.
4152 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4153 (minibuffer-complete): Use completion-in-region.
4154 (completion-complete-and-exit): New fun, extracted from
4155 minibuffer-complete-and-exit.
4156 (minibuffer-complete-and-exit): Use it.
4157 (completion--complete-and-exit): Rename from
4158 minibuffer--complete-and-exit.
4159 (completion-in-region--single-word): New function, extracted from
4160 minibuffer-complete-word.
4161 (minibuffer-complete-word): Use it.
4162 (display-completion-list): Make `common-substring' argument obsolete.
4163 (completion--in-region): Call completion--in-region-1 instead of
4164 minibuffer-complete.
4165 (completion-help-at-point): Pass boundaries to
4166 minibuffer-completion-help as args rather than via an overlay.
4167 (completion-pcm--string->pattern): Use `any-delim'.
4168 (completion-pcm--optimize-pattern): New function.
4169 (completion-pcm--pattern->regex): Handle `any-delim'.
4170 * icomplete.el (icomplete-forward-completions)
4171 (icomplete-backward-completions, icomplete-completions):
4172 Adjust calls to completion-all-sorted-completions and
4173 completion--cache-all-sorted-completions.
4174 (icomplete-with-completion-tables): Default to t.
4175 * emacs-lisp/crm.el (crm--current-element): Rename from
4176 crm--select-current-element. Don't put an overlay but return the
4177 boundaries instead.
4178 (crm--completion-command): Take two new args to bind to the boundaries.
4179 (crm-completion-help): Adjust accordingly.
4180 (crm-complete): Use completion-in-region.
4181 (crm-complete-word): Use completion-in-region--single-word.
4182 (crm-complete-and-exit): Use completion-complete-and-exit.
4183
4184 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4187 than dynamically.
4188
4189 2013-09-06 Juri Linkov <juri@jurta.org>
4190
4191 * info.el (Info-display-images-node): When image file doesn't exist
4192 display text version of the image if it's provided in the Info file.
4193 Otherwise, display the location of missing image from SRC attribute.
4194 Add help-echo text property from ALT attribute. (Bug#15279)
4195
4196 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4199 (edit-abbrevs-mode): Use define-derived-mode.
4200
4201 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4202 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4203 that it's defined.
4204 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4205 Use define-derived-mode.
4206
4207 * epg.el (epg-start-encrypt): Minor CSE simplification.
4208
4209 2013-09-06 William Xu <william.xwl@gmail.com>
4210
4211 * arc-mode.el: Add support for 7za (bug#15264).
4212 (archive-7z-program): New var.
4213 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4214 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4215 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4216
4217 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4218
4219 Remove URL syntax.
4220
4221 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4222 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4223 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4224 (tramp-postfix-host-format, tramp-file-name-regexp)
4225 (tramp-completion-file-name-regexp)
4226 (tramp-completion-dissect-file-name)
4227 (tramp-handle-substitute-in-file-name): Remove 'url case.
4228 (tramp-file-name-regexp-url)
4229 (tramp-completion-file-name-regexp-url): Remove constants.
4230
4231 2013-09-06 Glenn Morris <rgm@gnu.org>
4232
4233 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4234
4235 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4236
4237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4238 keywords" below "here-doc beginnings" (Bug#15270).
4239
4240 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * subr.el (pop): Use `car-safe'.
4243 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4244 to detect unused `pop' return value.
4245
4246 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4247 var `block-regexp'.
4248 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4249 (python-fill-string): Remove unused var `marker'.
4250 (python-skeleton-add-menu-items): Remove unused var `items'.
4251
4252 * international/mule-cmds.el: Require CL.
4253 (find-coding-systems-for-charsets): Avoid add-to-list.
4254 (sanitize-coding-system-list): New function, extracted from
4255 select-safe-coding-system-interactively.
4256 (select-safe-coding-system-interactively): Use it.
4257 (read-input-method-name): Accept symbols for `default'.
4258
4259 * emacs-lisp/advice.el (defadvice): Add indent rule.
4260
4261 2013-09-05 Daniel Hackney <dan@haxney.org>
4262
4263 * dired-x.el:
4264 * net/ange-ftp.el:
4265 * net/browse-url.el:
4266 * net/dbus.el:
4267 * net/eudc.el:
4268 * net/eudcb-ldap.el:
4269 * net/eww.el:
4270 * net/imap.el:
4271 * printing.el:
4272 * vc/ediff-diff.el:
4273 * vc/ediff-init.el:
4274 * vc/ediff-merg.el:
4275 * vc/ediff-mult.el:
4276 * vc/ediff-util.el:
4277 * vc/ediff-wind.el:
4278 * vc/ediff.el:
4279 * vc/emerge.el:
4280 * vc/pcvs.el:
4281 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4282 byte compiler. Remove some unused let-bound variables.
4283
4284 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4287 a "ref-cell", since it gets better optimized (bug#14883).
4288
4289 2013-09-05 Glenn Morris <rgm@gnu.org>
4290
4291 * progmodes/cc-awk.el (c-forward-sws): Declare.
4292
4293 2013-09-04 Glenn Morris <rgm@gnu.org>
4294
4295 * generic-x.el [rul-generic-mode]: Require cc-mode.
4296 (c++-mode-syntax-table): Declare.
4297 (rul-generic-mode-syntax-table): Init in the defvar.
4298
4299 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4302 (vc-do-command, vc-set-async-update):
4303 * vc/vc-mtn.el (vc-mtn-dir-status):
4304 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4305 (vc-hg-pull, vc-hg-merge-branch):
4306 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4307 (vc-git-merge-branch):
4308 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4309 (vc-cvs-dir-status-files):
4310 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4311 (vc-bzr-dir-status-files):
4312 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4313 * vc/vc-annotate.el: Use lexical-binding.
4314 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4315 (vc-sentinel-movepoint): Declare.
4316 (vc-annotate): Don't use `goto-line'.
4317 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4318 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4319 (vc-sentinel-movepoint): Declare.
4320 * vc/vc-svn.el: Use lexical-binding.
4321 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4322 * vc/vc-sccs.el:
4323 * vc/vc-rcs.el: Use lexical-binding.
4324
4325 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4326 `deleted'. Don't drop errors silently.
4327
4328 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4329
4330 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4331
4332 * vc/vc.el (vc-ignore): Rewrite.
4333 (vc-default-ignore): New function.
4334 (vc-default-ignore-completion-table): Use find-ignore-file.
4335
4336 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4337 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4338 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4339 Remove. Most code moved to vc.el.
4340
4341 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4344 * net/tramp-smb.el (tramp-smb-get-file-entries):
4345 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4346 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4347
4348 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4349 Update call to it.
4350 (eww-change-select): Remove unused var `properties'.
4351 (eww-make-unique-file-name): Remove unused var `base'.
4352
4353 * finder.el (finder-compile-keywords): Don't mess with windows.
4354
4355 * calculator.el (calculator-funcall): Fix typo in last change.
4356
4357 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4358
4359 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4360 <pkg>-autoloads.el file stop us.
4361
4362 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4363 warnings, and factor out common code.
4364
4365 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4366
4367 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4368 two-character operators and whether the character preceding them
4369 changes their meaning (Bug#15208).
4370
4371 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4372
4373 Format code sent to Python shell for robustness.
4374 * progmodes/python.el (python-shell-buffer-substring):
4375 New function.
4376 (python-shell-send-region, python-shell-send-buffer): Use it.
4377
4378 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4379
4380 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4381 * net/tramp.el (tramp-user-error): ... here.
4382 (tramp-find-method, tramp-check-proper-host)
4383 (tramp-dissect-file-name, tramp-debug-message)
4384 (tramp-handle-shell-command):
4385 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4386 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4387
4388 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4389
4390 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4391
4392 * avoid.el (mouse-avoidance-point-position)
4393 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4394 returns nil.
4395
4396 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4397
4398 * progmodes/python.el (python-shell-completion-get-completions):
4399 Drop use of deleted `comint-last-prompt-overlay'.
4400 (python-nav-if-name-main): New command.
4401
4402 2013-09-01 Glenn Morris <rgm@gnu.org>
4403
4404 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4405 Avoid leading space in $wins. Otherwise the sed command used by
4406 eg compile-main ends up containing "/*.el". (Bug#15170)
4407
4408 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4409
4410 2013-08-30 Glenn Morris <rgm@gnu.org>
4411
4412 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4413 Fix is-this-a-directory logic. (Bug#15220)
4414
4415 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * textmodes/css-mode.el: Use SMIE.
4418 (css-smie-grammar): New var.
4419 (css-smie--forward-token, css-smie--backward-token)
4420 (css-smie-rules): New functions.
4421 (css-mode): Use them.
4422 (css-navigation-syntax-table): Remove var.
4423 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4424 (css-indent-calculate, css-indent-line): Remove functions.
4425
4426 Misc changes to reduce use of `(lambda...); and other cleanups.
4427 * cus-edit.el: Use lexical-binding.
4428 (customize-push-and-save, customize-apropos)
4429 (custom-buffer-create-internal): Use closures.
4430 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4431 * progmodes/ada-xref.el: Use setq.
4432 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4433 * dframe.el: Use lexical-binding.
4434 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4435 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4436 * descr-text.el: Use lexical-binding.
4437 (describe-text-widget, describe-text-sexp, describe-property-list):
4438 Use closures.
4439 * comint.el (comint-history-isearch-push-state): Use a closure.
4440 * calculator.el: Use lexical-binding.
4441 (calculator-number-to-string): Make it work with lexical-binding.
4442 (calculator-funcall): Same and use cl-letf.
4443
4444 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4445 (lisp--company-doc-string, lisp--company-location): New functions.
4446 (lisp-completion-at-point): Use them to improve Company support.
4447
4448 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4449 params of lambda expressions.
4450 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4451 (ruby-smie--opening-pipe-p): New function.
4452 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4453 symbols and matched |...| for formal params.
4454 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4455 from being treated as hanging. Handle "rescue".
4456
4457 2013-08-29 Glenn Morris <rgm@gnu.org>
4458
4459 * progmodes/cc-engine.el (c-pull-open-brace):
4460 Move definition before use.
4461
4462 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4465 are immutable. Don't use `unsafe' any more.
4466 (cl--defsubst-expand): Don't substitute at the same time as keeping
4467 a residual unused let-binding. Don't use `unsafe' any more.
4468
4469 2013-08-29 Glenn Morris <rgm@gnu.org>
4470
4471 * calendar/cal-china.el (calendar-chinese-year-cache):
4472 Recenter on 2015.
4473
4474 * nxml/nxml-util.el (nxml-debug-clear-inside):
4475 Use cl-loop rather than loop.
4476
4477 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4478
4479 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4480
4481 2013-08-28 Glenn Morris <rgm@gnu.org>
4482
4483 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4484
4485 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4486
4487 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4488
4489 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * simple.el (repeat-complex-command--called-interactively-skip):
4492 New function.
4493 (repeat-complex-command): Use it (bug#14136).
4494
4495 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4496 (c-define-abbrev-table): Add `doc' argument.
4497 (c-mode-abbrev-table, c++-mode-abbrev-table)
4498 (objc-mode-abbrev-table, java-mode-abbrev-table)
4499 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4500 (awk-mode-abbrev-table): Use it.
4501 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4502 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4503 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4504 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4505 Move initialization into the declaration; and remove any
4506 autoload cookie.
4507
4508 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4509 and dynamic let binding.
4510
4511 * vc/smerge-mode.el: Remove redundant :group args.
4512
4513 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4514 to load-path.
4515
4516 2013-08-28 Juri Linkov <juri@jurta.org>
4517
4518 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4519 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4520 (isearch-other-meta-char): Handle an undefined shifted printing
4521 character by downshifting it. (Bug#15200)
4522
4523 2013-08-28 Juri Linkov <juri@jurta.org>
4524
4525 * isearch.el (isearch-search): Change regexp error message for
4526 non-regexp searches. (Bug#15166)
4527
4528 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4529
4530 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4531 for portability to hosts where /bin/sh has problems.
4532
4533 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4536
4537 2013-08-27 Juri Linkov <juri@jurta.org>
4538
4539 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4540 in the keyboard macro. (Bug#15126)
4541
4542 2013-08-27 Juri Linkov <juri@jurta.org>
4543
4544 * isearch.el (isearch-quote-char): Comment out converting unibyte
4545 to multibyte, thus syncing with its `quoted-insert' counterpart.
4546 (Bug#15166)
4547
4548 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4549
4550 * window.el (display-buffer-use-some-window): Add missing
4551 argument in call of get-largest-window (Bug#15185).
4552 Reported by Stephen Leake.
4553
4554 2013-08-27 Glenn Morris <rgm@gnu.org>
4555
4556 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4557
4558 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4561 from a matcher-function unless there's no more matches (bug#15161).
4562
4563 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4564
4565 * minibuffer.el: Revert change from 2013-08-20.
4566
4567 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4568 with text property `tramp-default', if appropriate.
4569 (tramp-check-proper-host): New defun.
4570 (tramp-dissect-file-name): Do not check hostname. Revert change
4571 of 2013-03-18.
4572 (tramp-backtrace): Make VEC-OR-PROC optional.
4573
4574 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4575 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4576 * net/tramp-sh.el (tramp-maybe-open-connection):
4577 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4578 Apply `tramp-check-proper-host'.
4579
4580 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4581
4582 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4583 lambda expression in order to have `describe-variable' display it.
4584
4585 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4588 BUF can be optional. (Bug#15186)
4589
4590 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4591
4592 * progmodes/flymake.el (flymake-get-real-file-name-function):
4593 Fix broken customization. (Bug#15184)
4594
4595 2013-08-25 Alan Mackenzie <acm@muc.de>
4596
4597 Improve indentation of bracelists defined by macros (without "=").
4598
4599 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4600 expansion begins with "{", regard it as bracelist when it doesn't
4601 contain a ";".
4602
4603 Parse C++ inher-intro when there's a template split over 2 lines.
4604
4605 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4606 rigorously the search for "class" etc. followed by ":".
4607
4608 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4609 random languages a regexp which never matches rather than nil.
4610
4611 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4612
4613 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4614 (c-awk-regexp-one-line-possibly-open-char-list-re)
4615 (c-awk-one-line-possibly-open-regexp-re)
4616 (c-awk-one-line-non-syn-ws*-re): Remove.
4617 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4618 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4619 (c-awk-space*-unclosed-regexp-/-re): New constants.
4620 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4621 aren't regexp delimiters.
4622
4623 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4624 handling for a rare situation in AWK Mode involving unterminated
4625 strings/regexps.
4626
4627 2013-08-23 Glenn Morris <rgm@gnu.org>
4628
4629 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4630
4631 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4632
4633 * files.el (create-file-buffer): If the result would begin with
4634 spaces, prepend a "|" instead of removing them. (Bug#15162)
4635
4636 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4639 text-properties (bug#15155).
4640
4641 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4642 exist any more.
4643 (calc-keypad-redraw): Remove unused var `pad'.
4644 (calc-keypad-press): Remove unused var `menu'.
4645
4646 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4647
4648 * window.el (display-buffer-pop-up-frame):
4649 Call pop-up-frame-function with BUFFER current so `make-frame' will
4650 use it as the new frame's buffer (Bug#15133).
4651
4652 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * calendar/timeclock.el: Minor cleanups.
4655 (timeclock-ask-before-exiting, timeclock-use-display-time):
4656 Use `symbol'.
4657 (timeclock-modeline-display): Define as alias before the
4658 actual definition.
4659 (timeclock-mode-line-display): Use define-minor-mode.
4660 (timeclock-day-list-template): Make it a function, add an argument.
4661 (timeclock-day-list-required, timeclock-day-list-length)
4662 (timeclock-day-list-debt, timeclock-day-list-span)
4663 (timeclock-day-list-break): Adjust calls accordingly.
4664
4665 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4667 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4668 Use read--expression so that completion works again.
4669
4670 2013-08-21 Sam Steingold <sds@gnu.org>
4671
4672 Add rudimentary inferior shell interaction
4673 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4674 (sh-set-shell): Reset it.
4675 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4676 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4677
4678 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * align.el: Use lexical-binding.
4681 (align-region): Simplify accordingly.
4682
4683 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4686
4687 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4688 `non-essential' up.
4689
4690 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/tramp.el:
4693 * net/tramp-adb.el:
4694 * net/tramp-cmds.el:
4695 * net/tramp-ftp.el:
4696 * net/tramp-gvfs.el:
4697 * net/tramp-gw.el:
4698 * net/tramp-sh.el: Don't wrap external variable declarations by
4699 `eval-when-compile'.
4700
4701 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4702
4703 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4704 now that Emacs supports ImageMagick animations.
4705
4706 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4707
4708 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4709 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4710
4711 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4712
4713 * window.el (mouse-autoselect-window-select): Do autoselect when
4714 mouse pointer is on margin.
4715
4716 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4717
4718 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4719
4720 2013-08-16 Glenn Morris <rgm@gnu.org>
4721
4722 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4723 Handle "Remote Directory" response of some clients. (Bug#15058)
4724
4725 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4726 Tweak warning. (Bug#14926)
4727
4728 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4729 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4730
4731 * image-mode.el (image-mode-map): Add menu items to reverse,
4732 increase, decrease, reset animation speed.
4733 (image--set-speed, image-increase-speed, image-decrease-speed)
4734 (image-reverse-speed, image-reset-speed): New functions.
4735 (image-mode-map): Add bindings for speed commands.
4736
4737 * image.el (image-animate-get-speed, image-animate-set-speed):
4738 New functions.
4739 (image-animate-timeout): Respect image :speed property.
4740
4741 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4744 previous line (bug#15101).
4745 (debugger-eval-expression, debugger-record-expression):
4746 Use read--expression (bug#15102).
4747
4748 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4749
4750 Remove byte compiler warnings, visible when compiling with
4751 `byte-compile-force-lexical-warnings' set to t.
4752
4753 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4754 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4755 (tramp-handle-unhandled-file-name-directory)
4756 (tramp-handle-file-notify-add-watch, tramp-action-login)
4757 (tramp-action-succeed, tramp-action-permission-denied)
4758 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4759 arguments with "_".
4760
4761 * net/tramp-adb.el (tramp-adb-parse-device-names)
4762 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4763 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4764 (tramp-adb-handle-file-truename): Remove unused arguments.
4765
4766 * net/tramp-cache.el (tramp-flush-directory-property)
4767 (tramp-flush-connection-property, tramp-list-connections)
4768 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4769
4770 * net/tramp-compat.el (tramp-compat-make-temp-file):
4771 Rename FILENAME to F.
4772
4773 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4774 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4775 (tramp-zeroconf-parse-workstation-device-names)
4776 (tramp-zeroconf-parse-webdav-device-names)
4777 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4778
4779 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4780 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4781
4782 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4783 arguments.
4784 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4785 (tramp-sh-handle-insert-file-contents-literally)
4786 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4787 with "_".
4788 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4789 Remove unused variables.
4790
4791 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4792 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4793 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4794
4795 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4796 Make them a defconst.
4797 (tramp-uuencode-region): Remove unused variable.
4798
4799 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4800
4801 * frameset.el (frameset--prop-setter): New function.
4802 (frameset-prop): Add gv-setter declaration.
4803 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4804 parameter was already set in FILTERED. Doc fix.
4805 (frameset--record-minibuffer-relationships): Allow saving a
4806 minibufferless frame without its corresponding minibuffer frame.
4807 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4808 frame, if the frame id matches.
4809 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4810 frames before orphaned ones.
4811 (frameset-restore): Warn about orphaned windows, instead of error out.
4812
4813 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4814
4815 * window.el (window-make-atom): Don't overwrite parameter
4816 already present.
4817 (display-buffer-in-atom-window): Handle special case where we
4818 split an already atomic window.
4819 (window--major-non-side-window, display-buffer-in-side-window)
4820 (window--side-check): Ignore minibuffer window when walking
4821 window tree.
4822 (window-deletable-p): Return 'frame only if no other frame uses
4823 our minibuffer window.
4824 (record-window-buffer): Run buffer-list-update-hook.
4825 (split-window): Make sure window--check-frame won't destroy an
4826 existing atomic window in case the new window gets nested
4827 inside.
4828 (display-buffer-at-bottom): Ignore minibuffer window when
4829 walking window tree. Don't split a side window.
4830 (pop-to-buffer): Don't set-buffer here, the select-window call
4831 should do that.
4832 (mouse-autoselect-window-select): Autoselect only if we are in the
4833 text portion of the window.
4834
4835 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4836
4837 * net/shr.el (shr-parse-image-data): New function to grab both the
4838 data itself and the Content-Type.
4839 (shr-put-image): Use it.
4840
4841 * net/eww.el (eww-display-image): Ditto.
4842
4843 * image.el (image-content-type-suffixes): New variable.
4844
4845 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4846
4847 * progmodes/python.el (python-imenu--build-tree)
4848 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4849
4850 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4851
4852 * simple.el (backward-word): Mention the optional argument.
4853
4854 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * frameset.el (frameset--make): Rename constructor from make-frameset.
4857 (frameset-p, frameset-valid-p): Don't autoload.
4858 (frameset-valid-p): Use normal accessors.
4859
4860 2013-08-13 Glenn Morris <rgm@gnu.org>
4861
4862 * progmodes/compile.el (compile-command): Tweak example in doc.
4863 * obsolete/scribe.el (scribe-mode):
4864 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4865
4866 * mail/feedmail.el (feedmail-confirm-outgoing)
4867 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4868
4869 * cus-start.el (truncate-partial-width-windows): Fix type.
4870
4871 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4872
4873 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4874
4875 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * emacs-lisp/timer.el (timer--time-setter): New function.
4878 (timer--time): Use it as gv-setter.
4879
4880 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4881 setter is not a symbol.
4882
4883 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4884
4885 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4886 if sending fails. This makes debugging easier.
4887
4888 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4889
4890 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4891 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4892 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4893
4894 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4895
4896 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4897
4898 2013-08-12 Glenn Morris <rgm@gnu.org>
4899
4900 * format.el (format-annotate-function):
4901 Handle read-only text properties in the source. (Bug#14887)
4902
4903 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
4905 * net/eww.el (eww-display-html): Ignore coding system errors.
4906 One web site uses "utf-8lias" as the coding system.
4907
4908 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4911
4912 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4913
4914 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4915 (tutorial--detailed-help): Remove unused local variables.
4916 (tutorial--save-tutorial-to): Use ignore-errors.
4917 (help-with-tutorial): Use looking-at-p.
4918
4919 * view.el (view-buffer-other-window, view-buffer-other-frame):
4920 Mark unused arguments.
4921
4922 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4923 (woman-select-symbol-fonts, woman, woman-find-file)
4924 (woman-insert-file-contents, woman-non-underline-faces):
4925 Use string-match-p.
4926 (woman1-unquote): Move declaration.
4927
4928 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4929 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4930 argument. Remove unused local variable.
4931 (xml-parse-elem-type): Use string-match-p.
4932 (xml-substitute-numeric-entities): Use ignore-errors.
4933
4934 * calculator.el (calculator): Mark unused argument.
4935 (calculator-paste, calculator-quit, calculator-integer-p):
4936 Use ignore-errors.
4937 (calculator-string-to-number, calculator-decimal, calculator-exp)
4938 (calculator-op-or-exp): Use string-match-p.
4939
4940 * dired.el (dired-buffer-more-recently-used-p): Declare.
4941 (dired-insert-set-properties, dired-insert-old-subdirs):
4942 Use ignore-errors.
4943
4944 * dired-aux.el (dired-compress): Use ignore-errors.
4945 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4946 (dired-do-async-shell-command, dired-do-shell-command)
4947 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4948 (dired-insert-subdir-validate): Use string-match-p.
4949 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4950 (dired-add-entry): Use string-match-p, looking-at-p.
4951 (dired-insert-subdir-newpos): Remove unused local variable.
4952
4953 * filenotify.el (file-notify-callback): Remove unused local variable.
4954
4955 * filesets.el (filesets-error): Mark unused argument.
4956 (filesets-which-command-p, filesets-filter-dir-names)
4957 (filesets-directory-files, filesets-get-external-viewer)
4958 (filesets-ingroup-get-data): Use string-match-p.
4959
4960 * find-file.el (ff-other-file-name, ff-other-file-name)
4961 (ff-find-the-other-file, ff-cc-hh-converter):
4962 Remove unused local variables.
4963 (ff-get-file-name): Use string-match-p.
4964 (ff-all-dirs-under): Use ignore-errors.
4965
4966 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4967 (follow-select-if-visible): Remove unused local variable.
4968
4969 * forms.el (read-file-filter): Move declaration.
4970 (forms--make-format, forms--make-parser, forms-insert-record):
4971 Quote function with #'.
4972 (forms--update): Use string-match-p. Quote function with #'.
4973
4974 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4975 (help-make-xrefs): Use looking-at-p.
4976 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4977
4978 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4979 (ibuffer-confirm-operation-on): Use string-match-p.
4980
4981 * msb.el (msb-item-handler, msb-dired-item-handler):
4982 Mark unused arguments.
4983
4984 * ses.el (ses-decode-cell-symbol)
4985 (ses-kill-override): Remove unused local variable.
4986 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4987 (ses-load): Use ignore-errors, looking-at-p.
4988 (ses-jump-safe): Use ignore-errors.
4989 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4990
4991 * tabify.el (untabify, tabify): Mark unused arguments.
4992
4993 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4994 Mark unused argument.
4995 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4996 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4997
4998 * emacs-lisp/timer.el (timer--time): Define setter with
4999 gv-define-setter to avoid deprecation warning.
5000
5001 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5002 (*record-cmpl-statistics-p*): Remove (was commented out).
5003 (cmpl-statistics-block): Remove (body was commented out).
5004 All callers changed.
5005 (add-completions-from-buffer, load-completions-from-file):
5006 Remove unused variables.
5007
5008 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * filecache.el (file-cache-delete-file-list):
5011 Print message only when told so.
5012 (file-cache-files-matching): Use #' in mapconcat argument.
5013
5014 * ffap.el (ffap-url-at-point): Fix reference to variable
5015 thing-at-point-default-mail-uri-scheme.
5016
5017 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * subr.el (define-error): New function.
5020 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5021 error-file-not-found and define with define-error.
5022 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5023 and define with define-error.
5024 * userlock.el (file-locked, file-supersession):
5025 * simple.el (mark-inactive):
5026 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5027 * progmodes/ada-mode.el (ada-mode-errors):
5028 * play/life.el (life-extinct):
5029 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5030 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5031 * nxml/rng-util.el (rng-error):
5032 * nxml/rng-uri.el (rng-uri-error):
5033 * nxml/rng-match.el (rng-compile-error):
5034 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5035 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5036 * nxml/nxml-rap.el (nxml-scan-error):
5037 * nxml/nxml-outln.el (nxml-outline-error):
5038 * net/soap-client.el (soap-error):
5039 * net/gnutls.el (gnutls-error):
5040 * net/ange-ftp.el (ftp-error):
5041 * mpc.el (mpc-proc-error):
5042 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5043 (json-number-format, json-string-escape, json-string-format)
5044 (json-key-format, json-object-format):
5045 * jka-compr.el (compression-error):
5046 * international/quail.el (quail-error):
5047 * international/kkc.el (kkc-error):
5048 * emacs-lisp/ert.el (ert-test-failed):
5049 * calc/calc.el (calc-error, inexact-result, math-overflow)
5050 (math-underflow):
5051 * bookmark.el (bookmark-error-no-filename):
5052 * epg.el (epg-error): Define with define-error.
5053
5054 * time.el (display-time-event-handler)
5055 (display-time-next-load-average): Don't call sit-for since it seems
5056 unnecessary (bug#15045).
5057
5058 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5059 Use #' instead of ' to quote functions.
5060 (checkdoc-output-mode): Use setq-local.
5061 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5062 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5063 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5064 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5065 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5066 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5067 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5068 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5069
5070 * ido.el (ido-completion-help): Fix up compiler warning.
5071
5072 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5073
5074 * frameset.el (frameset-p): Add autoload cookie.
5075 (frameset--jump-to-register): New function, based on code moved from
5076 register.el.
5077 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5078
5079 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5080 (frameset-restore, frameset-save, frameset-session-filter-alist):
5081 Remove declarations.
5082 (register-alist): Doc fix.
5083 (frameset-to-register): Move to frameset.el.
5084 (jump-to-register, describe-register-1): Remove frameset-specific code.
5085
5086 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * allout-widgets.el (allout-widgets-pre-command-business)
5089 (allout-widgets-post-command-business)
5090 (allout-widgets-after-change-handler)
5091 (allout-decorate-item-and-context, allout-set-boundary-marker)
5092 (allout-body-modification-handler)
5093 (allout-graphics-modification-handler): Mark ignored arguments.
5094 (allout-widgets-post-command-business)
5095 (allout-widgets-exposure-change-processor)
5096 (allout-widgets-exposure-undo-processor)
5097 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5098 (allout-parse-item-at-point, allout-decorate-item-guides)
5099 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5100 * allout.el (epa-passphrase-callback-function): Declare.
5101 (allout-overlay-insert-in-front-handler)
5102 (allout-overlay-interior-modification-handler)
5103 (allout-isearch-end-handler, allout-chart-siblings)
5104 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5105 (allout-yank-processing, allout-process-exposed)
5106 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5107 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5108 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5109 (lisp-indent-defform): Mark ignored arguments.
5110 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5111 (calculate-lisp-indent): Remove unused variables.
5112 * international/characters.el (indian-2-column, arabic-2-column)
5113 (tibetan): Mark ignored arguments.
5114 (use-cjk-char-width-table): Mark ignored arguments.
5115 Remove unused variables.
5116 * international/fontset.el (build-default-fontset-data)
5117 (x-compose-font-name, create-fontset-from-fontset-spec):
5118 Mark ignored arguments.
5119 (fontset-plain-name): Remove unused variables.
5120 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5121 (keyboard-coding-system): Mark ignored arguments.
5122 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5123 * help.el (resize-temp-buffer-window):
5124 * window.el (display-buffer-in-major-side-window)
5125 (display-buffer-in-side-window, display-buffer-in-previous-window):
5126 Remove unused variables.
5127 * isearch.el (isearch-forward-symbol):
5128 * version.el (emacs-bzr-version-bzr):
5129 * international/mule-cmds.el (current-language-environment):
5130 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5131 (x-handle-display):
5132 * term/pc-win.el (x-list-fonts, x-display-planes)
5133 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5134 (x-server-version, x-display-screens, x-display-mm-height)
5135 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5136 (x-selection-owner-p, x-own-selection-internal)
5137 (x-disown-selection-internal, x-get-selection-internal)
5138 (msdos-initialize-window-system):
5139 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5140 * term/x-win.el (x-handle-no-bitmap-icon):
5141 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5142 (vc-default-find-file-hook, vc-default-extra-menu):
5143 Mark ignored arguments.
5144
5145 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5148 break-condition in the context of the debugged code (bug#12685).
5149
5150 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5151
5152 * comint.el:
5153 Do not use an overlay to highlight the last prompt. (Bug#14744)
5154 (comint-mode): Make comint-last-prompt buffer local.
5155 (comint-last-prompt): New variable.
5156 (comint-last-prompt-overlay): Remove. Superseded by
5157 comint-last-prompt.
5158 (comint-snapshot-last-prompt, comint-output-filter):
5159 Use comint-last-prompt.
5160
5161 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5162
5163 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5164 (frameset-save): Check validity of the resulting frameset.
5165
5166 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5167
5168 * ido.el (ido-record-command): Add doc string.
5169
5170 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5171
5172 * frameset.el (frameset): Do not disable creation of the default
5173 frameset-p predicate. Doc fix.
5174 (frameset-valid-p): New function, copied from the old predicate-p.
5175 Add additional checks.
5176 (frameset-restore): Check with frameset-valid-p.
5177 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5178 (frameset-name, frameset-description, frameset-properties)
5179 (frameset-states): Add docstring.
5180 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5181 (frameset-filter-alist): Doc fixes.
5182
5183 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5184
5185 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5186
5187 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5190 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5191 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5192 (byte-compile-normal-call): Remove obsolescence check.
5193
5194 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5195
5196 * frameset.el (frameset-restore): Doc fix.
5197
5198 * register.el (frameset-frame-id, frameset-frame-with-id)
5199 (frameset-p, frameset-restore, frameset-save): Declare.
5200 (register-alist): Document framesets.
5201 (frameset-session-filter-alist): Declare.
5202 (frameset-to-register): New function.
5203 (jump-to-register): Implement jumping to framesets. Doc fix.
5204 (describe-register-1): Describe framesets.
5205
5206 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5207
5208 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5209
5210 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5211 Use lexical-binding.
5212
5213 * frameset.el (frameset): Use type vector, not list (incompatible
5214 change). Do not declare a new constructor, use the default one.
5215 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5216 `name' and `description', respectively, and add read-only slot
5217 `timestamp'. Doc fixes.
5218 (frameset-copy, frameset-persistent-filter-alist)
5219 (frameset-filter-alist, frameset-switch-to-gui-p)
5220 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5221 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5222 (frameset-filter-iconified, frameset-keep-original-display-p):
5223 Doc fixes.
5224 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5225 Rename from frameset-filter-(save|restore)-param. All callers changed.
5226 Doc fix.
5227 (frameset-p): Adapt to change to vector and be more thorough.
5228 Change arg name to OBJECT. Doc fix.
5229 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5230 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5231 All callers changed.
5232 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5233 All callers changed.
5234 (frameset--record-minibuffer-relationships): Rename from
5235 frameset--process-minibuffer-frames. All callers changed.
5236 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5237 Use new default constructor (again). Doc fix.
5238 (frameset--find-frame-if): Rename from `frameset--find-frame.
5239 All callers changed.
5240 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5241 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5242 Doc fix.
5243 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5244 PARAMETERS and WINDOW-STATE, respectively.
5245 (frameset-restore): Add new keyword argument PREDICATE.
5246 Reset frameset--target-display to nil. Doc fix.
5247
5248 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5251 (bat-mode): Use it.
5252 (bat-mode-syntax-table): Mark \n as end-of-comment.
5253 (bat-font-lock-keywords): Remove comment rule.
5254
5255 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5256 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5257
5258 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5259 (byte-compile-callargs-warn): Use `push'.
5260 (byte-compile-arglist-warn): Ignore higher-order "calls".
5261 (byte-compile-file-form-autoload): Use `pcase'.
5262 (byte-compile-function-form): If quoting a symbol, check that it exists.
5263
5264 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5265
5266 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5267 and add a few popular commands found in batch files.
5268 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5269 (dos-mode): Doc fixes.
5270
5271 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5274 (dos-mode): Use setq-local. Add space after "rem".
5275 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5276 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5277
5278 2013-08-07 Arni Magnusson <arnima@hafro.is>
5279
5280 * progmodes/dos.el: New file.
5281 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5282 dos-mode.
5283
5284 2013-08-06 Glenn Morris <rgm@gnu.org>
5285
5286 * calendar/calendar.el: Add new faces, and day-header-array.
5287 (calendar-weekday-header, calendar-weekend-header)
5288 (calendar-month-header): New faces.
5289 (calendar-day-header-construct): New function.
5290 (calendar-day-header-width): Also :set calendar-day-header-array.
5291 (calendar-american-month-header, calendar-european-month-header)
5292 (calendar-iso-month-header): Use calendar- faces.
5293 (calendar-generate-month):
5294 Use calendar-day-header-array for day headers; apply faces to them.
5295 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5296 (calendar-abbrev-construct): Add optional maxlen argument.
5297 (calendar-day-name-array): Doc fix.
5298 (calendar-day-name-array, calendar-abbrev-length)
5299 (calendar-day-abbrev-array):
5300 Also :set calendar-day-header-array, and maybe redraw.
5301 (calendar-day-header-array): New option. (Bug#15007)
5302 (calendar-font-lock-keywords): Set to nil and make obsolete.
5303 (calendar-day-name): Add option to use header array.
5304
5305 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5306
5307 * net/shr.el (shr-render-td): Remove debugging.
5308 (shr-render-td): Make width computation consistent by defaulting
5309 all zero-width columns to 10 characters. This may not be optimal,
5310 but it's at least consistent.
5311 (shr-make-table-1): Redo last change to fix the real problem in
5312 colspan handling.
5313
5314 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5315
5316 * files.el (cache-long-line-scans):
5317 Make obsolete alias to `cache-long-scans'.
5318
5319 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5320
5321 * frameset.el (frameset, frameset-filter-alist)
5322 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5323 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5324 (frameset-compute-pos): Rename from frameset--compute-pos,
5325 and add docstring.
5326 (frameset-move-onscreen): Use frameset-compute-pos.
5327 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5328
5329 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5330 Fix typos in docstrings.
5331
5332 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5333
5334 * frame.el (get-other-frame): Tiny cleanup.
5335
5336 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5337
5338 * vc/vc.el (vc-default-ignore-completion-table):
5339 Silence byte-compiler warning.
5340
5341 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5342 slot , which can indeed be nil.
5343 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5344 Move entry for `left' from persistent to live filter alist.
5345 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5346 Doc fixes.
5347 (frameset-filter-params): When restoring a frame, copy items added to
5348 `filtered', to avoid unwittingly modifying the original parameters.
5349 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5350 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5351
5352 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5353 to use looking-at-p instead of looking-at. (Bug#15028)
5354
5355 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5356
5357 Revert introduction of isearch-filter-predicates (bug#14714).
5358 Rely on add-function instead.
5359 * isearch.el (isearch-filter-predicates): Rename it back to
5360 isearch-filter-predicate.
5361 (isearch-message-prefix): Use advice-function-mapc and advice
5362 properties to get the isearch-message-prefix.
5363 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5364 instead of run-hook-with-args-until-failure.
5365 (isearch-filter-visible): Not obsolete any more.
5366 * loadup.el: Preload nadvice.
5367 * replace.el (perform-replace): Revert to funcall
5368 instead of run-hook-with-args-until-failure.
5369 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5370 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5371 dired-isearch-filenames-toggle; make it into a proper minor mode.
5372 Use add/remove-function.
5373 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5374 Call the minor-mode rather than add/remove-hook.
5375 (dired-isearch-filter-filenames):
5376 Remove isearch-message-prefix property.
5377 * info.el (Info--search-loop): New function, extracted from Info-search.
5378 Funcall isearch-filter-predicate instead of
5379 run-hook-with-args-until-failure isearch-filter-predicates.
5380 (Info-search): Use it.
5381 (Info-mode): Use isearch-filter-predicate instead of
5382 isearch-filter-predicates.
5383
5384 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5385
5386 Do not call to `selected-window' where it is assumed by default.
5387 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5388 `window-hscroll', `window-width', `window-height', `window-buffer',
5389 `window-frame', `window-start', `window-point', `next-window'
5390 and `window-display-table'.
5391 * abbrev.el (abbrev--default-expand):
5392 * bs.el (bs--show-with-configuration):
5393 * buff-menu.el (Buffer-menu-mouse-select):
5394 * calc/calc.el (calc):
5395 * calendar/calendar.el (calendar-generate-window):
5396 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5397 (diary-make-entry):
5398 * comint.el (send-invisible, comint-dynamic-complete-filename)
5399 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5400 * completion.el (complete):
5401 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5402 * disp-table.el (describe-current-display-table):
5403 * doc-view.el (doc-view-insert-image):
5404 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5405 * ehelp.el (with-electric-help):
5406 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5407 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5408 * emacs-lisp/helper.el (Helper-help-scroller):
5409 * emulation/cua-base.el (cua--post-command-handler-1):
5410 * eshell/esh-mode.el (eshell-output-filter):
5411 * ffap.el (ffap-gnus-wrapper):
5412 * help-macro.el (make-help-screen):
5413 * hilit-chg.el (highlight-compare-buffers):
5414 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5415 * hl-line.el (global-hl-line-highlight):
5416 * icomplete.el (icomplete-simple-completing-p):
5417 * isearch.el (isearch-done):
5418 * jit-lock.el (jit-lock-stealth-fontify):
5419 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5420 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5421 * mpc.el (mpc-tagbrowser, mpc):
5422 * net/rcirc.el (rcirc-any-buffer):
5423 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5424 * play/landmark.el (landmark-max-width, landmark-max-height):
5425 * play/zone.el (zone):
5426 * progmodes/compile.el (compilation-goto-locus):
5427 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5428 * progmodes/etags.el (find-tag-other-window):
5429 * progmodes/fortran.el (fortran-column-ruler):
5430 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5431 * progmodes/verilog-mode.el (verilog-point-text):
5432 * reposition.el (reposition-window):
5433 * rot13.el (toggle-rot13-mode):
5434 * server.el (server-switch-buffer):
5435 * shell.el (shell-dynamic-complete-command)
5436 (shell-dynamic-complete-environment-variable):
5437 * simple.el (insert-buffer, set-selective-display)
5438 (delete-completion-window):
5439 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5440 (speedbar-recenter):
5441 * startup.el (fancy-splash-head):
5442 * textmodes/ispell.el (ispell-command-loop):
5443 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5444 * tutorial.el (help-with-tutorial):
5445 * vc/add-log.el (add-change-log-entry):
5446 * vc/compare-w.el (compare-windows):
5447 * vc/ediff-help.el (ediff-indent-help-message):
5448 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5449 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5450 (ediff-setup-control-frame):
5451 * vc/emerge.el (emerge-position-region):
5452 * vc/pcvs-util.el (cvs-bury-buffer):
5453 * window.el (walk-windows, mouse-autoselect-window-select):
5454 * winner.el (winner-set-conf, winner-undo): Related users changed.
5455
5456 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5457
5458 * frameset.el (frameset--set-id): Doc fix.
5459 (frameset-frame-id, frameset-frame-id-equal-p)
5460 (frameset-locate-frame-id): New functions.
5461 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5462 (frameset-restore): Use them.
5463
5464 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5465
5466 Do not call to `selected-frame' where it is assumed by default.
5467 Affected functions are `raise-frame', `redraw-frame',
5468 `frame-first-window', `frame-terminal' and `delete-frame'.
5469 * calendar/appt.el (appt-disp-window):
5470 * epg.el (epg-wait-for-completion):
5471 * follow.el (follow-delete-other-windows-and-split)
5472 (follow-avoid-tail-recenter):
5473 * international/mule.el (set-terminal-coding-system):
5474 * mail/rmail.el (rmail-mail-return):
5475 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5476 * progmodes/f90.el (f90-add-imenu-menu):
5477 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5478 * server.el (server-switch-buffer):
5479 * simple.el (delete-completion-window):
5480 * talk.el (talk):
5481 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5482 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5483 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5484 * vc/ediff.el (ediff-documentation): Related users changed.
5485 * frame.el (selected-terminal): Remove the leftover.
5486
5487 2013-08-05 Glenn Morris <rgm@gnu.org>
5488
5489 * calendar/calendar.el (calendar-generate-month):
5490 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5491 (calendar-generate-month, calendar-font-lock-keywords):
5492 Fix for calendar-day-header-width > length of any day name.
5493
5494 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5495
5496 * desktop.el (desktop-clear): Use new name of sort predicate.
5497
5498 * frameset.el (frameset): Add docstring. Move :version property to its
5499 own `version' slot.
5500 (frameset-copy): Rename from copy-frameset.
5501 (frameset-p): Check more thoroughly.
5502 (frameset-prop): Do not check for :version, which is no longer a prop.
5503 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5504 Use new :never value instead of t.
5505 (frameset-filter-alist): Expand and clarify docstring.
5506 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5507 (frameset-filter-minibuffer, frameset-filter-save-param)
5508 (frameset-filter-restore-param, frameset-filter-iconified):
5509 Add pointer to docstring of frameset-filter-alist.
5510 (frameset-filter-params): Rename filter values to be more meaningful:
5511 :never instead of t, and reverse the meanings of :save and :restore.
5512 (frameset--process-minibuffer-frames): Clarify error message.
5513 (frameset-save): Avoid unnecessary and confusing call to framep.
5514 Use new BOA constructor for framesets.
5515 (frameset--reuse-list): Doc fix.
5516 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5517 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5518 (frameset-minibufferless-first-p): Doc fix.
5519 Rename from frameset-sort-frames-for-deletion.
5520 (frameset-restore): Doc fixes. Use new function names.
5521 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5522
5523 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * desktop.el (desktop-restore-forces-onscreen)
5526 (desktop-restore-reuses-frames): Document :keyword constant values.
5527 (desktop-filter-parameters-alist): Remove, now identical to
5528 frameset-filter-alist.
5529 (desktop--filter-tty*): Remove, moved to frameset.el.
5530 (desktop-save-frameset, desktop-restore-frameset):
5531 Do not pass :filters argument.
5532
5533 * frameset.el (frameset-live-filter-alist)
5534 (frameset-persistent-filter-alist): New variables.
5535 (frameset-filter-alist): Use them. Add autoload cookie.
5536 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5537 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5538 `frameset--id' (it's supposed to be internal to frameset.el).
5539 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5540 (frameset--initial-params): New function.
5541 (frameset--get-frame): Use it. Doc fix.
5542 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5543 Accept :all, not 'all.
5544 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5545 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5546 with fbound symbols. Fix frame id matching, and remove matching ids if
5547 the frame being restored is deleted. Obey :delete.
5548
5549 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * subr.el (macrop): New function.
5552 (text-clone--maintaining): New var.
5553 (text-clone--maintain): Rename from text-clone-maintain. Use it
5554 instead of inhibit-modification-hooks.
5555
5556 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5557 a proxy, so as handle autoloads and redefinitions of the target.
5558 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5559
5560 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5561 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5562 (pcase--mutually-exclusive-p): New function.
5563 (pcase--split-consp): Use it.
5564 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5565 mutually exclusive with the current predicate.
5566
5567 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5568 (edebug-macrop): Remove. Use `macrop' instead.
5569 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5570 (ad-macro-p):
5571 * eshell/esh-cmd.el (eshell-macrop):
5572 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5573
5574 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5577 (advice-mapc): New function, using it.
5578 (advice-function-member-p): New function.
5579 (advice--normalize): Store the cdr in advice--saved-rewrite since
5580 that's the part that will be changed.
5581 (advice--symbol-function): New function.
5582 (advice-remove): Handle removal before the function is defined.
5583 Adjust to new advice--saved-rewrite.
5584 (advice-member-p): Use advice-function-member-p and
5585 advice--symbol-function.
5586
5587 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5588
5589 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5590 (frameset-filter-minibuffer): Doc fix.
5591 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5592 (frameset--set-id, frameset--process-minibuffer-frames)
5593 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5594 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5595
5596 * desktop.el (desktop-clear): Only delete frames when called
5597 interactively and desktop-restore-frames is non-nil. Doc fix.
5598 (desktop-read): Set desktop-saved-frameset to nil.
5599
5600 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5601
5602 * vc/vc.el (vc-ignore): Rewrite.
5603 (vc-default-ignore-completion-table):
5604 (vc--read-lines):
5605 (vc--add-line, vc--remove-regexp): New functions.
5606
5607 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5608 (vc-svn-ignore-completion-table): New function.
5609
5610 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5611 (vc-hg-ignore-completion-table):
5612 (vc-hg-find-ignore-file): New functions.
5613
5614 * vc/vc-git.el (vc-git-ignore): Rewrite.
5615 (vc-git-ignore-completion-table):
5616 (vc-git-find-ignore-file): New functions.
5617
5618 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5619
5620 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5621 (vc-bzr-ignore-completion-table):
5622 (vc-bzr-find-ignore-file): New functions.
5623
5624 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * frameset.el (frameset-prop): New function and setter.
5627 (frameset-save): Do not modify frame list passed by the caller.
5628
5629 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5632
5633 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5636 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5637
5638 * custom.el (custom-initialize-default, custom-initialize-set)
5639 (custom-initialize-reset, custom-initialize-changed): Affect the
5640 toplevel-default-value (bug#6275, bug#14586).
5641 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5642 for bug#6275.
5643
5644 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5645
5646 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5647 Add cl-def* expressions.
5648
5649 * frameset.el (frameset-filter-params): Fix order of arguments.
5650
5651 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5652
5653 Move code related to saving frames to frameset.el.
5654 * desktop.el: Require frameset.
5655 (desktop-restore-frames): Doc fix.
5656 (desktop-restore-reuses-frames): Rename from
5657 desktop-restoring-reuses-frames.
5658 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5659 (desktop-clear): Clear frames too.
5660 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5661 (desktop--filter-tty*, desktop-save, desktop-read):
5662 Use frameset functions.
5663 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5664 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5665 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5666 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5667 (desktop--process-minibuffer-frames, desktop-save-frames)
5668 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5669 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5670 (desktop--sort-states, desktop-restoring-frames-p)
5671 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5672 (desktop-restoring-frameset-p, desktop-restore-frameset)
5673 (desktop--check-dont-save, desktop-save-frameset): New functions.
5674 (desktop--app-id): New constant.
5675 (desktop-first-buffer, desktop-buffer-ok-count)
5676 (desktop-buffer-fail-count): Move before first use.
5677 * frameset.el: New file.
5678
5679 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * files.el: Use lexical-binding.
5682 (dir-locals-read-from-file): Remove unused `err' variable.
5683 (hack-dir-local-variables--warned-coding): New var.
5684 (hack-dir-local-variables): Use it to avoid repeated warnings.
5685 (make-backup-file-name--default-function): New function.
5686 (make-backup-file-name-function): Use it as default.
5687 (buffer-stale--default-function): New function.
5688 (buffer-stale-function): Use it as default.
5689 (revert-buffer-insert-file-contents--default-function): New function.
5690 (revert-buffer-insert-file-contents-function): Use it as default.
5691 (insert-directory): Avoid add-to-list.
5692
5693 * autorevert.el (auto-revert-handler): Simplify.
5694 Use buffer-stale--default-function.
5695
5696 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5697
5698 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5699
5700 * whitespace.el (whitespace-ensure-local-variables): New function.
5701 (whitespace-cleanup-region): Call it.
5702 (whitespace-turn-on): Call it.
5703
5704 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5705
5706 Complete file name handlers.
5707
5708 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5709 (tramp-handle-verify-visited-file-modtime)
5710 (tramp-handle-file-notify-rm-watch): New functions.
5711 (tramp-call-process): Do not bind `default-directory'.
5712
5713 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5714 Order alphabetically.
5715 [access-file, add-name-to-file, dired-call-process]:
5716 [dired-compress-file, file-acl, file-notify-rm-watch]:
5717 [file-ownership-preserved-p, file-selinux-context]:
5718 [make-directory-internal, make-symbolic-link, set-file-acl]:
5719 [set-file-selinux-context, set-visited-file-modtime]:
5720 [verify-visited-file-modtime]: Add handler.
5721 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5722
5723 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5724 [file-notify-add-watch, file-notify-rm-watch]:
5725 [set-file-times, set-visited-file-modtime]:
5726 [verify-visited-file-modtime]: Add handler.
5727 (with-tramp-gvfs-error-message)
5728 (tramp-gvfs-handle-set-visited-file-modtime)
5729 (tramp-gvfs-fuse-file-name): Remove.
5730 (tramp-gvfs-handle-file-notify-add-watch)
5731 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5732 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5733
5734 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5735 Order alphabetically.
5736 [file-notify-rm-watch ]: Use default Tramp handler.
5737 [executable-find]: Remove private handler.
5738 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5739 `default-directory'.
5740 (tramp-sh-handle-executable-find)
5741 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5742 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5743 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5744 Do not use `format' in `tramp-message'.
5745
5746 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5747 [file-notify-rm-watch, set-visited-file-modtime]:
5748 [verify-visited-file-modtime]: Add handler.
5749 (tramp-smb-call-winexe): Do not bind `default-directory'.
5750
5751 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5752
5753 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5754
5755 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5756
5757 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5758 use it.
5759 (log-view-diff-changeset): Same.
5760 (log-view-diff-common): Call backend command `previous-revision'
5761 to find out the previous revision, in both cases. Swap the
5762 variables `to' and `fr', so that `fr' usually refers to the
5763 earlier revision (Bug#14989).
5764
5765 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5766
5767 * ibuf-ext.el (ibuffer-filter-by-filename):
5768 Make it work with dired buffers too.
5769
5770 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5771
5772 * emacs-lisp/re-builder.el (reb-color-display-p):
5773 * files.el (save-buffers-kill-terminal):
5774 * net/browse-url.el (browse-url):
5775 * server.el (server-save-buffers-kill-terminal):
5776 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5777 Prefer nil to selected-frame for the first arg of frame-parameter.
5778
5779 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5780
5781 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5782
5783 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5784
5785 * minibuffer.el (completion--twq-all): Try and preserve each
5786 completion's case choice (bug#14907).
5787
5788 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5789
5790 * net/network-stream.el (open-network-stream): Mention the new
5791 :nogreeting parameter.
5792 (network-stream-open-starttls): Use the :nogreeting parameter
5793 (bug#14938).
5794
5795 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5796
5797 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5798 more natural than popping.
5799
5800 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5801 (shr-urlify): Highlight under mouse.
5802
5803 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5804
5805 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5806
5807 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5808
5809 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5810 buffer for output.
5811
5812 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5813 point-min==1. Fix search string. Fix parentheses missing.
5814
5815 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5816 assume point-min==1. Fix search string. Fix parentheses missing.
5817
5818 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5819
5820 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5821 buffer for output.
5822
5823 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5824
5825 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5826 initial frame is minibuffer-less. (Bug#14841)
5827
5828 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5829
5830 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5831 option.
5832
5833 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5834 (tramp-maybe-open-connection): Use it.
5835
5836 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5839 minimal set of parameters passed when creating a frame, because
5840 the minibuffer status of a frame cannot be changed later.
5841
5842 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5843
5844 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5845 replace-regexp-in-string and inadvertent omissions in previous change.
5846 (todo-filter-items): Ensure only file names are comma-separated in
5847 name of filtered items buffer.
5848
5849 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5850
5851 * desktop.el: Optionally force offscreen frames back onscreen.
5852 (desktop-restoring-reuses-frames): New option.
5853 (desktop--compute-pos, desktop--move-onscreen): New functions.
5854 (desktop--make-frame): Use desktop--move-onscreen.
5855
5856 2013-07-27 Alan Mackenzie <acm@muc.de>
5857
5858 Fontify a Java generic method as a function.
5859 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5860 value to t.
5861
5862 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5863
5864 * calendar/todo-mode.el: Add command to rename todo files.
5865 (todo-rename-file): New command.
5866 (todo-key-bindings-t): Add key binding for it. Change the
5867 bindings of todo-filter-regexp-items(-multifile) to use `x'
5868 instead of `r', since the latter is better suited to the new
5869 renaming command.
5870
5871 2013-07-27 Alan Mackenzie <acm@muc.de>
5872
5873 Make Java try-with-resources statement parse properly.
5874 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5875 (c-block-stmt-1-2-key): New language constants/variables.
5876 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5877 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5878 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5879 with c-block-stmt-1-2-key.
5880
5881 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * desktop.el (desktop--make-frame): Apply most frame parameters after
5884 creating the frame to force (partially or totally) offscreen frames to
5885 be restored as such.
5886
5887 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5888
5889 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5890 (Bug#14948)
5891
5892 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5893
5894 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5895 `base' arg of backtrace-frame.
5896
5897 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5898
5899 * simple.el (list-processes): Doc fix.
5900
5901 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5902
5903 * desktop.el (desktop--select-frame):
5904 Try harder to reuse existing frames.
5905
5906 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5909 (edebug-eval): Use backtrace-eval.
5910 (edebug--display, edebug--recursive-edit): Don't let-bind the
5911 edebug-outer-* vars that keep track of variables we locally let-bind.
5912 (edebug-outside-excursion): Don't restore outside values of locally
5913 let-bound vars.
5914 (edebug--display): Use user-error.
5915 (cl-lexical-debug, cl-debug-env): Remove.
5916
5917 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5918
5919 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5920 are restored to be sure that they are visible before deleting any
5921 remaining ones.
5922
5923 2013-07-26 Matthias Meulien <orontee@gmail.com>
5924
5925 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5926 vc-print-root-log. (Bug#14948)
5927
5928 2013-07-26 Richard Stallman <rms@gnu.org>
5929
5930 Add aliases for encrypting mail.
5931 * epa.el (epa-mail-aliases): New option.
5932 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5933 Bind inhibit-read-only so read-only text doesn't ruin everything.
5934 (epa-mail-default-recipients): New subroutine broken out.
5935 Handle epa-mail-aliases.
5936
5937 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 Add support for lexical variables to the debugger's `e' command.
5940 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5941 vars, except for debugger-outer-match-data.
5942 (debugger-frame-number): Move check for "on a function call" from
5943 callers into it. Add `skip-base' argument.
5944 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5945 (debugger-env-macro): Only reset the state stored in non-variables,
5946 i.e. current-buffer and match-data.
5947 (debugger-eval-expression): Rewrite using backtrace-eval.
5948 * subr.el (internal--called-interactively-p--get-frame): Remove.
5949 (called-interactively-p):
5950 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5951 `base' arg of backtrace-frame instead.
5952
5953 2013-07-26 Glenn Morris <rgm@gnu.org>
5954
5955 * align.el (align-regexp): Doc fix. (Bug#14857)
5956 (align-region): Explicit error if subexpression missing/does not match.
5957
5958 * simple.el (global-visual-line-mode):
5959 Do not duplicate the mode lighter. (Bug#14858)
5960
5961 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5962
5963 * window.el (display-buffer): In display-buffer bind
5964 split-window-keep-point to t, bug#14829.
5965
5966 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5967
5968 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5969 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5970 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5971 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5972 Change accordingly.
5973 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5974 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5975
5976 2013-07-25 Glenn Morris <rgm@gnu.org>
5977
5978 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5979
5980 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5981
5982 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5983 parameter to modify-frame-parameters if the value has not changed;
5984 this is a workaround for bug#14949.
5985 (desktop--make-frame): On cl-delete-if call, check parameter name,
5986 not full parameter.
5987
5988 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5989
5990 * vc/vc.el (vc-ignore): New function.
5991
5992 * vc/vc-svn.el (vc-svn-ignore): New function.
5993
5994 * vc/vc-hg.el (vc-hg-ignore): New function.
5995
5996 * vc/vc-git.el (vc-git-ignore): New function.
5997
5998 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5999 (vc-dir-ignore): New function.
6000
6001 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6002 (cvs-append-to-ignore): Move here from pcvs.el.
6003
6004 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6005
6006 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6007
6008 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6009
6010 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6011 (desktop-restore-frames): Warn when deleting an existing frame failed.
6012
6013 2013-07-24 Glenn Morris <rgm@gnu.org>
6014
6015 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6016
6017 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * filenotify.el (file-notify-supported-p):
6020 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6021 Remove functions.
6022
6023 * autorevert.el (auto-revert-use-notify):
6024 (auto-revert-notify-add-watch):
6025 * net/tramp.el (tramp-file-name-for-operation):
6026 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6027 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6028 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6029 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6030 Remove `file-notify-supported-p' entry.
6031
6032 2013-07-24 Glenn Morris <rgm@gnu.org>
6033
6034 * printing.el: Replace all uses of deleted ps-windows-system,
6035 ps-lp-system, ps-flatten-list with lpr- versions.
6036
6037 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6040 checked with memq (bug#14935).
6041
6042 * files.el (revert-buffer-function): Use a non-nil default.
6043 (revert-buffer-preserve-modes): Declare var to
6044 provide access to the `preserve-modes' argument.
6045 (revert-buffer): Let-bind it.
6046 (revert-buffer--default): New function, extracted from revert-buffer.
6047
6048 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * lpr.el: Signal print errors more prominently.
6051 (print-region-function): Don't default to nil.
6052 (lpr-print-region): New function, extracted from print-region-1.
6053 Check lpr's return value and signal an error in case of problem.
6054 (print-region-1): Use it.
6055 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6056 versions instead.
6057 (ps-printer-name): Default to nil.
6058 (ps-printer-name-option): Default to lpr-printer-switch.
6059 (ps-print-region-function): Don't default to nil.
6060 (ps-postscript-code-directory): Simplify default.
6061 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6062 (ps-string-list, ps-eval-switch, ps-flatten-list)
6063 (ps-flatten-list-1): Remove.
6064 (ps-multibyte-buffer): Avoid setq.
6065 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6066 (print-region-function, ps-print-region-function): Don't set them here.
6067
6068 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6069
6070 * ido.el (ido-fractionp):
6071 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6072 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6073 (ido-max-directory-size, ido-max-dir-file-cache)
6074 (ido-decorations): Doc fix.
6075
6076 * ansi-color.el: Fix old URL.
6077
6078 2013-07-23 Michael R. Mauger <michael@mauger.com>
6079
6080 * progmodes/sql.el: Version 3.3
6081 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6082 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6083 (sql-interactive-remove-continuation-prompt): Rewrite, use
6084 functions above. Fix continuation prompt and complete output line
6085 handling.
6086 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6087 redirected output buffer.
6088 (sql-mode): Restore deleted code (Bug#13591).
6089
6090 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6091
6092 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6093
6094 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6095
6096 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6097
6098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6099 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6100 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6101
6102 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6103
6104 * desktop.el (desktop-clear): Simplify; remove useless checks
6105 against invalid buffer names.
6106 (desktop-list*): Use cl-list*.
6107 (desktop-buffer-info, desktop-create-buffer): Simplify.
6108
6109 2013-07-23 Leo Liu <sdl.web@gmail.com>
6110
6111 * bookmark.el (bookmark-make-record): Restore NAME as a default
6112 value. (Bug#14933)
6113
6114 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6117 extracted from autoload--insert-text.
6118 (autoload--insert-text): Remove.
6119 (autoload--print-cookie-text): New function, extracted from
6120 autoload--insert-cookie-text.
6121 (autoload--insert-cookie-text): Remove.
6122 (autoload-generate-file-autoloads): Adjust calls accordingly.
6123
6124 * winner.el (winner-hook-installed-p): Remove.
6125 (winner-mode): Simplify accordingly.
6126
6127 * subr.el (add-to-list): Fix compiler-macro when `append' is
6128 not constant. Don't use `cl-member' for the base case.
6129
6130 * progmodes/subword.el: Fix boundary case (bug#13758).
6131 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6132 own group.
6133 (subword-backward-regexp): Make it a constant.
6134 (subword-forward-internal): Don't treat a trailing capital as the
6135 beginning of a word.
6136
6137 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6138
6139 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6140 global value of tabulated-list-revert-hook (bug#14930).
6141
6142 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6143
6144 * desktop.el: Require 'cl-lib.
6145 (desktop-before-saving-frames-functions): New hook.
6146 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6147 for frames being saved. Rename from desktop--save-minibuffer-frames.
6148 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6149 Do not save frames with non-nil `desktop-dont-save' parameter.
6150 Filter out deleted frames.
6151 (desktop--find-frame): Use cl-find-if.
6152 (desktop--select-frame): Use cl-(first|second|third) to access values
6153 of desktop-mini.
6154 (desktop--make-frame): Use cl-delete-if.
6155 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6156 (desktop-restore-frames): Use cl-(first|second|third) to access values
6157 of desktop-mini. Look for visible frame at the end, not while
6158 restoring frames.
6159
6160 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6161 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6162 Use string-match-p, looking-at-p (bug#14927).
6163
6164 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6165
6166 * desktop.el (desktop-saved-frame-states):
6167 Rename from desktop--saved-states; all users changed.
6168 (desktop-save-frames): Rename from desktop--save-frames.
6169 Do not save state to desktop file.
6170 (desktop-save): Save desktop-saved-frame-states to desktop file
6171 and reset to nil.
6172 (desktop-restoring-frames-p): New function.
6173 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6174 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6175 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6176
6177 * desktop.el: Correctly restore iconified frames.
6178 (desktop--filter-iconified-position): New function.
6179 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6180
6181 2013-07-20 Glenn Morris <rgm@gnu.org>
6182
6183 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6184 Let `message' do the formatting.
6185 (def-gdb-preempt-display-buffer): Add explicit format.
6186
6187 * image-dired.el (image-dired-track-original-file):
6188 Use with-current-buffer.
6189 (image-dired-track-thumbnail): Use with-current-buffer.
6190 Avoid changing point of wrong window.
6191
6192 * image-dired.el (image-dired-track-original-file):
6193 Avoid changing point of wrong window. (Bug#14909)
6194
6195 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6196
6197 * progmodes/gdb-mi.el (gdb-done-or-error):
6198 Guard against "%" in gdb output. (Bug#14127)
6199
6200 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6201
6202 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6203 (Bug#14826)
6204
6205 * international/mule.el (coding-system-iso-2022-flags): Fix last
6206 change.
6207
6208 2013-07-20 Kenichi Handa <handa@gnu.org>
6209
6210 * international/mule.el (coding-system-iso-2022-flags):
6211 Add `8-bit-level-4'. (Bug#8522)
6212
6213 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6214
6215 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6216 (bug#14815).
6217
6218 * net/eww.el (eww-process-text-input): Allow inputting when the
6219 point is at the start of the line, as the properties aren't
6220 front-sticky.
6221
6222 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6223 degenerate widths.
6224
6225 2013-07-19 Richard Stallman <rms@gnu.org>
6226
6227 * epa.el (epa-popup-info-window): Doc fix.
6228
6229 * subr.el (split-string): New arg TRIM.
6230
6231 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6234 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6235
6236 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6237
6238 * filenotify.el (file-notify--library): Rename from
6239 `file-notify-support'. Do not autoload. Adapt all uses.
6240 (file-notify-supported-p): New defun.
6241
6242 * autorevert.el (auto-revert-use-notify):
6243 Use `file-notify-supported-p' instead of `file-notify-support'.
6244 Adapt docstring.
6245 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6246
6247 * net/tramp.el (tramp-file-name-for-operation):
6248 Add `file-notify-supported-p'.
6249
6250 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6251 New defun.
6252 (tramp-sh-file-name-handler-alist): Add it as handler for
6253 `file-notify-supported-p '.
6254
6255 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6256 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6257 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6258 Add `ignore' as handler for `file-notify-*' functions.
6259
6260 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6261
6262 * simple.el (line-move-partial, line-move): Don't start vscroll or
6263 scroll-up if the current line is not taller than the window.
6264 (Bug#14881)
6265
6266 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6267
6268 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6269 highlight question marks in the method names as strings.
6270 (ruby-block-beg-keywords): Inline.
6271 (ruby-font-lock-keyword-beg-re): Extract from
6272 `ruby-font-lock-keywords'.
6273
6274 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6275
6276 * frame.el (blink-cursor-blinks): New defcustom.
6277 (blink-cursor-blinks-done): New defvar.
6278 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6279 (blink-cursor-timer-function): Check if number of blinks has been
6280 done on X and NS.
6281 (blink-cursor-suspend, blink-cursor-check): New defuns.
6282
6283 2013-07-15 Glenn Morris <rgm@gnu.org>
6284
6285 * edmacro.el (edmacro-format-keys): Fix previous change.
6286
6287 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6288
6289 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6290 The hack didn't work outside English locales anyway.
6291
6292 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * simple.el (define-alternatives): Rename from alternatives-define,
6295 per RMS' suggestion.
6296
6297 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6298
6299 * desktop.el (desktop-restore-frames): Change default to t.
6300 (desktop-restore-in-current-display): Now offer more options.
6301 (desktop-restoring-reuses-frames): New customization option.
6302 (desktop--saved-states): Doc fix.
6303 (desktop-filter-parameters-alist): New variable, renamed and expanded
6304 from desktop--excluded-frame-parameters.
6305 (desktop--target-display): New variable.
6306 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6307 (desktop--filter-tty*, desktop--filter-*-color)
6308 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6309 (desktop--filter-save-desktop-parm)
6310 (desktop-restore-in-original-display-p): New functions.
6311 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6312 (desktop--save-minibuffer-frames): New function, inspired by a similar
6313 function from Martin Rudalics.
6314 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6315 (desktop--restore-in-this-display-p): Remove.
6316 (desktop--find-frame): Rename from desktop--find-frame-in-display
6317 and add predicate argument.
6318 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6319 (desktop--reuse-list): New variable.
6320 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6321 New functions.
6322 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6323
6324 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6325
6326 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6327
6328 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6329
6330 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6331 Highlight conversion methods on Kernel.
6332
6333 2013-07-13 Alan Mackenzie <acm@muc.de>
6334
6335 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6336 and comment it out. This out-commenting enables certain C++
6337 declarations to be parsed correctly.
6338
6339 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6340
6341 * international/mule.el (define-coding-system): Doc fix.
6342
6343 * simple.el (default-font-height): Don't call font-info if the
6344 frame's default font didn't change since the frame was created.
6345 (Bug#14838)
6346
6347 2013-07-13 Leo Liu <sdl.web@gmail.com>
6348
6349 * ido.el (ido-read-file-name): Guard against non-symbol value.
6350
6351 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6352
6353 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6354 in nested defuns.
6355
6356 2013-07-13 Leo Liu <sdl.web@gmail.com>
6357
6358 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6359 ido-set-matches call. (Bug#6852)
6360
6361 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6362
6363 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6364 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6365 Ruby 2.0.
6366 (ruby-font-lock-keywords): Distinguish calls to functions with
6367 module-like names from module references. Highlight character
6368 literals.
6369
6370 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6371
6372 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6373 (gdb-send): Handle continued commands. (Bug#14847)
6374
6375 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * desktop.el (desktop--v2s): Remove unused local variable.
6378 (desktop-save-buffer): Make defvar-local; adjust docstring.
6379 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6380 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6381
6382 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6383
6384 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6385
6386 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6387
6388 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6389 (Bug#14842)
6390
6391 2013-07-12 Glenn Morris <rgm@gnu.org>
6392
6393 * doc-view.el: Require cl-lib at runtime too.
6394 (doc-view-remove-if): Remove.
6395 (doc-view-search-next-match, doc-view-search-previous-match):
6396 Use cl-remove-if.
6397
6398 * edmacro.el: Require cl-lib at runtime too.
6399 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6400 (edmacro-mismatch, edmacro-subseq): Remove.
6401
6402 * shadowfile.el: Require cl-lib.
6403 (shadow-remove-if): Remove.
6404 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6405 Use cl-remove-if.
6406
6407 * wid-edit.el: Require cl-lib.
6408 (widget-choose): Use cl-remove-if.
6409 (widget-remove-if): Remove.
6410
6411 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6412 (ebrowse-delete-if-not): Remove.
6413 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6414 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6415 Use cl-delete-if-not.
6416
6417 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6420 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6421
6422 2013-07-12 Leo Liu <sdl.web@gmail.com>
6423
6424 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6425
6426 2013-07-11 Glenn Morris <rgm@gnu.org>
6427
6428 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6429 (edebug-gensym-index, edebug-gensym):
6430 Remove reimplementation of cl-gensym.
6431 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6432
6433 * thumbs.el: Require cl-lib at run-time too.
6434 (thumbs-gensym-counter, thumbs-gensym):
6435 Remove reimplementation of cl-gensym.
6436 (thumbs-temp-file): Use cl-gensym.
6437
6438 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6439 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6440 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6441 (ert--union, ert--gensym-counter, ert--gensym-counter)
6442 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6443 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6444 (ert-make-test-unbound, ert--expand-should-1)
6445 (ert--expand-should, ert--should-error-handle-error)
6446 (should-error, ert--explain-equal-rec)
6447 (ert--plist-difference-explanation, ert-select-tests)
6448 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6449 Use cl-lib functions rather than reimplementations.
6450
6451 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6452
6453 * net/tramp.el (tramp-methods): Extend docstring.
6454 (tramp-connection-timeout): New defcustom.
6455 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6456 (with-tramp-progress-reporter): Simplify.
6457 (tramp-process-actions): Improve messages.
6458
6459 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6460 * net/tramp-sh.el (tramp-maybe-open-connection):
6461 Use `tramp-connection-timeout'.
6462 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6463 (Bug#14808)
6464
6465 2013-07-11 Leo Liu <sdl.web@gmail.com>
6466
6467 * ido.el (ido-read-file-name): Conform to the requirements of
6468 read-file-name. (Bug#11861)
6469 (ido-read-directory-name): Conform to the requirements of
6470 read-directory-name.
6471
6472 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6473
6474 * subr.el (delay-warning): New function.
6475
6476 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6477
6478 * simple.el (default-line-height): New function.
6479 (line-move-partial, line-move): Use it instead of computing the
6480 line height inline.
6481 (line-move-partial): Always compute ROWH. If the last line is
6482 partially-visible, but its text is completely visible, allow
6483 cursor to enter such a partially-visible line.
6484
6485 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6486
6487 Improve error messages. (Bug#14808)
6488
6489 * net/tramp.el (tramp-current-connection): New defvar, moved from
6490 tramp-sh.el.
6491 (tramp-message-show-progress-reporter-message): Remove, not
6492 needed anymore.
6493 (tramp-error-with-buffer): Show message in minibuffer.
6494 Discard input before waiting. Reset connection timestamp.
6495 (with-tramp-progress-reporter): Improve messages.
6496 (tramp-process-actions): Use progress reporter. Delete process in
6497 case of error. Improve messages.
6498
6499 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6500 Call `tramp-error-with-buffer' with vector and buffer.
6501 (tramp-current-connection): Remove.
6502 (tramp-maybe-open-connection): The car of
6503 `tramp-current-connection' are the first 3 slots of the vector.
6504
6505 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6506
6507 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6508 inside continued strings.
6509
6510 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6511
6512 Timestamp fixes for undo (Bug#14824).
6513 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6514
6515 2013-07-10 Leo Liu <sdl.web@gmail.com>
6516
6517 * files.el (require-final-newline): Allow safe local value.
6518 (Bug#14834)
6519
6520 2013-07-09 Leo Liu <sdl.web@gmail.com>
6521
6522 * ido.el (ido-read-directory-name): Handle fallback.
6523 (ido-read-file-name): Update DIR to ido-current-directory.
6524 (Bug#1516)
6525 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6526
6527 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6528
6529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6530 "autoload". Remove "warn lower camel case" section, previously
6531 commented out. Highlight negation char. Do not highlight the
6532 target in singleton method definitions.
6533
6534 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * faces.el (tty-setup-hook): Declare the hook.
6537
6538 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6539 and detect when a guard/pred depends on local vars (bug#14773).
6540 (pcase--u1): Adjust caller.
6541
6542 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6543
6544 * simple.el (line-move-partial, line-move): Account for
6545 line-spacing.
6546 (line-move-partial): Avoid setting vscroll when the last
6547 partially-visible line in window is of default height.
6548
6549 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6550
6551 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6552 been used a while.
6553
6554 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6555
6556 * subr.el (read-quoted-char): Remove unused local variable `char'.
6557
6558 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6559
6560 * ediff.el (ediff-version): Version update.
6561 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6562 (ediff-merge-with-ancestor-command, ediff-directories-command)
6563 (ediff-directories3-command, ediff-merge-directories-command)
6564 (ediff-merge-directories-with-ancestor-command): New functions.
6565 All are command-line interfaces to ediff: to facilitate calling
6566 Emacs with the appropriate ediff functions invoked.
6567
6568 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6569 (viper-save-kill-buffer): Check if buffer is modified.
6570
6571 * viper.el (viper-version): Version update.
6572 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6573
6574 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6577 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6578 (viper-intercept-ESC-key): Simplify.
6579 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6580 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6581 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6582 (viper-setup-ESC-to-escape): New functions.
6583 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6584 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6585
6586 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6587
6588 * simple.el (default-font-height, window-screen-lines):
6589 New functions.
6590 (line-move, line-move-partial): Use them instead of
6591 frame-char-height and window-text-height. This makes scrolling
6592 text smoother when the buffer's default face uses a font that is
6593 different from the frame's default font.
6594
6595 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6596
6597 * files.el (write-file): Do not display confirm dialog for NS,
6598 it does its own dialog, which can't be cancelled (Bug#14578).
6599
6600 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6601
6602 * simple.el (line-move-partial): Adjust the row returned by
6603 posn-at-point for the current window-vscroll. (Bug#14567)
6604
6605 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6606
6607 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6608 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6609 spaces.
6610
6611 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6612
6613 * window.el (window-state-put-stale-windows): New variable.
6614 (window--state-put-2): Save list of windows without matching buffer.
6615 (window-state-put): Remove "bufferless" windows if possible.
6616
6617 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6618
6619 * simple.el (alternatives-define): Remove leftover :group keyword.
6620 Tweak docstring.
6621
6622 2013-07-06 Leo Liu <sdl.web@gmail.com>
6623
6624 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6625 (ido-enable-virtual-buffers): New variable.
6626 (ido-buffer-internal, ido-toggle-virtual-buffers)
6627 (ido-make-buffer-list): Use it.
6628 (ido-exhibit): Support turning on and off virtual buffers
6629 automatically.
6630
6631 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * simple.el (alternatives-define): New macro.
6634
6635 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * subr.el (read-quoted-char): Use read-key.
6638 (sit-for): Let read-event decode tty input (bug#14782).
6639
6640 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6641
6642 * calendar/todo-mode.el: Add handling of file deletion, both by
6643 mode command and externally. Fix various related bugs.
6644 Clarify Commentary and improve some documentation strings and code.
6645 (todo-delete-file): New command.
6646 (todo-check-file): New function.
6647 (todo-show): Handle external deletion of the file we're trying to
6648 show (bug#14688). Replace called-interactively-p by an optional
6649 prefix argument to avoid problematic interaction with catch form
6650 when byte compiled (bug#14702).
6651 (todo-quit): Handle external deletion of the archive's todo file.
6652 Make sure the buffer that was visiting the archive file is still
6653 live before trying to bury it.
6654 (todo-category-completions): Handle external deletion of any
6655 category completion files.
6656 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6657 of todo files, in case of external deletion.
6658 (todo-add-file): Replace unnecessary setq by let-binding.
6659 (todo-find-archive): Check whether there are any archives.
6660 Replace unnecessary setq by let-binding.
6661 (todo-archive-done-item): Use find-file-noselect to get the
6662 archive buffer whether or not the archive already exists.
6663 Remove superfluous code. Use file size instead of buffer-file-name to
6664 check if the archive is new; if it is, update list of archives.
6665 (todo-default-todo-file): Allow nil to be a valid value for when
6666 there are no todo files.
6667 (todo-reevaluate-default-file-defcustom): Use corrected definition
6668 of todo-default-todo-file.
6669 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6670 (todo-delete-category, todo-show-categories-table)
6671 (todo-category-number): Clarify comment.
6672 (todo-filter-items): Clarify documentation string.
6673 (todo-show-current-file, todo-display-as-todo-file)
6674 (todo-reset-and-enable-done-separator): Tweak documentation string.
6675 (todo-done-separator): Make separator length window-width, since
6676 bug#2749 is now fixed.
6677
6678 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6679
6680 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6681 Support both "gvfs-monitor-dir" and "inotifywait".
6682 (tramp-sh-file-inotifywait-process-filter): Rename from
6683 `tramp-sh-file-notify-process-filter'.
6684 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6685 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6686
6687 2013-07-05 Leo Liu <sdl.web@gmail.com>
6688
6689 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6690
6691 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6692
6693 * frame.el (display-pixel-height, display-pixel-width)
6694 (display-mm-height, display-mm-width): Mention behavior on
6695 multi-monitor setups in docstrings.
6696 (w32-display-monitor-attributes-list): Declare function.
6697 (display-monitor-attributes-list): Use it.
6698
6699 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6700
6701 * filenotify.el: New package.
6702
6703 * autorevert.el (top): Require filenotify.el.
6704 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6705 instead.
6706 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6707 (auto-revert-notify-handler): Use `file-notify-*' functions.
6708
6709 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6710
6711 * net/tramp.el (tramp-file-name-for-operation):
6712 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6713
6714 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6715 for `file-notify-add-watch' and `file-notify-rm-watch'.
6716 (tramp-process-sentinel): Improve trace.
6717 (tramp-sh-handle-file-notify-add-watch)
6718 (tramp-sh-file-notify-process-filter)
6719 (tramp-sh-handle-file-notify-rm-watch)
6720 (tramp-get-remote-inotifywait): New defuns.
6721
6722 2013-07-03 Juri Linkov <juri@jurta.org>
6723
6724 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6725 call of `occur-read-primary-args' to interactive spec.
6726
6727 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6728 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6729
6730 2013-07-03 Matthias Meulien <orontee@gmail.com>
6731
6732 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6733 `Buffer-menu-multi-occur'. Add it to the menu.
6734 (Buffer-menu-mode): Document it in docstring.
6735 (Buffer-menu-multi-occur): New command. (Bug#14673)
6736
6737 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6738
6739 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6740 keywords and built-ins.
6741
6742 2013-07-03 Glenn Morris <rgm@gnu.org>
6743
6744 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6745
6746 Make info-xref checks case-sensitive by default
6747 * info.el (Info-find-node, Info-find-in-tag-table)
6748 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6749 Add option for exact case matching of nodes.
6750 * info-xref.el (info-xref): New custom group.
6751 (info-xref-case-fold): New option.
6752 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6753
6754 2013-07-03 Leo Liu <sdl.web@gmail.com>
6755
6756 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6757
6758 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6759
6760 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6761 middle of block statement initially, lower the depth. Remove
6762 FIXME comment, not longer valid. Remove middle of block statement
6763 detection, no need to do that anymore since we've been using
6764 `ruby-parse-region' here.
6765
6766 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6767
6768 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6769
6770 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6771
6772 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6773
6774 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6775
6776 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6777 (desktop-restore-in-current-display): New customization option.
6778 (desktop--excluded-frame-parameters): Add `font'.
6779 (desktop--save-frames): Rename from desktop--save-windows.
6780 (desktop--restore-in-this-display-p): New function.
6781 (desktop--make-full-frame): Remove unwanted width/height from
6782 full(width|height) frames.
6783 (desktop--restore-frames): Rename from desktop--restore-windows.
6784 Obey desktop-restore-current-display. Do not delete old frames or
6785 select a new frame unless we were able to restore at least one frame.
6786
6787 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6788
6789 * files.el (find-file-noselect): Simplify conditional expression.
6790
6791 * remember.el (remember-append-to-file):
6792 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6793
6794 Add `remember-notes' function to store random notes across Emacs
6795 restarts.
6796 * remember.el (remember-data-file): Add :set callback to affect
6797 notes buffer (if any).
6798 (remember-notes): New command.
6799 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6800 New defcustoms for the `remember-notes' function.
6801 (remember-notes-save-and-bury-buffer): New command.
6802 (remember-notes-mode-map): New variable.
6803 (remember-mode): New minor mode.
6804 (remember-notes--kill-buffer-query): New function.
6805 * startup.el (initial-buffer-choice): Add notes to custom type.
6806
6807 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6808
6809 * bindings.el (right-char, left-char): Don't call sit-for, this is
6810 no longer needed. Use arithmetic comparison only for numerical
6811 arguments.
6812
6813 * international/mule-cmds.el (select-safe-coding-system):
6814 Handle the case of FROM being a string correctly. (Bug#14755)
6815
6816 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6817
6818 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6819 progression on degenerate tables.
6820 (shr-rescale-image): ImageMagick animated images currently don't work.
6821
6822 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6823
6824 Some fixes and improvements for desktop frame restoration.
6825 It is still experimental and disabled by default.
6826 * desktop.el (desktop--save-windows): Put the selected frame at
6827 the head of the list.
6828 (desktop--make-full-frame): New function.
6829 (desktop--restore-windows): Try to re-select the frame that was
6830 selected upon saving. Do not abort if some frames fail to restore,
6831 just show an error message and continue. Set up maximized frames
6832 so they have default non-maximized dimensions.
6833
6834 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6835
6836 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6837 Don't start heredoc inside a string or comment.
6838
6839 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6840
6841 * bindings.el (visual-order-cursor-movement): New defcustom.
6842 (right-char, left-char): Provide visual-order cursor motion by
6843 calling move-point-visually. Update the doc strings.
6844
6845 2013-06-28 Kenichi Handa <handa@gnu.org>
6846
6847 * international/mule.el (define-coding-system): New coding system
6848 properties :inhibit-null-byte-detection,
6849 :inhibit-iso-escape-detection, and :prefer-utf-8.
6850 (set-buffer-file-coding-system): If :charset-list property of
6851 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6852 appropriate for setting.
6853
6854 * international/mule-cmds.el (select-safe-coding-system):
6855 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6856 multibyte characters, return utf-8 (or one of its siblings).
6857
6858 * international/mule-conf.el (prefer-utf-8): New coding system.
6859 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6860 files.
6861
6862 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6863
6864 * net/shr.el (shr-render-region): New function.
6865
6866 * net/eww.el: Autoload `eww-browse-url'.
6867
6868 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6869
6870 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6871 Adapt to `package-desc-version' being a list.
6872 Use `package--ac-desc-version' to retrieve version from a package
6873 archive element.
6874
6875 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6876
6877 New experimental feature to save&restore window and frame setup.
6878 * desktop.el (desktop-save-windows): New defcustom.
6879 (desktop--saved-states): New var.
6880 (desktop--excluded-frame-parameters): New defconst.
6881 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6882 (desktop--restore-windows, desktop--save-windows): New functions.
6883 (desktop-save): Call `desktop--save-windows'.
6884 (desktop-read): Call `desktop--restore-windows'.
6885
6886 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6887
6888 * net/shr.el (add-face-text-property): Remove compat definition.
6889
6890 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6891
6892 * info.el (Info-try-follow-nearest-node): Move search for footnote
6893 above search for node name to prevent missing a footnote (bug#14717).
6894
6895 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6896
6897 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6898
6899 2013-06-27 Leo Liu <sdl.web@gmail.com>
6900
6901 * net/eww.el (eww-read-bookmarks): Check file size.
6902
6903 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6906 advice--pending if newdef is nil or an autoload (bug#13820).
6907 (advice-mapc): New function.
6908
6909 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6910
6911 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6912 probably.
6913 (eww-mode-map): Add a menu bar.
6914 (eww-add-bookmark): New command.
6915 (eww-bookmark-mode): New mode and commands.
6916 (eww-add-bookmark): Remove newlines from the title.
6917 (eww-bookmark-browse): Don't bug out if it's the only window.
6918
6919 2013-06-26 Glenn Morris <rgm@gnu.org>
6920
6921 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6922 (hfy-size): Handle ttys. (Bug#14668)
6923
6924 * info-xref.el: Update for Texinfo 5 change in *note format.
6925 (info-xref-node-re, info-xref-note-re): New constants.
6926 (info-xref-check-buffer): Use info-xref-note-re.
6927
6928 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6931
6932 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6933 nil terminate the loop (bug#14718).
6934
6935 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6936
6937 * net/eww.el: Rework history traversal. When going forward/back,
6938 put these actions into the history, too, so that they can be
6939 replayed.
6940 (eww-render): Move the history reset to the correct buffer.
6941
6942 2013-06-25 Juri Linkov <juri@jurta.org>
6943
6944 * files-x.el (modify-dir-local-variable): Change the header comment
6945 in the file with directory local variables. (Bug#14692)
6946
6947 * files-x.el (read-file-local-variable-value): Add `default'.
6948 (Bug#14710)
6949
6950 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6951
6952 * net/eww.el (eww-make-unique-file-name): Create a unique file
6953 name before saving to entering `y' accidentally asynchronously.
6954
6955 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6956
6957 * net/eww.el (eww-download): New command and keystroke.
6958
6959 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6960
6961 * net/eww.el (eww-copy-page-url): Change name of command.
6962
6963 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6964 be more consistent with Info and dired.
6965
6966 * net/eww.el (eww-mode-map): Ditto.
6967
6968 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6971 packages from archives.
6972 (package-archive-contents): Change format; include obsolete packages.
6973 (package-desc): Use `dir' to mark builtin packages.
6974 (package--from-builtin): Set the `dir' field to `builtin'.
6975 (generated-autoload-file, version-control): Declare.
6976 (package-compute-transaction): Change first arg and return value to be
6977 lists of package-descs. Adjust to new package-archive-contents format.
6978 (package--add-to-archive-contents): Adjust to new
6979 package-archive-contents format.
6980 (package-download-transaction): Arg is now a list of package-descs.
6981 (package-install): If `pkg' is a package name, pass it as
6982 a requirement, so it is subject to the usual (e.g. disabled) checks.
6983 (describe-package): Accept package-desc as well.
6984 (describe-package-1): Describe a specific package-desc. Add links to
6985 other package-descs for the same package name.
6986 (package-menu-describe-package): Pass the actual package-desc.
6987 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6988 works correctly.
6989 (package-desc-status): New function.
6990 (package-menu--refresh): New function, extracted
6991 from package-menu--generate.
6992 (package-menu--generate): Use it.
6993 (package-delete): Update package-alist.
6994 (package-menu-execute): Don't call package-initialize.
6995
6996 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6997 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6998 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6999 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7000 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7001 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7002
7003 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7004
7005 * window.el (window--state-get-1): Workaround for bug#14527.
7006 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7007
7008 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7009
7010 * net/eww.el (eww-back-url): Implement the history by stashing all
7011 the data into a list.
7012 (eww-forward-url): Allow going forward in the history, too.
7013
7014 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7017 for values and use read--expression for expressions (bug#14710).
7018 (read-file-local-variable): Avoid setq.
7019 (read-file-local-variable-mode): Use minor-mode-list.
7020
7021 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7022
7023 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7024 for DOI URLs.
7025
7026 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7027
7028 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7029 Update imenu-support when dialect changes.
7030
7031 2013-06-25 Leo Liu <sdl.web@gmail.com>
7032
7033 * ido.el (ido-read-internal): Allow forward slash on windows.
7034
7035 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7036
7037 * net/eww.el (eww): Start of strings is \\`, not ^.
7038
7039 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7040
7041 * net/shr.el (shr-browse-url): Fix interactive spec.
7042
7043 * net/eww.el (eww): Add a trailing slash to domain names.
7044
7045 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7046
7047 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7048
7049 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7050
7051 * net/shr.el (shr-browse-url): Use an external browser if given a
7052 prefix.
7053
7054 * net/eww.el (eww-external-browser): Move to shr.
7055
7056 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7057
7058 * net/eww.el (eww): Work more correctly for file: URLs.
7059 (eww-detect-charset): Allow quoted charsets.
7060 (eww-yank-page-url): New command and keystroke.
7061
7062 2013-06-24 Daiki Ueno <ueno@gnu.org>
7063
7064 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7065 file name of gpg executable.
7066 (epg-context-program): New function.
7067 (epg-context-home-directory): New function.
7068 (epg-context-set-program): New function.
7069 (epg-context-set-home-directory): New function.
7070 (epg--start): Use `epg-context-program' instead of
7071 'epg-gpg-program'.
7072 (epg--list-keys-1): Likewise.
7073
7074 2013-06-24 Leo Liu <sdl.web@gmail.com>
7075
7076 * ido.el (ido-read-internal): Fix bug#14620.
7077
7078 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7079
7080 * faces.el (face-documentation): Simplify.
7081 (read-face-attribute, tty-find-type, x-resolve-font-name):
7082 Use `string-match-p'.
7083 (list-faces-display): Use `string-match-p'. Simplify.
7084 (face-spec-recalc): Check face to avoid face alias loops.
7085 (read-color): Use `string-match-p' and non-capturing parenthesis.
7086
7087 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7088
7089 * net/shr.el (shr-rescale-image): Use the new
7090 :max-width/:max-height functionality.
7091
7092 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7093
7094 * net/eww.el (eww-search-prefix): New variable.
7095 (eww): Use it.
7096 (eww-external-browser): New variable.
7097 (eww-mode-map): New keystroke.
7098 (eww-browse-with-external-browser): New command.
7099
7100 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7101
7102 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7103
7104 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7105 Don't skip aligning the next header field when padding is 0;
7106 otherwise, field width is not respected unless the title is as
7107 wide as the field.
7108
7109 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * emacs-lisp/package.el (package-el-version): Remove.
7112 (package-process-define-package): Fix inf-loop.
7113 (package-install): Allow symbols as arguments again.
7114
7115 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7116
7117 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7118 add some more keyword-like methods.
7119 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7120
7121 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * bs.el (bs-buffer-show-mark): Make defvar-local.
7124 (bs-mode): Use setq-local.
7125
7126 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7127 (emacs-lock--try-unlocking): Make defvar-local.
7128
7129 2013-06-22 Glenn Morris <rgm@gnu.org>
7130
7131 * play/cookie1.el (cookie-apropos): Minor simplification.
7132
7133 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7134
7135 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7136
7137 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7138 `regexp-opt', it breaks the build during dumping.
7139
7140 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7141
7142 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7143 Highlight keyword-like methods on Kernel and Module with
7144 font-lock-builtin-face.
7145 (auto-mode-alist): Consolidate different entries into one regexp
7146 and add more *file-s.
7147
7148 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7149
7150 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7151
7152 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7153 (diary-entry): Use it in the action of this button type instead of
7154 diary-goto-entry.
7155
7156 * calendar/todo-mode.el: New version.
7157 (todo-add-category): Append new category to end of file and give
7158 it the highest number, instead of putting it at the beginning and
7159 giving it 0. Incorporate noninteractive functionality.
7160 (todo-forward-category): Adapt to 1-based category numbering.
7161 Allow skipping over archived categories.
7162 (todo-backward-category): Derive from todo-forward-category.
7163 (todo-backward-item, todo-forward-item): Make noninteractive and
7164 delegate interactive part to new commands. Make sensitive to done items.
7165 (todo-categories): Make value an alist of category names and
7166 vectors of item counts.
7167 (todo-category-beg): Make a defconst.
7168 (todo-category-number): Use 1 instead of 0 as initial value.
7169 (todo-category-select): Make sensitive to overlays, optional item
7170 highlighting and done items.
7171 (todo-delete-item): Make sensitive to overlays and marked and done items.
7172 (todo-edit-item): Make sensitive to overlays and editing of
7173 date/time header optional. Add format checks.
7174 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7175 no-op if point is not on an item. Advertise using todo-edit-quit.
7176 (todo-edit-mode): Make sensitive to new format, font-locking, and
7177 multiple todo files.
7178 (todo-insert-item, todo-insert-item-here): Derive from
7179 todo-basic-insert-item and extend functionality.
7180 (todo-item-end, todo-item-start): Make sensitive to done items.
7181 (todo-item-string): Don't return text properties. Restore point.
7182 (todo-jump-to-category): Make sensitive to multiple todo files and
7183 todo archives. Use extended category completion.
7184 (todo-lower-item, todo-raise-item): Rename to *-priority and
7185 derive from todo-set-item-priority.
7186 (todo-mode): Derive from special-mode. Make sensitive to new
7187 format, font-locking and multiple todo files. Make read-only.
7188 (todo-mode-map): Don't suppress digit keys, so they can supply
7189 prefix arguments. Add many new key bindings.
7190 (todo-prefix): Insert as an overlay instead of file text.
7191 Change semantics from diary date expression to purely visual mark.
7192 (todo-print): Rename to todo-print-buffer. Make buffer display
7193 features printable. Remove option to restrict number of items
7194 printed. Add option to print to file.
7195 (todo-print-function): Rename to todo-print-buffer-function.
7196 (todo-quit): Extend to handle exiting new todo modes.
7197 (todo-remove-item): Make sensitive to overlays.
7198 (todo-save): Extend to buffers of filtered items.
7199 (todo-show): Make sensitive to done items, multiple todo files and
7200 new todo modes. Offer to convert legacy todo file before creating
7201 first new todo file.
7202 (todo-show-priorities): Rename to todo-top-priorities.
7203 Change semantics of value 0.
7204 (todo-top-priorities): Rename to todo-filter-top-priorities,
7205 derive from todo-filter-items and extend functionality.
7206 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7207 and extend functionality to other types of filtered items.
7208 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7209 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7210 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7211 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7212 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7213 (todo-edit-mode-hook, todo-entry-prefix-function)
7214 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7215 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7216 (todo-initials, todo-insert-threshold, todo-item-string-start)
7217 (todo-line-string, todo-menu, todo-mode-hook)
7218 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7219 (todo-print-priorities, todo-remove-separator)
7220 (todo-save-top-priorities-too, todo-string-count-lines)
7221 (todo-string-multiline-p, todo-time-string-format)
7222 (todo-tmp-buffer-name): Remove.
7223 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7224 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7225 (todo-edit-category-diary-inclusion)
7226 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7227 (todo-edit-file, todo-edit-item-date-day)
7228 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7229 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7230 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7231 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7232 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7233 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7234 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7235 (todo-filter-top-priorities-multifile, todo-find-archive)
7236 (todo-find-filtered-items-file, todo-go-to-source-item)
7237 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7238 (todo-jump-to-archive-category, todo-lower-category)
7239 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7240 (todo-move-category, todo-move-item, todo-next-button)
7241 (todo-next-item, todo-padded-string, todo-powerset)
7242 (todo-previous-button, todo-previous-item)
7243 (todo-print-buffer-to-file, todo-raise-category)
7244 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7245 (todo-set-category-number, todo-set-item-priority)
7246 (todo-set-top-priorities-in-category)
7247 (todo-set-top-priorities-in-file, todo-show-categories-table)
7248 (todo-sort-categories-alphabetically-or-numerically)
7249 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7250 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7251 (todo-toggle-item-header, todo-toggle-item-highlighting)
7252 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7253 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7254 (todo-unarchive-items, todo-unmark-category): New commands.
7255 (todo-absolute-file-name, todo-add-to-buffer-list)
7256 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7257 (todo-basic-insert-item, todo-category-completions)
7258 (todo-category-number, todo-category-string-matcher-1)
7259 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7260 (todo-check-format, todo-clear-matches)
7261 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7262 (todo-current-category, todo-date-string-matcher)
7263 (todo-define-insertion-command, todo-diary-expired-matcher)
7264 (todo-diary-goto-entry, todo-diary-item-p)
7265 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7266 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7267 (todo-done-item-section-p, todo-done-separator)
7268 (todo-done-string-matcher, todo-files, todo-filter-items)
7269 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7270 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7271 (todo-insert-category-line, todo-insert-item-from-calendar)
7272 (todo-insert-sort-button, todo-insert-with-overlays)
7273 (todo-insertion-command-name, todo-insertion-key-bindings)
7274 (todo-label-to-key, todo-longest-category-name-length)
7275 (todo-make-categories-list, todo-mode-external-set)
7276 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7277 (todo-modes-set-3, todo-multiple-filter-files)
7278 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7279 (todo-read-category, todo-read-date, todo-read-dayname)
7280 (todo-read-file-name, todo-read-time)
7281 (todo-reevaluate-category-completions-files-defcustom)
7282 (todo-reevaluate-default-file-defcustom)
7283 (todo-reevaluate-filelist-defcustoms)
7284 (todo-reevaluate-filter-files-defcustom)
7285 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7286 (todo-reset-done-separator, todo-reset-done-separator-string)
7287 (todo-reset-done-string, todo-reset-global-current-todo-file)
7288 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7289 (todo-reset-prefix, todo-set-categories)
7290 (todo-set-date-from-calendar, todo-set-show-current-file)
7291 (todo-set-top-priorities, todo-short-file-name)
7292 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7293 (todo-total-item-counts, todo-update-buffer-list)
7294 (todo-update-categories-display, todo-update-categories-sexp)
7295 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7296 New functions.
7297 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7298 New major modes.
7299 (todo-categories, todo-display, todo-edit, todo-faces)
7300 (todo-filtered): New defgroups.
7301 (todo-archived-only, todo-button, todo-category-string, todo-date)
7302 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7303 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7304 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7305 (todo-add-item-if-new-category, todo-always-add-time-string)
7306 (todo-categories-align, todo-categories-archived-label)
7307 (todo-categories-category-label, todo-categories-diary-label)
7308 (todo-categories-done-label, todo-categories-number-separator)
7309 (todo-categories-todo-label, todo-categories-totals-label)
7310 (todo-category-completions-files, todo-completion-ignore-case)
7311 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7312 (todo-done-separator-string, todo-done-string)
7313 (todo-files-function, todo-filter-done-items, todo-filter-files)
7314 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7315 (todo-initial-category, todo-initial-file, todo-item-mark)
7316 (todo-legacy-date-time-regexp, todo-mode-line-function)
7317 (todo-nondiary-marker, todo-number-prefix)
7318 (todo-print-buffer-function, todo-show-current-file)
7319 (todo-show-done-only, todo-show-first, todo-show-with-done)
7320 (todo-skip-archived-categories, todo-top-priorities-overrides)
7321 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7322 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7323 New defcustoms.
7324 (todo-category-done, todo-date-pattern, todo-date-string-start)
7325 (todo-diary-items-buffer, todo-done-string-start)
7326 (todo-filtered-items-buffer, todo-item-start)
7327 (todo-month-abbrev-array, todo-month-name-array)
7328 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7329 (todo-top-priorities-buffer): New defconsts.
7330 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7331 (todo-categories-with-marks, todo-category-string-face)
7332 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7333 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7334 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7335 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7336 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7337 (todo-font-lock-keywords, todo-global-current-todo-file)
7338 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7339 (todo-insertion-commands-args)
7340 (todo-insertion-commands-args-genlist)
7341 (todo-insertion-commands-names, todo-insertion-map)
7342 (todo-key-bindings-t, todo-key-bindings-t+a)
7343 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7344 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7345 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7346 (todo-visited): New variables.
7347
7348 2013-06-21 Glenn Morris <rgm@gnu.org>
7349
7350 * play/cookie1.el (cookie-apropos): Add optional display argument.
7351 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7352 (psychoanalyze-pinhead): Use cookie-doctor.
7353
7354 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7355
7356 * emacs-lisp/package.el (tar-get-file-descriptor)
7357 (tar--extract): Declare.
7358
7359 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7360
7361 Extend flymake's warning predicate to be a function (bug#14217).
7362 * progmodes/flymake.el (flymake-warning-predicate): New.
7363 (flymake-parse-line): Use it.
7364 (flymake-warning-re): Make obsolete alias to
7365 `flymake-warning-predicate'.
7366
7367 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7368
7369 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7370 (package-obsolete-list): Remove.
7371 (package-activate): Remove min-version argument. Add `force' argument.
7372 Adjust to new package-alist format.
7373 (package-mark-obsolete): Remove.
7374 (package-unpack): Force reload of the package's autoloads.
7375 (package-installed-p): Check builtins if the installed package is not
7376 recent enough.
7377 (package-initialize): Don't reset package-obsolete-list.
7378 Don't specify which package version to activate.
7379 (package-process-define-package, describe-package-1)
7380 (package-menu--generate): Adjust to new package-alist format.
7381
7382 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7383
7384 * allout-widgets.el (allout-widgets-mode-off)
7385 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7386 (allout-widgets-post-command-business)
7387 (allout-widgets-after-copy-or-kill-function)
7388 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7389 (allout-decorate-item-and-context)
7390 (allout-graphics-modification-handler): Fix typos in docstrings.
7391 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7392
7393 * cmuscheme.el (scheme-start-file): Doc fix.
7394 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7395 (scheme-input-filter): Use `string-match-p'.
7396
7397 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7398
7399 * dired-x.el: Use Dired consistently in docstrings.
7400
7401 * dired.el: Use Dired consistently in docstrings.
7402 (dired-readin, dired-mode): Use `setq-local'.
7403 (dired-switches-alist): Make defvar-local.
7404 (dired-buffers-for-dir): Use `zerop'.
7405 (dired-safe-switches-p, dired-switches-escape-p)
7406 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7407 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7408 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7409 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7410 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7411 (dired-toggle-marks, dired-mark-files-containing-regexp)
7412 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7413 (dired-flag-auto-save-files, dired-flag-backup-files):
7414 Use `looking-at-p'.
7415 (dired-mark-files-regexp, dired-build-subdir-alist):
7416 Use `string-match-p', `looking-at-p'.
7417
7418 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7419 (direct-print-region-helper): Use `string-match-p'.
7420
7421 2013-06-21 Leo Liu <sdl.web@gmail.com>
7422
7423 * comint.el (comint-redirect-results-list-from-process):
7424 Fix infinite loop.
7425
7426 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7427
7428 * net/eww.el (eww-update-header-line-format): Quote % characters.
7429
7430 2013-06-21 Glenn Morris <rgm@gnu.org>
7431
7432 * play/cookie1.el (cookie): New custom group.
7433 (cookie-file): New option.
7434 (cookie-check-file): New function.
7435 (cookie): Make it interactive. Make start and end messages optional.
7436 Interactively, display the result. Default to cookie-file.
7437 (cookie-insert): Default to cookie-file.
7438 (cookie-snarf): Make start and end messages optional.
7439 Default to cookie-file. Use with-temp-buffer.
7440 (cookie-read): Rename from read-cookie.
7441 Make start and end messages optional. Default to cookie-file.
7442 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7443 Do not autoload it.
7444 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7445 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7446
7447 2013-06-21 Leo Liu <sdl.web@gmail.com>
7448
7449 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7450
7451 2013-06-21 Glenn Morris <rgm@gnu.org>
7452
7453 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7454
7455 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7456 Daniel Hackney <dan@haxney.org>
7457
7458 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7459 Consolidate the single-file vs tarball code.
7460 (package-desc-suffix): New function.
7461 (package-desc-full-name): Don't bother inlining it.
7462 (package-load-descriptor): Return the new package-desc.
7463 (package-mark-obsolete): Remove unused arg `package'.
7464 (package-unpack): Make it work for single files as well.
7465 Make it update package-alist.
7466 (package--make-autoloads-and-stuff): Rename from
7467 package--make-autoloads-and-compile. Don't compile any more.
7468 (package--compile): New function.
7469 (package-generate-description-file): New function, extracted from
7470 package-unpack-single.
7471 (package-unpack-single): Remove.
7472 (package--with-work-buffer): Add indentation and debugging info.
7473 (package-download-single): Remove.
7474 (package-install-from-archive): Rename from package-download-tar, make
7475 it take a pkg-desc, and make it work for single files as well.
7476 (package-download-transaction): Simplify.
7477 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7478 external tar program.
7479 (package-install-from-buffer): Remove `pkg-desc' argument.
7480 Use package-tar-file-info for tar-mode buffers.
7481 (package-install-file): Simplify accordingly.
7482 (package-archive-base): Change to take a pkg-desc.
7483 * tar-mode.el (tar--check-descriptor): New function, extracted from
7484 tar-get-descriptor.
7485 (tar-get-descriptor): Use it.
7486 (tar-get-file-descriptor): New function.
7487 (tar--extract): New function, extracted from tar-extract.
7488 (tar--extract): Use it.
7489 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7490 case the summary uses non-ascii. Adjust to new calling convention of
7491 package-tar-file-info.
7492
7493 2013-06-21 Leo Liu <sdl.web@gmail.com>
7494
7495 * comint.el (comint-redirect-results-list-from-process):
7496 Fix random delay. (Bug#14681)
7497
7498 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * profiler.el (profiler-format-number): Use log, not log10.
7501
7502 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7505
7506 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7509 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7510 yet available.
7511 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7512 (AUTOGENEL): ... here.
7513 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7514 (cl--defsubst-expand): Use it.
7515
7516 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7517
7518 * subr.el (log10): Move here from C code, and declare as obsolete.
7519 All uses of (log10 X) replaced with (log X 10).
7520
7521 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7522
7523 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7524 Declare with `defvar-local'.
7525 (tabulated-list-use-header-line, tabulated-list-entries)
7526 (tabulated-list-padding, tabulated-list-printer)
7527 (tabulated-list-sort-key): Declare with `defvar-local'.
7528 (tabulated-list-init-header, tabulated-list-print-fake-header):
7529 Use `setq-local'.
7530
7531 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7532
7533 * arc-mode.el (archive-mode): Add `archive-write-file' to
7534 `write-contents-functions' also for remote files. (Bug#14652)
7535
7536 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7537
7538 * cus-edit.el (custom-commands): Fix typos.
7539 (custom-display): Fix tooltip text.
7540 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7541 Fix typos in docstrings.
7542 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7543 (custom-unlispify-menu-entry, custom-magic-value-create)
7544 (custom-add-see-also, custom-group-value-create): Use ?\s.
7545 (custom-guess-type, customize-apropos, editable-field)
7546 (custom-face-value-create): Use `string-match-p'.
7547 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7548
7549 * custom.el (custom-load-symbol): Use `string-match-p'.
7550
7551 * ansi-color.el: Convert to lexical binding.
7552 (ansi-colors): Fix URL.
7553 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7554 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7555 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7556
7557 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7560
7561 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7562
7563 2013-06-19 Tom Tromey <tromey@redhat.com>
7564
7565 * net/eww.el (eww-top-url): Remove.
7566 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7567 (eww-render): Set new variables. Don't set eww-top-url.
7568 (eww-handle-link): Handle "prev", "home", and "contents".
7569 Downcase the rel text.
7570 (eww-top-url): Choose best top URL.
7571
7572 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573
7574 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7575 relying in widget.el. Using widget.el leads to too many
7576 user interface inconsistencies.
7577 (eww-self-insert): Implement entering commands in text fields.
7578 (eww-process-text-input): New function to make text input field editing
7579 work.
7580 (eww-submit): Rewrite to use the new-style form methods.
7581 (eww-select-display): Display the correct selected item.
7582 (eww-change-select): Implement changing the select value.
7583 (eww-toggle-checkbox): Implement radio/checkboxes.
7584 (eww-update-field): Fix compilation error.
7585 (eww-tag-textarea): Implement <textarea>.
7586
7587 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7588 we don't shadow mode-specific bindings.
7589
7590 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7591 nothing to push.
7592
7593 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7594
7595 2013-06-19 Glenn Morris <rgm@gnu.org>
7596
7597 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7598
7599 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7600
7601 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7602 not needed.
7603
7604 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7605
7606 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7607
7608 * net/browse-url.el (browse-url-browser-function):
7609 `eww-browse-url' has the right calling signature, `eww' does not.
7610
7611 2013-06-19 Glenn Morris <rgm@gnu.org>
7612
7613 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7614 Only eval autoloaded macros.
7615 (byte-compile-autoload): Only give the macro warning for macros.
7616
7617 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7618 (ps-underlined-faces): Declare.
7619
7620 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7621 (speedbar-add-supported-extension): Declare.
7622
7623 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7624 Don't include a date stamp in the header of the generated file;
7625 it leads to needless differences between output files.
7626
7627 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7628
7629 * net/secrets.el (secrets-struct-secret-content-type):
7630 Replace check of introspection data by a test call of "CreateItem".
7631 Some servers do not offer introspection.
7632
7633 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * electric.el (electric-pair-mode): Improve interaction with
7636 electric-layout-mode.
7637 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7638 (electric-pair-syntax): Use text-mode-syntax-table in comments
7639 and strings.
7640 (electric-pair--insert): New function.
7641 (electric-pair-post-self-insert-function): Use it and
7642 electric--after-char-pos.
7643
7644 2013-06-19 Leo Liu <sdl.web@gmail.com>
7645
7646 * progmodes/octave.el (octave-help): Fix regexp.
7647
7648 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7649
7650 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7651 (shr-table-horizontal-line): Allow nil as a value, and change the
7652 default.
7653 (shr-insert-table-ruler): Respect the nil value.
7654
7655 2013-06-18 Tom Tromey <tromey@barimba>
7656
7657 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7658 New defvars.
7659 (eww-open-file): New defun.
7660 (eww-render): Initialize new variables.
7661 (eww-display-html): Handle "link" and "a".
7662 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7663 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7664 (eww-back-url): Rename from eww-previous-url.
7665 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7666 New defuns.
7667
7668 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7669
7670 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7671 Distinguish ternary operator tokens from slash symbol and slash
7672 char literal.
7673
7674 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7675
7676 Convert symbol prettification into minor mode and global minor mode.
7677
7678 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7679 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7680 (prettify-symbols--keywords): Rename from
7681 `prog-prettify-symbols-alist' and make a local defvar.
7682 (prettify-symbols--compose-symbol): Rename from
7683 `prog--prettify-font-lock-compose-symbol'.
7684 (prettify-symbols--make-keywords): Rename from
7685 `prog-prettify-font-lock-symbols-keywords' and simplify.
7686 (prog-prettify-install): Remove.
7687 (prettify-symbols-mode): New minor mode, based on
7688 `prog-prettify-install'.
7689 (turn-on-prettify-symbols-mode): New function.
7690 (global-prettify-symbols-mode): New globalized minor mode.
7691
7692 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7693 * progmodes/cfengine.el (cfengine3-mode):
7694 * progmodes/perl-mode.el (perl-mode): Don't call
7695 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7696
7697 2013-06-18 Juri Linkov <juri@jurta.org>
7698
7699 * files-x.el (modify-file-local-variable-message): New function.
7700 (modify-file-local-variable)
7701 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7702 and call `modify-file-local-variable-message' when it's non-nil.
7703 (add-file-local-variable, delete-file-local-variable)
7704 (add-file-local-variable-prop-line)
7705 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7706 and use it. (Bug#9820)
7707
7708 2013-06-18 Juri Linkov <juri@jurta.org>
7709
7710 * emulation/vi.el (vi-shell-op):
7711 * emulation/vip.el (vip-execute-com, ex-command):
7712 * emulation/viper-cmd.el (viper-exec-bang):
7713 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7714 the call of `shell-command-on-region'. (Bug#14637)
7715
7716 * simple.el (shell-command-on-region): Doc fix.
7717
7718 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7721 (bug#14633).
7722
7723 2013-06-18 Glenn Morris <rgm@gnu.org>
7724
7725 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7726
7727 * newcomment.el (comment-search-forward, comment-search-backward):
7728 Doc fix. (Bug#14376)
7729
7730 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7731
7732 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7733 (buffer-face-mode-invoke): Doc fix.
7734
7735 2013-06-18 Matthias Meulien <orontee@gmail.com>
7736
7737 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7738 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7739
7740 2013-06-18 Glenn Morris <rgm@gnu.org>
7741
7742 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7743 Replace obsolete function generic-make-keywords with its expansion.
7744
7745 * progmodes/python.el (ffap-alist): Declare.
7746
7747 * textmodes/reftex.el (bibtex-mode-map): Declare.
7748
7749 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7752 (package-unpack, package-unpack-single): Return the pkg-dir.
7753 (package-download-transaction): Use it to update package-alist.
7754
7755 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7756
7757 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7758 possible choice.
7759
7760 2013-06-17 Juri Linkov <juri@jurta.org>
7761
7762 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7763
7764 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7765
7766 * emacs-lisp/package.el (package-load-descriptor):
7767 Remove `with-syntax-table' call, `read' doesn't need it.
7768 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7769
7770 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7771
7772 * startup.el (command-line): Expand package name returned by
7773 `package--description-file' (bug#14639).
7774
7775 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7776
7777 * emacs-lisp/package.el (package-load-descriptor): Do not call
7778 `emacs-lisp-mode', just use its syntax table.
7779
7780 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7781
7782 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7783 `font-lock-extra-managed-props' if any prettifying keyword is added.
7784 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7785 (prog-mode): Use `setq-local'.
7786
7787 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * international/characters.el (standard-case-table): Set syntax of ?»
7790 and ?« to punctuation.
7791
7792 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7795 Save relevant match data before calling `syntax-ppss' (bug#14595).
7796
7797 2013-06-15 Juri Linkov <juri@jurta.org>
7798
7799 * files-x.el (modify-file-local-variable-prop-line): Add local
7800 variables to the end of the existing comment on the first line.
7801 Use `file-auto-mode-skip' to skip interpreter magic line,
7802 and also skip XML declaration.
7803
7804 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * startup.el (package--builtin-versions): New var.
7807 (package-subdirectory-regexp): Remove.
7808 (package--description-file): Hard code its value instead.
7809
7810 * emacs-lisp/package.el: Don't activate packages older than builtin.
7811 (package-obsolete-list): Rename from package-obsolete-alist, and make
7812 it into a simple list of package-desc.
7813 (package-strip-version): Remove.
7814 (package-built-in-p): Use package--builtin-versions.
7815 (package-mark-obsolete): Simplify.
7816 (package-process-define-package): Mark it obsolete if older than the
7817 builtin version.
7818 (package-handle-response): Use line-end-position.
7819 (package-read-archive-contents, package--download-one-archive):
7820 Simplify.
7821 (package--add-to-archive-contents): Skip if older than the builtin or
7822 installed version.
7823 (package-menu-describe-package): Fix last change.
7824 (package-list-unversioned): New var.
7825 (package-menu--generate): Use it.
7826
7827 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7828 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7829 (autoload-builtin-package-versions): New variable.
7830 (autoload-generate-file-autoloads): Use them.
7831 Remove the list of autoloaded functions/macros from the
7832 (autoload...) comments.
7833
7834 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7835
7836 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7837
7838 * simple.el (line-move-partial): Don't jump to the next screen
7839 line as soon as it becomes visible. Instead, continue enlarging
7840 the vscroll until the portion of a tall screen line that's left on
7841 display is about the height of the frame's default font.
7842 (Bug#14567)
7843
7844 2013-06-15 Glenn Morris <rgm@gnu.org>
7845
7846 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7847 compilation-error-regexp-alist void, or local while let-bound.
7848
7849 * progmodes/make-mode.el (makefile-mode-syntax-table):
7850 Treat "=" as punctuation. (Bug#14614)
7851
7852 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7853
7854 * help-fns.el (describe-variable):
7855 Add extra line for permanent-local variables.
7856
7857 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7858
7859 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7860 Add export, import, library. (Bug#9164)
7861 (library): Set indent function.
7862
7863 2013-06-14 Glenn Morris <rgm@gnu.org>
7864
7865 * term/xterm.el (xterm--query):
7866 Stop after first matching handler. (Bug#14615)
7867
7868 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7869
7870 Add support for dired in saveplace.
7871 * dired.el (dired-initial-position-hook): New variable.
7872 (dired-initial-position): Call hook to place cursor position.
7873 * saveplace.el (save-place-to-alist): Add dired position.
7874 (save-place-dired-hook): New function.
7875
7876 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7879 through a symbol rather than letrec.
7880
7881 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7882 (package-desc): Add `dir' field.
7883 (package-desc-full-name): New function.
7884 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7885 (package-maybe-load-descriptor): Remove.
7886 (package-load-all-descriptors): Just call package-load-descriptor.
7887 (package--disabled-p): New function.
7888 (package-desc-vers, package-desc-doc): Remove aliases.
7889 (package--dir): Remove function.
7890 (package-activate): Check if a package is disabled.
7891 (package-process-define-package): New function, extracted from
7892 define-package.
7893 (define-package): Turn into a place holder.
7894 (package-unpack-single, package-tar-file-info):
7895 Use package--description-file.
7896 (package-compute-transaction): Use package--disabled-p.
7897 (package-download-transaction): Don't call
7898 package-maybe-load-descriptor since they're all loaded anyway.
7899 (package-install): Change argument to be a pkg-desc.
7900 (package-delete): Use a single pkg-desc argument.
7901 (describe-package-1): Use package-desc-dir instead of package--dir.
7902 Use package-desc property instead of package-symbol.
7903 (package-install-button-action): Adjust accordingly.
7904 (package--push): Rewrite.
7905 (package-menu--print-info): Adjust accordingly. Change the ID format
7906 to be a pkg-desc.
7907 (package-menu-describe-package, package-menu-get-status)
7908 (package-menu--find-upgrades, package-menu-mark-upgrades)
7909 (package-menu-execute, package-menu--name-predicate):
7910 Adjust accordingly.
7911 * startup.el (package--description-file): New function.
7912 (command-line): Use it.
7913 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7914 Use package-desc-version.
7915
7916 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7917 (byte-compile-preprocess): Use it.
7918 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7919 can't quite recognize.
7920 (byte-compile-add-to-list): Remove.
7921 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7922 (cconv-closure-convert): Add assertion.
7923
7924 * emacs-lisp/map-ynp.el: Use lexical-binding.
7925 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7926 Factor out some repeated code.
7927
7928 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * subr.el (with-eval-after-load): New macro.
7931 (eval-after-load): Allow form to be a function.
7932 take advantage of lexical-binding.
7933 (do-after-load-evaluation): Use dolist and adjust to new format.
7934 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7935
7936 2013-06-13 Juri Linkov <juri@jurta.org>
7937
7938 * replace.el (perform-replace): Display "symbol " and other search
7939 modes from `isearch-message-prefix' in the *Help* buffer.
7940
7941 * isearch.el (isearch-query-replace): Add " symbol" and other
7942 possible search modes from `isearch-message-prefix' to the prompt.
7943 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7944 when reading a regexp to collect.
7945
7946 2013-06-13 Juri Linkov <juri@jurta.org>
7947
7948 * isearch.el (word-search-regexp): Match whitespace if the search
7949 string begins or ends in whitespace. The LAX arg is applied to
7950 both ends of the search string. Use `regexp-quote' and explicit
7951 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7952 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7953 boundaries are replaced with symbol boundaries, and characters
7954 between symbols match non-word non-symbol syntax. (Bug#14602)
7955
7956 2013-06-13 Juri Linkov <juri@jurta.org>
7957
7958 * isearch.el (isearch-del-char): Don't exceed the length of
7959 `isearch-string' by the prefix arg. (Bug#14563)
7960
7961 2013-06-13 Juri Linkov <juri@jurta.org>
7962
7963 * isearch.el (isearch-yank-word, isearch-yank-line)
7964 (isearch-char-by-name, isearch-quote-char)
7965 (isearch-printing-char, isearch-process-search-char):
7966 Add optional count prefix arg. (Bug#14563)
7967
7968 * international/isearch-x.el
7969 (isearch-process-search-multibyte-characters):
7970 Add optional count prefix arg.
7971
7972 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7975 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7976 lexical-binding.
7977
7978 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7979
7980 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7981
7982 2013-06-13 Glenn Morris <rgm@gnu.org>
7983
7984 * startup.el (tty-handle-args):
7985 Don't just discard "--" and anything after. (Bug#14608)
7986
7987 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7988
7989 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7990
7991 Implement changes in Secret Service API. Make it backward compatible.
7992 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7993 (secrets-create-item): Use it. Prefix properties with interface.
7994
7995 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7996
7997 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7998 (term-emulate-terminal): Respect term-suppress-hard-newline.
7999
8000 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8001
8002 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8003 Only remove a `thumb-file' overlay. (Bug#14548)
8004
8005 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8006
8007 * mail/reporter.el (reporter-submit-bug-report):
8008 Handle missing package-name. (Bug#14600)
8009
8010 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8011
8012 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8013 (reftex-citation-prompt, reftex-default-bibliography)
8014 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8015 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8016 (reftex-bib-sort-author, reftex-bib-sort-year)
8017 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8018 (reftex-extract-bib-entries-from-thebibliography)
8019 (reftex-get-bibkey-default, reftex-get-bib-names)
8020 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8021 (reftex-format-bib-entry, reftex-parse-bibitem)
8022 (reftex-format-bibitem, reftex-do-citation)
8023 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8024 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8025 (reftex-insert-bib-matches, reftex-format-citation)
8026 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8027 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8028 existing comments into docstrings.
8029
8030 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8031
8032 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8033
8034 2013-06-12 Andreas Schwab <schwab@suse.de>
8035
8036 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8037 for auto-save files.
8038
8039 2013-06-12 Glenn Morris <rgm@gnu.org>
8040
8041 * ido.el (ido-delete-ignored-files): Remove.
8042 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8043 Go back to calling ido-ignore-item-p directly.
8044
8045 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8046
8047 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8048
8049 * ido.el (ido-delete-ignored-files): New function,
8050 split from ido-make-file-list-1.
8051 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8052 (ido-make-file-list-1): Use ido-delete-ignored-files.
8053
8054 2013-06-12 Leo Liu <sdl.web@gmail.com>
8055
8056 * progmodes/octave.el (inferior-octave-startup)
8057 (inferior-octave-completion-table)
8058 (inferior-octave-track-window-width-change)
8059 (octave-eldoc-function-signatures, octave-help)
8060 (octave-find-definition): Use single quoted strings.
8061 (inferior-octave-startup-args): Change default value.
8062 (inferior-octave-startup): Do not hard code "-i" and
8063 "--no-line-editing".
8064 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8065 (inferior-octave-directory-tracker): Use it.
8066 (octave-goto-function-definition): Robustify.
8067 (octave-help): Support highlighting operators in 'See also'.
8068 (octave-find-definition): Find subfunctions only in Octave mode.
8069
8070 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * help-fns.el (help-fns--compiler-macro): If the handler function is
8073 named, then put a link to it.
8074 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8075 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8076 (cl-typep): Use it.
8077 (cl-eval-when): Simplify debug spec.
8078 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8079 compiler-macro function instead of setting `compiler-macro-file'.
8080
8081 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8082
8083 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8084 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8085
8086 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8087 Daniel Hackney <dan@haxney.org>
8088
8089 First part of Daniel Hackney's patch to package.el.
8090 * emacs-lisp/package.el: Use defstruct.
8091 (package-desc): New, main struct.
8092 (package--bi-desc, package--ac-desc): New structs, used to describe the
8093 format in external files.
8094 (package-desc-vers): Replace with package-desc-version accessor.
8095 (package-desc-doc): Replace with package-desc-summary accessor.
8096 (package-activate-1): Remove `package' arg since the pkg-vec now
8097 includes the name.
8098 (define-package): Use package-desc-from-define.
8099 (package-unpack-single): Change file-name arg to be a symbol.
8100 (package--add-to-archive-contents): Use package-desc-create and new
8101 accessor functions to package--ac-desc.
8102 (package-buffer-info, package-tar-file-info): Return a package-desc.
8103 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8104 arg to be a package-desc.
8105 (package-install-file): Adjust accordingly. Use \' to match EOS.
8106 (package--from-builtin): New function.
8107 (describe-package-1, package-menu--generate): Use it.
8108 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8109 (package-generate-autoloads): Idem and return the name of the file.
8110 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8111 Change pkg-info arg to be a package-desc.
8112 Use package-make-ac-desc.
8113 (package-upload-file): Use \' to match EOS.
8114 * finder.el (finder-compile-keywords): Use package-make-builtin.
8115
8116 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * vc/vc.el (vc-deduce-fileset): Change error message.
8119 (vc-read-backend): New function.
8120 (vc-next-action): Use it.
8121
8122 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8123
8124 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8125 (prolog-font-lock-keywords): Use regexp-opt instead.
8126 Don't manually highlight strings.
8127 (prolog-mode-variables): Simplify comment-start-skip.
8128 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8129
8130 * emacs-lisp/generic.el (generic--normalise-comments)
8131 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8132 (generic-mode-set-comments): Use them.
8133 (generic-bracket-support): Use setq-local.
8134 (generic-make-keywords-list): Declare obsolete.
8135
8136 2013-06-11 Glenn Morris <rgm@gnu.org>
8137
8138 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8139 Prettify after setting font-lock-defaults. (Bug#14574)
8140
8141 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8142
8143 * replace.el (query-replace, occur-read-regexp-defaults-function)
8144 (replace-search):
8145 * subr.el (declare-function, number-sequence, local-set-key)
8146 (substitute-key-definition, locate-user-emacs-file)
8147 (with-silent-modifications, split-string, eval-after-load):
8148 Fix typos, remove unneeded backslashes and reflow some docstrings.
8149
8150 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8151
8152 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8153 default for Elisp files.
8154
8155 2013-06-11 Glenn Morris <rgm@gnu.org>
8156
8157 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8158 although define-derived-mode was doing this anyway. (Bug#14583)
8159
8160 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8163 Fix make-variable-buffer-local call to refer to the correct variable.
8164
8165 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8166
8167 * eshell/em-term.el (eshell-visual-commands)
8168 (eshell-visual-subcommands, eshell-visual-options):
8169 Add summary line to docstrings. Add cross-references.
8170
8171 2013-06-10 Glenn Morris <rgm@gnu.org>
8172
8173 * epa.el (epa-read-file-name): New function. (Bug#14510)
8174 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8175
8176 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8177
8178 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8179 output redirection to be ignored with visual commands.
8180
8181 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8182
8183 * eshell/em-term.el (eshell-visual-command-p): New function.
8184 (eshell-term-initialize): Move long lambda to separate function
8185 eshell-visual-command-p.
8186 * eshell/em-dirs.el (eshell-dirs-initialise):
8187 * eshell/em-script.el (eshell-script-initialize):
8188 Add missing #' to lambda.
8189
8190 2013-06-08 Leo Liu <sdl.web@gmail.com>
8191
8192 * progmodes/octave.el (octave-add-log-current-defun): New function.
8193 (octave-mode): Set add-log-current-defun-function.
8194 (octave-goto-function-definition): Do not move point if not found.
8195 (octave-find-definition): Enhance to try subfunctions first.
8196
8197 2013-06-08 Glenn Morris <rgm@gnu.org>
8198
8199 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8200 (byte-compile-backward-char, byte-compile-backward-word):
8201 Improve previous change, to handle non-explicit nil.
8202
8203 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8206 (smie--opener/closer-at-point): New function.
8207 (smie--matching-block-data): Use it. Don't match from right after an
8208 opener or right before a closer. Obey smie-blink-matching-inners.
8209 Don't signal a mismatch for repeated inners like "switch..case..case".
8210
8211 2013-06-07 Leo Liu <sdl.web@gmail.com>
8212
8213 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8214 to t. (Bug#14303)
8215 (octave-function-header-regexp): Fix. (Bug#14570)
8216 (octave-help-mode-finish-hook, octave-help-mode-finish):
8217 Remove. Just use temp-buffer-show-hook.
8218
8219 * newcomment.el (comment-search-backward): Revert last change.
8220 (Bug#14434)
8221
8222 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8223
8224 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8225
8226 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8227 through xargs, to avoid failure due to MS-Windows limitations on
8228 command-line length.
8229
8230 2013-06-06 Glenn Morris <rgm@gnu.org>
8231
8232 * font-lock.el (lisp-font-lock-keywords-2):
8233 Treat user-error like error.
8234
8235 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8236 (byte-compile-backward-char, byte-compile-backward-word):
8237 Handle explicit nil arguments. (Bug#14565)
8238
8239 2013-06-05 Alan Mackenzie <acm@muc.de>
8240
8241 * isearch.el (isearch-allow-prefix): New user option.
8242 (isearch-other-meta-char): Don't exit isearch when a prefix
8243 argument is typed whilst `isearch-allow-prefix' is non-nil.
8244 (Bug#9706)
8245
8246 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * autorevert.el (auto-revert-notify-handler): Use memq.
8249 Hide assertion failure.
8250
8251 * skeleton.el: Use cl-lib.
8252 (skeleton-further-elements): Use defvar-local.
8253 (skeleton-insert): Use cl-progv.
8254
8255 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8256
8257 * progmodes/prog-mode.el (prog-prettify-symbols)
8258 (prog-prettify-install): Update docstrings.
8259
8260 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * simple.el: Move all the prog-mode code to prog-mode.el.
8263 * progmodes/prog-mode.el: New file.
8264 * loadup.el: Add prog-mode.el.
8265
8266 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8267
8268 * simple.el (prog-prettify-symbols): Add version.
8269 (prog-prettify-install): Add convenience function to prettify symbols.
8270
8271 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8272 (perl--augmented-font-lock-keywords-1)
8273 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8274 variables and use it.
8275
8276 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8277 (cfengine3-mode): Remove unneeded variable and use it.
8278
8279 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8280 (lisp--augmented-font-lock-keywords-1)
8281 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8282 Remove unneeded variables and use it.
8283
8284 2013-06-05 João Távora <joaotavora@gmail.com>
8285
8286 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8287 to point when opening the connection. (Bug#14380)
8288
8289 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8290
8291 * subr.el (load-history-regexp, load-history-filename-element)
8292 (eval-after-load, after-load-functions, do-after-load-evaluation)
8293 (eval-next-after-load, display-delayed-warnings)
8294 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8295 definition of save-match-data.
8296 (overriding-local-map): Remove accidental obsolescence declaration.
8297
8298 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8299
8300 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8301
8302 Generalize symbol prettify support to prog-mode and implement it
8303 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8304 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8305 (prog--prettify-font-lock-compose-symbol)
8306 (prog-prettify-font-lock-symbols-keywords): New variables and
8307 functions to support symbol prettification.
8308 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8309 (lisp--augmented-font-lock-keywords-1)
8310 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8311 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8312 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8313 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8314 Implement prettify of -> => :: strings.
8315 * progmodes/perl-mode.el (perl-prettify-symbols)
8316 (perl--font-lock-compose-symbol)
8317 (perl--font-lock-symbols-keywords): Move to prog-mode.
8318 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8319 (perl-font-lock-keywords-1)
8320 (perl-font-lock-keywords-2): Remove explicit prettify support.
8321 (perl--augmented-font-lock-keywords)
8322 (perl--augmented-font-lock-keywords-1)
8323 (perl--augmented-font-lock-keywords-2, perl-mode):
8324 Implement prettify support.
8325
8326 2013-06-05 Leo Liu <sdl.web@gmail.com>
8327
8328 Re-implement smie matching block highlight using
8329 show-paren-data-function. (Bug#14395)
8330 * emacs-lisp/smie.el (smie-matching-block-highlight)
8331 (smie--highlight-matching-block-overlay)
8332 (smie--highlight-matching-block-lastpos)
8333 (smie-highlight-matching-block)
8334 (smie-highlight-matching-block-mode): Remove.
8335 (smie--matching-block-data-cache): New variable.
8336 (smie--matching-block-data): New function.
8337 (smie-setup): Use smie--matching-block-data for
8338 show-paren-data-function.
8339
8340 * progmodes/octave.el (octave-mode-menu): Fix.
8341 (octave-find-definition): Skip garbage lines.
8342
8343 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 Fix compilation error with simultaneous dynamic+lexical scoping.
8346 Add warning when a defvar appears after the first let-binding.
8347 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8348 (byte-compile-close-variables): Initialize it.
8349 (byte-compile--declare-var): New function.
8350 (byte-compile-file-form-defvar)
8351 (byte-compile-file-form-define-abbrev-table)
8352 (byte-compile-file-form-custom-declare-variable): Use it.
8353 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8354 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8355 (byte-compile-bind): Handle dynamic bindings that shadow
8356 lexical bindings.
8357 (byte-compile-unbind): Make arg non-optional.
8358 (byte-compile-let): Simplify.
8359 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8360 (cconv--analyse-function, cconv-analyse-form): Populate it.
8361 Protect byte-compile-bound-variables to limit the scope of defvars.
8362 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8363 Remove unneeded rule for `declare'.
8364
8365 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8366 so as to avoid depending on cl-adjoin at run-time.
8367 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8368
8369 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8370 (macroexp--warn-and-return): Use it.
8371
8372 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * lisp/subr.el: Convert to lexical binding.
8375 (overriding-local-map): Make obsolete.
8376 (add-to-list): Doc fix. Add compiler macro.
8377 (read-key): Swap values of local maps.
8378
8379 2013-06-05 Leo Liu <sdl.web@gmail.com>
8380
8381 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8382
8383 2013-06-04 Leo Liu <sdl.web@gmail.com>
8384
8385 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8386 (compilation-auto-jump): Suppress the "Mark set" message to give
8387 way to exit message.
8388
8389 2013-06-04 Alan Mackenzie <acm@muc.de>
8390
8391 Remove faulty optimisation from indentation calculation.
8392 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8393 search limit based on 2000 characters back from indent-point.
8394
8395 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8396
8397 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8398
8399 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8400
8401 * emacs-lisp/lisp.el: Use lexical-binding.
8402 (lisp--local-variables-1, lisp--local-variables): New functions.
8403 (lisp--local-variables-completion-table): New var.
8404 (lisp-completion-at-point): Use it complete let-bound vars.
8405
8406 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8407 eagerly (bug#14422).
8408
8409 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8410
8411 * autorevert.el (auto-revert-notify-enabled)
8412 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8413 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8414 (auto-revert-notify-handler): Handle also gfilenotify.
8415
8416 * subr.el (file-notify-handle-event): New defun. Replacing ...
8417 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8418 Remove.
8419
8420 2013-06-03 Juri Linkov <juri@jurta.org>
8421
8422 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8423 `M-s h .'. (Bug#14427)
8424
8425 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8426 command `hi-lock-face-symbol-at-point'.
8427 (hi-lock-face-symbol-at-point): New command.
8428 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8429 (hi-lock-menu): Add `highlight-symbol-at-point'.
8430 (hi-lock-mode): Doc fix.
8431
8432 * isearch.el (isearch-forward-symbol-at-point): New command.
8433 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8434 (isearch-highlight-regexp): Add a regexp which matches
8435 words/symbols for word/symbol mode.
8436
8437 * subr.el (find-tag-default-bounds): New function with the body
8438 mostly moved from `find-tag-default'.
8439 (find-tag-default): Move most code to `find-tag-default-bounds',
8440 call it and apply `buffer-substring-no-properties' afterwards.
8441
8442 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8443
8444 * eshell/em-term.el (eshell-term-initialize):
8445 Use `cl-intersection' rather than `intersection'.
8446
8447 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8448
8449 * vc/log-view.el: Doc fix.
8450 (log-view-mode-map): Copy keymap from `special-mode-map'.
8451
8452 2013-06-02 Eric Ludlam <zappo@gnu.org>
8453
8454 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8455 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8456 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8457 (eieio-unbound, eieio-default-superclass)
8458 (eieio--define-field-accessors, method-static, method-before)
8459 (method-primary, method-after, method-num-lists)
8460 (method-generic-before, method-generic-primary)
8461 (method-generic-after, method-num-slots)
8462 (eieio-specialized-key-to-generic-key)
8463 (eieio--check-type, class-v, class-p)
8464 (eieio-class-name, define-obsolete-function-alias)
8465 (eieio-class-parents-fast, eieio-class-children-fast)
8466 (same-class-fast-p, class-constructor, generic-p)
8467 (generic-primary-only-p, generic-primary-only-one-p)
8468 (class-option-assoc, class-option, eieio-object-p)
8469 (class-abstract-p, class-method-invocation-order)
8470 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8471 (eieio-class-un-autoload, eieio-defclass)
8472 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8473 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8474 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8475 (eieio-defgeneric-reset-generic-form)
8476 (eieio-defgeneric-form-primary-only)
8477 (eieio-defgeneric-reset-generic-form-primary-only)
8478 (eieio-defgeneric-form-primary-only-one)
8479 (eieio-defgeneric-reset-generic-form-primary-only-one)
8480 (eieio-unbind-method-implementations)
8481 (eieio--defmethod, eieio--typep)
8482 (eieio-perform-slot-validation, eieio-validate-slot-value)
8483 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8484 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8485 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8486 (eieio-slot-name-index, eieio-class-slot-name-index)
8487 (eieio-set-defaults, eieio-initarg-to-attribute)
8488 (eieio-attribute-to-initarg, eieio-c3-candidate)
8489 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8490 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8491 (eieio-class-precedence-list, eieio-generic-call-methodname)
8492 (eieio-generic-call-arglst, eieio-generic-call-key)
8493 (eieio-generic-call-next-method-list)
8494 (eieio-pre-method-execution-functions, eieio-generic-call)
8495 (eieio-generic-call-primary-only, eieiomt-method-list)
8496 (eieiomt-optimizing-obarray, eieiomt-install)
8497 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8498 (eieio-generic-form, eieio-defmethod, make-obsolete)
8499 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8500 (defclass): Remove `eval-and-compile' from macro.
8501 (call-next-method, shared-initialize): Instead of using
8502 `scoped-class' variable, use new eieio--scoped-class, and
8503 eieio--with-scoped-class.
8504 (initialize-instance): Rename local variable 'scoped-class' to
8505 'this-class' to remove ambiguitity from old global.
8506
8507 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8508 eieio.el.
8509 (eieio--scoped-class-stack): New variable.
8510 (eieio--scoped-class): New fcn.
8511 (eieio--with-scoped-class): New scoping macro.
8512 (eieio-defclass): Use pushnew instead of add-to-list.
8513 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8514 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8515 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8516 `scoped-class' variable, use new eieio--scoped-class, and
8517 eieio--with-scoped-class.
8518
8519 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8520
8521 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8522
8523 * eshell/esh-ext.el (eshell-external-command): Pass args to
8524 `eshell-find-interpreter'.
8525 (eshell-find-interpreter): Add new second parameter ARGS.
8526
8527 * eshell/em-script.el (eshell-script-initialize): Add second arg
8528 to the function added as MATCH to `eshell-interpreter-alist'.
8529
8530 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8531 the function added as MATCH to `eshell-interpreter-alist'.
8532
8533 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8534 (eshell-visual-options): New defcustom.
8535 (eshell-escape-control-x): Adapt docstring.
8536 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8537 `eshell-visual-options' in addition to `eshell-visual-commands'.
8538 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8539
8540 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8541
8542 * progmodes/python.el (python-indent-block-enders): Add break,
8543 continue and raise keywords.
8544
8545 2013-06-01 Glenn Morris <rgm@gnu.org>
8546
8547 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8548
8549 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8550 * progmodes/cc-cmds.el (delete-forward-p):
8551 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8552 * progmodes/cc-engine.el (buffer-syntactic-context):
8553 * progmodes/cc-fonts.el (face-property-instance):
8554 * progmodes/cc-mode.el (set-keymap-parents):
8555 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8556 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8557 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8558 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8559 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8560
8561 * progmodes/cc-vars.el (other): Emacs has this widget since
8562 at least 21.1, so don't (re)define it.
8563
8564 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8565 Replace the obsolete alias pcomplete-arg-quote-list.
8566
8567 2013-06-01 Leo Liu <sdl.web@gmail.com>
8568
8569 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8570 punctuation syntax.
8571 (inferior-octave-minimal-columns)
8572 (inferior-octave-last-column-width): New variables.
8573 (inferior-octave-track-window-width-change): New function.
8574 (inferior-octave-mode): Adjust column width so that Octave output,
8575 for example from 'ls', can fit into the window nicely.
8576
8577 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8578
8579 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8580 Highlight expansions inside regexp literals.
8581
8582 2013-05-31 Glenn Morris <rgm@gnu.org>
8583
8584 * obsolete/sym-comp.el (symbol-complete):
8585 Replace obsolete completion-annotate-function.
8586
8587 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8588
8589 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8590
8591 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8592 New function, checks if point is inside a literal that allows
8593 expression expansion.
8594 (ruby-syntax-propertize-expansion): Use it.
8595 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8596 around the body.
8597
8598 2013-05-30 Juri Linkov <juri@jurta.org>
8599
8600 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8601 to "\M-si".
8602 (isearch-invisible): New variable.
8603 (isearch-forward): Doc fix.
8604 (isearch-mode): Set `isearch-invisible'
8605 to the value of `search-invisible'.
8606 (isearch-toggle-case-fold): Doc fix.
8607 (isearch-toggle-invisible): New command.
8608 (isearch-query-replace): Let-bind `search-invisible'
8609 to the value of `isearch-invisible'.
8610 (isearch-search): Use `isearch-invisible' instead of
8611 `search-invisible'. Let-bind `search-invisible'
8612 to the value of `isearch-invisible'. (Bug#11378)
8613
8614 2013-05-30 Juri Linkov <juri@jurta.org>
8615
8616 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8617 call when `query-flag' is nil and `search-invisible' is non-nil.
8618 (Bug#11746)
8619
8620 2013-05-30 Glenn Morris <rgm@gnu.org>
8621
8622 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8623
8624 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8625 (cc-require): Suppress spurious "noruntime" warnings.
8626 (cc-require-when-compile): Use fboundp, for sake of compiler.
8627
8628 * progmodes/cc-mode.el: Move load of cc-vars before that of
8629 cc-langs (which in turn loads cc-vars), to quieten compiler.
8630
8631 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * paren.el: Simplify the code.
8634 (show-paren-mode): Always start the timer.
8635 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8636 (show-paren--overlay, show-paren--overlay-1): Rename from
8637 show-paren-overlay and show-paren-overlay-1, and initialize to an
8638 overlay rather than to nil.
8639 (show-paren-function): Misc cleanup and simplifications.
8640
8641 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * paren.el (show-paren-data-function): New hook.
8644 (show-paren--default): New function, extracted from show-paren-function.
8645 (show-paren-function): Use show-paren-data-function.
8646
8647 2013-05-30 Glenn Morris <rgm@gnu.org>
8648
8649 * ielm.el (ielm-map, ielm-complete-symbol):
8650 Use completion-at-point rather than obsolete functions.
8651 (inferior-emacs-lisp-mode): Doc fix.
8652 Set completion-at-point-functions, rather than
8653 comint-dynamic-complete-functions.
8654
8655 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8656 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8657 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8658
8659 * image.el (image-animated-p): Tweak definition.
8660
8661 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8662 (rlogin-process-connection-type): Tweak default. Add set-after.
8663 (rlogin-host): Doc fix.
8664 (rlogin): Tweak prompt.
8665 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8666
8667 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8668 * progmodes/tcl.el (inferior-tcl-mode-map):
8669 Use completion-at-point rather than obsolete alias.
8670
8671 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8672
8673 * minibuffer.el (read-file-name-completion-ignore-case):
8674 Move before completion--in-region, for eager macro expansion.
8675
8676 2013-05-29 Juri Linkov <juri@jurta.org>
8677
8678 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8679 for total count of matching lines. Add `global-matches' for total
8680 count of matches. Rename `matches' to `lines' for count of
8681 matching lines. Add `matches' for count of matches.
8682 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8683 to `prev-line' for line number of prev match endpt.
8684 Increment `matches' for every match. Print the number of
8685 matching lines in the header.
8686 (occur-context-lines): Rename `lines' to `curr-line'.
8687 Rename `prev-lines' to `prev-line'. (Bug#14017)
8688
8689 2013-05-29 Juri Linkov <juri@jurta.org>
8690
8691 * replace.el (perform-replace): Add `skip-read-only-count',
8692 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8693 Increment them for corresponding conditions and report the number
8694 of skipped occurrences in the final message. (Bug#11746)
8695 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8696 (replace-string, replace-regexp): Doc fix.
8697
8698 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8701
8702 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8703 prog-mode-map (bug#14504).
8704
8705 2013-05-29 Leo Liu <sdl.web@gmail.com>
8706
8707 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8708 (octave-help): Small simplification.
8709
8710 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8711 off the highlight first.
8712
8713 2013-05-29 Glenn Morris <rgm@gnu.org>
8714
8715 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8716 Handle idlwave-last-system-routine-info-cons-cell being nil.
8717
8718 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8719 (idlwave-write-paths): Simplify via with-temp-buffer.
8720
8721 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8722 * emulation/cua-rect.el: Also load cua-base at run time.
8723
8724 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8725 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8726 (cperl-imenu-on-info): Require imenu.
8727
8728 2013-05-28 Alan Mackenzie <acm@muc.de>
8729
8730 Handle "capitalised keywords" correctly.
8731 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8732
8733 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8734
8735 * eshell/em-unix.el: Add -r option to cp.
8736
8737 2013-05-28 Glenn Morris <rgm@gnu.org>
8738
8739 * vc/vc-arch.el (vc-exec-after): Declare.
8740 (vc-switches): Autoload.
8741 * vc/vc-bzr.el: No need to require vc when compiling.
8742 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8743 (vc-resynch-buffer, vc-dir-refresh): Declare.
8744 (vc-setup-buffer, vc-switches): Autoload.
8745 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8746 (vc-resynch-buffer): Declare.
8747 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8748 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8749 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8750 (grep-read-regexp, grep-read-files, grep-expand-template)
8751 (vc-dir-refresh): Declare.
8752 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8753 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8754 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8755 * vc/vc-mtn.el (vc-exec-after): Declare.
8756 (vc-switches): Autoload.
8757 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8758 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8759 (vc-file-tree-walk): Declare.
8760 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8761 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8762 (vc-tag-precondition, vc-rename-master): Autoload.
8763 * vc/vc-svn.el (vc-exec-after): Declare.
8764 (vc-switches, vc-setup-buffer): Autoload.
8765 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8766 Autoload.
8767 (vc-resynch-buffer): Declare.
8768
8769 * obsolete/fast-lock.el (byte-compile-warnings):
8770 Don't warn about obsolete features in this obsolete file.
8771
8772 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8773 Move definition before use.
8774
8775 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8776 (dun-unix-verbs): Remove dun-zippy.
8777 (dun-zippy): Remove function.
8778
8779 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8780
8781 2013-05-27 Juri Linkov <juri@jurta.org>
8782
8783 * replace.el (replace-search): New function with code moved out
8784 from `perform-replace'.
8785 (replace-highlight, replace-dehighlight): Move function definitions
8786 up closer to `replace-search'. (Bug#11746)
8787
8788 2013-05-27 Juri Linkov <juri@jurta.org>
8789
8790 * replace.el (perform-replace): Ignore invisible matches.
8791 In addition to checking `query-replace-skip-read-only', also
8792 filter out matches by calling `run-hook-with-args-until-failure'
8793 on `isearch-filter-predicates', and also check `search-invisible'
8794 for t or call `isearch-range-invisible'.
8795 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8796
8797 2013-05-27 Juri Linkov <juri@jurta.org>
8798
8799 * isearch.el (isearch-filter-predicates): Rename from
8800 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8801 (isearch-message-prefix): Display text from the property
8802 `isearch-message-prefix' of the currently active filters.
8803 (isearch-search): Don't compare `isearch-filter-predicate' with
8804 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8805 on `isearch-filter-predicates'. Also check `search-invisible' for t
8806 or call `isearch-range-invisible'.
8807 (isearch-filter-visible): Make obsolete.
8808 (isearch-lazy-highlight-search):
8809 Call `run-hook-with-args-until-failure' on
8810 `isearch-filter-predicates' and use `isearch-range-invisible'.
8811
8812 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8813 `isearch-filter-predicates' instead of `funcall'ing
8814 `isearch-filter-predicate'.
8815 (Info-mode): Set `Info-isearch-filter' to
8816 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8817
8818 * dired-aux.el (dired-isearch-filter-predicate-orig):
8819 Remove variable.
8820 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8821 (dired-isearch-filenames-end): Add and remove
8822 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8823 instead of changing the value of `isearch-filter-predicate'.
8824 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8825 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8826 Put property `isearch-message-prefix' to "filename " on
8827 `dired-isearch-filter-filenames'.
8828
8829 * wdired.el (wdired-change-to-wdired-mode):
8830 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8831 locally instead of changing `isearch-filter-predicate'.
8832 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8833
8834 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8835
8836 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8837 return the commit hash (Bug#14459). Also set the
8838 `vc-git-detached' property.
8839 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8840 (vc-git-mode-line-string): Use the same help-echo format whether
8841 in detached mode or not, because we know the actual revision now.
8842 When in detached mode, shorten the revision to 7 chars.
8843
8844 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * emacs-lisp/easy-mmode.el (define-minor-mode):
8847 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8848 mode hook and provide a docstring.
8849
8850 2013-05-27 Alan Mackenzie <acm@muc.de>
8851
8852 Remove spurious syntax-table text properties inserted by C-y.
8853 * progmodes/cc-mode.el (c-after-change): Also clear hard
8854 syntax-table property with value nil.
8855
8856 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8857
8858 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8859 when reading the events; the buffer layout shall not be changed.
8860
8861 2013-05-27 Leo Liu <sdl.web@gmail.com>
8862
8863 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8864 New variable.
8865 (inferior-octave-directory-tracker): Automatically re-sync
8866 default-directory.
8867 (octave-help): Improve handling of 'See also'.
8868
8869 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * doc-view.el: Minor naming convention tweaks.
8872 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8873
8874 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8875 even if there's no `display' property yet (bug#14435).
8876
8877 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8878
8879 * subr.el (unmsys--file-name): Rename from reveal-filename.
8880
8881 * Makefile.in (custom-deps, finder-data, autoloads)
8882 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8883 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8884 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8885
8886 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8889 error-completion on the first 2 args of condition-case (bug#14446).
8890 Don't burp at EOB.
8891
8892 2013-05-25 Leo Liu <sdl.web@gmail.com>
8893
8894 * comint.el (comint-previous-matching-input): Do not flood the
8895 *Messages* buffer with trivial messages.
8896
8897 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * progmodes/flymake.el (flymake-nop): Don't return a string.
8900 (flymake-set-at): Fix typo.
8901
8902 * simple.el (read--expression): New function, extracted from
8903 eval-expression. Set completion-at-point-functions (bug#14465).
8904 (eval-expression, eval-minibuffer): Use it.
8905
8906 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8907
8908 * progmodes/flymake.el (flymake-save-buffer-in-file)
8909 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8910 (flymake-selected-frame, flymake-log, flymake-ins-after)
8911 (flymake-set-at, flymake-get-buildfile-from-cache)
8912 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8913 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8914 Refine the doc string.
8915 (flymake-get-file-name-mode-and-masks): Reformat.
8916 (flymake-get-real-file-name-function): Fix a minor bug.
8917
8918 2013-05-24 Juri Linkov <juri@jurta.org>
8919
8920 * progmodes/grep.el (grep-mode-font-lock-keywords):
8921 Support =linenumber= format used by git-grep for lines with
8922 function names. (Bug#13549)
8923
8924 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8927 0 after a semi-colon; it works better for smie-auto-fill.
8928 (octave--indent-new-comment-line): New function.
8929 (octave-indent-new-comment-line): Use it (indirectly).
8930 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8931 modify comment-line-break-function.
8932
8933 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8934 (smie-setup): Use add-function to set it.
8935
8936 2013-05-24 Sam Steingold <sds@gnu.org>
8937
8938 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8939 argument (before the `interactive' argument).
8940
8941 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * image-mode.el (image-mode-winprops): Add winprops to
8944 image-mode-winprops-alist before running
8945 image-mode-new-window-functions.
8946 * doc-view.el (doc-view-new-window-function): Don't delay
8947 doc-view-goto-page via timers (bug#14435).
8948
8949 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8950
8951 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8952 (doc-view-desktop-save-buffer): New function.
8953 (doc-view-restore-desktop-buffer): New function.
8954 (desktop-buffer-mode-handlers):
8955 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8956 handler.
8957 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8958 `desktop-save-buffer' function.
8959
8960 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8961
8962 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8963 (tramp-gvfs-file-name-handler): Raise a user error when
8964 `tramp-gvfs-enabled' is nil.
8965 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8966 Do not raise a user error when loading package. (Bug#14447)
8967
8968 * net/xesam.el: Move to obsolete/.
8969
8970 2013-05-24 Glenn Morris <rgm@gnu.org>
8971
8972 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8973
8974 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8975
8976 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8977 (Info-find-node, Man-getpage-in-background): Declare.
8978
8979 * mail/unrmail.el (unrmail):
8980 Replace obsolete detect-coding-with-priority.
8981
8982 * net/socks.el (socks-split-string): Use this rather than split-string.
8983 (socks-nslookup-host): Update for above change.
8984 (dynamic-choice, s5-dynamic-choice-match)
8985 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8986 Comment out unused code.
8987
8988 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8989 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8990 (gud-tooltip-echo-area): Make obsolete.
8991 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8992
8993 * progmodes/js.el (js--optimize-arglist): Declare.
8994
8995 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8996
8997 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8998 (ediff-window-C): Declare.
8999
9000 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9001 Tweak requires to silence compiler.
9002
9003 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9004 (he-search-string, he-tried-table, he-expand-list)
9005 (he-init-string, he-string-member, he-substitute-string)
9006 (he-reset-string): Declare.
9007
9008 * obsolete/options.el (list-options): Use custom-variable-p,
9009 rather than obsolete alias.
9010
9011 2013-05-23 Sam Steingold <sds@gnu.org>
9012
9013 * simple.el (shell-command-on-region): Pass the `replace' argument
9014 down to `call-process-region' to comply with the doc as reported on
9015 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9016
9017 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * emacs-lisp/smie.el (smie-indent-forward-token)
9020 (smie-indent-backward-token): Handle string tokens (bug#14381).
9021
9022 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9023
9024 * ielm.el (ielm-menu): New menu.
9025 (inferior-emacs-lisp-mode): Set comment-start.
9026
9027 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9028
9029 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9030 Fix deactivate action.
9031
9032 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9033 Add cleveref macros.
9034
9035 * lisp/textmodes/reftex-parse.el
9036 (reftex-locate-bibliography-files): Accept options for
9037 bibliography commands.
9038 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9039 Add addbibresource. Basic Biblatex support.
9040
9041 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9042
9043 * net/tramp-gvfs.el (top):
9044 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9045 when loading package. (Bug#14447)
9046
9047 2013-05-23 Glenn Morris <rgm@gnu.org>
9048
9049 * progmodes/js.el: No need to load comint when compiling.
9050 (ring-insert, comint-send-string, comint-send-input)
9051 (comint-last-input-end, ido-chop): Declare.
9052
9053 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9054 * vc/ediff-mult.el: Adjust requires.
9055 (ediff-directories-internal, ediff-directory-revisions-internal)
9056 (ediff-patch-file-internal): Declare.
9057 * vc/ediff-ptch.el: Adjust requires.
9058 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9059 (ediff-find-file): Autoload.
9060 * vc/ediff-util.el: No need to load ediff when compiling.
9061 (ediff-regions-internal): Declare.
9062 * vc/ediff-wind.el: Adjust requires.
9063 (ediff-compute-toolbar-width): Define when compiling.
9064 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9065 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9066 (dired-get-filename, dired-get-marked-files)
9067 (ediff-last-dir-patch, ediff-patch-default-directory)
9068 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9069 (ediff-patch-buffer-internal): Declare.
9070
9071 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9072 (ispell-process, ispell-buffer-local-words, lm-summary)
9073 (lm-section-start, lm-section-end): Declare.
9074 (checkdoc-ispell-init): Simplify.
9075
9076 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9077 (he-string-member, he-reset-string, he-substitute-string): Declare.
9078
9079 * eshell/em-ls.el: Adjust requires.
9080 (eshell-glob-regexp): Declare.
9081 * eshell/em-tramp.el: Adjust requires.
9082 (eshell-parse-command): Autoload.
9083 * eshell/em-xtra.el: Adjust requires.
9084 (eshell-parse-command): Autoload.
9085 * eshell/esh-ext.el: Adjust requires.
9086 (eshell-parse-command, eshell-close-handles): Autoload.
9087 * eshell/esh-io.el: Adjust requires.
9088 (eshell-output-filter): Autoload.
9089 * eshell/esh-util.el: No need to load tramp when compiling.
9090 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9091 Declare.
9092 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9093 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9094 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9095 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9096 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9097 * eshell/esh-opt.el, eshell/esh-proc.el:
9098 * eshell/esh-var.el: Adjust requires.
9099 * eshell/eshell.el: Do not require esh-util twice.
9100 (eshell-add-input-to-history): Declare.
9101 (eshell-command): Check history module is active before using it.
9102
9103 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9104
9105 2013-05-22 Leo Liu <sdl.web@gmail.com>
9106
9107 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9108
9109 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9110
9111 * autorevert.el (auto-revert-notify-add-watch)
9112 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9113 it indicates changes in file modification time.
9114
9115 2013-05-22 Glenn Morris <rgm@gnu.org>
9116
9117 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9118 Always delete the autoloaded function from the noruntime and
9119 unresolved functions lists.
9120
9121 * allout.el: No need to load epa, epg, overlay when compiling.
9122 (epg-context-set-passphrase-callback, epg-list-keys)
9123 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9124 (epg-key-user-id-list): Declare.
9125
9126 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9127 (viper-set-parsing-style-toggling-macro)
9128 (viper-set-emacs-state-searchstyle-macros):
9129 Use called-interactively-p on Emacs.
9130 (viper-looking-back): Make it an obsolete alias. Update callers.
9131 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9132 Use looking-back rather than viper-looking-back.
9133 (viper-tmp-insert-at-eob, viper-enlarge-region)
9134 (viper-read-string-with-history, viper-register-to-point)
9135 (viper-append-to-register, viper-change-state-to-vi)
9136 (viper-backward-char-carefully, viper-forward-char-carefully)
9137 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9138 (viper-change-state-to-emacs): Declare.
9139 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9140 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9141 * emulation/viper-mous.el: Do not load viper-cmd.
9142 (viper-backward-char-carefully, viper-forward-char-carefully)
9143 (viper-forward-word, viper-adjust-window): Declare.
9144
9145 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9146
9147 * progmodes/idlw-help.el (idlwave-help-fontify):
9148 Use called-interactively-p.
9149
9150 * term/w32console.el (w32-get-console-codepage)
9151 (w32-get-console-output-codepage): Declare.
9152
9153 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9154 Remove unnecessary declarations.
9155 (dframe-message): Doc fix.
9156
9157 * info.el (dframe-select-attached-frame, dframe-current-frame):
9158 Declare.
9159
9160 * speedbar.el (speedbar-message): Make it an obsolete alias.
9161 Update all callers.
9162 (speedbar-with-attached-buffer)
9163 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9164 (speedbar-with-writable): Use backquote.
9165 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9166 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9167 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9168 rather than speedbar- aliases.
9169 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9170 (speedbar-make-specialized-keymap, speedbar-insert-button)
9171 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9172 (speedbar-do-function-pointer): Declare.
9173 (rmail-speedbar-button, rmail-speedbar-find-file)
9174 (rmail-speedbar-move-message):
9175 Use dframe-with-attached-buffer rather than speedbar- alias.
9176 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9177 (dframe-message, speedbar-make-specialized-keymap)
9178 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9179 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9180 (speedbar-insert-button, dframe-select-attached-frame)
9181 (dframe-maybee-jump-to-attached-frame)
9182 (speedbar-change-initial-expansion-list)
9183 (speedbar-previously-used-expansion-list-name): Declare.
9184 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9185 Use dframe-message, dframe-with-attached-buffer rather than
9186 speedbar- aliases.
9187 (gud-sentinel): Silence compiler.
9188 * progmodes/vhdl-mode.el (speedbar-refresh)
9189 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9190 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9191 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9192 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9193 (speedbar-file-lists, speedbar-make-tag-line)
9194 (speedbar-line-directory, speedbar-goto-this-file)
9195 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9196 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9197 (speedbar-make-button, speedbar-reset-scanners)
9198 (speedbar-files-item-info, speedbar-line-text)
9199 (speedbar-find-file-in-frame, speedbar-set-timer)
9200 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9201 (speedbar-with-writable): Do not (re)define it.
9202 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9203 rather than speedbar- alias.
9204
9205 2013-05-21 Leo Liu <sdl.web@gmail.com>
9206
9207 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9208 menu items.
9209 (octave-mode): Tweak fill-nobreak-predicate.
9210 (inferior-octave-startup): Check process to avoid infinite loop.
9211 (inferior-octave): Pop to buffer first to show abornmal process
9212 exit information.
9213
9214 2013-05-21 Glenn Morris <rgm@gnu.org>
9215
9216 * printing.el (pr-menu-bar): Define when compiling.
9217
9218 2013-05-21 Leo Liu <sdl.web@gmail.com>
9219
9220 * progmodes/octave.el (octave-auto-fill): Remove.
9221 (octave-indent-new-comment-line): Improve.
9222 (octave-mode): Use auto fill mode through
9223 comment-line-break-function and fill-nobreak-predicate.
9224 (octave-goto-function-definition): Support DEFUN_DLD.
9225 (octave-beginning-of-defun): Small tweak.
9226 (octave-help): Show parent directory.
9227
9228 2013-05-21 Glenn Morris <rgm@gnu.org>
9229
9230 * files.el (dired-unmark):
9231 * progmodes/gud.el (gdb-input): Update declarations.
9232
9233 * calculator.el (electric, ehelp): No need to load when compiling.
9234 (Electric-command-loop, electric-describe-mode): Declare.
9235
9236 * doc-view.el (doc-view-current-converter-processes): Move before use.
9237
9238 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9239 Move MODE-set-explicitly definition before use.
9240
9241 * international/mule-diag.el (mule-diag):
9242 Don't use obsolete window-system-version.
9243
9244 * mail/feedmail.el (smtpmail): No need to load when compiling.
9245 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9246
9247 * mail/mail-utils.el (rfc822): No need to load when compiling.
9248 (rfc822-addresses): Autoload it.
9249 (mail-strip-quoted-names): Trivial simplification.
9250
9251 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9252 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9253
9254 * net/snmp-mode.el (tempo): Don't duplicate requires.
9255
9256 * progmodes/prolog.el (info): No need to load when compiling.
9257 (comint): Require before shell requires it.
9258 (Info-goto-node): Autoload it.
9259 (Info-follow-nearest-node): Declare.
9260 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9261
9262 * textmodes/artist.el (picture-mode-exit): Declare.
9263
9264 * textmodes/reftex-parse.el (reftex-parse-from-file):
9265 Trivial rewrite so the compiler can parse it better.
9266
9267 2013-05-20 Leo Liu <sdl.web@gmail.com>
9268
9269 * progmodes/octave.el (octave-help-mode-map)
9270 (octave-help-mode-finish-hook): New variables.
9271 (octave-help-mode, octave-help-mode-finish): New functions.
9272 (octave-help): Use octave-help-mode.
9273
9274 2013-05-20 Glenn Morris <rgm@gnu.org>
9275
9276 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9277
9278 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9279
9280 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9281 start at point, so that expansion starting right after opening
9282 slash in a regexp is recognized.
9283 (ruby-syntax-before-regexp-re): New defvar, extracted from
9284 ruby-syntax-propertize-function. Since the value of this regexp
9285 is looked up at runtime now, we should be able to turn
9286 `ruby-syntax-methods-before-regexp' into a defcustom later.
9287 (ruby-syntax-propertize-function): Split regexp matching into two
9288 parts, for opening and closing slashes. That allows us to skip
9289 over string interpolations and support multiline regexps.
9290 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9291 for them, which calls `ruby-syntax-propertize-expansion'.
9292 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9293 call to `ruby-syntax-propertize-function'.
9294 (ruby-syntax-propertize-expansion): Extracted from
9295 `ruby-syntax-propertize-expansions'. Handles one expansion.
9296 (ruby-syntax-propertize-percent-literal): Leave point right after
9297 the percent symbol, so that the expression expansion rule can
9298 propertize the contents.
9299 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9300 heredoc openers.
9301 (ruby-syntax-propertize-expansions): Remove.
9302
9303 2013-05-18 Juri Linkov <juri@jurta.org>
9304
9305 * man.el (Man-default-man-entry): Remove `-' from the end
9306 of the default value. (Bug#14400)
9307
9308 2013-05-18 Glenn Morris <rgm@gnu.org>
9309
9310 * comint.el (comint-password-prompt-regexp):
9311 Allow "password for XXX" where XXX contains colons (eg https://...).
9312
9313 2013-05-18 Leo Liu <sdl.web@gmail.com>
9314
9315 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9316 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9317 (octave-source-directories): Don't check process.
9318 (octave-source-directories, octave-find-definition): Doc fix.
9319
9320 2013-05-18 Glenn Morris <rgm@gnu.org>
9321
9322 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9323 Remove backspace/delete bindings. (Bug#14392)
9324
9325 * cus-dep.el (custom-make-dependencies): Sort the output.
9326 (custom-versions-load-alist): Convert comment to doc.
9327
9328 2013-05-17 Leo Liu <sdl.web@gmail.com>
9329
9330 * newcomment.el (comment-search-backward): Stricter in finding
9331 comment start. (Bug#14303)
9332
9333 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9334 (octave-comment-start-skip): Properly anchored.
9335
9336 2013-05-17 Leo Liu <sdl.web@gmail.com>
9337
9338 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9339 Clean up when turned off. (Bug#14395)
9340 (smie--highlight-matching-block-overlay): No longer buffer-local.
9341 (smie-highlight-matching-block): Adjust.
9342
9343 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9344
9345 Doc string fix for "nanoseconds" (Bug#14406).
9346 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9347 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9348
9349 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9350
9351 * calc/calc-units.el (math-extract-units): Preserve powers
9352 of units.
9353
9354 2013-05-17 Leo Liu <sdl.web@gmail.com>
9355
9356 * subr.el (delete-consecutive-dups): New function.
9357 * ido.el (ido-set-matches-1): Use it.
9358 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9359 * ido.el (ido-remove-consecutive-dups): Remove.
9360
9361 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9364 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9365 regexp-opt's `words'.
9366
9367 2013-05-16 Leo Liu <sdl.web@gmail.com>
9368
9369 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9370 (smie--highlight-matching-block-overlay)
9371 (smie--highlight-matching-block-lastpos)
9372 (smie--highlight-matching-block-timer): New variables.
9373 (smie-highlight-matching-block): New function.
9374 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9375 (smie-setup): Conditionally enable smie-blink-matching-open.
9376
9377 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9378
9379 Sync with upstream verilog-mode r840.
9380 * progmodes/verilog-mode.el (verilog-mode-version)
9381 (verilog-mode-release-date): Update.
9382 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9383 (verilog-sig-tieoff): Fix string error on
9384 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9385 (verilog-read-decls): Fix parameters confusing
9386 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9387
9388 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9389
9390 * subr.el (reveal-filename): New function.
9391
9392 * loadup.el: Compute Emacs executable versions on MS-Windows,
9393 where executables have the .exe extension. Add a hard link
9394 emacs-XX.YY.ZZ.exe on MS-Windows.
9395
9396 * Makefile.in (XARGS_LIMIT): New variable.
9397 (custom-deps, finder-data, autoloads)
9398 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9399 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9400 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9401 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9402
9403 2013-05-16 Leo Liu <sdl.web@gmail.com>
9404
9405 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9406 (octave-mode-menu, octave-mode-map): Remove its uses.
9407
9408 2013-05-16 Reto Zimmermann <reto@gnu.org>
9409
9410 Sync with upstream vhdl mode v3.34.2.
9411 * progmodes/vhdl-mode.el: Use `push' throughout.
9412 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9413 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9414 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9415 (vhdl-actual-generic-name): New option to derive actual generic name.
9416 (vhdl-port-paste-signals): Replace formal by actual generics.
9417 (vhdl-beautify): New name for old group vhdl-align. Update users.
9418 (vhdl-beautify-options): New option.
9419 (vhdl-last-input-event): New compat alias. Use throughout.
9420 (vhdl-goto-line): Replace user level function `goto-line'.
9421 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9422 vhdl-fix-statement-buffer.
9423 (vhdl-create-mode-menu): Add some entries.
9424 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9425 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9426 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9427 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9428 to force statements on one line.
9429 (vhdl-remove-trailing-spaces-region):
9430 New, split from vhdl-remove-trailing-spaces.
9431 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9432 Respect vhdl-beautify-options.
9433 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9434 (vhdl-update-sensitivity-list): Not add with index if exists without.
9435 Not include array index with signal. Ignore keywords in comments.
9436 (vhdl-get-visible-signals): Regexp tweaks.
9437 (vhdl-template-component-inst): Handle empty library.
9438 (vhdl-template-type): Add template for 'enum' type.
9439 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9440 Use vhdl-replace-string.
9441 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9442 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9443 (vhdl-speedbar-initialize): Update for above name change.
9444 (vhdl-compose-wire-components): Fix in handling of constants.
9445 (vhdl-error-regexp-emacs-alist): New variable.
9446 (vhdl-error-regexp-add-emacs): New function;
9447 adds support for new compile.el (Emacs 22+)
9448 (vhdl-generate-makefile-1): Change target order for single lib. units.
9449 Allow use of absolute file names.
9450
9451 2013-05-16 Leo Liu <sdl.web@gmail.com>
9452
9453 * simple.el (prog-indent-sexp): Indent enclosing defun.
9454
9455 2013-05-15 Glenn Morris <rgm@gnu.org>
9456
9457 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9458 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9459 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9460 (whitespace-highlight): Move to whitespace group.
9461
9462 * comint.el (comint-source):
9463 * pcmpl-linux.el (pcmpl-linux):
9464 * shell.el (shell-faces):
9465 * eshell/esh-opt.el (eshell-opt):
9466 * international/ccl.el (ccl): Remove empty custom groups.
9467
9468 * completion.el (dynamic-completion-mode):
9469 * jit-lock.el (jit-lock-debug-mode):
9470 * minibuffer.el (completion-in-region-mode):
9471 * type-break.el (type-break-mode-line-message-mode)
9472 (type-break-query-mode):
9473 * emulation/tpu-edt.el (tpu-edt-mode):
9474 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9475 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9476 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9477
9478 * term/xterm.el (xterm): Change parent group to terminals.
9479
9480 * master.el (master): Remove empty custom group.
9481 (master-mode): Remove unused :group argument.
9482 * textmodes/refill.el (refill): Remove empty custom group.
9483 (refill-mode): Remove unused :group argument.
9484
9485 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9486
9487 * cus-dep.el: Provide a feature.
9488 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9489 Don't mistakenly ignore files whose basenames match a basename
9490 from preloaded-file-list (eg cedet/ede/simple.el).
9491 Add a fallback method for getting :group.
9492
9493 2013-05-15 Juri Linkov <juri@jurta.org>
9494
9495 * isearch.el (isearch-char-by-name): Rename from
9496 `isearch-insert-char-by-name'. Doc fix.
9497 (isearch-forward): Mention `isearch-char-by-name' in
9498 the docstring. (Bug#13348)
9499
9500 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9501 `exit-minibuffer' instead of
9502 `isearch-nonincremental-exit-minibuffer'.
9503 (isearch-edit-string): Remove mention of
9504 `isearch-nonincremental-exit-minibuffer' from docstring.
9505 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9506 (isearch-forward-exit-minibuffer)
9507 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9508
9509 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * loadup.el: Just use unversioned DOC.
9512
9513 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9514 literals as extending to EOB.
9515 (nxml-last-fontify-end): Remove unused variable.
9516 (nxml-after-change1): Use with-silent-modifications.
9517 (nxml-extend-after-change-region): Simplify.
9518 (nxml-extend-after-change-region1): Remove function.
9519 (nxml-after-change1): Don't adjust for dependent regions.
9520 (nxml-fontify-matcher): Simplify.
9521 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9522 (xmltok-add-dependent): Remove function.
9523 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9524 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9525 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9526 unclosed <[[, <?, comment, and other literals as extending to EOB.
9527 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9528 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9529 Remove functions.
9530 (rng-do-some-validation-1): Don't mark dependent regions.
9531 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9532 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9533 (nxml-clear-dependent-regions): Remove functions.
9534 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9535 (nxml-ensure-scan-up-to-date):
9536 Don't clear&mark dependent regions.
9537
9538 2013-05-15 Leo Liu <sdl.web@gmail.com>
9539
9540 * progmodes/octave.el (octave-goto-function-definition):
9541 Improve and fix callers.
9542
9543 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9546 the setter (bug#14387).
9547
9548 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9549 surrounding group (bug#14402).
9550
9551 2013-05-14 Juri Linkov <juri@jurta.org>
9552
9553 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9554 (Bug#14390)
9555
9556 2013-05-14 Glenn Morris <rgm@gnu.org>
9557
9558 * progmodes/f90.el (f90-imenu-generic-expression):
9559 Fix typo in 2013-05-08 change. (Bug#14402)
9560
9561 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9562
9563 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9564 Remove signals for which replies are never received.
9565
9566 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9567
9568 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9569 (gdb-handler-alist, gdb-handler-number): Remove variables.
9570 (gdb-handler-list): New variable.
9571 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9572 (gdb-pending-handler-p, gdb-handle-reply)
9573 (gdb-remove-all-pending-triggers): New functions.
9574 (gdb-discard-unordered-replies): New defcustom.
9575 (gdb-handler): New defstruct.
9576 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9577 instead of gdb-pending-triggers. Update docstring.
9578 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9579 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9580 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9581 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9582 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9583 (gdb-frame-handler): Pending triggers are now automatically managed.
9584 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9585 Remove argument.
9586 (gdb-input): Automatically handles pending triggers. Update docstring.
9587 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9588 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9589 Update comments.
9590 (gdb-done-or-error): Now use gdb-handle-reply.
9591
9592 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9593
9594 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9595 gdb-debug-log.
9596
9597 2013-05-14 Glenn Morris <rgm@gnu.org>
9598
9599 * subr.el (user-emacs-directory-warning): New option.
9600 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9601
9602 2013-05-14 Leo Liu <sdl.web@gmail.com>
9603
9604 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9605 during redisplay.
9606 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9607 (octave-font-lock-texinfo-comment): Fix invalid search bound
9608 error: wrong side of point.
9609
9610 2013-05-14 Glenn Morris <rgm@gnu.org>
9611
9612 * progmodes/flymake.el (flymake-xml-program): New option.
9613 (flymake-xml-init): Use it.
9614
9615 * term/xterm.el: Provide a feature.
9616
9617 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9618
9619 2013-05-13 Glenn Morris <rgm@gnu.org>
9620
9621 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9622 Add compat aliases as a hack workaround. (Bug#14384)
9623
9624 2013-05-13 Leo Liu <sdl.web@gmail.com>
9625
9626 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9627 ###, and %!.
9628 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9629 C-M-q.
9630 (octave-comment-start-skip): Include %!.
9631 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9632
9633 2013-05-12 Leo Liu <sdl.web@gmail.com>
9634
9635 * progmodes/octave.el (inferior-octave-startup): Store the value
9636 of __octave_srcdir__ for octave-source-directories.
9637 (inferior-octave-check-process): New function refactored out of
9638 inferior-octave-send-list-and-digest.
9639 (octave-source-directories)
9640 (octave-find-definition-filename-function): New variables.
9641 (octave-source-directories)
9642 (octave-find-definition-default-filename): New functions.
9643 (octave-find-definition): Improve to find functions implemented in C++.
9644
9645 2013-05-12 Glenn Morris <rgm@gnu.org>
9646
9647 * calendar/diary-lib.el (diary-outlook-format-1):
9648 Don't include dayname in the output. (Bug#14349)
9649
9650 2013-05-11 Glenn Morris <rgm@gnu.org>
9651
9652 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9653
9654 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9655 Treat cc-provide like provide.
9656
9657 2013-05-11 Kevin Ryde <user42@zip.com.au>
9658
9659 * cus-dep.el (custom-make-dependencies):
9660 Use generated-autoload-load-name for the sake of files such
9661 such cedet/semantic/bovine/c.el, where the base file name
9662 is not in load-path. (Bug#5277)
9663
9664 2013-05-11 Glenn Morris <rgm@gnu.org>
9665
9666 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9667 Provide features.
9668
9669 2013-05-11 Leo Liu <sdl.web@gmail.com>
9670
9671 * progmodes/octave.el (octave-indent-comment): Improve.
9672 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9673 (octave-eldoc-function-signatures, octave-eldoc-function):
9674 New functions.
9675 (octave-mode, inferior-octave-mode): Add eldoc support.
9676
9677 2013-05-11 Richard Stallman <rms@gnu.org>
9678
9679 * epa.el (epa-decrypt-file): Take output file name as argument
9680 and read it using `interactive'.
9681
9682 2013-05-11 Leo Liu <sdl.web@gmail.com>
9683
9684 * progmodes/octave.el (octave-beginning-of-line)
9685 (octave-end-of-line): Check before using up-list because it jumps
9686 out of more syntactic contructs since moving to smie.
9687 (octave-indent-comment): New function.
9688 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9689 (octave-begin-keywords, octave-end-keywords)
9690 (octave-reserved-words, octave-smie-bnf-table)
9691 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9692
9693 2013-05-11 Glenn Morris <rgm@gnu.org>
9694
9695 * faces.el (internal-face-x-get-resource):
9696 * frame.el (ns-display-monitor-attributes-list):
9697 * calc/calc-aent.el (math-to-radians-2):
9698 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9699 Fix declarations.
9700
9701 * calc/calc-menu.el: Make it loadable in isolation.
9702
9703 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9704 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9705 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9706 (eudc-bbdb-query-internal): Require 'bbdb.
9707
9708 * lpr.el (lpr-headers-switches):
9709 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9710
9711 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9712
9713 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9714
9715 * term.el (term-set-escape-char): Make it idempotent.
9716
9717 2013-05-10 Leo Liu <sdl.web@gmail.com>
9718
9719 * progmodes/octave.el (inferior-octave-completion-table):
9720 No longer a function and all uses changed. Use cache to speed up
9721 completion due to bug#11906.
9722 (octave-beginning-of-defun): Re-write to be more general.
9723
9724 2013-05-10 Glenn Morris <rgm@gnu.org>
9725
9726 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9727
9728 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * comint.el (comint-redirect-send-command-to-process): Use :around
9731 rather than :override for comint-redirect-filter.
9732 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9733 Call it instead of comint-redirect-original-filter-function (which
9734 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9735
9736 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9737
9738 * frame.el (display-monitor-attributes-list): Add NS case.
9739 (ns-display-monitor-attributes-list): Declare.
9740
9741 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9742
9743 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9744
9745 2013-05-09 Glenn Morris <rgm@gnu.org>
9746
9747 * international/fontset.el (vertical-centering-font-regexp):
9748 Set standard-value.
9749
9750 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9751
9752 * bookmark.el (bookmark-search-delay):
9753 * cus-start.el (vertical-centering-font-regexp):
9754 * ps-mule.el (ps-mule-font-info-database-default):
9755 * ps-print.el (ps-default-fg, ps-default-bg):
9756 * type-break.el (type-break-good-break-interval):
9757 * whitespace.el (whitespace-indentation-regexp)
9758 (whitespace-space-after-tab-regexp):
9759 * emacs-lisp/testcover.el (testcover-1value-functions)
9760 (testcover-noreturn-functions, testcover-progn-functions)
9761 (testcover-prog1-functions):
9762 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9763 * eshell/em-glob.el (eshell-glob-translate-alist):
9764 * play/tetris.el (tetris-tty-colors):
9765 * progmodes/cpp.el (cpp-face-default-list):
9766 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9767 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9768 (idlwave-help-browser-generic-args):
9769 * progmodes/make-mode.el (makefile-special-targets-list):
9770 * progmodes/python.el (python-shell-virtualenv-path):
9771 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9772 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9773 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9774 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9775 * textmodes/reftex-vars.el (reftex-format-label-function):
9776 * textmodes/remember.el (remember-diary-file): Fix custom types.
9777
9778 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9779 Add :version.
9780
9781 2013-05-09 Leo Liu <sdl.web@gmail.com>
9782
9783 * progmodes/octave.el (inferior-octave-completion-at-point):
9784 Restore file completion. (Bug#14300)
9785 (inferior-octave-startup): Fix incorrect highlighting for the
9786 first prompt.
9787
9788 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * progmodes/ruby-mode.el: First cut at SMIE support.
9791 (ruby-use-smie): New var.
9792 (ruby-smie-grammar): New constant.
9793 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9794 (ruby-smie--forward-token, ruby-smie--backward-token)
9795 (ruby-smie-rules): New functions.
9796 (ruby-mode-variables): Setup SMIE if applicable.
9797
9798 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9799
9800 * simple.el (line-move-visual): Signal beginning/end of buffer
9801 only if vertical-motion moved less than it was requested. Avoids
9802 silly incorrect error messages when there are display strings with
9803 multiple newlines at EOL.
9804
9805 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9808 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9809 (prolog-char-quote-workaround):
9810 * progmodes/cperl-mode.el (cperl-under-as-char):
9811 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9812 Mark as obsolete.
9813 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9814 their declaration.
9815 (vhdl-mode-syntax-table-init): Remove.
9816
9817 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9818 last change.
9819
9820 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9821 syntax for "_".
9822 (ld-script-font-lock-keywords):
9823 Change regexps to use things like \_< and \_>.
9824
9825 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9826 Change all regexps to use things like \_< and \_>.
9827
9828 * progmodes/autoconf.el (autoconf-definition-regexp)
9829 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9830 Handle a _ with symbol syntax.
9831 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9832
9833 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9834 Consolidate declaration.
9835 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9836 the declaration.
9837 (ada-create-syntax-table): Remove.
9838 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9839 already has the right syntax nowadays.
9840 (ada-goto-next-word): Don't change the syntax of "_".
9841
9842 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9843 with-wrapper-hook.
9844
9845 2013-05-08 Sam Steingold <sds@gnu.org>
9846
9847 * thingatpt.el (thing-at-point): Accept optional second argument
9848 NO-PROPERTIES to strip the text properties from the return value.
9849 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9850 to `thing-at-point' instead of stripping the properties ourselves.
9851 Also, when `thing-at-point' fails to find a url, prepend "http://"
9852 to the filename at point on the assumption that the user is
9853 pointing at something like gnu.org/gnu.
9854
9855 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9856
9857 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9858 * faces.el (crm-separator):
9859 Silence byte-compiler.
9860
9861 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9862 (tool-bar-map): Remove unneeded defvars.
9863
9864 2013-05-08 Leo Liu <sdl.web@gmail.com>
9865
9866 Re-work a fix for bug#10994 based on Le Wang's patch.
9867 * ido.el (ido-remove-consecutive-dups): New helper.
9868 (ido-completing-read): Use it.
9869 (ido-chop): Revert fix for bug#10994.
9870
9871 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9872
9873 * cus-edit.el (custom-save-variables):
9874 Pretty-print long values. (Bug#14187)
9875
9876 2013-05-08 Glenn Morris <rgm@gnu.org>
9877
9878 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9879 (m4-mode-syntax-table): Init in the defvar.
9880 (m4-mode-abbrev-table): Let define-derived-mode define it.
9881
9882 2013-05-08 Tom Tromey <tromey@redhat.com>
9883
9884 * progmodes/m4-mode.el (m4-mode-syntax-table):
9885 Do not treat "_" as word constituent. (Bug#14167)
9886
9887 2013-05-07 Glenn Morris <rgm@gnu.org>
9888
9889 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9890 Remove explicit eshell-isearch-cancel-map.
9891
9892 * progmodes/f90.el (f90-smart-end-names): New option.
9893 (f90-smart-end): Doc fix.
9894 (f90-end-block-optional-name): New constant.
9895 (f90-block-match): Respect f90-smart-end-names.
9896
9897 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9900 about implicit semi-colons (bug#14218).
9901
9902 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9903
9904 * frame.el (display-monitor-attributes-list)
9905 (frame-monitor-attributes): New functions.
9906
9907 2013-05-06 Leo Liu <sdl.web@gmail.com>
9908
9909 * progmodes/octave.el (octave-syntax-propertize-function): Change
9910 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9911 (octave-font-lock-keywords): Use octave-operator-regexp.
9912 (octave-completion-at-point): Rename from
9913 octave-completion-at-point-function.
9914 (inferior-octave-directory-tracker): Robustify.
9915 (octave-text-functions): Remove and fix its uses. No such things
9916 any more.
9917
9918 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * emacs-lisp/trace.el (trace--display-buffer): New function.
9921 (trace-make-advice): Use it.
9922
9923 2013-05-06 Juri Linkov <juri@jurta.org>
9924
9925 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9926 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9927 Doc fix.
9928 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9929 in the help string. (Bug#12985)
9930
9931 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9932
9933 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9934
9935 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * progmodes/perl-mode.el: Add support for here documents.
9938 (perl-syntax-propertize-function): Match here-doc markers.
9939 (perl-syntax-propertize-special-constructs): Find their end.
9940 (perl-imenu-generic-expression): Use [:alnum:].
9941
9942 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9943 (advice--add-function): Refresh the advice if already present
9944 (bug#14317).
9945
9946 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9947
9948 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9949
9950 2013-05-06 Glenn Morris <rgm@gnu.org>
9951
9952 * w32-fns.el (w32-charset-info-alist): Declare.
9953
9954 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9955 of its defcustom properties.
9956 (eshell-cmpl-initialize): No need to load pcomplete.
9957
9958 * generic-x.el: No need to require comint when compiling.
9959
9960 * net/eudc-export.el: Make it loadable without bbdb.
9961 (top-level): Use require rather than load-library.
9962 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9963 (eudc-batch-export-records-to-bbdb)
9964 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9965 Require bbdb.
9966
9967 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9970 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9971 some tweaks, instead.
9972
9973 2013-05-05 Leo Liu <sdl.web@gmail.com>
9974
9975 * progmodes/octave.el (octave-font-lock-keywords)
9976 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9977 (inferior-octave-send-list-and-digest): Improve error message.
9978 (octave-mode, inferior-octave-mode): Use setq-local.
9979 (octave-help): Set info-lookup-mode.
9980
9981 2013-05-05 Richard Stallman <rms@gnu.org>
9982
9983 * vc/compare-w.el (compare-windows-whitespace):
9984 Treat no-break space as whitespace.
9985
9986 * mail/rmailsum.el (rmail-summary-rmail-update):
9987 Detect empty summary and don't change selected message.
9988 (rmail-summary-goto-msg): Likewise.
9989
9990 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9991 Doc fixes, rename args.
9992
9993 2013-05-05 Alan Mackenzie <acm@muc.de>
9994
9995 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9996
9997 2013-05-05 Juri Linkov <juri@jurta.org>
9998
9999 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10000 to not add the length of the summary segment to the return value.
10001 (Bug#14125)
10002
10003 2013-05-05 Leo Liu <sdl.web@gmail.com>
10004
10005 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10006 (inferior-octave-output-filter): Remove.
10007 (octave-send-region, inferior-octave-startup): Fix callers.
10008 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10009 (octave-binary-file-extensions): New user variable.
10010 (octave-find-definition): Confirm if opening binary files.
10011 (octave-help-file): Use octave-find-definition to get the binary
10012 confirmation.
10013 (octave-help): Adjust for octave-help-file change.
10014
10015 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10018 Merge the two entries that handle function definitions.
10019 (pascal--syntax-propertize): New const.
10020 (pascal-mode): Use it. Use setq-local.
10021
10022 2013-05-04 Glenn Morris <rgm@gnu.org>
10023
10024 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10025 (diary-from-outlook): Respect diary-from-outlook-function.
10026
10027 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10030 Move the declaration from C.
10031 (read-minibuffer, eval-minibuffer): Move from C.
10032 (completion-setup-function): Avoid minibuffer-completion-contents.
10033
10034 2013-05-03 Leo Liu <sdl.web@gmail.com>
10035
10036 * progmodes/octave.el (octave-font-lock-keywords): Do not
10037 dehighlight 'end' in comments or strings.
10038 (octave-completing-read, octave-goto-function-definition):
10039 New helpers.
10040 (octave-help-buffer): New user variable.
10041 (octave-help-file, octave-help-function): New button types.
10042 (octave-help): New command and bind it to C-h ;.
10043 (octave-find-definition): New command and bind it to M-.
10044 (user-error): Alias to error if not defined.
10045
10046 2013-05-02 Leo Liu <sdl.web@gmail.com>
10047
10048 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10049 for \. (bug#14332)
10050 (octave-font-lock-keywords): Include [ and {.
10051
10052 2013-05-02 Leo Liu <sdl.web@gmail.com>
10053
10054 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10055 (inferior-octave): Remove calling comint-mode and return the buffer.
10056 (inferior-octave-startup): Cosmetic changes.
10057
10058 2013-05-02 Leo Liu <sdl.web@gmail.com>
10059
10060 * progmodes/octave.el (octave-syntax-propertize-function):
10061 Include the case when ' is at line beginning. (Bug#14336)
10062
10063 2013-05-02 Glenn Morris <rgm@gnu.org>
10064
10065 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10066 * desktop.el (vc-dir-mode): Just autoload it here.
10067
10068 2013-05-02 Alan Mackenzie <acm@muc.de>
10069
10070 Eliminate variable c-standard-font-lock-fontify-region-function.
10071 * progmodes/cc-mode.el
10072 (c-standard-font-lock-fontify-region-function): Remove.
10073 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10074
10075 2013-05-01 Leo Liu <sdl.web@gmail.com>
10076
10077 * progmodes/octave.el: Compatible with older emacs-24 releases.
10078 (inferior-octave-has-built-in-variables): Remove. Built-in
10079 variables were removed from Octave in 2007.
10080 (inferior-octave-startup): Fix uses.
10081 (comint-line-beginning-position): Remove compatibility code for
10082 emacs 21.
10083
10084 2013-05-01 Juri Linkov <juri@jurta.org>
10085
10086 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10087
10088 2013-05-01 Juri Linkov <juri@jurta.org>
10089
10090 * comint.el (comint-previous-matching-input): Don't print message
10091 "History item: %d" when `isearch-mode' is active.
10092 (comint-history-isearch-message): Print message "History item: %d"
10093 when `comint-input-ring-index' is not empty and this function is
10094 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10095
10096 2013-05-01 Leo Liu <sdl.web@gmail.com>
10097
10098 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10099 definitions. Use completion-at-point to insert keywords.
10100 (octave-abbrev-start): Remove.
10101 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10102
10103 2013-04-30 Leo Liu <sdl.web@gmail.com>
10104
10105 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10106 change.
10107
10108 2013-04-30 Alan Mackenzie <acm@muc.de>
10109
10110 Handle arbitrarily long C++ member initialisation lists.
10111 * progmodes/cc-engine.el (c-back-over-member-initializers):
10112 new function.
10113 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10114 (most) member init lists.
10115
10116 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10117
10118 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10119 variable.
10120
10121 2013-04-30 Leo Liu <sdl.web@gmail.com>
10122
10123 * progmodes/octave.el (octave-variables): Remove. No builtin
10124 variables any more. All converted to functions.
10125 (octave-font-lock-keywords, octave-completion-at-point-function):
10126 Fix uses.
10127 (octave-font-lock-texinfo-comment): New user variable.
10128 (octave-texinfo-font-lock-keywords): New variable for texinfo
10129 comment block.
10130 (octave-function-comment-block): New face.
10131 (octave-font-lock-texinfo-comment): New function.
10132 (octave-mode): Font lock texinfo comment block.
10133
10134 2013-04-29 Leo Liu <sdl.web@gmail.com>
10135
10136 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10137 indexing expression.
10138 (octave-continuation-string): Do not use \.
10139 (inferior-octave-complete-impossible): Remove.
10140 (inferior-octave-completion-table)
10141 (inferior-octave-completion-at-point): Remove its uses.
10142 (inferior-octave-startup): completion_matches was introduced to
10143 Octave in 1996 so safe to assume it.
10144 (octave-function-file-comment): Improve to follow how Octave does it.
10145 (octave-update-function-file-comment): Tweak.
10146
10147 2013-04-29 Leo Liu <sdl.web@gmail.com>
10148
10149 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10150 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10151 (octave-function-file-comment): Fix typo.
10152 (octave-sync-function-file-names): Use read-char-choice.
10153
10154 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10155
10156 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10157 to t for the less important warnings.
10158
10159 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10160
10161 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10162
10163 2013-04-27 Glenn Morris <rgm@gnu.org>
10164
10165 * vc/log-view.el (log-view-current-entry):
10166 Treat "---" separator lines as part of the following rev. (Bug#14169)
10167
10168 2013-04-27 Juri Linkov <juri@jurta.org>
10169
10170 * subr.el (read-number): Doc fix about using it by interactive
10171 code letter `n'. (Bug#14254)
10172
10173 2013-04-27 Juri Linkov <juri@jurta.org>
10174
10175 * desktop.el (desktop-auto-save-timeout): New option.
10176 (desktop-file-checksum): New variable.
10177 (desktop-save): Add optional arg `auto-save' and don't auto-save
10178 if nothing changed.
10179 (desktop-auto-save-timer): New variable.
10180 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10181 (after-init-hook): Call `desktop-auto-save-set-timer'.
10182 Suggested by Reuben Thomas <rrt@sc3d.org> in
10183 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10184
10185 2013-04-27 Leo Liu <sdl.web@gmail.com>
10186
10187 * progmodes/octave.el (octave-function-file-p)
10188 (octave-skip-comment-forward, octave-function-file-comment)
10189 (octave-update-function-file-comment): New functions.
10190 (octave-mode-map): Bind C-c ; to
10191 octave-update-function-file-comment.
10192 (octave-mode-menu): Add octave-update-function-file-comment.
10193 (octave-mode, inferior-octave-mode): Fix doc-string.
10194 (octave-insert-defun): Conform to Octave's coding convention.
10195 (Bug#14285)
10196
10197 * files.el (basic-save-buffer): Don't let errors in
10198 before-save-hook prevent saving buffer.
10199
10200 2013-04-20 Roland Winkler <winkler@gnu.org>
10201
10202 * faces.el (read-face-name): Use completing-read if arg multiple
10203 is nil.
10204
10205 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10206
10207 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10208 displayed, move point to after the totals line.
10209 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10210 for the details.
10211
10212 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10213
10214 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10215 Add current dir to the load-path.
10216 (package-generate-autoloads): Don't rely on
10217 autoload-ensure-default-file.
10218
10219 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10220
10221 * textmodes/remember.el (remember-store-in-files): Document that
10222 the file name format is passed to `format-time-string'.
10223
10224 2013-04-26 Leo Liu <sdl.web@gmail.com>
10225
10226 * progmodes/octave.el (octave-sync-function-file-names): New function.
10227 (octave-mode): Use it in before-save-hook.
10228
10229 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10232 (bug#14274).
10233
10234 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10235 \n and comment, even if it's not an implicit ; (bug#14218).
10236
10237 2013-04-26 Glenn Morris <rgm@gnu.org>
10238
10239 * subr.el (read-number): Once more use `read' rather than
10240 `string-to-number', to trap non-numeric input. (Bug#14254)
10241
10242 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10243
10244 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10245 Use `syntax-multiline' text property consistently instead of
10246 `font-lock-multiline'. (Bug#14237)
10247
10248 2013-04-26 Glenn Morris <rgm@gnu.org>
10249
10250 * emacs-lisp/shadow.el (list-load-path-shadows):
10251 No longer necessary to check for duplicate simple.el, since
10252 2012-07-07 change to init_lread to not include installation lisp
10253 directories in load-path when running uninstalled. (Bug#14270)
10254
10255 2013-04-26 Leo Liu <sdl.web@gmail.com>
10256
10257 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10258 (octave-mode, inferior-octave-mode): Use setq-local.
10259 (octave-not-in-string-or-comment-p): Rename to
10260 octave-in-string-or-comment-p.
10261 (octave-in-comment-p, octave-in-string-p)
10262 (octave-in-string-or-comment-p): Replace defsubst with defun.
10263
10264 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10265
10266 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10267
10268 2013-04-25 Bastien Guerry <bzg@gnu.org>
10269
10270 * textmodes/remember.el (remember-data-directory)
10271 (remember-directory-file-name-format): Fix custom types.
10272
10273 2013-04-25 Leo Liu <sdl.web@gmail.com>
10274
10275 * progmodes/octave.el (octave-completion-at-point-function):
10276 Make use of inferior octave process.
10277 (octave-initialize-completions): Remove.
10278 (inferior-octave-completion-table): New function.
10279 (inferior-octave-completion-at-point): Use it.
10280 (octave-completion-alist): Remove.
10281
10282 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10285 (opascal-mode-syntax-table): New var.
10286 (opascal-literal-kind, opascal-is-literal-end)
10287 (opascal-literal-token-at): Rewrite.
10288 (opascal--literal-start-re, opascal-font-lock-keywords)
10289 (opascal--syntax-propertize): New constants.
10290 (opascal-font-lock-defaults): Adjust.
10291 (opascal-mode): Use them. Set comment-<foo> variables as well.
10292 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10293 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10294 (delphi-other-face, opascal-other-face): Remove face variables.
10295 (opascal-save-state): Remove macro.
10296 (opascal-fontifying-progress-step): Remove constant.
10297 (opascal--ignore-changes): Remove var.
10298 (opascal-set-token-property, opascal-parse-next-literal)
10299 (opascal-is-stable-literal, opascal-complete-literal)
10300 (opascal-is-literal-start, opascal-face-of)
10301 (opascal-parse-region, opascal-parse-region-until-stable)
10302 (opascal-fontify-region, opascal-after-change)
10303 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10304 (opascal-debug-parse-region, opascal-debug-parse-window)
10305 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10306 (opascal-debug-fontify-buffer): Remove.
10307 (opascal-debug-mode-map): Adjust accordingly.
10308
10309 2013-04-25 Leo Liu <sdl.web@gmail.com>
10310
10311 Merge octave-mod.el and octave-inf.el into octave.el with some
10312 cleanups.
10313 * progmodes/octave.el: New file renamed from octave-mod.el.
10314 * progmodes/octave-inf.el: Merged into octave.el.
10315 * progmodes/octave-mod.el: Renamed to octave.el.
10316
10317 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10318
10319 * textmodes/reftex-vars.el
10320 (reftex-label-ignored-macros-and-environments): New defcustom.
10321
10322 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10323
10324 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10327 (smie-indent-keyword): Improve the check to ensure that the next
10328 comment is really on the same line.
10329 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10330
10331 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10332 semi-colons if the line is not otherwise empty (bug#14218).
10333
10334 2013-04-25 Glenn Morris <rgm@gnu.org>
10335
10336 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10337
10338 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * progmodes/opascal.el (opascal-set-token-property): Rename from
10341 opascal-set-text-properties and only set `token' (bug#14134).
10342 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10343 (opascal-literal-text-properties): Remove.
10344 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10345 Adjust callers.
10346
10347 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10348
10349 * textmodes/remember.el (remember-handler-functions): Add an
10350 option for a new handler `remember-store-in-files'.
10351 (remember-data-directory, remember-directory-file-name-format):
10352 New options.
10353 (remember-store-in-files): New function to store remember notes
10354 as separate files within a directory.
10355
10356 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10357
10358 * progmodes/compile.el (compilation-next-error-function):
10359 Pass "formats" to compilation-find-file (bug#11777).
10360
10361 2013-04-24 Glenn Morris <rgm@gnu.org>
10362
10363 * vc/vc-bzr.el (vc-bzr-print-log):
10364 * vc/vc-hg.el (vc-hg-print-log):
10365 * vc/vc-svn.el (vc-svn-print-log):
10366 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10367
10368 * vc/vc-bzr.el (vc-bzr-print-log):
10369 * vc/vc-cvs.el (vc-cvs-print-log):
10370 * vc/vc-git.el (vc-git-print-log):
10371 * vc/vc-hg.el (vc-hg-print-log):
10372 * vc/vc-mtn.el (vc-mtn-print-log):
10373 * vc/vc-rcs.el (vc-rcs-print-log):
10374 * vc/vc-sccs.el (vc-sccs-print-log):
10375 * vc/vc-svn.el (vc-svn-print-log):
10376 * vc/vc.el (vc-print-log-internal): Doc fixes.
10377
10378 2013-04-23 Glenn Morris <rgm@gnu.org>
10379
10380 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10381 Remove venerable code attempting to avoid substitute-command-keys.
10382
10383 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10384
10385 * textmodes/reftex-vars.el (reftex-label-regexps):
10386 Call `reftex-compile-variables' after changes to this variable.
10387
10388 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10391 Use lexical-binding.
10392 (jit-lock-force-redisplay): Use markers, check buffer's continued
10393 existence and beware narrowed buffers.
10394 (jit-lock-fontify-now): Adjust call accordingly.
10395
10396 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10397
10398 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10399 to avoid misleading the user.
10400
10401 2013-04-22 Leo Liu <sdl.web@gmail.com>
10402
10403 * info-look.el: Prefer latex2e.info. (Bug#14240)
10404
10405 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10406
10407 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10408
10409 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10410 * net/tramp.el (tramp-call-process): ... here.
10411 (tramp-set-completion-function, tramp-parse-putty):
10412 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10413 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10414 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10415 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10416 (tramp-call-local-coding-command): Use `tramp-call-process'
10417 instead of `tramp-compat-call-process'.
10418
10419 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10420 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10421 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10422 (tramp-find-inline-compress): Improve traces.
10423 (tramp-maybe-send-script): Check for Perl binary.
10424 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10425
10426 2013-04-22 Daiki Ueno <ueno@gnu.org>
10427
10428 * epg.el (epg-context-pinentry-mode): New function.
10429 (epg-context-set-pinentry-mode): New function.
10430 (epg--start): Pass --pinentry-mode option to gpg command.
10431
10432 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10433
10434 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10435 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10436 `completion-at-point'. (Bug#13774)
10437
10438 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10439 default key binding for `describe-distribution' has been moved to
10440 `C-h C-o'. (Bug#13970)
10441
10442 2013-04-21 Glenn Morris <rgm@gnu.org>
10443
10444 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10445 Add doc strings.
10446 (vc-print-log): Clarify interactive prompt.
10447
10448 2013-04-20 Glenn Morris <rgm@gnu.org>
10449
10450 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10451 No longer include timestamp etc information.
10452
10453 2013-04-20 Roland Winkler <winkler@gnu.org>
10454
10455 * faces.el (read-face-name): Bug fix, return just one face if arg
10456 multiple is nil. (Bug#14209)
10457
10458 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10461 (remove-function): Autoload.
10462
10463 * comint.el (comint-redirect-original-filter-function): Remove.
10464 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10465 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10466 (vc-cvs-annotate-command):
10467 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10468 * progmodes/prolog.el (prolog-consult-compile):
10469 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10470 Use add/remove-function instead.
10471 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10472 (gud-tooltip-process-output, gud-tooltip-tips):
10473 Use add/remove-function instead.
10474 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10475 (scheme-interaction-mode, exit-scheme-interaction-mode):
10476 Use add/remove-function instead.
10477
10478 * vc/vc-dispatcher.el: Use lexical-binding.
10479 (vc--process-sentinel): Rename from vc-process-sentinel.
10480 Change last arg to be the code to run. Don't use vc-previous-sentinel
10481 and vc-sentinel-commands any more.
10482 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10483 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10484
10485 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10486
10487 * progmodes/sh-script.el (sh-imenu-generic-expression):
10488 Handle function names with a single character. (Bug#14111)
10489
10490 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10491
10492 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10493 for subroutines defined in an eval (bug#14182).
10494
10495 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10496
10497 * bookmark.el (bookmark-completing-read): Improve handling of empty
10498 string (bug#14176).
10499
10500 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10503
10504 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10505
10506 New faster Imenu implementation (bug#14058).
10507 * progmodes/python.el:
10508 (python-imenu-prev-index-position):
10509 (python-imenu-format-item-label-function)
10510 (python-imenu-format-parent-item-label-function)
10511 (python-imenu-format-parent-item-jump-label-function):
10512 New vars.
10513 (python-imenu-format-item-label)
10514 (python-imenu-format-parent-item-label)
10515 (python-imenu-format-parent-item-jump-label)
10516 (python-imenu--put-parent, python-imenu--build-tree)
10517 (python-imenu-create-index, python-imenu-create-flat-index)
10518 (python-util-popn): New functions.
10519 (python-mode): Set imenu-create-index-function to
10520 python-imenu-create-index.
10521
10522 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10523
10524 * winner.el (winner-active-region): Use region-active-p, activate-mark
10525 and deactivate-mark (bug#14225).
10526
10527 * simple.el (deactivate-mark): Don't inline it.
10528
10529 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10530
10531 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10532
10533 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10534
10535 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10536 file extensions from the archive-mode entry in order to prefer
10537 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10538
10539 2013-04-18 Leo Liu <sdl.web@gmail.com>
10540
10541 * bindings.el (help-event-list): Add ?\?.
10542
10543 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10544
10545 * subr.el (with-wrapper-hook): Declare obsolete.
10546 * simple.el (filter-buffer-substring-function): New hook.
10547 (filter-buffer-substring): Use it.
10548 (filter-buffer-substring-functions): Mark obsolete.
10549 * minibuffer.el (completion-in-region-function): New hook.
10550 (completion-in-region): Use it.
10551 (completion-in-region-functions): Mark obsolete.
10552 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10553 * abbrev.el (abbrev-expand-function): New hook.
10554 (expand-abbrev): Use it.
10555 (abbrev-expand-functions): Mark obsolete.
10556 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10557 and :filter-return.
10558
10559 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10560
10561 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10562 and do not care about match data.
10563
10564 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10567 completion tables when completing error conditions and
10568 `declare' arguments.
10569 (lisp-complete-symbol, field-complete): Mark as obsolete.
10570 (check-parens): Unmatched parens are user errors.
10571 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10572
10573 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10574
10575 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10576 command changed buffer (ie. `flyspell-pre-buffer' is not current
10577 buffer), which prevents making decisions based on invalid value of
10578 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10579 cause an error when `flyspell-pre-point' was nil after switching
10580 buffers.
10581 (flyspell-post-command-hook): No longer needs to change buffers when
10582 checking pre-word. While at it remove unnecessary progn.
10583
10584 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10585
10586 * textmodes/ispell.el (ispell-add-per-file-word-list):
10587 Fix `flyspell-correct-word-before-point' error when accepting
10588 words and `coment-padding' is an integer by using
10589 `comment-normalize-vars' (Bug #14214).
10590
10591 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10592
10593 New defun movement commands.
10594 * progmodes/python.el (python-nav--syntactically)
10595 (python-nav--forward-defun, python-nav-backward-defun)
10596 (python-nav-forward-defun): New functions.
10597
10598 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10599
10600 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10601 (python-syntax-context): Use named compiler-macro for backwards
10602 compatibility with Emacs 24.x.
10603
10604 2013-04-17 Leo Liu <sdl.web@gmail.com>
10605
10606 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10607 octave-hide-process-buffer.
10608
10609 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10612 (bug#14216).
10613
10614 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10615
10616 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10617 Fix adjustment of offset when receiving incomplete responses from GDB
10618 (bug#14129).
10619
10620 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10623 python-mode-abbrev-table.
10624 (python-skeleton-define): Adjust accordingly.
10625 (python-mode-abbrev-table): New table that inherits from it so that
10626 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10627
10628 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10629 (abbrev-symbol): Use it.
10630 (abbrev--before-point): Use it since we already handle inheritance.
10631
10632 2013-04-16 Leo Liu <sdl.web@gmail.com>
10633
10634 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10635 binding to info-lookup-symbol.
10636
10637 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10638
10639 * minibuffer.el (completion--twq-all):
10640 * term/ns-win.el (ns-initialize-window-system):
10641 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10642
10643 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10646 global bindings.
10647
10648 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10649
10650 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10651
10652 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10653 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10654 to nil.
10655 (ruby-end-of-defun): Remove the unused arg, change the docstring
10656 to reflect that this function is only used as the value of
10657 `end-of-defun-function'.
10658 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10659 to reflect an earlier change that beginning/end-of-defun functions
10660 jump between methods in a class definition, as well as top-level
10661 functions.
10662
10663 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * minibuffer.el (minibuffer-complete): Don't just scroll
10666 a *Completions* that's been iconified.
10667 (minibuffer-force-complete): Make sure repetitions do cycle when going
10668 through completion-in-region -> minibuffer-complete.
10669
10670 2013-04-15 Alan Mackenzie <acm@muc.de>
10671
10672 Correct the placement of c-cpp-delimiters when there're #s not at
10673 col 0.
10674
10675 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10676 place a submatch around the #.
10677 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10678 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10679 on the #, not BOL.
10680
10681 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10684 (advice--member-p): New arg `name'.
10685 (advice--add-function, advice-member-p): Use it (bug#14202).
10686
10687 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10688
10689 Reformulate java imenu-generic-expression.
10690 The old expression contained ill formed regexps.
10691
10692 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10693 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10694 (cc-imenu-java-method-arg-regexp): New defconsts.
10695 (cc-imenu-java-build-type-args-regex): New defun.
10696 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10697 handling of spaces in the regexp.
10698
10699 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10700
10701 * textmodes/ispell.el (ispell-command-loop): Remove
10702 flyspell highlight of a word when ispell accepts it (bug #14178).
10703
10704 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10705
10706 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10707 uses code from the previous `ange-ftp-run-real-handler'.
10708 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10709 only in case that function exist. This is needed for proper
10710 unloading of Tramp.
10711
10712 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10713
10714 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10715
10716 * textmodes/reftex.el (reftex-compile-variables): Use it.
10717
10718 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * files.el (normal-mode): Only use default major-mode if no other mode
10721 was specified.
10722
10723 * emacs-lisp/trace.el (trace-values): New function.
10724
10725 * files.el: Allow : in local variables (bug#14089).
10726 (hack-local-variable-regexp): New var.
10727 (hack-local-variables-prop-line, hack-local-variables): Use it.
10728
10729 2013-04-13 Roland Winkler <winkler@gnu.org>
10730
10731 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10732 data before it gets modified by bibtex-beginning-of-entry.
10733
10734 2013-04-13 Roland Winkler <winkler@gnu.org>
10735
10736 * textmodes/bibtex.el (bibtex-url): Doc fix.
10737
10738 2013-04-13 Roland Winkler <winkler@gnu.org>
10739
10740 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10741 does not visit a BibTeX file, exclude it from the list of buffers
10742 returned by bibtex-initialize.
10743
10744 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10745
10746 * window.el (split-window): Remove interactive form, since as a
10747 command this function is a special case of split-window-below.
10748 Correct doc string.
10749
10750 2013-04-12 Roland Winkler <winkler@gnu.org>
10751
10752 * faces.el (read-face-name): Do not override value of arg default.
10753 Allow single faces and strings as default values. Remove those
10754 elements from return value that are not faces.
10755 (describe-face): Simplify.
10756 (face-at-point): New optional args thing and multiple so that this
10757 function can provide the same functionality previously provided by
10758 read-face-name.
10759 (make-face-bold, make-face-unbold, make-face-italic)
10760 (make-face-unitalic, make-face-bold-italic, invert-face)
10761 (modify-face, read-face-and-attribute): Use face-at-point.
10762
10763 * cus-edit.el (customize-face, customize-face-other-window)
10764 * cus-theme.el (custom-theme-add-face)
10765 * face-remap.el (buffer-face-set)
10766 * facemenu.el (facemenu-set-face): Use face-at-point.
10767
10768 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10769
10770 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10771
10772 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10773
10774 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10775 off leading { and trailing } from field values.
10776
10777 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * emacs-lisp/timer.el (timer--check): New function.
10780 (timer--time, timer-set-function, timer-event-handler): Use it.
10781 (timer-set-idle-time): Simplify.
10782 (timer--activate): CSE.
10783 (timer-event-handler): Give more info in error message.
10784 (internal-timer-start-idle): New function, moved from C.
10785
10786 * mpc.el (mpc-proc): Add `restart' argument.
10787 (mpc-proc-cmd): Use it.
10788 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10789 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10790 less often.
10791
10792 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10793
10794 * progmodes/sh-script.el: Implement `sh-mode' own
10795 `add-log-current-defun-function' (bug#14112).
10796 (sh-current-defun-name): New function.
10797 (sh-mode): Use the function.
10798
10799 2013-04-09 Bastien Guerry <bzg@gnu.org>
10800
10801 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10802
10803 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10806
10807 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10808 timer (bug#14156).
10809
10810 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10811
10812 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10813 declaration.
10814
10815 2013-04-07 Leo Liu <sdl.web@gmail.com>
10816
10817 * pcmpl-x.el: New file.
10818
10819 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10820
10821 Do not set x-display-name until X connection is established.
10822 This is needed to prevent from weird situation described at
10823 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10824 * frame.el (make-frame): Set x-display-name after call to
10825 window system initialization function, not before.
10826 * term/x-win.el (x-initialize-window-system): Add optional
10827 display argument and use it.
10828 * term/w32-win.el (w32-initialize-window-system):
10829 * term/ns-win.el (ns-initialize-window-system):
10830 * term/pc-win.el (msdos-initialize-window-system):
10831 Add compatible optional display argument.
10832
10833 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10834
10835 * files.el (normal-backup-enable-predicate): On MS-Windows and
10836 MS-DOS compare truenames of temporary-file-directory and of the
10837 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10838 don't fail comparison by compare-strings. Also, compare file
10839 names case-insensitively on MS-Windows and MS-DOS.
10840
10841 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10844 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10845
10846 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10847
10848 * whitespace.el (whitespace-color-on, whitespace-color-off):
10849 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10850
10851 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10852
10853 * ispell.el (ispell-set-spellchecker-params):
10854 Really set `ispell-args' for all equivs.
10855
10856 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * ido.el (ido-completions): Use extra elements of ido-decorations
10859 (bug#14143).
10860 (ido-decorations): Update docstring.
10861
10862 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10863
10864 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10865 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10866 nil during initialization, in order not to miss changes since the
10867 file was opened. (Bug#14140)
10868
10869 2013-04-05 Leo Liu <sdl.web@gmail.com>
10870
10871 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10872
10873 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10874
10875 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10876
10877 2013-04-04 Glenn Morris <rgm@gnu.org>
10878
10879 * electric.el (electric-pair-inhibit-predicate): Add :version.
10880
10881 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10884 when a package is required several times (bug#14082).
10885
10886 2013-04-04 Roland Winkler <winkler@gnu.org>
10887
10888 * faces.el (read-face-name): Behave as promised by the docstring.
10889 Assume that arg default is a list of faces.
10890 (describe-face): Call read-face-name with list of default faces.
10891
10892 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10893
10894 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10895 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10896 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10897 the header.
10898 (bookmark-exit-hook-internal): Save even if list is empty.
10899
10900 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10901
10902 * emacs-lisp/package.el (package-pinned-packages): New var.
10903 (package--add-to-archive-contents): Obey it (bug#14118).
10904
10905 2013-04-03 Alan Mackenzie <acm@muc.de>
10906
10907 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10908 Also adapt to the new values of element 7 of a parse state.
10909
10910 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10911 parameter `not-in-delimiter'. Handle being inside comment opener.
10912 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10913 character in case we're typing a '*' after a '/'.
10914 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10915 instead by passing the parameter to c-state-pp-to-literal.
10916
10917 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10918 for elt. 7 of a parse state.
10919
10920 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10921
10922 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10923 * international/latin1-disp.el, international/mule-util.el:
10924 * language/cyril-util.el, language/european.el, language/ind-util.el:
10925 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10926 * language/tibetan.el, language/viet-util.el:
10927 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10928
10929 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10932 (electric-pair-post-self-insert-function): Use it.
10933 (electric-pair-default-inhibit): New function, extracted from
10934 electric-pair-post-self-insert-function.
10935
10936 2013-03-31 Roland Winkler <winkler@gnu.org>
10937
10938 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10939
10940 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10943
10944 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10945
10946 Un-indent after "pass" and "return" statements (Bug#13888)
10947 * progmodes/python.el (python-indent-block-enders): New var.
10948 (python-indent-calculate-indentation): Use it.
10949
10950 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10951
10952 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10953 defun. Defining it as defalias could introduce too eager
10954 byte-compiler optimization. (Bug#14030)
10955
10956 2013-03-30 Chong Yidong <cyd@gnu.org>
10957
10958 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10959
10960 2013-03-30 Leo Liu <sdl.web@gmail.com>
10961
10962 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10963 (kmacro-execute-from-register): Pass the keyboard macro to
10964 kmacro-call-macro or repeating won't work correctly.
10965
10966 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10967
10968 * progmodes/subword.el: Back to using `forward-symbol'.
10969
10970 * subr.el (forward-whitespace, forward-symbol)
10971 (forward-same-syntax): Move from thingatpt.el.
10972
10973 2013-03-29 Leo Liu <sdl.web@gmail.com>
10974
10975 * kmacro.el (kmacro-to-register): New command.
10976 (kmacro-execute-from-register): New function.
10977 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10978
10979 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * mpc.el: Use defvar-local and setq-local.
10982 (mpc--proc-connect): Connection failures are not bugs.
10983 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10984 (mpc-volume-map): Bind to the up-events.
10985
10986 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10987
10988 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10989 instead of `forward-symbol'.
10990
10991 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10994 (edebug--recursive-edit): Use it.
10995 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10996 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10997
10998 2013-03-28 Leo Liu <sdl.web@gmail.com>
10999
11000 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11001
11002 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11003
11004 * facemenu.el (list-colors-callback): New defvar.
11005 (list-colors-redisplay): New function.
11006 (list-colors-display): Install list-colors-redisplay as the
11007 revert-buffer-function. (Bug#14063)
11008
11009 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11012 and suffixes don't overlap (bug#14061).
11013
11014 * case-table.el: Use lexical-binding.
11015 (case-table-get-table): New function.
11016 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11017
11018 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11019
11020 * progmodes/subword.el: Add `superword-mode' to do word motion
11021 over symbol_words (parallels and leverages `subword-mode' which
11022 does word motion inside MixedCaseWords).
11023
11024 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11025
11026 * eshell/em-unix.el: Move su and sudo to...
11027 * eshell/em-tramp.el: ...Eshell tramp module.
11028
11029 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11032 Change return value to be a sexp. Delay `get-buffer' to after
11033 restoring the desktop (bug#13951).
11034
11035 2013-03-26 Leo Liu <sdl.web@gmail.com>
11036
11037 * register.el: Move semantic tag handling back to
11038 cedet/semantic/senator.el. (Bug#14052)
11039
11040 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11043 into the prompt either (bug#13963).
11044
11045 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11048 part of "(error-foo)".
11049
11050 2013-03-24 Juri Linkov <juri@jurta.org>
11051
11052 * replace.el (list-matching-lines-prefix-face): New defcustom.
11053 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11054 `occur-engine' if `face-differs-from-default-p' returns t.
11055 (occur-engine): Add `,' inside backquote construct to evaluate
11056 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11057 Pass `prefix-face' to the functions `occur-context-lines' and
11058 `occur-engine-add-prefix'.
11059 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11060 `prefix-face' and propertize the prefix with `prefix-face'.
11061 (Bug#14017)
11062
11063 2013-03-24 Leo Liu <sdl.web@gmail.com>
11064
11065 * nxml/rng-valid.el (rng-validate-while-idle)
11066 (rng-validate-quick-while-idle): Guard against deleted buffer.
11067 (Bug#13999)
11068
11069 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11070 is the last entry in kill-buffer-hook.
11071
11072 * files.el (kill-buffer-hook): Doc fix.
11073
11074 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11075
11076 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11077 Make it safe-local.
11078
11079 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11080
11081 2013-03-23 Leo Liu <sdl.web@gmail.com>
11082
11083 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11084 Remove.
11085
11086 * nxml/rng-valid.el (rng-validate-mode)
11087 (rng-after-change-function, rng-do-some-validation):
11088 * nxml/rng-maint.el (rng-validate-buffer):
11089 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11090 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11091 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11092 (nxml-extend-after-change-region): Use with-silent-modifications.
11093
11094 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11095 timer-idle-list.
11096
11097 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11098 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11099 timer-idle-list. (Bug#13999)
11100
11101 2013-03-23 Juri Linkov <juri@jurta.org>
11102
11103 * info.el (info-index-match): New face.
11104 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11105 main pattern and add text properties with the new face to matches
11106 in index entries relative to the beginning of the index entry.
11107 (Bug#14015)
11108
11109 2013-03-21 Eric Ludlam <zappo@gnu.org>
11110
11111 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11112 Inhibit read only while inserting objects.
11113
11114 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11115
11116 * progmodes/cfengine.el: Update docs to mention
11117 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11118 symbol motion. Remove "_" from the word syntax.
11119
11120 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11121
11122 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11123 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11124
11125 2013-03-20 Juri Linkov <juri@jurta.org>
11126
11127 * info.el (Info-next-reference-or-link)
11128 (Info-prev-reference-or-link): New functions.
11129 (Info-next-reference, Info-prev-reference): Use them.
11130 (Info-try-follow-nearest-node): Handle footnote navigation.
11131 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11132
11133 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11136 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11137
11138 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11139
11140 Suppress unnecessary non-ASCII chatter during build process.
11141 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11142 (batch-skkdic-convert): Suppress most of the chatter.
11143 It's not needed so much now that machines are faster,
11144 and its non-ASCII component was confusing; see Dmitry Gutov in
11145 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11146
11147 2013-03-20 Leo Liu <sdl.web@gmail.com>
11148
11149 * ido.el (ido-chop): Fix bug#10994.
11150
11151 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11152
11153 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11154 Remove vars.
11155 (whitespace-color-on, whitespace-color-off):
11156 Use `font-lock-fontify-buffer' (Bug#13817).
11157
11158 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11161 remapping in mode-line.
11162 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11163
11164 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11165
11166 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11167 value for `whitespace-line' face (Bug#13875).
11168 (whitespace-font-lock-keywords): Change description.
11169 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11170 the constructed keywords instead.
11171 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11172
11173 2013-03-19 Leo Liu <sdl.web@gmail.com>
11174
11175 * progmodes/compile.el (compilation-display-error): New command.
11176 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11177 C-o. (Bug#13992)
11178
11179 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11180
11181 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11182
11183 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11184
11185 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11186
11187 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11188
11189 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11190
11191 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11192 * net/tramp-gvfs.el (top):
11193 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11194 (tramp-handle-shell-command): Use it.
11195 (tramp-dissect-file-name): Raise an error when hostname is a
11196 method name, and neither method nor user is specified.
11197
11198 * net/trampver.el: Update release number.
11199
11200 2013-03-18 Leo Liu <sdl.web@gmail.com>
11201
11202 Make sure eldoc can be turned off properly.
11203 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11204 eldoc-mode.
11205 (eldoc-display-message-p): Revert last change.
11206 (eldoc-display-message-no-interference-p)
11207 (eldoc-print-current-symbol-info): Tweak.
11208
11209 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11210
11211 * doc-view.el (doc-view-new-window-function): Check the new window
11212 overlay's display property instead the char property of the
11213 buffer's first char. Use `with-selected-window' instead of
11214 `save-window-excursion' with `select-window'.
11215 (doc-view-document->bitmap): Check the current doc-view overlay's
11216 display property instead the char property of the buffer's first char.
11217
11218 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11219
11220 Automate the build of ja-dic.el (Bug#13984).
11221 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11222 from the input, rather than assume that it's been done for us by the
11223 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11224 the current date into a ja-dic.el comment, as that complicates
11225 regression testing.
11226
11227 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * whitespace.el: Fix double evaluation.
11230 (whitespace-space, whitespace-hspace, whitespace-tab)
11231 (whitespace-newline, whitespace-trailing, whitespace-line)
11232 (whitespace-space-before-tab, whitespace-indentation)
11233 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11234 obsolete defvars.
11235 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11236 (whitespace-color-on): Use a single font-lock-add-keywords call.
11237 Fix double-evaluation of face variables.
11238
11239 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11240
11241 * net/tramp-adb.el (tramp-adb-parse-device-names):
11242 Use `start-process' instead of `call-process'. Otherwise, the
11243 function might be blocked under MS Windows. (Bug#13299)
11244
11245 2013-03-17 Leo Liu <sdl.web@gmail.com>
11246
11247 Extend eldoc to display info in the mode-line. (Bug#13978)
11248 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11249 (eldoc-mode-line-string): New variable.
11250 (eldoc-minibuffer-message): New function.
11251 (eldoc-message-function): New variable.
11252 (eldoc-message): Use it.
11253 (eldoc-display-message-p)
11254 (eldoc-display-message-no-interference-p):
11255 Support eldoc-post-insert-mode.
11256
11257 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11258 (eval-expression): Run it.
11259
11260 2013-03-17 Roland Winkler <winkler@gnu.org>
11261
11262 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11263 strings in the list of return values.
11264
11265 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11266
11267 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11268 radix before checking for HMS forms.
11269
11270 2013-03-16 Leo Liu <sdl.web@gmail.com>
11271
11272 * progmodes/scheme.el: Add indentation and font-locking for λ.
11273 (Bug#13975)
11274
11275 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11278 token before point (bug#13942).
11279
11280 2013-03-16 Leo Liu <sdl.web@gmail.com>
11281
11282 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11283
11284 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11285
11286 * startup.el (command-line-normalize-file-name): Fix handling of
11287 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11288 <xfq.free@gmail.com> in
11289 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11290
11291 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11292
11293 Sync with Tramp 2.2.7.
11294
11295 * net/trampver.el: Update release number.
11296
11297 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11298
11299 * doc-view.el: Fix bug#13887.
11300 (doc-view-insert-image): Don't modify overlay associated to
11301 non-live windows, and implement horizontal centering of image in
11302 case it's smaller than the window.
11303 (doc-view-new-window-function): Force redisplay of new windows on
11304 doc-view buffers.
11305
11306 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11307
11308 * saveplace.el (save-place-alist-to-file): Don't sort
11309 `save-place-alist', just pretty-print it (bug#13882).
11310
11311 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11312
11313 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11314 Check whether `default-file-name-coding-system' is bound.
11315 It isn't in XEmacs.
11316
11317 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11320 backquotes for `obsolete' (bug#13929).
11321
11322 * international/mule.el (find-auto-coding): Include file name in
11323 obsolescence warning (bug#13922).
11324
11325 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11326
11327 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11328 for CFEngine 3-specific indentation.
11329 (cfengine3-indent-line): Use it. Fix up category regex.
11330 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11331
11332 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * type-break.el (type-break-file-name):
11335 * textmodes/remember.el (remember-data-file):
11336 * strokes.el (strokes-file):
11337 * shadowfile.el (shadow-initialize):
11338 * saveplace.el (save-place-file):
11339 * ps-bdf.el (bdf-cache-file):
11340 * progmodes/idlwave.el (idlwave-config-directory):
11341 * net/quickurl.el (quickurl-url-file):
11342 * international/kkc.el (kkc-init-file-name):
11343 * ido.el (ido-save-directory-list-file):
11344 * emulation/viper.el (viper-custom-file-name):
11345 * emulation/vip.el (vip-startup-file):
11346 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11347 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11348
11349 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11350
11351 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11352 * language/thai-word.el: Switch to UTF-8.
11353
11354 See ChangeLog.16 for earlier changes.
11355
11356 ;; Local Variables:
11357 ;; coding: utf-8
11358 ;; End:
11359
11360 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11361
11362 This file is part of GNU Emacs.
11363
11364 GNU Emacs is free software: you can redistribute it and/or modify
11365 it under the terms of the GNU General Public License as published by
11366 the Free Software Foundation, either version 3 of the License, or
11367 (at your option) any later version.
11368
11369 GNU Emacs is distributed in the hope that it will be useful,
11370 but WITHOUT ANY WARRANTY; without even the implied warranty of
11371 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11372 GNU General Public License for more details.
11373
11374 You should have received a copy of the GNU General Public License
11375 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.