lisp/gnus/gnus-spec.el (gnus-tmp-article-number): Remove duplicate defvar
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
4 option. (Bug#16182)
5 (ruby-smie--indent-to-stmt-p): Use it.
6 (ruby-smie-rules): Revert the logic in the handling of `when'.
7 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
8 (ruby-deep-arglist, ruby-deep-indent-paren)
9 (ruby-deep-indent-paren-style): Update docstrings to note that the
10 vars don't have any effect with SMIE.
11
12 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
13
14 * calc/calc.el (calc-enter, calc-pop): Use the variable
15 `calc-context-sensitive-enter'.
16
17 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18
19 * net/shr.el (shr-insert): Protect against infloops in degenerate
20 tables.
21
22 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23
24 * progmodes/octave.el (octave): Add link to manual and octave
25 homepage.
26 (octave-mode-menu): Link to octave-mode manual.
27
28 2013-12-20 Leo Liu <sdl.web@gmail.com>
29
30 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
31 insertion using skeleton-end-newline. (Bug#16138)
32
33 2013-12-20 Juri Linkov <juri@jurta.org>
34
35 * replace.el (occur-engine): Use `add-face-text-property'
36 to add the face property to matches and titles. (Bug#14645)
37
38 * hi-lock.el (hi-green): Use lighter color "light green" closer to
39 the palette of other hi-lock colors.
40 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
41
42 2013-12-19 Juri Linkov <juri@jurta.org>
43
44 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
45 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
46 (minibuffer-history-symbol): Move variable declaration closer to
47 its usage.
48
49 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
50 (Bug#14785)
51
52 2013-12-19 Juri Linkov <juri@jurta.org>
53
54 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
55 New function.
56 (log-edit-hook): Add it to :options. (Bug#16170)
57
58 2013-12-19 Juri Linkov <juri@jurta.org>
59
60 * simple.el (eval-expression-print-format): Don't check for
61 command names and the last command. Always display additional
62 formats of the integer result in the echo area, and insert them
63 to the current buffer only with a zero prefix arg.
64 Display character when char-displayable-p is non-nil.
65 (eval-expression): With a zero prefix arg, set `print-length' and
66 `print-level' to nil, and insert the integer values from
67 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
68
69 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
70 `eval-last-sexp-arg-internal'. Doc fix.
71 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
72 `eval-last-sexp-print-value'. Doc fix.
73 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
74 Set `print-length' and `print-level' to nil when arg is zero.
75 (eval-last-sexp): Doc fix.
76 (eval-defun-2): Print the integer values from
77 `eval-expression-print-format' at the end.
78
79 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
80 values from `eval-expression-print-format' at the end.
81
82 * ielm.el (ielm-eval-input): Print the integer
83 values from `eval-expression-print-format' at the end.
84
85 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
86
87 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
88 2013-12-11T19:01:44Z!tzz@lifelogs.com.
89
90 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
93 (hl-line-highlight, global-hl-line-highlight): Use it.
94 (hl-line-overlay): Use defvar-local.
95
96 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
97
98 * term/ns-win.el: Require dnd.
99 (global-map): Remove drag items.
100 (ns-insert-text, ns-set-foreground-at-mouse)
101 (ns-set-background-at-mouse):
102 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
103 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
104 New functions.
105
106 2013-12-19 Glenn Morris <rgm@gnu.org>
107
108 * emacs-lisp/ert.el (ert-select-tests):
109 Fix string/symbol mixup. (Bug#16121)
110
111 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
112
113 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
114 keywords to their parent.
115
116 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
117
118 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
119 first arg to be a string (fixed dead code), or an operator symbol.
120 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
121 operator symbols.
122 (ruby-smie-rules): Remove parent token check in the `.' clause, it
123 did nothing. Don't respond to `(:after ".")', it will be called
124 with :before anyway. Remove the ` @ ' rule, it didn't seem to
125 change anything. Only return indentation for binary operators
126 when they are hanging. De-dent opening paren when its parent is
127 `.', otherwise it looks bad when the dot is not at bol or eol
128 (bug#16182).
129
130 2013-12-19 Juri Linkov <juri@jurta.org>
131
132 * replace.el (query-replace-read-args): Split a non-negative arg
133 and a negative arg into separate elements.
134 (query-replace, query-replace-regexp, replace-string)
135 (replace-regexp): Add arg `backward'. Doc fix.
136 (replace-match-maybe-edit): When new arg `backward' is non-nil,
137 move point to the beginning of the match.
138 (replace-search, replace-highlight): Use new arg `backward'
139 to set the value of `isearch-forward'.
140 (perform-replace): Add arg `backward' and use it to perform
141 replacement backward. (Bug#14979)
142
143 * isearch.el (isearch-query-replace): Use a negative prefix arg
144 to call `perform-replace' with a non-nil arg `backward'.
145
146 2013-12-18 Juri Linkov <juri@jurta.org>
147
148 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
149 to the default list. Move `log-edit-show-files' to the end.
150 Add more available functions to options.
151 (log-edit): Move default specific settings to
152 `log-edit-insert-message-template'. Don't move point.
153 (log-edit-insert-message-template): New function.
154 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
155 (Bug#16170)
156
157 2013-12-18 Juri Linkov <juri@jurta.org>
158
159 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
160 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
161
162 2013-12-18 Leo Liu <sdl.web@gmail.com>
163
164 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
165
166 2013-12-18 Eli Zaretskii <eliz@gnu.org>
167
168 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
169 formats for displaying file sizes when the -s switch is given.
170 Instead, compute a separate format for displaying the size in
171 blocks, which is displayed in addition to the "regular" size.
172 When -h is given in addition to -s, produce size in blocks in
173 human-readable form as well. (Bug#16179)
174
175 2013-12-18 Tassilo Horn <tsdh@gnu.org>
176
177 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
178 Reference tables with ~\ref{...} instead of only \ref{...}.
179
180 2013-12-18 Chong Yidong <cyd@gnu.org>
181
182 * cus-edit.el (custom-magic-alist): Fix "themed" description
183 (Bug#14348).
184
185 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
186 is non-nil, do not create a new entry in the symbol's theme-value
187 or theme-face property; update theme-settings only (Bug#14664).
188 (custom-available-themes): Doc fix.
189
190 * cus-theme.el (custom-new-theme-mode-map): Add bindings
191 (Bug#15674).
192
193 * replace.el (occur-engine): Avoid infloop (Bug#7593).
194
195 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
196
197 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
198 (Bug#13914).
199
200 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
201
202 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
203
204 2013-12-18 Glenn Morris <rgm@gnu.org>
205
206 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
207 * cus-start.el (load-prefer-newer): New option.
208
209 2013-12-18 Le Wang <l26wang@gmail.com>
210
211 * comint.el (comint-previous-matching-input-from-input):
212 Retain point (Bug#13404).
213
214 2013-12-18 Chong Yidong <cyd@gnu.org>
215
216 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
217
218 2013-12-18 Glenn Morris <rgm@gnu.org>
219
220 * mail/emacsbug.el (report-emacs-bug):
221 Only mention enable-multibyte-characters if non-standard.
222
223 2013-12-17 Juri Linkov <juri@jurta.org>
224
225 * arc-mode.el (archive-extract-by-file): Check if directory exists
226 before deletion to not show irrelevant errors if it doesn't exist.
227
228 2013-12-17 Juri Linkov <juri@jurta.org>
229
230 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
231 (Bug#14751)
232
233 * net/eww.el (browse-web): Add alias to `eww'.
234 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
235 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
236
237 * net/browse-url.el (browse-url-browser-function): Move `eww'
238 closer to similar functions.
239
240 * startup.el (fancy-startup-screen, fancy-about-screen):
241 Set browse-url-browser-function to eww-browse-url locally.
242 (Bug#14751)
243
244 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * window.el (window--pixel-to-total): Remove unused `mini' var.
247 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
248 (split-window): Remove unused `new' var.
249 (window--display-buffer): Remove unused `frame' and `delta' vars.
250 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
251 and display-width'.
252
253 2013-12-17 Martin Rudalics <rudalics@gmx.at>
254
255 * dired.el (dired-mark-pop-up):
256 * register.el (register-preview): Don't bind
257 split-height-threshold here since it's now done in
258 display-buffer-below-selected.
259
260 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
261
262 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
263 xterm-rgb-convert-to-16bit.
264 (rxvt-register-default-colors): Standardize with
265 xterm-register-default-colors (Bug#14078).
266
267 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
268
269 * simple.el (kill-region): Pass mark first, then point, so that
270 kill-append works right (Bug#12819).
271 (copy-region-as-kill, kill-ring-save): Likewise.
272
273 2013-12-17 Leo Liu <sdl.web@gmail.com>
274
275 * net/rcirc.el (rcirc-add-face):
276 * eshell/em-prompt.el (eshell-emit-prompt):
277 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
278 (Bug#16167)
279
280 2013-12-17 Chong Yidong <cyd@gnu.org>
281
282 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
283 Suggested by Xue Fuqiao.
284
285 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
286
287 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
288
289 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * net/shr.el (shr-insert-document): Remove unused var
292 `shr-preliminary-table-render'.
293 (shr-rescale-image): Remove unused arg `force'.
294 (shr-put-image): Update calls accordingly.
295 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
296
297 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
298
299 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
300 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
301 :close-all, to see which indentation method to use (Bug#16116).
302 (smie-rules-function): Document the method :close-all.
303
304 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
305
306 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
307
308 * net/eww.el (eww-display-html): If we can't find the anchor we're
309 looking for, then go to point-min.
310
311 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
312
313 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
314 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
315 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
316 Expand dir too, in case it's relative.
317
318 2013-12-16 Juri Linkov <juri@jurta.org>
319
320 * desktop.el (desktop-auto-save-timeout): Change default to
321 `auto-save-timeout'. Doc fix.
322 (desktop-save): Skip the timestamp in desktop-saved-frameset
323 when checking for auto-save changes.
324 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
325 `desktop-auto-save' is called repeatedly by the idle timer.
326 (desktop-auto-save-set-timer): Replace `run-with-timer' with
327 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
328 (Bug#15331)
329
330 2013-12-16 Juri Linkov <juri@jurta.org>
331
332 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
333 (Bug#16035)
334 (isearch-pre-command-hook): Check `this-command' for symbolp.
335
336 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
339
340 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
341
342 * progmodes/cfengine.el (cfengine3--current-word): Remove.
343 (cfengine3--current-function): Bring in the current-function
344 functionality from `cfengine3--current-word'.
345 (cfengine3-completion-function): Bring in the
346 bounds-of-current-word functionality from
347 `cfengine3--current-word'.
348
349 2013-12-16 Martin Rudalics <rudalics@gmx.at>
350
351 * window.el (display-buffer-below-selected):
352 Bind split-height-threshold to 0 as suggested by Juri Linkov.
353
354 2013-12-16 Leo Liu <sdl.web@gmail.com>
355
356 * progmodes/compile.el (compile-goto-error): Do not push-mark.
357 Remove NOMSG arg and all uses changed.
358
359 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
362 (cua--deactivate-rectangle): Don't deactivate the mark.
363 (cua-set-rectangle-mark): Don't set mark-active since
364 cua--activate-rectangle already does it for us.
365 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
366 non-rectangular region.
367
368 * emulation/cua-base.el (cua-repeat-replace-region):
369 Use with-current-buffer.
370
371 * net/gnutls.el: Use cl-lib.
372 (gnutls-negotiate): `mapcan' -> cl-mapcan.
373
374 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
375
376 * emacs-lisp/package.el (package-built-in-p): Support both
377 built-in and the package.el converted package descriptions.
378 (package-show-package-list): Allow keywords.
379 (package-keyword-button-action): Use it instead of
380 `finder-list-matches'.
381 (package-menu-filter-interactive): Interactive filtering (by
382 keyword) function.
383 (package-menu--generate): Support keywords and change keymappings
384 and headers when they are given.
385 (package--has-keyword-p): Helper function.
386 (package-menu--refresh): Use it.
387 (package--mapc): Helper function.
388 (package-all-keywords): Use it.
389 (package-menu-mode-map): Set up menu items and keybindings to
390 provide a filtering UI.
391
392 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
393
394 * net/gnutls.el (gnutls-verify-error): New defcustom to control
395 the behavior when a certificate fails validation. Defaults to
396 old behavior: never abort, just warn.
397 (gnutls-negotiate): Use it.
398
399 2013-12-14 Martin Rudalics <rudalics@gmx.at>
400
401 * window.el (display-buffer-below-selected): Never split window
402 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
403
404 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
405
406 * emacs-lisp/package.el (package--prepare-dependencies): New function.
407 (package-buffer-info): Use it (bug#15108).
408
409 * icomplete.el (icomplete-completions): Make sure the prefix is already
410 displayed elsewhere before hiding it.
411
412 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
413
414 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
415 open-paren tokens when preceded by a open-paren, too.
416 (ruby-smie-rules): Handle virtual indentation after open-paren
417 tokens specially. If there is code between it and eol, return the
418 column where is starts (Bug#16118).
419
420 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
421
422 * progmodes/cfengine.el: Fix `add-hook' doc.
423 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
424 (cfengine3--current-word): Fix parameters.
425 (cfengine3-make-syntax-cache): Simplify further.
426 (cfengine3-completion-function, cfengine3--current-function):
427 Use `assq' for symbols.
428 (cfengine3--current-function): Fix `cfengine3--current-word' call.
429
430 2013-12-13 Glenn Morris <rgm@gnu.org>
431
432 * loadup.el (load-path): Warn if site-load or site-init changes it.
433 No more need to reset it when bootstrapping.
434
435 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
436
437 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
438 locations for cf-promises.
439 (cfengine-mode-syntax-functions-regex): New caching variable.
440 (cfengine3-fallback-syntax): Fallback syntax for cases where
441 cf-promises doesn't run.
442 (cfengine3--current-word): Reimplement using
443 `cfengine-mode-syntax-functions-regex'.
444 (cfengine3-completion-function, cfengine3--current-function):
445 Use `cfengine3-make-syntax-cache' directly.
446 (cfengine3-clear-syntax-cache): New function.
447 (cfengine3-make-syntax-cache): Simplify and create
448 `cfengine-mode-syntax-functions-regex' on demand.
449 (cfengine3-format-function-docstring): Don't call
450 `cfengine3-make-syntax-cache' explicitly.
451
452 2013-12-13 Martin Rudalics <rudalics@gmx.at>
453
454 Fix windmove-find-other-window broken after pixelwise resizing
455 (Bug#16017).
456 * windmove.el (windmove-other-window-loc): Revert change from
457 2013-12-04.
458 (windmove-find-other-window): Call window-in-direction.
459 * window.el (window-in-direction): New arguments SIGN, WRAP and
460 MINI to emulate original windmove-find-other-window behavior.
461
462 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
463
464 * simple.el (blink-matching--overlay): New variable.
465 (blink-matching-open): Instead of moving point, highlight the
466 matching paren with an overlay
467 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
468
469 * faces.el (paren-showing-faces, show-paren-match)
470 (show-paren-mismatch): Move from paren.el.
471
472 2013-12-13 Leo Liu <sdl.web@gmail.com>
473
474 * indent.el (indent-region): Disable progress reporter in
475 minibuffer. (Bug#16108)
476
477 * bindings.el (visual-order-cursor-movement): Fix version.
478
479 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
480
481 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
482 Also match after beginning of line.
483 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
484 files. Thanks to Russell Sim. (Bug#15378)
485
486 2013-12-13 Juri Linkov <juri@jurta.org>
487
488 * simple.el <Keypad support>: Remove key bindings duplicated
489 with bindings.el. (Bug#14397)
490
491 2013-12-13 Juri Linkov <juri@jurta.org>
492
493 * comint.el (comint-mode-map): Replace `delete-char' with
494 `delete-forward-char'. (Bug#16109)
495
496 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
497
498 * progmodes/python.el (python-indent-calculate-indentation):
499 Fix de-denters cornercase. (Bug#15731)
500
501 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
504 (advice--make): Pay attention to `depth'.
505 (advice--make-1): Don't autoload commands eagerly.
506 * emacs-lisp/elp.el (elp-instrument-function):
507 * emacs-lisp/trace.el (trace-function-internal):
508 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
509
510 * iswitchb.el (iswitchb-mode): Don't belittle ido.
511
512 2013-12-12 Eli Zaretskii <eliz@gnu.org>
513
514 * term/w32-win.el (w32-handle-dropped-file):
515 * startup.el (normal-top-level):
516 * net/browse-url.el (browse-url-file-url):
517 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
518 decode file names using 'utf-8' rather than
519 file-name-coding-system.
520
521 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
522
523 * progmodes/python.el (python-indent-context)
524 (python-indent-calculate-indentation): Fix auto-identation
525 behavior for comment blocks. (Bug#15916)
526
527 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
528
529 * progmodes/python.el (python-indent-calculate-indentation):
530 When determining indentation, don't treat "return", "pass", etc., as
531 operators when they are just string constituents. (Bug#15812)
532
533 2013-12-12 Juri Linkov <juri@jurta.org>
534
535 * uniquify.el (uniquify-buffer-name-style): Change default to
536 `post-forward-angle-brackets'.
537
538 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
539 `uniquify'. Change default to `post-forward-angle-brackets'.
540
541 2013-12-11 Glenn Morris <rgm@gnu.org>
542
543 * emacs-lisp/package.el (finder-list-matches):
544 Autoload rather than falsely declaring.
545
546 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
547
548 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
549 (eww-mode-map): Use them.
550
551 2013-12-11 Martin Rudalics <rudalics@gmx.at>
552
553 * window.el (display-buffer-in-side-window): Fix doc-string
554 (Bug#16115).
555
556 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
557
558 * vc/vc-git.el: Silence byte-compiler warnings.
559 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
560 (log-edit-set-header): Declare.
561
562 2013-12-11 Eli Zaretskii <eliz@gnu.org>
563
564 * Makefile.in (custom-deps, finder-data): Run output file names
565 through unmsys--file-name. (Bug#16099)
566
567 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
570 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
571
572 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
573 instead of deleting the selection "by hand" (bug#16098).
574 Rely on insert-for-yank to yank rectangles.
575 (cua-highlight-region-shift-only): Mark obsolete.
576 (cua-mode): Don't enable/disable transient-mark-mode,
577 shift-select-mode (cua-mode works both with and without them), and
578 pc-selection-mode (obsolete).
579 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
580 (cua--deactivate-rectangle): Deactivate it.
581
582 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
583 (delete-selection-helper): Make sure yank starts at the top of the
584 deleted region.
585 (minibuffer-keyboard-quit): Use region-active-p.
586
587 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
588
589 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
590 to `delete' (bug#16109).
591
592 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
593
594 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
595 info manual and show keybindings and set `:group' keyword.
596
597 2013-12-11 Juri Linkov <juri@jurta.org>
598
599 * delsel.el (delete-active-region): Let-bind `this-command'
600 to prevent `kill-region' from changing its original value.
601 (delete-selection-helper): Handle `overwrite-mode' for the type
602 `kill' exactly the same way as for the type `t'.
603 (insert-char, quoted-insert, reindent-then-newline-and-indent):
604 Support more commands. (Bug#13312)
605
606 2013-12-11 Juri Linkov <juri@jurta.org>
607
608 * bindings.el: Map kp keys to non-kp keys systematically
609 with basic modifiers control, meta and shift. (Bug#14397)
610
611 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
612
613 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
614 "Close browser" menu items. Fix wrong function of "List
615 bookmarks".
616
617 2013-12-11 Juri Linkov <juri@jurta.org>
618
619 * misearch.el (multi-isearch-buffers): Set the value of
620 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
621 arg of isearch-forward to t.
622 (multi-isearch-buffers-regexp): Set the value of
623 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
624 arg of isearch-forward-regexp to t.
625 (multi-isearch-files): Set the value of
626 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
627 arg of isearch-forward to t.
628 (multi-isearch-files-regexp): Set the value of
629 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
630 arg of isearch-forward-regexp to t. (Bug#16035)
631
632 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
633 arg of isearch-forward to t.
634 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
635 arg of isearch-forward-regexp to t.
636 (dired-isearch-filter-filenames): Remove unnecessary check for
637 `dired-isearch-filenames'.
638
639 * comint.el (comint-history-isearch-backward):
640 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
641 (comint-history-isearch-backward-regexp):
642 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
643
644 2013-12-10 Eli Zaretskii <eliz@gnu.org>
645
646 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
647 unmsys--file-name. (Bug#16099)
648
649 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
650
651 * emacs-lisp/package.el (package-keyword-button-action):
652 Remove finder.el require dependency.
653
654 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
655
656 * emacs-lisp/package.el: Require finder.el.
657 (describe-package-1): Add keyword buttons.
658 (package-make-button): New convenience function.
659 (package-keyword-button-action): Keyword button action using
660 `finder-list-matches'
661
662 2013-12-09 Eli Zaretskii <eliz@gnu.org>
663
664 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
665 last commit.
666
667 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
668
669 * autorevert.el (auto-revert-notify-add-watch): Do not handle
670 symlinked files.
671
672 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
673
674 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
675 after the end of a percent literal.
676
677 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
678
679 * progmodes/ruby-mode.el (ruby-forward-string): Document.
680 Handle caret-delimited strings (Bug#16079).
681
682 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
683
684 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
685 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
686 `ruby-parse-partial' (Bug#16078).
687
688 2013-12-09 Leo Liu <sdl.web@gmail.com>
689
690 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
691
692 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
693
694 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
695 (js-switch-indent-offset): New option.
696 (js--proper-indentation): Use it. And handle the case when
697 "default" is actually a key in an object literal.
698 (js--same-line): New function.
699 (js--multi-line-declaration-indentation): Use it.
700 (js--indent-in-array-comp, js--array-comp-indentation):
701 New functions.
702 (js--proper-indentation): Use them, to handle array comprehension
703 continuations.
704
705 2013-12-08 Leo Liu <sdl.web@gmail.com>
706
707 * progmodes/flymake.el (flymake-highlight-line): Re-write.
708 (flymake-make-overlay): Remove arg MOUSE-FACE.
709 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
710
711 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
714 New function.
715 (redisplay-highlight-region-function): Use it.
716
717 * emulation/cua-base.el (cua--explicit-region-start)
718 (cua--last-region-shifted): Remove.
719 (cua--deactivate): Use deactivate-mark.
720 (cua--pre-command-handler-1): Don't handle shift-selection.
721 (cua--post-command-handler-1): Don't change transient-mark-mode.
722 (cua--select-keymaps): Use region-active-p rather than
723 cua--explicit-region-start or cua--last-region-shifted.
724 (cua-mode): Enable shift-select-mode.
725
726 2013-12-08 Leo Liu <sdl.web@gmail.com>
727
728 * progmodes/flymake.el (flymake-popup-current-error-menu):
729 Rename from flymake-display-err-menu-for-current-line. Reimplement.
730 (flymake-posn-at-point-as-event, flymake-popup-menu)
731 (flymake-make-emacs-menu): Remove. (Bug#16077)
732
733 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * rect.el (rectangle-mark-mode): Activate mark even if
736 transient-mark-mode is off (bug#16066).
737 (rectangle--highlight-for-redisplay): Fix boundary condition when point
738 is > mark and at bolp.
739
740 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
741 (region-extract-function): Use it.
742 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
743 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
744 Delete functions.
745 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
746 kill-ring-save, kill-region, delete-char, delete-forward-char.
747 Ignore self-insert-iso.
748
749 * emulation/cua-gmrk.el (cua--init-global-mark):
750 Ignore `self-insert-iso'.
751
752 * emulation/cua-base.el (cua--prefix-copy-handler)
753 (cua--prefix-cut-handler): Rely on region-extract-function rather than
754 checking cua--rectangle.
755 (cua-delete-region): Use region-extract-function.
756 (cua-replace-region): Delete function.
757 (cua-copy-region, cua-cut-region): Obey region-extract-function.
758 (cua--pre-command-handler-1): Don't do the delete-selection thing.
759 (cua--self-insert-char-p): Ignore `self-insert-iso'.
760 (cua--init-keymaps): Don't remap delete-selection commands.
761 (cua-mode): Use delete-selection-mode instead of rolling our own
762 (bug#16085).
763
764 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
765 Obey region-extract-function.
766
767 Make registers and delete-selection-mode work on rectangles.
768 * register.el (describe-register-1): Don't modify the register's value.
769 (copy-to-register): Obey region-extract-function.
770 * delsel.el (delete-active-region): Obey region-extract-function.
771
772 2013-12-08 Leo Liu <sdl.web@gmail.com>
773
774 * progmodes/flymake.el (flymake, flymake-error-bitmap)
775 (flymake-warning-bitmap, flymake-fringe-indicator-position)
776 (flymake-compilation-prevents-syntax-check)
777 (flymake-start-syntax-check-on-newline)
778 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
779 (flymake-start-syntax-check-on-find-file, flymake-log-level)
780 (flymake-xml-program, flymake-master-file-dirs)
781 (flymake-master-file-count-limit)
782 (flymake-allowed-file-name-masks): Relocate.
783 (flymake-makehash, flymake-float-time)
784 (flymake-replace-regexp-in-string, flymake-split-string)
785 (flymake-get-temp-dir): Remove.
786 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
787 (flymake-current-row, flymake-selected-frame)
788 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
789 related functions. (Bug#16077)
790
791 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
792
793 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
794
795 2013-12-07 Tassilo Horn <tsdh@gnu.org>
796
797 * help-fns.el (describe-function-1): Use new advice-* functions
798 rather than old ad-* functions. Fix function type description and
799 source links for advised functions and subrs.
800
801 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
802
803 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
804
805 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
806
807 * progmodes/compile.el (compilation-start):
808 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
809
810 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
811 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
812
813 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
814
815 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
816 Touch up the last change.
817
818 2013-12-06 Leo Liu <sdl.web@gmail.com>
819
820 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
821 (inferior-octave-startup): Always use "octave> " for prompt.
822 (octave-goto-function-definition)
823 (octave-sync-function-file-names)
824 (octave-find-definition-default-filename): Remove redundant backquotes.
825
826 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
827
828 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
829 syntax for `?'.
830 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
831 where appropriate already.
832 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
833 end of method names (Bug#15874).
834
835 2013-12-06 Juri Linkov <juri@jurta.org>
836
837 * isearch.el (isearch--saved-overriding-local-map):
838 New internal variable.
839 (isearch-mode): Set it to the initial value of
840 `overriding-terminal-local-map'.
841 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
842 with `isearch--saved-overriding-local-map'. (Bug#16035)
843
844 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
845
846 * progmodes/octave.el (inferior-octave-completion-table):
847 Turn back into function, use `completion-table-with-cache'
848 (Bug#11906). Update all references.
849
850 * minibuffer.el (completion-table-with-cache): New function.
851
852 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
853
854 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
855
856 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
857
858 * net/eww.el (eww-current-source): New variable to store page
859 source.
860 (eww-display-html, eww-mode, eww-save-history)
861 (eww-restore-history): Use it.
862 (eww-view-source): New command to view page source.
863 Opportunistically uses `html-mode' to highlight the buffer.
864 (eww-mode-map): Install it.
865
866 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
867
868 * net/dbus.el (dbus-unregister-service)
869 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
870 Fix docstring.
871 (dbus-unregister-service): Skip :serial entries in
872 `dbus-registered-objects-table'.
873 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
874
875 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
876
877 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
878 around keywords with extra `split-string' argument.
879
880 2013-12-04 Martin Rudalics <rudalics@gmx.at>
881
882 * windmove.el (windmove-other-window-loc): Handle navigation
883 between windows (excluding the minibuffer window - Bug#16017).
884
885 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
886
887 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
888 in D-Bus type syntax.
889 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
890 preserve unibyte strings. (Bug#16048)
891
892 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
895 Call force-mode-line-update is the proper buffer (bug#16042).
896
897 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
898
899 * vc/log-edit.el (log-edit-add-new-comment): Rename to
900 `log-edit-remember-comment', make argument optional. Adjust all
901 callers.
902 (log-edit-mode): Add `log-edit-remember-comment' to
903 `kill-buffer-hook' locally.
904 (log-edit-kill-buffer): Don't remember comment explicitly since
905 the buffer is killed anyway.
906
907 2013-12-04 Juri Linkov <juri@jurta.org>
908
909 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
910 add-hook and remove-hook for multi-buffer search. (Bug#16035)
911
912 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
913
914 * notifications.el (notifications-close-notification): Call the
915 D-Bus method with ID being a `:uint32'. (Bug#16030)
916
917 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
918
919 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
920
921 2013-12-03 Juri Linkov <juri@jurta.org>
922
923 * progmodes/compile.el (compilation-start): Rename window alist
924 entry `no-display-ok' to `allow-no-window'.
925
926 * simple.el (shell-command): Add window alist entry
927 `allow-no-window' to `display-buffer'.
928 (async-shell-command): Doc fix.
929
930 * window.el (display-buffer-no-window): New action function.
931 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
932
933 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
934
935 * vc/log-edit.el (log-edit-set-header): Extract from
936 `log-edit-toggle-header'.
937 (log-edit-extract-headers): Separate the summary, when extracted
938 from header, from the rest of the message with an empty line.
939
940 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
941 line, if present, to the Summary header.
942
943 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
946 in current-buffer (bug#16029).
947
948 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
949
950 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
951 (debugger-mode-map): Bind it.
952 (debugger--backtrace-base): New function.
953 (debugger-eval-expression): Use it.
954 (debugger-frame-number): Skip local vars when present.
955 (debugger--locals-visible-p, debugger--insert-locals)
956 (debugger--show-locals, debugger--hide-locals): New functions.
957
958 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
959
960 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
961 "LC_ALL".
962 (tramp-get-remote-locale): New defun.
963 (tramp-open-connection-setup-interactive-shell): Use it.
964
965 2013-12-02 Leo Liu <sdl.web@gmail.com>
966
967 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
968
969 * progmodes/sh-script.el (sh-shell-process):
970 * progmodes/octave.el (inferior-octave-process-live-p):
971 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
972 (gdb-inferior-io-sentinel):
973 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
974
975 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
976
977 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
978 `save-selected-window' to `log-edit-hide-buf'. This makes
979 `log-edit-show-files' idempotent.
980 (log-edit-show-files): Mark the new window as dedicated.
981
982 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
983
984 * vc/log-edit.el (log-edit-mode-map): Add binding for
985 `log-edit-kill-biffer'.
986 (log-edit-hide-buf): Add a FIXME comment.
987 (log-edit-add-new-comment): New function, extracted from
988 `log-edit-done'.
989 (log-edit-done, log-edit-add-to-changelog): Use it.
990 (log-edit-kill-buffer): New command.
991
992 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
993
994 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
995 instead of killing the buffer.
996
997 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1000
1001 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1002
1003 * net/eww.el (eww-form-checkbox-selected-symbol)
1004 (eww-form-checkbox-symbol): New customizable variable.
1005 (eww-form-checkbox, eww-toggle-checkbox):
1006 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1007
1008 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1009 (shr--get-media-pref, shr--extract-best-source): New function.
1010 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1011 no :src tag was specified.
1012
1013 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1014 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1015 Use \\` to match beginning of string instead of ^.
1016 (eww-browse-with-external-browser): Provide optional URL parameter.
1017 (eww-render): Set `eww-current-title' back to "".
1018
1019 * net/shr.el (shr-tag-video): Display content for video if no
1020 poster is available.
1021 (shr-tag-audio): Add support for <audio> tag.
1022
1023 * net/eww.el (eww-text-input-types): : New const.
1024 (eww-process-text-input): Treat input types in
1025 `eww-text-input-types' as text.
1026
1027 * net/shr.el (shr-tag-table): Fix comment typo.
1028
1029 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1030
1031 * net/eww.el (eww-follow-link): New command to avoid reloading
1032 pages when we follow #target links (bug#15243).
1033 (eww-quit): Special mode buffers shouldn't query before exiting.
1034
1035 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1036
1037 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1038 forms.
1039
1040 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1041
1042 * net/eww.el (eww-restore-history): Update the window title after
1043 moving in the history.
1044 (eww-current-dom): New variable used to save the current DOM.
1045
1046 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1047
1048 * vc/log-edit.el (log-edit-mode-map): Add binding for
1049 `log-edit-beginning-of-line'.
1050 (log-edit-setup-add-author): New user option.
1051 (log-edit-beginning-of-line): New command.
1052 (log-edit): Move major mode call above the contents setup so that
1053 the local variable values are already applied.
1054 (log-edit): Only insert "Author: " when
1055 `log-edit-setup-add-author' is non-nil.
1056 (log-edit): When SETUP is non-nil, position point after ": "
1057 instead of point-min.
1058
1059 2013-12-01 Glenn Morris <rgm@gnu.org>
1060
1061 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1062
1063 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1064
1065 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1066 redisplay to make sure the initial frame gets a chance to become
1067 visible. (Bug#16014)
1068
1069 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1070
1071 Support resizing frames and windows pixelwise.
1072 * cus-start.el (frame-resize-pixelwise)
1073 (window-resize-pixelwise): New entries.
1074 * emacs-lisp/debug.el (debug): Use window-total-height instead
1075 of window-total-size.
1076 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1077 * help.el (describe-bindings-internal): Call help-buffer
1078 (temp-buffer-max-width): New option.
1079 (resize-temp-buffer-window, help-window-setup)
1080 (with-help-window): Rewrite.
1081 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1082 dragging dividers.
1083 * window.el (frame-char-size, window-min-pixel-height)
1084 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1085 (window-min-pixel-width, window-safe-min-pixel-size)
1086 (window-combination-p, window-safe-min-size)
1087 (window-resizable-p, window--size-to-pixel)
1088 (window--pixel-to-size, window--resize-apply-p): New functions.
1089 (window-safe-min-height): Fix doc-string.
1090 (window-size, window-min-size, window--min-size-1)
1091 (window-sizable, window-sizable-p, window--min-delta-1)
1092 (window-min-delta, window--max-delta-1, window-max-delta)
1093 (window--resizable, window--resizable-p, window-resizable)
1094 (window-full-height-p, window-full-width-p, window-at-side-p)
1095 (window--in-direction-2, window-in-direction)
1096 (window--resize-reset-1, window--resize-mini-window)
1097 (window-resize, window-resize-no-error)
1098 (window--resize-child-windows-normal)
1099 (window--resize-child-windows, window--resize-siblings)
1100 (window--resize-this-window, window--resize-root-window)
1101 (window--resize-root-window-vertically)
1102 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1103 (maximize-window, minimize-window, delete-window)
1104 (quit-restore-window, window-split-min-size, split-window)
1105 (balance-windows-2, balance-windows)
1106 (balance-windows-area-adjust, balance-windows-area)
1107 (window--state-get-1, window-state-get, window--state-put-1)
1108 (window--state-put-2, window-state-put)
1109 (display-buffer-record-window, window--display-buffer):
1110 Make functions handle pixelwise sizing of windows.
1111 (display-buffer--action-function-custom-type)
1112 (display-buffer-fallback-action):
1113 Add display-buffer-in-previous-window.
1114 (display-buffer-use-some-window): Resize window to height it had
1115 before.
1116 (fit-window-to-buffer-horizontally): New option.
1117 (fit-frame-to-buffer): Describe new values.
1118 (fit-frame-to-buffer-bottom-margin): Replace with
1119 fit-frame-to-buffer-margins.
1120 (window--sanitize-margin): New function.
1121 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1122 using window-text-pixel-size.
1123
1124 2013-11-30 Glenn Morris <rgm@gnu.org>
1125
1126 * emacs-lisp/bytecomp.el (byte-compile-form):
1127 Make the `interactive-only' warning like the `obsolete' one.
1128 * comint.el (comint-run):
1129 * files.el (insert-file-literally, insert-file):
1130 * replace.el (replace-string, replace-regexp):
1131 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1132 (goto-line, insert-buffer, next-line, previous-line):
1133 Tweak `interactive-only' spec.
1134
1135 Stop keeping (most) generated cedet grammar files in the repository.
1136 * Makefile.in (semantic): New.
1137 (compile-main): Depend on semantic.
1138
1139 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1142 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1143
1144 * uniquify.el (uniquify-buffer-name-style): Change default.
1145
1146 * loadup.el: Preload "uniquify".
1147
1148 * time.el (display-time-update): Update all mode lines (bug#15999).
1149
1150 * electric.el (electric-indent-mode): Enable by default.
1151 * loadup.el: Preload "electric".
1152
1153 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1154
1155 * emacs-lisp/helpers.el (string-empty-p): New function.
1156 (string-blank-p): New function.
1157
1158 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1159
1160 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1161 (Bug#14029).
1162
1163 2013-11-29 Andreas Politz <politza@fh-trier.de>
1164 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1165 allow non-lambda lists as functions.
1166 (imenu--in-alist): Don't recurse into non-subalists.
1167 (imenu): Don't pass function itself as an argument (Bug#14029).
1168
1169 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * progmodes/python.el (python-mode-map): Remove binding for ":".
1172 (python-indent-electric-colon): Remove command.
1173 (python-indent-post-self-insert-function): Integrate the previous code
1174 of python-indent-electric-colon. Make it conditional on
1175 electric-indent-mode.
1176 (python-mode): Add ?: to electric-indent-chars.
1177 Move python-indent-post-self-insert-function to the end of
1178 post-self-insert-hook.
1179
1180 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * doc-view.el (doc-view-goto-page): Update mode-line.
1183
1184 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1185
1186 2013-11-27 Glenn Morris <rgm@gnu.org>
1187
1188 * international/charprop.el, international/uni-bidi.el:
1189 * international/uni-category.el, international/uni-combining.el:
1190 * international/uni-comment.el, international/uni-decimal.el:
1191 * international/uni-decomposition.el, international/uni-digit.el:
1192 * international/uni-lowercase.el, international/uni-mirrored.el:
1193 * international/uni-name.el, international/uni-numeric.el:
1194 * international/uni-old-name.el, international/uni-titlecase.el:
1195 * international/uni-uppercase.el:
1196 Remove generated files from VCS repository.
1197
1198 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1199
1200 * filenotify.el (file-notify-add-watch): Don't special-case
1201 w32notify when computing the directory to watch.
1202
1203 2013-11-27 Glenn Morris <rgm@gnu.org>
1204
1205 Make bootstrap without generated uni-*.el files possible again.
1206 * loadup.el: Update command-line-args checking for unidata-gen.
1207 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1208 * composite.el, international/characters.el:
1209 Handle unicode tables being undefined.
1210
1211 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1212 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1213 (compile-main): Depend on leim rule.
1214 (leim): New rule.
1215 * loadup.el: Move leim-list.el to leim/ subdirectory.
1216 * startup.el (normal-top-level): No more leim directory.
1217 * international/ja-dic-cnv.el (skkdic-convert):
1218 Disable version-control and autoloads in output files.
1219 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1220 Disable version-control and autoloads in output files.
1221 * leim/quail: Move here from ../leim.
1222 * leim/quail/hangul.el (hangul-input-method-activate):
1223 Add autoload cookie.
1224 (generated-autoload-load-name): Set file-local value.
1225 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1226 (generated-autoload-load-name): Set file-local value.
1227
1228 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1229
1230 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1231 (eww-add-bookmark): ask confirmation when add to bookmarks
1232 (eww-quit): ask confirmation before quitting eww
1233
1234 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1235
1236 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1237 reading output from Diff on MS-Windows and MS-DOS.
1238
1239 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1240
1241 * emacs-lisp/helpers.el (string-reverse): New function.
1242
1243 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1246 names on MS Windows, like "/[::1]:".
1247
1248 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1249 SWITCHES.
1250
1251 2013-11-26 Glenn Morris <rgm@gnu.org>
1252
1253 * progmodes/python.el (python-indent-guess-indent-offset):
1254 Avoid corner-case error. (Bug#15975)
1255
1256 Preload leim-list.el. (Bug#4789)
1257 * loadup.el: Load leim-list.el when found.
1258 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1259
1260 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1261
1262 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1263
1264 * emacs-lisp/helpers.el (string-join): New function.
1265
1266 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1267
1268 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1269 Mark as obsolete and replace it with a symbol property.
1270 (byte-compile-form): Use new 'interactive-only property.
1271 * comint.el, files.el, replace.el, simple.el:
1272 Apply new 'interactive-only properly.
1273
1274 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1275
1276 * window.el (display-buffer-at-bottom): Make sure that
1277 split-window-sensibly creates the new window on bottom
1278 (Bug#15961).
1279
1280 2013-11-23 David Kastrup <dak@gnu.org>
1281
1282 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1283 on the conflict markers when available.
1284 (smerge--get-marker): New function.
1285 (smerge-end-re, smerge-base-re): Add subgroup.
1286
1287 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * frame.el (handle-focus-in, handle-focus-out): Add missing
1290 interactive spec.
1291
1292 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1295 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1296
1297 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1300 (gomoku--last-pos): New var.
1301 (gomoku--intangible-chars): New const.
1302 (gomoku--intangible): New function.
1303 (gomoku-mode): Use it. Derive from special-mode.
1304 (gomoku-move-up): Adjust line count.
1305 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1306 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1307 Simplify accordingly.
1308
1309 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1310 Remove blink-cursor code.
1311 (blink-cursor-timer-function, blink-cursor-suspend):
1312 Don't special-case GUIs.
1313 (blink-cursor-mode): Use focus-in/out-hook.
1314
1315 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1316
1317 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1318 work when annotation is invisible (Bug#13886).
1319
1320 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1321
1322 * json.el (json-alist-p): Only return non-nil if the alist has
1323 simple keys (Bug#13518).
1324
1325 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1326
1327 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1328 when control-statement is the first statement in a buffer (Bug#15956).
1329
1330 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1331
1332 * imenu.el (imenu-generic-skip-comments-and-strings):
1333 New option (Bug#15560).
1334 (imenu--generic-function): Use it.
1335
1336 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1337
1338 * minibuffer.el (completion--in-region-1): Scroll the correct
1339 window. (Bug#13898)
1340
1341 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1342
1343 * emacs-lisp/helpers.el: Add some string helpers.
1344 (string-trim-left): Removes leading whitespace.
1345 (string-trim-right): Removes trailing whitespace.
1346 (string-trim): Removes leading and trailing whitespace.
1347
1348 * subr.el (string-suffix-p): New function.
1349
1350 2013-11-23 Glenn Morris <rgm@gnu.org>
1351
1352 * progmodes/python.el (python-shell-send-file):
1353 Add option to delete file when done. (Bug#15647)
1354 (python-shell-send-string, python-shell-send-region): Use it.
1355
1356 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1357
1358 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1359 to set buffer-read-only to t, never to nil. (Bug#15938)
1360
1361 * textmodes/tex-mode.el (latex-noindent-environments):
1362 Add safe-local-variable property. (Bug#15936)
1363
1364 2013-11-23 Glenn Morris <rgm@gnu.org>
1365
1366 * textmodes/enriched.el (enriched-mode): Doc fix.
1367 * emacs-lisp/authors.el (authors-renamed-files-alist):
1368 Add enriched.doc -> enriched.txt.
1369
1370 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1371
1372 2013-11-22 Leo Liu <sdl.web@gmail.com>
1373
1374 * progmodes/octave.el (inferior-octave-startup): Spit out error
1375 message.
1376
1377 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1378
1379 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1380 Improve docstring.
1381 Add :version.
1382 (ruby-encoding-magic-comment-style): Add :version.
1383
1384 2013-11-22 Leo Liu <sdl.web@gmail.com>
1385
1386 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1387 (Bug#15076)
1388 (octave-help-mode): Adapt to change to help-mode-finish to use
1389 derived-mode-p on 2013-09-17.
1390 (inferior-octave-prompt): Also match octave-gui.
1391 (octave-kill-process): Don't ask twice. (Bug#10564)
1392
1393 2013-11-22 Leo Liu <sdl.web@gmail.com>
1394
1395 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1396 (inferior-octave-startup, inferior-octave-check-process)
1397 (inferior-octave-track-window-width-change)
1398 (octave-completion-at-point, octave-eldoc-function): Use it.
1399 (octave-kill-process): Provide confirmation. (Bug#10564)
1400
1401 2013-11-21 Leo Liu <sdl.web@gmail.com>
1402
1403 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1404 Fix obsolete variable comment-use-global-state.
1405
1406 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1407
1408 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1409 Add `octave-source-file'.
1410 (octave-source-file): New function. (Bug#15935)
1411
1412 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1413
1414 * net/eww.el (eww-local-regex): New variable.
1415 (eww): Use it to detect localhost and similar.
1416
1417 2013-11-21 Leo Liu <sdl.web@gmail.com>
1418
1419 Add completion for command `ag'.
1420 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1421 (pcomplete/ag): New function.
1422 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1423
1424 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1427 (bug#14646).
1428 (make-obsolete): Remove interactive spec.
1429
1430 2013-11-21 Glenn Morris <rgm@gnu.org>
1431
1432 * startup.el (command-line-1): Use path-separator with -L.
1433
1434 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1435
1436 * emacs-lisp/package.el (describe-package-1): Add package archive
1437 to shown fields.
1438
1439 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1440
1441 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1442 Change default to "# encoding: %s" to differentiate it from the
1443 default Ruby encoding comment template.
1444
1445 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1446
1447 * ses.el (ses-mode): Doc fix. (Bug#14748)
1448
1449 2013-11-20 Leo Liu <sdl.web@gmail.com>
1450
1451 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1452
1453 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1454
1455 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1456 when rebase or bisect are in progress.
1457
1458 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1459
1460 * filenotify.el (file-notify-add-watch): Doc fix.
1461
1462 2013-11-19 Leo Liu <sdl.web@gmail.com>
1463
1464 * obsolete/rcompile.el: Mark obsolete.
1465
1466 * progmodes/compile.el (compilation-start)
1467 (compilation-goto-locus, compilation-find-file):
1468 Pass no-display-ok and handle nil value from display-buffer.
1469 (Bug#13594)
1470
1471 * window.el (display-buffer-alist, display-buffer): Document the
1472 new parameter no-display-ok. Return either a window or nil
1473 but never a non-window value.
1474
1475 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * electric.el (electric-indent-mode-map): Remove.
1478 (electric-indent-mode): Change the global-map instead (bug#15915).
1479
1480 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1481 Use add-function.
1482
1483 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/nadvice.el (remove-function): Align with
1486 add-function's behavior.
1487
1488 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1489 (gdb--string-regexp): New constant.
1490 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1491 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1492 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1493 submatch 1.
1494 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1495 Adjust use accordingly.
1496 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1497
1498 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1499
1500 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1501 interpolation curlies (Bug#15914).
1502
1503 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1504
1505 * calc/calc.el (calc-context-sensitive-enter): New variable.
1506 (calc-enter): Use `calc-context-sensitive-enter'.
1507
1508 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1509
1510 * progmodes/cfengine.el: Version bump.
1511 (cfengine-cf-promises): New defcustom to locate cf-promises.
1512 (cfengine3-vartypes): Add new "data" type.
1513 (cfengine3--current-word): New function to get current name-like
1514 word or its bounds.
1515 (cfengine3--current-function): New function to look up a CFEngine
1516 function's definition.
1517 (cfengine3-format-function-docstring): New function.
1518 (cfengine3-make-syntax-cache): New function.
1519 (cfengine3-documentation-function): New function: ElDoc glue.
1520 (cfengine3-completion-function): New function: completion glue.
1521 (cfengine3-mode): Set `compile-command',
1522 `eldoc-documentation-function', and add to
1523 `completion-at-point-functions'.
1524
1525 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1526
1527 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1528 `tramp-current-connection'.
1529
1530 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1531
1532 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1533 nil/self/true/false with "end of symbol".
1534
1535 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1536
1537 * subr.el (version-regexp-alist): Fix a typo.
1538
1539 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1540
1541 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1542 "en_US.utf8" and "LC_CTYPE" to "".
1543 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1544 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1545
1546 2013-11-15 Leo Liu <sdl.web@gmail.com>
1547
1548 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1549
1550 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * progmodes/gud.el (ctl-x-map):
1553 Remove C-x SPC binding. (Bug#12342)
1554 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1555
1556 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1557
1558 * subr.el (version-regexp-alist):
1559 Recognize hg, svn and darcs versions as snapshot versions.
1560
1561 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1562 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1563 (ruby--encoding-comment-required-p): Extract from
1564 `ruby-mode-set-encoding'.
1565 (ruby-mode-set-encoding): Add the ability to always insert an
1566 utf-8 encoding comment. Fix and simplify coding comment update
1567 logic.
1568
1569 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1570
1571 * net/tramp-gvfs.el (top): Run init code only when
1572 `tramp-gvfs-enabled' is not nil.
1573 (tramp-gvfs-enabled): Check also :system bus.
1574
1575 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 Sync with upstream verilog-mode revision 78e66ba.
1578 * progmodes/verilog-mode.el (verilog-end-of-defun)
1579 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1580 (verilog-get-end-of-defun): Remove unused argument.
1581 (verilog-comment-depth): Remove unused local `e'.
1582 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1583 Don't pass arg to verilog-get-end-of-defun.
1584
1585 2013-11-14 Glenn Morris <rgm@gnu.org>
1586
1587 * obsolete/assoc.el (aget): Prefix dynamic variable.
1588
1589 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1590
1591 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * widget.el, hfy-cmap.el: Remove bogus package version number.
1594
1595 2013-11-13 Glenn Morris <rgm@gnu.org>
1596
1597 * replace.el (replace-eval-replacement):
1598 Try to give more helpful error message. (Bug#15836)
1599
1600 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1601 (archive-7z-update): Avoid custom type mismatches.
1602
1603 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1604
1605 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1606
1607 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1608 address can be empty.
1609
1610 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1611 Accept nil SWITCHES.
1612 (tramp-gvfs-handle-write-region): Implement APPEND.
1613
1614 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1615
1616 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1617 binary "|" operator and closing block args delimiter.
1618 Remove FIXME comment referring to Ruby 1.8-only syntax.
1619 (ruby-smie--implicit-semi-p): Not after "|" operator.
1620 (ruby-smie--closing-pipe-p): New function.
1621 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1622 (ruby-smie-rules): Indent after "|".
1623
1624 2013-11-12 Glenn Morris <rgm@gnu.org>
1625
1626 * ps-print.el (ps-face-attribute-list):
1627 Handle anonymous faces. (Bug#15827)
1628
1629 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1630
1631 * window.el (display-buffer-other-frame): Fix doc-string.
1632 (Bug#15868)
1633
1634 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1637
1638 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1639
1640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1641 (tramp-sh-handle-file-local-copy): Don't write a message when
1642 saving temporary files.
1643
1644 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1645 both directories are remote.
1646 (tramp-smb-handle-directory-files): Do not return double entries.
1647 Do not expand full file names.
1648 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1649 (tramp-smb-handle-write-region): Implement APPEND.
1650 (tramp-smb-get-stat-capability): Fix a stupid bug.
1651
1652 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1655
1656 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1657
1658 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1659 throwing error over malformed let/let* (bug#15814).
1660
1661 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * iswitchb.el (iswitchb-mode): Mark obsolete.
1664
1665 2013-11-11 Glenn Morris <rgm@gnu.org>
1666
1667 * international/uni-bidi.el, international/uni-category.el:
1668 * international/uni-name.el, international/uni-numeric.el:
1669 Regenerate for Unicode 6.3.0.
1670
1671 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1672
1673 * net/tramp.el (tramp-methods):
1674 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1675 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1676
1677 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1678
1679 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1680 Force highlighting text after Summary keyword in doc face for rpm.
1681
1682 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1683
1684 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1685 available and the word has no wildcards, append one to the grep pattern.
1686 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1687 (ispell-complete-word): Call `ispell-lookup-words' with the value
1688 independent of `ispell-look-p'.
1689
1690 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1691
1692 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1693 Not after "||".
1694 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1695 their parent.
1696
1697 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1700 (ruby-font-lock-keywords): Use backquote.
1701
1702 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1703
1704 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1705 (ruby-smie--backward-token): Only consider full-string matches.
1706
1707 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1708
1709 * faces.el (describe-face): Add distant-foreground.
1710
1711 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1712
1713 * progmodes/ruby-mode.el: Improve encoding comment handling.
1714 (ruby-encoding-magic-comment-style): New option.
1715 (ruby-custom-encoding-magic-comment-template): New option.
1716 (ruby--insert-coding-comment, ruby--detect-encoding):
1717 New functions extracted from `ruby-mode-set-encoding'.
1718 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1719 to control the style of the auto-inserted encoding comment.
1720
1721 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1722
1723 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1724 Use `smie-backward-sexp' with token argument.
1725
1726 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1727
1728 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1729 Remove instrumentation code.
1730
1731 2013-11-08 Glenn Morris <rgm@gnu.org>
1732
1733 * progmodes/autoconf.el (autoconf-mode):
1734 Tweak comment-start-skip. (Bug#15822)
1735
1736 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1739 at bobp (bug#15826).
1740 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1741
1742 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1743
1744 * man.el (Man-start-calling): New macro, extracted from
1745 Man-getpage-in-background.
1746 (Man-getpage-in-background): Use it.
1747 (Man-update-manpage): New command.
1748 (Man-mode-map): Bind it.
1749
1750 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1751
1752 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1753 of "and", "or", "&&" and "||".
1754 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1755 argument. Prohibit opening curly brace because it could only be a
1756 block opener in that position.
1757 (ruby-smie--forward-token, ruby-smie--backward-token):
1758 Separate "|" from "&" or "*" going after it. That can happen in block
1759 arguments.
1760 (ruby-smie--indent-to-stmt): New function, seeks the end of
1761 previous statement or beginning of buffer.
1762 (ruby-smie-rules): Use it.
1763 (ruby-smie-rules): Check if there's a ":" before a curly block
1764 opener candidate; if there is, it's a hash.
1765
1766 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1769 (cl--block-wrapper): Fix last accidental change.
1770
1771 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1772
1773 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1774 Instrument, in order to hunt failure on hydra.
1775
1776 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1777
1778 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1779 malformed bindings form (bug#15814).
1780
1781 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1784 "." compared to " @ ". This incidentally fixes some indentation
1785 examples with "do".
1786 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1787 (ruby-smie-grammar): New tokens: "and" and "or".
1788 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1789 Exclude "and" and "or". Remove "do" in order to work around token
1790 priorities.
1791 (ruby-smie-rules): Add all infix tokens. Handle the case of
1792 beginning-of-buffer.
1793
1794 2013-11-06 Glenn Morris <rgm@gnu.org>
1795
1796 * Makefile.in (setwins_almost, setwins_for_subdirs):
1797 Avoid accidental matches.
1798
1799 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * menu-bar.el (popup-menu): Use key-binding.
1802
1803 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1804
1805 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1806 menus, support also the menus produced by minor modes.
1807 (Bug#15817)
1808
1809 2013-11-06 Leo Liu <sdl.web@gmail.com>
1810
1811 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1812 DISTANCE to bound the search. All uses changed. (Bug#15808)
1813
1814 2013-11-06 Glenn Morris <rgm@gnu.org>
1815
1816 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1817 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1818 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1819
1820 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * electric.el (electric-indent-just-newline): New command.
1823 (electric-indent-mode-map): New keymap.
1824 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1825 Re-add :group which weren't redundant.
1826
1827 * electric.el (electric-indent-local-mode): New minor mode.
1828 (electric-indent-functions-without-reindent): New var.
1829 (electric-indent-post-self-insert-function): Use it.
1830 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1831
1832 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1833
1834 * international/quail.el (quail-help): Be more explicit about the
1835 meaning of the labels shown on the keys. (Bug#15800)
1836
1837 * startup.el (normal-top-level): Load the subdirs.el files before
1838 setting the locale environment. (Bug#15805)
1839
1840 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1843 via arguments so as to get the right ones (bug#15418).
1844
1845 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1846
1847 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1848
1849 Fix problems found while writing a test suite.
1850
1851 * net/tramp-compat.el (tramp-compat-load): New defun.
1852 * net/tramp.el (tramp-handle-load): Use it.
1853
1854 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1855 "(numberp ok-if-already-exists)" correctly.
1856
1857 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1858
1859 * international/characters.el (glyphless-char-display-control):
1860 Add usage note.
1861
1862 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1863
1864 * progmodes/python.el (python-mode):
1865 * progmodes/scheme.el (scheme-mode):
1866 * progmodes/prolog.el (prolog-mode):
1867 * progmodes/ruby-mode.el (ruby-mode):
1868 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1869 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1870
1871 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * rect.el (rectangle--highlight-for-redisplay):
1874 * emacs-lisp/smie.el (smie--next-indent-change):
1875 Use buffer-chars-modified-tick.
1876
1877 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1878
1879 * electric.el (electric-indent-post-self-insert-function):
1880 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1881
1882 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1883
1884 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1885
1886 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1887
1888 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1889 (bug#15786).
1890
1891 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1894
1895 * progmodes/python.el: Fix up last change.
1896 (python-shell--save-temp-file): New function.
1897 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1898 `string' comes from the current buffer.
1899 (python-shell-send-string-no-output): Remove `msg' arg.
1900 (python--use-fake-loc): New var.
1901 (python-shell-buffer-substring): Obey it. Try to compensate for the
1902 extra coding line added by python-shell--save-temp-file.
1903 (python-shell-send-region): Use python-shell--save-temp-file and
1904 python-shell-send-file directly. Add `nomain' argument.
1905 (python-shell-send-buffer): Use python-shell-send-region.
1906 (python-electric-pair-string-delimiter): New function.
1907 (python-mode): Use it.
1908
1909 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1910
1911 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1912 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1913 environment and decoding all of the default-directory's to here
1914 from command-line.
1915 (command-line): Decode also argv[0].
1916
1917 * loadup.el: Error out if default-directory is a multibyte string
1918 when we are dumping.
1919
1920 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1921
1922 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1923
1924 * emacs-lisp/package.el (package-menu-mode)
1925 (package-menu--print-info, package-menu--archive-predicate):
1926 Add Archive column to package list.
1927
1928 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1929
1930 Fix problems found while writing a test suite.
1931
1932 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1933 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1934 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1935 to nil when running original file name handler. Otherwise,
1936 there are problems with constructs like "$$FOO".
1937
1938 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1939 for `localname'.
1940
1941 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1942
1943 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1944
1945 * subr.el (version<, version<=, version=):
1946 Update docstrings with information for snapshot versions.
1947
1948 * helpers.el: New library for misc helper functions.
1949 (hash-table-keys): New function returning a list of hash keys.
1950 (hash-table-values): New function returning a list of hash values.
1951
1952 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1953
1954 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1955 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1956
1957 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1958
1959 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1960 checking whether point is after a 1-letter word.
1961
1962 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1963
1964 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1965 Don't infloop when expanding region over `multiline' syntax-type that
1966 begins a line (bug#15778).
1967
1968 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1971 Make it into a proper minor mode.
1972 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1973 (rectangle-mark-mode-map): New keymap.
1974 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1975
1976 2013-11-04 Glenn Morris <rgm@gnu.org>
1977
1978 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1979
1980 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1983 (ruby-smie-rules): Use smie-rule-parent instead.
1984
1985 * emacs-lisp/smie.el (smie-rule-parent): Always call
1986 smie-indent-virtual rather than only for hanging tokens.
1987 (smie--next-indent-change): New helper command.
1988
1989 2013-11-03 Glenn Morris <rgm@gnu.org>
1990
1991 * Makefile.in (abs_srcdir): Remove.
1992 (emacs): Unset EMACSLOADPATH.
1993
1994 2013-11-02 Glenn Morris <rgm@gnu.org>
1995
1996 * Makefile.in (EMACS): Use a relative filename.
1997 (abs_top_builddir): Remove.
1998 (custom-deps, finder-data, autoloads): Use --chdir.
1999
2000 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2001
2002 Use relative filenames in TAGS files.
2003 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2004 (lisptagsfiles4, TAGS): Use relative file names.
2005 (TAGS-LISP): Remove.
2006 (maintainer-clean): No more TAGS-LISP file.
2007
2008 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2009 (lisptagsfiles4): Use absolute filenames again.
2010 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2011 Remove all *loaddefs files, not just the first. Remove esh-groups.
2012 (maintainer-clean): Delete TAGS, TAGS-LISP.
2013
2014 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2015
2016 * emacs-lisp/package.el (package-version-join):
2017 Recognize snapshot versions.
2018
2019 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2020
2021 * subr.el (version-regexp-alist): Add support for snapshot versions.
2022
2023 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2024
2025 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2026 New function, replacement for `smie-rule-parent' for when we want to
2027 skip over our direct parent if it's an assignment token..
2028 (ruby-smie-rules): Use it.
2029
2030 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2033 unconditionally. Remove now unnecessary forward declarations.
2034 Remove XEmacs-specific setup.
2035 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2036 (ruby-font-lock-syntactic-keywords)
2037 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2038 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2039 (ruby-here-doc-end-syntax): Remove.
2040 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2041 defined as function.
2042
2043 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2044
2045 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2046
2047 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2048
2049 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2050 table and abbrev table, `define-derived-mode' does that for us
2051 anyway.
2052
2053 2013-11-01 Glenn Morris <rgm@gnu.org>
2054
2055 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2056 files is atomic for some time, so no parallel compilation issues).
2057
2058 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2059
2060 * faces.el (face-x-resources): Add :distant-foreground.
2061 (region): Use :distant-foreground for gtk and ns.
2062
2063 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2064
2065 Allow multiple bibliographies when BibLaTeX is used rather than
2066 BibTeX.
2067 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2068 (reftex-locate-bibliography-files): Us it.
2069
2070 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2071
2072 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2073 allow comments in pbm files.
2074
2075 * term/w32-win.el (dynamic-library-alist): Support newer versions
2076 of libjpeg starting with v7: look only for the DLL from the
2077 version against which Emacs was built.
2078 Support versions of libpng beyond 1.4.x.
2079 Support libtiff v4.x.
2080
2081 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2082
2083 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2084 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2085 Add property :safe.
2086 (ruby-deep-arglist): Add property :type.
2087
2088 2013-10-31 Glenn Morris <rgm@gnu.org>
2089
2090 * Makefile.in (custom-deps, finder-data): No need to setq the target
2091 variables, we are in the right directory and the defaults work fine.
2092
2093 2013-10-30 Glenn Morris <rgm@gnu.org>
2094
2095 * Makefile.in (autoloads): Do not use abs_lisp.
2096
2097 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2098 `newline' does not respect `standard-output', so use `princ'.
2099
2100 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2101
2102 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2103 * buff-menu.el (Buffer-menu--unmark): New function.
2104 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2105
2106 2013-10-30 Glenn Morris <rgm@gnu.org>
2107
2108 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2109
2110 * emacs-lisp/package.el (lm-homepage): Declare.
2111
2112 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2113 Fix doc typos.
2114
2115 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2116
2117 * Makefile.in (finder-data, autoloads, update-subdirs)
2118 (compile-main, compile-clean, compile-always, bootstrap-clean):
2119 Check return value of cd.
2120 (compile-calc): Remove.
2121
2122 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2125
2126 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2127 (byte-compile-and-folded): New function.
2128 (=, <, >, <=, >=): Use it.
2129
2130 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2131 (path-separator, null-device, buffer-file-coding-system)
2132 (lpr-headers-switches): Check system-type before modifying them.
2133 (find-buffer-file-type-coding-system): Mark obsolete.
2134 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2135 find-file-not-found-set-buffer-file-coding-system.
2136 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2137 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2138 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2139 (w32-direct-print-region-helper, w32-direct-print-region-function)
2140 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2141 * startup.el (normal-top-level-add-subdirs-to-load-path):
2142 * ps-print.el (ps-print-region-function):
2143 * lpr.el (print-region-function): Use new name.
2144
2145 * subr.el (custom-declare-variable-early): Remove function.
2146 (custom-declare-variable-list): Remove var.
2147 (error, user-error): Remove `while' loop.
2148 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2149 (user-emacs-directory-warning, locate-user-emacs-file):
2150 Move to files.el.
2151 * simple.el (read-quoted-char-radix, read-quoted-char):
2152 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2153 Move from subr.el.
2154 * custom.el (custom-declare-variable-list): Don't process
2155 custom-declare-variable-list.
2156
2157 * progmodes/python.el (python-shell-get-buffer): New function.
2158 (python-shell-get-process): Use it.
2159 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2160 Python which encoding was used. Don't split-string since we only care
2161 about the first line. Return the temp-file, if applicable.
2162 (python-shell-send-region): Tell compile.el how to turn locations in
2163 the temp-file into locations in the source buffer.
2164
2165 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * subr.el (undefined): Add missing behavior from the C code for
2168 unbound keys.
2169
2170 * rect.el: Use lexical-binding. Add new rectangular region support.
2171 (rectangle-mark): New command.
2172 (rectangle--region): New var.
2173 (deactivate-mark-hook): Reset rectangle--region.
2174 (rectangle--extract-region, rectangle--insert-for-yank)
2175 (rectangle--highlight-for-redisplay)
2176 (rectangle--unhighlight-for-redisplay): New functions.
2177 (region-extract-function, redisplay-unhighlight-region-function)
2178 (redisplay-highlight-region-function): Use them to handle
2179 rectangular region.
2180 * simple.el (region-extract-function): New var.
2181 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2182 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2183 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2184 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2185 (redisplay-unhighlight-region-function)
2186 (redisplay-highlight-region-function): New vars.
2187 (redisplay--update-region-highlight): New function.
2188 (pre-redisplay-function): Use it.
2189 (exchange-point-and-mark): Don't deactivate the mark before
2190 reactivate-it anyway.
2191 * comint.el (comint-kill-region): Remove yank-handler argument.
2192 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2193 (delete-char): Remove property, since it's now part of their
2194 default behavior.
2195 (self-insert-iso): Remove property since this command doesn't exist.
2196
2197 * emacs-lisp/package.el (package--download-one-archive)
2198 (describe-package-1): Don't query the user about final newline.
2199
2200 2013-10-29 Daniel Colascione <dancol@dancol.org>
2201
2202 * net/tramp.el (tramp-methods): Document new functionality.
2203 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2204 tramp-hostname-checker if method provides one instead of scanning
2205 argument list for "%h" to decide hostname acceptability.
2206
2207 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2208
2209 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2210 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2211 Handle COPY-CONTENTS. (Bug#15737)
2212
2213 2013-10-28 Daiki Ueno <ueno@gnu.org>
2214
2215 * epa-file.el
2216 (epa-file-cache-passphrase-for-symmetric-encryption):
2217 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2218
2219 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2220
2221 * image.el (defimage):
2222 (image-load-path): Doc fixes.
2223
2224 2013-10-27 Alan Mackenzie <acm@muc.de>
2225
2226 Indent statements in macros following "##" correctly.
2227 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2228 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2229
2230 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2231
2232 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2233
2234 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2237 after `=' is probably a new expression.
2238
2239 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2240
2241 * man.el (man-imenu-title): New option.
2242 (Man-mode-map): Add menu. (Bug#15722)
2243 (Man-mode): Add imenu to menu.
2244
2245 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2248 specific in what the first arg can be: a non-keyword word,
2249 string/regexp/percent literal opener, opening paren, or unary
2250 operator followed directly by word.
2251
2252 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2255 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2256 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2257 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2258 Remove vars, they do not apply any more.
2259 (prolog-mode-abbrev-table): Remove redundant declaration.
2260 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2261 (prolog-use-smie): Remove.
2262 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2263 supported by prolog-electric-if-then-else-flag.
2264 (prolog-mode-variables, prolog-menu): Use setq-local.
2265 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2266 Remove binding to `Backspace' since this key doesn't exist anyway.
2267 Remove bindings for electric self-inserting keys.
2268 (prog-mode): Assume it's defined.
2269 (prolog-post-self-insert): New function.
2270 (prolog-mode): Use it.
2271 (prolog-indent-line, prolog-indent-level)
2272 (prolog-find-indent-of-matching-paren)
2273 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2274 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2275 (prolog-goto-next-paren, prolog-in-string-or-comment)
2276 (prolog-tokenize, prolog-inside-mline-comment)
2277 (prolog-find-start-of-mline-comment): Remove functions.
2278 (prolog-find-unmatched-paren, prolog-clause-end)
2279 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2280 (prolog-electric--if-then-else): Rename from
2281 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2282 (prolog-tokenize-searchkey): Remove const.
2283 (prolog-clause-info): Use forward-sexp.
2284 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2285 (prolog-electric-if-then-else): Remove commands.
2286 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2287 for use in post-self-insert-hook.
2288 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2289 for use in post-self-insert-hook.
2290 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2291 for use in post-self-insert-hook.
2292 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2293 adapt it for use in post-self-insert-hook.
2294
2295 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2296
2297 * emacs-lisp/ert.el (ert-run-tests-interactively):
2298 Use `completing-read'. (Bug#9756)
2299
2300 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2301
2302 * simple.el (line-move): Call line-move-1 instead of
2303 line-move-visual when the current window hscroll is zero, but
2304 temporary-goal-column indicates we will need to hscroll as result
2305 of the movement. (Bug#15712)
2306
2307 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2308
2309 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2310 capitalization. Use :visible instead of :active.
2311 Fix `ruby-indent-exp' reference. Add menu items for the generic
2312 commands that are used with SMIE.
2313 (ruby-do-end-to-brace): Insert space after `{'.
2314
2315 2013-10-25 John Anthony <john@jo.hnanthony.com>
2316
2317 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2318
2319 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2320
2321 2013-10-25 Glenn Morris <rgm@gnu.org>
2322
2323 * vc/vc.el (vc-print-log): Don't use a working revision unless
2324 one was explicitly specified. (Bug#15322)
2325
2326 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * subr.el (add-to-list): Preserve return value in compiler-macro
2329 (bug#15692).
2330
2331 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2332
2333 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2334 result. Ask user to retry using '-all' flag. (Bug#15701)
2335
2336 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * emacs-lisp/smie.el: New smie-config system.
2339 (smie-config): New defcustom.
2340 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2341 (smie-config-guess, smie-config-save): New commands.
2342 (smie-config--mode-local, smie-config--buffer-local)
2343 (smie-config--trace, smie-config--modefuns): New vars.
2344 (smie-config--advice, smie-config--mode-hook)
2345 (smie-config--setter, smie-config-local, smie-config--get-trace)
2346 (smie-config--guess-value, smie-config--guess): New functions.
2347 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2348 text properties. Treat "string fence" syntax like string syntax.
2349
2350 * progmodes/sh-script.el (sh-use-smie): Change default.
2351 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2352 (sh-var-value): Simplify by CSE.
2353 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2354 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2355 is used.
2356 (sh-guess-basic-offset): Use cl-incf.
2357 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2358
2359 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2360
2361 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2362 (bug#15699).
2363
2364 2013-10-24 Glenn Morris <rgm@gnu.org>
2365
2366 * Makefile.in (abs_top_srcdir): Remove.
2367 (update-subdirs): Use relative path to update-subdirs.
2368
2369 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2370
2371 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2372 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2373 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2374 Call unmsys--file-name before expand-file-name, not after it.
2375
2376 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2379 (ert-test-skipped): New error.
2380 (ert-skip, ert-stats-skipped): New defuns.
2381 (ert--skip-unless): New macro.
2382 (ert-test-skipped): New struct.
2383 (ert--run-test-debugger, ert-test-result-type-p)
2384 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2385 (ert--stats-set-test-and-result, ert-char-for-test-result)
2386 (ert-string-for-test-result, ert-run-tests-batch)
2387 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2388 Handle skipped tests. (Bug#9803)
2389
2390 2013-10-24 Glenn Morris <rgm@gnu.org>
2391
2392 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2393
2394 * Makefile.in (abs_top_srcdir): New, set by configure.
2395 (update-subdirs): Correct build-aux location.
2396
2397 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2398
2399 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2400 value, whether we could auto-deduce `backend', or not.
2401
2402 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2403 with parameters" example. Simplify the "is it block or is it
2404 hash" check, but also make it more thorough.
2405
2406 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2407
2408 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2409
2410 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2413 { if it is hanging.
2414
2415 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2416 :before ";".
2417
2418 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2419
2420 * progmodes/compile.el (compilation-directory-matcher)
2421 (compilation-page-delimiter):
2422 Support GNU Make-4.0 directory quoting. (Bug#15678)
2423
2424 2013-10-23 Leo Liu <sdl.web@gmail.com>
2425
2426 * ido.el (ido-tidy): Handle read-only text.
2427
2428 2013-10-23 Glenn Morris <rgm@gnu.org>
2429
2430 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2431 (emacs, compile, compile-always):
2432 Quote entities that might contain whitespace.
2433 (custom-deps, finder-data, autoloads): Use abs_lisp.
2434 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2435 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2436 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2437
2438 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2439
2440 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2441 Use `following-char'.
2442
2443 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2446 * progmodes/ruby-mode.el (ruby-smie-rules):
2447 Remove corresponding workaround. Fix indentation rule of ";" so it
2448 also applies when ";" is the parent.
2449
2450 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2451
2452 * frame.el (display-screens, display-pixel-height)
2453 (display-pixel-width, display-mm-width, display-backing-store)
2454 (display-save-under, display-planes, display-color-cells)
2455 (display-visual-class, display-monitor-attributes-list):
2456 Mention the optional ‘display’ argument in doc strings.
2457
2458 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2459
2460 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2461 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2462
2463 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2464
2465 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2466 TODO. Add "." after " @ ".
2467 (ruby-smie--at-dot-call): New function. Checks if point at method
2468 call with explicit target.
2469 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2470 to the method name tokens when it precedes them.
2471 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2472 (ruby-smie-rules): Add rule for indentation before and after "."
2473 token.
2474
2475 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * textmodes/remember.el (remember-diary-extract-entries):
2478 Avoid add-to-list.
2479
2480 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2481 an instruction.
2482
2483 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2484
2485 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2486 (ruby-smie--implicit-semi-p): Add new operator chars.
2487
2488 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2489 `smie-down-list'.
2490 (ruby-smie--args-separator-p): Check that there's no newline
2491 between method call and its arguments.
2492
2493 2013-10-20 Alan Mackenzie <acm@muc.de>
2494
2495 Allow comma separated lists after Java "implements".
2496
2497 * progmodes/cc-engine.el (c-backward-over-enum-header):
2498 Parse commas.
2499 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2500 from a "disallowed" list in enum fontification.
2501
2502 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2503
2504 * startup.el (default-frame-background-mode): Remove unused defvar.
2505
2506 * progmodes/verilog-mode.el (verilog-mode): Don't set
2507 comment-indent-function globally.
2508
2509 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2510
2511 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2512 Move Info menu item creation to ns-win.el.
2513
2514 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2515 in menu bar.
2516
2517 * menu-bar.el: Move GNUStep specific menus...
2518
2519 * term/ns-win.el (ns-initialize-window-system): ... to here.
2520
2521 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * simple.el (newline): Only run post-self-insert-hook when
2524 called interactively.
2525
2526 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2527
2528 * icomplete.el (icomplete-with-completion-tables): Add :version.
2529
2530 2013-10-19 Alan Mackenzie <acm@muc.de>
2531
2532 Fix fontification bugs with constructors and const.
2533
2534 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2535 CASE 2) Remove the check for the absence of a suffix construct
2536 after a function declaration with only types (no identifiers) in
2537 the parentheses. Also, accept a function declaration with just a
2538 type inside the parentheses, if this type can be positively
2539 recognised as such, or if a prefix keyword like "explicit" nails
2540 down the construct as a declaration.
2541
2542 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2543
2544 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2545 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2546 the problem whereby selecting a menu item that leads to a
2547 minibuffer prompt moves the cursor out of the minibuffer window,
2548 making it hard to type at the prompt. Suggested by Stefan Monnier
2549 <monnier@iro.umontreal.ca>.
2550
2551 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2552
2553 * menu-bar.el: Don't make Services menu.
2554
2555 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2556
2557 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2558 (ffap-alist): Use ffap-c++-mode for c++-mode.
2559 (ffap-c++-path): New variable.
2560 (ffap-c++-mode): New function.
2561
2562 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2563
2564 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2565
2566 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2567
2568 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2569 introduced on 2013-09-08, which results in an infinite loop
2570 requesting a password.
2571
2572 2013-10-18 Glenn Morris <rgm@gnu.org>
2573
2574 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2575
2576 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2577
2578 Sync with upstream verilog-mode revision 1a6ecec7.
2579 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2580 (verilog-mode-release-date): Remove.
2581 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2582 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2583 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2584 (verilog-auto-tieoff-ignore-regexp)
2585 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2586 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2587 (verilog-signals-with, verilog-dir-cache-preserving)
2588 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2589 Doc fixes.
2590 (verilog-case-fold): New option, to control case folding in
2591 regexp searches, bug597.
2592 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2593 (verilog-string-match-fold, verilog-in-paren-count)
2594 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2595 (verilog-at-close-struct-p): New functions.
2596 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2597 (verilog-forward-sexp, verilog-set-auto-endcomments):
2598 (verilog-leap-to-case-head): Handle "unique0" case.
2599 (verilog-in-constraint-re): New constant.
2600 (verilog-keywords, verilog-type-font-keywords):
2601 Add some SystemVerilog 1800-2012 keywords.
2602 (verilog-label-be): Remove unimplemented argument, bug669.
2603 (verilog-batch-execute-func): When batch expanding clear
2604 create-lockfiles to prevent spurious user locks when a file ends
2605 up not changing.
2606 (verilog-calculate-indent, verilog-calc-1)
2607 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2608 (verilog-do-indent): Fix indentation of nested constraints
2609 and structures.
2610 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2611 (verilog-auto-inst-param): Use verilog-string-match-fold.
2612 (verilog-read-inst-module-matcher):
2613 Fix AUTOINST on gate primitives with #1.
2614 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2615 Reads all user-defined typed variables.
2616 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2617 (verilog-signals-matching-regexp)
2618 (verilog-signals-not-matching-regexp, verilog-auto):
2619 Respect verilog-case-fold.
2620 (verilog-diff-report): Fix line count.
2621 (verilog-auto-assign-modport): Remove unused local `modi'.
2622 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2623 better handle multidimensional arrays.
2624 Fix packed array ports misadding bit index in AUTOINST, bug637.
2625 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2626 to not double-declare existing outputs and inputs, respectively.
2627 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2628 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2629 (verilog-sk-uvm-component): New skeleton.
2630 (verilog-submit-bug-report): Add verilog-case-fold,
2631 remove verilog-mode-release-date.
2632
2633 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2634
2635 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2636 as before.
2637
2638 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2639
2640 * textmodes/remember.el (remember): set buffer-offer-save in
2641 remember buffers (bug#13566).
2642
2643 2013-10-18 Daniel Colascione <dancol@dancol.org>
2644
2645 When evaluating forms in ielm, direct standard output to ielm
2646 buffer. Add new ielm-return-for-effect command. Remove trailing
2647 whitespace throughout.
2648
2649 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2650 (ielm-return-for-effect): New command.
2651 (ielm-send-input): Accept optional `for-effect' parameter.
2652 (ielm-eval-input): Accept optional `for-effect' parameter.
2653 Bind `standard-output' to stream we create using
2654 `ielm-standard-output-impl'. Suppress printing result when
2655 `for-effect'.
2656 (ielm-standard-output-impl): New function.
2657 (inferior-emacs-lisp-mode): Explain new features in documentation.
2658
2659 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2660
2661 Code cleanup.
2662
2663 * net/tramp.el (tramp-debug-message): Do not check for connection
2664 buffer.
2665 (tramp-message): Use "vector" connection property.
2666
2667 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2668 (tramp-equal-remote, tramp-eshell-directory-change)
2669 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2670 (tramp-adb-handle-rename-file)
2671 * net/tramp-cmds.el (tramp-list-remote-buffers)
2672 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2673 * net/tramp-compat.el (tramp-compat-process-running-p)
2674 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2675 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2676 (tramp-gvfs-handle-rename-file)
2677 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2678 (tramp-set-file-uid-gid)
2679 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2680 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2681 of `file-remote-p'.
2682
2683 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2684 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2685 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2686 (tramp-gw-open-network-stream): Suppress unrelated traces.
2687
2688 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2689 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2690 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2691 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2692 connection property.
2693
2694 * net/tramp-cache.el (top): Suppress traces when reading
2695 persistency file.
2696
2697 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2698 Refactor common code. Improve debug message.
2699 (tramp-maybe-open-connection)
2700 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2701 connection buffer too early.
2702
2703 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2704 from `tramp-smb-actions-with-acl'.
2705 (tramp-smb-actions-set-acl): New defconst.
2706 (tramp-smb-handle-copy-directory)
2707 (tramp-smb-action-get-acl): New defun, renamed from
2708 `tramp-smb-action-with-acl'.
2709 (tramp-smb-action-set-acl): New defun.
2710 (tramp-smb-handle-set-file-acl): Rewrite.
2711
2712 2013-10-17 Glenn Morris <rgm@gnu.org>
2713
2714 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2715
2716 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * skeleton.el (skeleton-newline): Remove.
2719 (skeleton-internal-1): Use (insert "\n") instead.
2720
2721 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2722 let-bindings.
2723
2724 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2725 forward-sexp-function while we redo its job (bug#15613).
2726
2727 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2728
2729 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2730 represented by lists.
2731
2732 2013-10-16 Glenn Morris <rgm@gnu.org>
2733
2734 * tmm.el (tmm--history): New dynamic variable.
2735 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2736
2737 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2738
2739 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2740 (tramp-smb-errors): Add error messages.
2741 (tramp-smb-actions-with-acl): New defconst.
2742 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2743 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2744 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2745 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2746 (tramp-smb-get-stat-capability): Fix tests.
2747
2748 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2749
2750 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2751 (bug#15580).
2752
2753 2013-10-16 Glenn Morris <rgm@gnu.org>
2754
2755 * ansi-color.el (ansi-color-drop-regexp):
2756 Add 1J, 1K, 2K. (Bug#15617)
2757
2758 * files.el (hack-local-variables--warned-lexical): New.
2759 (hack-local-variables):
2760 Warn about misplaced lexical-binding. (Bug#15616)
2761
2762 * net/eww.el (eww-render): Always set eww-current-url,
2763 and update header line. (Bug#15622)
2764 (eww-display-html): ... Rather than just doing it here.
2765
2766 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2767
2768 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2769 menu navigations commands.
2770
2771 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2772
2773 * progmodes/subword.el (subword-capitalize): Be careful when
2774 the search for [[:alpha:]] fails (bug#15580).
2775
2776 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2777
2778 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2779 to commands that scroll the menu.
2780
2781 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2782
2783 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2784 Handle methods ending with `?' and `!'.
2785
2786 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2787
2788 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2789 `japanese-cp932' to `cp932' to fix the problem where saving a
2790 source file written in Shift_JIS twice would end up having
2791 `coding: japanese-cp932' which Ruby could not recognize.
2792 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2793 in `ruby-encoding-map'.
2794 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2795 doesn't need to be explicitly declared in magic comment.
2796 (ruby-encoding-map): Add type declaration for better customize UI.
2797
2798 2013-10-13 Glenn Morris <rgm@gnu.org>
2799
2800 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2801 Occur buffers are read-only. http://bugs.debian.org/720775
2802
2803 * emacs-lisp/authors.el (authors-fixed-entries):
2804 Comment out old alpha stuff.
2805
2806 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2807
2808 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2809 to `after-save-hook' instead of `before-save-hook'.
2810 (ruby-mode-set-encoding): Use the value of coding system used to
2811 write the file. Call `basic-save-buffer-1' after modifying the
2812 buffer.
2813
2814 2013-10-13 Alan Mackenzie <acm@muc.de>
2815
2816 Fix indentation/fontification of Java enum with
2817 "implements"/generic.
2818
2819 * progmodes/cc-engine.el (c-backward-over-enum-header):
2820 Extracted from the three other places and enhanced to handle generics.
2821 (c-inside-bracelist-p): Uses new function above.
2822 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2823 function above.
2824 (c-font-lock-enum-tail): Uses new function above.
2825
2826 2013-10-13 Kenichi Handa <handa@gnu.org>
2827
2828 * international/mule-cmds.el (select-safe-coding-system): Remove a
2829 superfluous condition in chekcing whether a coding system is safe
2830 or not.
2831
2832 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2833
2834 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2835
2836 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2837
2838 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2839
2840 2013-10-13 Glenn Morris <rgm@gnu.org>
2841
2842 * menu-bar.el (menu-bar-update-buffers):
2843 Unify Buffers menu prompt string. (Bug#15576)
2844
2845 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2846
2847 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2848 Add some entries.
2849 (authors-fixed-entries): Use accented form of name.
2850
2851 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2854 method calls (bug#15594).
2855 (ruby-smie--args-separator-p): New function.
2856 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2857 recognize paren-free method calls.
2858
2859 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2860 internals of universal-argument.
2861
2862 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2863
2864 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2865 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2866 dropped menu on second mouse click on the menu bar.
2867
2868 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2871 (explicit-shell-file-name): Declare.
2872 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2873 (sh-completion-at-point-function): New function.
2874 (sh-mode): Use it.
2875 (sh-smie--keyword-p): Remove unused argument.
2876 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2877 vars.
2878 (sh-set-shell): Always setup SMIE, even if we use the
2879 old indentation code.
2880
2881 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2882
2883 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2884 cases of ? and =.
2885 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2886 predicate would return nil are almost non-existent.
2887 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2888
2889 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2890 cache also after commands that modify the buffer but don't move
2891 point.
2892
2893 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * env.el (substitute-env-in-file-name): New function.
2896 (substitute-env-vars): Extend the meaning of the optional arg.
2897
2898 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2899
2900 * term/w32-win.el (dynamic-library-alist): Define separate lists
2901 of GIF DLLs for versions before and after 5.0.0 of giflib.
2902 (Bug#15531)
2903
2904 2013-10-10 João Távora <joaotavora@gmail.com>
2905
2906 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2907 not locked, use last revision and current source as
2908 defaults. (Bug#15569)
2909
2910 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2911
2912 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2913 menu-bar is hidden.
2914
2915 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2916
2917 * window.el (pop-to-buffer-same-window): Fix doc-string.
2918 (Bug#15492)
2919
2920 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2923
2924 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2925
2926 * calendar/icalendar.el (icalendar-import-file):
2927 Fix interactive spec. (Bug#15482)
2928
2929 2013-10-10 Glenn Morris <rgm@gnu.org>
2930
2931 * desktop.el (desktop-save): Default to saving in .emacs.d,
2932 since PWD is no longer in desktop-path by default. (Bug#15319)
2933
2934 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2935 now that text mode has a menu with the same entry.
2936 (menu-bar-text-mode-auto-fill): Remove now unused func.
2937 * textmodes/text-mode.el (text-mode-map):
2938 Use auto-fill help text from menu-bar.el.
2939
2940 2013-10-10 John Anthony <john@jo.hnanthony.com>
2941
2942 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2943
2944 2013-10-09 Juri Linkov <juri@jurta.org>
2945
2946 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2947 instead of this-command-keys. Add universal-argument-more and
2948 universal-argument-minus to the list of prefix commands. (Bug#15568)
2949
2950 2013-10-09 Glenn Morris <rgm@gnu.org>
2951
2952 * vc/vc-svn.el (vc-svn-create-repo):
2953 Expand paths in file://... url. (Bug#15446)
2954
2955 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2956 Add some entries.
2957 (authors): Remove unused local variables.
2958
2959 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * profiler.el: Create a more coherent calltree from partial backtraces.
2962 (profiler-format): Hide the tail with `invisible' so that C-s can still
2963 find the hidden elements.
2964 (profiler-calltree-depth): Don't recurse so enthusiastically.
2965 (profiler-function-equal): New hash-table-test.
2966 (profiler-calltree-build-unified): New function.
2967 (profiler-calltree-build): Use it.
2968 (profiler-report-make-name-part): Indent the calltree less.
2969 (profiler-report-mode): Add visibility specs for profiler-format.
2970 (profiler-report-expand-entry, profiler-report-toggle-entry):
2971 Expand the whole subtree when provided with a prefix arg.
2972
2973 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2974
2975 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2976 iuwu-mod token.
2977 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2978 hanging iuwu-mod token.
2979 (ruby-smie--forward-token): Do not include a dot after a token in
2980 that token.
2981 (ruby-smie--backward-token): Likewise.
2982
2983 2013-10-08 Juri Linkov <juri@jurta.org>
2984
2985 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2986 to isearch-other-control-char.
2987 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2988 and isearch-post-command-hook to post-command-hook.
2989 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2990 and isearch-post-command-hook from post-command-hook.
2991 (isearch-unread-key-sequence)
2992 (isearch-reread-key-sequence-naturally)
2993 (isearch-lookup-scroll-key, isearch-other-control-char)
2994 (isearch-other-meta-char): Remove functions.
2995 (isearch-pre-command-hook, isearch-post-command-hook):
2996 New functions based on isearch-other-meta-char rewritten
2997 relying on the new behavior of overriding-terminal-local-map
2998 that does not replace the local keymaps any more. (Bug#15200)
2999
3000 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3001
3002 Support menus on text-mode terminals.
3003 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3004 functionality.
3005
3006 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3007
3008 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3009 Move here from mouse.el.
3010 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3011 and arrow keys.
3012 (tty-menu-navigation-map): New map for TTY menu navigation.
3013
3014 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3015
3016 * frame.el (display-mouse-p): Report text-mode mouse as available
3017 on w32.
3018 (display-popup-menus-p): Report availability if mouse is
3019 available; don't condition on window-system.
3020
3021 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3022 (tty-menu-selected-face): New faces.
3023
3024 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3027 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3028 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3029 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3030 New constants.
3031 (lisp-mode-variables): New `elisp' argument.
3032 (emacs-lisp-mode): Use it.
3033 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3034 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3035
3036 * indent.el: Use lexical-binding.
3037 (indent-region): Add progress reporter.
3038 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3039 last step.
3040 (indent--next-tab-stop): New function to implement this behavior.
3041 (tab-to-tab-stop, move-to-tab-stop): Use it.
3042
3043 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3044
3045 * indent.el (indent-rigidly--current-indentation): New function.
3046 (indent-rigidly-map): New var.
3047 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3048
3049 2013-10-08 Bastien Guerry <bzg@gnu.org>
3050
3051 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3052
3053 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * progmodes/perl-mode.el: Use lexical-binding.
3056 Remove redundant :group args.
3057 (perl-nochange): Change default to be closer to other major modes's
3058 standard behavior.
3059 (perl-indent-line): Don't consider text on current line as a
3060 valid beginning of function from which to indent.
3061
3062 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3063 with more than one argument (bug#15538).
3064
3065 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3066
3067 * vc/pcvs.el: Use lexical-binding.
3068 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3069 environment of `eval'.
3070 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3071 than a list of expressions. Adjust callers.
3072 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3073
3074 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3075
3076 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3077 case of the dot in a chained method call being on the following line.
3078
3079 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * electric.el (electric-indent-inhibit): New var.
3082 (electric-indent-post-self-insert-function): Use it.
3083 * progmodes/python.el (python-mode): Set it.
3084
3085 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3086 open braces.
3087
3088 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3089
3090 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3091 (css-mode): Use electric-indent-chars.
3092
3093 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3094 (font-lock-beg, font-lock-end): Move before first use.
3095 (nxml-mode): Use syntax-propertize-function.
3096 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3097 (nxml-extend-after-change-region): Remove.
3098 * nxml/xmltok.el: Use lexical-binding.
3099 (xmltok-save): Use `declare'.
3100 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3101 * nxml/nxml-util.el: Use lexical-binding.
3102 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3103 Use `declare'.
3104 * nxml/nxml-ns.el: Use lexical-binding.
3105 (nxml-ns-save): Use `declare'.
3106 (nxml-ns-prefixes-for): Avoid add-to-list.
3107 * nxml/rng-match.el: Use lexical-binding.
3108 (rng--ipattern): Use cl-defstruct.
3109 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3110 (rng-cons-group-after, rng-subst-group-after)
3111 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3112 Use closures instead of `(lambda...).
3113
3114 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3115
3116 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3117 of BEG and END.
3118
3119 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3120 Use `tramp-handle-insert-file-contents'.
3121 (tramp-gvfs-handle-insert-file-contents): Remove function.
3122
3123 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3124 Use `save-restriction' in order to keep markers.
3125
3126 * net/trampver.el: Update release number.
3127
3128 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * progmodes/compile.el (compilation-parse-errors):
3131 Use compilation--put-prop.
3132 (compilation--ensure-parse): Check compilation-multiline.
3133
3134 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3135
3136 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3137 lexical-binding.
3138
3139 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3140
3141 * progmodes/ruby-mode.el: Fix recently added tests.
3142 (ruby-smie-grammar): Add - and +.
3143 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3144 (ruby-smie--backward-id): New functions.
3145 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3146 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3147 any more.
3148
3149 2013-10-07 Leo Liu <sdl.web@gmail.com>
3150
3151 * register.el (register-preview-delay)
3152 (register-preview-functions): New variables.
3153 (register-read-with-preview, register-preview)
3154 (register-describe-oneline): New functions.
3155 (point-to-register, window-configuration-to-register)
3156 (frame-configuration-to-register, jump-to-register)
3157 (number-to-register, view-register, insert-register)
3158 (copy-to-register, append-to-register, prepend-to-register)
3159 (copy-rectangle-to-register): Use register-read-with-preview to
3160 read register. (Bug#15525)
3161
3162 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3163
3164 * net/network-stream.el (network-stream-open-starttls): Don't add
3165 --insecure if it's already present, because that gnutls-cli
3166 rejects getting that parameter twice.
3167
3168 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3169
3170 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3171 keyword, too.
3172
3173 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3174
3175 * newcomment.el (comment-use-global-state): Change default value
3176 to t, mark obsolete (Bug#15251).
3177 (comment-beginning): In addition to `comment-to-syntax', check the
3178 value of `comment-use-global-state'.
3179
3180 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3183 (ruby-comment-column): Follow the global default, by default.
3184 (ruby-smie-grammar): Add assignment syntax.
3185 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3186 open-paren, a comma, or a \.
3187 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3188 and line continuations.
3189 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3190 followed by implicit semi-colons. Add rule for string concatenation
3191 and for indentation at BOB.
3192 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3193
3194 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3195 calling next-sexp, since next-token may have skipped chars which
3196 next-sexp doesn't know should be skipped!
3197
3198 2013-10-05 Leo Liu <sdl.web@gmail.com>
3199
3200 * progmodes/octave.el (octave-send-region):
3201 Call compilation-forget-errors.
3202
3203 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3204
3205 * vc/vc-svn.el (vc-svn-find-admin-dir):
3206 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3207 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3208 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3209 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3210
3211 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3214
3215 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * subr.el (read-passwd): Hide chars even when called within a context
3218 where after-change-functions is disabled (bug#15501).
3219 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3220 until we removed ourself from overriding-terminal-local-map.
3221
3222 2013-10-04 Leo Liu <sdl.web@gmail.com>
3223
3224 * progmodes/octave.el (inferior-octave-mode):
3225 Call compilation-forget-errors.
3226
3227 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3228
3229 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3230
3231 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * net/secrets.el (secrets-create-collection): Add optional
3234 argument ALIAS. Use proper Label keyword. Append ALIAS as
3235 dbus-call-method argument. (Bug#15516)
3236
3237 2013-10-04 Leo Liu <sdl.web@gmail.com>
3238
3239 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3240 (inferior-octave-compilation-font-lock-keywords): New variables.
3241 (compilation-error-regexp-alist)
3242 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3243 (inferior-octave-mode): Use compilation-shell-minor-mode.
3244
3245 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3246
3247 * minibuffer.el (completion--replace): Be careful that `end' might be
3248 a marker.
3249
3250 2013-10-03 Daiki Ueno <ueno@gnu.org>
3251
3252 Add support for package signature checking.
3253 * emacs-lisp/package.el (url-http-file-exists-p)
3254 (epg-make-context, epg-context-set-home-directory)
3255 (epg-verify-string, epg-context-result-for)
3256 (epg-signature-status, epg-signature-to-string)
3257 (epg-check-configuration, epg-configuration)
3258 (epg-import-keys-from-file): Declare.
3259 (package-check-signature): New user option.
3260 (package-unsigned-archives): New user option.
3261 (package-desc): Add `signed' field.
3262 (package-load-descriptor): Set `signed' field if .signed file exists.
3263 (package--archive-file-exists-p): New function.
3264 (package--check-signature): New function.
3265 (package-install-from-archive): Check package signature.
3266 (package--download-one-archive): Check archive signature.
3267 (package-delete): Remove .signed file.
3268 (package-import-keyring): New command.
3269 (package-refresh-contents): Import default keyring.
3270 (package-desc-status): Add "unsigned" status.
3271 (describe-package-1, package-menu--print-info)
3272 (package-menu-mark-delete, package-menu--find-upgrades)
3273 (package-menu--status-predicate): Support "unsigned" status.
3274
3275 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3278 the new compilation scheme using the new byte-codes.
3279
3280 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3281 (byte-pophandler): New byte codes.
3282 (byte-goto-ops): Adjust accordingly.
3283 (byte-compile--use-old-handlers): New var.
3284 (byte-compile-catch): Use new byte codes depending on
3285 byte-compile--use-old-handlers.
3286 (byte-compile-condition-case--old): Rename from
3287 byte-compile-condition-case.
3288 (byte-compile-condition-case--new): New function.
3289 (byte-compile-condition-case): New function that dispatches depending
3290 on byte-compile--use-old-handlers.
3291 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3292 when we can.
3293
3294 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3295 Optimize under `condition-case' and `catch' if
3296 byte-compile--use-old-handlers is nil.
3297 (disassemble-offset): Handle new bytecodes.
3298
3299 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * subr.el (error): Use `declare'.
3302 (decode-char, encode-char): Use advertised-calling-convention instead
3303 of the docstring to discourage use of the `restriction' arg.
3304
3305 2013-10-03 Daiki Ueno <ueno@gnu.org>
3306
3307 * epg.el (epg-verify-file): Add a comment saying that it does not
3308 notify verification error as a return value nor a signal.
3309 (epg-verify-string): Ditto.
3310
3311 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3312
3313 * progmodes/compile.el (compilation-start): Try globbing the arg to
3314 `cd' (bug#15417).
3315
3316 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3317
3318 Sync with Tramp 2.2.8.
3319
3320 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3321 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3322 * net/trampver.el: Update release number.
3323
3324 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3325
3326 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3327 and default-process-coding-system for darwin only.
3328
3329 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3332
3333 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3334
3335 * vc/vc-git.el (vc-git-grep): Disable pager.
3336
3337 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3338
3339 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3340 Use :url instead of :homepage, as per
3341 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3342
3343 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3344 non-nil, use `syntax-ppss' (Bug#15251).
3345
3346 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3347
3348 * progmodes/octave.el (inferior-octave-startup-file):
3349 Prefer ~/.emacs.d/init_octave.m.
3350
3351 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3352
3353 * emacs-lisp/package.el (package-desc-from-define):
3354 Accept additional arguments as plist, convert them to an alist and store
3355 them in the `extras' slot.
3356 (package-generate-description-file): Convert extras alist back to
3357 plist and append to the `define-package' form arguments.
3358 (package--alist-to-plist): New function.
3359 (package--ac-desc): Add `extras' slot.
3360 (package--add-to-archive-contents): Check if the archive-contents
3361 vector is long enough, and if it is, pass its `extras' slot value
3362 to `package-desc-create'.
3363 (package-buffer-info): Call `lm-homepage', pass the returned value
3364 to `package-desc-from-define'.
3365 (describe-package-1): Render the homepage button (Bug#13291).
3366
3367 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3368 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3369
3370 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3371
3372 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3373 and default-process-coding-system to utf-8-unix (Bug#15402).
3374
3375 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3376
3377 * subr.el (looking-back): Do not recommend using looking-back.
3378
3379 2013-09-28 Alan Mackenzie <acm@muc.de>
3380
3381 Fix indentation/fontification of Java enum with "implements".
3382
3383 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3384 regexp which matches "implements", etc., in Java.
3385 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3386 specifier clauses coming after "enum".
3387 * progmodes/cc-fonts.el (c-font-lock-declarations)
3388 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3389 after "enum".
3390
3391 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3392
3393 * faces.el (region): Change ns_selection_color to
3394 ns_selection_fg_color, add ns_selection_bg_color.
3395
3396 2013-09-28 Leo Liu <sdl.web@gmail.com>
3397
3398 * progmodes/octave.el (inferior-octave-completion-table)
3399 (inferior-octave-completion-at-point): Minor tweaks.
3400
3401 * textmodes/ispell.el (ispell-lookup-words): Rename from
3402 lookup-words. (Bug#15460)
3403 (lookup-words): Obsolete.
3404 (ispell-complete-word, ispell-command-loop): All uses changed.
3405
3406 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3407
3408 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3409 (octave-mode-menu): Add octave-send-buffer.
3410 (octave-send-buffer): New function.
3411
3412 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3413
3414 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3415 octave-lookfor.
3416 (octave-mode-menu): Add octave-lookfor.
3417 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3418 octave-lookfor.
3419 (octave-lookfor): New function.
3420
3421 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * emacs-lisp/cl-macs.el:
3424 (cl--loop-destr-temps): Remove.
3425 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3426 its convention.
3427 (cl--loop-set-iterator-function): New function.
3428 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3429 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3430 Bind `it' with `let' instead of substituting it with `cl-subst'.
3431 (cl--unused-var-p): New function.
3432 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3433 Eliminate some unused variable warnings (bug#15326).
3434
3435 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3436
3437 * doc-view.el (doc-view-scale-reset): Rename from
3438 `doc-view-reset-zoom-level'.
3439 (doc-view-scale-adjust): New command.
3440 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3441 `doc-view-scale-adjust'.
3442
3443 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3444
3445 * doc-view.el (doc-view-reset-zoom-level): New command.
3446 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3447 zoom commands (bug#15466).
3448
3449 2013-09-26 Kenichi Handa <handa@gnu.org>
3450
3451 * international/quail.el (quail-help): Make it not a command.
3452
3453 2013-09-26 Leo Liu <sdl.web@gmail.com>
3454
3455 * minibuffer.el (completion-all-sorted-completions): Make args
3456 optional as they are.
3457
3458 2013-09-25 Daniel Colascione <dancol@dancol.org>
3459
3460 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3461 specs are and that they're not evaluated.
3462
3463 2013-09-24 Sam Steingold <sds@gnu.org>
3464
3465 * midnight.el (clean-buffer-list-kill-regexps)
3466 (clean-buffer-list-kill-buffer-names): Update for the new Man
3467 buffer naming which includes the object name.
3468
3469 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3472 (eshell-parse-command, eshell-parse-pipeline): Use it since
3473 eshell-separate-commands requires a dynamic scoped var.
3474 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3475
3476 2013-09-23 Leo Liu <sdl.web@gmail.com>
3477
3478 * autoinsert.el (auto-insert-alist): Make the value of
3479 lexical-binding match its file setting.
3480
3481 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3482
3483 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3484
3485 * autoarg.el (autoarg-kp-digit-argument):
3486 * electric.el (Electric-command-loop):
3487 * kmacro.el (kmacro-step-edit-insert):
3488 Do not set universal-argument-num-events.
3489
3490 2013-09-22 Leo Liu <sdl.web@gmail.com>
3491
3492 * files.el (interpreter-mode-alist): Add octave.
3493
3494 2013-09-21 Alan Mackenzie <acm@muc.de>
3495
3496 C++: fontify identifier in declaration following "public:" correctly.
3497 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3498 to match "public", etc.
3499 (c-decl-prefix-re): Add ":" into the C++ value.
3500 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3501 bit. Add a check for a ":" preceded by "public", etc.
3502
3503 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3504
3505 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3506 recognized by GDB 7.5 and later.
3507
3508 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3509
3510 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3511
3512 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * subr.el (internal--call-interactively): New const.
3515 (called-interactively-p): Use it (bug#3984).
3516
3517 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3518
3519 * vc/pcvs.el (cvs-mode-ignore):
3520 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3521 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3522
3523 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3526 (eshell-ls-orig-insert-directory): Remove.
3527 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3528 (eshell-ls-use-in-dired): Use advice-add/remove.
3529 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3530 Add `orig-fun' arg for use in :around advice.
3531 Make it check (redundantly) eshell-ls-use-in-dired.
3532
3533 2013-09-19 Glenn Morris <rgm@gnu.org>
3534
3535 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3536
3537 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3538
3539 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3540
3541 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3542
3543 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3544 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3545 (tramp-get-remote-python): New defuns.
3546 (tramp-get-remote-uid-with-perl)
3547 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3548 contributed by yary <not.com@gmail.com> (tiny change).
3549 (tramp-get-remote-uid-with-python)
3550 (tramp-get-remote-gid-with-python): New defuns. Python code
3551 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3552 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3553
3554 2013-09-19 Glenn Morris <rgm@gnu.org>
3555
3556 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3557
3558 * eshell/em-unix.el (eshell-remove-entries):
3559 Rename argument to avoid name-clash with global `top-level'.
3560
3561 * eshell/esh-proc.el (eshell-kill-process-function):
3562 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3563 (eshell-reset-after-proc): Remove unused arg `proc'.
3564
3565 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3566 (directory-files-and-attributes): Mark unused arg.
3567
3568 * eshell/em-unix.el (eshell-remove-entries):
3569 Remove unused arg `path'. Update callers.
3570
3571 * eshell/em-hist.el (eshell-hist-parse-arguments):
3572 Remove unused arg `silent'. Update callers.
3573
3574 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3575 Fix (f)boundp mix-up.
3576
3577 * eshell/em-smart.el (eshell-smart-scroll-window)
3578 (eshell-disable-after-change):
3579 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3580
3581 2013-09-18 Alan Mackenzie <acm@muc.de>
3582
3583 Fix fontification of type when followed by "const".
3584 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3585 "known" types from fontification.
3586
3587 2013-09-18 Glenn Morris <rgm@gnu.org>
3588
3589 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3590 (chart-face-list): Drop Emacsen without display-color-p.
3591
3592 * net/eww.el (libxml-parse-html-region): Declare.
3593 (eww-display-html): Explicit error if no libxml2 support.
3594
3595 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3596
3597 * image.el (image-type-from-buffer, image-multi-frame-p):
3598 Remove --without-x warning/error.
3599
3600 * mouse.el (mouse-yank-primary):
3601 * term.el (term-mouse-paste):
3602 Reorder to silence --without-x compilation.
3603
3604 * mpc.el (doc-view-mode): Silence --without-x compilation.
3605
3606 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3607 Silence --without-x compilation.
3608
3609 * progmodes/gud.el (gud-find-file, gud-mode):
3610 Silence --without-x compilation.
3611 (tooltip-mode): Declare.
3612
3613 * wdired.el (dired-backup-overwrite): Remove declaration.
3614 (wdired-mode-map): Add doc string.
3615
3616 * custom.el (x-get-resource): Declare.
3617
3618 * eshell/em-glob.el (ange-cache):
3619 * eshell/em-unix.el (ange-cache): Declare.
3620
3621 * faces.el (x-display-list, x-open-connection, x-get-resource):
3622 Declare.
3623
3624 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3625 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3626 Declare.
3627
3628 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3629
3630 * net/gnutls.el (gnutls-log-level): Declare.
3631
3632 * net/shr.el (image-size, image-animate): Declare.
3633
3634 * simple.el (font-info): Declare.
3635
3636 * subr.el (x-popup-dialog): Declare.
3637
3638 * term/common-win.el (x-select-enable-primary)
3639 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3640 Declare.
3641
3642 * term/ns-win.el (x-handle-args): Declare.
3643
3644 * term/x-win.el (x-select-enable-clipboard): Declare.
3645
3646 * term/w32-win.el (create-default-fontset): Declare.
3647
3648 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3649 Declare.
3650
3651 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3652 (fit-frame-to-buffer): Explicit error if --without-x.
3653 (mouse-autoselect-window-select): Silence compiler.
3654
3655 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3656
3657 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3658 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3659 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3660 * eshell/esh-util.el (eshell-sublist):
3661 Remove unused local variables.
3662
3663 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3664
3665 * textmodes/two-column.el: Make 2C-split work for --without-x.
3666 (scroll-bar-columns): Autoload.
3667 (top-level): Require fringe when compiling.
3668
3669 2013-09-18 Leo Liu <sdl.web@gmail.com>
3670
3671 * subr.el (add-hook): Robustify to handle closure as well.
3672
3673 2013-09-17 Glenn Morris <rgm@gnu.org>
3674
3675 * simple.el (messages-buffer-mode-map): Unbind "g".
3676
3677 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * help-mode.el (help-mode-finish): Use derived-mode-p.
3680 Remove obsolete highlighting.
3681
3682 * play/life.el (life-mode): Use define-derived-mode. Derive from
3683 special-mode.
3684 (life): Let-bind inhibit-read-only.
3685 (life-setup): Avoid `setq'. Use `life-mode'.
3686
3687 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3688 which should not be needed any more.
3689 (package-menu-refresh, package-menu-describe-package): Use user-error.
3690
3691 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3692 (eshell-post-rewrite-command-hook): Make obsolete.
3693 (eshell-parse-command): Simplify.
3694 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3695 (eshell--cmd): Declare.
3696 (eshell-parse-pipeline): Remove unused var `final-p'.
3697 Pass a dynvar to eshell-post-rewrite-command-hook.
3698 Implement the new eshell-post-rewrite-command-function.
3699 (eshell-invoke-directly): Remove unused arg `input'.
3700 * eshell/esh-io.el (eshell-io-initialize):
3701 Use eshell-post-rewrite-command-function (bug#15399).
3702 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3703 adjust to new calling convention.
3704 (eshell-create-handles): Rename args to avoid clashing with dynvar
3705 `standard-output'.
3706
3707 2013-09-17 Glenn Morris <rgm@gnu.org>
3708
3709 * simple.el (messages-buffer-mode): New major mode.
3710 (messages-buffer): New function.
3711 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3712 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3713 (ert-run-test): Use `messages-buffer' function.
3714 (ert--force-message-log-buffer-truncation): Ignore read-only.
3715 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3716 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3717
3718 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3721
3722 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3723
3724 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * icomplete.el (icomplete-in-buffer): New var.
3727 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3728 vars and replace them with functions.
3729 (icomplete-minibuffer-setup): Adjust accordingly.
3730 (icomplete--completion-table, icomplete--completion-predicate)
3731 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3732 New functions.
3733 (icomplete-forward-completions, icomplete-backward-completions)
3734 (icomplete-simple-completing-p, icomplete-exhibit)
3735 (icomplete-completions): Use them.
3736 (icomplete--in-region-buffer): New var.
3737 (icomplete--in-region-setup): New function.
3738 (icomplete-mode): Use it.
3739
3740 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3741 (bug#15379).
3742 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3743 return args and options.
3744 (eshell-eval-using-options): Use the new return value of
3745 eshell--do-opts to set the options's vars in their scope.
3746 (eshell--set-option): Rename from eshell-set-option.
3747 Add arg `opt-vals'.
3748 (eshell--process-option): Rename from eshell-process-option.
3749 Add arg `opt-vals'.
3750 (eshell--process-args): Use an `opt-vals' alist to store the options's
3751 values during their processing and return them additionally to the
3752 remaining args.
3753
3754 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3755
3756 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3757 continuation character an operator, as far as indentation is
3758 concerned (Bug#15369).
3759
3760 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3761
3762 * window.el (window--state-put-2): Don't process buffer state
3763 when buffer doesn't exist any more (Bug#15382).
3764
3765 2013-09-15 Glenn Morris <rgm@gnu.org>
3766
3767 * eshell/em-unix.el (eshell/rm):
3768 Make -f ignore missing files. (Bug#15373)
3769
3770 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3771 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3772 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3773
3774 2013-09-14 Glenn Morris <rgm@gnu.org>
3775
3776 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3777
3778 2013-09-13 Glenn Morris <rgm@gnu.org>
3779
3780 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3781 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3782
3783 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3784
3785 * frame.el (x-focus-frame): Mark as declared in frame.c.
3786
3787 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * ls-lisp.el: Use advice-add.
3790 (original-insert-directory): Remove.
3791 (ls-lisp--insert-directory): Rename from insert-directory; add
3792 `orig-fun' argument.
3793 (insert-directory): Advise.
3794
3795 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3796
3797 * term.el (term-emulate-terminal): Decode the command string
3798 before passing it to term-command-hook. (Bug#15337)
3799
3800 2013-09-13 Glenn Morris <rgm@gnu.org>
3801
3802 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3803
3804 * eshell/esh-ext.el (eshell-search-path): Declare.
3805
3806 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3807 Otherwise an error occurs if eshell-dirs module not loaded.
3808
3809 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3810
3811 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3812
3813 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3814 `tramp-check-proper-host'. Check for a valid method name.
3815
3816 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3817 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3818 * net/tramp-sh.el (tramp-maybe-open-connection):
3819 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3820
3821 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3822 also for hash values.
3823
3824 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * term/ns-win.el (parameters): Don't declare as dynamic.
3827 (before-make-frame-hook): Don't add ineffective function.
3828
3829 * eshell/*.el: Use lexical-binding (bug#15231).
3830
3831 2013-09-12 Kenichi Handa <handa@gnu.org>
3832
3833 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3834
3835 2013-09-12 Glenn Morris <rgm@gnu.org>
3836
3837 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3838 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3839
3840 * subr.el (do-after-load-evaluation): Also give compiler warnings
3841 when obsolete files are used (except by obsolete files).
3842
3843 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3844 in the status output, assume `filename' is the first. (Bug#15322)
3845
3846 * vc/vc.el (vc-deduce-fileset): Doc fix.
3847
3848 * calc/calc-help.el (Info-goto-node):
3849 * progmodes/cperl-mode.el (Info-find-node):
3850 * vc/ediff.el (Info-goto-node): Update declarations.
3851
3852 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3853
3854 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3855 (vc-bzr-pull): Require vc-dispatcher.
3856 * vc/vc-git.el (vc-compilation-mode): Declare.
3857 (vc-git-pull): Require vc-dispatcher.
3858
3859 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3860
3861 * progmodes/octave.el (help-button-action): Declare.
3862
3863 * shell.el (shell-directory-tracker): Output error as a message
3864 rather than just returning it as a string.
3865 (shell-process-pushd): Remove useless use of message.
3866
3867 * dframe.el (dframe-timer-fn):
3868 * files.el (dir-locals-read-from-file):
3869 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3870 (mpc-format):
3871 * reveal.el (reveal-post-command):
3872 * saveplace.el (load-save-place-alist-from-file):
3873 * shell.el (shell-resync-dirs):
3874 * w32-common-fns.el (x-get-selection-value):
3875 * emacs-lisp/copyright.el (copyright-find-copyright):
3876 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3877 * emulation/tpu-edt.el (tpu-copy-keyfile):
3878 * play/bubbles.el (bubbles--mark-neighbourhood):
3879 * progmodes/executable.el
3880 (executable-make-buffer-file-executable-if-script-p):
3881 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3882
3883 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 Cleanup Eshell to rely less on dynamic scoping.
3886 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3887 last-value, and ext-command here. Bind `args' closer to `body'.
3888 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3889 (eshell--args): Declare new dynamic var.
3890 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3891 last-value, and ext-command. Pass `args' to `body'.
3892 (eshell-process-args): Bind eshell--args.
3893 (eshell-set-option): Use eshell--args.
3894 * eshell/eshell.el (eshell): Use derived-mode-p.
3895 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3896 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3897 (eshell-glob-function): Declare.
3898 * eshell/esh-util.el: Require cl-lib.
3899 (eshell-read-hosts-file): Avoid add-to-list.
3900 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3901 `err'.
3902 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3903 Declare.
3904 (eshell/diff): Remove unused var `err'.
3905 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3906 `killflag'.
3907 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3908 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3909 first use.
3910 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3911 Move declaration before first use.
3912 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3913 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3914 rely on cl-return.
3915
3916 2013-09-12 Glenn Morris <rgm@gnu.org>
3917
3918 * term/ns-win.el (global-map): Remove binding for ispell-next,
3919 deleted 1999-05-29. (Bug#15357)
3920
3921 2013-09-11 Glenn Morris <rgm@gnu.org>
3922
3923 * echistory.el (electric-command-history): Remove call to deleted func.
3924
3925 * play/landmark.el (landmark-mode): Fix typos.
3926
3927 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3928 Check cvs-sort-ignore-file is bound.
3929
3930 * savehist.el: No need for cl when compiling on Emacs.
3931
3932 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3935 (bug#15338).
3936 (eshell-self-insert-command, eshell-send-invisible):
3937 Remove unused argument.
3938 (eshell-handle-control-codes): Remove unused var `orig'.
3939 Avoid delete-backward-char.
3940
3941 * files.el (set-auto-mode): Simplify a bit further.
3942
3943 2013-09-11 Glenn Morris <rgm@gnu.org>
3944
3945 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3946 (set-auto-mode): Don't regexp-quote elements.
3947 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3948 * progmodes/cc-mode.el (interpreter-mode-alist):
3949 * progmodes/ruby-mode.el (interpreter-mode-alist):
3950 Revert previous change.
3951
3952 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * play/snake.el (snake-mode):
3955 * play/mpuz.el (mpuz-mode):
3956 * play/landmark.el (lm-mode):
3957 * play/blackbox.el (blackbox-mode):
3958 * play/5x5.el (5x5-mode):
3959 * obsolete/options.el (Edit-options-mode):
3960 * net/quickurl.el (quickurl-list-mode):
3961 * net/newst-treeview.el (newsticker-treeview-mode):
3962 * mail/rmailsum.el (rmail-summary-mode):
3963 * mail/mspools.el (mspools-mode):
3964 * locate.el (locate-mode):
3965 * ibuffer.el (ibuffer-mode):
3966 * emulation/ws-mode.el (wordstar-mode):
3967 * emacs-lisp/debug.el (debugger-mode):
3968 * array.el (array-mode):
3969 * net/eudc.el (eudc-mode): Use define-derived-mode.
3970 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3971 Move initialization into declaration.
3972 (mairix-searches-mode): Use define-derived-mode.
3973 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3974 (eudc-edit-hotlist): Use dolist.
3975 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3976 (Man-mode): Use define-derived-mode.
3977 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3978 (Info-edit-mode): Use define-derived-mode.
3979 (Info-cease-edit): Use Info-mode.
3980 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3981 into declaration.
3982 (eshell-mode): Use define-derived-mode.
3983 * chistory.el (command-history-mode-map): Rename from
3984 command-history-map.
3985 (command-history-mode): Use define-derived-mode.
3986 (Command-history-setup): Remove function.
3987 * calc/calc.el (calc-trail-mode-map): New var.
3988 (calc-trail-mode): Use define-derived-mode.
3989 (calc-trail-buffer): Set calc-main-buffer manually.
3990 * bookmark.el (bookmark-insert-annotation): New function.
3991 (bookmark-edit-annotation): Use it.
3992 (bookmark-edit-annotation-mode): Make it a proper major mode.
3993 (bookmark-send-edited-annotation): Use derived-mode-p.
3994 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3995 closer to its ideal place. Use \' to match EOS.
3996
3997 * profiler.el (profiler-calltree-find): Use function-equal.
3998
3999 2013-09-10 Glenn Morris <rgm@gnu.org>
4000
4001 * files.el (interpreter-mode-alist): Convert to regexps.
4002 (set-auto-mode): Adapt for this. (Bug#15306)
4003 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4004 Comment out unused variable.
4005 * progmodes/cc-mode.el (interpreter-mode-alist):
4006 * progmodes/python.el (interpreter-mode-alist):
4007 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4008 * progmodes/sh-script.el (sh-set-shell):
4009 No longer use interpreter-mode-alist to get list of shells.
4010
4011 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4012
4013 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * simple.el: Use set-temporary-overlay-map for universal-argument.
4016 (universal-argument-map): Don't use default-bindings (bug#15317).
4017 Bind switch-frame explicitly. Replace universal-argument-minus with
4018 a conditional binding.
4019 (universal-argument-num-events, saved-overriding-map): Remove.
4020 (restore-overriding-map): Remove.
4021 (universal-argument--mode): Rename from save&set-overriding-map,
4022 and rewrite.
4023 (universal-argument, universal-argument-more, negative-argument)
4024 (digit-argument): Adjust accordingly.
4025 (universal-argument-minus): Remove.
4026 (universal-argument-other-key): Remove.
4027
4028 * subr.el (with-demoted-errors): Add `format' argument.
4029
4030 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4031
4032 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4033 `tramp-cleanup-connection'.
4034
4035 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4036 parameters KEEP-DEBUG and KEEP-PASSWORD.
4037
4038 * net/tramp.el (tramp-file-name-handler):
4039 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4040 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4041 (tramp-maybe-open-connection):
4042 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4043 Use `tramp-cleanup-connection'.
4044
4045 * net/tramp-sh.el (tramp-maybe-open-connection):
4046 Catch 'uname-changed inside the progress reporter.
4047
4048 2013-09-10 Glenn Morris <rgm@gnu.org>
4049
4050 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4051
4052 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4053 returns "alternate access method" in mode (eg "-rw-r--r--.").
4054
4055 2013-09-08 Glenn Morris <rgm@gnu.org>
4056
4057 * saveplace.el (load-save-place-alist-from-file):
4058 Demote errors. (Bug#15305)
4059
4060 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4061
4062 Improve compatibility with older Emacsen, and XEmacs.
4063
4064 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4065 only if it is bound. It isn't for XEmacs.
4066 (with-tramp-progress-reporter): Do not let-bind `result'.
4067 This yields to scoping errors in XEmacs.
4068 (tramp-handle-make-auto-save-file-name): New function, moved from
4069 tramp-sh.el.
4070
4071 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4072 for `make-auto-save-file-name'.
4073 (tramp-adb--gnu-switches-to-ash):
4074 Use `tramp-compat-replace-regexp-in-string'.
4075
4076 * net/tramp-cache.el (tramp-cache-print): Call
4077 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4078
4079 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4080 bound. It isn't for XEmacs.
4081
4082 * net/tramp-compat.el (tramp-compat-copy-file):
4083 Catch `wrong-number-of-arguments' error.
4084 (tramp-compat-replace-regexp-in-string): New defun.
4085
4086 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4087 for `make-auto-save-file-name'.
4088 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4089 `copy-file'.
4090 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4091 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4092 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4093
4094 * net/tramp-gw.el (tramp-gw-open-network-stream):
4095 Use `tramp-compat-replace-regexp-in-string'.
4096
4097 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4098 Call `tramp-handle-make-auto-save-file-name'.
4099 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4100 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4101 (tramp-sh-file-inotifywait-process-filter):
4102 Use `tramp-compat-replace-regexp-in-string'.
4103 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4104
4105 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4106 for `make-auto-save-file-name'.
4107 (tramp-smb-handle-copy-directory):
4108 Call `tramp-compat-replace-regexp-in-string'.
4109 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4110 (tramp-smb-handle-copy-file): Improve error message.
4111 (tramp-smb-handle-rename-file): Rename directly only in case
4112 `newname' does not exist yet. This is a restriction of smbclient.
4113 (tramp-smb-maybe-open-connection): Rerun the function only when
4114 `auth-sources' is non-nil.
4115
4116 2013-09-08 Kenichi Handa <handa@gnu.org>
4117
4118 * international/characters.el: Set category "^" (Combining) for
4119 more characters.
4120
4121 2013-09-07 Alan Mackenzie <acm@muc.de>
4122
4123 Correctly fontify Java class constructors.
4124 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4125 in Java Mode.
4126 (c-recognize-typeless-decls): Set the Java value to t.
4127 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4128 While handling a "(", add a check for, effectively, Java, and handle a
4129 "typeless" declaration there.
4130
4131 2013-09-07 Roland Winkler <winkler@gnu.org>
4132
4133 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4134 field subtitle for entry type book.
4135
4136 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * minibuffer.el: Make minibuffer-complete call completion-in-region
4139 rather than other way around.
4140 (completion--some, completion-pcm--find-all-completions):
4141 Don't delay signals when debugging.
4142 (minibuffer-completion-contents): Beware fields within the
4143 minibuffer contents.
4144 (completion-all-sorted-completions): Use defvar-local.
4145 (completion--do-completion, completion--cache-all-sorted-completions)
4146 (completion-all-sorted-completions, minibuffer-force-complete):
4147 Add args `beg' and `end'.
4148 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4149 (minibuffer-complete): Use completion-in-region.
4150 (completion-complete-and-exit): New fun, extracted from
4151 minibuffer-complete-and-exit.
4152 (minibuffer-complete-and-exit): Use it.
4153 (completion--complete-and-exit): Rename from
4154 minibuffer--complete-and-exit.
4155 (completion-in-region--single-word): New function, extracted from
4156 minibuffer-complete-word.
4157 (minibuffer-complete-word): Use it.
4158 (display-completion-list): Make `common-substring' argument obsolete.
4159 (completion--in-region): Call completion--in-region-1 instead of
4160 minibuffer-complete.
4161 (completion-help-at-point): Pass boundaries to
4162 minibuffer-completion-help as args rather than via an overlay.
4163 (completion-pcm--string->pattern): Use `any-delim'.
4164 (completion-pcm--optimize-pattern): New function.
4165 (completion-pcm--pattern->regex): Handle `any-delim'.
4166 * icomplete.el (icomplete-forward-completions)
4167 (icomplete-backward-completions, icomplete-completions):
4168 Adjust calls to completion-all-sorted-completions and
4169 completion--cache-all-sorted-completions.
4170 (icomplete-with-completion-tables): Default to t.
4171 * emacs-lisp/crm.el (crm--current-element): Rename from
4172 crm--select-current-element. Don't put an overlay but return the
4173 boundaries instead.
4174 (crm--completion-command): Take two new args to bind to the boundaries.
4175 (crm-completion-help): Adjust accordingly.
4176 (crm-complete): Use completion-in-region.
4177 (crm-complete-word): Use completion-in-region--single-word.
4178 (crm-complete-and-exit): Use completion-complete-and-exit.
4179
4180 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4183 than dynamically.
4184
4185 2013-09-06 Juri Linkov <juri@jurta.org>
4186
4187 * info.el (Info-display-images-node): When image file doesn't exist
4188 display text version of the image if it's provided in the Info file.
4189 Otherwise, display the location of missing image from SRC attribute.
4190 Add help-echo text property from ALT attribute. (Bug#15279)
4191
4192 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4195 (edit-abbrevs-mode): Use define-derived-mode.
4196
4197 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4198 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4199 that it's defined.
4200 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4201 Use define-derived-mode.
4202
4203 * epg.el (epg-start-encrypt): Minor CSE simplification.
4204
4205 2013-09-06 William Xu <william.xwl@gmail.com>
4206
4207 * arc-mode.el: Add support for 7za (bug#15264).
4208 (archive-7z-program): New var.
4209 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4210 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4211 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4212
4213 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4214
4215 Remove URL syntax.
4216
4217 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4218 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4219 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4220 (tramp-postfix-host-format, tramp-file-name-regexp)
4221 (tramp-completion-file-name-regexp)
4222 (tramp-completion-dissect-file-name)
4223 (tramp-handle-substitute-in-file-name): Remove 'url case.
4224 (tramp-file-name-regexp-url)
4225 (tramp-completion-file-name-regexp-url): Remove constants.
4226
4227 2013-09-06 Glenn Morris <rgm@gnu.org>
4228
4229 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4230
4231 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4232
4233 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4234 keywords" below "here-doc beginnings" (Bug#15270).
4235
4236 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * subr.el (pop): Use `car-safe'.
4239 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4240 to detect unused `pop' return value.
4241
4242 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4243 var `block-regexp'.
4244 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4245 (python-fill-string): Remove unused var `marker'.
4246 (python-skeleton-add-menu-items): Remove unused var `items'.
4247
4248 * international/mule-cmds.el: Require CL.
4249 (find-coding-systems-for-charsets): Avoid add-to-list.
4250 (sanitize-coding-system-list): New function, extracted from
4251 select-safe-coding-system-interactively.
4252 (select-safe-coding-system-interactively): Use it.
4253 (read-input-method-name): Accept symbols for `default'.
4254
4255 * emacs-lisp/advice.el (defadvice): Add indent rule.
4256
4257 2013-09-05 Daniel Hackney <dan@haxney.org>
4258
4259 * dired-x.el:
4260 * net/ange-ftp.el:
4261 * net/browse-url.el:
4262 * net/dbus.el:
4263 * net/eudc.el:
4264 * net/eudcb-ldap.el:
4265 * net/eww.el:
4266 * net/imap.el:
4267 * printing.el:
4268 * vc/ediff-diff.el:
4269 * vc/ediff-init.el:
4270 * vc/ediff-merg.el:
4271 * vc/ediff-mult.el:
4272 * vc/ediff-util.el:
4273 * vc/ediff-wind.el:
4274 * vc/ediff.el:
4275 * vc/emerge.el:
4276 * vc/pcvs.el:
4277 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4278 byte compiler. Remove some unused let-bound variables.
4279
4280 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4283 a "ref-cell", since it gets better optimized (bug#14883).
4284
4285 2013-09-05 Glenn Morris <rgm@gnu.org>
4286
4287 * progmodes/cc-awk.el (c-forward-sws): Declare.
4288
4289 2013-09-04 Glenn Morris <rgm@gnu.org>
4290
4291 * generic-x.el [rul-generic-mode]: Require cc-mode.
4292 (c++-mode-syntax-table): Declare.
4293 (rul-generic-mode-syntax-table): Init in the defvar.
4294
4295 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4298 (vc-do-command, vc-set-async-update):
4299 * vc/vc-mtn.el (vc-mtn-dir-status):
4300 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4301 (vc-hg-pull, vc-hg-merge-branch):
4302 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4303 (vc-git-merge-branch):
4304 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4305 (vc-cvs-dir-status-files):
4306 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4307 (vc-bzr-dir-status-files):
4308 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4309 * vc/vc-annotate.el: Use lexical-binding.
4310 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4311 (vc-sentinel-movepoint): Declare.
4312 (vc-annotate): Don't use `goto-line'.
4313 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4314 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4315 (vc-sentinel-movepoint): Declare.
4316 * vc/vc-svn.el: Use lexical-binding.
4317 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4318 * vc/vc-sccs.el:
4319 * vc/vc-rcs.el: Use lexical-binding.
4320
4321 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4322 `deleted'. Don't drop errors silently.
4323
4324 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4325
4326 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4327
4328 * vc/vc.el (vc-ignore): Rewrite.
4329 (vc-default-ignore): New function.
4330 (vc-default-ignore-completion-table): Use find-ignore-file.
4331
4332 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4333 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4334 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4335 Remove. Most code moved to vc.el.
4336
4337 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4340 * net/tramp-smb.el (tramp-smb-get-file-entries):
4341 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4342 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4343
4344 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4345 Update call to it.
4346 (eww-change-select): Remove unused var `properties'.
4347 (eww-make-unique-file-name): Remove unused var `base'.
4348
4349 * finder.el (finder-compile-keywords): Don't mess with windows.
4350
4351 * calculator.el (calculator-funcall): Fix typo in last change.
4352
4353 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4354
4355 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4356 <pkg>-autoloads.el file stop us.
4357
4358 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4359 warnings, and factor out common code.
4360
4361 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4362
4363 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4364 two-character operators and whether the character preceding them
4365 changes their meaning (Bug#15208).
4366
4367 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4368
4369 Format code sent to Python shell for robustness.
4370 * progmodes/python.el (python-shell-buffer-substring):
4371 New function.
4372 (python-shell-send-region, python-shell-send-buffer): Use it.
4373
4374 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4375
4376 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4377 * net/tramp.el (tramp-user-error): ... here.
4378 (tramp-find-method, tramp-check-proper-host)
4379 (tramp-dissect-file-name, tramp-debug-message)
4380 (tramp-handle-shell-command):
4381 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4382 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4383
4384 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4385
4386 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4387
4388 * avoid.el (mouse-avoidance-point-position)
4389 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4390 returns nil.
4391
4392 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4393
4394 * progmodes/python.el (python-shell-completion-get-completions):
4395 Drop use of deleted `comint-last-prompt-overlay'.
4396 (python-nav-if-name-main): New command.
4397
4398 2013-09-01 Glenn Morris <rgm@gnu.org>
4399
4400 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4401 Avoid leading space in $wins. Otherwise the sed command used by
4402 eg compile-main ends up containing "/*.el". (Bug#15170)
4403
4404 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4405
4406 2013-08-30 Glenn Morris <rgm@gnu.org>
4407
4408 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4409 Fix is-this-a-directory logic. (Bug#15220)
4410
4411 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * textmodes/css-mode.el: Use SMIE.
4414 (css-smie-grammar): New var.
4415 (css-smie--forward-token, css-smie--backward-token)
4416 (css-smie-rules): New functions.
4417 (css-mode): Use them.
4418 (css-navigation-syntax-table): Remove var.
4419 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4420 (css-indent-calculate, css-indent-line): Remove functions.
4421
4422 Misc changes to reduce use of `(lambda...); and other cleanups.
4423 * cus-edit.el: Use lexical-binding.
4424 (customize-push-and-save, customize-apropos)
4425 (custom-buffer-create-internal): Use closures.
4426 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4427 * progmodes/ada-xref.el: Use setq.
4428 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4429 * dframe.el: Use lexical-binding.
4430 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4431 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4432 * descr-text.el: Use lexical-binding.
4433 (describe-text-widget, describe-text-sexp, describe-property-list):
4434 Use closures.
4435 * comint.el (comint-history-isearch-push-state): Use a closure.
4436 * calculator.el: Use lexical-binding.
4437 (calculator-number-to-string): Make it work with lexical-binding.
4438 (calculator-funcall): Same and use cl-letf.
4439
4440 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4441 (lisp--company-doc-string, lisp--company-location): New functions.
4442 (lisp-completion-at-point): Use them to improve Company support.
4443
4444 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4445 params of lambda expressions.
4446 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4447 (ruby-smie--opening-pipe-p): New function.
4448 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4449 symbols and matched |...| for formal params.
4450 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4451 from being treated as hanging. Handle "rescue".
4452
4453 2013-08-29 Glenn Morris <rgm@gnu.org>
4454
4455 * progmodes/cc-engine.el (c-pull-open-brace):
4456 Move definition before use.
4457
4458 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4461 are immutable. Don't use `unsafe' any more.
4462 (cl--defsubst-expand): Don't substitute at the same time as keeping
4463 a residual unused let-binding. Don't use `unsafe' any more.
4464
4465 2013-08-29 Glenn Morris <rgm@gnu.org>
4466
4467 * calendar/cal-china.el (calendar-chinese-year-cache):
4468 Recenter on 2015.
4469
4470 * nxml/nxml-util.el (nxml-debug-clear-inside):
4471 Use cl-loop rather than loop.
4472
4473 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4474
4475 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4476
4477 2013-08-28 Glenn Morris <rgm@gnu.org>
4478
4479 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4480
4481 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4482
4483 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4484
4485 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * simple.el (repeat-complex-command--called-interactively-skip):
4488 New function.
4489 (repeat-complex-command): Use it (bug#14136).
4490
4491 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4492 (c-define-abbrev-table): Add `doc' argument.
4493 (c-mode-abbrev-table, c++-mode-abbrev-table)
4494 (objc-mode-abbrev-table, java-mode-abbrev-table)
4495 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4496 (awk-mode-abbrev-table): Use it.
4497 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4498 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4499 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4500 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4501 Move initialization into the declaration; and remove any
4502 autoload cookie.
4503
4504 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4505 and dynamic let binding.
4506
4507 * vc/smerge-mode.el: Remove redundant :group args.
4508
4509 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4510 to load-path.
4511
4512 2013-08-28 Juri Linkov <juri@jurta.org>
4513
4514 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4515 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4516 (isearch-other-meta-char): Handle an undefined shifted printing
4517 character by downshifting it. (Bug#15200)
4518
4519 2013-08-28 Juri Linkov <juri@jurta.org>
4520
4521 * isearch.el (isearch-search): Change regexp error message for
4522 non-regexp searches. (Bug#15166)
4523
4524 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4525
4526 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4527 for portability to hosts where /bin/sh has problems.
4528
4529 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4532
4533 2013-08-27 Juri Linkov <juri@jurta.org>
4534
4535 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4536 in the keyboard macro. (Bug#15126)
4537
4538 2013-08-27 Juri Linkov <juri@jurta.org>
4539
4540 * isearch.el (isearch-quote-char): Comment out converting unibyte
4541 to multibyte, thus syncing with its `quoted-insert' counterpart.
4542 (Bug#15166)
4543
4544 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4545
4546 * window.el (display-buffer-use-some-window): Add missing
4547 argument in call of get-largest-window (Bug#15185).
4548 Reported by Stephen Leake.
4549
4550 2013-08-27 Glenn Morris <rgm@gnu.org>
4551
4552 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4553
4554 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4557 from a matcher-function unless there's no more matches (bug#15161).
4558
4559 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4560
4561 * minibuffer.el: Revert change from 2013-08-20.
4562
4563 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4564 with text property `tramp-default', if appropriate.
4565 (tramp-check-proper-host): New defun.
4566 (tramp-dissect-file-name): Do not check hostname. Revert change
4567 of 2013-03-18.
4568 (tramp-backtrace): Make VEC-OR-PROC optional.
4569
4570 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4571 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4572 * net/tramp-sh.el (tramp-maybe-open-connection):
4573 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4574 Apply `tramp-check-proper-host'.
4575
4576 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4577
4578 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4579 lambda expression in order to have `describe-variable' display it.
4580
4581 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4584 BUF can be optional. (Bug#15186)
4585
4586 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4587
4588 * progmodes/flymake.el (flymake-get-real-file-name-function):
4589 Fix broken customization. (Bug#15184)
4590
4591 2013-08-25 Alan Mackenzie <acm@muc.de>
4592
4593 Improve indentation of bracelists defined by macros (without "=").
4594
4595 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4596 expansion begins with "{", regard it as bracelist when it doesn't
4597 contain a ";".
4598
4599 Parse C++ inher-intro when there's a template split over 2 lines.
4600
4601 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4602 rigorously the search for "class" etc. followed by ":".
4603
4604 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4605 random languages a regexp which never matches rather than nil.
4606
4607 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4608
4609 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4610 (c-awk-regexp-one-line-possibly-open-char-list-re)
4611 (c-awk-one-line-possibly-open-regexp-re)
4612 (c-awk-one-line-non-syn-ws*-re): Remove.
4613 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4614 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4615 (c-awk-space*-unclosed-regexp-/-re): New constants.
4616 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4617 aren't regexp delimiters.
4618
4619 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4620 handling for a rare situation in AWK Mode involving unterminated
4621 strings/regexps.
4622
4623 2013-08-23 Glenn Morris <rgm@gnu.org>
4624
4625 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4626
4627 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4628
4629 * files.el (create-file-buffer): If the result would begin with
4630 spaces, prepend a "|" instead of removing them. (Bug#15162)
4631
4632 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4635 text-properties (bug#15155).
4636
4637 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4638 exist any more.
4639 (calc-keypad-redraw): Remove unused var `pad'.
4640 (calc-keypad-press): Remove unused var `menu'.
4641
4642 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4643
4644 * window.el (display-buffer-pop-up-frame):
4645 Call pop-up-frame-function with BUFFER current so `make-frame' will
4646 use it as the new frame's buffer (Bug#15133).
4647
4648 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * calendar/timeclock.el: Minor cleanups.
4651 (timeclock-ask-before-exiting, timeclock-use-display-time):
4652 Use `symbol'.
4653 (timeclock-modeline-display): Define as alias before the
4654 actual definition.
4655 (timeclock-mode-line-display): Use define-minor-mode.
4656 (timeclock-day-list-template): Make it a function, add an argument.
4657 (timeclock-day-list-required, timeclock-day-list-length)
4658 (timeclock-day-list-debt, timeclock-day-list-span)
4659 (timeclock-day-list-break): Adjust calls accordingly.
4660
4661 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4664 Use read--expression so that completion works again.
4665
4666 2013-08-21 Sam Steingold <sds@gnu.org>
4667
4668 Add rudimentary inferior shell interaction
4669 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4670 (sh-set-shell): Reset it.
4671 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4672 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4673
4674 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * align.el: Use lexical-binding.
4677 (align-region): Simplify accordingly.
4678
4679 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4680
4681 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4682
4683 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4684 `non-essential' up.
4685
4686 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4687
4688 * net/tramp.el:
4689 * net/tramp-adb.el:
4690 * net/tramp-cmds.el:
4691 * net/tramp-ftp.el:
4692 * net/tramp-gvfs.el:
4693 * net/tramp-gw.el:
4694 * net/tramp-sh.el: Don't wrap external variable declarations by
4695 `eval-when-compile'.
4696
4697 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4698
4699 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4700 now that Emacs supports ImageMagick animations.
4701
4702 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4705 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4706
4707 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4708
4709 * window.el (mouse-autoselect-window-select): Do autoselect when
4710 mouse pointer is on margin.
4711
4712 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4713
4714 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4715
4716 2013-08-16 Glenn Morris <rgm@gnu.org>
4717
4718 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4719 Handle "Remote Directory" response of some clients. (Bug#15058)
4720
4721 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4722 Tweak warning. (Bug#14926)
4723
4724 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4725 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4726
4727 * image-mode.el (image-mode-map): Add menu items to reverse,
4728 increase, decrease, reset animation speed.
4729 (image--set-speed, image-increase-speed, image-decrease-speed)
4730 (image-reverse-speed, image-reset-speed): New functions.
4731 (image-mode-map): Add bindings for speed commands.
4732
4733 * image.el (image-animate-get-speed, image-animate-set-speed):
4734 New functions.
4735 (image-animate-timeout): Respect image :speed property.
4736
4737 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4740 previous line (bug#15101).
4741 (debugger-eval-expression, debugger-record-expression):
4742 Use read--expression (bug#15102).
4743
4744 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4745
4746 Remove byte compiler warnings, visible when compiling with
4747 `byte-compile-force-lexical-warnings' set to t.
4748
4749 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4750 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4751 (tramp-handle-unhandled-file-name-directory)
4752 (tramp-handle-file-notify-add-watch, tramp-action-login)
4753 (tramp-action-succeed, tramp-action-permission-denied)
4754 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4755 arguments with "_".
4756
4757 * net/tramp-adb.el (tramp-adb-parse-device-names)
4758 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4759 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4760 (tramp-adb-handle-file-truename): Remove unused arguments.
4761
4762 * net/tramp-cache.el (tramp-flush-directory-property)
4763 (tramp-flush-connection-property, tramp-list-connections)
4764 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4765
4766 * net/tramp-compat.el (tramp-compat-make-temp-file):
4767 Rename FILENAME to F.
4768
4769 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4770 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4771 (tramp-zeroconf-parse-workstation-device-names)
4772 (tramp-zeroconf-parse-webdav-device-names)
4773 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4774
4775 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4776 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4777
4778 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4779 arguments.
4780 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4781 (tramp-sh-handle-insert-file-contents-literally)
4782 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4783 with "_".
4784 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4785 Remove unused variables.
4786
4787 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4788 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4789 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4790
4791 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4792 Make them a defconst.
4793 (tramp-uuencode-region): Remove unused variable.
4794
4795 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4796
4797 * frameset.el (frameset--prop-setter): New function.
4798 (frameset-prop): Add gv-setter declaration.
4799 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4800 parameter was already set in FILTERED. Doc fix.
4801 (frameset--record-minibuffer-relationships): Allow saving a
4802 minibufferless frame without its corresponding minibuffer frame.
4803 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4804 frame, if the frame id matches.
4805 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4806 frames before orphaned ones.
4807 (frameset-restore): Warn about orphaned windows, instead of error out.
4808
4809 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4810
4811 * window.el (window-make-atom): Don't overwrite parameter
4812 already present.
4813 (display-buffer-in-atom-window): Handle special case where we
4814 split an already atomic window.
4815 (window--major-non-side-window, display-buffer-in-side-window)
4816 (window--side-check): Ignore minibuffer window when walking
4817 window tree.
4818 (window-deletable-p): Return 'frame only if no other frame uses
4819 our minibuffer window.
4820 (record-window-buffer): Run buffer-list-update-hook.
4821 (split-window): Make sure window--check-frame won't destroy an
4822 existing atomic window in case the new window gets nested
4823 inside.
4824 (display-buffer-at-bottom): Ignore minibuffer window when
4825 walking window tree. Don't split a side window.
4826 (pop-to-buffer): Don't set-buffer here, the select-window call
4827 should do that.
4828 (mouse-autoselect-window-select): Autoselect only if we are in the
4829 text portion of the window.
4830
4831 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4832
4833 * net/shr.el (shr-parse-image-data): New function to grab both the
4834 data itself and the Content-Type.
4835 (shr-put-image): Use it.
4836
4837 * net/eww.el (eww-display-image): Ditto.
4838
4839 * image.el (image-content-type-suffixes): New variable.
4840
4841 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4842
4843 * progmodes/python.el (python-imenu--build-tree)
4844 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4845
4846 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4847
4848 * simple.el (backward-word): Mention the optional argument.
4849
4850 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * frameset.el (frameset--make): Rename constructor from make-frameset.
4853 (frameset-p, frameset-valid-p): Don't autoload.
4854 (frameset-valid-p): Use normal accessors.
4855
4856 2013-08-13 Glenn Morris <rgm@gnu.org>
4857
4858 * progmodes/compile.el (compile-command): Tweak example in doc.
4859 * obsolete/scribe.el (scribe-mode):
4860 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4861
4862 * mail/feedmail.el (feedmail-confirm-outgoing)
4863 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4864
4865 * cus-start.el (truncate-partial-width-windows): Fix type.
4866
4867 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4868
4869 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4870
4871 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * emacs-lisp/timer.el (timer--time-setter): New function.
4874 (timer--time): Use it as gv-setter.
4875
4876 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4877 setter is not a symbol.
4878
4879 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4880
4881 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4882 if sending fails. This makes debugging easier.
4883
4884 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4885
4886 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4887 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4888 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4889
4890 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4891
4892 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4893
4894 2013-08-12 Glenn Morris <rgm@gnu.org>
4895
4896 * format.el (format-annotate-function):
4897 Handle read-only text properties in the source. (Bug#14887)
4898
4899 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4900
4901 * net/eww.el (eww-display-html): Ignore coding system errors.
4902 One web site uses "utf-8lias" as the coding system.
4903
4904 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4905
4906 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4907
4908 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4911 (tutorial--detailed-help): Remove unused local variables.
4912 (tutorial--save-tutorial-to): Use ignore-errors.
4913 (help-with-tutorial): Use looking-at-p.
4914
4915 * view.el (view-buffer-other-window, view-buffer-other-frame):
4916 Mark unused arguments.
4917
4918 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4919 (woman-select-symbol-fonts, woman, woman-find-file)
4920 (woman-insert-file-contents, woman-non-underline-faces):
4921 Use string-match-p.
4922 (woman1-unquote): Move declaration.
4923
4924 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4925 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4926 argument. Remove unused local variable.
4927 (xml-parse-elem-type): Use string-match-p.
4928 (xml-substitute-numeric-entities): Use ignore-errors.
4929
4930 * calculator.el (calculator): Mark unused argument.
4931 (calculator-paste, calculator-quit, calculator-integer-p):
4932 Use ignore-errors.
4933 (calculator-string-to-number, calculator-decimal, calculator-exp)
4934 (calculator-op-or-exp): Use string-match-p.
4935
4936 * dired.el (dired-buffer-more-recently-used-p): Declare.
4937 (dired-insert-set-properties, dired-insert-old-subdirs):
4938 Use ignore-errors.
4939
4940 * dired-aux.el (dired-compress): Use ignore-errors.
4941 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4942 (dired-do-async-shell-command, dired-do-shell-command)
4943 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4944 (dired-insert-subdir-validate): Use string-match-p.
4945 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4946 (dired-add-entry): Use string-match-p, looking-at-p.
4947 (dired-insert-subdir-newpos): Remove unused local variable.
4948
4949 * filenotify.el (file-notify-callback): Remove unused local variable.
4950
4951 * filesets.el (filesets-error): Mark unused argument.
4952 (filesets-which-command-p, filesets-filter-dir-names)
4953 (filesets-directory-files, filesets-get-external-viewer)
4954 (filesets-ingroup-get-data): Use string-match-p.
4955
4956 * find-file.el (ff-other-file-name, ff-other-file-name)
4957 (ff-find-the-other-file, ff-cc-hh-converter):
4958 Remove unused local variables.
4959 (ff-get-file-name): Use string-match-p.
4960 (ff-all-dirs-under): Use ignore-errors.
4961
4962 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4963 (follow-select-if-visible): Remove unused local variable.
4964
4965 * forms.el (read-file-filter): Move declaration.
4966 (forms--make-format, forms--make-parser, forms-insert-record):
4967 Quote function with #'.
4968 (forms--update): Use string-match-p. Quote function with #'.
4969
4970 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4971 (help-make-xrefs): Use looking-at-p.
4972 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4973
4974 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4975 (ibuffer-confirm-operation-on): Use string-match-p.
4976
4977 * msb.el (msb-item-handler, msb-dired-item-handler):
4978 Mark unused arguments.
4979
4980 * ses.el (ses-decode-cell-symbol)
4981 (ses-kill-override): Remove unused local variable.
4982 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4983 (ses-load): Use ignore-errors, looking-at-p.
4984 (ses-jump-safe): Use ignore-errors.
4985 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4986
4987 * tabify.el (untabify, tabify): Mark unused arguments.
4988
4989 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4990 Mark unused argument.
4991 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4992 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4993
4994 * emacs-lisp/timer.el (timer--time): Define setter with
4995 gv-define-setter to avoid deprecation warning.
4996
4997 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4998 (*record-cmpl-statistics-p*): Remove (was commented out).
4999 (cmpl-statistics-block): Remove (body was commented out).
5000 All callers changed.
5001 (add-completions-from-buffer, load-completions-from-file):
5002 Remove unused variables.
5003
5004 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5005
5006 * filecache.el (file-cache-delete-file-list):
5007 Print message only when told so.
5008 (file-cache-files-matching): Use #' in mapconcat argument.
5009
5010 * ffap.el (ffap-url-at-point): Fix reference to variable
5011 thing-at-point-default-mail-uri-scheme.
5012
5013 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * subr.el (define-error): New function.
5016 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5017 error-file-not-found and define with define-error.
5018 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5019 and define with define-error.
5020 * userlock.el (file-locked, file-supersession):
5021 * simple.el (mark-inactive):
5022 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5023 * progmodes/ada-mode.el (ada-mode-errors):
5024 * play/life.el (life-extinct):
5025 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5026 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5027 * nxml/rng-util.el (rng-error):
5028 * nxml/rng-uri.el (rng-uri-error):
5029 * nxml/rng-match.el (rng-compile-error):
5030 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5031 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5032 * nxml/nxml-rap.el (nxml-scan-error):
5033 * nxml/nxml-outln.el (nxml-outline-error):
5034 * net/soap-client.el (soap-error):
5035 * net/gnutls.el (gnutls-error):
5036 * net/ange-ftp.el (ftp-error):
5037 * mpc.el (mpc-proc-error):
5038 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5039 (json-number-format, json-string-escape, json-string-format)
5040 (json-key-format, json-object-format):
5041 * jka-compr.el (compression-error):
5042 * international/quail.el (quail-error):
5043 * international/kkc.el (kkc-error):
5044 * emacs-lisp/ert.el (ert-test-failed):
5045 * calc/calc.el (calc-error, inexact-result, math-overflow)
5046 (math-underflow):
5047 * bookmark.el (bookmark-error-no-filename):
5048 * epg.el (epg-error): Define with define-error.
5049
5050 * time.el (display-time-event-handler)
5051 (display-time-next-load-average): Don't call sit-for since it seems
5052 unnecessary (bug#15045).
5053
5054 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5055 Use #' instead of ' to quote functions.
5056 (checkdoc-output-mode): Use setq-local.
5057 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5058 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5059 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5060 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5061 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5062 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5063 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5064 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5065
5066 * ido.el (ido-completion-help): Fix up compiler warning.
5067
5068 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5069
5070 * frameset.el (frameset-p): Add autoload cookie.
5071 (frameset--jump-to-register): New function, based on code moved from
5072 register.el.
5073 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5074
5075 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5076 (frameset-restore, frameset-save, frameset-session-filter-alist):
5077 Remove declarations.
5078 (register-alist): Doc fix.
5079 (frameset-to-register): Move to frameset.el.
5080 (jump-to-register, describe-register-1): Remove frameset-specific code.
5081
5082 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5083
5084 * allout-widgets.el (allout-widgets-pre-command-business)
5085 (allout-widgets-post-command-business)
5086 (allout-widgets-after-change-handler)
5087 (allout-decorate-item-and-context, allout-set-boundary-marker)
5088 (allout-body-modification-handler)
5089 (allout-graphics-modification-handler): Mark ignored arguments.
5090 (allout-widgets-post-command-business)
5091 (allout-widgets-exposure-change-processor)
5092 (allout-widgets-exposure-undo-processor)
5093 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5094 (allout-parse-item-at-point, allout-decorate-item-guides)
5095 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5096 * allout.el (epa-passphrase-callback-function): Declare.
5097 (allout-overlay-insert-in-front-handler)
5098 (allout-overlay-interior-modification-handler)
5099 (allout-isearch-end-handler, allout-chart-siblings)
5100 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5101 (allout-yank-processing, allout-process-exposed)
5102 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5103 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5104 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5105 (lisp-indent-defform): Mark ignored arguments.
5106 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5107 (calculate-lisp-indent): Remove unused variables.
5108 * international/characters.el (indian-2-column, arabic-2-column)
5109 (tibetan): Mark ignored arguments.
5110 (use-cjk-char-width-table): Mark ignored arguments.
5111 Remove unused variables.
5112 * international/fontset.el (build-default-fontset-data)
5113 (x-compose-font-name, create-fontset-from-fontset-spec):
5114 Mark ignored arguments.
5115 (fontset-plain-name): Remove unused variables.
5116 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5117 (keyboard-coding-system): Mark ignored arguments.
5118 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5119 * help.el (resize-temp-buffer-window):
5120 * window.el (display-buffer-in-major-side-window)
5121 (display-buffer-in-side-window, display-buffer-in-previous-window):
5122 Remove unused variables.
5123 * isearch.el (isearch-forward-symbol):
5124 * version.el (emacs-bzr-version-bzr):
5125 * international/mule-cmds.el (current-language-environment):
5126 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5127 (x-handle-display):
5128 * term/pc-win.el (x-list-fonts, x-display-planes)
5129 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5130 (x-server-version, x-display-screens, x-display-mm-height)
5131 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5132 (x-selection-owner-p, x-own-selection-internal)
5133 (x-disown-selection-internal, x-get-selection-internal)
5134 (msdos-initialize-window-system):
5135 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5136 * term/x-win.el (x-handle-no-bitmap-icon):
5137 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5138 (vc-default-find-file-hook, vc-default-extra-menu):
5139 Mark ignored arguments.
5140
5141 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5144 break-condition in the context of the debugged code (bug#12685).
5145
5146 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5147
5148 * comint.el:
5149 Do not use an overlay to highlight the last prompt. (Bug#14744)
5150 (comint-mode): Make comint-last-prompt buffer local.
5151 (comint-last-prompt): New variable.
5152 (comint-last-prompt-overlay): Remove. Superseded by
5153 comint-last-prompt.
5154 (comint-snapshot-last-prompt, comint-output-filter):
5155 Use comint-last-prompt.
5156
5157 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5158
5159 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5160 (frameset-save): Check validity of the resulting frameset.
5161
5162 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5163
5164 * ido.el (ido-record-command): Add doc string.
5165
5166 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * frameset.el (frameset): Do not disable creation of the default
5169 frameset-p predicate. Doc fix.
5170 (frameset-valid-p): New function, copied from the old predicate-p.
5171 Add additional checks.
5172 (frameset-restore): Check with frameset-valid-p.
5173 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5174 (frameset-name, frameset-description, frameset-properties)
5175 (frameset-states): Add docstring.
5176 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5177 (frameset-filter-alist): Doc fixes.
5178
5179 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5180
5181 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5182
5183 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5186 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5187 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5188 (byte-compile-normal-call): Remove obsolescence check.
5189
5190 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5191
5192 * frameset.el (frameset-restore): Doc fix.
5193
5194 * register.el (frameset-frame-id, frameset-frame-with-id)
5195 (frameset-p, frameset-restore, frameset-save): Declare.
5196 (register-alist): Document framesets.
5197 (frameset-session-filter-alist): Declare.
5198 (frameset-to-register): New function.
5199 (jump-to-register): Implement jumping to framesets. Doc fix.
5200 (describe-register-1): Describe framesets.
5201
5202 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5203
5204 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5205
5206 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5207 Use lexical-binding.
5208
5209 * frameset.el (frameset): Use type vector, not list (incompatible
5210 change). Do not declare a new constructor, use the default one.
5211 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5212 `name' and `description', respectively, and add read-only slot
5213 `timestamp'. Doc fixes.
5214 (frameset-copy, frameset-persistent-filter-alist)
5215 (frameset-filter-alist, frameset-switch-to-gui-p)
5216 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5217 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5218 (frameset-filter-iconified, frameset-keep-original-display-p):
5219 Doc fixes.
5220 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5221 Rename from frameset-filter-(save|restore)-param. All callers changed.
5222 Doc fix.
5223 (frameset-p): Adapt to change to vector and be more thorough.
5224 Change arg name to OBJECT. Doc fix.
5225 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5226 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5227 All callers changed.
5228 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5229 All callers changed.
5230 (frameset--record-minibuffer-relationships): Rename from
5231 frameset--process-minibuffer-frames. All callers changed.
5232 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5233 Use new default constructor (again). Doc fix.
5234 (frameset--find-frame-if): Rename from `frameset--find-frame.
5235 All callers changed.
5236 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5237 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5238 Doc fix.
5239 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5240 PARAMETERS and WINDOW-STATE, respectively.
5241 (frameset-restore): Add new keyword argument PREDICATE.
5242 Reset frameset--target-display to nil. Doc fix.
5243
5244 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5247 (bat-mode): Use it.
5248 (bat-mode-syntax-table): Mark \n as end-of-comment.
5249 (bat-font-lock-keywords): Remove comment rule.
5250
5251 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5252 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5253
5254 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5255 (byte-compile-callargs-warn): Use `push'.
5256 (byte-compile-arglist-warn): Ignore higher-order "calls".
5257 (byte-compile-file-form-autoload): Use `pcase'.
5258 (byte-compile-function-form): If quoting a symbol, check that it exists.
5259
5260 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5261
5262 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5263 and add a few popular commands found in batch files.
5264 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5265 (dos-mode): Doc fixes.
5266
5267 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5270 (dos-mode): Use setq-local. Add space after "rem".
5271 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5272 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5273
5274 2013-08-07 Arni Magnusson <arnima@hafro.is>
5275
5276 * progmodes/dos.el: New file.
5277 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5278 dos-mode.
5279
5280 2013-08-06 Glenn Morris <rgm@gnu.org>
5281
5282 * calendar/calendar.el: Add new faces, and day-header-array.
5283 (calendar-weekday-header, calendar-weekend-header)
5284 (calendar-month-header): New faces.
5285 (calendar-day-header-construct): New function.
5286 (calendar-day-header-width): Also :set calendar-day-header-array.
5287 (calendar-american-month-header, calendar-european-month-header)
5288 (calendar-iso-month-header): Use calendar- faces.
5289 (calendar-generate-month):
5290 Use calendar-day-header-array for day headers; apply faces to them.
5291 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5292 (calendar-abbrev-construct): Add optional maxlen argument.
5293 (calendar-day-name-array): Doc fix.
5294 (calendar-day-name-array, calendar-abbrev-length)
5295 (calendar-day-abbrev-array):
5296 Also :set calendar-day-header-array, and maybe redraw.
5297 (calendar-day-header-array): New option. (Bug#15007)
5298 (calendar-font-lock-keywords): Set to nil and make obsolete.
5299 (calendar-day-name): Add option to use header array.
5300
5301 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5302
5303 * net/shr.el (shr-render-td): Remove debugging.
5304 (shr-render-td): Make width computation consistent by defaulting
5305 all zero-width columns to 10 characters. This may not be optimal,
5306 but it's at least consistent.
5307 (shr-make-table-1): Redo last change to fix the real problem in
5308 colspan handling.
5309
5310 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5311
5312 * files.el (cache-long-line-scans):
5313 Make obsolete alias to `cache-long-scans'.
5314
5315 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5316
5317 * frameset.el (frameset, frameset-filter-alist)
5318 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5319 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5320 (frameset-compute-pos): Rename from frameset--compute-pos,
5321 and add docstring.
5322 (frameset-move-onscreen): Use frameset-compute-pos.
5323 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5324
5325 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5326 Fix typos in docstrings.
5327
5328 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5329
5330 * frame.el (get-other-frame): Tiny cleanup.
5331
5332 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * vc/vc.el (vc-default-ignore-completion-table):
5335 Silence byte-compiler warning.
5336
5337 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5338 slot , which can indeed be nil.
5339 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5340 Move entry for `left' from persistent to live filter alist.
5341 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5342 Doc fixes.
5343 (frameset-filter-params): When restoring a frame, copy items added to
5344 `filtered', to avoid unwittingly modifying the original parameters.
5345 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5346 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5347
5348 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5349 to use looking-at-p instead of looking-at. (Bug#15028)
5350
5351 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 Revert introduction of isearch-filter-predicates (bug#14714).
5354 Rely on add-function instead.
5355 * isearch.el (isearch-filter-predicates): Rename it back to
5356 isearch-filter-predicate.
5357 (isearch-message-prefix): Use advice-function-mapc and advice
5358 properties to get the isearch-message-prefix.
5359 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5360 instead of run-hook-with-args-until-failure.
5361 (isearch-filter-visible): Not obsolete any more.
5362 * loadup.el: Preload nadvice.
5363 * replace.el (perform-replace): Revert to funcall
5364 instead of run-hook-with-args-until-failure.
5365 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5366 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5367 dired-isearch-filenames-toggle; make it into a proper minor mode.
5368 Use add/remove-function.
5369 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5370 Call the minor-mode rather than add/remove-hook.
5371 (dired-isearch-filter-filenames):
5372 Remove isearch-message-prefix property.
5373 * info.el (Info--search-loop): New function, extracted from Info-search.
5374 Funcall isearch-filter-predicate instead of
5375 run-hook-with-args-until-failure isearch-filter-predicates.
5376 (Info-search): Use it.
5377 (Info-mode): Use isearch-filter-predicate instead of
5378 isearch-filter-predicates.
5379
5380 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5381
5382 Do not call to `selected-window' where it is assumed by default.
5383 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5384 `window-hscroll', `window-width', `window-height', `window-buffer',
5385 `window-frame', `window-start', `window-point', `next-window'
5386 and `window-display-table'.
5387 * abbrev.el (abbrev--default-expand):
5388 * bs.el (bs--show-with-configuration):
5389 * buff-menu.el (Buffer-menu-mouse-select):
5390 * calc/calc.el (calc):
5391 * calendar/calendar.el (calendar-generate-window):
5392 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5393 (diary-make-entry):
5394 * comint.el (send-invisible, comint-dynamic-complete-filename)
5395 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5396 * completion.el (complete):
5397 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5398 * disp-table.el (describe-current-display-table):
5399 * doc-view.el (doc-view-insert-image):
5400 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5401 * ehelp.el (with-electric-help):
5402 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5403 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5404 * emacs-lisp/helper.el (Helper-help-scroller):
5405 * emulation/cua-base.el (cua--post-command-handler-1):
5406 * eshell/esh-mode.el (eshell-output-filter):
5407 * ffap.el (ffap-gnus-wrapper):
5408 * help-macro.el (make-help-screen):
5409 * hilit-chg.el (highlight-compare-buffers):
5410 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5411 * hl-line.el (global-hl-line-highlight):
5412 * icomplete.el (icomplete-simple-completing-p):
5413 * isearch.el (isearch-done):
5414 * jit-lock.el (jit-lock-stealth-fontify):
5415 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5416 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5417 * mpc.el (mpc-tagbrowser, mpc):
5418 * net/rcirc.el (rcirc-any-buffer):
5419 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5420 * play/landmark.el (landmark-max-width, landmark-max-height):
5421 * play/zone.el (zone):
5422 * progmodes/compile.el (compilation-goto-locus):
5423 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5424 * progmodes/etags.el (find-tag-other-window):
5425 * progmodes/fortran.el (fortran-column-ruler):
5426 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5427 * progmodes/verilog-mode.el (verilog-point-text):
5428 * reposition.el (reposition-window):
5429 * rot13.el (toggle-rot13-mode):
5430 * server.el (server-switch-buffer):
5431 * shell.el (shell-dynamic-complete-command)
5432 (shell-dynamic-complete-environment-variable):
5433 * simple.el (insert-buffer, set-selective-display)
5434 (delete-completion-window):
5435 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5436 (speedbar-recenter):
5437 * startup.el (fancy-splash-head):
5438 * textmodes/ispell.el (ispell-command-loop):
5439 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5440 * tutorial.el (help-with-tutorial):
5441 * vc/add-log.el (add-change-log-entry):
5442 * vc/compare-w.el (compare-windows):
5443 * vc/ediff-help.el (ediff-indent-help-message):
5444 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5445 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5446 (ediff-setup-control-frame):
5447 * vc/emerge.el (emerge-position-region):
5448 * vc/pcvs-util.el (cvs-bury-buffer):
5449 * window.el (walk-windows, mouse-autoselect-window-select):
5450 * winner.el (winner-set-conf, winner-undo): Related users changed.
5451
5452 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5453
5454 * frameset.el (frameset--set-id): Doc fix.
5455 (frameset-frame-id, frameset-frame-id-equal-p)
5456 (frameset-locate-frame-id): New functions.
5457 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5458 (frameset-restore): Use them.
5459
5460 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5461
5462 Do not call to `selected-frame' where it is assumed by default.
5463 Affected functions are `raise-frame', `redraw-frame',
5464 `frame-first-window', `frame-terminal' and `delete-frame'.
5465 * calendar/appt.el (appt-disp-window):
5466 * epg.el (epg-wait-for-completion):
5467 * follow.el (follow-delete-other-windows-and-split)
5468 (follow-avoid-tail-recenter):
5469 * international/mule.el (set-terminal-coding-system):
5470 * mail/rmail.el (rmail-mail-return):
5471 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5472 * progmodes/f90.el (f90-add-imenu-menu):
5473 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5474 * server.el (server-switch-buffer):
5475 * simple.el (delete-completion-window):
5476 * talk.el (talk):
5477 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5478 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5479 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5480 * vc/ediff.el (ediff-documentation): Related users changed.
5481 * frame.el (selected-terminal): Remove the leftover.
5482
5483 2013-08-05 Glenn Morris <rgm@gnu.org>
5484
5485 * calendar/calendar.el (calendar-generate-month):
5486 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5487 (calendar-generate-month, calendar-font-lock-keywords):
5488 Fix for calendar-day-header-width > length of any day name.
5489
5490 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5491
5492 * desktop.el (desktop-clear): Use new name of sort predicate.
5493
5494 * frameset.el (frameset): Add docstring. Move :version property to its
5495 own `version' slot.
5496 (frameset-copy): Rename from copy-frameset.
5497 (frameset-p): Check more thoroughly.
5498 (frameset-prop): Do not check for :version, which is no longer a prop.
5499 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5500 Use new :never value instead of t.
5501 (frameset-filter-alist): Expand and clarify docstring.
5502 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5503 (frameset-filter-minibuffer, frameset-filter-save-param)
5504 (frameset-filter-restore-param, frameset-filter-iconified):
5505 Add pointer to docstring of frameset-filter-alist.
5506 (frameset-filter-params): Rename filter values to be more meaningful:
5507 :never instead of t, and reverse the meanings of :save and :restore.
5508 (frameset--process-minibuffer-frames): Clarify error message.
5509 (frameset-save): Avoid unnecessary and confusing call to framep.
5510 Use new BOA constructor for framesets.
5511 (frameset--reuse-list): Doc fix.
5512 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5513 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5514 (frameset-minibufferless-first-p): Doc fix.
5515 Rename from frameset-sort-frames-for-deletion.
5516 (frameset-restore): Doc fixes. Use new function names.
5517 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5518
5519 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * desktop.el (desktop-restore-forces-onscreen)
5522 (desktop-restore-reuses-frames): Document :keyword constant values.
5523 (desktop-filter-parameters-alist): Remove, now identical to
5524 frameset-filter-alist.
5525 (desktop--filter-tty*): Remove, moved to frameset.el.
5526 (desktop-save-frameset, desktop-restore-frameset):
5527 Do not pass :filters argument.
5528
5529 * frameset.el (frameset-live-filter-alist)
5530 (frameset-persistent-filter-alist): New variables.
5531 (frameset-filter-alist): Use them. Add autoload cookie.
5532 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5533 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5534 `frameset--id' (it's supposed to be internal to frameset.el).
5535 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5536 (frameset--initial-params): New function.
5537 (frameset--get-frame): Use it. Doc fix.
5538 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5539 Accept :all, not 'all.
5540 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5541 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5542 with fbound symbols. Fix frame id matching, and remove matching ids if
5543 the frame being restored is deleted. Obey :delete.
5544
5545 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * subr.el (macrop): New function.
5548 (text-clone--maintaining): New var.
5549 (text-clone--maintain): Rename from text-clone-maintain. Use it
5550 instead of inhibit-modification-hooks.
5551
5552 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5553 a proxy, so as handle autoloads and redefinitions of the target.
5554 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5555
5556 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5557 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5558 (pcase--mutually-exclusive-p): New function.
5559 (pcase--split-consp): Use it.
5560 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5561 mutually exclusive with the current predicate.
5562
5563 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5564 (edebug-macrop): Remove. Use `macrop' instead.
5565 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5566 (ad-macro-p):
5567 * eshell/esh-cmd.el (eshell-macrop):
5568 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5569
5570 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5573 (advice-mapc): New function, using it.
5574 (advice-function-member-p): New function.
5575 (advice--normalize): Store the cdr in advice--saved-rewrite since
5576 that's the part that will be changed.
5577 (advice--symbol-function): New function.
5578 (advice-remove): Handle removal before the function is defined.
5579 Adjust to new advice--saved-rewrite.
5580 (advice-member-p): Use advice-function-member-p and
5581 advice--symbol-function.
5582
5583 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5584
5585 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5586 (frameset-filter-minibuffer): Doc fix.
5587 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5588 (frameset--set-id, frameset--process-minibuffer-frames)
5589 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5590 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5591
5592 * desktop.el (desktop-clear): Only delete frames when called
5593 interactively and desktop-restore-frames is non-nil. Doc fix.
5594 (desktop-read): Set desktop-saved-frameset to nil.
5595
5596 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5597
5598 * vc/vc.el (vc-ignore): Rewrite.
5599 (vc-default-ignore-completion-table):
5600 (vc--read-lines):
5601 (vc--add-line, vc--remove-regexp): New functions.
5602
5603 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5604 (vc-svn-ignore-completion-table): New function.
5605
5606 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5607 (vc-hg-ignore-completion-table):
5608 (vc-hg-find-ignore-file): New functions.
5609
5610 * vc/vc-git.el (vc-git-ignore): Rewrite.
5611 (vc-git-ignore-completion-table):
5612 (vc-git-find-ignore-file): New functions.
5613
5614 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5615
5616 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5617 (vc-bzr-ignore-completion-table):
5618 (vc-bzr-find-ignore-file): New functions.
5619
5620 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5621
5622 * frameset.el (frameset-prop): New function and setter.
5623 (frameset-save): Do not modify frame list passed by the caller.
5624
5625 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5628
5629 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5632 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5633
5634 * custom.el (custom-initialize-default, custom-initialize-set)
5635 (custom-initialize-reset, custom-initialize-changed): Affect the
5636 toplevel-default-value (bug#6275, bug#14586).
5637 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5638 for bug#6275.
5639
5640 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5641
5642 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5643 Add cl-def* expressions.
5644
5645 * frameset.el (frameset-filter-params): Fix order of arguments.
5646
5647 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5648
5649 Move code related to saving frames to frameset.el.
5650 * desktop.el: Require frameset.
5651 (desktop-restore-frames): Doc fix.
5652 (desktop-restore-reuses-frames): Rename from
5653 desktop-restoring-reuses-frames.
5654 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5655 (desktop-clear): Clear frames too.
5656 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5657 (desktop--filter-tty*, desktop-save, desktop-read):
5658 Use frameset functions.
5659 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5660 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5661 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5662 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5663 (desktop--process-minibuffer-frames, desktop-save-frames)
5664 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5665 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5666 (desktop--sort-states, desktop-restoring-frames-p)
5667 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5668 (desktop-restoring-frameset-p, desktop-restore-frameset)
5669 (desktop--check-dont-save, desktop-save-frameset): New functions.
5670 (desktop--app-id): New constant.
5671 (desktop-first-buffer, desktop-buffer-ok-count)
5672 (desktop-buffer-fail-count): Move before first use.
5673 * frameset.el: New file.
5674
5675 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * files.el: Use lexical-binding.
5678 (dir-locals-read-from-file): Remove unused `err' variable.
5679 (hack-dir-local-variables--warned-coding): New var.
5680 (hack-dir-local-variables): Use it to avoid repeated warnings.
5681 (make-backup-file-name--default-function): New function.
5682 (make-backup-file-name-function): Use it as default.
5683 (buffer-stale--default-function): New function.
5684 (buffer-stale-function): Use it as default.
5685 (revert-buffer-insert-file-contents--default-function): New function.
5686 (revert-buffer-insert-file-contents-function): Use it as default.
5687 (insert-directory): Avoid add-to-list.
5688
5689 * autorevert.el (auto-revert-handler): Simplify.
5690 Use buffer-stale--default-function.
5691
5692 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5693
5694 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5695
5696 * whitespace.el (whitespace-ensure-local-variables): New function.
5697 (whitespace-cleanup-region): Call it.
5698 (whitespace-turn-on): Call it.
5699
5700 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5701
5702 Complete file name handlers.
5703
5704 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5705 (tramp-handle-verify-visited-file-modtime)
5706 (tramp-handle-file-notify-rm-watch): New functions.
5707 (tramp-call-process): Do not bind `default-directory'.
5708
5709 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5710 Order alphabetically.
5711 [access-file, add-name-to-file, dired-call-process]:
5712 [dired-compress-file, file-acl, file-notify-rm-watch]:
5713 [file-ownership-preserved-p, file-selinux-context]:
5714 [make-directory-internal, make-symbolic-link, set-file-acl]:
5715 [set-file-selinux-context, set-visited-file-modtime]:
5716 [verify-visited-file-modtime]: Add handler.
5717 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5718
5719 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5720 [file-notify-add-watch, file-notify-rm-watch]:
5721 [set-file-times, set-visited-file-modtime]:
5722 [verify-visited-file-modtime]: Add handler.
5723 (with-tramp-gvfs-error-message)
5724 (tramp-gvfs-handle-set-visited-file-modtime)
5725 (tramp-gvfs-fuse-file-name): Remove.
5726 (tramp-gvfs-handle-file-notify-add-watch)
5727 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5728 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5729
5730 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5731 Order alphabetically.
5732 [file-notify-rm-watch ]: Use default Tramp handler.
5733 [executable-find]: Remove private handler.
5734 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5735 `default-directory'.
5736 (tramp-sh-handle-executable-find)
5737 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5738 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5739 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5740 Do not use `format' in `tramp-message'.
5741
5742 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5743 [file-notify-rm-watch, set-visited-file-modtime]:
5744 [verify-visited-file-modtime]: Add handler.
5745 (tramp-smb-call-winexe): Do not bind `default-directory'.
5746
5747 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5748
5749 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5750
5751 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5752
5753 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5754 use it.
5755 (log-view-diff-changeset): Same.
5756 (log-view-diff-common): Call backend command `previous-revision'
5757 to find out the previous revision, in both cases. Swap the
5758 variables `to' and `fr', so that `fr' usually refers to the
5759 earlier revision (Bug#14989).
5760
5761 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5762
5763 * ibuf-ext.el (ibuffer-filter-by-filename):
5764 Make it work with dired buffers too.
5765
5766 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5767
5768 * emacs-lisp/re-builder.el (reb-color-display-p):
5769 * files.el (save-buffers-kill-terminal):
5770 * net/browse-url.el (browse-url):
5771 * server.el (server-save-buffers-kill-terminal):
5772 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5773 Prefer nil to selected-frame for the first arg of frame-parameter.
5774
5775 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5776
5777 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5778
5779 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5780
5781 * minibuffer.el (completion--twq-all): Try and preserve each
5782 completion's case choice (bug#14907).
5783
5784 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5785
5786 * net/network-stream.el (open-network-stream): Mention the new
5787 :nogreeting parameter.
5788 (network-stream-open-starttls): Use the :nogreeting parameter
5789 (bug#14938).
5790
5791 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5792
5793 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5794 more natural than popping.
5795
5796 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5797 (shr-urlify): Highlight under mouse.
5798
5799 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5800
5801 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5802
5803 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5804
5805 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5806 buffer for output.
5807
5808 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5809 point-min==1. Fix search string. Fix parentheses missing.
5810
5811 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5812 assume point-min==1. Fix search string. Fix parentheses missing.
5813
5814 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5815
5816 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5817 buffer for output.
5818
5819 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5820
5821 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5822 initial frame is minibuffer-less. (Bug#14841)
5823
5824 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5825
5826 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5827 option.
5828
5829 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5830 (tramp-maybe-open-connection): Use it.
5831
5832 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5833
5834 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5835 minimal set of parameters passed when creating a frame, because
5836 the minibuffer status of a frame cannot be changed later.
5837
5838 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5839
5840 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5841 replace-regexp-in-string and inadvertent omissions in previous change.
5842 (todo-filter-items): Ensure only file names are comma-separated in
5843 name of filtered items buffer.
5844
5845 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5846
5847 * desktop.el: Optionally force offscreen frames back onscreen.
5848 (desktop-restoring-reuses-frames): New option.
5849 (desktop--compute-pos, desktop--move-onscreen): New functions.
5850 (desktop--make-frame): Use desktop--move-onscreen.
5851
5852 2013-07-27 Alan Mackenzie <acm@muc.de>
5853
5854 Fontify a Java generic method as a function.
5855 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5856 value to t.
5857
5858 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5859
5860 * calendar/todo-mode.el: Add command to rename todo files.
5861 (todo-rename-file): New command.
5862 (todo-key-bindings-t): Add key binding for it. Change the
5863 bindings of todo-filter-regexp-items(-multifile) to use `x'
5864 instead of `r', since the latter is better suited to the new
5865 renaming command.
5866
5867 2013-07-27 Alan Mackenzie <acm@muc.de>
5868
5869 Make Java try-with-resources statement parse properly.
5870 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5871 (c-block-stmt-1-2-key): New language constants/variables.
5872 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5873 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5874 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5875 with c-block-stmt-1-2-key.
5876
5877 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * desktop.el (desktop--make-frame): Apply most frame parameters after
5880 creating the frame to force (partially or totally) offscreen frames to
5881 be restored as such.
5882
5883 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5884
5885 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5886 (Bug#14948)
5887
5888 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5891 `base' arg of backtrace-frame.
5892
5893 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5894
5895 * simple.el (list-processes): Doc fix.
5896
5897 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5898
5899 * desktop.el (desktop--select-frame):
5900 Try harder to reuse existing frames.
5901
5902 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5905 (edebug-eval): Use backtrace-eval.
5906 (edebug--display, edebug--recursive-edit): Don't let-bind the
5907 edebug-outer-* vars that keep track of variables we locally let-bind.
5908 (edebug-outside-excursion): Don't restore outside values of locally
5909 let-bound vars.
5910 (edebug--display): Use user-error.
5911 (cl-lexical-debug, cl-debug-env): Remove.
5912
5913 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5914
5915 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5916 are restored to be sure that they are visible before deleting any
5917 remaining ones.
5918
5919 2013-07-26 Matthias Meulien <orontee@gmail.com>
5920
5921 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5922 vc-print-root-log. (Bug#14948)
5923
5924 2013-07-26 Richard Stallman <rms@gnu.org>
5925
5926 Add aliases for encrypting mail.
5927 * epa.el (epa-mail-aliases): New option.
5928 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5929 Bind inhibit-read-only so read-only text doesn't ruin everything.
5930 (epa-mail-default-recipients): New subroutine broken out.
5931 Handle epa-mail-aliases.
5932
5933 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 Add support for lexical variables to the debugger's `e' command.
5936 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5937 vars, except for debugger-outer-match-data.
5938 (debugger-frame-number): Move check for "on a function call" from
5939 callers into it. Add `skip-base' argument.
5940 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5941 (debugger-env-macro): Only reset the state stored in non-variables,
5942 i.e. current-buffer and match-data.
5943 (debugger-eval-expression): Rewrite using backtrace-eval.
5944 * subr.el (internal--called-interactively-p--get-frame): Remove.
5945 (called-interactively-p):
5946 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5947 `base' arg of backtrace-frame instead.
5948
5949 2013-07-26 Glenn Morris <rgm@gnu.org>
5950
5951 * align.el (align-regexp): Doc fix. (Bug#14857)
5952 (align-region): Explicit error if subexpression missing/does not match.
5953
5954 * simple.el (global-visual-line-mode):
5955 Do not duplicate the mode lighter. (Bug#14858)
5956
5957 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5958
5959 * window.el (display-buffer): In display-buffer bind
5960 split-window-keep-point to t, bug#14829.
5961
5962 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5963
5964 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5965 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5966 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5967 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5968 Change accordingly.
5969 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5970 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5971
5972 2013-07-25 Glenn Morris <rgm@gnu.org>
5973
5974 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5975
5976 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5977
5978 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5979 parameter to modify-frame-parameters if the value has not changed;
5980 this is a workaround for bug#14949.
5981 (desktop--make-frame): On cl-delete-if call, check parameter name,
5982 not full parameter.
5983
5984 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5985
5986 * vc/vc.el (vc-ignore): New function.
5987
5988 * vc/vc-svn.el (vc-svn-ignore): New function.
5989
5990 * vc/vc-hg.el (vc-hg-ignore): New function.
5991
5992 * vc/vc-git.el (vc-git-ignore): New function.
5993
5994 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5995 (vc-dir-ignore): New function.
5996
5997 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5998 (cvs-append-to-ignore): Move here from pcvs.el.
5999
6000 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6001
6002 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6003
6004 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6005
6006 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6007 (desktop-restore-frames): Warn when deleting an existing frame failed.
6008
6009 2013-07-24 Glenn Morris <rgm@gnu.org>
6010
6011 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6012
6013 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6014
6015 * filenotify.el (file-notify-supported-p):
6016 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6017 Remove functions.
6018
6019 * autorevert.el (auto-revert-use-notify):
6020 (auto-revert-notify-add-watch):
6021 * net/tramp.el (tramp-file-name-for-operation):
6022 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6023 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6024 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6026 Remove `file-notify-supported-p' entry.
6027
6028 2013-07-24 Glenn Morris <rgm@gnu.org>
6029
6030 * printing.el: Replace all uses of deleted ps-windows-system,
6031 ps-lp-system, ps-flatten-list with lpr- versions.
6032
6033 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6036 checked with memq (bug#14935).
6037
6038 * files.el (revert-buffer-function): Use a non-nil default.
6039 (revert-buffer-preserve-modes): Declare var to
6040 provide access to the `preserve-modes' argument.
6041 (revert-buffer): Let-bind it.
6042 (revert-buffer--default): New function, extracted from revert-buffer.
6043
6044 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * lpr.el: Signal print errors more prominently.
6047 (print-region-function): Don't default to nil.
6048 (lpr-print-region): New function, extracted from print-region-1.
6049 Check lpr's return value and signal an error in case of problem.
6050 (print-region-1): Use it.
6051 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6052 versions instead.
6053 (ps-printer-name): Default to nil.
6054 (ps-printer-name-option): Default to lpr-printer-switch.
6055 (ps-print-region-function): Don't default to nil.
6056 (ps-postscript-code-directory): Simplify default.
6057 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6058 (ps-string-list, ps-eval-switch, ps-flatten-list)
6059 (ps-flatten-list-1): Remove.
6060 (ps-multibyte-buffer): Avoid setq.
6061 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6062 (print-region-function, ps-print-region-function): Don't set them here.
6063
6064 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6065
6066 * ido.el (ido-fractionp):
6067 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6068 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6069 (ido-max-directory-size, ido-max-dir-file-cache)
6070 (ido-decorations): Doc fix.
6071
6072 * ansi-color.el: Fix old URL.
6073
6074 2013-07-23 Michael R. Mauger <michael@mauger.com>
6075
6076 * progmodes/sql.el: Version 3.3
6077 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6078 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6079 (sql-interactive-remove-continuation-prompt): Rewrite, use
6080 functions above. Fix continuation prompt and complete output line
6081 handling.
6082 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6083 redirected output buffer.
6084 (sql-mode): Restore deleted code (Bug#13591).
6085
6086 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6087
6088 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6089
6090 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6093
6094 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6095 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6096 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6097
6098 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * desktop.el (desktop-clear): Simplify; remove useless checks
6101 against invalid buffer names.
6102 (desktop-list*): Use cl-list*.
6103 (desktop-buffer-info, desktop-create-buffer): Simplify.
6104
6105 2013-07-23 Leo Liu <sdl.web@gmail.com>
6106
6107 * bookmark.el (bookmark-make-record): Restore NAME as a default
6108 value. (Bug#14933)
6109
6110 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6113 extracted from autoload--insert-text.
6114 (autoload--insert-text): Remove.
6115 (autoload--print-cookie-text): New function, extracted from
6116 autoload--insert-cookie-text.
6117 (autoload--insert-cookie-text): Remove.
6118 (autoload-generate-file-autoloads): Adjust calls accordingly.
6119
6120 * winner.el (winner-hook-installed-p): Remove.
6121 (winner-mode): Simplify accordingly.
6122
6123 * subr.el (add-to-list): Fix compiler-macro when `append' is
6124 not constant. Don't use `cl-member' for the base case.
6125
6126 * progmodes/subword.el: Fix boundary case (bug#13758).
6127 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6128 own group.
6129 (subword-backward-regexp): Make it a constant.
6130 (subword-forward-internal): Don't treat a trailing capital as the
6131 beginning of a word.
6132
6133 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6134
6135 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6136 global value of tabulated-list-revert-hook (bug#14930).
6137
6138 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * desktop.el: Require 'cl-lib.
6141 (desktop-before-saving-frames-functions): New hook.
6142 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6143 for frames being saved. Rename from desktop--save-minibuffer-frames.
6144 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6145 Do not save frames with non-nil `desktop-dont-save' parameter.
6146 Filter out deleted frames.
6147 (desktop--find-frame): Use cl-find-if.
6148 (desktop--select-frame): Use cl-(first|second|third) to access values
6149 of desktop-mini.
6150 (desktop--make-frame): Use cl-delete-if.
6151 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6152 (desktop-restore-frames): Use cl-(first|second|third) to access values
6153 of desktop-mini. Look for visible frame at the end, not while
6154 restoring frames.
6155
6156 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6157 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6158 Use string-match-p, looking-at-p (bug#14927).
6159
6160 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6161
6162 * desktop.el (desktop-saved-frame-states):
6163 Rename from desktop--saved-states; all users changed.
6164 (desktop-save-frames): Rename from desktop--save-frames.
6165 Do not save state to desktop file.
6166 (desktop-save): Save desktop-saved-frame-states to desktop file
6167 and reset to nil.
6168 (desktop-restoring-frames-p): New function.
6169 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6170 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6171 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6172
6173 * desktop.el: Correctly restore iconified frames.
6174 (desktop--filter-iconified-position): New function.
6175 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6176
6177 2013-07-20 Glenn Morris <rgm@gnu.org>
6178
6179 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6180 Let `message' do the formatting.
6181 (def-gdb-preempt-display-buffer): Add explicit format.
6182
6183 * image-dired.el (image-dired-track-original-file):
6184 Use with-current-buffer.
6185 (image-dired-track-thumbnail): Use with-current-buffer.
6186 Avoid changing point of wrong window.
6187
6188 * image-dired.el (image-dired-track-original-file):
6189 Avoid changing point of wrong window. (Bug#14909)
6190
6191 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6192
6193 * progmodes/gdb-mi.el (gdb-done-or-error):
6194 Guard against "%" in gdb output. (Bug#14127)
6195
6196 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6197
6198 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6199 (Bug#14826)
6200
6201 * international/mule.el (coding-system-iso-2022-flags): Fix last
6202 change.
6203
6204 2013-07-20 Kenichi Handa <handa@gnu.org>
6205
6206 * international/mule.el (coding-system-iso-2022-flags):
6207 Add `8-bit-level-4'. (Bug#8522)
6208
6209 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6210
6211 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6212 (bug#14815).
6213
6214 * net/eww.el (eww-process-text-input): Allow inputting when the
6215 point is at the start of the line, as the properties aren't
6216 front-sticky.
6217
6218 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6219 degenerate widths.
6220
6221 2013-07-19 Richard Stallman <rms@gnu.org>
6222
6223 * epa.el (epa-popup-info-window): Doc fix.
6224
6225 * subr.el (split-string): New arg TRIM.
6226
6227 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6228
6229 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6230 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6231
6232 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6233
6234 * filenotify.el (file-notify--library): Rename from
6235 `file-notify-support'. Do not autoload. Adapt all uses.
6236 (file-notify-supported-p): New defun.
6237
6238 * autorevert.el (auto-revert-use-notify):
6239 Use `file-notify-supported-p' instead of `file-notify-support'.
6240 Adapt docstring.
6241 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6242
6243 * net/tramp.el (tramp-file-name-for-operation):
6244 Add `file-notify-supported-p'.
6245
6246 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6247 New defun.
6248 (tramp-sh-file-name-handler-alist): Add it as handler for
6249 `file-notify-supported-p '.
6250
6251 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6252 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6253 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6254 Add `ignore' as handler for `file-notify-*' functions.
6255
6256 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6257
6258 * simple.el (line-move-partial, line-move): Don't start vscroll or
6259 scroll-up if the current line is not taller than the window.
6260 (Bug#14881)
6261
6262 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6263
6264 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6265 highlight question marks in the method names as strings.
6266 (ruby-block-beg-keywords): Inline.
6267 (ruby-font-lock-keyword-beg-re): Extract from
6268 `ruby-font-lock-keywords'.
6269
6270 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6271
6272 * frame.el (blink-cursor-blinks): New defcustom.
6273 (blink-cursor-blinks-done): New defvar.
6274 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6275 (blink-cursor-timer-function): Check if number of blinks has been
6276 done on X and NS.
6277 (blink-cursor-suspend, blink-cursor-check): New defuns.
6278
6279 2013-07-15 Glenn Morris <rgm@gnu.org>
6280
6281 * edmacro.el (edmacro-format-keys): Fix previous change.
6282
6283 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6284
6285 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6286 The hack didn't work outside English locales anyway.
6287
6288 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6289
6290 * simple.el (define-alternatives): Rename from alternatives-define,
6291 per RMS' suggestion.
6292
6293 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6294
6295 * desktop.el (desktop-restore-frames): Change default to t.
6296 (desktop-restore-in-current-display): Now offer more options.
6297 (desktop-restoring-reuses-frames): New customization option.
6298 (desktop--saved-states): Doc fix.
6299 (desktop-filter-parameters-alist): New variable, renamed and expanded
6300 from desktop--excluded-frame-parameters.
6301 (desktop--target-display): New variable.
6302 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6303 (desktop--filter-tty*, desktop--filter-*-color)
6304 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6305 (desktop--filter-save-desktop-parm)
6306 (desktop-restore-in-original-display-p): New functions.
6307 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6308 (desktop--save-minibuffer-frames): New function, inspired by a similar
6309 function from Martin Rudalics.
6310 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6311 (desktop--restore-in-this-display-p): Remove.
6312 (desktop--find-frame): Rename from desktop--find-frame-in-display
6313 and add predicate argument.
6314 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6315 (desktop--reuse-list): New variable.
6316 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6317 New functions.
6318 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6319
6320 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6321
6322 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6323
6324 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6325
6326 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6327 Highlight conversion methods on Kernel.
6328
6329 2013-07-13 Alan Mackenzie <acm@muc.de>
6330
6331 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6332 and comment it out. This out-commenting enables certain C++
6333 declarations to be parsed correctly.
6334
6335 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6336
6337 * international/mule.el (define-coding-system): Doc fix.
6338
6339 * simple.el (default-font-height): Don't call font-info if the
6340 frame's default font didn't change since the frame was created.
6341 (Bug#14838)
6342
6343 2013-07-13 Leo Liu <sdl.web@gmail.com>
6344
6345 * ido.el (ido-read-file-name): Guard against non-symbol value.
6346
6347 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6348
6349 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6350 in nested defuns.
6351
6352 2013-07-13 Leo Liu <sdl.web@gmail.com>
6353
6354 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6355 ido-set-matches call. (Bug#6852)
6356
6357 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6358
6359 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6360 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6361 Ruby 2.0.
6362 (ruby-font-lock-keywords): Distinguish calls to functions with
6363 module-like names from module references. Highlight character
6364 literals.
6365
6366 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6367
6368 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6369 (gdb-send): Handle continued commands. (Bug#14847)
6370
6371 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6372
6373 * desktop.el (desktop--v2s): Remove unused local variable.
6374 (desktop-save-buffer): Make defvar-local; adjust docstring.
6375 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6376 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6377
6378 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6381
6382 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6383
6384 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6385 (Bug#14842)
6386
6387 2013-07-12 Glenn Morris <rgm@gnu.org>
6388
6389 * doc-view.el: Require cl-lib at runtime too.
6390 (doc-view-remove-if): Remove.
6391 (doc-view-search-next-match, doc-view-search-previous-match):
6392 Use cl-remove-if.
6393
6394 * edmacro.el: Require cl-lib at runtime too.
6395 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6396 (edmacro-mismatch, edmacro-subseq): Remove.
6397
6398 * shadowfile.el: Require cl-lib.
6399 (shadow-remove-if): Remove.
6400 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6401 Use cl-remove-if.
6402
6403 * wid-edit.el: Require cl-lib.
6404 (widget-choose): Use cl-remove-if.
6405 (widget-remove-if): Remove.
6406
6407 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6408 (ebrowse-delete-if-not): Remove.
6409 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6410 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6411 Use cl-delete-if-not.
6412
6413 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6414
6415 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6416 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6417
6418 2013-07-12 Leo Liu <sdl.web@gmail.com>
6419
6420 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6421
6422 2013-07-11 Glenn Morris <rgm@gnu.org>
6423
6424 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6425 (edebug-gensym-index, edebug-gensym):
6426 Remove reimplementation of cl-gensym.
6427 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6428
6429 * thumbs.el: Require cl-lib at run-time too.
6430 (thumbs-gensym-counter, thumbs-gensym):
6431 Remove reimplementation of cl-gensym.
6432 (thumbs-temp-file): Use cl-gensym.
6433
6434 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6435 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6436 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6437 (ert--union, ert--gensym-counter, ert--gensym-counter)
6438 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6439 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6440 (ert-make-test-unbound, ert--expand-should-1)
6441 (ert--expand-should, ert--should-error-handle-error)
6442 (should-error, ert--explain-equal-rec)
6443 (ert--plist-difference-explanation, ert-select-tests)
6444 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6445 Use cl-lib functions rather than reimplementations.
6446
6447 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6448
6449 * net/tramp.el (tramp-methods): Extend docstring.
6450 (tramp-connection-timeout): New defcustom.
6451 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6452 (with-tramp-progress-reporter): Simplify.
6453 (tramp-process-actions): Improve messages.
6454
6455 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6456 * net/tramp-sh.el (tramp-maybe-open-connection):
6457 Use `tramp-connection-timeout'.
6458 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6459 (Bug#14808)
6460
6461 2013-07-11 Leo Liu <sdl.web@gmail.com>
6462
6463 * ido.el (ido-read-file-name): Conform to the requirements of
6464 read-file-name. (Bug#11861)
6465 (ido-read-directory-name): Conform to the requirements of
6466 read-directory-name.
6467
6468 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * subr.el (delay-warning): New function.
6471
6472 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6473
6474 * simple.el (default-line-height): New function.
6475 (line-move-partial, line-move): Use it instead of computing the
6476 line height inline.
6477 (line-move-partial): Always compute ROWH. If the last line is
6478 partially-visible, but its text is completely visible, allow
6479 cursor to enter such a partially-visible line.
6480
6481 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6482
6483 Improve error messages. (Bug#14808)
6484
6485 * net/tramp.el (tramp-current-connection): New defvar, moved from
6486 tramp-sh.el.
6487 (tramp-message-show-progress-reporter-message): Remove, not
6488 needed anymore.
6489 (tramp-error-with-buffer): Show message in minibuffer.
6490 Discard input before waiting. Reset connection timestamp.
6491 (with-tramp-progress-reporter): Improve messages.
6492 (tramp-process-actions): Use progress reporter. Delete process in
6493 case of error. Improve messages.
6494
6495 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6496 Call `tramp-error-with-buffer' with vector and buffer.
6497 (tramp-current-connection): Remove.
6498 (tramp-maybe-open-connection): The car of
6499 `tramp-current-connection' are the first 3 slots of the vector.
6500
6501 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6502
6503 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6504 inside continued strings.
6505
6506 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6507
6508 Timestamp fixes for undo (Bug#14824).
6509 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6510
6511 2013-07-10 Leo Liu <sdl.web@gmail.com>
6512
6513 * files.el (require-final-newline): Allow safe local value.
6514 (Bug#14834)
6515
6516 2013-07-09 Leo Liu <sdl.web@gmail.com>
6517
6518 * ido.el (ido-read-directory-name): Handle fallback.
6519 (ido-read-file-name): Update DIR to ido-current-directory.
6520 (Bug#1516)
6521 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6522
6523 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6524
6525 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6526 "autoload". Remove "warn lower camel case" section, previously
6527 commented out. Highlight negation char. Do not highlight the
6528 target in singleton method definitions.
6529
6530 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * faces.el (tty-setup-hook): Declare the hook.
6533
6534 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6535 and detect when a guard/pred depends on local vars (bug#14773).
6536 (pcase--u1): Adjust caller.
6537
6538 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6539
6540 * simple.el (line-move-partial, line-move): Account for
6541 line-spacing.
6542 (line-move-partial): Avoid setting vscroll when the last
6543 partially-visible line in window is of default height.
6544
6545 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6546
6547 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6548 been used a while.
6549
6550 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * subr.el (read-quoted-char): Remove unused local variable `char'.
6553
6554 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6555
6556 * ediff.el (ediff-version): Version update.
6557 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6558 (ediff-merge-with-ancestor-command, ediff-directories-command)
6559 (ediff-directories3-command, ediff-merge-directories-command)
6560 (ediff-merge-directories-with-ancestor-command): New functions.
6561 All are command-line interfaces to ediff: to facilitate calling
6562 Emacs with the appropriate ediff functions invoked.
6563
6564 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6565 (viper-save-kill-buffer): Check if buffer is modified.
6566
6567 * viper.el (viper-version): Version update.
6568 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6569
6570 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6573 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6574 (viper-intercept-ESC-key): Simplify.
6575 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6576 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6577 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6578 (viper-setup-ESC-to-escape): New functions.
6579 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6580 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6581
6582 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6583
6584 * simple.el (default-font-height, window-screen-lines):
6585 New functions.
6586 (line-move, line-move-partial): Use them instead of
6587 frame-char-height and window-text-height. This makes scrolling
6588 text smoother when the buffer's default face uses a font that is
6589 different from the frame's default font.
6590
6591 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6592
6593 * files.el (write-file): Do not display confirm dialog for NS,
6594 it does its own dialog, which can't be cancelled (Bug#14578).
6595
6596 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6597
6598 * simple.el (line-move-partial): Adjust the row returned by
6599 posn-at-point for the current window-vscroll. (Bug#14567)
6600
6601 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6604 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6605 spaces.
6606
6607 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6608
6609 * window.el (window-state-put-stale-windows): New variable.
6610 (window--state-put-2): Save list of windows without matching buffer.
6611 (window-state-put): Remove "bufferless" windows if possible.
6612
6613 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6614
6615 * simple.el (alternatives-define): Remove leftover :group keyword.
6616 Tweak docstring.
6617
6618 2013-07-06 Leo Liu <sdl.web@gmail.com>
6619
6620 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6621 (ido-enable-virtual-buffers): New variable.
6622 (ido-buffer-internal, ido-toggle-virtual-buffers)
6623 (ido-make-buffer-list): Use it.
6624 (ido-exhibit): Support turning on and off virtual buffers
6625 automatically.
6626
6627 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6628
6629 * simple.el (alternatives-define): New macro.
6630
6631 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * subr.el (read-quoted-char): Use read-key.
6634 (sit-for): Let read-event decode tty input (bug#14782).
6635
6636 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6637
6638 * calendar/todo-mode.el: Add handling of file deletion, both by
6639 mode command and externally. Fix various related bugs.
6640 Clarify Commentary and improve some documentation strings and code.
6641 (todo-delete-file): New command.
6642 (todo-check-file): New function.
6643 (todo-show): Handle external deletion of the file we're trying to
6644 show (bug#14688). Replace called-interactively-p by an optional
6645 prefix argument to avoid problematic interaction with catch form
6646 when byte compiled (bug#14702).
6647 (todo-quit): Handle external deletion of the archive's todo file.
6648 Make sure the buffer that was visiting the archive file is still
6649 live before trying to bury it.
6650 (todo-category-completions): Handle external deletion of any
6651 category completion files.
6652 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6653 of todo files, in case of external deletion.
6654 (todo-add-file): Replace unnecessary setq by let-binding.
6655 (todo-find-archive): Check whether there are any archives.
6656 Replace unnecessary setq by let-binding.
6657 (todo-archive-done-item): Use find-file-noselect to get the
6658 archive buffer whether or not the archive already exists.
6659 Remove superfluous code. Use file size instead of buffer-file-name to
6660 check if the archive is new; if it is, update list of archives.
6661 (todo-default-todo-file): Allow nil to be a valid value for when
6662 there are no todo files.
6663 (todo-reevaluate-default-file-defcustom): Use corrected definition
6664 of todo-default-todo-file.
6665 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6666 (todo-delete-category, todo-show-categories-table)
6667 (todo-category-number): Clarify comment.
6668 (todo-filter-items): Clarify documentation string.
6669 (todo-show-current-file, todo-display-as-todo-file)
6670 (todo-reset-and-enable-done-separator): Tweak documentation string.
6671 (todo-done-separator): Make separator length window-width, since
6672 bug#2749 is now fixed.
6673
6674 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6675
6676 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6677 Support both "gvfs-monitor-dir" and "inotifywait".
6678 (tramp-sh-file-inotifywait-process-filter): Rename from
6679 `tramp-sh-file-notify-process-filter'.
6680 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6681 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6682
6683 2013-07-05 Leo Liu <sdl.web@gmail.com>
6684
6685 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6686
6687 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6688
6689 * frame.el (display-pixel-height, display-pixel-width)
6690 (display-mm-height, display-mm-width): Mention behavior on
6691 multi-monitor setups in docstrings.
6692 (w32-display-monitor-attributes-list): Declare function.
6693 (display-monitor-attributes-list): Use it.
6694
6695 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6696
6697 * filenotify.el: New package.
6698
6699 * autorevert.el (top): Require filenotify.el.
6700 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6701 instead.
6702 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6703 (auto-revert-notify-handler): Use `file-notify-*' functions.
6704
6705 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6706
6707 * net/tramp.el (tramp-file-name-for-operation):
6708 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6709
6710 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6711 for `file-notify-add-watch' and `file-notify-rm-watch'.
6712 (tramp-process-sentinel): Improve trace.
6713 (tramp-sh-handle-file-notify-add-watch)
6714 (tramp-sh-file-notify-process-filter)
6715 (tramp-sh-handle-file-notify-rm-watch)
6716 (tramp-get-remote-inotifywait): New defuns.
6717
6718 2013-07-03 Juri Linkov <juri@jurta.org>
6719
6720 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6721 call of `occur-read-primary-args' to interactive spec.
6722
6723 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6724 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6725
6726 2013-07-03 Matthias Meulien <orontee@gmail.com>
6727
6728 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6729 `Buffer-menu-multi-occur'. Add it to the menu.
6730 (Buffer-menu-mode): Document it in docstring.
6731 (Buffer-menu-multi-occur): New command. (Bug#14673)
6732
6733 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6734
6735 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6736 keywords and built-ins.
6737
6738 2013-07-03 Glenn Morris <rgm@gnu.org>
6739
6740 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6741
6742 Make info-xref checks case-sensitive by default
6743 * info.el (Info-find-node, Info-find-in-tag-table)
6744 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6745 Add option for exact case matching of nodes.
6746 * info-xref.el (info-xref): New custom group.
6747 (info-xref-case-fold): New option.
6748 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6749
6750 2013-07-03 Leo Liu <sdl.web@gmail.com>
6751
6752 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6753
6754 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6755
6756 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6757 middle of block statement initially, lower the depth. Remove
6758 FIXME comment, not longer valid. Remove middle of block statement
6759 detection, no need to do that anymore since we've been using
6760 `ruby-parse-region' here.
6761
6762 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6763
6764 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6765
6766 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6767
6768 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6769
6770 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6771
6772 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6773 (desktop-restore-in-current-display): New customization option.
6774 (desktop--excluded-frame-parameters): Add `font'.
6775 (desktop--save-frames): Rename from desktop--save-windows.
6776 (desktop--restore-in-this-display-p): New function.
6777 (desktop--make-full-frame): Remove unwanted width/height from
6778 full(width|height) frames.
6779 (desktop--restore-frames): Rename from desktop--restore-windows.
6780 Obey desktop-restore-current-display. Do not delete old frames or
6781 select a new frame unless we were able to restore at least one frame.
6782
6783 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6784
6785 * files.el (find-file-noselect): Simplify conditional expression.
6786
6787 * remember.el (remember-append-to-file):
6788 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6789
6790 Add `remember-notes' function to store random notes across Emacs
6791 restarts.
6792 * remember.el (remember-data-file): Add :set callback to affect
6793 notes buffer (if any).
6794 (remember-notes): New command.
6795 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6796 New defcustoms for the `remember-notes' function.
6797 (remember-notes-save-and-bury-buffer): New command.
6798 (remember-notes-mode-map): New variable.
6799 (remember-mode): New minor mode.
6800 (remember-notes--kill-buffer-query): New function.
6801 * startup.el (initial-buffer-choice): Add notes to custom type.
6802
6803 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6804
6805 * bindings.el (right-char, left-char): Don't call sit-for, this is
6806 no longer needed. Use arithmetic comparison only for numerical
6807 arguments.
6808
6809 * international/mule-cmds.el (select-safe-coding-system):
6810 Handle the case of FROM being a string correctly. (Bug#14755)
6811
6812 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6813
6814 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6815 progression on degenerate tables.
6816 (shr-rescale-image): ImageMagick animated images currently don't work.
6817
6818 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6819
6820 Some fixes and improvements for desktop frame restoration.
6821 It is still experimental and disabled by default.
6822 * desktop.el (desktop--save-windows): Put the selected frame at
6823 the head of the list.
6824 (desktop--make-full-frame): New function.
6825 (desktop--restore-windows): Try to re-select the frame that was
6826 selected upon saving. Do not abort if some frames fail to restore,
6827 just show an error message and continue. Set up maximized frames
6828 so they have default non-maximized dimensions.
6829
6830 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6831
6832 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6833 Don't start heredoc inside a string or comment.
6834
6835 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6836
6837 * bindings.el (visual-order-cursor-movement): New defcustom.
6838 (right-char, left-char): Provide visual-order cursor motion by
6839 calling move-point-visually. Update the doc strings.
6840
6841 2013-06-28 Kenichi Handa <handa@gnu.org>
6842
6843 * international/mule.el (define-coding-system): New coding system
6844 properties :inhibit-null-byte-detection,
6845 :inhibit-iso-escape-detection, and :prefer-utf-8.
6846 (set-buffer-file-coding-system): If :charset-list property of
6847 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6848 appropriate for setting.
6849
6850 * international/mule-cmds.el (select-safe-coding-system):
6851 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6852 multibyte characters, return utf-8 (or one of its siblings).
6853
6854 * international/mule-conf.el (prefer-utf-8): New coding system.
6855 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6856 files.
6857
6858 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6859
6860 * net/shr.el (shr-render-region): New function.
6861
6862 * net/eww.el: Autoload `eww-browse-url'.
6863
6864 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6865
6866 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6867 Adapt to `package-desc-version' being a list.
6868 Use `package--ac-desc-version' to retrieve version from a package
6869 archive element.
6870
6871 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6872
6873 New experimental feature to save&restore window and frame setup.
6874 * desktop.el (desktop-save-windows): New defcustom.
6875 (desktop--saved-states): New var.
6876 (desktop--excluded-frame-parameters): New defconst.
6877 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6878 (desktop--restore-windows, desktop--save-windows): New functions.
6879 (desktop-save): Call `desktop--save-windows'.
6880 (desktop-read): Call `desktop--restore-windows'.
6881
6882 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883
6884 * net/shr.el (add-face-text-property): Remove compat definition.
6885
6886 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6887
6888 * info.el (Info-try-follow-nearest-node): Move search for footnote
6889 above search for node name to prevent missing a footnote (bug#14717).
6890
6891 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6892
6893 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6894
6895 2013-06-27 Leo Liu <sdl.web@gmail.com>
6896
6897 * net/eww.el (eww-read-bookmarks): Check file size.
6898
6899 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6902 advice--pending if newdef is nil or an autoload (bug#13820).
6903 (advice-mapc): New function.
6904
6905 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6906
6907 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6908 probably.
6909 (eww-mode-map): Add a menu bar.
6910 (eww-add-bookmark): New command.
6911 (eww-bookmark-mode): New mode and commands.
6912 (eww-add-bookmark): Remove newlines from the title.
6913 (eww-bookmark-browse): Don't bug out if it's the only window.
6914
6915 2013-06-26 Glenn Morris <rgm@gnu.org>
6916
6917 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6918 (hfy-size): Handle ttys. (Bug#14668)
6919
6920 * info-xref.el: Update for Texinfo 5 change in *note format.
6921 (info-xref-node-re, info-xref-note-re): New constants.
6922 (info-xref-check-buffer): Use info-xref-note-re.
6923
6924 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6927
6928 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6929 nil terminate the loop (bug#14718).
6930
6931 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6932
6933 * net/eww.el: Rework history traversal. When going forward/back,
6934 put these actions into the history, too, so that they can be
6935 replayed.
6936 (eww-render): Move the history reset to the correct buffer.
6937
6938 2013-06-25 Juri Linkov <juri@jurta.org>
6939
6940 * files-x.el (modify-dir-local-variable): Change the header comment
6941 in the file with directory local variables. (Bug#14692)
6942
6943 * files-x.el (read-file-local-variable-value): Add `default'.
6944 (Bug#14710)
6945
6946 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6947
6948 * net/eww.el (eww-make-unique-file-name): Create a unique file
6949 name before saving to entering `y' accidentally asynchronously.
6950
6951 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6952
6953 * net/eww.el (eww-download): New command and keystroke.
6954
6955 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6956
6957 * net/eww.el (eww-copy-page-url): Change name of command.
6958
6959 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6960 be more consistent with Info and dired.
6961
6962 * net/eww.el (eww-mode-map): Ditto.
6963
6964 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6967 packages from archives.
6968 (package-archive-contents): Change format; include obsolete packages.
6969 (package-desc): Use `dir' to mark builtin packages.
6970 (package--from-builtin): Set the `dir' field to `builtin'.
6971 (generated-autoload-file, version-control): Declare.
6972 (package-compute-transaction): Change first arg and return value to be
6973 lists of package-descs. Adjust to new package-archive-contents format.
6974 (package--add-to-archive-contents): Adjust to new
6975 package-archive-contents format.
6976 (package-download-transaction): Arg is now a list of package-descs.
6977 (package-install): If `pkg' is a package name, pass it as
6978 a requirement, so it is subject to the usual (e.g. disabled) checks.
6979 (describe-package): Accept package-desc as well.
6980 (describe-package-1): Describe a specific package-desc. Add links to
6981 other package-descs for the same package name.
6982 (package-menu-describe-package): Pass the actual package-desc.
6983 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6984 works correctly.
6985 (package-desc-status): New function.
6986 (package-menu--refresh): New function, extracted
6987 from package-menu--generate.
6988 (package-menu--generate): Use it.
6989 (package-delete): Update package-alist.
6990 (package-menu-execute): Don't call package-initialize.
6991
6992 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6993 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6994 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6995 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6996 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6997 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6998
6999 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7000
7001 * window.el (window--state-get-1): Workaround for bug#14527.
7002 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7003
7004 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7005
7006 * net/eww.el (eww-back-url): Implement the history by stashing all
7007 the data into a list.
7008 (eww-forward-url): Allow going forward in the history, too.
7009
7010 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7013 for values and use read--expression for expressions (bug#14710).
7014 (read-file-local-variable): Avoid setq.
7015 (read-file-local-variable-mode): Use minor-mode-list.
7016
7017 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7018
7019 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7020 for DOI URLs.
7021
7022 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7023
7024 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7025 Update imenu-support when dialect changes.
7026
7027 2013-06-25 Leo Liu <sdl.web@gmail.com>
7028
7029 * ido.el (ido-read-internal): Allow forward slash on windows.
7030
7031 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7032
7033 * net/eww.el (eww): Start of strings is \\`, not ^.
7034
7035 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7036
7037 * net/shr.el (shr-browse-url): Fix interactive spec.
7038
7039 * net/eww.el (eww): Add a trailing slash to domain names.
7040
7041 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7042
7043 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7044
7045 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7046
7047 * net/shr.el (shr-browse-url): Use an external browser if given a
7048 prefix.
7049
7050 * net/eww.el (eww-external-browser): Move to shr.
7051
7052 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7053
7054 * net/eww.el (eww): Work more correctly for file: URLs.
7055 (eww-detect-charset): Allow quoted charsets.
7056 (eww-yank-page-url): New command and keystroke.
7057
7058 2013-06-24 Daiki Ueno <ueno@gnu.org>
7059
7060 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7061 file name of gpg executable.
7062 (epg-context-program): New function.
7063 (epg-context-home-directory): New function.
7064 (epg-context-set-program): New function.
7065 (epg-context-set-home-directory): New function.
7066 (epg--start): Use `epg-context-program' instead of
7067 'epg-gpg-program'.
7068 (epg--list-keys-1): Likewise.
7069
7070 2013-06-24 Leo Liu <sdl.web@gmail.com>
7071
7072 * ido.el (ido-read-internal): Fix bug#14620.
7073
7074 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * faces.el (face-documentation): Simplify.
7077 (read-face-attribute, tty-find-type, x-resolve-font-name):
7078 Use `string-match-p'.
7079 (list-faces-display): Use `string-match-p'. Simplify.
7080 (face-spec-recalc): Check face to avoid face alias loops.
7081 (read-color): Use `string-match-p' and non-capturing parenthesis.
7082
7083 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7084
7085 * net/shr.el (shr-rescale-image): Use the new
7086 :max-width/:max-height functionality.
7087
7088 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7089
7090 * net/eww.el (eww-search-prefix): New variable.
7091 (eww): Use it.
7092 (eww-external-browser): New variable.
7093 (eww-mode-map): New keystroke.
7094 (eww-browse-with-external-browser): New command.
7095
7096 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7097
7098 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7099
7100 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7101 Don't skip aligning the next header field when padding is 0;
7102 otherwise, field width is not respected unless the title is as
7103 wide as the field.
7104
7105 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * emacs-lisp/package.el (package-el-version): Remove.
7108 (package-process-define-package): Fix inf-loop.
7109 (package-install): Allow symbols as arguments again.
7110
7111 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7112
7113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7114 add some more keyword-like methods.
7115 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7116
7117 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * bs.el (bs-buffer-show-mark): Make defvar-local.
7120 (bs-mode): Use setq-local.
7121
7122 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7123 (emacs-lock--try-unlocking): Make defvar-local.
7124
7125 2013-06-22 Glenn Morris <rgm@gnu.org>
7126
7127 * play/cookie1.el (cookie-apropos): Minor simplification.
7128
7129 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7130
7131 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7132
7133 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7134 `regexp-opt', it breaks the build during dumping.
7135
7136 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7137
7138 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7139 Highlight keyword-like methods on Kernel and Module with
7140 font-lock-builtin-face.
7141 (auto-mode-alist): Consolidate different entries into one regexp
7142 and add more *file-s.
7143
7144 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7145
7146 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7147
7148 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7149 (diary-entry): Use it in the action of this button type instead of
7150 diary-goto-entry.
7151
7152 * calendar/todo-mode.el: New version.
7153 (todo-add-category): Append new category to end of file and give
7154 it the highest number, instead of putting it at the beginning and
7155 giving it 0. Incorporate noninteractive functionality.
7156 (todo-forward-category): Adapt to 1-based category numbering.
7157 Allow skipping over archived categories.
7158 (todo-backward-category): Derive from todo-forward-category.
7159 (todo-backward-item, todo-forward-item): Make noninteractive and
7160 delegate interactive part to new commands. Make sensitive to done items.
7161 (todo-categories): Make value an alist of category names and
7162 vectors of item counts.
7163 (todo-category-beg): Make a defconst.
7164 (todo-category-number): Use 1 instead of 0 as initial value.
7165 (todo-category-select): Make sensitive to overlays, optional item
7166 highlighting and done items.
7167 (todo-delete-item): Make sensitive to overlays and marked and done items.
7168 (todo-edit-item): Make sensitive to overlays and editing of
7169 date/time header optional. Add format checks.
7170 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7171 no-op if point is not on an item. Advertise using todo-edit-quit.
7172 (todo-edit-mode): Make sensitive to new format, font-locking, and
7173 multiple todo files.
7174 (todo-insert-item, todo-insert-item-here): Derive from
7175 todo-basic-insert-item and extend functionality.
7176 (todo-item-end, todo-item-start): Make sensitive to done items.
7177 (todo-item-string): Don't return text properties. Restore point.
7178 (todo-jump-to-category): Make sensitive to multiple todo files and
7179 todo archives. Use extended category completion.
7180 (todo-lower-item, todo-raise-item): Rename to *-priority and
7181 derive from todo-set-item-priority.
7182 (todo-mode): Derive from special-mode. Make sensitive to new
7183 format, font-locking and multiple todo files. Make read-only.
7184 (todo-mode-map): Don't suppress digit keys, so they can supply
7185 prefix arguments. Add many new key bindings.
7186 (todo-prefix): Insert as an overlay instead of file text.
7187 Change semantics from diary date expression to purely visual mark.
7188 (todo-print): Rename to todo-print-buffer. Make buffer display
7189 features printable. Remove option to restrict number of items
7190 printed. Add option to print to file.
7191 (todo-print-function): Rename to todo-print-buffer-function.
7192 (todo-quit): Extend to handle exiting new todo modes.
7193 (todo-remove-item): Make sensitive to overlays.
7194 (todo-save): Extend to buffers of filtered items.
7195 (todo-show): Make sensitive to done items, multiple todo files and
7196 new todo modes. Offer to convert legacy todo file before creating
7197 first new todo file.
7198 (todo-show-priorities): Rename to todo-top-priorities.
7199 Change semantics of value 0.
7200 (todo-top-priorities): Rename to todo-filter-top-priorities,
7201 derive from todo-filter-items and extend functionality.
7202 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7203 and extend functionality to other types of filtered items.
7204 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7205 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7206 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7207 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7208 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7209 (todo-edit-mode-hook, todo-entry-prefix-function)
7210 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7211 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7212 (todo-initials, todo-insert-threshold, todo-item-string-start)
7213 (todo-line-string, todo-menu, todo-mode-hook)
7214 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7215 (todo-print-priorities, todo-remove-separator)
7216 (todo-save-top-priorities-too, todo-string-count-lines)
7217 (todo-string-multiline-p, todo-time-string-format)
7218 (todo-tmp-buffer-name): Remove.
7219 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7220 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7221 (todo-edit-category-diary-inclusion)
7222 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7223 (todo-edit-file, todo-edit-item-date-day)
7224 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7225 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7226 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7227 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7228 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7229 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7230 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7231 (todo-filter-top-priorities-multifile, todo-find-archive)
7232 (todo-find-filtered-items-file, todo-go-to-source-item)
7233 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7234 (todo-jump-to-archive-category, todo-lower-category)
7235 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7236 (todo-move-category, todo-move-item, todo-next-button)
7237 (todo-next-item, todo-padded-string, todo-powerset)
7238 (todo-previous-button, todo-previous-item)
7239 (todo-print-buffer-to-file, todo-raise-category)
7240 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7241 (todo-set-category-number, todo-set-item-priority)
7242 (todo-set-top-priorities-in-category)
7243 (todo-set-top-priorities-in-file, todo-show-categories-table)
7244 (todo-sort-categories-alphabetically-or-numerically)
7245 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7246 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7247 (todo-toggle-item-header, todo-toggle-item-highlighting)
7248 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7249 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7250 (todo-unarchive-items, todo-unmark-category): New commands.
7251 (todo-absolute-file-name, todo-add-to-buffer-list)
7252 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7253 (todo-basic-insert-item, todo-category-completions)
7254 (todo-category-number, todo-category-string-matcher-1)
7255 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7256 (todo-check-format, todo-clear-matches)
7257 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7258 (todo-current-category, todo-date-string-matcher)
7259 (todo-define-insertion-command, todo-diary-expired-matcher)
7260 (todo-diary-goto-entry, todo-diary-item-p)
7261 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7262 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7263 (todo-done-item-section-p, todo-done-separator)
7264 (todo-done-string-matcher, todo-files, todo-filter-items)
7265 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7266 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7267 (todo-insert-category-line, todo-insert-item-from-calendar)
7268 (todo-insert-sort-button, todo-insert-with-overlays)
7269 (todo-insertion-command-name, todo-insertion-key-bindings)
7270 (todo-label-to-key, todo-longest-category-name-length)
7271 (todo-make-categories-list, todo-mode-external-set)
7272 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7273 (todo-modes-set-3, todo-multiple-filter-files)
7274 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7275 (todo-read-category, todo-read-date, todo-read-dayname)
7276 (todo-read-file-name, todo-read-time)
7277 (todo-reevaluate-category-completions-files-defcustom)
7278 (todo-reevaluate-default-file-defcustom)
7279 (todo-reevaluate-filelist-defcustoms)
7280 (todo-reevaluate-filter-files-defcustom)
7281 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7282 (todo-reset-done-separator, todo-reset-done-separator-string)
7283 (todo-reset-done-string, todo-reset-global-current-todo-file)
7284 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7285 (todo-reset-prefix, todo-set-categories)
7286 (todo-set-date-from-calendar, todo-set-show-current-file)
7287 (todo-set-top-priorities, todo-short-file-name)
7288 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7289 (todo-total-item-counts, todo-update-buffer-list)
7290 (todo-update-categories-display, todo-update-categories-sexp)
7291 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7292 New functions.
7293 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7294 New major modes.
7295 (todo-categories, todo-display, todo-edit, todo-faces)
7296 (todo-filtered): New defgroups.
7297 (todo-archived-only, todo-button, todo-category-string, todo-date)
7298 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7299 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7300 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7301 (todo-add-item-if-new-category, todo-always-add-time-string)
7302 (todo-categories-align, todo-categories-archived-label)
7303 (todo-categories-category-label, todo-categories-diary-label)
7304 (todo-categories-done-label, todo-categories-number-separator)
7305 (todo-categories-todo-label, todo-categories-totals-label)
7306 (todo-category-completions-files, todo-completion-ignore-case)
7307 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7308 (todo-done-separator-string, todo-done-string)
7309 (todo-files-function, todo-filter-done-items, todo-filter-files)
7310 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7311 (todo-initial-category, todo-initial-file, todo-item-mark)
7312 (todo-legacy-date-time-regexp, todo-mode-line-function)
7313 (todo-nondiary-marker, todo-number-prefix)
7314 (todo-print-buffer-function, todo-show-current-file)
7315 (todo-show-done-only, todo-show-first, todo-show-with-done)
7316 (todo-skip-archived-categories, todo-top-priorities-overrides)
7317 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7318 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7319 New defcustoms.
7320 (todo-category-done, todo-date-pattern, todo-date-string-start)
7321 (todo-diary-items-buffer, todo-done-string-start)
7322 (todo-filtered-items-buffer, todo-item-start)
7323 (todo-month-abbrev-array, todo-month-name-array)
7324 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7325 (todo-top-priorities-buffer): New defconsts.
7326 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7327 (todo-categories-with-marks, todo-category-string-face)
7328 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7329 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7330 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7331 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7332 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7333 (todo-font-lock-keywords, todo-global-current-todo-file)
7334 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7335 (todo-insertion-commands-args)
7336 (todo-insertion-commands-args-genlist)
7337 (todo-insertion-commands-names, todo-insertion-map)
7338 (todo-key-bindings-t, todo-key-bindings-t+a)
7339 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7340 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7341 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7342 (todo-visited): New variables.
7343
7344 2013-06-21 Glenn Morris <rgm@gnu.org>
7345
7346 * play/cookie1.el (cookie-apropos): Add optional display argument.
7347 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7348 (psychoanalyze-pinhead): Use cookie-doctor.
7349
7350 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7351
7352 * emacs-lisp/package.el (tar-get-file-descriptor)
7353 (tar--extract): Declare.
7354
7355 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7356
7357 Extend flymake's warning predicate to be a function (bug#14217).
7358 * progmodes/flymake.el (flymake-warning-predicate): New.
7359 (flymake-parse-line): Use it.
7360 (flymake-warning-re): Make obsolete alias to
7361 `flymake-warning-predicate'.
7362
7363 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7366 (package-obsolete-list): Remove.
7367 (package-activate): Remove min-version argument. Add `force' argument.
7368 Adjust to new package-alist format.
7369 (package-mark-obsolete): Remove.
7370 (package-unpack): Force reload of the package's autoloads.
7371 (package-installed-p): Check builtins if the installed package is not
7372 recent enough.
7373 (package-initialize): Don't reset package-obsolete-list.
7374 Don't specify which package version to activate.
7375 (package-process-define-package, describe-package-1)
7376 (package-menu--generate): Adjust to new package-alist format.
7377
7378 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * allout-widgets.el (allout-widgets-mode-off)
7381 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7382 (allout-widgets-post-command-business)
7383 (allout-widgets-after-copy-or-kill-function)
7384 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7385 (allout-decorate-item-and-context)
7386 (allout-graphics-modification-handler): Fix typos in docstrings.
7387 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7388
7389 * cmuscheme.el (scheme-start-file): Doc fix.
7390 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7391 (scheme-input-filter): Use `string-match-p'.
7392
7393 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7394
7395 * dired-x.el: Use Dired consistently in docstrings.
7396
7397 * dired.el: Use Dired consistently in docstrings.
7398 (dired-readin, dired-mode): Use `setq-local'.
7399 (dired-switches-alist): Make defvar-local.
7400 (dired-buffers-for-dir): Use `zerop'.
7401 (dired-safe-switches-p, dired-switches-escape-p)
7402 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7403 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7404 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7405 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7406 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7407 (dired-toggle-marks, dired-mark-files-containing-regexp)
7408 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7409 (dired-flag-auto-save-files, dired-flag-backup-files):
7410 Use `looking-at-p'.
7411 (dired-mark-files-regexp, dired-build-subdir-alist):
7412 Use `string-match-p', `looking-at-p'.
7413
7414 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7415 (direct-print-region-helper): Use `string-match-p'.
7416
7417 2013-06-21 Leo Liu <sdl.web@gmail.com>
7418
7419 * comint.el (comint-redirect-results-list-from-process):
7420 Fix infinite loop.
7421
7422 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7423
7424 * net/eww.el (eww-update-header-line-format): Quote % characters.
7425
7426 2013-06-21 Glenn Morris <rgm@gnu.org>
7427
7428 * play/cookie1.el (cookie): New custom group.
7429 (cookie-file): New option.
7430 (cookie-check-file): New function.
7431 (cookie): Make it interactive. Make start and end messages optional.
7432 Interactively, display the result. Default to cookie-file.
7433 (cookie-insert): Default to cookie-file.
7434 (cookie-snarf): Make start and end messages optional.
7435 Default to cookie-file. Use with-temp-buffer.
7436 (cookie-read): Rename from read-cookie.
7437 Make start and end messages optional. Default to cookie-file.
7438 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7439 Do not autoload it.
7440 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7441 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7442
7443 2013-06-21 Leo Liu <sdl.web@gmail.com>
7444
7445 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7446
7447 2013-06-21 Glenn Morris <rgm@gnu.org>
7448
7449 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7450
7451 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7452 Daniel Hackney <dan@haxney.org>
7453
7454 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7455 Consolidate the single-file vs tarball code.
7456 (package-desc-suffix): New function.
7457 (package-desc-full-name): Don't bother inlining it.
7458 (package-load-descriptor): Return the new package-desc.
7459 (package-mark-obsolete): Remove unused arg `package'.
7460 (package-unpack): Make it work for single files as well.
7461 Make it update package-alist.
7462 (package--make-autoloads-and-stuff): Rename from
7463 package--make-autoloads-and-compile. Don't compile any more.
7464 (package--compile): New function.
7465 (package-generate-description-file): New function, extracted from
7466 package-unpack-single.
7467 (package-unpack-single): Remove.
7468 (package--with-work-buffer): Add indentation and debugging info.
7469 (package-download-single): Remove.
7470 (package-install-from-archive): Rename from package-download-tar, make
7471 it take a pkg-desc, and make it work for single files as well.
7472 (package-download-transaction): Simplify.
7473 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7474 external tar program.
7475 (package-install-from-buffer): Remove `pkg-desc' argument.
7476 Use package-tar-file-info for tar-mode buffers.
7477 (package-install-file): Simplify accordingly.
7478 (package-archive-base): Change to take a pkg-desc.
7479 * tar-mode.el (tar--check-descriptor): New function, extracted from
7480 tar-get-descriptor.
7481 (tar-get-descriptor): Use it.
7482 (tar-get-file-descriptor): New function.
7483 (tar--extract): New function, extracted from tar-extract.
7484 (tar--extract): Use it.
7485 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7486 case the summary uses non-ascii. Adjust to new calling convention of
7487 package-tar-file-info.
7488
7489 2013-06-21 Leo Liu <sdl.web@gmail.com>
7490
7491 * comint.el (comint-redirect-results-list-from-process):
7492 Fix random delay. (Bug#14681)
7493
7494 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7495
7496 * profiler.el (profiler-format-number): Use log, not log10.
7497
7498 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7501
7502 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7505 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7506 yet available.
7507 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7508 (AUTOGENEL): ... here.
7509 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7510 (cl--defsubst-expand): Use it.
7511
7512 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7513
7514 * subr.el (log10): Move here from C code, and declare as obsolete.
7515 All uses of (log10 X) replaced with (log X 10).
7516
7517 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7520 Declare with `defvar-local'.
7521 (tabulated-list-use-header-line, tabulated-list-entries)
7522 (tabulated-list-padding, tabulated-list-printer)
7523 (tabulated-list-sort-key): Declare with `defvar-local'.
7524 (tabulated-list-init-header, tabulated-list-print-fake-header):
7525 Use `setq-local'.
7526
7527 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7528
7529 * arc-mode.el (archive-mode): Add `archive-write-file' to
7530 `write-contents-functions' also for remote files. (Bug#14652)
7531
7532 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * cus-edit.el (custom-commands): Fix typos.
7535 (custom-display): Fix tooltip text.
7536 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7537 Fix typos in docstrings.
7538 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7539 (custom-unlispify-menu-entry, custom-magic-value-create)
7540 (custom-add-see-also, custom-group-value-create): Use ?\s.
7541 (custom-guess-type, customize-apropos, editable-field)
7542 (custom-face-value-create): Use `string-match-p'.
7543 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7544
7545 * custom.el (custom-load-symbol): Use `string-match-p'.
7546
7547 * ansi-color.el: Convert to lexical binding.
7548 (ansi-colors): Fix URL.
7549 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7550 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7551 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7552
7553 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554
7555 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7556
7557 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7558
7559 2013-06-19 Tom Tromey <tromey@redhat.com>
7560
7561 * net/eww.el (eww-top-url): Remove.
7562 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7563 (eww-render): Set new variables. Don't set eww-top-url.
7564 (eww-handle-link): Handle "prev", "home", and "contents".
7565 Downcase the rel text.
7566 (eww-top-url): Choose best top URL.
7567
7568 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7569
7570 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7571 relying in widget.el. Using widget.el leads to too many
7572 user interface inconsistencies.
7573 (eww-self-insert): Implement entering commands in text fields.
7574 (eww-process-text-input): New function to make text input field editing
7575 work.
7576 (eww-submit): Rewrite to use the new-style form methods.
7577 (eww-select-display): Display the correct selected item.
7578 (eww-change-select): Implement changing the select value.
7579 (eww-toggle-checkbox): Implement radio/checkboxes.
7580 (eww-update-field): Fix compilation error.
7581 (eww-tag-textarea): Implement <textarea>.
7582
7583 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7584 we don't shadow mode-specific bindings.
7585
7586 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7587 nothing to push.
7588
7589 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7590
7591 2013-06-19 Glenn Morris <rgm@gnu.org>
7592
7593 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7594
7595 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7596
7597 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7598 not needed.
7599
7600 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7601
7602 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7603
7604 * net/browse-url.el (browse-url-browser-function):
7605 `eww-browse-url' has the right calling signature, `eww' does not.
7606
7607 2013-06-19 Glenn Morris <rgm@gnu.org>
7608
7609 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7610 Only eval autoloaded macros.
7611 (byte-compile-autoload): Only give the macro warning for macros.
7612
7613 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7614 (ps-underlined-faces): Declare.
7615
7616 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7617 (speedbar-add-supported-extension): Declare.
7618
7619 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7620 Don't include a date stamp in the header of the generated file;
7621 it leads to needless differences between output files.
7622
7623 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7624
7625 * net/secrets.el (secrets-struct-secret-content-type):
7626 Replace check of introspection data by a test call of "CreateItem".
7627 Some servers do not offer introspection.
7628
7629 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * electric.el (electric-pair-mode): Improve interaction with
7632 electric-layout-mode.
7633 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7634 (electric-pair-syntax): Use text-mode-syntax-table in comments
7635 and strings.
7636 (electric-pair--insert): New function.
7637 (electric-pair-post-self-insert-function): Use it and
7638 electric--after-char-pos.
7639
7640 2013-06-19 Leo Liu <sdl.web@gmail.com>
7641
7642 * progmodes/octave.el (octave-help): Fix regexp.
7643
7644 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7645
7646 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7647 (shr-table-horizontal-line): Allow nil as a value, and change the
7648 default.
7649 (shr-insert-table-ruler): Respect the nil value.
7650
7651 2013-06-18 Tom Tromey <tromey@barimba>
7652
7653 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7654 New defvars.
7655 (eww-open-file): New defun.
7656 (eww-render): Initialize new variables.
7657 (eww-display-html): Handle "link" and "a".
7658 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7659 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7660 (eww-back-url): Rename from eww-previous-url.
7661 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7662 New defuns.
7663
7664 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7665
7666 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7667 Distinguish ternary operator tokens from slash symbol and slash
7668 char literal.
7669
7670 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7671
7672 Convert symbol prettification into minor mode and global minor mode.
7673
7674 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7675 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7676 (prettify-symbols--keywords): Rename from
7677 `prog-prettify-symbols-alist' and make a local defvar.
7678 (prettify-symbols--compose-symbol): Rename from
7679 `prog--prettify-font-lock-compose-symbol'.
7680 (prettify-symbols--make-keywords): Rename from
7681 `prog-prettify-font-lock-symbols-keywords' and simplify.
7682 (prog-prettify-install): Remove.
7683 (prettify-symbols-mode): New minor mode, based on
7684 `prog-prettify-install'.
7685 (turn-on-prettify-symbols-mode): New function.
7686 (global-prettify-symbols-mode): New globalized minor mode.
7687
7688 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7689 * progmodes/cfengine.el (cfengine3-mode):
7690 * progmodes/perl-mode.el (perl-mode): Don't call
7691 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7692
7693 2013-06-18 Juri Linkov <juri@jurta.org>
7694
7695 * files-x.el (modify-file-local-variable-message): New function.
7696 (modify-file-local-variable)
7697 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7698 and call `modify-file-local-variable-message' when it's non-nil.
7699 (add-file-local-variable, delete-file-local-variable)
7700 (add-file-local-variable-prop-line)
7701 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7702 and use it. (Bug#9820)
7703
7704 2013-06-18 Juri Linkov <juri@jurta.org>
7705
7706 * emulation/vi.el (vi-shell-op):
7707 * emulation/vip.el (vip-execute-com, ex-command):
7708 * emulation/viper-cmd.el (viper-exec-bang):
7709 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7710 the call of `shell-command-on-region'. (Bug#14637)
7711
7712 * simple.el (shell-command-on-region): Doc fix.
7713
7714 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7717 (bug#14633).
7718
7719 2013-06-18 Glenn Morris <rgm@gnu.org>
7720
7721 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7722
7723 * newcomment.el (comment-search-forward, comment-search-backward):
7724 Doc fix. (Bug#14376)
7725
7726 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7727
7728 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7729 (buffer-face-mode-invoke): Doc fix.
7730
7731 2013-06-18 Matthias Meulien <orontee@gmail.com>
7732
7733 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7734 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7735
7736 2013-06-18 Glenn Morris <rgm@gnu.org>
7737
7738 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7739 Replace obsolete function generic-make-keywords with its expansion.
7740
7741 * progmodes/python.el (ffap-alist): Declare.
7742
7743 * textmodes/reftex.el (bibtex-mode-map): Declare.
7744
7745 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7748 (package-unpack, package-unpack-single): Return the pkg-dir.
7749 (package-download-transaction): Use it to update package-alist.
7750
7751 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752
7753 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7754 possible choice.
7755
7756 2013-06-17 Juri Linkov <juri@jurta.org>
7757
7758 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7759
7760 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7761
7762 * emacs-lisp/package.el (package-load-descriptor):
7763 Remove `with-syntax-table' call, `read' doesn't need it.
7764 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7765
7766 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7767
7768 * startup.el (command-line): Expand package name returned by
7769 `package--description-file' (bug#14639).
7770
7771 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7772
7773 * emacs-lisp/package.el (package-load-descriptor): Do not call
7774 `emacs-lisp-mode', just use its syntax table.
7775
7776 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7777
7778 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7779 `font-lock-extra-managed-props' if any prettifying keyword is added.
7780 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7781 (prog-mode): Use `setq-local'.
7782
7783 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * international/characters.el (standard-case-table): Set syntax of ?»
7786 and ?« to punctuation.
7787
7788 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7789
7790 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7791 Save relevant match data before calling `syntax-ppss' (bug#14595).
7792
7793 2013-06-15 Juri Linkov <juri@jurta.org>
7794
7795 * files-x.el (modify-file-local-variable-prop-line): Add local
7796 variables to the end of the existing comment on the first line.
7797 Use `file-auto-mode-skip' to skip interpreter magic line,
7798 and also skip XML declaration.
7799
7800 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * startup.el (package--builtin-versions): New var.
7803 (package-subdirectory-regexp): Remove.
7804 (package--description-file): Hard code its value instead.
7805
7806 * emacs-lisp/package.el: Don't activate packages older than builtin.
7807 (package-obsolete-list): Rename from package-obsolete-alist, and make
7808 it into a simple list of package-desc.
7809 (package-strip-version): Remove.
7810 (package-built-in-p): Use package--builtin-versions.
7811 (package-mark-obsolete): Simplify.
7812 (package-process-define-package): Mark it obsolete if older than the
7813 builtin version.
7814 (package-handle-response): Use line-end-position.
7815 (package-read-archive-contents, package--download-one-archive):
7816 Simplify.
7817 (package--add-to-archive-contents): Skip if older than the builtin or
7818 installed version.
7819 (package-menu-describe-package): Fix last change.
7820 (package-list-unversioned): New var.
7821 (package-menu--generate): Use it.
7822
7823 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7824 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7825 (autoload-builtin-package-versions): New variable.
7826 (autoload-generate-file-autoloads): Use them.
7827 Remove the list of autoloaded functions/macros from the
7828 (autoload...) comments.
7829
7830 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7831
7832 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7833
7834 * simple.el (line-move-partial): Don't jump to the next screen
7835 line as soon as it becomes visible. Instead, continue enlarging
7836 the vscroll until the portion of a tall screen line that's left on
7837 display is about the height of the frame's default font.
7838 (Bug#14567)
7839
7840 2013-06-15 Glenn Morris <rgm@gnu.org>
7841
7842 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7843 compilation-error-regexp-alist void, or local while let-bound.
7844
7845 * progmodes/make-mode.el (makefile-mode-syntax-table):
7846 Treat "=" as punctuation. (Bug#14614)
7847
7848 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7849
7850 * help-fns.el (describe-variable):
7851 Add extra line for permanent-local variables.
7852
7853 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7854
7855 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7856 Add export, import, library. (Bug#9164)
7857 (library): Set indent function.
7858
7859 2013-06-14 Glenn Morris <rgm@gnu.org>
7860
7861 * term/xterm.el (xterm--query):
7862 Stop after first matching handler. (Bug#14615)
7863
7864 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7865
7866 Add support for dired in saveplace.
7867 * dired.el (dired-initial-position-hook): New variable.
7868 (dired-initial-position): Call hook to place cursor position.
7869 * saveplace.el (save-place-to-alist): Add dired position.
7870 (save-place-dired-hook): New function.
7871
7872 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7875 through a symbol rather than letrec.
7876
7877 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7878 (package-desc): Add `dir' field.
7879 (package-desc-full-name): New function.
7880 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7881 (package-maybe-load-descriptor): Remove.
7882 (package-load-all-descriptors): Just call package-load-descriptor.
7883 (package--disabled-p): New function.
7884 (package-desc-vers, package-desc-doc): Remove aliases.
7885 (package--dir): Remove function.
7886 (package-activate): Check if a package is disabled.
7887 (package-process-define-package): New function, extracted from
7888 define-package.
7889 (define-package): Turn into a place holder.
7890 (package-unpack-single, package-tar-file-info):
7891 Use package--description-file.
7892 (package-compute-transaction): Use package--disabled-p.
7893 (package-download-transaction): Don't call
7894 package-maybe-load-descriptor since they're all loaded anyway.
7895 (package-install): Change argument to be a pkg-desc.
7896 (package-delete): Use a single pkg-desc argument.
7897 (describe-package-1): Use package-desc-dir instead of package--dir.
7898 Use package-desc property instead of package-symbol.
7899 (package-install-button-action): Adjust accordingly.
7900 (package--push): Rewrite.
7901 (package-menu--print-info): Adjust accordingly. Change the ID format
7902 to be a pkg-desc.
7903 (package-menu-describe-package, package-menu-get-status)
7904 (package-menu--find-upgrades, package-menu-mark-upgrades)
7905 (package-menu-execute, package-menu--name-predicate):
7906 Adjust accordingly.
7907 * startup.el (package--description-file): New function.
7908 (command-line): Use it.
7909 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7910 Use package-desc-version.
7911
7912 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7913 (byte-compile-preprocess): Use it.
7914 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7915 can't quite recognize.
7916 (byte-compile-add-to-list): Remove.
7917 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7918 (cconv-closure-convert): Add assertion.
7919
7920 * emacs-lisp/map-ynp.el: Use lexical-binding.
7921 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7922 Factor out some repeated code.
7923
7924 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * subr.el (with-eval-after-load): New macro.
7927 (eval-after-load): Allow form to be a function.
7928 take advantage of lexical-binding.
7929 (do-after-load-evaluation): Use dolist and adjust to new format.
7930 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7931
7932 2013-06-13 Juri Linkov <juri@jurta.org>
7933
7934 * replace.el (perform-replace): Display "symbol " and other search
7935 modes from `isearch-message-prefix' in the *Help* buffer.
7936
7937 * isearch.el (isearch-query-replace): Add " symbol" and other
7938 possible search modes from `isearch-message-prefix' to the prompt.
7939 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7940 when reading a regexp to collect.
7941
7942 2013-06-13 Juri Linkov <juri@jurta.org>
7943
7944 * isearch.el (word-search-regexp): Match whitespace if the search
7945 string begins or ends in whitespace. The LAX arg is applied to
7946 both ends of the search string. Use `regexp-quote' and explicit
7947 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7948 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7949 boundaries are replaced with symbol boundaries, and characters
7950 between symbols match non-word non-symbol syntax. (Bug#14602)
7951
7952 2013-06-13 Juri Linkov <juri@jurta.org>
7953
7954 * isearch.el (isearch-del-char): Don't exceed the length of
7955 `isearch-string' by the prefix arg. (Bug#14563)
7956
7957 2013-06-13 Juri Linkov <juri@jurta.org>
7958
7959 * isearch.el (isearch-yank-word, isearch-yank-line)
7960 (isearch-char-by-name, isearch-quote-char)
7961 (isearch-printing-char, isearch-process-search-char):
7962 Add optional count prefix arg. (Bug#14563)
7963
7964 * international/isearch-x.el
7965 (isearch-process-search-multibyte-characters):
7966 Add optional count prefix arg.
7967
7968 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7971 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7972 lexical-binding.
7973
7974 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7975
7976 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7977
7978 2013-06-13 Glenn Morris <rgm@gnu.org>
7979
7980 * startup.el (tty-handle-args):
7981 Don't just discard "--" and anything after. (Bug#14608)
7982
7983 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7984
7985 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7986
7987 Implement changes in Secret Service API. Make it backward compatible.
7988 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7989 (secrets-create-item): Use it. Prefix properties with interface.
7990
7991 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7992
7993 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7994 (term-emulate-terminal): Respect term-suppress-hard-newline.
7995
7996 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7997
7998 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7999 Only remove a `thumb-file' overlay. (Bug#14548)
8000
8001 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8002
8003 * mail/reporter.el (reporter-submit-bug-report):
8004 Handle missing package-name. (Bug#14600)
8005
8006 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8007
8008 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8009 (reftex-citation-prompt, reftex-default-bibliography)
8010 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8011 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8012 (reftex-bib-sort-author, reftex-bib-sort-year)
8013 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8014 (reftex-extract-bib-entries-from-thebibliography)
8015 (reftex-get-bibkey-default, reftex-get-bib-names)
8016 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8017 (reftex-format-bib-entry, reftex-parse-bibitem)
8018 (reftex-format-bibitem, reftex-do-citation)
8019 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8020 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8021 (reftex-insert-bib-matches, reftex-format-citation)
8022 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8023 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8024 existing comments into docstrings.
8025
8026 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8027
8028 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8029
8030 2013-06-12 Andreas Schwab <schwab@suse.de>
8031
8032 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8033 for auto-save files.
8034
8035 2013-06-12 Glenn Morris <rgm@gnu.org>
8036
8037 * ido.el (ido-delete-ignored-files): Remove.
8038 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8039 Go back to calling ido-ignore-item-p directly.
8040
8041 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8042
8043 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8044
8045 * ido.el (ido-delete-ignored-files): New function,
8046 split from ido-make-file-list-1.
8047 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8048 (ido-make-file-list-1): Use ido-delete-ignored-files.
8049
8050 2013-06-12 Leo Liu <sdl.web@gmail.com>
8051
8052 * progmodes/octave.el (inferior-octave-startup)
8053 (inferior-octave-completion-table)
8054 (inferior-octave-track-window-width-change)
8055 (octave-eldoc-function-signatures, octave-help)
8056 (octave-find-definition): Use single quoted strings.
8057 (inferior-octave-startup-args): Change default value.
8058 (inferior-octave-startup): Do not hard code "-i" and
8059 "--no-line-editing".
8060 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8061 (inferior-octave-directory-tracker): Use it.
8062 (octave-goto-function-definition): Robustify.
8063 (octave-help): Support highlighting operators in 'See also'.
8064 (octave-find-definition): Find subfunctions only in Octave mode.
8065
8066 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * help-fns.el (help-fns--compiler-macro): If the handler function is
8069 named, then put a link to it.
8070 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8071 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8072 (cl-typep): Use it.
8073 (cl-eval-when): Simplify debug spec.
8074 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8075 compiler-macro function instead of setting `compiler-macro-file'.
8076
8077 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8078
8079 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8080 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8081
8082 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8083 Daniel Hackney <dan@haxney.org>
8084
8085 First part of Daniel Hackney's patch to package.el.
8086 * emacs-lisp/package.el: Use defstruct.
8087 (package-desc): New, main struct.
8088 (package--bi-desc, package--ac-desc): New structs, used to describe the
8089 format in external files.
8090 (package-desc-vers): Replace with package-desc-version accessor.
8091 (package-desc-doc): Replace with package-desc-summary accessor.
8092 (package-activate-1): Remove `package' arg since the pkg-vec now
8093 includes the name.
8094 (define-package): Use package-desc-from-define.
8095 (package-unpack-single): Change file-name arg to be a symbol.
8096 (package--add-to-archive-contents): Use package-desc-create and new
8097 accessor functions to package--ac-desc.
8098 (package-buffer-info, package-tar-file-info): Return a package-desc.
8099 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8100 arg to be a package-desc.
8101 (package-install-file): Adjust accordingly. Use \' to match EOS.
8102 (package--from-builtin): New function.
8103 (describe-package-1, package-menu--generate): Use it.
8104 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8105 (package-generate-autoloads): Idem and return the name of the file.
8106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8107 Change pkg-info arg to be a package-desc.
8108 Use package-make-ac-desc.
8109 (package-upload-file): Use \' to match EOS.
8110 * finder.el (finder-compile-keywords): Use package-make-builtin.
8111
8112 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * vc/vc.el (vc-deduce-fileset): Change error message.
8115 (vc-read-backend): New function.
8116 (vc-next-action): Use it.
8117
8118 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8119
8120 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8121 (prolog-font-lock-keywords): Use regexp-opt instead.
8122 Don't manually highlight strings.
8123 (prolog-mode-variables): Simplify comment-start-skip.
8124 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8125
8126 * emacs-lisp/generic.el (generic--normalise-comments)
8127 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8128 (generic-mode-set-comments): Use them.
8129 (generic-bracket-support): Use setq-local.
8130 (generic-make-keywords-list): Declare obsolete.
8131
8132 2013-06-11 Glenn Morris <rgm@gnu.org>
8133
8134 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8135 Prettify after setting font-lock-defaults. (Bug#14574)
8136
8137 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8138
8139 * replace.el (query-replace, occur-read-regexp-defaults-function)
8140 (replace-search):
8141 * subr.el (declare-function, number-sequence, local-set-key)
8142 (substitute-key-definition, locate-user-emacs-file)
8143 (with-silent-modifications, split-string, eval-after-load):
8144 Fix typos, remove unneeded backslashes and reflow some docstrings.
8145
8146 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8149 default for Elisp files.
8150
8151 2013-06-11 Glenn Morris <rgm@gnu.org>
8152
8153 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8154 although define-derived-mode was doing this anyway. (Bug#14583)
8155
8156 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8159 Fix make-variable-buffer-local call to refer to the correct variable.
8160
8161 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8162
8163 * eshell/em-term.el (eshell-visual-commands)
8164 (eshell-visual-subcommands, eshell-visual-options):
8165 Add summary line to docstrings. Add cross-references.
8166
8167 2013-06-10 Glenn Morris <rgm@gnu.org>
8168
8169 * epa.el (epa-read-file-name): New function. (Bug#14510)
8170 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8171
8172 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8173
8174 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8175 output redirection to be ignored with visual commands.
8176
8177 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8178
8179 * eshell/em-term.el (eshell-visual-command-p): New function.
8180 (eshell-term-initialize): Move long lambda to separate function
8181 eshell-visual-command-p.
8182 * eshell/em-dirs.el (eshell-dirs-initialise):
8183 * eshell/em-script.el (eshell-script-initialize):
8184 Add missing #' to lambda.
8185
8186 2013-06-08 Leo Liu <sdl.web@gmail.com>
8187
8188 * progmodes/octave.el (octave-add-log-current-defun): New function.
8189 (octave-mode): Set add-log-current-defun-function.
8190 (octave-goto-function-definition): Do not move point if not found.
8191 (octave-find-definition): Enhance to try subfunctions first.
8192
8193 2013-06-08 Glenn Morris <rgm@gnu.org>
8194
8195 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8196 (byte-compile-backward-char, byte-compile-backward-word):
8197 Improve previous change, to handle non-explicit nil.
8198
8199 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8202 (smie--opener/closer-at-point): New function.
8203 (smie--matching-block-data): Use it. Don't match from right after an
8204 opener or right before a closer. Obey smie-blink-matching-inners.
8205 Don't signal a mismatch for repeated inners like "switch..case..case".
8206
8207 2013-06-07 Leo Liu <sdl.web@gmail.com>
8208
8209 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8210 to t. (Bug#14303)
8211 (octave-function-header-regexp): Fix. (Bug#14570)
8212 (octave-help-mode-finish-hook, octave-help-mode-finish):
8213 Remove. Just use temp-buffer-show-hook.
8214
8215 * newcomment.el (comment-search-backward): Revert last change.
8216 (Bug#14434)
8217
8218 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8219
8220 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8221
8222 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8223 through xargs, to avoid failure due to MS-Windows limitations on
8224 command-line length.
8225
8226 2013-06-06 Glenn Morris <rgm@gnu.org>
8227
8228 * font-lock.el (lisp-font-lock-keywords-2):
8229 Treat user-error like error.
8230
8231 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8232 (byte-compile-backward-char, byte-compile-backward-word):
8233 Handle explicit nil arguments. (Bug#14565)
8234
8235 2013-06-05 Alan Mackenzie <acm@muc.de>
8236
8237 * isearch.el (isearch-allow-prefix): New user option.
8238 (isearch-other-meta-char): Don't exit isearch when a prefix
8239 argument is typed whilst `isearch-allow-prefix' is non-nil.
8240 (Bug#9706)
8241
8242 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * autorevert.el (auto-revert-notify-handler): Use memq.
8245 Hide assertion failure.
8246
8247 * skeleton.el: Use cl-lib.
8248 (skeleton-further-elements): Use defvar-local.
8249 (skeleton-insert): Use cl-progv.
8250
8251 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8252
8253 * progmodes/prog-mode.el (prog-prettify-symbols)
8254 (prog-prettify-install): Update docstrings.
8255
8256 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * simple.el: Move all the prog-mode code to prog-mode.el.
8259 * progmodes/prog-mode.el: New file.
8260 * loadup.el: Add prog-mode.el.
8261
8262 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8263
8264 * simple.el (prog-prettify-symbols): Add version.
8265 (prog-prettify-install): Add convenience function to prettify symbols.
8266
8267 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8268 (perl--augmented-font-lock-keywords-1)
8269 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8270 variables and use it.
8271
8272 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8273 (cfengine3-mode): Remove unneeded variable and use it.
8274
8275 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8276 (lisp--augmented-font-lock-keywords-1)
8277 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8278 Remove unneeded variables and use it.
8279
8280 2013-06-05 João Távora <joaotavora@gmail.com>
8281
8282 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8283 to point when opening the connection. (Bug#14380)
8284
8285 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * subr.el (load-history-regexp, load-history-filename-element)
8288 (eval-after-load, after-load-functions, do-after-load-evaluation)
8289 (eval-next-after-load, display-delayed-warnings)
8290 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8291 definition of save-match-data.
8292 (overriding-local-map): Remove accidental obsolescence declaration.
8293
8294 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8295
8296 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8297
8298 Generalize symbol prettify support to prog-mode and implement it
8299 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8300 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8301 (prog--prettify-font-lock-compose-symbol)
8302 (prog-prettify-font-lock-symbols-keywords): New variables and
8303 functions to support symbol prettification.
8304 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8305 (lisp--augmented-font-lock-keywords-1)
8306 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8307 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8308 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8309 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8310 Implement prettify of -> => :: strings.
8311 * progmodes/perl-mode.el (perl-prettify-symbols)
8312 (perl--font-lock-compose-symbol)
8313 (perl--font-lock-symbols-keywords): Move to prog-mode.
8314 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8315 (perl-font-lock-keywords-1)
8316 (perl-font-lock-keywords-2): Remove explicit prettify support.
8317 (perl--augmented-font-lock-keywords)
8318 (perl--augmented-font-lock-keywords-1)
8319 (perl--augmented-font-lock-keywords-2, perl-mode):
8320 Implement prettify support.
8321
8322 2013-06-05 Leo Liu <sdl.web@gmail.com>
8323
8324 Re-implement smie matching block highlight using
8325 show-paren-data-function. (Bug#14395)
8326 * emacs-lisp/smie.el (smie-matching-block-highlight)
8327 (smie--highlight-matching-block-overlay)
8328 (smie--highlight-matching-block-lastpos)
8329 (smie-highlight-matching-block)
8330 (smie-highlight-matching-block-mode): Remove.
8331 (smie--matching-block-data-cache): New variable.
8332 (smie--matching-block-data): New function.
8333 (smie-setup): Use smie--matching-block-data for
8334 show-paren-data-function.
8335
8336 * progmodes/octave.el (octave-mode-menu): Fix.
8337 (octave-find-definition): Skip garbage lines.
8338
8339 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 Fix compilation error with simultaneous dynamic+lexical scoping.
8342 Add warning when a defvar appears after the first let-binding.
8343 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8344 (byte-compile-close-variables): Initialize it.
8345 (byte-compile--declare-var): New function.
8346 (byte-compile-file-form-defvar)
8347 (byte-compile-file-form-define-abbrev-table)
8348 (byte-compile-file-form-custom-declare-variable): Use it.
8349 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8350 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8351 (byte-compile-bind): Handle dynamic bindings that shadow
8352 lexical bindings.
8353 (byte-compile-unbind): Make arg non-optional.
8354 (byte-compile-let): Simplify.
8355 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8356 (cconv--analyse-function, cconv-analyse-form): Populate it.
8357 Protect byte-compile-bound-variables to limit the scope of defvars.
8358 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8359 Remove unneeded rule for `declare'.
8360
8361 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8362 so as to avoid depending on cl-adjoin at run-time.
8363 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8364
8365 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8366 (macroexp--warn-and-return): Use it.
8367
8368 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * lisp/subr.el: Convert to lexical binding.
8371 (overriding-local-map): Make obsolete.
8372 (add-to-list): Doc fix. Add compiler macro.
8373 (read-key): Swap values of local maps.
8374
8375 2013-06-05 Leo Liu <sdl.web@gmail.com>
8376
8377 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8378
8379 2013-06-04 Leo Liu <sdl.web@gmail.com>
8380
8381 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8382 (compilation-auto-jump): Suppress the "Mark set" message to give
8383 way to exit message.
8384
8385 2013-06-04 Alan Mackenzie <acm@muc.de>
8386
8387 Remove faulty optimisation from indentation calculation.
8388 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8389 search limit based on 2000 characters back from indent-point.
8390
8391 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8392
8393 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8394
8395 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * emacs-lisp/lisp.el: Use lexical-binding.
8398 (lisp--local-variables-1, lisp--local-variables): New functions.
8399 (lisp--local-variables-completion-table): New var.
8400 (lisp-completion-at-point): Use it complete let-bound vars.
8401
8402 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8403 eagerly (bug#14422).
8404
8405 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8406
8407 * autorevert.el (auto-revert-notify-enabled)
8408 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8409 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8410 (auto-revert-notify-handler): Handle also gfilenotify.
8411
8412 * subr.el (file-notify-handle-event): New defun. Replacing ...
8413 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8414 Remove.
8415
8416 2013-06-03 Juri Linkov <juri@jurta.org>
8417
8418 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8419 `M-s h .'. (Bug#14427)
8420
8421 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8422 command `hi-lock-face-symbol-at-point'.
8423 (hi-lock-face-symbol-at-point): New command.
8424 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8425 (hi-lock-menu): Add `highlight-symbol-at-point'.
8426 (hi-lock-mode): Doc fix.
8427
8428 * isearch.el (isearch-forward-symbol-at-point): New command.
8429 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8430 (isearch-highlight-regexp): Add a regexp which matches
8431 words/symbols for word/symbol mode.
8432
8433 * subr.el (find-tag-default-bounds): New function with the body
8434 mostly moved from `find-tag-default'.
8435 (find-tag-default): Move most code to `find-tag-default-bounds',
8436 call it and apply `buffer-substring-no-properties' afterwards.
8437
8438 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8439
8440 * eshell/em-term.el (eshell-term-initialize):
8441 Use `cl-intersection' rather than `intersection'.
8442
8443 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8444
8445 * vc/log-view.el: Doc fix.
8446 (log-view-mode-map): Copy keymap from `special-mode-map'.
8447
8448 2013-06-02 Eric Ludlam <zappo@gnu.org>
8449
8450 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8451 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8452 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8453 (eieio-unbound, eieio-default-superclass)
8454 (eieio--define-field-accessors, method-static, method-before)
8455 (method-primary, method-after, method-num-lists)
8456 (method-generic-before, method-generic-primary)
8457 (method-generic-after, method-num-slots)
8458 (eieio-specialized-key-to-generic-key)
8459 (eieio--check-type, class-v, class-p)
8460 (eieio-class-name, define-obsolete-function-alias)
8461 (eieio-class-parents-fast, eieio-class-children-fast)
8462 (same-class-fast-p, class-constructor, generic-p)
8463 (generic-primary-only-p, generic-primary-only-one-p)
8464 (class-option-assoc, class-option, eieio-object-p)
8465 (class-abstract-p, class-method-invocation-order)
8466 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8467 (eieio-class-un-autoload, eieio-defclass)
8468 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8469 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8470 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8471 (eieio-defgeneric-reset-generic-form)
8472 (eieio-defgeneric-form-primary-only)
8473 (eieio-defgeneric-reset-generic-form-primary-only)
8474 (eieio-defgeneric-form-primary-only-one)
8475 (eieio-defgeneric-reset-generic-form-primary-only-one)
8476 (eieio-unbind-method-implementations)
8477 (eieio--defmethod, eieio--typep)
8478 (eieio-perform-slot-validation, eieio-validate-slot-value)
8479 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8480 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8481 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8482 (eieio-slot-name-index, eieio-class-slot-name-index)
8483 (eieio-set-defaults, eieio-initarg-to-attribute)
8484 (eieio-attribute-to-initarg, eieio-c3-candidate)
8485 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8486 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8487 (eieio-class-precedence-list, eieio-generic-call-methodname)
8488 (eieio-generic-call-arglst, eieio-generic-call-key)
8489 (eieio-generic-call-next-method-list)
8490 (eieio-pre-method-execution-functions, eieio-generic-call)
8491 (eieio-generic-call-primary-only, eieiomt-method-list)
8492 (eieiomt-optimizing-obarray, eieiomt-install)
8493 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8494 (eieio-generic-form, eieio-defmethod, make-obsolete)
8495 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8496 (defclass): Remove `eval-and-compile' from macro.
8497 (call-next-method, shared-initialize): Instead of using
8498 `scoped-class' variable, use new eieio--scoped-class, and
8499 eieio--with-scoped-class.
8500 (initialize-instance): Rename local variable 'scoped-class' to
8501 'this-class' to remove ambiguitity from old global.
8502
8503 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8504 eieio.el.
8505 (eieio--scoped-class-stack): New variable.
8506 (eieio--scoped-class): New fcn.
8507 (eieio--with-scoped-class): New scoping macro.
8508 (eieio-defclass): Use pushnew instead of add-to-list.
8509 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8510 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8511 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8512 `scoped-class' variable, use new eieio--scoped-class, and
8513 eieio--with-scoped-class.
8514
8515 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8516
8517 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8518
8519 * eshell/esh-ext.el (eshell-external-command): Pass args to
8520 `eshell-find-interpreter'.
8521 (eshell-find-interpreter): Add new second parameter ARGS.
8522
8523 * eshell/em-script.el (eshell-script-initialize): Add second arg
8524 to the function added as MATCH to `eshell-interpreter-alist'.
8525
8526 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8527 the function added as MATCH to `eshell-interpreter-alist'.
8528
8529 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8530 (eshell-visual-options): New defcustom.
8531 (eshell-escape-control-x): Adapt docstring.
8532 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8533 `eshell-visual-options' in addition to `eshell-visual-commands'.
8534 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8535
8536 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8537
8538 * progmodes/python.el (python-indent-block-enders): Add break,
8539 continue and raise keywords.
8540
8541 2013-06-01 Glenn Morris <rgm@gnu.org>
8542
8543 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8544
8545 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8546 * progmodes/cc-cmds.el (delete-forward-p):
8547 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8548 * progmodes/cc-engine.el (buffer-syntactic-context):
8549 * progmodes/cc-fonts.el (face-property-instance):
8550 * progmodes/cc-mode.el (set-keymap-parents):
8551 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8552 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8553 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8554 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8555 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8556
8557 * progmodes/cc-vars.el (other): Emacs has this widget since
8558 at least 21.1, so don't (re)define it.
8559
8560 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8561 Replace the obsolete alias pcomplete-arg-quote-list.
8562
8563 2013-06-01 Leo Liu <sdl.web@gmail.com>
8564
8565 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8566 punctuation syntax.
8567 (inferior-octave-minimal-columns)
8568 (inferior-octave-last-column-width): New variables.
8569 (inferior-octave-track-window-width-change): New function.
8570 (inferior-octave-mode): Adjust column width so that Octave output,
8571 for example from 'ls', can fit into the window nicely.
8572
8573 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8574
8575 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8576 Highlight expansions inside regexp literals.
8577
8578 2013-05-31 Glenn Morris <rgm@gnu.org>
8579
8580 * obsolete/sym-comp.el (symbol-complete):
8581 Replace obsolete completion-annotate-function.
8582
8583 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8584
8585 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8586
8587 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8588 New function, checks if point is inside a literal that allows
8589 expression expansion.
8590 (ruby-syntax-propertize-expansion): Use it.
8591 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8592 around the body.
8593
8594 2013-05-30 Juri Linkov <juri@jurta.org>
8595
8596 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8597 to "\M-si".
8598 (isearch-invisible): New variable.
8599 (isearch-forward): Doc fix.
8600 (isearch-mode): Set `isearch-invisible'
8601 to the value of `search-invisible'.
8602 (isearch-toggle-case-fold): Doc fix.
8603 (isearch-toggle-invisible): New command.
8604 (isearch-query-replace): Let-bind `search-invisible'
8605 to the value of `isearch-invisible'.
8606 (isearch-search): Use `isearch-invisible' instead of
8607 `search-invisible'. Let-bind `search-invisible'
8608 to the value of `isearch-invisible'. (Bug#11378)
8609
8610 2013-05-30 Juri Linkov <juri@jurta.org>
8611
8612 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8613 call when `query-flag' is nil and `search-invisible' is non-nil.
8614 (Bug#11746)
8615
8616 2013-05-30 Glenn Morris <rgm@gnu.org>
8617
8618 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8619
8620 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8621 (cc-require): Suppress spurious "noruntime" warnings.
8622 (cc-require-when-compile): Use fboundp, for sake of compiler.
8623
8624 * progmodes/cc-mode.el: Move load of cc-vars before that of
8625 cc-langs (which in turn loads cc-vars), to quieten compiler.
8626
8627 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * paren.el: Simplify the code.
8630 (show-paren-mode): Always start the timer.
8631 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8632 (show-paren--overlay, show-paren--overlay-1): Rename from
8633 show-paren-overlay and show-paren-overlay-1, and initialize to an
8634 overlay rather than to nil.
8635 (show-paren-function): Misc cleanup and simplifications.
8636
8637 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * paren.el (show-paren-data-function): New hook.
8640 (show-paren--default): New function, extracted from show-paren-function.
8641 (show-paren-function): Use show-paren-data-function.
8642
8643 2013-05-30 Glenn Morris <rgm@gnu.org>
8644
8645 * ielm.el (ielm-map, ielm-complete-symbol):
8646 Use completion-at-point rather than obsolete functions.
8647 (inferior-emacs-lisp-mode): Doc fix.
8648 Set completion-at-point-functions, rather than
8649 comint-dynamic-complete-functions.
8650
8651 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8652 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8653 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8654
8655 * image.el (image-animated-p): Tweak definition.
8656
8657 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8658 (rlogin-process-connection-type): Tweak default. Add set-after.
8659 (rlogin-host): Doc fix.
8660 (rlogin): Tweak prompt.
8661 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8662
8663 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8664 * progmodes/tcl.el (inferior-tcl-mode-map):
8665 Use completion-at-point rather than obsolete alias.
8666
8667 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8668
8669 * minibuffer.el (read-file-name-completion-ignore-case):
8670 Move before completion--in-region, for eager macro expansion.
8671
8672 2013-05-29 Juri Linkov <juri@jurta.org>
8673
8674 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8675 for total count of matching lines. Add `global-matches' for total
8676 count of matches. Rename `matches' to `lines' for count of
8677 matching lines. Add `matches' for count of matches.
8678 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8679 to `prev-line' for line number of prev match endpt.
8680 Increment `matches' for every match. Print the number of
8681 matching lines in the header.
8682 (occur-context-lines): Rename `lines' to `curr-line'.
8683 Rename `prev-lines' to `prev-line'. (Bug#14017)
8684
8685 2013-05-29 Juri Linkov <juri@jurta.org>
8686
8687 * replace.el (perform-replace): Add `skip-read-only-count',
8688 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8689 Increment them for corresponding conditions and report the number
8690 of skipped occurrences in the final message. (Bug#11746)
8691 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8692 (replace-string, replace-regexp): Doc fix.
8693
8694 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8697
8698 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8699 prog-mode-map (bug#14504).
8700
8701 2013-05-29 Leo Liu <sdl.web@gmail.com>
8702
8703 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8704 (octave-help): Small simplification.
8705
8706 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8707 off the highlight first.
8708
8709 2013-05-29 Glenn Morris <rgm@gnu.org>
8710
8711 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8712 Handle idlwave-last-system-routine-info-cons-cell being nil.
8713
8714 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8715 (idlwave-write-paths): Simplify via with-temp-buffer.
8716
8717 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8718 * emulation/cua-rect.el: Also load cua-base at run time.
8719
8720 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8721 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8722 (cperl-imenu-on-info): Require imenu.
8723
8724 2013-05-28 Alan Mackenzie <acm@muc.de>
8725
8726 Handle "capitalised keywords" correctly.
8727 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8728
8729 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8730
8731 * eshell/em-unix.el: Add -r option to cp.
8732
8733 2013-05-28 Glenn Morris <rgm@gnu.org>
8734
8735 * vc/vc-arch.el (vc-exec-after): Declare.
8736 (vc-switches): Autoload.
8737 * vc/vc-bzr.el: No need to require vc when compiling.
8738 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8739 (vc-resynch-buffer, vc-dir-refresh): Declare.
8740 (vc-setup-buffer, vc-switches): Autoload.
8741 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8742 (vc-resynch-buffer): Declare.
8743 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8744 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8745 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8746 (grep-read-regexp, grep-read-files, grep-expand-template)
8747 (vc-dir-refresh): Declare.
8748 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8749 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8750 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8751 * vc/vc-mtn.el (vc-exec-after): Declare.
8752 (vc-switches): Autoload.
8753 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8754 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8755 (vc-file-tree-walk): Declare.
8756 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8757 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8758 (vc-tag-precondition, vc-rename-master): Autoload.
8759 * vc/vc-svn.el (vc-exec-after): Declare.
8760 (vc-switches, vc-setup-buffer): Autoload.
8761 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8762 Autoload.
8763 (vc-resynch-buffer): Declare.
8764
8765 * obsolete/fast-lock.el (byte-compile-warnings):
8766 Don't warn about obsolete features in this obsolete file.
8767
8768 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8769 Move definition before use.
8770
8771 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8772 (dun-unix-verbs): Remove dun-zippy.
8773 (dun-zippy): Remove function.
8774
8775 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8776
8777 2013-05-27 Juri Linkov <juri@jurta.org>
8778
8779 * replace.el (replace-search): New function with code moved out
8780 from `perform-replace'.
8781 (replace-highlight, replace-dehighlight): Move function definitions
8782 up closer to `replace-search'. (Bug#11746)
8783
8784 2013-05-27 Juri Linkov <juri@jurta.org>
8785
8786 * replace.el (perform-replace): Ignore invisible matches.
8787 In addition to checking `query-replace-skip-read-only', also
8788 filter out matches by calling `run-hook-with-args-until-failure'
8789 on `isearch-filter-predicates', and also check `search-invisible'
8790 for t or call `isearch-range-invisible'.
8791 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8792
8793 2013-05-27 Juri Linkov <juri@jurta.org>
8794
8795 * isearch.el (isearch-filter-predicates): Rename from
8796 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8797 (isearch-message-prefix): Display text from the property
8798 `isearch-message-prefix' of the currently active filters.
8799 (isearch-search): Don't compare `isearch-filter-predicate' with
8800 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8801 on `isearch-filter-predicates'. Also check `search-invisible' for t
8802 or call `isearch-range-invisible'.
8803 (isearch-filter-visible): Make obsolete.
8804 (isearch-lazy-highlight-search):
8805 Call `run-hook-with-args-until-failure' on
8806 `isearch-filter-predicates' and use `isearch-range-invisible'.
8807
8808 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8809 `isearch-filter-predicates' instead of `funcall'ing
8810 `isearch-filter-predicate'.
8811 (Info-mode): Set `Info-isearch-filter' to
8812 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8813
8814 * dired-aux.el (dired-isearch-filter-predicate-orig):
8815 Remove variable.
8816 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8817 (dired-isearch-filenames-end): Add and remove
8818 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8819 instead of changing the value of `isearch-filter-predicate'.
8820 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8821 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8822 Put property `isearch-message-prefix' to "filename " on
8823 `dired-isearch-filter-filenames'.
8824
8825 * wdired.el (wdired-change-to-wdired-mode):
8826 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8827 locally instead of changing `isearch-filter-predicate'.
8828 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8829
8830 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8831
8832 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8833 return the commit hash (Bug#14459). Also set the
8834 `vc-git-detached' property.
8835 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8836 (vc-git-mode-line-string): Use the same help-echo format whether
8837 in detached mode or not, because we know the actual revision now.
8838 When in detached mode, shorten the revision to 7 chars.
8839
8840 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * emacs-lisp/easy-mmode.el (define-minor-mode):
8843 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8844 mode hook and provide a docstring.
8845
8846 2013-05-27 Alan Mackenzie <acm@muc.de>
8847
8848 Remove spurious syntax-table text properties inserted by C-y.
8849 * progmodes/cc-mode.el (c-after-change): Also clear hard
8850 syntax-table property with value nil.
8851
8852 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8853
8854 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8855 when reading the events; the buffer layout shall not be changed.
8856
8857 2013-05-27 Leo Liu <sdl.web@gmail.com>
8858
8859 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8860 New variable.
8861 (inferior-octave-directory-tracker): Automatically re-sync
8862 default-directory.
8863 (octave-help): Improve handling of 'See also'.
8864
8865 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * doc-view.el: Minor naming convention tweaks.
8868 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8869
8870 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8871 even if there's no `display' property yet (bug#14435).
8872
8873 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8874
8875 * subr.el (unmsys--file-name): Rename from reveal-filename.
8876
8877 * Makefile.in (custom-deps, finder-data, autoloads)
8878 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8879 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8880 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8881
8882 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8885 error-completion on the first 2 args of condition-case (bug#14446).
8886 Don't burp at EOB.
8887
8888 2013-05-25 Leo Liu <sdl.web@gmail.com>
8889
8890 * comint.el (comint-previous-matching-input): Do not flood the
8891 *Messages* buffer with trivial messages.
8892
8893 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * progmodes/flymake.el (flymake-nop): Don't return a string.
8896 (flymake-set-at): Fix typo.
8897
8898 * simple.el (read--expression): New function, extracted from
8899 eval-expression. Set completion-at-point-functions (bug#14465).
8900 (eval-expression, eval-minibuffer): Use it.
8901
8902 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8903
8904 * progmodes/flymake.el (flymake-save-buffer-in-file)
8905 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8906 (flymake-selected-frame, flymake-log, flymake-ins-after)
8907 (flymake-set-at, flymake-get-buildfile-from-cache)
8908 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8909 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8910 Refine the doc string.
8911 (flymake-get-file-name-mode-and-masks): Reformat.
8912 (flymake-get-real-file-name-function): Fix a minor bug.
8913
8914 2013-05-24 Juri Linkov <juri@jurta.org>
8915
8916 * progmodes/grep.el (grep-mode-font-lock-keywords):
8917 Support =linenumber= format used by git-grep for lines with
8918 function names. (Bug#13549)
8919
8920 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8923 0 after a semi-colon; it works better for smie-auto-fill.
8924 (octave--indent-new-comment-line): New function.
8925 (octave-indent-new-comment-line): Use it (indirectly).
8926 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8927 modify comment-line-break-function.
8928
8929 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8930 (smie-setup): Use add-function to set it.
8931
8932 2013-05-24 Sam Steingold <sds@gnu.org>
8933
8934 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8935 argument (before the `interactive' argument).
8936
8937 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 * image-mode.el (image-mode-winprops): Add winprops to
8940 image-mode-winprops-alist before running
8941 image-mode-new-window-functions.
8942 * doc-view.el (doc-view-new-window-function): Don't delay
8943 doc-view-goto-page via timers (bug#14435).
8944
8945 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8946
8947 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8948 (doc-view-desktop-save-buffer): New function.
8949 (doc-view-restore-desktop-buffer): New function.
8950 (desktop-buffer-mode-handlers):
8951 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8952 handler.
8953 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8954 `desktop-save-buffer' function.
8955
8956 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8957
8958 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8959 (tramp-gvfs-file-name-handler): Raise a user error when
8960 `tramp-gvfs-enabled' is nil.
8961 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8962 Do not raise a user error when loading package. (Bug#14447)
8963
8964 * net/xesam.el: Move to obsolete/.
8965
8966 2013-05-24 Glenn Morris <rgm@gnu.org>
8967
8968 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8969
8970 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8971
8972 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8973 (Info-find-node, Man-getpage-in-background): Declare.
8974
8975 * mail/unrmail.el (unrmail):
8976 Replace obsolete detect-coding-with-priority.
8977
8978 * net/socks.el (socks-split-string): Use this rather than split-string.
8979 (socks-nslookup-host): Update for above change.
8980 (dynamic-choice, s5-dynamic-choice-match)
8981 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8982 Comment out unused code.
8983
8984 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8985 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8986 (gud-tooltip-echo-area): Make obsolete.
8987 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8988
8989 * progmodes/js.el (js--optimize-arglist): Declare.
8990
8991 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8992
8993 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8994 (ediff-window-C): Declare.
8995
8996 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8997 Tweak requires to silence compiler.
8998
8999 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9000 (he-search-string, he-tried-table, he-expand-list)
9001 (he-init-string, he-string-member, he-substitute-string)
9002 (he-reset-string): Declare.
9003
9004 * obsolete/options.el (list-options): Use custom-variable-p,
9005 rather than obsolete alias.
9006
9007 2013-05-23 Sam Steingold <sds@gnu.org>
9008
9009 * simple.el (shell-command-on-region): Pass the `replace' argument
9010 down to `call-process-region' to comply with the doc as reported on
9011 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9012
9013 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * emacs-lisp/smie.el (smie-indent-forward-token)
9016 (smie-indent-backward-token): Handle string tokens (bug#14381).
9017
9018 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9019
9020 * ielm.el (ielm-menu): New menu.
9021 (inferior-emacs-lisp-mode): Set comment-start.
9022
9023 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9024
9025 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9026 Fix deactivate action.
9027
9028 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9029 Add cleveref macros.
9030
9031 * lisp/textmodes/reftex-parse.el
9032 (reftex-locate-bibliography-files): Accept options for
9033 bibliography commands.
9034 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9035 Add addbibresource. Basic Biblatex support.
9036
9037 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9038
9039 * net/tramp-gvfs.el (top):
9040 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9041 when loading package. (Bug#14447)
9042
9043 2013-05-23 Glenn Morris <rgm@gnu.org>
9044
9045 * progmodes/js.el: No need to load comint when compiling.
9046 (ring-insert, comint-send-string, comint-send-input)
9047 (comint-last-input-end, ido-chop): Declare.
9048
9049 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9050 * vc/ediff-mult.el: Adjust requires.
9051 (ediff-directories-internal, ediff-directory-revisions-internal)
9052 (ediff-patch-file-internal): Declare.
9053 * vc/ediff-ptch.el: Adjust requires.
9054 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9055 (ediff-find-file): Autoload.
9056 * vc/ediff-util.el: No need to load ediff when compiling.
9057 (ediff-regions-internal): Declare.
9058 * vc/ediff-wind.el: Adjust requires.
9059 (ediff-compute-toolbar-width): Define when compiling.
9060 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9061 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9062 (dired-get-filename, dired-get-marked-files)
9063 (ediff-last-dir-patch, ediff-patch-default-directory)
9064 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9065 (ediff-patch-buffer-internal): Declare.
9066
9067 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9068 (ispell-process, ispell-buffer-local-words, lm-summary)
9069 (lm-section-start, lm-section-end): Declare.
9070 (checkdoc-ispell-init): Simplify.
9071
9072 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9073 (he-string-member, he-reset-string, he-substitute-string): Declare.
9074
9075 * eshell/em-ls.el: Adjust requires.
9076 (eshell-glob-regexp): Declare.
9077 * eshell/em-tramp.el: Adjust requires.
9078 (eshell-parse-command): Autoload.
9079 * eshell/em-xtra.el: Adjust requires.
9080 (eshell-parse-command): Autoload.
9081 * eshell/esh-ext.el: Adjust requires.
9082 (eshell-parse-command, eshell-close-handles): Autoload.
9083 * eshell/esh-io.el: Adjust requires.
9084 (eshell-output-filter): Autoload.
9085 * eshell/esh-util.el: No need to load tramp when compiling.
9086 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9087 Declare.
9088 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9089 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9090 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9091 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9092 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9093 * eshell/esh-opt.el, eshell/esh-proc.el:
9094 * eshell/esh-var.el: Adjust requires.
9095 * eshell/eshell.el: Do not require esh-util twice.
9096 (eshell-add-input-to-history): Declare.
9097 (eshell-command): Check history module is active before using it.
9098
9099 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9100
9101 2013-05-22 Leo Liu <sdl.web@gmail.com>
9102
9103 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9104
9105 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9106
9107 * autorevert.el (auto-revert-notify-add-watch)
9108 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9109 it indicates changes in file modification time.
9110
9111 2013-05-22 Glenn Morris <rgm@gnu.org>
9112
9113 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9114 Always delete the autoloaded function from the noruntime and
9115 unresolved functions lists.
9116
9117 * allout.el: No need to load epa, epg, overlay when compiling.
9118 (epg-context-set-passphrase-callback, epg-list-keys)
9119 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9120 (epg-key-user-id-list): Declare.
9121
9122 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9123 (viper-set-parsing-style-toggling-macro)
9124 (viper-set-emacs-state-searchstyle-macros):
9125 Use called-interactively-p on Emacs.
9126 (viper-looking-back): Make it an obsolete alias. Update callers.
9127 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9128 Use looking-back rather than viper-looking-back.
9129 (viper-tmp-insert-at-eob, viper-enlarge-region)
9130 (viper-read-string-with-history, viper-register-to-point)
9131 (viper-append-to-register, viper-change-state-to-vi)
9132 (viper-backward-char-carefully, viper-forward-char-carefully)
9133 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9134 (viper-change-state-to-emacs): Declare.
9135 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9136 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9137 * emulation/viper-mous.el: Do not load viper-cmd.
9138 (viper-backward-char-carefully, viper-forward-char-carefully)
9139 (viper-forward-word, viper-adjust-window): Declare.
9140
9141 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9142
9143 * progmodes/idlw-help.el (idlwave-help-fontify):
9144 Use called-interactively-p.
9145
9146 * term/w32console.el (w32-get-console-codepage)
9147 (w32-get-console-output-codepage): Declare.
9148
9149 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9150 Remove unnecessary declarations.
9151 (dframe-message): Doc fix.
9152
9153 * info.el (dframe-select-attached-frame, dframe-current-frame):
9154 Declare.
9155
9156 * speedbar.el (speedbar-message): Make it an obsolete alias.
9157 Update all callers.
9158 (speedbar-with-attached-buffer)
9159 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9160 (speedbar-with-writable): Use backquote.
9161 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9162 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9163 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9164 rather than speedbar- aliases.
9165 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9166 (speedbar-make-specialized-keymap, speedbar-insert-button)
9167 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9168 (speedbar-do-function-pointer): Declare.
9169 (rmail-speedbar-button, rmail-speedbar-find-file)
9170 (rmail-speedbar-move-message):
9171 Use dframe-with-attached-buffer rather than speedbar- alias.
9172 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9173 (dframe-message, speedbar-make-specialized-keymap)
9174 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9175 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9176 (speedbar-insert-button, dframe-select-attached-frame)
9177 (dframe-maybee-jump-to-attached-frame)
9178 (speedbar-change-initial-expansion-list)
9179 (speedbar-previously-used-expansion-list-name): Declare.
9180 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9181 Use dframe-message, dframe-with-attached-buffer rather than
9182 speedbar- aliases.
9183 (gud-sentinel): Silence compiler.
9184 * progmodes/vhdl-mode.el (speedbar-refresh)
9185 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9186 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9187 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9188 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9189 (speedbar-file-lists, speedbar-make-tag-line)
9190 (speedbar-line-directory, speedbar-goto-this-file)
9191 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9192 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9193 (speedbar-make-button, speedbar-reset-scanners)
9194 (speedbar-files-item-info, speedbar-line-text)
9195 (speedbar-find-file-in-frame, speedbar-set-timer)
9196 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9197 (speedbar-with-writable): Do not (re)define it.
9198 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9199 rather than speedbar- alias.
9200
9201 2013-05-21 Leo Liu <sdl.web@gmail.com>
9202
9203 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9204 menu items.
9205 (octave-mode): Tweak fill-nobreak-predicate.
9206 (inferior-octave-startup): Check process to avoid infinite loop.
9207 (inferior-octave): Pop to buffer first to show abornmal process
9208 exit information.
9209
9210 2013-05-21 Glenn Morris <rgm@gnu.org>
9211
9212 * printing.el (pr-menu-bar): Define when compiling.
9213
9214 2013-05-21 Leo Liu <sdl.web@gmail.com>
9215
9216 * progmodes/octave.el (octave-auto-fill): Remove.
9217 (octave-indent-new-comment-line): Improve.
9218 (octave-mode): Use auto fill mode through
9219 comment-line-break-function and fill-nobreak-predicate.
9220 (octave-goto-function-definition): Support DEFUN_DLD.
9221 (octave-beginning-of-defun): Small tweak.
9222 (octave-help): Show parent directory.
9223
9224 2013-05-21 Glenn Morris <rgm@gnu.org>
9225
9226 * files.el (dired-unmark):
9227 * progmodes/gud.el (gdb-input): Update declarations.
9228
9229 * calculator.el (electric, ehelp): No need to load when compiling.
9230 (Electric-command-loop, electric-describe-mode): Declare.
9231
9232 * doc-view.el (doc-view-current-converter-processes): Move before use.
9233
9234 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9235 Move MODE-set-explicitly definition before use.
9236
9237 * international/mule-diag.el (mule-diag):
9238 Don't use obsolete window-system-version.
9239
9240 * mail/feedmail.el (smtpmail): No need to load when compiling.
9241 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9242
9243 * mail/mail-utils.el (rfc822): No need to load when compiling.
9244 (rfc822-addresses): Autoload it.
9245 (mail-strip-quoted-names): Trivial simplification.
9246
9247 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9248 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9249
9250 * net/snmp-mode.el (tempo): Don't duplicate requires.
9251
9252 * progmodes/prolog.el (info): No need to load when compiling.
9253 (comint): Require before shell requires it.
9254 (Info-goto-node): Autoload it.
9255 (Info-follow-nearest-node): Declare.
9256 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9257
9258 * textmodes/artist.el (picture-mode-exit): Declare.
9259
9260 * textmodes/reftex-parse.el (reftex-parse-from-file):
9261 Trivial rewrite so the compiler can parse it better.
9262
9263 2013-05-20 Leo Liu <sdl.web@gmail.com>
9264
9265 * progmodes/octave.el (octave-help-mode-map)
9266 (octave-help-mode-finish-hook): New variables.
9267 (octave-help-mode, octave-help-mode-finish): New functions.
9268 (octave-help): Use octave-help-mode.
9269
9270 2013-05-20 Glenn Morris <rgm@gnu.org>
9271
9272 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9273
9274 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9275
9276 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9277 start at point, so that expansion starting right after opening
9278 slash in a regexp is recognized.
9279 (ruby-syntax-before-regexp-re): New defvar, extracted from
9280 ruby-syntax-propertize-function. Since the value of this regexp
9281 is looked up at runtime now, we should be able to turn
9282 `ruby-syntax-methods-before-regexp' into a defcustom later.
9283 (ruby-syntax-propertize-function): Split regexp matching into two
9284 parts, for opening and closing slashes. That allows us to skip
9285 over string interpolations and support multiline regexps.
9286 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9287 for them, which calls `ruby-syntax-propertize-expansion'.
9288 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9289 call to `ruby-syntax-propertize-function'.
9290 (ruby-syntax-propertize-expansion): Extracted from
9291 `ruby-syntax-propertize-expansions'. Handles one expansion.
9292 (ruby-syntax-propertize-percent-literal): Leave point right after
9293 the percent symbol, so that the expression expansion rule can
9294 propertize the contents.
9295 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9296 heredoc openers.
9297 (ruby-syntax-propertize-expansions): Remove.
9298
9299 2013-05-18 Juri Linkov <juri@jurta.org>
9300
9301 * man.el (Man-default-man-entry): Remove `-' from the end
9302 of the default value. (Bug#14400)
9303
9304 2013-05-18 Glenn Morris <rgm@gnu.org>
9305
9306 * comint.el (comint-password-prompt-regexp):
9307 Allow "password for XXX" where XXX contains colons (eg https://...).
9308
9309 2013-05-18 Leo Liu <sdl.web@gmail.com>
9310
9311 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9312 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9313 (octave-source-directories): Don't check process.
9314 (octave-source-directories, octave-find-definition): Doc fix.
9315
9316 2013-05-18 Glenn Morris <rgm@gnu.org>
9317
9318 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9319 Remove backspace/delete bindings. (Bug#14392)
9320
9321 * cus-dep.el (custom-make-dependencies): Sort the output.
9322 (custom-versions-load-alist): Convert comment to doc.
9323
9324 2013-05-17 Leo Liu <sdl.web@gmail.com>
9325
9326 * newcomment.el (comment-search-backward): Stricter in finding
9327 comment start. (Bug#14303)
9328
9329 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9330 (octave-comment-start-skip): Properly anchored.
9331
9332 2013-05-17 Leo Liu <sdl.web@gmail.com>
9333
9334 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9335 Clean up when turned off. (Bug#14395)
9336 (smie--highlight-matching-block-overlay): No longer buffer-local.
9337 (smie-highlight-matching-block): Adjust.
9338
9339 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9340
9341 Doc string fix for "nanoseconds" (Bug#14406).
9342 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9343 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9344
9345 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9346
9347 * calc/calc-units.el (math-extract-units): Preserve powers
9348 of units.
9349
9350 2013-05-17 Leo Liu <sdl.web@gmail.com>
9351
9352 * subr.el (delete-consecutive-dups): New function.
9353 * ido.el (ido-set-matches-1): Use it.
9354 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9355 * ido.el (ido-remove-consecutive-dups): Remove.
9356
9357 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9360 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9361 regexp-opt's `words'.
9362
9363 2013-05-16 Leo Liu <sdl.web@gmail.com>
9364
9365 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9366 (smie--highlight-matching-block-overlay)
9367 (smie--highlight-matching-block-lastpos)
9368 (smie--highlight-matching-block-timer): New variables.
9369 (smie-highlight-matching-block): New function.
9370 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9371 (smie-setup): Conditionally enable smie-blink-matching-open.
9372
9373 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9374
9375 Sync with upstream verilog-mode r840.
9376 * progmodes/verilog-mode.el (verilog-mode-version)
9377 (verilog-mode-release-date): Update.
9378 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9379 (verilog-sig-tieoff): Fix string error on
9380 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9381 (verilog-read-decls): Fix parameters confusing
9382 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9383
9384 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9385
9386 * subr.el (reveal-filename): New function.
9387
9388 * loadup.el: Compute Emacs executable versions on MS-Windows,
9389 where executables have the .exe extension. Add a hard link
9390 emacs-XX.YY.ZZ.exe on MS-Windows.
9391
9392 * Makefile.in (XARGS_LIMIT): New variable.
9393 (custom-deps, finder-data, autoloads)
9394 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9395 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9396 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9397 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9398
9399 2013-05-16 Leo Liu <sdl.web@gmail.com>
9400
9401 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9402 (octave-mode-menu, octave-mode-map): Remove its uses.
9403
9404 2013-05-16 Reto Zimmermann <reto@gnu.org>
9405
9406 Sync with upstream vhdl mode v3.34.2.
9407 * progmodes/vhdl-mode.el: Use `push' throughout.
9408 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9409 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9410 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9411 (vhdl-actual-generic-name): New option to derive actual generic name.
9412 (vhdl-port-paste-signals): Replace formal by actual generics.
9413 (vhdl-beautify): New name for old group vhdl-align. Update users.
9414 (vhdl-beautify-options): New option.
9415 (vhdl-last-input-event): New compat alias. Use throughout.
9416 (vhdl-goto-line): Replace user level function `goto-line'.
9417 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9418 vhdl-fix-statement-buffer.
9419 (vhdl-create-mode-menu): Add some entries.
9420 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9421 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9422 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9423 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9424 to force statements on one line.
9425 (vhdl-remove-trailing-spaces-region):
9426 New, split from vhdl-remove-trailing-spaces.
9427 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9428 Respect vhdl-beautify-options.
9429 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9430 (vhdl-update-sensitivity-list): Not add with index if exists without.
9431 Not include array index with signal. Ignore keywords in comments.
9432 (vhdl-get-visible-signals): Regexp tweaks.
9433 (vhdl-template-component-inst): Handle empty library.
9434 (vhdl-template-type): Add template for 'enum' type.
9435 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9436 Use vhdl-replace-string.
9437 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9438 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9439 (vhdl-speedbar-initialize): Update for above name change.
9440 (vhdl-compose-wire-components): Fix in handling of constants.
9441 (vhdl-error-regexp-emacs-alist): New variable.
9442 (vhdl-error-regexp-add-emacs): New function;
9443 adds support for new compile.el (Emacs 22+)
9444 (vhdl-generate-makefile-1): Change target order for single lib. units.
9445 Allow use of absolute file names.
9446
9447 2013-05-16 Leo Liu <sdl.web@gmail.com>
9448
9449 * simple.el (prog-indent-sexp): Indent enclosing defun.
9450
9451 2013-05-15 Glenn Morris <rgm@gnu.org>
9452
9453 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9454 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9455 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9456 (whitespace-highlight): Move to whitespace group.
9457
9458 * comint.el (comint-source):
9459 * pcmpl-linux.el (pcmpl-linux):
9460 * shell.el (shell-faces):
9461 * eshell/esh-opt.el (eshell-opt):
9462 * international/ccl.el (ccl): Remove empty custom groups.
9463
9464 * completion.el (dynamic-completion-mode):
9465 * jit-lock.el (jit-lock-debug-mode):
9466 * minibuffer.el (completion-in-region-mode):
9467 * type-break.el (type-break-mode-line-message-mode)
9468 (type-break-query-mode):
9469 * emulation/tpu-edt.el (tpu-edt-mode):
9470 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9471 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9472 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9473
9474 * term/xterm.el (xterm): Change parent group to terminals.
9475
9476 * master.el (master): Remove empty custom group.
9477 (master-mode): Remove unused :group argument.
9478 * textmodes/refill.el (refill): Remove empty custom group.
9479 (refill-mode): Remove unused :group argument.
9480
9481 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9482
9483 * cus-dep.el: Provide a feature.
9484 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9485 Don't mistakenly ignore files whose basenames match a basename
9486 from preloaded-file-list (eg cedet/ede/simple.el).
9487 Add a fallback method for getting :group.
9488
9489 2013-05-15 Juri Linkov <juri@jurta.org>
9490
9491 * isearch.el (isearch-char-by-name): Rename from
9492 `isearch-insert-char-by-name'. Doc fix.
9493 (isearch-forward): Mention `isearch-char-by-name' in
9494 the docstring. (Bug#13348)
9495
9496 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9497 `exit-minibuffer' instead of
9498 `isearch-nonincremental-exit-minibuffer'.
9499 (isearch-edit-string): Remove mention of
9500 `isearch-nonincremental-exit-minibuffer' from docstring.
9501 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9502 (isearch-forward-exit-minibuffer)
9503 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9504
9505 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * loadup.el: Just use unversioned DOC.
9508
9509 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9510 literals as extending to EOB.
9511 (nxml-last-fontify-end): Remove unused variable.
9512 (nxml-after-change1): Use with-silent-modifications.
9513 (nxml-extend-after-change-region): Simplify.
9514 (nxml-extend-after-change-region1): Remove function.
9515 (nxml-after-change1): Don't adjust for dependent regions.
9516 (nxml-fontify-matcher): Simplify.
9517 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9518 (xmltok-add-dependent): Remove function.
9519 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9520 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9521 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9522 unclosed <[[, <?, comment, and other literals as extending to EOB.
9523 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9524 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9525 Remove functions.
9526 (rng-do-some-validation-1): Don't mark dependent regions.
9527 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9528 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9529 (nxml-clear-dependent-regions): Remove functions.
9530 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9531 (nxml-ensure-scan-up-to-date):
9532 Don't clear&mark dependent regions.
9533
9534 2013-05-15 Leo Liu <sdl.web@gmail.com>
9535
9536 * progmodes/octave.el (octave-goto-function-definition):
9537 Improve and fix callers.
9538
9539 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9542 the setter (bug#14387).
9543
9544 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9545 surrounding group (bug#14402).
9546
9547 2013-05-14 Juri Linkov <juri@jurta.org>
9548
9549 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9550 (Bug#14390)
9551
9552 2013-05-14 Glenn Morris <rgm@gnu.org>
9553
9554 * progmodes/f90.el (f90-imenu-generic-expression):
9555 Fix typo in 2013-05-08 change. (Bug#14402)
9556
9557 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9558
9559 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9560 Remove signals for which replies are never received.
9561
9562 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9563
9564 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9565 (gdb-handler-alist, gdb-handler-number): Remove variables.
9566 (gdb-handler-list): New variable.
9567 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9568 (gdb-pending-handler-p, gdb-handle-reply)
9569 (gdb-remove-all-pending-triggers): New functions.
9570 (gdb-discard-unordered-replies): New defcustom.
9571 (gdb-handler): New defstruct.
9572 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9573 instead of gdb-pending-triggers. Update docstring.
9574 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9575 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9576 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9577 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9578 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9579 (gdb-frame-handler): Pending triggers are now automatically managed.
9580 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9581 Remove argument.
9582 (gdb-input): Automatically handles pending triggers. Update docstring.
9583 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9584 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9585 Update comments.
9586 (gdb-done-or-error): Now use gdb-handle-reply.
9587
9588 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9589
9590 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9591 gdb-debug-log.
9592
9593 2013-05-14 Glenn Morris <rgm@gnu.org>
9594
9595 * subr.el (user-emacs-directory-warning): New option.
9596 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9597
9598 2013-05-14 Leo Liu <sdl.web@gmail.com>
9599
9600 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9601 during redisplay.
9602 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9603 (octave-font-lock-texinfo-comment): Fix invalid search bound
9604 error: wrong side of point.
9605
9606 2013-05-14 Glenn Morris <rgm@gnu.org>
9607
9608 * progmodes/flymake.el (flymake-xml-program): New option.
9609 (flymake-xml-init): Use it.
9610
9611 * term/xterm.el: Provide a feature.
9612
9613 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9614
9615 2013-05-13 Glenn Morris <rgm@gnu.org>
9616
9617 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9618 Add compat aliases as a hack workaround. (Bug#14384)
9619
9620 2013-05-13 Leo Liu <sdl.web@gmail.com>
9621
9622 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9623 ###, and %!.
9624 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9625 C-M-q.
9626 (octave-comment-start-skip): Include %!.
9627 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9628
9629 2013-05-12 Leo Liu <sdl.web@gmail.com>
9630
9631 * progmodes/octave.el (inferior-octave-startup): Store the value
9632 of __octave_srcdir__ for octave-source-directories.
9633 (inferior-octave-check-process): New function refactored out of
9634 inferior-octave-send-list-and-digest.
9635 (octave-source-directories)
9636 (octave-find-definition-filename-function): New variables.
9637 (octave-source-directories)
9638 (octave-find-definition-default-filename): New functions.
9639 (octave-find-definition): Improve to find functions implemented in C++.
9640
9641 2013-05-12 Glenn Morris <rgm@gnu.org>
9642
9643 * calendar/diary-lib.el (diary-outlook-format-1):
9644 Don't include dayname in the output. (Bug#14349)
9645
9646 2013-05-11 Glenn Morris <rgm@gnu.org>
9647
9648 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9649
9650 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9651 Treat cc-provide like provide.
9652
9653 2013-05-11 Kevin Ryde <user42@zip.com.au>
9654
9655 * cus-dep.el (custom-make-dependencies):
9656 Use generated-autoload-load-name for the sake of files such
9657 such cedet/semantic/bovine/c.el, where the base file name
9658 is not in load-path. (Bug#5277)
9659
9660 2013-05-11 Glenn Morris <rgm@gnu.org>
9661
9662 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9663 Provide features.
9664
9665 2013-05-11 Leo Liu <sdl.web@gmail.com>
9666
9667 * progmodes/octave.el (octave-indent-comment): Improve.
9668 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9669 (octave-eldoc-function-signatures, octave-eldoc-function):
9670 New functions.
9671 (octave-mode, inferior-octave-mode): Add eldoc support.
9672
9673 2013-05-11 Richard Stallman <rms@gnu.org>
9674
9675 * epa.el (epa-decrypt-file): Take output file name as argument
9676 and read it using `interactive'.
9677
9678 2013-05-11 Leo Liu <sdl.web@gmail.com>
9679
9680 * progmodes/octave.el (octave-beginning-of-line)
9681 (octave-end-of-line): Check before using up-list because it jumps
9682 out of more syntactic contructs since moving to smie.
9683 (octave-indent-comment): New function.
9684 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9685 (octave-begin-keywords, octave-end-keywords)
9686 (octave-reserved-words, octave-smie-bnf-table)
9687 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9688
9689 2013-05-11 Glenn Morris <rgm@gnu.org>
9690
9691 * faces.el (internal-face-x-get-resource):
9692 * frame.el (ns-display-monitor-attributes-list):
9693 * calc/calc-aent.el (math-to-radians-2):
9694 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9695 Fix declarations.
9696
9697 * calc/calc-menu.el: Make it loadable in isolation.
9698
9699 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9700 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9701 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9702 (eudc-bbdb-query-internal): Require 'bbdb.
9703
9704 * lpr.el (lpr-headers-switches):
9705 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9706
9707 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9708
9709 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9710
9711 * term.el (term-set-escape-char): Make it idempotent.
9712
9713 2013-05-10 Leo Liu <sdl.web@gmail.com>
9714
9715 * progmodes/octave.el (inferior-octave-completion-table):
9716 No longer a function and all uses changed. Use cache to speed up
9717 completion due to bug#11906.
9718 (octave-beginning-of-defun): Re-write to be more general.
9719
9720 2013-05-10 Glenn Morris <rgm@gnu.org>
9721
9722 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9723
9724 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * comint.el (comint-redirect-send-command-to-process): Use :around
9727 rather than :override for comint-redirect-filter.
9728 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9729 Call it instead of comint-redirect-original-filter-function (which
9730 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9731
9732 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9733
9734 * frame.el (display-monitor-attributes-list): Add NS case.
9735 (ns-display-monitor-attributes-list): Declare.
9736
9737 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9738
9739 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9740
9741 2013-05-09 Glenn Morris <rgm@gnu.org>
9742
9743 * international/fontset.el (vertical-centering-font-regexp):
9744 Set standard-value.
9745
9746 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9747
9748 * bookmark.el (bookmark-search-delay):
9749 * cus-start.el (vertical-centering-font-regexp):
9750 * ps-mule.el (ps-mule-font-info-database-default):
9751 * ps-print.el (ps-default-fg, ps-default-bg):
9752 * type-break.el (type-break-good-break-interval):
9753 * whitespace.el (whitespace-indentation-regexp)
9754 (whitespace-space-after-tab-regexp):
9755 * emacs-lisp/testcover.el (testcover-1value-functions)
9756 (testcover-noreturn-functions, testcover-progn-functions)
9757 (testcover-prog1-functions):
9758 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9759 * eshell/em-glob.el (eshell-glob-translate-alist):
9760 * play/tetris.el (tetris-tty-colors):
9761 * progmodes/cpp.el (cpp-face-default-list):
9762 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9763 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9764 (idlwave-help-browser-generic-args):
9765 * progmodes/make-mode.el (makefile-special-targets-list):
9766 * progmodes/python.el (python-shell-virtualenv-path):
9767 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9768 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9769 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9770 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9771 * textmodes/reftex-vars.el (reftex-format-label-function):
9772 * textmodes/remember.el (remember-diary-file): Fix custom types.
9773
9774 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9775 Add :version.
9776
9777 2013-05-09 Leo Liu <sdl.web@gmail.com>
9778
9779 * progmodes/octave.el (inferior-octave-completion-at-point):
9780 Restore file completion. (Bug#14300)
9781 (inferior-octave-startup): Fix incorrect highlighting for the
9782 first prompt.
9783
9784 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * progmodes/ruby-mode.el: First cut at SMIE support.
9787 (ruby-use-smie): New var.
9788 (ruby-smie-grammar): New constant.
9789 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9790 (ruby-smie--forward-token, ruby-smie--backward-token)
9791 (ruby-smie-rules): New functions.
9792 (ruby-mode-variables): Setup SMIE if applicable.
9793
9794 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9795
9796 * simple.el (line-move-visual): Signal beginning/end of buffer
9797 only if vertical-motion moved less than it was requested. Avoids
9798 silly incorrect error messages when there are display strings with
9799 multiple newlines at EOL.
9800
9801 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9804 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9805 (prolog-char-quote-workaround):
9806 * progmodes/cperl-mode.el (cperl-under-as-char):
9807 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9808 Mark as obsolete.
9809 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9810 their declaration.
9811 (vhdl-mode-syntax-table-init): Remove.
9812
9813 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9814 last change.
9815
9816 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9817 syntax for "_".
9818 (ld-script-font-lock-keywords):
9819 Change regexps to use things like \_< and \_>.
9820
9821 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9822 Change all regexps to use things like \_< and \_>.
9823
9824 * progmodes/autoconf.el (autoconf-definition-regexp)
9825 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9826 Handle a _ with symbol syntax.
9827 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9828
9829 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9830 Consolidate declaration.
9831 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9832 the declaration.
9833 (ada-create-syntax-table): Remove.
9834 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9835 already has the right syntax nowadays.
9836 (ada-goto-next-word): Don't change the syntax of "_".
9837
9838 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9839 with-wrapper-hook.
9840
9841 2013-05-08 Sam Steingold <sds@gnu.org>
9842
9843 * thingatpt.el (thing-at-point): Accept optional second argument
9844 NO-PROPERTIES to strip the text properties from the return value.
9845 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9846 to `thing-at-point' instead of stripping the properties ourselves.
9847 Also, when `thing-at-point' fails to find a url, prepend "http://"
9848 to the filename at point on the assumption that the user is
9849 pointing at something like gnu.org/gnu.
9850
9851 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9852
9853 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9854 * faces.el (crm-separator):
9855 Silence byte-compiler.
9856
9857 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9858 (tool-bar-map): Remove unneeded defvars.
9859
9860 2013-05-08 Leo Liu <sdl.web@gmail.com>
9861
9862 Re-work a fix for bug#10994 based on Le Wang's patch.
9863 * ido.el (ido-remove-consecutive-dups): New helper.
9864 (ido-completing-read): Use it.
9865 (ido-chop): Revert fix for bug#10994.
9866
9867 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9868
9869 * cus-edit.el (custom-save-variables):
9870 Pretty-print long values. (Bug#14187)
9871
9872 2013-05-08 Glenn Morris <rgm@gnu.org>
9873
9874 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9875 (m4-mode-syntax-table): Init in the defvar.
9876 (m4-mode-abbrev-table): Let define-derived-mode define it.
9877
9878 2013-05-08 Tom Tromey <tromey@redhat.com>
9879
9880 * progmodes/m4-mode.el (m4-mode-syntax-table):
9881 Do not treat "_" as word constituent. (Bug#14167)
9882
9883 2013-05-07 Glenn Morris <rgm@gnu.org>
9884
9885 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9886 Remove explicit eshell-isearch-cancel-map.
9887
9888 * progmodes/f90.el (f90-smart-end-names): New option.
9889 (f90-smart-end): Doc fix.
9890 (f90-end-block-optional-name): New constant.
9891 (f90-block-match): Respect f90-smart-end-names.
9892
9893 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9896 about implicit semi-colons (bug#14218).
9897
9898 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9899
9900 * frame.el (display-monitor-attributes-list)
9901 (frame-monitor-attributes): New functions.
9902
9903 2013-05-06 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave.el (octave-syntax-propertize-function): Change
9906 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9907 (octave-font-lock-keywords): Use octave-operator-regexp.
9908 (octave-completion-at-point): Rename from
9909 octave-completion-at-point-function.
9910 (inferior-octave-directory-tracker): Robustify.
9911 (octave-text-functions): Remove and fix its uses. No such things
9912 any more.
9913
9914 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * emacs-lisp/trace.el (trace--display-buffer): New function.
9917 (trace-make-advice): Use it.
9918
9919 2013-05-06 Juri Linkov <juri@jurta.org>
9920
9921 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9922 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9923 Doc fix.
9924 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9925 in the help string. (Bug#12985)
9926
9927 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9928
9929 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9930
9931 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * progmodes/perl-mode.el: Add support for here documents.
9934 (perl-syntax-propertize-function): Match here-doc markers.
9935 (perl-syntax-propertize-special-constructs): Find their end.
9936 (perl-imenu-generic-expression): Use [:alnum:].
9937
9938 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9939 (advice--add-function): Refresh the advice if already present
9940 (bug#14317).
9941
9942 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9943
9944 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9945
9946 2013-05-06 Glenn Morris <rgm@gnu.org>
9947
9948 * w32-fns.el (w32-charset-info-alist): Declare.
9949
9950 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9951 of its defcustom properties.
9952 (eshell-cmpl-initialize): No need to load pcomplete.
9953
9954 * generic-x.el: No need to require comint when compiling.
9955
9956 * net/eudc-export.el: Make it loadable without bbdb.
9957 (top-level): Use require rather than load-library.
9958 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9959 (eudc-batch-export-records-to-bbdb)
9960 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9961 Require bbdb.
9962
9963 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9966 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9967 some tweaks, instead.
9968
9969 2013-05-05 Leo Liu <sdl.web@gmail.com>
9970
9971 * progmodes/octave.el (octave-font-lock-keywords)
9972 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9973 (inferior-octave-send-list-and-digest): Improve error message.
9974 (octave-mode, inferior-octave-mode): Use setq-local.
9975 (octave-help): Set info-lookup-mode.
9976
9977 2013-05-05 Richard Stallman <rms@gnu.org>
9978
9979 * vc/compare-w.el (compare-windows-whitespace):
9980 Treat no-break space as whitespace.
9981
9982 * mail/rmailsum.el (rmail-summary-rmail-update):
9983 Detect empty summary and don't change selected message.
9984 (rmail-summary-goto-msg): Likewise.
9985
9986 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9987 Doc fixes, rename args.
9988
9989 2013-05-05 Alan Mackenzie <acm@muc.de>
9990
9991 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9992
9993 2013-05-05 Juri Linkov <juri@jurta.org>
9994
9995 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9996 to not add the length of the summary segment to the return value.
9997 (Bug#14125)
9998
9999 2013-05-05 Leo Liu <sdl.web@gmail.com>
10000
10001 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10002 (inferior-octave-output-filter): Remove.
10003 (octave-send-region, inferior-octave-startup): Fix callers.
10004 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10005 (octave-binary-file-extensions): New user variable.
10006 (octave-find-definition): Confirm if opening binary files.
10007 (octave-help-file): Use octave-find-definition to get the binary
10008 confirmation.
10009 (octave-help): Adjust for octave-help-file change.
10010
10011 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10014 Merge the two entries that handle function definitions.
10015 (pascal--syntax-propertize): New const.
10016 (pascal-mode): Use it. Use setq-local.
10017
10018 2013-05-04 Glenn Morris <rgm@gnu.org>
10019
10020 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10021 (diary-from-outlook): Respect diary-from-outlook-function.
10022
10023 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10026 Move the declaration from C.
10027 (read-minibuffer, eval-minibuffer): Move from C.
10028 (completion-setup-function): Avoid minibuffer-completion-contents.
10029
10030 2013-05-03 Leo Liu <sdl.web@gmail.com>
10031
10032 * progmodes/octave.el (octave-font-lock-keywords): Do not
10033 dehighlight 'end' in comments or strings.
10034 (octave-completing-read, octave-goto-function-definition):
10035 New helpers.
10036 (octave-help-buffer): New user variable.
10037 (octave-help-file, octave-help-function): New button types.
10038 (octave-help): New command and bind it to C-h ;.
10039 (octave-find-definition): New command and bind it to M-.
10040 (user-error): Alias to error if not defined.
10041
10042 2013-05-02 Leo Liu <sdl.web@gmail.com>
10043
10044 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10045 for \. (bug#14332)
10046 (octave-font-lock-keywords): Include [ and {.
10047
10048 2013-05-02 Leo Liu <sdl.web@gmail.com>
10049
10050 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10051 (inferior-octave): Remove calling comint-mode and return the buffer.
10052 (inferior-octave-startup): Cosmetic changes.
10053
10054 2013-05-02 Leo Liu <sdl.web@gmail.com>
10055
10056 * progmodes/octave.el (octave-syntax-propertize-function):
10057 Include the case when ' is at line beginning. (Bug#14336)
10058
10059 2013-05-02 Glenn Morris <rgm@gnu.org>
10060
10061 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10062 * desktop.el (vc-dir-mode): Just autoload it here.
10063
10064 2013-05-02 Alan Mackenzie <acm@muc.de>
10065
10066 Eliminate variable c-standard-font-lock-fontify-region-function.
10067 * progmodes/cc-mode.el
10068 (c-standard-font-lock-fontify-region-function): Remove.
10069 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10070
10071 2013-05-01 Leo Liu <sdl.web@gmail.com>
10072
10073 * progmodes/octave.el: Compatible with older emacs-24 releases.
10074 (inferior-octave-has-built-in-variables): Remove. Built-in
10075 variables were removed from Octave in 2007.
10076 (inferior-octave-startup): Fix uses.
10077 (comint-line-beginning-position): Remove compatibility code for
10078 emacs 21.
10079
10080 2013-05-01 Juri Linkov <juri@jurta.org>
10081
10082 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10083
10084 2013-05-01 Juri Linkov <juri@jurta.org>
10085
10086 * comint.el (comint-previous-matching-input): Don't print message
10087 "History item: %d" when `isearch-mode' is active.
10088 (comint-history-isearch-message): Print message "History item: %d"
10089 when `comint-input-ring-index' is not empty and this function is
10090 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10091
10092 2013-05-01 Leo Liu <sdl.web@gmail.com>
10093
10094 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10095 definitions. Use completion-at-point to insert keywords.
10096 (octave-abbrev-start): Remove.
10097 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10098
10099 2013-04-30 Leo Liu <sdl.web@gmail.com>
10100
10101 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10102 change.
10103
10104 2013-04-30 Alan Mackenzie <acm@muc.de>
10105
10106 Handle arbitrarily long C++ member initialisation lists.
10107 * progmodes/cc-engine.el (c-back-over-member-initializers):
10108 new function.
10109 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10110 (most) member init lists.
10111
10112 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10113
10114 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10115 variable.
10116
10117 2013-04-30 Leo Liu <sdl.web@gmail.com>
10118
10119 * progmodes/octave.el (octave-variables): Remove. No builtin
10120 variables any more. All converted to functions.
10121 (octave-font-lock-keywords, octave-completion-at-point-function):
10122 Fix uses.
10123 (octave-font-lock-texinfo-comment): New user variable.
10124 (octave-texinfo-font-lock-keywords): New variable for texinfo
10125 comment block.
10126 (octave-function-comment-block): New face.
10127 (octave-font-lock-texinfo-comment): New function.
10128 (octave-mode): Font lock texinfo comment block.
10129
10130 2013-04-29 Leo Liu <sdl.web@gmail.com>
10131
10132 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10133 indexing expression.
10134 (octave-continuation-string): Do not use \.
10135 (inferior-octave-complete-impossible): Remove.
10136 (inferior-octave-completion-table)
10137 (inferior-octave-completion-at-point): Remove its uses.
10138 (inferior-octave-startup): completion_matches was introduced to
10139 Octave in 1996 so safe to assume it.
10140 (octave-function-file-comment): Improve to follow how Octave does it.
10141 (octave-update-function-file-comment): Tweak.
10142
10143 2013-04-29 Leo Liu <sdl.web@gmail.com>
10144
10145 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10146 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10147 (octave-function-file-comment): Fix typo.
10148 (octave-sync-function-file-names): Use read-char-choice.
10149
10150 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10151
10152 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10153 to t for the less important warnings.
10154
10155 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10156
10157 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10158
10159 2013-04-27 Glenn Morris <rgm@gnu.org>
10160
10161 * vc/log-view.el (log-view-current-entry):
10162 Treat "---" separator lines as part of the following rev. (Bug#14169)
10163
10164 2013-04-27 Juri Linkov <juri@jurta.org>
10165
10166 * subr.el (read-number): Doc fix about using it by interactive
10167 code letter `n'. (Bug#14254)
10168
10169 2013-04-27 Juri Linkov <juri@jurta.org>
10170
10171 * desktop.el (desktop-auto-save-timeout): New option.
10172 (desktop-file-checksum): New variable.
10173 (desktop-save): Add optional arg `auto-save' and don't auto-save
10174 if nothing changed.
10175 (desktop-auto-save-timer): New variable.
10176 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10177 (after-init-hook): Call `desktop-auto-save-set-timer'.
10178 Suggested by Reuben Thomas <rrt@sc3d.org> in
10179 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10180
10181 2013-04-27 Leo Liu <sdl.web@gmail.com>
10182
10183 * progmodes/octave.el (octave-function-file-p)
10184 (octave-skip-comment-forward, octave-function-file-comment)
10185 (octave-update-function-file-comment): New functions.
10186 (octave-mode-map): Bind C-c ; to
10187 octave-update-function-file-comment.
10188 (octave-mode-menu): Add octave-update-function-file-comment.
10189 (octave-mode, inferior-octave-mode): Fix doc-string.
10190 (octave-insert-defun): Conform to Octave's coding convention.
10191 (Bug#14285)
10192
10193 * files.el (basic-save-buffer): Don't let errors in
10194 before-save-hook prevent saving buffer.
10195
10196 2013-04-20 Roland Winkler <winkler@gnu.org>
10197
10198 * faces.el (read-face-name): Use completing-read if arg multiple
10199 is nil.
10200
10201 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10202
10203 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10204 displayed, move point to after the totals line.
10205 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10206 for the details.
10207
10208 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10211 Add current dir to the load-path.
10212 (package-generate-autoloads): Don't rely on
10213 autoload-ensure-default-file.
10214
10215 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10216
10217 * textmodes/remember.el (remember-store-in-files): Document that
10218 the file name format is passed to `format-time-string'.
10219
10220 2013-04-26 Leo Liu <sdl.web@gmail.com>
10221
10222 * progmodes/octave.el (octave-sync-function-file-names): New function.
10223 (octave-mode): Use it in before-save-hook.
10224
10225 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10228 (bug#14274).
10229
10230 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10231 \n and comment, even if it's not an implicit ; (bug#14218).
10232
10233 2013-04-26 Glenn Morris <rgm@gnu.org>
10234
10235 * subr.el (read-number): Once more use `read' rather than
10236 `string-to-number', to trap non-numeric input. (Bug#14254)
10237
10238 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10239
10240 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10241 Use `syntax-multiline' text property consistently instead of
10242 `font-lock-multiline'. (Bug#14237)
10243
10244 2013-04-26 Glenn Morris <rgm@gnu.org>
10245
10246 * emacs-lisp/shadow.el (list-load-path-shadows):
10247 No longer necessary to check for duplicate simple.el, since
10248 2012-07-07 change to init_lread to not include installation lisp
10249 directories in load-path when running uninstalled. (Bug#14270)
10250
10251 2013-04-26 Leo Liu <sdl.web@gmail.com>
10252
10253 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10254 (octave-mode, inferior-octave-mode): Use setq-local.
10255 (octave-not-in-string-or-comment-p): Rename to
10256 octave-in-string-or-comment-p.
10257 (octave-in-comment-p, octave-in-string-p)
10258 (octave-in-string-or-comment-p): Replace defsubst with defun.
10259
10260 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10261
10262 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10263
10264 2013-04-25 Bastien Guerry <bzg@gnu.org>
10265
10266 * textmodes/remember.el (remember-data-directory)
10267 (remember-directory-file-name-format): Fix custom types.
10268
10269 2013-04-25 Leo Liu <sdl.web@gmail.com>
10270
10271 * progmodes/octave.el (octave-completion-at-point-function):
10272 Make use of inferior octave process.
10273 (octave-initialize-completions): Remove.
10274 (inferior-octave-completion-table): New function.
10275 (inferior-octave-completion-at-point): Use it.
10276 (octave-completion-alist): Remove.
10277
10278 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10281 (opascal-mode-syntax-table): New var.
10282 (opascal-literal-kind, opascal-is-literal-end)
10283 (opascal-literal-token-at): Rewrite.
10284 (opascal--literal-start-re, opascal-font-lock-keywords)
10285 (opascal--syntax-propertize): New constants.
10286 (opascal-font-lock-defaults): Adjust.
10287 (opascal-mode): Use them. Set comment-<foo> variables as well.
10288 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10289 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10290 (delphi-other-face, opascal-other-face): Remove face variables.
10291 (opascal-save-state): Remove macro.
10292 (opascal-fontifying-progress-step): Remove constant.
10293 (opascal--ignore-changes): Remove var.
10294 (opascal-set-token-property, opascal-parse-next-literal)
10295 (opascal-is-stable-literal, opascal-complete-literal)
10296 (opascal-is-literal-start, opascal-face-of)
10297 (opascal-parse-region, opascal-parse-region-until-stable)
10298 (opascal-fontify-region, opascal-after-change)
10299 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10300 (opascal-debug-parse-region, opascal-debug-parse-window)
10301 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10302 (opascal-debug-fontify-buffer): Remove.
10303 (opascal-debug-mode-map): Adjust accordingly.
10304
10305 2013-04-25 Leo Liu <sdl.web@gmail.com>
10306
10307 Merge octave-mod.el and octave-inf.el into octave.el with some
10308 cleanups.
10309 * progmodes/octave.el: New file renamed from octave-mod.el.
10310 * progmodes/octave-inf.el: Merged into octave.el.
10311 * progmodes/octave-mod.el: Renamed to octave.el.
10312
10313 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10314
10315 * textmodes/reftex-vars.el
10316 (reftex-label-ignored-macros-and-environments): New defcustom.
10317
10318 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10319
10320 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10323 (smie-indent-keyword): Improve the check to ensure that the next
10324 comment is really on the same line.
10325 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10326
10327 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10328 semi-colons if the line is not otherwise empty (bug#14218).
10329
10330 2013-04-25 Glenn Morris <rgm@gnu.org>
10331
10332 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10333
10334 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 * progmodes/opascal.el (opascal-set-token-property): Rename from
10337 opascal-set-text-properties and only set `token' (bug#14134).
10338 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10339 (opascal-literal-text-properties): Remove.
10340 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10341 Adjust callers.
10342
10343 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10344
10345 * textmodes/remember.el (remember-handler-functions): Add an
10346 option for a new handler `remember-store-in-files'.
10347 (remember-data-directory, remember-directory-file-name-format):
10348 New options.
10349 (remember-store-in-files): New function to store remember notes
10350 as separate files within a directory.
10351
10352 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10353
10354 * progmodes/compile.el (compilation-next-error-function):
10355 Pass "formats" to compilation-find-file (bug#11777).
10356
10357 2013-04-24 Glenn Morris <rgm@gnu.org>
10358
10359 * vc/vc-bzr.el (vc-bzr-print-log):
10360 * vc/vc-hg.el (vc-hg-print-log):
10361 * vc/vc-svn.el (vc-svn-print-log):
10362 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10363
10364 * vc/vc-bzr.el (vc-bzr-print-log):
10365 * vc/vc-cvs.el (vc-cvs-print-log):
10366 * vc/vc-git.el (vc-git-print-log):
10367 * vc/vc-hg.el (vc-hg-print-log):
10368 * vc/vc-mtn.el (vc-mtn-print-log):
10369 * vc/vc-rcs.el (vc-rcs-print-log):
10370 * vc/vc-sccs.el (vc-sccs-print-log):
10371 * vc/vc-svn.el (vc-svn-print-log):
10372 * vc/vc.el (vc-print-log-internal): Doc fixes.
10373
10374 2013-04-23 Glenn Morris <rgm@gnu.org>
10375
10376 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10377 Remove venerable code attempting to avoid substitute-command-keys.
10378
10379 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10380
10381 * textmodes/reftex-vars.el (reftex-label-regexps):
10382 Call `reftex-compile-variables' after changes to this variable.
10383
10384 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10387 Use lexical-binding.
10388 (jit-lock-force-redisplay): Use markers, check buffer's continued
10389 existence and beware narrowed buffers.
10390 (jit-lock-fontify-now): Adjust call accordingly.
10391
10392 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10395 to avoid misleading the user.
10396
10397 2013-04-22 Leo Liu <sdl.web@gmail.com>
10398
10399 * info-look.el: Prefer latex2e.info. (Bug#14240)
10400
10401 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10402
10403 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10404
10405 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10406 * net/tramp.el (tramp-call-process): ... here.
10407 (tramp-set-completion-function, tramp-parse-putty):
10408 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10409 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10410 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10411 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10412 (tramp-call-local-coding-command): Use `tramp-call-process'
10413 instead of `tramp-compat-call-process'.
10414
10415 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10416 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10417 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10418 (tramp-find-inline-compress): Improve traces.
10419 (tramp-maybe-send-script): Check for Perl binary.
10420 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10421
10422 2013-04-22 Daiki Ueno <ueno@gnu.org>
10423
10424 * epg.el (epg-context-pinentry-mode): New function.
10425 (epg-context-set-pinentry-mode): New function.
10426 (epg--start): Pass --pinentry-mode option to gpg command.
10427
10428 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10429
10430 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10431 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10432 `completion-at-point'. (Bug#13774)
10433
10434 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10435 default key binding for `describe-distribution' has been moved to
10436 `C-h C-o'. (Bug#13970)
10437
10438 2013-04-21 Glenn Morris <rgm@gnu.org>
10439
10440 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10441 Add doc strings.
10442 (vc-print-log): Clarify interactive prompt.
10443
10444 2013-04-20 Glenn Morris <rgm@gnu.org>
10445
10446 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10447 No longer include timestamp etc information.
10448
10449 2013-04-20 Roland Winkler <winkler@gnu.org>
10450
10451 * faces.el (read-face-name): Bug fix, return just one face if arg
10452 multiple is nil. (Bug#14209)
10453
10454 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10457 (remove-function): Autoload.
10458
10459 * comint.el (comint-redirect-original-filter-function): Remove.
10460 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10461 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10462 (vc-cvs-annotate-command):
10463 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10464 * progmodes/prolog.el (prolog-consult-compile):
10465 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10466 Use add/remove-function instead.
10467 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10468 (gud-tooltip-process-output, gud-tooltip-tips):
10469 Use add/remove-function instead.
10470 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10471 (scheme-interaction-mode, exit-scheme-interaction-mode):
10472 Use add/remove-function instead.
10473
10474 * vc/vc-dispatcher.el: Use lexical-binding.
10475 (vc--process-sentinel): Rename from vc-process-sentinel.
10476 Change last arg to be the code to run. Don't use vc-previous-sentinel
10477 and vc-sentinel-commands any more.
10478 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10479 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10480
10481 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10482
10483 * progmodes/sh-script.el (sh-imenu-generic-expression):
10484 Handle function names with a single character. (Bug#14111)
10485
10486 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10487
10488 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10489 for subroutines defined in an eval (bug#14182).
10490
10491 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10492
10493 * bookmark.el (bookmark-completing-read): Improve handling of empty
10494 string (bug#14176).
10495
10496 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10499
10500 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10501
10502 New faster Imenu implementation (bug#14058).
10503 * progmodes/python.el:
10504 (python-imenu-prev-index-position):
10505 (python-imenu-format-item-label-function)
10506 (python-imenu-format-parent-item-label-function)
10507 (python-imenu-format-parent-item-jump-label-function):
10508 New vars.
10509 (python-imenu-format-item-label)
10510 (python-imenu-format-parent-item-label)
10511 (python-imenu-format-parent-item-jump-label)
10512 (python-imenu--put-parent, python-imenu--build-tree)
10513 (python-imenu-create-index, python-imenu-create-flat-index)
10514 (python-util-popn): New functions.
10515 (python-mode): Set imenu-create-index-function to
10516 python-imenu-create-index.
10517
10518 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10519
10520 * winner.el (winner-active-region): Use region-active-p, activate-mark
10521 and deactivate-mark (bug#14225).
10522
10523 * simple.el (deactivate-mark): Don't inline it.
10524
10525 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10526
10527 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10528
10529 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10530
10531 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10532 file extensions from the archive-mode entry in order to prefer
10533 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10534
10535 2013-04-18 Leo Liu <sdl.web@gmail.com>
10536
10537 * bindings.el (help-event-list): Add ?\?.
10538
10539 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * subr.el (with-wrapper-hook): Declare obsolete.
10542 * simple.el (filter-buffer-substring-function): New hook.
10543 (filter-buffer-substring): Use it.
10544 (filter-buffer-substring-functions): Mark obsolete.
10545 * minibuffer.el (completion-in-region-function): New hook.
10546 (completion-in-region): Use it.
10547 (completion-in-region-functions): Mark obsolete.
10548 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10549 * abbrev.el (abbrev-expand-function): New hook.
10550 (expand-abbrev): Use it.
10551 (abbrev-expand-functions): Mark obsolete.
10552 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10553 and :filter-return.
10554
10555 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10556
10557 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10558 and do not care about match data.
10559
10560 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10563 completion tables when completing error conditions and
10564 `declare' arguments.
10565 (lisp-complete-symbol, field-complete): Mark as obsolete.
10566 (check-parens): Unmatched parens are user errors.
10567 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10568
10569 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10570
10571 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10572 command changed buffer (ie. `flyspell-pre-buffer' is not current
10573 buffer), which prevents making decisions based on invalid value of
10574 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10575 cause an error when `flyspell-pre-point' was nil after switching
10576 buffers.
10577 (flyspell-post-command-hook): No longer needs to change buffers when
10578 checking pre-word. While at it remove unnecessary progn.
10579
10580 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10581
10582 * textmodes/ispell.el (ispell-add-per-file-word-list):
10583 Fix `flyspell-correct-word-before-point' error when accepting
10584 words and `coment-padding' is an integer by using
10585 `comment-normalize-vars' (Bug #14214).
10586
10587 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10588
10589 New defun movement commands.
10590 * progmodes/python.el (python-nav--syntactically)
10591 (python-nav--forward-defun, python-nav-backward-defun)
10592 (python-nav-forward-defun): New functions.
10593
10594 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10595
10596 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10597 (python-syntax-context): Use named compiler-macro for backwards
10598 compatibility with Emacs 24.x.
10599
10600 2013-04-17 Leo Liu <sdl.web@gmail.com>
10601
10602 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10603 octave-hide-process-buffer.
10604
10605 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10608 (bug#14216).
10609
10610 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10611
10612 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10613 Fix adjustment of offset when receiving incomplete responses from GDB
10614 (bug#14129).
10615
10616 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10619 python-mode-abbrev-table.
10620 (python-skeleton-define): Adjust accordingly.
10621 (python-mode-abbrev-table): New table that inherits from it so that
10622 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10623
10624 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10625 (abbrev-symbol): Use it.
10626 (abbrev--before-point): Use it since we already handle inheritance.
10627
10628 2013-04-16 Leo Liu <sdl.web@gmail.com>
10629
10630 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10631 binding to info-lookup-symbol.
10632
10633 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10634
10635 * minibuffer.el (completion--twq-all):
10636 * term/ns-win.el (ns-initialize-window-system):
10637 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10638
10639 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10640
10641 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10642 global bindings.
10643
10644 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10645
10646 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10647
10648 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10649 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10650 to nil.
10651 (ruby-end-of-defun): Remove the unused arg, change the docstring
10652 to reflect that this function is only used as the value of
10653 `end-of-defun-function'.
10654 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10655 to reflect an earlier change that beginning/end-of-defun functions
10656 jump between methods in a class definition, as well as top-level
10657 functions.
10658
10659 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * minibuffer.el (minibuffer-complete): Don't just scroll
10662 a *Completions* that's been iconified.
10663 (minibuffer-force-complete): Make sure repetitions do cycle when going
10664 through completion-in-region -> minibuffer-complete.
10665
10666 2013-04-15 Alan Mackenzie <acm@muc.de>
10667
10668 Correct the placement of c-cpp-delimiters when there're #s not at
10669 col 0.
10670
10671 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10672 place a submatch around the #.
10673 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10674 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10675 on the #, not BOL.
10676
10677 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10680 (advice--member-p): New arg `name'.
10681 (advice--add-function, advice-member-p): Use it (bug#14202).
10682
10683 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10684
10685 Reformulate java imenu-generic-expression.
10686 The old expression contained ill formed regexps.
10687
10688 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10689 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10690 (cc-imenu-java-method-arg-regexp): New defconsts.
10691 (cc-imenu-java-build-type-args-regex): New defun.
10692 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10693 handling of spaces in the regexp.
10694
10695 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10696
10697 * textmodes/ispell.el (ispell-command-loop): Remove
10698 flyspell highlight of a word when ispell accepts it (bug #14178).
10699
10700 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10701
10702 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10703 uses code from the previous `ange-ftp-run-real-handler'.
10704 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10705 only in case that function exist. This is needed for proper
10706 unloading of Tramp.
10707
10708 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10709
10710 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10711
10712 * textmodes/reftex.el (reftex-compile-variables): Use it.
10713
10714 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * files.el (normal-mode): Only use default major-mode if no other mode
10717 was specified.
10718
10719 * emacs-lisp/trace.el (trace-values): New function.
10720
10721 * files.el: Allow : in local variables (bug#14089).
10722 (hack-local-variable-regexp): New var.
10723 (hack-local-variables-prop-line, hack-local-variables): Use it.
10724
10725 2013-04-13 Roland Winkler <winkler@gnu.org>
10726
10727 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10728 data before it gets modified by bibtex-beginning-of-entry.
10729
10730 2013-04-13 Roland Winkler <winkler@gnu.org>
10731
10732 * textmodes/bibtex.el (bibtex-url): Doc fix.
10733
10734 2013-04-13 Roland Winkler <winkler@gnu.org>
10735
10736 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10737 does not visit a BibTeX file, exclude it from the list of buffers
10738 returned by bibtex-initialize.
10739
10740 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10741
10742 * window.el (split-window): Remove interactive form, since as a
10743 command this function is a special case of split-window-below.
10744 Correct doc string.
10745
10746 2013-04-12 Roland Winkler <winkler@gnu.org>
10747
10748 * faces.el (read-face-name): Do not override value of arg default.
10749 Allow single faces and strings as default values. Remove those
10750 elements from return value that are not faces.
10751 (describe-face): Simplify.
10752 (face-at-point): New optional args thing and multiple so that this
10753 function can provide the same functionality previously provided by
10754 read-face-name.
10755 (make-face-bold, make-face-unbold, make-face-italic)
10756 (make-face-unitalic, make-face-bold-italic, invert-face)
10757 (modify-face, read-face-and-attribute): Use face-at-point.
10758
10759 * cus-edit.el (customize-face, customize-face-other-window)
10760 * cus-theme.el (custom-theme-add-face)
10761 * face-remap.el (buffer-face-set)
10762 * facemenu.el (facemenu-set-face): Use face-at-point.
10763
10764 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10765
10766 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10767
10768 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10769
10770 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10771 off leading { and trailing } from field values.
10772
10773 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * emacs-lisp/timer.el (timer--check): New function.
10776 (timer--time, timer-set-function, timer-event-handler): Use it.
10777 (timer-set-idle-time): Simplify.
10778 (timer--activate): CSE.
10779 (timer-event-handler): Give more info in error message.
10780 (internal-timer-start-idle): New function, moved from C.
10781
10782 * mpc.el (mpc-proc): Add `restart' argument.
10783 (mpc-proc-cmd): Use it.
10784 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10785 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10786 less often.
10787
10788 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10789
10790 * progmodes/sh-script.el: Implement `sh-mode' own
10791 `add-log-current-defun-function' (bug#14112).
10792 (sh-current-defun-name): New function.
10793 (sh-mode): Use the function.
10794
10795 2013-04-09 Bastien Guerry <bzg@gnu.org>
10796
10797 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10798
10799 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10802
10803 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10804 timer (bug#14156).
10805
10806 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10807
10808 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10809 declaration.
10810
10811 2013-04-07 Leo Liu <sdl.web@gmail.com>
10812
10813 * pcmpl-x.el: New file.
10814
10815 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10816
10817 Do not set x-display-name until X connection is established.
10818 This is needed to prevent from weird situation described at
10819 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10820 * frame.el (make-frame): Set x-display-name after call to
10821 window system initialization function, not before.
10822 * term/x-win.el (x-initialize-window-system): Add optional
10823 display argument and use it.
10824 * term/w32-win.el (w32-initialize-window-system):
10825 * term/ns-win.el (ns-initialize-window-system):
10826 * term/pc-win.el (msdos-initialize-window-system):
10827 Add compatible optional display argument.
10828
10829 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10830
10831 * files.el (normal-backup-enable-predicate): On MS-Windows and
10832 MS-DOS compare truenames of temporary-file-directory and of the
10833 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10834 don't fail comparison by compare-strings. Also, compare file
10835 names case-insensitively on MS-Windows and MS-DOS.
10836
10837 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10838
10839 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10840 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10841
10842 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10843
10844 * whitespace.el (whitespace-color-on, whitespace-color-off):
10845 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10846
10847 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10848
10849 * ispell.el (ispell-set-spellchecker-params):
10850 Really set `ispell-args' for all equivs.
10851
10852 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * ido.el (ido-completions): Use extra elements of ido-decorations
10855 (bug#14143).
10856 (ido-decorations): Update docstring.
10857
10858 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10859
10860 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10861 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10862 nil during initialization, in order not to miss changes since the
10863 file was opened. (Bug#14140)
10864
10865 2013-04-05 Leo Liu <sdl.web@gmail.com>
10866
10867 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10868
10869 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10870
10871 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10872
10873 2013-04-04 Glenn Morris <rgm@gnu.org>
10874
10875 * electric.el (electric-pair-inhibit-predicate): Add :version.
10876
10877 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10880 when a package is required several times (bug#14082).
10881
10882 2013-04-04 Roland Winkler <winkler@gnu.org>
10883
10884 * faces.el (read-face-name): Behave as promised by the docstring.
10885 Assume that arg default is a list of faces.
10886 (describe-face): Call read-face-name with list of default faces.
10887
10888 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10889
10890 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10891 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10892 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10893 the header.
10894 (bookmark-exit-hook-internal): Save even if list is empty.
10895
10896 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10897
10898 * emacs-lisp/package.el (package-pinned-packages): New var.
10899 (package--add-to-archive-contents): Obey it (bug#14118).
10900
10901 2013-04-03 Alan Mackenzie <acm@muc.de>
10902
10903 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10904 Also adapt to the new values of element 7 of a parse state.
10905
10906 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10907 parameter `not-in-delimiter'. Handle being inside comment opener.
10908 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10909 character in case we're typing a '*' after a '/'.
10910 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10911 instead by passing the parameter to c-state-pp-to-literal.
10912
10913 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10914 for elt. 7 of a parse state.
10915
10916 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10917
10918 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10919 * international/latin1-disp.el, international/mule-util.el:
10920 * language/cyril-util.el, language/european.el, language/ind-util.el:
10921 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10922 * language/tibetan.el, language/viet-util.el:
10923 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10924
10925 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10928 (electric-pair-post-self-insert-function): Use it.
10929 (electric-pair-default-inhibit): New function, extracted from
10930 electric-pair-post-self-insert-function.
10931
10932 2013-03-31 Roland Winkler <winkler@gnu.org>
10933
10934 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10935
10936 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10939
10940 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10941
10942 Un-indent after "pass" and "return" statements (Bug#13888)
10943 * progmodes/python.el (python-indent-block-enders): New var.
10944 (python-indent-calculate-indentation): Use it.
10945
10946 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10947
10948 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10949 defun. Defining it as defalias could introduce too eager
10950 byte-compiler optimization. (Bug#14030)
10951
10952 2013-03-30 Chong Yidong <cyd@gnu.org>
10953
10954 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10955
10956 2013-03-30 Leo Liu <sdl.web@gmail.com>
10957
10958 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10959 (kmacro-execute-from-register): Pass the keyboard macro to
10960 kmacro-call-macro or repeating won't work correctly.
10961
10962 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10963
10964 * progmodes/subword.el: Back to using `forward-symbol'.
10965
10966 * subr.el (forward-whitespace, forward-symbol)
10967 (forward-same-syntax): Move from thingatpt.el.
10968
10969 2013-03-29 Leo Liu <sdl.web@gmail.com>
10970
10971 * kmacro.el (kmacro-to-register): New command.
10972 (kmacro-execute-from-register): New function.
10973 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10974
10975 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * mpc.el: Use defvar-local and setq-local.
10978 (mpc--proc-connect): Connection failures are not bugs.
10979 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10980 (mpc-volume-map): Bind to the up-events.
10981
10982 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10983
10984 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10985 instead of `forward-symbol'.
10986
10987 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10990 (edebug--recursive-edit): Use it.
10991 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10992 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10993
10994 2013-03-28 Leo Liu <sdl.web@gmail.com>
10995
10996 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10997
10998 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10999
11000 * facemenu.el (list-colors-callback): New defvar.
11001 (list-colors-redisplay): New function.
11002 (list-colors-display): Install list-colors-redisplay as the
11003 revert-buffer-function. (Bug#14063)
11004
11005 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11006
11007 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11008 and suffixes don't overlap (bug#14061).
11009
11010 * case-table.el: Use lexical-binding.
11011 (case-table-get-table): New function.
11012 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11013
11014 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11015
11016 * progmodes/subword.el: Add `superword-mode' to do word motion
11017 over symbol_words (parallels and leverages `subword-mode' which
11018 does word motion inside MixedCaseWords).
11019
11020 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11021
11022 * eshell/em-unix.el: Move su and sudo to...
11023 * eshell/em-tramp.el: ...Eshell tramp module.
11024
11025 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11028 Change return value to be a sexp. Delay `get-buffer' to after
11029 restoring the desktop (bug#13951).
11030
11031 2013-03-26 Leo Liu <sdl.web@gmail.com>
11032
11033 * register.el: Move semantic tag handling back to
11034 cedet/semantic/senator.el. (Bug#14052)
11035
11036 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11039 into the prompt either (bug#13963).
11040
11041 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11044 part of "(error-foo)".
11045
11046 2013-03-24 Juri Linkov <juri@jurta.org>
11047
11048 * replace.el (list-matching-lines-prefix-face): New defcustom.
11049 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11050 `occur-engine' if `face-differs-from-default-p' returns t.
11051 (occur-engine): Add `,' inside backquote construct to evaluate
11052 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11053 Pass `prefix-face' to the functions `occur-context-lines' and
11054 `occur-engine-add-prefix'.
11055 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11056 `prefix-face' and propertize the prefix with `prefix-face'.
11057 (Bug#14017)
11058
11059 2013-03-24 Leo Liu <sdl.web@gmail.com>
11060
11061 * nxml/rng-valid.el (rng-validate-while-idle)
11062 (rng-validate-quick-while-idle): Guard against deleted buffer.
11063 (Bug#13999)
11064
11065 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11066 is the last entry in kill-buffer-hook.
11067
11068 * files.el (kill-buffer-hook): Doc fix.
11069
11070 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11071
11072 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11073 Make it safe-local.
11074
11075 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11076
11077 2013-03-23 Leo Liu <sdl.web@gmail.com>
11078
11079 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11080 Remove.
11081
11082 * nxml/rng-valid.el (rng-validate-mode)
11083 (rng-after-change-function, rng-do-some-validation):
11084 * nxml/rng-maint.el (rng-validate-buffer):
11085 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11086 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11087 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11088 (nxml-extend-after-change-region): Use with-silent-modifications.
11089
11090 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11091 timer-idle-list.
11092
11093 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11094 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11095 timer-idle-list. (Bug#13999)
11096
11097 2013-03-23 Juri Linkov <juri@jurta.org>
11098
11099 * info.el (info-index-match): New face.
11100 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11101 main pattern and add text properties with the new face to matches
11102 in index entries relative to the beginning of the index entry.
11103 (Bug#14015)
11104
11105 2013-03-21 Eric Ludlam <zappo@gnu.org>
11106
11107 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11108 Inhibit read only while inserting objects.
11109
11110 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11111
11112 * progmodes/cfengine.el: Update docs to mention
11113 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11114 symbol motion. Remove "_" from the word syntax.
11115
11116 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11117
11118 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11119 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11120
11121 2013-03-20 Juri Linkov <juri@jurta.org>
11122
11123 * info.el (Info-next-reference-or-link)
11124 (Info-prev-reference-or-link): New functions.
11125 (Info-next-reference, Info-prev-reference): Use them.
11126 (Info-try-follow-nearest-node): Handle footnote navigation.
11127 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11128
11129 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11132 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11133
11134 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11135
11136 Suppress unnecessary non-ASCII chatter during build process.
11137 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11138 (batch-skkdic-convert): Suppress most of the chatter.
11139 It's not needed so much now that machines are faster,
11140 and its non-ASCII component was confusing; see Dmitry Gutov in
11141 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11142
11143 2013-03-20 Leo Liu <sdl.web@gmail.com>
11144
11145 * ido.el (ido-chop): Fix bug#10994.
11146
11147 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11148
11149 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11150 Remove vars.
11151 (whitespace-color-on, whitespace-color-off):
11152 Use `font-lock-fontify-buffer' (Bug#13817).
11153
11154 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11157 remapping in mode-line.
11158 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11159
11160 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11161
11162 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11163 value for `whitespace-line' face (Bug#13875).
11164 (whitespace-font-lock-keywords): Change description.
11165 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11166 the constructed keywords instead.
11167 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11168
11169 2013-03-19 Leo Liu <sdl.web@gmail.com>
11170
11171 * progmodes/compile.el (compilation-display-error): New command.
11172 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11173 C-o. (Bug#13992)
11174
11175 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11176
11177 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11178
11179 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11180
11181 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11182
11183 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11184
11185 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11186
11187 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11188 * net/tramp-gvfs.el (top):
11189 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11190 (tramp-handle-shell-command): Use it.
11191 (tramp-dissect-file-name): Raise an error when hostname is a
11192 method name, and neither method nor user is specified.
11193
11194 * net/trampver.el: Update release number.
11195
11196 2013-03-18 Leo Liu <sdl.web@gmail.com>
11197
11198 Make sure eldoc can be turned off properly.
11199 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11200 eldoc-mode.
11201 (eldoc-display-message-p): Revert last change.
11202 (eldoc-display-message-no-interference-p)
11203 (eldoc-print-current-symbol-info): Tweak.
11204
11205 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11206
11207 * doc-view.el (doc-view-new-window-function): Check the new window
11208 overlay's display property instead the char property of the
11209 buffer's first char. Use `with-selected-window' instead of
11210 `save-window-excursion' with `select-window'.
11211 (doc-view-document->bitmap): Check the current doc-view overlay's
11212 display property instead the char property of the buffer's first char.
11213
11214 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11215
11216 Automate the build of ja-dic.el (Bug#13984).
11217 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11218 from the input, rather than assume that it's been done for us by the
11219 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11220 the current date into a ja-dic.el comment, as that complicates
11221 regression testing.
11222
11223 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * whitespace.el: Fix double evaluation.
11226 (whitespace-space, whitespace-hspace, whitespace-tab)
11227 (whitespace-newline, whitespace-trailing, whitespace-line)
11228 (whitespace-space-before-tab, whitespace-indentation)
11229 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11230 obsolete defvars.
11231 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11232 (whitespace-color-on): Use a single font-lock-add-keywords call.
11233 Fix double-evaluation of face variables.
11234
11235 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11236
11237 * net/tramp-adb.el (tramp-adb-parse-device-names):
11238 Use `start-process' instead of `call-process'. Otherwise, the
11239 function might be blocked under MS Windows. (Bug#13299)
11240
11241 2013-03-17 Leo Liu <sdl.web@gmail.com>
11242
11243 Extend eldoc to display info in the mode-line. (Bug#13978)
11244 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11245 (eldoc-mode-line-string): New variable.
11246 (eldoc-minibuffer-message): New function.
11247 (eldoc-message-function): New variable.
11248 (eldoc-message): Use it.
11249 (eldoc-display-message-p)
11250 (eldoc-display-message-no-interference-p):
11251 Support eldoc-post-insert-mode.
11252
11253 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11254 (eval-expression): Run it.
11255
11256 2013-03-17 Roland Winkler <winkler@gnu.org>
11257
11258 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11259 strings in the list of return values.
11260
11261 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11262
11263 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11264 radix before checking for HMS forms.
11265
11266 2013-03-16 Leo Liu <sdl.web@gmail.com>
11267
11268 * progmodes/scheme.el: Add indentation and font-locking for λ.
11269 (Bug#13975)
11270
11271 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11272
11273 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11274 token before point (bug#13942).
11275
11276 2013-03-16 Leo Liu <sdl.web@gmail.com>
11277
11278 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11279
11280 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11281
11282 * startup.el (command-line-normalize-file-name): Fix handling of
11283 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11284 <xfq.free@gmail.com> in
11285 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11286
11287 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11288
11289 Sync with Tramp 2.2.7.
11290
11291 * net/trampver.el: Update release number.
11292
11293 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11294
11295 * doc-view.el: Fix bug#13887.
11296 (doc-view-insert-image): Don't modify overlay associated to
11297 non-live windows, and implement horizontal centering of image in
11298 case it's smaller than the window.
11299 (doc-view-new-window-function): Force redisplay of new windows on
11300 doc-view buffers.
11301
11302 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11303
11304 * saveplace.el (save-place-alist-to-file): Don't sort
11305 `save-place-alist', just pretty-print it (bug#13882).
11306
11307 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11308
11309 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11310 Check whether `default-file-name-coding-system' is bound.
11311 It isn't in XEmacs.
11312
11313 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11316 backquotes for `obsolete' (bug#13929).
11317
11318 * international/mule.el (find-auto-coding): Include file name in
11319 obsolescence warning (bug#13922).
11320
11321 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11322
11323 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11324 for CFEngine 3-specific indentation.
11325 (cfengine3-indent-line): Use it. Fix up category regex.
11326 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11327
11328 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11329
11330 * type-break.el (type-break-file-name):
11331 * textmodes/remember.el (remember-data-file):
11332 * strokes.el (strokes-file):
11333 * shadowfile.el (shadow-initialize):
11334 * saveplace.el (save-place-file):
11335 * ps-bdf.el (bdf-cache-file):
11336 * progmodes/idlwave.el (idlwave-config-directory):
11337 * net/quickurl.el (quickurl-url-file):
11338 * international/kkc.el (kkc-init-file-name):
11339 * ido.el (ido-save-directory-list-file):
11340 * emulation/viper.el (viper-custom-file-name):
11341 * emulation/vip.el (vip-startup-file):
11342 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11343 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11344
11345 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11346
11347 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11348 * language/thai-word.el: Switch to UTF-8.
11349
11350 See ChangeLog.16 for earlier changes.
11351
11352 ;; Local Variables:
11353 ;; coding: utf-8
11354 ;; End:
11355
11356 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11357
11358 This file is part of GNU Emacs.
11359
11360 GNU Emacs is free software: you can redistribute it and/or modify
11361 it under the terms of the GNU General Public License as published by
11362 the Free Software Foundation, either version 3 of the License, or
11363 (at your option) any later version.
11364
11365 GNU Emacs is distributed in the hope that it will be useful,
11366 but WITHOUT ANY WARRANTY; without even the implied warranty of
11367 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11368 GNU General Public License for more details.
11369
11370 You should have received a copy of the GNU General Public License
11371 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.