comint.el (comint-output-filter): Fix rear-nonsticky property placement.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2
3 * comint.el (comint-output-filter): Fix rear-nonsticky property
4 placement (Bug#16010).
5
6 2013-12-20 Chong Yidong <cyd@gnu.org>
7
8 * faces.el (read-color): Minor fix for completion function.
9
10 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
11
12 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
13 option. (Bug#16182)
14 (ruby-smie--indent-to-stmt-p): Use it.
15 (ruby-smie-rules): Revert the logic in the handling of `when'.
16 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
17 (ruby-deep-arglist, ruby-deep-indent-paren)
18 (ruby-deep-indent-paren-style): Update docstrings to note that the
19 vars don't have any effect with SMIE.
20
21 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
22
23 * calc/calc.el (calc-enter, calc-pop): Use the variable
24 `calc-context-sensitive-enter'.
25
26 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
27
28 * net/shr.el (shr-insert): Protect against infloops in degenerate
29 tables.
30
31 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
32
33 * progmodes/octave.el (octave): Add link to manual and octave
34 homepage.
35 (octave-mode-menu): Link to octave-mode manual.
36
37 2013-12-20 Leo Liu <sdl.web@gmail.com>
38
39 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
40 insertion using skeleton-end-newline. (Bug#16138)
41
42 2013-12-20 Juri Linkov <juri@jurta.org>
43
44 * replace.el (occur-engine): Use `add-face-text-property'
45 to add the face property to matches and titles. (Bug#14645)
46
47 * hi-lock.el (hi-green): Use lighter color "light green" closer to
48 the palette of other hi-lock colors.
49 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
50
51 2013-12-19 Juri Linkov <juri@jurta.org>
52
53 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
54 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
55 (minibuffer-history-symbol): Move variable declaration closer to
56 its usage.
57
58 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
59 (Bug#14785)
60
61 2013-12-19 Juri Linkov <juri@jurta.org>
62
63 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
64 New function.
65 (log-edit-hook): Add it to :options. (Bug#16170)
66
67 2013-12-19 Juri Linkov <juri@jurta.org>
68
69 * simple.el (eval-expression-print-format): Don't check for
70 command names and the last command. Always display additional
71 formats of the integer result in the echo area, and insert them
72 to the current buffer only with a zero prefix arg.
73 Display character when char-displayable-p is non-nil.
74 (eval-expression): With a zero prefix arg, set `print-length' and
75 `print-level' to nil, and insert the integer values from
76 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
77
78 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
79 `eval-last-sexp-arg-internal'. Doc fix.
80 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
81 `eval-last-sexp-print-value'. Doc fix.
82 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
83 Set `print-length' and `print-level' to nil when arg is zero.
84 (eval-last-sexp): Doc fix.
85 (eval-defun-2): Print the integer values from
86 `eval-expression-print-format' at the end.
87
88 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
89 values from `eval-expression-print-format' at the end.
90
91 * ielm.el (ielm-eval-input): Print the integer
92 values from `eval-expression-print-format' at the end.
93
94 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
95
96 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
97 2013-12-11T19:01:44Z!tzz@lifelogs.com.
98
99 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
102 (hl-line-highlight, global-hl-line-highlight): Use it.
103 (hl-line-overlay): Use defvar-local.
104
105 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
106
107 * term/ns-win.el: Require dnd.
108 (global-map): Remove drag items.
109 (ns-insert-text, ns-set-foreground-at-mouse)
110 (ns-set-background-at-mouse):
111 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
112 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
113 New functions.
114
115 2013-12-19 Glenn Morris <rgm@gnu.org>
116
117 * emacs-lisp/ert.el (ert-select-tests):
118 Fix string/symbol mixup. (Bug#16121)
119
120 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
121
122 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
123 keywords to their parent.
124
125 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
126
127 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
128 first arg to be a string (fixed dead code), or an operator symbol.
129 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
130 operator symbols.
131 (ruby-smie-rules): Remove parent token check in the `.' clause, it
132 did nothing. Don't respond to `(:after ".")', it will be called
133 with :before anyway. Remove the ` @ ' rule, it didn't seem to
134 change anything. Only return indentation for binary operators
135 when they are hanging. De-dent opening paren when its parent is
136 `.', otherwise it looks bad when the dot is not at bol or eol
137 (bug#16182).
138
139 2013-12-19 Juri Linkov <juri@jurta.org>
140
141 * replace.el (query-replace-read-args): Split a non-negative arg
142 and a negative arg into separate elements.
143 (query-replace, query-replace-regexp, replace-string)
144 (replace-regexp): Add arg `backward'. Doc fix.
145 (replace-match-maybe-edit): When new arg `backward' is non-nil,
146 move point to the beginning of the match.
147 (replace-search, replace-highlight): Use new arg `backward'
148 to set the value of `isearch-forward'.
149 (perform-replace): Add arg `backward' and use it to perform
150 replacement backward. (Bug#14979)
151
152 * isearch.el (isearch-query-replace): Use a negative prefix arg
153 to call `perform-replace' with a non-nil arg `backward'.
154
155 2013-12-18 Juri Linkov <juri@jurta.org>
156
157 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
158 to the default list. Move `log-edit-show-files' to the end.
159 Add more available functions to options.
160 (log-edit): Move default specific settings to
161 `log-edit-insert-message-template'. Don't move point.
162 (log-edit-insert-message-template): New function.
163 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
164 (Bug#16170)
165
166 2013-12-18 Juri Linkov <juri@jurta.org>
167
168 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
169 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
170
171 2013-12-18 Leo Liu <sdl.web@gmail.com>
172
173 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
174
175 2013-12-18 Eli Zaretskii <eliz@gnu.org>
176
177 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
178 formats for displaying file sizes when the -s switch is given.
179 Instead, compute a separate format for displaying the size in
180 blocks, which is displayed in addition to the "regular" size.
181 When -h is given in addition to -s, produce size in blocks in
182 human-readable form as well. (Bug#16179)
183
184 2013-12-18 Tassilo Horn <tsdh@gnu.org>
185
186 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
187 Reference tables with ~\ref{...} instead of only \ref{...}.
188
189 2013-12-18 Chong Yidong <cyd@gnu.org>
190
191 * cus-edit.el (custom-magic-alist): Fix "themed" description
192 (Bug#14348).
193
194 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
195 is non-nil, do not create a new entry in the symbol's theme-value
196 or theme-face property; update theme-settings only (Bug#14664).
197 (custom-available-themes): Doc fix.
198
199 * cus-theme.el (custom-new-theme-mode-map): Add bindings
200 (Bug#15674).
201
202 * replace.el (occur-engine): Avoid infloop (Bug#7593).
203
204 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
205
206 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
207 (Bug#13914).
208
209 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
210
211 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
212
213 2013-12-18 Glenn Morris <rgm@gnu.org>
214
215 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
216 * cus-start.el (load-prefer-newer): New option.
217
218 2013-12-18 Le Wang <l26wang@gmail.com>
219
220 * comint.el (comint-previous-matching-input-from-input):
221 Retain point (Bug#13404).
222
223 2013-12-18 Chong Yidong <cyd@gnu.org>
224
225 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
226
227 2013-12-18 Glenn Morris <rgm@gnu.org>
228
229 * mail/emacsbug.el (report-emacs-bug):
230 Only mention enable-multibyte-characters if non-standard.
231
232 2013-12-17 Juri Linkov <juri@jurta.org>
233
234 * arc-mode.el (archive-extract-by-file): Check if directory exists
235 before deletion to not show irrelevant errors if it doesn't exist.
236
237 2013-12-17 Juri Linkov <juri@jurta.org>
238
239 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
240 (Bug#14751)
241
242 * net/eww.el (browse-web): Add alias to `eww'.
243 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
244 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
245
246 * net/browse-url.el (browse-url-browser-function): Move `eww'
247 closer to similar functions.
248
249 * startup.el (fancy-startup-screen, fancy-about-screen):
250 Set browse-url-browser-function to eww-browse-url locally.
251 (Bug#14751)
252
253 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * window.el (window--pixel-to-total): Remove unused `mini' var.
256 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
257 (split-window): Remove unused `new' var.
258 (window--display-buffer): Remove unused `frame' and `delta' vars.
259 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
260 and display-width'.
261
262 2013-12-17 Martin Rudalics <rudalics@gmx.at>
263
264 * dired.el (dired-mark-pop-up):
265 * register.el (register-preview): Don't bind
266 split-height-threshold here since it's now done in
267 display-buffer-below-selected.
268
269 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
270
271 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
272 xterm-rgb-convert-to-16bit.
273 (rxvt-register-default-colors): Standardize with
274 xterm-register-default-colors (Bug#14078).
275
276 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
277
278 * simple.el (kill-region): Pass mark first, then point, so that
279 kill-append works right (Bug#12819).
280 (copy-region-as-kill, kill-ring-save): Likewise.
281
282 2013-12-17 Leo Liu <sdl.web@gmail.com>
283
284 * net/rcirc.el (rcirc-add-face):
285 * eshell/em-prompt.el (eshell-emit-prompt):
286 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
287 (Bug#16167)
288
289 2013-12-17 Chong Yidong <cyd@gnu.org>
290
291 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
292 Suggested by Xue Fuqiao.
293
294 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
297
298 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * net/shr.el (shr-insert-document): Remove unused var
301 `shr-preliminary-table-render'.
302 (shr-rescale-image): Remove unused arg `force'.
303 (shr-put-image): Update calls accordingly.
304 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
305
306 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
307
308 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
309 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
310 :close-all, to see which indentation method to use (Bug#16116).
311 (smie-rules-function): Document the method :close-all.
312
313 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
314
315 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
316
317 * net/eww.el (eww-display-html): If we can't find the anchor we're
318 looking for, then go to point-min.
319
320 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
321
322 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
323 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
324 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
325 Expand dir too, in case it's relative.
326
327 2013-12-16 Juri Linkov <juri@jurta.org>
328
329 * desktop.el (desktop-auto-save-timeout): Change default to
330 `auto-save-timeout'. Doc fix.
331 (desktop-save): Skip the timestamp in desktop-saved-frameset
332 when checking for auto-save changes.
333 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
334 `desktop-auto-save' is called repeatedly by the idle timer.
335 (desktop-auto-save-set-timer): Replace `run-with-timer' with
336 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
337 (Bug#15331)
338
339 2013-12-16 Juri Linkov <juri@jurta.org>
340
341 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
342 (Bug#16035)
343 (isearch-pre-command-hook): Check `this-command' for symbolp.
344
345 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
348
349 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
350
351 * progmodes/cfengine.el (cfengine3--current-word): Remove.
352 (cfengine3--current-function): Bring in the current-function
353 functionality from `cfengine3--current-word'.
354 (cfengine3-completion-function): Bring in the
355 bounds-of-current-word functionality from
356 `cfengine3--current-word'.
357
358 2013-12-16 Martin Rudalics <rudalics@gmx.at>
359
360 * window.el (display-buffer-below-selected):
361 Bind split-height-threshold to 0 as suggested by Juri Linkov.
362
363 2013-12-16 Leo Liu <sdl.web@gmail.com>
364
365 * progmodes/compile.el (compile-goto-error): Do not push-mark.
366 Remove NOMSG arg and all uses changed.
367
368 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
371 (cua--deactivate-rectangle): Don't deactivate the mark.
372 (cua-set-rectangle-mark): Don't set mark-active since
373 cua--activate-rectangle already does it for us.
374 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
375 non-rectangular region.
376
377 * emulation/cua-base.el (cua-repeat-replace-region):
378 Use with-current-buffer.
379
380 * net/gnutls.el: Use cl-lib.
381 (gnutls-negotiate): `mapcan' -> cl-mapcan.
382
383 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
384
385 * emacs-lisp/package.el (package-built-in-p): Support both
386 built-in and the package.el converted package descriptions.
387 (package-show-package-list): Allow keywords.
388 (package-keyword-button-action): Use it instead of
389 `finder-list-matches'.
390 (package-menu-filter-interactive): Interactive filtering (by
391 keyword) function.
392 (package-menu--generate): Support keywords and change keymappings
393 and headers when they are given.
394 (package--has-keyword-p): Helper function.
395 (package-menu--refresh): Use it.
396 (package--mapc): Helper function.
397 (package-all-keywords): Use it.
398 (package-menu-mode-map): Set up menu items and keybindings to
399 provide a filtering UI.
400
401 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
402
403 * net/gnutls.el (gnutls-verify-error): New defcustom to control
404 the behavior when a certificate fails validation. Defaults to
405 old behavior: never abort, just warn.
406 (gnutls-negotiate): Use it.
407
408 2013-12-14 Martin Rudalics <rudalics@gmx.at>
409
410 * window.el (display-buffer-below-selected): Never split window
411 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
412
413 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
414
415 * emacs-lisp/package.el (package--prepare-dependencies): New function.
416 (package-buffer-info): Use it (bug#15108).
417
418 * icomplete.el (icomplete-completions): Make sure the prefix is already
419 displayed elsewhere before hiding it.
420
421 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
422
423 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
424 open-paren tokens when preceded by a open-paren, too.
425 (ruby-smie-rules): Handle virtual indentation after open-paren
426 tokens specially. If there is code between it and eol, return the
427 column where is starts (Bug#16118).
428
429 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
430
431 * progmodes/cfengine.el: Fix `add-hook' doc.
432 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
433 (cfengine3--current-word): Fix parameters.
434 (cfengine3-make-syntax-cache): Simplify further.
435 (cfengine3-completion-function, cfengine3--current-function):
436 Use `assq' for symbols.
437 (cfengine3--current-function): Fix `cfengine3--current-word' call.
438
439 2013-12-13 Glenn Morris <rgm@gnu.org>
440
441 * loadup.el (load-path): Warn if site-load or site-init changes it.
442 No more need to reset it when bootstrapping.
443
444 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
445
446 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
447 locations for cf-promises.
448 (cfengine-mode-syntax-functions-regex): New caching variable.
449 (cfengine3-fallback-syntax): Fallback syntax for cases where
450 cf-promises doesn't run.
451 (cfengine3--current-word): Reimplement using
452 `cfengine-mode-syntax-functions-regex'.
453 (cfengine3-completion-function, cfengine3--current-function):
454 Use `cfengine3-make-syntax-cache' directly.
455 (cfengine3-clear-syntax-cache): New function.
456 (cfengine3-make-syntax-cache): Simplify and create
457 `cfengine-mode-syntax-functions-regex' on demand.
458 (cfengine3-format-function-docstring): Don't call
459 `cfengine3-make-syntax-cache' explicitly.
460
461 2013-12-13 Martin Rudalics <rudalics@gmx.at>
462
463 Fix windmove-find-other-window broken after pixelwise resizing
464 (Bug#16017).
465 * windmove.el (windmove-other-window-loc): Revert change from
466 2013-12-04.
467 (windmove-find-other-window): Call window-in-direction.
468 * window.el (window-in-direction): New arguments SIGN, WRAP and
469 MINI to emulate original windmove-find-other-window behavior.
470
471 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
472
473 * simple.el (blink-matching--overlay): New variable.
474 (blink-matching-open): Instead of moving point, highlight the
475 matching paren with an overlay
476 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
477
478 * faces.el (paren-showing-faces, show-paren-match)
479 (show-paren-mismatch): Move from paren.el.
480
481 2013-12-13 Leo Liu <sdl.web@gmail.com>
482
483 * indent.el (indent-region): Disable progress reporter in
484 minibuffer. (Bug#16108)
485
486 * bindings.el (visual-order-cursor-movement): Fix version.
487
488 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
489
490 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
491 Also match after beginning of line.
492 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
493 files. Thanks to Russell Sim. (Bug#15378)
494
495 2013-12-13 Juri Linkov <juri@jurta.org>
496
497 * simple.el <Keypad support>: Remove key bindings duplicated
498 with bindings.el. (Bug#14397)
499
500 2013-12-13 Juri Linkov <juri@jurta.org>
501
502 * comint.el (comint-mode-map): Replace `delete-char' with
503 `delete-forward-char'. (Bug#16109)
504
505 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
506
507 * progmodes/python.el (python-indent-calculate-indentation):
508 Fix de-denters cornercase. (Bug#15731)
509
510 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
513 (advice--make): Pay attention to `depth'.
514 (advice--make-1): Don't autoload commands eagerly.
515 * emacs-lisp/elp.el (elp-instrument-function):
516 * emacs-lisp/trace.el (trace-function-internal):
517 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
518
519 * iswitchb.el (iswitchb-mode): Don't belittle ido.
520
521 2013-12-12 Eli Zaretskii <eliz@gnu.org>
522
523 * term/w32-win.el (w32-handle-dropped-file):
524 * startup.el (normal-top-level):
525 * net/browse-url.el (browse-url-file-url):
526 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
527 decode file names using 'utf-8' rather than
528 file-name-coding-system.
529
530 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
531
532 * progmodes/python.el (python-indent-context)
533 (python-indent-calculate-indentation): Fix auto-identation
534 behavior for comment blocks. (Bug#15916)
535
536 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
537
538 * progmodes/python.el (python-indent-calculate-indentation):
539 When determining indentation, don't treat "return", "pass", etc., as
540 operators when they are just string constituents. (Bug#15812)
541
542 2013-12-12 Juri Linkov <juri@jurta.org>
543
544 * uniquify.el (uniquify-buffer-name-style): Change default to
545 `post-forward-angle-brackets'.
546
547 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
548 `uniquify'. Change default to `post-forward-angle-brackets'.
549
550 2013-12-11 Glenn Morris <rgm@gnu.org>
551
552 * emacs-lisp/package.el (finder-list-matches):
553 Autoload rather than falsely declaring.
554
555 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
556
557 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
558 (eww-mode-map): Use them.
559
560 2013-12-11 Martin Rudalics <rudalics@gmx.at>
561
562 * window.el (display-buffer-in-side-window): Fix doc-string
563 (Bug#16115).
564
565 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
566
567 * vc/vc-git.el: Silence byte-compiler warnings.
568 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
569 (log-edit-set-header): Declare.
570
571 2013-12-11 Eli Zaretskii <eliz@gnu.org>
572
573 * Makefile.in (custom-deps, finder-data): Run output file names
574 through unmsys--file-name. (Bug#16099)
575
576 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
577
578 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
579 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
580
581 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
582 instead of deleting the selection "by hand" (bug#16098).
583 Rely on insert-for-yank to yank rectangles.
584 (cua-highlight-region-shift-only): Mark obsolete.
585 (cua-mode): Don't enable/disable transient-mark-mode,
586 shift-select-mode (cua-mode works both with and without them), and
587 pc-selection-mode (obsolete).
588 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
589 (cua--deactivate-rectangle): Deactivate it.
590
591 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
592 (delete-selection-helper): Make sure yank starts at the top of the
593 deleted region.
594 (minibuffer-keyboard-quit): Use region-active-p.
595
596 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
597
598 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
599 to `delete' (bug#16109).
600
601 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
602
603 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
604 info manual and show keybindings and set `:group' keyword.
605
606 2013-12-11 Juri Linkov <juri@jurta.org>
607
608 * delsel.el (delete-active-region): Let-bind `this-command'
609 to prevent `kill-region' from changing its original value.
610 (delete-selection-helper): Handle `overwrite-mode' for the type
611 `kill' exactly the same way as for the type `t'.
612 (insert-char, quoted-insert, reindent-then-newline-and-indent):
613 Support more commands. (Bug#13312)
614
615 2013-12-11 Juri Linkov <juri@jurta.org>
616
617 * bindings.el: Map kp keys to non-kp keys systematically
618 with basic modifiers control, meta and shift. (Bug#14397)
619
620 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
621
622 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
623 "Close browser" menu items. Fix wrong function of "List
624 bookmarks".
625
626 2013-12-11 Juri Linkov <juri@jurta.org>
627
628 * misearch.el (multi-isearch-buffers): Set the value of
629 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
630 arg of isearch-forward to t.
631 (multi-isearch-buffers-regexp): Set the value of
632 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
633 arg of isearch-forward-regexp to t.
634 (multi-isearch-files): Set the value of
635 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
636 arg of isearch-forward to t.
637 (multi-isearch-files-regexp): Set the value of
638 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
639 arg of isearch-forward-regexp to t. (Bug#16035)
640
641 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
642 arg of isearch-forward to t.
643 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
644 arg of isearch-forward-regexp to t.
645 (dired-isearch-filter-filenames): Remove unnecessary check for
646 `dired-isearch-filenames'.
647
648 * comint.el (comint-history-isearch-backward):
649 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
650 (comint-history-isearch-backward-regexp):
651 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
652
653 2013-12-10 Eli Zaretskii <eliz@gnu.org>
654
655 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
656 unmsys--file-name. (Bug#16099)
657
658 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
659
660 * emacs-lisp/package.el (package-keyword-button-action):
661 Remove finder.el require dependency.
662
663 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
664
665 * emacs-lisp/package.el: Require finder.el.
666 (describe-package-1): Add keyword buttons.
667 (package-make-button): New convenience function.
668 (package-keyword-button-action): Keyword button action using
669 `finder-list-matches'
670
671 2013-12-09 Eli Zaretskii <eliz@gnu.org>
672
673 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
674 last commit.
675
676 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
677
678 * autorevert.el (auto-revert-notify-add-watch): Do not handle
679 symlinked files.
680
681 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
682
683 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
684 after the end of a percent literal.
685
686 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
687
688 * progmodes/ruby-mode.el (ruby-forward-string): Document.
689 Handle caret-delimited strings (Bug#16079).
690
691 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
692
693 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
694 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
695 `ruby-parse-partial' (Bug#16078).
696
697 2013-12-09 Leo Liu <sdl.web@gmail.com>
698
699 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
700
701 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
702
703 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
704 (js-switch-indent-offset): New option.
705 (js--proper-indentation): Use it. And handle the case when
706 "default" is actually a key in an object literal.
707 (js--same-line): New function.
708 (js--multi-line-declaration-indentation): Use it.
709 (js--indent-in-array-comp, js--array-comp-indentation):
710 New functions.
711 (js--proper-indentation): Use them, to handle array comprehension
712 continuations.
713
714 2013-12-08 Leo Liu <sdl.web@gmail.com>
715
716 * progmodes/flymake.el (flymake-highlight-line): Re-write.
717 (flymake-make-overlay): Remove arg MOUSE-FACE.
718 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
719
720 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
723 New function.
724 (redisplay-highlight-region-function): Use it.
725
726 * emulation/cua-base.el (cua--explicit-region-start)
727 (cua--last-region-shifted): Remove.
728 (cua--deactivate): Use deactivate-mark.
729 (cua--pre-command-handler-1): Don't handle shift-selection.
730 (cua--post-command-handler-1): Don't change transient-mark-mode.
731 (cua--select-keymaps): Use region-active-p rather than
732 cua--explicit-region-start or cua--last-region-shifted.
733 (cua-mode): Enable shift-select-mode.
734
735 2013-12-08 Leo Liu <sdl.web@gmail.com>
736
737 * progmodes/flymake.el (flymake-popup-current-error-menu):
738 Rename from flymake-display-err-menu-for-current-line. Reimplement.
739 (flymake-posn-at-point-as-event, flymake-popup-menu)
740 (flymake-make-emacs-menu): Remove. (Bug#16077)
741
742 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * rect.el (rectangle-mark-mode): Activate mark even if
745 transient-mark-mode is off (bug#16066).
746 (rectangle--highlight-for-redisplay): Fix boundary condition when point
747 is > mark and at bolp.
748
749 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
750 (region-extract-function): Use it.
751 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
752 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
753 Delete functions.
754 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
755 kill-ring-save, kill-region, delete-char, delete-forward-char.
756 Ignore self-insert-iso.
757
758 * emulation/cua-gmrk.el (cua--init-global-mark):
759 Ignore `self-insert-iso'.
760
761 * emulation/cua-base.el (cua--prefix-copy-handler)
762 (cua--prefix-cut-handler): Rely on region-extract-function rather than
763 checking cua--rectangle.
764 (cua-delete-region): Use region-extract-function.
765 (cua-replace-region): Delete function.
766 (cua-copy-region, cua-cut-region): Obey region-extract-function.
767 (cua--pre-command-handler-1): Don't do the delete-selection thing.
768 (cua--self-insert-char-p): Ignore `self-insert-iso'.
769 (cua--init-keymaps): Don't remap delete-selection commands.
770 (cua-mode): Use delete-selection-mode instead of rolling our own
771 (bug#16085).
772
773 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
774 Obey region-extract-function.
775
776 Make registers and delete-selection-mode work on rectangles.
777 * register.el (describe-register-1): Don't modify the register's value.
778 (copy-to-register): Obey region-extract-function.
779 * delsel.el (delete-active-region): Obey region-extract-function.
780
781 2013-12-08 Leo Liu <sdl.web@gmail.com>
782
783 * progmodes/flymake.el (flymake, flymake-error-bitmap)
784 (flymake-warning-bitmap, flymake-fringe-indicator-position)
785 (flymake-compilation-prevents-syntax-check)
786 (flymake-start-syntax-check-on-newline)
787 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
788 (flymake-start-syntax-check-on-find-file, flymake-log-level)
789 (flymake-xml-program, flymake-master-file-dirs)
790 (flymake-master-file-count-limit)
791 (flymake-allowed-file-name-masks): Relocate.
792 (flymake-makehash, flymake-float-time)
793 (flymake-replace-regexp-in-string, flymake-split-string)
794 (flymake-get-temp-dir): Remove.
795 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
796 (flymake-current-row, flymake-selected-frame)
797 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
798 related functions. (Bug#16077)
799
800 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
801
802 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
803
804 2013-12-07 Tassilo Horn <tsdh@gnu.org>
805
806 * help-fns.el (describe-function-1): Use new advice-* functions
807 rather than old ad-* functions. Fix function type description and
808 source links for advised functions and subrs.
809
810 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
811
812 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
813
814 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
815
816 * progmodes/compile.el (compilation-start):
817 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
818
819 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
820 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
821
822 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
823
824 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
825 Touch up the last change.
826
827 2013-12-06 Leo Liu <sdl.web@gmail.com>
828
829 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
830 (inferior-octave-startup): Always use "octave> " for prompt.
831 (octave-goto-function-definition)
832 (octave-sync-function-file-names)
833 (octave-find-definition-default-filename): Remove redundant backquotes.
834
835 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
836
837 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
838 syntax for `?'.
839 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
840 where appropriate already.
841 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
842 end of method names (Bug#15874).
843
844 2013-12-06 Juri Linkov <juri@jurta.org>
845
846 * isearch.el (isearch--saved-overriding-local-map):
847 New internal variable.
848 (isearch-mode): Set it to the initial value of
849 `overriding-terminal-local-map'.
850 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
851 with `isearch--saved-overriding-local-map'. (Bug#16035)
852
853 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
854
855 * progmodes/octave.el (inferior-octave-completion-table):
856 Turn back into function, use `completion-table-with-cache'
857 (Bug#11906). Update all references.
858
859 * minibuffer.el (completion-table-with-cache): New function.
860
861 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
862
863 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
864
865 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
866
867 * net/eww.el (eww-current-source): New variable to store page
868 source.
869 (eww-display-html, eww-mode, eww-save-history)
870 (eww-restore-history): Use it.
871 (eww-view-source): New command to view page source.
872 Opportunistically uses `html-mode' to highlight the buffer.
873 (eww-mode-map): Install it.
874
875 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
876
877 * net/dbus.el (dbus-unregister-service)
878 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
879 Fix docstring.
880 (dbus-unregister-service): Skip :serial entries in
881 `dbus-registered-objects-table'.
882 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
883
884 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
885
886 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
887 around keywords with extra `split-string' argument.
888
889 2013-12-04 Martin Rudalics <rudalics@gmx.at>
890
891 * windmove.el (windmove-other-window-loc): Handle navigation
892 between windows (excluding the minibuffer window - Bug#16017).
893
894 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
895
896 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
897 in D-Bus type syntax.
898 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
899 preserve unibyte strings. (Bug#16048)
900
901 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
904 Call force-mode-line-update is the proper buffer (bug#16042).
905
906 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
907
908 * vc/log-edit.el (log-edit-add-new-comment): Rename to
909 `log-edit-remember-comment', make argument optional. Adjust all
910 callers.
911 (log-edit-mode): Add `log-edit-remember-comment' to
912 `kill-buffer-hook' locally.
913 (log-edit-kill-buffer): Don't remember comment explicitly since
914 the buffer is killed anyway.
915
916 2013-12-04 Juri Linkov <juri@jurta.org>
917
918 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
919 add-hook and remove-hook for multi-buffer search. (Bug#16035)
920
921 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
922
923 * notifications.el (notifications-close-notification): Call the
924 D-Bus method with ID being a `:uint32'. (Bug#16030)
925
926 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
927
928 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
929
930 2013-12-03 Juri Linkov <juri@jurta.org>
931
932 * progmodes/compile.el (compilation-start): Rename window alist
933 entry `no-display-ok' to `allow-no-window'.
934
935 * simple.el (shell-command): Add window alist entry
936 `allow-no-window' to `display-buffer'.
937 (async-shell-command): Doc fix.
938
939 * window.el (display-buffer-no-window): New action function.
940 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
941
942 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
943
944 * vc/log-edit.el (log-edit-set-header): Extract from
945 `log-edit-toggle-header'.
946 (log-edit-extract-headers): Separate the summary, when extracted
947 from header, from the rest of the message with an empty line.
948
949 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
950 line, if present, to the Summary header.
951
952 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
955 in current-buffer (bug#16029).
956
957 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
958
959 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
960 (debugger-mode-map): Bind it.
961 (debugger--backtrace-base): New function.
962 (debugger-eval-expression): Use it.
963 (debugger-frame-number): Skip local vars when present.
964 (debugger--locals-visible-p, debugger--insert-locals)
965 (debugger--show-locals, debugger--hide-locals): New functions.
966
967 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
968
969 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
970 "LC_ALL".
971 (tramp-get-remote-locale): New defun.
972 (tramp-open-connection-setup-interactive-shell): Use it.
973
974 2013-12-02 Leo Liu <sdl.web@gmail.com>
975
976 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
977
978 * progmodes/sh-script.el (sh-shell-process):
979 * progmodes/octave.el (inferior-octave-process-live-p):
980 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
981 (gdb-inferior-io-sentinel):
982 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
983
984 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
985
986 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
987 `save-selected-window' to `log-edit-hide-buf'. This makes
988 `log-edit-show-files' idempotent.
989 (log-edit-show-files): Mark the new window as dedicated.
990
991 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
992
993 * vc/log-edit.el (log-edit-mode-map): Add binding for
994 `log-edit-kill-biffer'.
995 (log-edit-hide-buf): Add a FIXME comment.
996 (log-edit-add-new-comment): New function, extracted from
997 `log-edit-done'.
998 (log-edit-done, log-edit-add-to-changelog): Use it.
999 (log-edit-kill-buffer): New command.
1000
1001 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1002
1003 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1004 instead of killing the buffer.
1005
1006 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1009
1010 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1011
1012 * net/eww.el (eww-form-checkbox-selected-symbol)
1013 (eww-form-checkbox-symbol): New customizable variable.
1014 (eww-form-checkbox, eww-toggle-checkbox):
1015 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1016
1017 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1018 (shr--get-media-pref, shr--extract-best-source): New function.
1019 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1020 no :src tag was specified.
1021
1022 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1023 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1024 Use \\` to match beginning of string instead of ^.
1025 (eww-browse-with-external-browser): Provide optional URL parameter.
1026 (eww-render): Set `eww-current-title' back to "".
1027
1028 * net/shr.el (shr-tag-video): Display content for video if no
1029 poster is available.
1030 (shr-tag-audio): Add support for <audio> tag.
1031
1032 * net/eww.el (eww-text-input-types): : New const.
1033 (eww-process-text-input): Treat input types in
1034 `eww-text-input-types' as text.
1035
1036 * net/shr.el (shr-tag-table): Fix comment typo.
1037
1038 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1039
1040 * net/eww.el (eww-follow-link): New command to avoid reloading
1041 pages when we follow #target links (bug#15243).
1042 (eww-quit): Special mode buffers shouldn't query before exiting.
1043
1044 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1045
1046 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1047 forms.
1048
1049 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1050
1051 * net/eww.el (eww-restore-history): Update the window title after
1052 moving in the history.
1053 (eww-current-dom): New variable used to save the current DOM.
1054
1055 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1056
1057 * vc/log-edit.el (log-edit-mode-map): Add binding for
1058 `log-edit-beginning-of-line'.
1059 (log-edit-setup-add-author): New user option.
1060 (log-edit-beginning-of-line): New command.
1061 (log-edit): Move major mode call above the contents setup so that
1062 the local variable values are already applied.
1063 (log-edit): Only insert "Author: " when
1064 `log-edit-setup-add-author' is non-nil.
1065 (log-edit): When SETUP is non-nil, position point after ": "
1066 instead of point-min.
1067
1068 2013-12-01 Glenn Morris <rgm@gnu.org>
1069
1070 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1071
1072 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1073
1074 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1075 redisplay to make sure the initial frame gets a chance to become
1076 visible. (Bug#16014)
1077
1078 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1079
1080 Support resizing frames and windows pixelwise.
1081 * cus-start.el (frame-resize-pixelwise)
1082 (window-resize-pixelwise): New entries.
1083 * emacs-lisp/debug.el (debug): Use window-total-height instead
1084 of window-total-size.
1085 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1086 * help.el (describe-bindings-internal): Call help-buffer
1087 (temp-buffer-max-width): New option.
1088 (resize-temp-buffer-window, help-window-setup)
1089 (with-help-window): Rewrite.
1090 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1091 dragging dividers.
1092 * window.el (frame-char-size, window-min-pixel-height)
1093 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1094 (window-min-pixel-width, window-safe-min-pixel-size)
1095 (window-combination-p, window-safe-min-size)
1096 (window-resizable-p, window--size-to-pixel)
1097 (window--pixel-to-size, window--resize-apply-p): New functions.
1098 (window-safe-min-height): Fix doc-string.
1099 (window-size, window-min-size, window--min-size-1)
1100 (window-sizable, window-sizable-p, window--min-delta-1)
1101 (window-min-delta, window--max-delta-1, window-max-delta)
1102 (window--resizable, window--resizable-p, window-resizable)
1103 (window-full-height-p, window-full-width-p, window-at-side-p)
1104 (window--in-direction-2, window-in-direction)
1105 (window--resize-reset-1, window--resize-mini-window)
1106 (window-resize, window-resize-no-error)
1107 (window--resize-child-windows-normal)
1108 (window--resize-child-windows, window--resize-siblings)
1109 (window--resize-this-window, window--resize-root-window)
1110 (window--resize-root-window-vertically)
1111 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1112 (maximize-window, minimize-window, delete-window)
1113 (quit-restore-window, window-split-min-size, split-window)
1114 (balance-windows-2, balance-windows)
1115 (balance-windows-area-adjust, balance-windows-area)
1116 (window--state-get-1, window-state-get, window--state-put-1)
1117 (window--state-put-2, window-state-put)
1118 (display-buffer-record-window, window--display-buffer):
1119 Make functions handle pixelwise sizing of windows.
1120 (display-buffer--action-function-custom-type)
1121 (display-buffer-fallback-action):
1122 Add display-buffer-in-previous-window.
1123 (display-buffer-use-some-window): Resize window to height it had
1124 before.
1125 (fit-window-to-buffer-horizontally): New option.
1126 (fit-frame-to-buffer): Describe new values.
1127 (fit-frame-to-buffer-bottom-margin): Replace with
1128 fit-frame-to-buffer-margins.
1129 (window--sanitize-margin): New function.
1130 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1131 using window-text-pixel-size.
1132
1133 2013-11-30 Glenn Morris <rgm@gnu.org>
1134
1135 * emacs-lisp/bytecomp.el (byte-compile-form):
1136 Make the `interactive-only' warning like the `obsolete' one.
1137 * comint.el (comint-run):
1138 * files.el (insert-file-literally, insert-file):
1139 * replace.el (replace-string, replace-regexp):
1140 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1141 (goto-line, insert-buffer, next-line, previous-line):
1142 Tweak `interactive-only' spec.
1143
1144 Stop keeping (most) generated cedet grammar files in the repository.
1145 * Makefile.in (semantic): New.
1146 (compile-main): Depend on semantic.
1147
1148 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1151 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1152
1153 * uniquify.el (uniquify-buffer-name-style): Change default.
1154
1155 * loadup.el: Preload "uniquify".
1156
1157 * time.el (display-time-update): Update all mode lines (bug#15999).
1158
1159 * electric.el (electric-indent-mode): Enable by default.
1160 * loadup.el: Preload "electric".
1161
1162 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1163
1164 * emacs-lisp/helpers.el (string-empty-p): New function.
1165 (string-blank-p): New function.
1166
1167 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1168
1169 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1170 (Bug#14029).
1171
1172 2013-11-29 Andreas Politz <politza@fh-trier.de>
1173 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1174 allow non-lambda lists as functions.
1175 (imenu--in-alist): Don't recurse into non-subalists.
1176 (imenu): Don't pass function itself as an argument (Bug#14029).
1177
1178 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * progmodes/python.el (python-mode-map): Remove binding for ":".
1181 (python-indent-electric-colon): Remove command.
1182 (python-indent-post-self-insert-function): Integrate the previous code
1183 of python-indent-electric-colon. Make it conditional on
1184 electric-indent-mode.
1185 (python-mode): Add ?: to electric-indent-chars.
1186 Move python-indent-post-self-insert-function to the end of
1187 post-self-insert-hook.
1188
1189 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * doc-view.el (doc-view-goto-page): Update mode-line.
1192
1193 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1194
1195 2013-11-27 Glenn Morris <rgm@gnu.org>
1196
1197 * international/charprop.el, international/uni-bidi.el:
1198 * international/uni-category.el, international/uni-combining.el:
1199 * international/uni-comment.el, international/uni-decimal.el:
1200 * international/uni-decomposition.el, international/uni-digit.el:
1201 * international/uni-lowercase.el, international/uni-mirrored.el:
1202 * international/uni-name.el, international/uni-numeric.el:
1203 * international/uni-old-name.el, international/uni-titlecase.el:
1204 * international/uni-uppercase.el:
1205 Remove generated files from VCS repository.
1206
1207 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1208
1209 * filenotify.el (file-notify-add-watch): Don't special-case
1210 w32notify when computing the directory to watch.
1211
1212 2013-11-27 Glenn Morris <rgm@gnu.org>
1213
1214 Make bootstrap without generated uni-*.el files possible again.
1215 * loadup.el: Update command-line-args checking for unidata-gen.
1216 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1217 * composite.el, international/characters.el:
1218 Handle unicode tables being undefined.
1219
1220 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1221 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1222 (compile-main): Depend on leim rule.
1223 (leim): New rule.
1224 * loadup.el: Move leim-list.el to leim/ subdirectory.
1225 * startup.el (normal-top-level): No more leim directory.
1226 * international/ja-dic-cnv.el (skkdic-convert):
1227 Disable version-control and autoloads in output files.
1228 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1229 Disable version-control and autoloads in output files.
1230 * leim/quail: Move here from ../leim.
1231 * leim/quail/hangul.el (hangul-input-method-activate):
1232 Add autoload cookie.
1233 (generated-autoload-load-name): Set file-local value.
1234 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1235 (generated-autoload-load-name): Set file-local value.
1236
1237 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1238
1239 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1240 (eww-add-bookmark): ask confirmation when add to bookmarks
1241 (eww-quit): ask confirmation before quitting eww
1242
1243 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1244
1245 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1246 reading output from Diff on MS-Windows and MS-DOS.
1247
1248 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1249
1250 * emacs-lisp/helpers.el (string-reverse): New function.
1251
1252 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1253
1254 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1255 names on MS Windows, like "/[::1]:".
1256
1257 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1258 SWITCHES.
1259
1260 2013-11-26 Glenn Morris <rgm@gnu.org>
1261
1262 * progmodes/python.el (python-indent-guess-indent-offset):
1263 Avoid corner-case error. (Bug#15975)
1264
1265 Preload leim-list.el. (Bug#4789)
1266 * loadup.el: Load leim-list.el when found.
1267 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1268
1269 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1270
1271 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1272
1273 * emacs-lisp/helpers.el (string-join): New function.
1274
1275 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1276
1277 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1278 Mark as obsolete and replace it with a symbol property.
1279 (byte-compile-form): Use new 'interactive-only property.
1280 * comint.el, files.el, replace.el, simple.el:
1281 Apply new 'interactive-only properly.
1282
1283 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1284
1285 * window.el (display-buffer-at-bottom): Make sure that
1286 split-window-sensibly creates the new window on bottom
1287 (Bug#15961).
1288
1289 2013-11-23 David Kastrup <dak@gnu.org>
1290
1291 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1292 on the conflict markers when available.
1293 (smerge--get-marker): New function.
1294 (smerge-end-re, smerge-base-re): Add subgroup.
1295
1296 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * frame.el (handle-focus-in, handle-focus-out): Add missing
1299 interactive spec.
1300
1301 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1302
1303 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1304 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1305
1306 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1309 (gomoku--last-pos): New var.
1310 (gomoku--intangible-chars): New const.
1311 (gomoku--intangible): New function.
1312 (gomoku-mode): Use it. Derive from special-mode.
1313 (gomoku-move-up): Adjust line count.
1314 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1315 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1316 Simplify accordingly.
1317
1318 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1319 Remove blink-cursor code.
1320 (blink-cursor-timer-function, blink-cursor-suspend):
1321 Don't special-case GUIs.
1322 (blink-cursor-mode): Use focus-in/out-hook.
1323
1324 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1327 work when annotation is invisible (Bug#13886).
1328
1329 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1330
1331 * json.el (json-alist-p): Only return non-nil if the alist has
1332 simple keys (Bug#13518).
1333
1334 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1335
1336 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1337 when control-statement is the first statement in a buffer (Bug#15956).
1338
1339 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * imenu.el (imenu-generic-skip-comments-and-strings):
1342 New option (Bug#15560).
1343 (imenu--generic-function): Use it.
1344
1345 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1346
1347 * minibuffer.el (completion--in-region-1): Scroll the correct
1348 window. (Bug#13898)
1349
1350 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1351
1352 * emacs-lisp/helpers.el: Add some string helpers.
1353 (string-trim-left): Removes leading whitespace.
1354 (string-trim-right): Removes trailing whitespace.
1355 (string-trim): Removes leading and trailing whitespace.
1356
1357 * subr.el (string-suffix-p): New function.
1358
1359 2013-11-23 Glenn Morris <rgm@gnu.org>
1360
1361 * progmodes/python.el (python-shell-send-file):
1362 Add option to delete file when done. (Bug#15647)
1363 (python-shell-send-string, python-shell-send-region): Use it.
1364
1365 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1366
1367 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1368 to set buffer-read-only to t, never to nil. (Bug#15938)
1369
1370 * textmodes/tex-mode.el (latex-noindent-environments):
1371 Add safe-local-variable property. (Bug#15936)
1372
1373 2013-11-23 Glenn Morris <rgm@gnu.org>
1374
1375 * textmodes/enriched.el (enriched-mode): Doc fix.
1376 * emacs-lisp/authors.el (authors-renamed-files-alist):
1377 Add enriched.doc -> enriched.txt.
1378
1379 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1380
1381 2013-11-22 Leo Liu <sdl.web@gmail.com>
1382
1383 * progmodes/octave.el (inferior-octave-startup): Spit out error
1384 message.
1385
1386 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1387
1388 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1389 Improve docstring.
1390 Add :version.
1391 (ruby-encoding-magic-comment-style): Add :version.
1392
1393 2013-11-22 Leo Liu <sdl.web@gmail.com>
1394
1395 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1396 (Bug#15076)
1397 (octave-help-mode): Adapt to change to help-mode-finish to use
1398 derived-mode-p on 2013-09-17.
1399 (inferior-octave-prompt): Also match octave-gui.
1400 (octave-kill-process): Don't ask twice. (Bug#10564)
1401
1402 2013-11-22 Leo Liu <sdl.web@gmail.com>
1403
1404 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1405 (inferior-octave-startup, inferior-octave-check-process)
1406 (inferior-octave-track-window-width-change)
1407 (octave-completion-at-point, octave-eldoc-function): Use it.
1408 (octave-kill-process): Provide confirmation. (Bug#10564)
1409
1410 2013-11-21 Leo Liu <sdl.web@gmail.com>
1411
1412 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1413 Fix obsolete variable comment-use-global-state.
1414
1415 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1416
1417 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1418 Add `octave-source-file'.
1419 (octave-source-file): New function. (Bug#15935)
1420
1421 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1422
1423 * net/eww.el (eww-local-regex): New variable.
1424 (eww): Use it to detect localhost and similar.
1425
1426 2013-11-21 Leo Liu <sdl.web@gmail.com>
1427
1428 Add completion for command `ag'.
1429 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1430 (pcomplete/ag): New function.
1431 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1432
1433 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1436 (bug#14646).
1437 (make-obsolete): Remove interactive spec.
1438
1439 2013-11-21 Glenn Morris <rgm@gnu.org>
1440
1441 * startup.el (command-line-1): Use path-separator with -L.
1442
1443 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1444
1445 * emacs-lisp/package.el (describe-package-1): Add package archive
1446 to shown fields.
1447
1448 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1449
1450 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1451 Change default to "# encoding: %s" to differentiate it from the
1452 default Ruby encoding comment template.
1453
1454 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1455
1456 * ses.el (ses-mode): Doc fix. (Bug#14748)
1457
1458 2013-11-20 Leo Liu <sdl.web@gmail.com>
1459
1460 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1461
1462 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1463
1464 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1465 when rebase or bisect are in progress.
1466
1467 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1468
1469 * filenotify.el (file-notify-add-watch): Doc fix.
1470
1471 2013-11-19 Leo Liu <sdl.web@gmail.com>
1472
1473 * obsolete/rcompile.el: Mark obsolete.
1474
1475 * progmodes/compile.el (compilation-start)
1476 (compilation-goto-locus, compilation-find-file):
1477 Pass no-display-ok and handle nil value from display-buffer.
1478 (Bug#13594)
1479
1480 * window.el (display-buffer-alist, display-buffer): Document the
1481 new parameter no-display-ok. Return either a window or nil
1482 but never a non-window value.
1483
1484 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * electric.el (electric-indent-mode-map): Remove.
1487 (electric-indent-mode): Change the global-map instead (bug#15915).
1488
1489 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1490 Use add-function.
1491
1492 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * emacs-lisp/nadvice.el (remove-function): Align with
1495 add-function's behavior.
1496
1497 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1498 (gdb--string-regexp): New constant.
1499 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1500 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1501 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1502 submatch 1.
1503 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1504 Adjust use accordingly.
1505 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1506
1507 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1508
1509 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1510 interpolation curlies (Bug#15914).
1511
1512 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1513
1514 * calc/calc.el (calc-context-sensitive-enter): New variable.
1515 (calc-enter): Use `calc-context-sensitive-enter'.
1516
1517 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1518
1519 * progmodes/cfengine.el: Version bump.
1520 (cfengine-cf-promises): New defcustom to locate cf-promises.
1521 (cfengine3-vartypes): Add new "data" type.
1522 (cfengine3--current-word): New function to get current name-like
1523 word or its bounds.
1524 (cfengine3--current-function): New function to look up a CFEngine
1525 function's definition.
1526 (cfengine3-format-function-docstring): New function.
1527 (cfengine3-make-syntax-cache): New function.
1528 (cfengine3-documentation-function): New function: ElDoc glue.
1529 (cfengine3-completion-function): New function: completion glue.
1530 (cfengine3-mode): Set `compile-command',
1531 `eldoc-documentation-function', and add to
1532 `completion-at-point-functions'.
1533
1534 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1535
1536 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1537 `tramp-current-connection'.
1538
1539 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1540
1541 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1542 nil/self/true/false with "end of symbol".
1543
1544 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1545
1546 * subr.el (version-regexp-alist): Fix a typo.
1547
1548 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1551 "en_US.utf8" and "LC_CTYPE" to "".
1552 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1553 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1554
1555 2013-11-15 Leo Liu <sdl.web@gmail.com>
1556
1557 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1558
1559 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * progmodes/gud.el (ctl-x-map):
1562 Remove C-x SPC binding. (Bug#12342)
1563 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1564
1565 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1566
1567 * subr.el (version-regexp-alist):
1568 Recognize hg, svn and darcs versions as snapshot versions.
1569
1570 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1571 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1572 (ruby--encoding-comment-required-p): Extract from
1573 `ruby-mode-set-encoding'.
1574 (ruby-mode-set-encoding): Add the ability to always insert an
1575 utf-8 encoding comment. Fix and simplify coding comment update
1576 logic.
1577
1578 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * net/tramp-gvfs.el (top): Run init code only when
1581 `tramp-gvfs-enabled' is not nil.
1582 (tramp-gvfs-enabled): Check also :system bus.
1583
1584 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 Sync with upstream verilog-mode revision 78e66ba.
1587 * progmodes/verilog-mode.el (verilog-end-of-defun)
1588 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1589 (verilog-get-end-of-defun): Remove unused argument.
1590 (verilog-comment-depth): Remove unused local `e'.
1591 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1592 Don't pass arg to verilog-get-end-of-defun.
1593
1594 2013-11-14 Glenn Morris <rgm@gnu.org>
1595
1596 * obsolete/assoc.el (aget): Prefix dynamic variable.
1597
1598 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1599
1600 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * widget.el, hfy-cmap.el: Remove bogus package version number.
1603
1604 2013-11-13 Glenn Morris <rgm@gnu.org>
1605
1606 * replace.el (replace-eval-replacement):
1607 Try to give more helpful error message. (Bug#15836)
1608
1609 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1610 (archive-7z-update): Avoid custom type mismatches.
1611
1612 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1613
1614 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1615
1616 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1617 address can be empty.
1618
1619 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1620 Accept nil SWITCHES.
1621 (tramp-gvfs-handle-write-region): Implement APPEND.
1622
1623 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1626 binary "|" operator and closing block args delimiter.
1627 Remove FIXME comment referring to Ruby 1.8-only syntax.
1628 (ruby-smie--implicit-semi-p): Not after "|" operator.
1629 (ruby-smie--closing-pipe-p): New function.
1630 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1631 (ruby-smie-rules): Indent after "|".
1632
1633 2013-11-12 Glenn Morris <rgm@gnu.org>
1634
1635 * ps-print.el (ps-face-attribute-list):
1636 Handle anonymous faces. (Bug#15827)
1637
1638 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1639
1640 * window.el (display-buffer-other-frame): Fix doc-string.
1641 (Bug#15868)
1642
1643 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1646
1647 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1650 (tramp-sh-handle-file-local-copy): Don't write a message when
1651 saving temporary files.
1652
1653 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1654 both directories are remote.
1655 (tramp-smb-handle-directory-files): Do not return double entries.
1656 Do not expand full file names.
1657 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1658 (tramp-smb-handle-write-region): Implement APPEND.
1659 (tramp-smb-get-stat-capability): Fix a stupid bug.
1660
1661 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1664
1665 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1666
1667 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1668 throwing error over malformed let/let* (bug#15814).
1669
1670 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * iswitchb.el (iswitchb-mode): Mark obsolete.
1673
1674 2013-11-11 Glenn Morris <rgm@gnu.org>
1675
1676 * international/uni-bidi.el, international/uni-category.el:
1677 * international/uni-name.el, international/uni-numeric.el:
1678 Regenerate for Unicode 6.3.0.
1679
1680 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1681
1682 * net/tramp.el (tramp-methods):
1683 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1684 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1685
1686 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1687
1688 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1689 Force highlighting text after Summary keyword in doc face for rpm.
1690
1691 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1692
1693 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1694 available and the word has no wildcards, append one to the grep pattern.
1695 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1696 (ispell-complete-word): Call `ispell-lookup-words' with the value
1697 independent of `ispell-look-p'.
1698
1699 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1700
1701 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1702 Not after "||".
1703 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1704 their parent.
1705
1706 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1709 (ruby-font-lock-keywords): Use backquote.
1710
1711 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1714 (ruby-smie--backward-token): Only consider full-string matches.
1715
1716 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1717
1718 * faces.el (describe-face): Add distant-foreground.
1719
1720 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1721
1722 * progmodes/ruby-mode.el: Improve encoding comment handling.
1723 (ruby-encoding-magic-comment-style): New option.
1724 (ruby-custom-encoding-magic-comment-template): New option.
1725 (ruby--insert-coding-comment, ruby--detect-encoding):
1726 New functions extracted from `ruby-mode-set-encoding'.
1727 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1728 to control the style of the auto-inserted encoding comment.
1729
1730 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1733 Use `smie-backward-sexp' with token argument.
1734
1735 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1736
1737 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1738 Remove instrumentation code.
1739
1740 2013-11-08 Glenn Morris <rgm@gnu.org>
1741
1742 * progmodes/autoconf.el (autoconf-mode):
1743 Tweak comment-start-skip. (Bug#15822)
1744
1745 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1748 at bobp (bug#15826).
1749 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1750
1751 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1752
1753 * man.el (Man-start-calling): New macro, extracted from
1754 Man-getpage-in-background.
1755 (Man-getpage-in-background): Use it.
1756 (Man-update-manpage): New command.
1757 (Man-mode-map): Bind it.
1758
1759 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1760
1761 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1762 of "and", "or", "&&" and "||".
1763 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1764 argument. Prohibit opening curly brace because it could only be a
1765 block opener in that position.
1766 (ruby-smie--forward-token, ruby-smie--backward-token):
1767 Separate "|" from "&" or "*" going after it. That can happen in block
1768 arguments.
1769 (ruby-smie--indent-to-stmt): New function, seeks the end of
1770 previous statement or beginning of buffer.
1771 (ruby-smie-rules): Use it.
1772 (ruby-smie-rules): Check if there's a ":" before a curly block
1773 opener candidate; if there is, it's a hash.
1774
1775 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1778 (cl--block-wrapper): Fix last accidental change.
1779
1780 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1781
1782 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1783 Instrument, in order to hunt failure on hydra.
1784
1785 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1786
1787 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1788 malformed bindings form (bug#15814).
1789
1790 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1791
1792 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1793 "." compared to " @ ". This incidentally fixes some indentation
1794 examples with "do".
1795 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1796 (ruby-smie-grammar): New tokens: "and" and "or".
1797 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1798 Exclude "and" and "or". Remove "do" in order to work around token
1799 priorities.
1800 (ruby-smie-rules): Add all infix tokens. Handle the case of
1801 beginning-of-buffer.
1802
1803 2013-11-06 Glenn Morris <rgm@gnu.org>
1804
1805 * Makefile.in (setwins_almost, setwins_for_subdirs):
1806 Avoid accidental matches.
1807
1808 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * menu-bar.el (popup-menu): Use key-binding.
1811
1812 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1813
1814 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1815 menus, support also the menus produced by minor modes.
1816 (Bug#15817)
1817
1818 2013-11-06 Leo Liu <sdl.web@gmail.com>
1819
1820 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1821 DISTANCE to bound the search. All uses changed. (Bug#15808)
1822
1823 2013-11-06 Glenn Morris <rgm@gnu.org>
1824
1825 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1826 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1827 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1828
1829 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * electric.el (electric-indent-just-newline): New command.
1832 (electric-indent-mode-map): New keymap.
1833 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1834 Re-add :group which weren't redundant.
1835
1836 * electric.el (electric-indent-local-mode): New minor mode.
1837 (electric-indent-functions-without-reindent): New var.
1838 (electric-indent-post-self-insert-function): Use it.
1839 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1840
1841 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1842
1843 * international/quail.el (quail-help): Be more explicit about the
1844 meaning of the labels shown on the keys. (Bug#15800)
1845
1846 * startup.el (normal-top-level): Load the subdirs.el files before
1847 setting the locale environment. (Bug#15805)
1848
1849 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1852 via arguments so as to get the right ones (bug#15418).
1853
1854 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1855
1856 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1857
1858 Fix problems found while writing a test suite.
1859
1860 * net/tramp-compat.el (tramp-compat-load): New defun.
1861 * net/tramp.el (tramp-handle-load): Use it.
1862
1863 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1864 "(numberp ok-if-already-exists)" correctly.
1865
1866 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1867
1868 * international/characters.el (glyphless-char-display-control):
1869 Add usage note.
1870
1871 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1872
1873 * progmodes/python.el (python-mode):
1874 * progmodes/scheme.el (scheme-mode):
1875 * progmodes/prolog.el (prolog-mode):
1876 * progmodes/ruby-mode.el (ruby-mode):
1877 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1878 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1879
1880 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * rect.el (rectangle--highlight-for-redisplay):
1883 * emacs-lisp/smie.el (smie--next-indent-change):
1884 Use buffer-chars-modified-tick.
1885
1886 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1887
1888 * electric.el (electric-indent-post-self-insert-function):
1889 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1890
1891 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1892
1893 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1894
1895 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1896
1897 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1898 (bug#15786).
1899
1900 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1903
1904 * progmodes/python.el: Fix up last change.
1905 (python-shell--save-temp-file): New function.
1906 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1907 `string' comes from the current buffer.
1908 (python-shell-send-string-no-output): Remove `msg' arg.
1909 (python--use-fake-loc): New var.
1910 (python-shell-buffer-substring): Obey it. Try to compensate for the
1911 extra coding line added by python-shell--save-temp-file.
1912 (python-shell-send-region): Use python-shell--save-temp-file and
1913 python-shell-send-file directly. Add `nomain' argument.
1914 (python-shell-send-buffer): Use python-shell-send-region.
1915 (python-electric-pair-string-delimiter): New function.
1916 (python-mode): Use it.
1917
1918 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1919
1920 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1921 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1922 environment and decoding all of the default-directory's to here
1923 from command-line.
1924 (command-line): Decode also argv[0].
1925
1926 * loadup.el: Error out if default-directory is a multibyte string
1927 when we are dumping.
1928
1929 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1930
1931 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1932
1933 * emacs-lisp/package.el (package-menu-mode)
1934 (package-menu--print-info, package-menu--archive-predicate):
1935 Add Archive column to package list.
1936
1937 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1938
1939 Fix problems found while writing a test suite.
1940
1941 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1942 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1943 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1944 to nil when running original file name handler. Otherwise,
1945 there are problems with constructs like "$$FOO".
1946
1947 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1948 for `localname'.
1949
1950 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1951
1952 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1953
1954 * subr.el (version<, version<=, version=):
1955 Update docstrings with information for snapshot versions.
1956
1957 * helpers.el: New library for misc helper functions.
1958 (hash-table-keys): New function returning a list of hash keys.
1959 (hash-table-values): New function returning a list of hash values.
1960
1961 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1962
1963 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1964 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1965
1966 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1967
1968 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1969 checking whether point is after a 1-letter word.
1970
1971 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1972
1973 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1974 Don't infloop when expanding region over `multiline' syntax-type that
1975 begins a line (bug#15778).
1976
1977 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1980 Make it into a proper minor mode.
1981 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1982 (rectangle-mark-mode-map): New keymap.
1983 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1984
1985 2013-11-04 Glenn Morris <rgm@gnu.org>
1986
1987 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1988
1989 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1992 (ruby-smie-rules): Use smie-rule-parent instead.
1993
1994 * emacs-lisp/smie.el (smie-rule-parent): Always call
1995 smie-indent-virtual rather than only for hanging tokens.
1996 (smie--next-indent-change): New helper command.
1997
1998 2013-11-03 Glenn Morris <rgm@gnu.org>
1999
2000 * Makefile.in (abs_srcdir): Remove.
2001 (emacs): Unset EMACSLOADPATH.
2002
2003 2013-11-02 Glenn Morris <rgm@gnu.org>
2004
2005 * Makefile.in (EMACS): Use a relative filename.
2006 (abs_top_builddir): Remove.
2007 (custom-deps, finder-data, autoloads): Use --chdir.
2008
2009 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2010
2011 Use relative filenames in TAGS files.
2012 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2013 (lisptagsfiles4, TAGS): Use relative file names.
2014 (TAGS-LISP): Remove.
2015 (maintainer-clean): No more TAGS-LISP file.
2016
2017 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2018 (lisptagsfiles4): Use absolute filenames again.
2019 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2020 Remove all *loaddefs files, not just the first. Remove esh-groups.
2021 (maintainer-clean): Delete TAGS, TAGS-LISP.
2022
2023 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2024
2025 * emacs-lisp/package.el (package-version-join):
2026 Recognize snapshot versions.
2027
2028 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2029
2030 * subr.el (version-regexp-alist): Add support for snapshot versions.
2031
2032 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2035 New function, replacement for `smie-rule-parent' for when we want to
2036 skip over our direct parent if it's an assignment token..
2037 (ruby-smie-rules): Use it.
2038
2039 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2040
2041 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2042 unconditionally. Remove now unnecessary forward declarations.
2043 Remove XEmacs-specific setup.
2044 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2045 (ruby-font-lock-syntactic-keywords)
2046 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2047 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2048 (ruby-here-doc-end-syntax): Remove.
2049 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2050 defined as function.
2051
2052 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2053
2054 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2055
2056 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2057
2058 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2059 table and abbrev table, `define-derived-mode' does that for us
2060 anyway.
2061
2062 2013-11-01 Glenn Morris <rgm@gnu.org>
2063
2064 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2065 files is atomic for some time, so no parallel compilation issues).
2066
2067 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2068
2069 * faces.el (face-x-resources): Add :distant-foreground.
2070 (region): Use :distant-foreground for gtk and ns.
2071
2072 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2073
2074 Allow multiple bibliographies when BibLaTeX is used rather than
2075 BibTeX.
2076 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2077 (reftex-locate-bibliography-files): Us it.
2078
2079 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2080
2081 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2082 allow comments in pbm files.
2083
2084 * term/w32-win.el (dynamic-library-alist): Support newer versions
2085 of libjpeg starting with v7: look only for the DLL from the
2086 version against which Emacs was built.
2087 Support versions of libpng beyond 1.4.x.
2088 Support libtiff v4.x.
2089
2090 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2091
2092 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2093 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2094 Add property :safe.
2095 (ruby-deep-arglist): Add property :type.
2096
2097 2013-10-31 Glenn Morris <rgm@gnu.org>
2098
2099 * Makefile.in (custom-deps, finder-data): No need to setq the target
2100 variables, we are in the right directory and the defaults work fine.
2101
2102 2013-10-30 Glenn Morris <rgm@gnu.org>
2103
2104 * Makefile.in (autoloads): Do not use abs_lisp.
2105
2106 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2107 `newline' does not respect `standard-output', so use `princ'.
2108
2109 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2110
2111 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2112 * buff-menu.el (Buffer-menu--unmark): New function.
2113 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2114
2115 2013-10-30 Glenn Morris <rgm@gnu.org>
2116
2117 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2118
2119 * emacs-lisp/package.el (lm-homepage): Declare.
2120
2121 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2122 Fix doc typos.
2123
2124 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2125
2126 * Makefile.in (finder-data, autoloads, update-subdirs)
2127 (compile-main, compile-clean, compile-always, bootstrap-clean):
2128 Check return value of cd.
2129 (compile-calc): Remove.
2130
2131 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2134
2135 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2136 (byte-compile-and-folded): New function.
2137 (=, <, >, <=, >=): Use it.
2138
2139 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2140 (path-separator, null-device, buffer-file-coding-system)
2141 (lpr-headers-switches): Check system-type before modifying them.
2142 (find-buffer-file-type-coding-system): Mark obsolete.
2143 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2144 find-file-not-found-set-buffer-file-coding-system.
2145 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2146 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2147 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2148 (w32-direct-print-region-helper, w32-direct-print-region-function)
2149 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2150 * startup.el (normal-top-level-add-subdirs-to-load-path):
2151 * ps-print.el (ps-print-region-function):
2152 * lpr.el (print-region-function): Use new name.
2153
2154 * subr.el (custom-declare-variable-early): Remove function.
2155 (custom-declare-variable-list): Remove var.
2156 (error, user-error): Remove `while' loop.
2157 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2158 (user-emacs-directory-warning, locate-user-emacs-file):
2159 Move to files.el.
2160 * simple.el (read-quoted-char-radix, read-quoted-char):
2161 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2162 Move from subr.el.
2163 * custom.el (custom-declare-variable-list): Don't process
2164 custom-declare-variable-list.
2165
2166 * progmodes/python.el (python-shell-get-buffer): New function.
2167 (python-shell-get-process): Use it.
2168 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2169 Python which encoding was used. Don't split-string since we only care
2170 about the first line. Return the temp-file, if applicable.
2171 (python-shell-send-region): Tell compile.el how to turn locations in
2172 the temp-file into locations in the source buffer.
2173
2174 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * subr.el (undefined): Add missing behavior from the C code for
2177 unbound keys.
2178
2179 * rect.el: Use lexical-binding. Add new rectangular region support.
2180 (rectangle-mark): New command.
2181 (rectangle--region): New var.
2182 (deactivate-mark-hook): Reset rectangle--region.
2183 (rectangle--extract-region, rectangle--insert-for-yank)
2184 (rectangle--highlight-for-redisplay)
2185 (rectangle--unhighlight-for-redisplay): New functions.
2186 (region-extract-function, redisplay-unhighlight-region-function)
2187 (redisplay-highlight-region-function): Use them to handle
2188 rectangular region.
2189 * simple.el (region-extract-function): New var.
2190 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2191 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2192 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2193 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2194 (redisplay-unhighlight-region-function)
2195 (redisplay-highlight-region-function): New vars.
2196 (redisplay--update-region-highlight): New function.
2197 (pre-redisplay-function): Use it.
2198 (exchange-point-and-mark): Don't deactivate the mark before
2199 reactivate-it anyway.
2200 * comint.el (comint-kill-region): Remove yank-handler argument.
2201 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2202 (delete-char): Remove property, since it's now part of their
2203 default behavior.
2204 (self-insert-iso): Remove property since this command doesn't exist.
2205
2206 * emacs-lisp/package.el (package--download-one-archive)
2207 (describe-package-1): Don't query the user about final newline.
2208
2209 2013-10-29 Daniel Colascione <dancol@dancol.org>
2210
2211 * net/tramp.el (tramp-methods): Document new functionality.
2212 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2213 tramp-hostname-checker if method provides one instead of scanning
2214 argument list for "%h" to decide hostname acceptability.
2215
2216 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2219 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2220 Handle COPY-CONTENTS. (Bug#15737)
2221
2222 2013-10-28 Daiki Ueno <ueno@gnu.org>
2223
2224 * epa-file.el
2225 (epa-file-cache-passphrase-for-symmetric-encryption):
2226 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2227
2228 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2229
2230 * image.el (defimage):
2231 (image-load-path): Doc fixes.
2232
2233 2013-10-27 Alan Mackenzie <acm@muc.de>
2234
2235 Indent statements in macros following "##" correctly.
2236 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2237 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2238
2239 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2240
2241 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2242
2243 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2244
2245 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2246 after `=' is probably a new expression.
2247
2248 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2249
2250 * man.el (man-imenu-title): New option.
2251 (Man-mode-map): Add menu. (Bug#15722)
2252 (Man-mode): Add imenu to menu.
2253
2254 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2255
2256 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2257 specific in what the first arg can be: a non-keyword word,
2258 string/regexp/percent literal opener, opening paren, or unary
2259 operator followed directly by word.
2260
2261 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2264 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2265 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2266 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2267 Remove vars, they do not apply any more.
2268 (prolog-mode-abbrev-table): Remove redundant declaration.
2269 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2270 (prolog-use-smie): Remove.
2271 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2272 supported by prolog-electric-if-then-else-flag.
2273 (prolog-mode-variables, prolog-menu): Use setq-local.
2274 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2275 Remove binding to `Backspace' since this key doesn't exist anyway.
2276 Remove bindings for electric self-inserting keys.
2277 (prog-mode): Assume it's defined.
2278 (prolog-post-self-insert): New function.
2279 (prolog-mode): Use it.
2280 (prolog-indent-line, prolog-indent-level)
2281 (prolog-find-indent-of-matching-paren)
2282 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2283 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2284 (prolog-goto-next-paren, prolog-in-string-or-comment)
2285 (prolog-tokenize, prolog-inside-mline-comment)
2286 (prolog-find-start-of-mline-comment): Remove functions.
2287 (prolog-find-unmatched-paren, prolog-clause-end)
2288 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2289 (prolog-electric--if-then-else): Rename from
2290 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2291 (prolog-tokenize-searchkey): Remove const.
2292 (prolog-clause-info): Use forward-sexp.
2293 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2294 (prolog-electric-if-then-else): Remove commands.
2295 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2296 for use in post-self-insert-hook.
2297 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2298 for use in post-self-insert-hook.
2299 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2300 for use in post-self-insert-hook.
2301 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2302 adapt it for use in post-self-insert-hook.
2303
2304 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * emacs-lisp/ert.el (ert-run-tests-interactively):
2307 Use `completing-read'. (Bug#9756)
2308
2309 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2310
2311 * simple.el (line-move): Call line-move-1 instead of
2312 line-move-visual when the current window hscroll is zero, but
2313 temporary-goal-column indicates we will need to hscroll as result
2314 of the movement. (Bug#15712)
2315
2316 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2317
2318 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2319 capitalization. Use :visible instead of :active.
2320 Fix `ruby-indent-exp' reference. Add menu items for the generic
2321 commands that are used with SMIE.
2322 (ruby-do-end-to-brace): Insert space after `{'.
2323
2324 2013-10-25 John Anthony <john@jo.hnanthony.com>
2325
2326 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2327
2328 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2329
2330 2013-10-25 Glenn Morris <rgm@gnu.org>
2331
2332 * vc/vc.el (vc-print-log): Don't use a working revision unless
2333 one was explicitly specified. (Bug#15322)
2334
2335 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * subr.el (add-to-list): Preserve return value in compiler-macro
2338 (bug#15692).
2339
2340 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2341
2342 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2343 result. Ask user to retry using '-all' flag. (Bug#15701)
2344
2345 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/smie.el: New smie-config system.
2348 (smie-config): New defcustom.
2349 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2350 (smie-config-guess, smie-config-save): New commands.
2351 (smie-config--mode-local, smie-config--buffer-local)
2352 (smie-config--trace, smie-config--modefuns): New vars.
2353 (smie-config--advice, smie-config--mode-hook)
2354 (smie-config--setter, smie-config-local, smie-config--get-trace)
2355 (smie-config--guess-value, smie-config--guess): New functions.
2356 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2357 text properties. Treat "string fence" syntax like string syntax.
2358
2359 * progmodes/sh-script.el (sh-use-smie): Change default.
2360 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2361 (sh-var-value): Simplify by CSE.
2362 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2363 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2364 is used.
2365 (sh-guess-basic-offset): Use cl-incf.
2366 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2367
2368 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2369
2370 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2371 (bug#15699).
2372
2373 2013-10-24 Glenn Morris <rgm@gnu.org>
2374
2375 * Makefile.in (abs_top_srcdir): Remove.
2376 (update-subdirs): Use relative path to update-subdirs.
2377
2378 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2379
2380 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2381 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2382 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2383 Call unmsys--file-name before expand-file-name, not after it.
2384
2385 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2386
2387 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2388 (ert-test-skipped): New error.
2389 (ert-skip, ert-stats-skipped): New defuns.
2390 (ert--skip-unless): New macro.
2391 (ert-test-skipped): New struct.
2392 (ert--run-test-debugger, ert-test-result-type-p)
2393 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2394 (ert--stats-set-test-and-result, ert-char-for-test-result)
2395 (ert-string-for-test-result, ert-run-tests-batch)
2396 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2397 Handle skipped tests. (Bug#9803)
2398
2399 2013-10-24 Glenn Morris <rgm@gnu.org>
2400
2401 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2402
2403 * Makefile.in (abs_top_srcdir): New, set by configure.
2404 (update-subdirs): Correct build-aux location.
2405
2406 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2407
2408 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2409 value, whether we could auto-deduce `backend', or not.
2410
2411 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2412 with parameters" example. Simplify the "is it block or is it
2413 hash" check, but also make it more thorough.
2414
2415 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2416
2417 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2418
2419 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2422 { if it is hanging.
2423
2424 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2425 :before ";".
2426
2427 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2428
2429 * progmodes/compile.el (compilation-directory-matcher)
2430 (compilation-page-delimiter):
2431 Support GNU Make-4.0 directory quoting. (Bug#15678)
2432
2433 2013-10-23 Leo Liu <sdl.web@gmail.com>
2434
2435 * ido.el (ido-tidy): Handle read-only text.
2436
2437 2013-10-23 Glenn Morris <rgm@gnu.org>
2438
2439 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2440 (emacs, compile, compile-always):
2441 Quote entities that might contain whitespace.
2442 (custom-deps, finder-data, autoloads): Use abs_lisp.
2443 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2444 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2445 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2446
2447 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2448
2449 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2450 Use `following-char'.
2451
2452 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2455 * progmodes/ruby-mode.el (ruby-smie-rules):
2456 Remove corresponding workaround. Fix indentation rule of ";" so it
2457 also applies when ";" is the parent.
2458
2459 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2460
2461 * frame.el (display-screens, display-pixel-height)
2462 (display-pixel-width, display-mm-width, display-backing-store)
2463 (display-save-under, display-planes, display-color-cells)
2464 (display-visual-class, display-monitor-attributes-list):
2465 Mention the optional ‘display’ argument in doc strings.
2466
2467 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2468
2469 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2470 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2471
2472 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2473
2474 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2475 TODO. Add "." after " @ ".
2476 (ruby-smie--at-dot-call): New function. Checks if point at method
2477 call with explicit target.
2478 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2479 to the method name tokens when it precedes them.
2480 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2481 (ruby-smie-rules): Add rule for indentation before and after "."
2482 token.
2483
2484 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * textmodes/remember.el (remember-diary-extract-entries):
2487 Avoid add-to-list.
2488
2489 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2490 an instruction.
2491
2492 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2495 (ruby-smie--implicit-semi-p): Add new operator chars.
2496
2497 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2498 `smie-down-list'.
2499 (ruby-smie--args-separator-p): Check that there's no newline
2500 between method call and its arguments.
2501
2502 2013-10-20 Alan Mackenzie <acm@muc.de>
2503
2504 Allow comma separated lists after Java "implements".
2505
2506 * progmodes/cc-engine.el (c-backward-over-enum-header):
2507 Parse commas.
2508 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2509 from a "disallowed" list in enum fontification.
2510
2511 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2512
2513 * startup.el (default-frame-background-mode): Remove unused defvar.
2514
2515 * progmodes/verilog-mode.el (verilog-mode): Don't set
2516 comment-indent-function globally.
2517
2518 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2519
2520 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2521 Move Info menu item creation to ns-win.el.
2522
2523 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2524 in menu bar.
2525
2526 * menu-bar.el: Move GNUStep specific menus...
2527
2528 * term/ns-win.el (ns-initialize-window-system): ... to here.
2529
2530 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * simple.el (newline): Only run post-self-insert-hook when
2533 called interactively.
2534
2535 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2536
2537 * icomplete.el (icomplete-with-completion-tables): Add :version.
2538
2539 2013-10-19 Alan Mackenzie <acm@muc.de>
2540
2541 Fix fontification bugs with constructors and const.
2542
2543 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2544 CASE 2) Remove the check for the absence of a suffix construct
2545 after a function declaration with only types (no identifiers) in
2546 the parentheses. Also, accept a function declaration with just a
2547 type inside the parentheses, if this type can be positively
2548 recognised as such, or if a prefix keyword like "explicit" nails
2549 down the construct as a declaration.
2550
2551 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2552
2553 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2554 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2555 the problem whereby selecting a menu item that leads to a
2556 minibuffer prompt moves the cursor out of the minibuffer window,
2557 making it hard to type at the prompt. Suggested by Stefan Monnier
2558 <monnier@iro.umontreal.ca>.
2559
2560 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2561
2562 * menu-bar.el: Don't make Services menu.
2563
2564 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2565
2566 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2567 (ffap-alist): Use ffap-c++-mode for c++-mode.
2568 (ffap-c++-path): New variable.
2569 (ffap-c++-mode): New function.
2570
2571 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2572
2573 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2574
2575 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2576
2577 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2578 introduced on 2013-09-08, which results in an infinite loop
2579 requesting a password.
2580
2581 2013-10-18 Glenn Morris <rgm@gnu.org>
2582
2583 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2584
2585 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2586
2587 Sync with upstream verilog-mode revision 1a6ecec7.
2588 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2589 (verilog-mode-release-date): Remove.
2590 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2591 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2592 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2593 (verilog-auto-tieoff-ignore-regexp)
2594 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2595 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2596 (verilog-signals-with, verilog-dir-cache-preserving)
2597 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2598 Doc fixes.
2599 (verilog-case-fold): New option, to control case folding in
2600 regexp searches, bug597.
2601 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2602 (verilog-string-match-fold, verilog-in-paren-count)
2603 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2604 (verilog-at-close-struct-p): New functions.
2605 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2606 (verilog-forward-sexp, verilog-set-auto-endcomments):
2607 (verilog-leap-to-case-head): Handle "unique0" case.
2608 (verilog-in-constraint-re): New constant.
2609 (verilog-keywords, verilog-type-font-keywords):
2610 Add some SystemVerilog 1800-2012 keywords.
2611 (verilog-label-be): Remove unimplemented argument, bug669.
2612 (verilog-batch-execute-func): When batch expanding clear
2613 create-lockfiles to prevent spurious user locks when a file ends
2614 up not changing.
2615 (verilog-calculate-indent, verilog-calc-1)
2616 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2617 (verilog-do-indent): Fix indentation of nested constraints
2618 and structures.
2619 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2620 (verilog-auto-inst-param): Use verilog-string-match-fold.
2621 (verilog-read-inst-module-matcher):
2622 Fix AUTOINST on gate primitives with #1.
2623 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2624 Reads all user-defined typed variables.
2625 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2626 (verilog-signals-matching-regexp)
2627 (verilog-signals-not-matching-regexp, verilog-auto):
2628 Respect verilog-case-fold.
2629 (verilog-diff-report): Fix line count.
2630 (verilog-auto-assign-modport): Remove unused local `modi'.
2631 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2632 better handle multidimensional arrays.
2633 Fix packed array ports misadding bit index in AUTOINST, bug637.
2634 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2635 to not double-declare existing outputs and inputs, respectively.
2636 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2637 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2638 (verilog-sk-uvm-component): New skeleton.
2639 (verilog-submit-bug-report): Add verilog-case-fold,
2640 remove verilog-mode-release-date.
2641
2642 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2643
2644 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2645 as before.
2646
2647 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2648
2649 * textmodes/remember.el (remember): set buffer-offer-save in
2650 remember buffers (bug#13566).
2651
2652 2013-10-18 Daniel Colascione <dancol@dancol.org>
2653
2654 When evaluating forms in ielm, direct standard output to ielm
2655 buffer. Add new ielm-return-for-effect command. Remove trailing
2656 whitespace throughout.
2657
2658 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2659 (ielm-return-for-effect): New command.
2660 (ielm-send-input): Accept optional `for-effect' parameter.
2661 (ielm-eval-input): Accept optional `for-effect' parameter.
2662 Bind `standard-output' to stream we create using
2663 `ielm-standard-output-impl'. Suppress printing result when
2664 `for-effect'.
2665 (ielm-standard-output-impl): New function.
2666 (inferior-emacs-lisp-mode): Explain new features in documentation.
2667
2668 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2669
2670 Code cleanup.
2671
2672 * net/tramp.el (tramp-debug-message): Do not check for connection
2673 buffer.
2674 (tramp-message): Use "vector" connection property.
2675
2676 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2677 (tramp-equal-remote, tramp-eshell-directory-change)
2678 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2679 (tramp-adb-handle-rename-file)
2680 * net/tramp-cmds.el (tramp-list-remote-buffers)
2681 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2682 * net/tramp-compat.el (tramp-compat-process-running-p)
2683 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2684 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2685 (tramp-gvfs-handle-rename-file)
2686 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2687 (tramp-set-file-uid-gid)
2688 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2689 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2690 of `file-remote-p'.
2691
2692 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2693 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2694 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2695 (tramp-gw-open-network-stream): Suppress unrelated traces.
2696
2697 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2698 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2699 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2700 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2701 connection property.
2702
2703 * net/tramp-cache.el (top): Suppress traces when reading
2704 persistency file.
2705
2706 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2707 Refactor common code. Improve debug message.
2708 (tramp-maybe-open-connection)
2709 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2710 connection buffer too early.
2711
2712 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2713 from `tramp-smb-actions-with-acl'.
2714 (tramp-smb-actions-set-acl): New defconst.
2715 (tramp-smb-handle-copy-directory)
2716 (tramp-smb-action-get-acl): New defun, renamed from
2717 `tramp-smb-action-with-acl'.
2718 (tramp-smb-action-set-acl): New defun.
2719 (tramp-smb-handle-set-file-acl): Rewrite.
2720
2721 2013-10-17 Glenn Morris <rgm@gnu.org>
2722
2723 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2724
2725 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * skeleton.el (skeleton-newline): Remove.
2728 (skeleton-internal-1): Use (insert "\n") instead.
2729
2730 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2731 let-bindings.
2732
2733 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2734 forward-sexp-function while we redo its job (bug#15613).
2735
2736 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2737
2738 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2739 represented by lists.
2740
2741 2013-10-16 Glenn Morris <rgm@gnu.org>
2742
2743 * tmm.el (tmm--history): New dynamic variable.
2744 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2745
2746 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2747
2748 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2749 (tramp-smb-errors): Add error messages.
2750 (tramp-smb-actions-with-acl): New defconst.
2751 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2752 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2753 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2754 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2755 (tramp-smb-get-stat-capability): Fix tests.
2756
2757 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2758
2759 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2760 (bug#15580).
2761
2762 2013-10-16 Glenn Morris <rgm@gnu.org>
2763
2764 * ansi-color.el (ansi-color-drop-regexp):
2765 Add 1J, 1K, 2K. (Bug#15617)
2766
2767 * files.el (hack-local-variables--warned-lexical): New.
2768 (hack-local-variables):
2769 Warn about misplaced lexical-binding. (Bug#15616)
2770
2771 * net/eww.el (eww-render): Always set eww-current-url,
2772 and update header line. (Bug#15622)
2773 (eww-display-html): ... Rather than just doing it here.
2774
2775 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2776
2777 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2778 menu navigations commands.
2779
2780 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2781
2782 * progmodes/subword.el (subword-capitalize): Be careful when
2783 the search for [[:alpha:]] fails (bug#15580).
2784
2785 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2786
2787 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2788 to commands that scroll the menu.
2789
2790 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2791
2792 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2793 Handle methods ending with `?' and `!'.
2794
2795 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2796
2797 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2798 `japanese-cp932' to `cp932' to fix the problem where saving a
2799 source file written in Shift_JIS twice would end up having
2800 `coding: japanese-cp932' which Ruby could not recognize.
2801 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2802 in `ruby-encoding-map'.
2803 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2804 doesn't need to be explicitly declared in magic comment.
2805 (ruby-encoding-map): Add type declaration for better customize UI.
2806
2807 2013-10-13 Glenn Morris <rgm@gnu.org>
2808
2809 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2810 Occur buffers are read-only. http://bugs.debian.org/720775
2811
2812 * emacs-lisp/authors.el (authors-fixed-entries):
2813 Comment out old alpha stuff.
2814
2815 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2816
2817 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2818 to `after-save-hook' instead of `before-save-hook'.
2819 (ruby-mode-set-encoding): Use the value of coding system used to
2820 write the file. Call `basic-save-buffer-1' after modifying the
2821 buffer.
2822
2823 2013-10-13 Alan Mackenzie <acm@muc.de>
2824
2825 Fix indentation/fontification of Java enum with
2826 "implements"/generic.
2827
2828 * progmodes/cc-engine.el (c-backward-over-enum-header):
2829 Extracted from the three other places and enhanced to handle generics.
2830 (c-inside-bracelist-p): Uses new function above.
2831 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2832 function above.
2833 (c-font-lock-enum-tail): Uses new function above.
2834
2835 2013-10-13 Kenichi Handa <handa@gnu.org>
2836
2837 * international/mule-cmds.el (select-safe-coding-system): Remove a
2838 superfluous condition in chekcing whether a coding system is safe
2839 or not.
2840
2841 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2842
2843 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2844
2845 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2846
2847 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2848
2849 2013-10-13 Glenn Morris <rgm@gnu.org>
2850
2851 * menu-bar.el (menu-bar-update-buffers):
2852 Unify Buffers menu prompt string. (Bug#15576)
2853
2854 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2855
2856 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2857 Add some entries.
2858 (authors-fixed-entries): Use accented form of name.
2859
2860 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2863 method calls (bug#15594).
2864 (ruby-smie--args-separator-p): New function.
2865 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2866 recognize paren-free method calls.
2867
2868 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2869 internals of universal-argument.
2870
2871 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2872
2873 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2874 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2875 dropped menu on second mouse click on the menu bar.
2876
2877 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2880 (explicit-shell-file-name): Declare.
2881 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2882 (sh-completion-at-point-function): New function.
2883 (sh-mode): Use it.
2884 (sh-smie--keyword-p): Remove unused argument.
2885 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2886 vars.
2887 (sh-set-shell): Always setup SMIE, even if we use the
2888 old indentation code.
2889
2890 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2891
2892 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2893 cases of ? and =.
2894 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2895 predicate would return nil are almost non-existent.
2896 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2897
2898 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2899 cache also after commands that modify the buffer but don't move
2900 point.
2901
2902 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * env.el (substitute-env-in-file-name): New function.
2905 (substitute-env-vars): Extend the meaning of the optional arg.
2906
2907 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2908
2909 * term/w32-win.el (dynamic-library-alist): Define separate lists
2910 of GIF DLLs for versions before and after 5.0.0 of giflib.
2911 (Bug#15531)
2912
2913 2013-10-10 João Távora <joaotavora@gmail.com>
2914
2915 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2916 not locked, use last revision and current source as
2917 defaults. (Bug#15569)
2918
2919 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2920
2921 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2922 menu-bar is hidden.
2923
2924 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2925
2926 * window.el (pop-to-buffer-same-window): Fix doc-string.
2927 (Bug#15492)
2928
2929 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2932
2933 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2934
2935 * calendar/icalendar.el (icalendar-import-file):
2936 Fix interactive spec. (Bug#15482)
2937
2938 2013-10-10 Glenn Morris <rgm@gnu.org>
2939
2940 * desktop.el (desktop-save): Default to saving in .emacs.d,
2941 since PWD is no longer in desktop-path by default. (Bug#15319)
2942
2943 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2944 now that text mode has a menu with the same entry.
2945 (menu-bar-text-mode-auto-fill): Remove now unused func.
2946 * textmodes/text-mode.el (text-mode-map):
2947 Use auto-fill help text from menu-bar.el.
2948
2949 2013-10-10 John Anthony <john@jo.hnanthony.com>
2950
2951 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2952
2953 2013-10-09 Juri Linkov <juri@jurta.org>
2954
2955 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2956 instead of this-command-keys. Add universal-argument-more and
2957 universal-argument-minus to the list of prefix commands. (Bug#15568)
2958
2959 2013-10-09 Glenn Morris <rgm@gnu.org>
2960
2961 * vc/vc-svn.el (vc-svn-create-repo):
2962 Expand paths in file://... url. (Bug#15446)
2963
2964 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2965 Add some entries.
2966 (authors): Remove unused local variables.
2967
2968 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * profiler.el: Create a more coherent calltree from partial backtraces.
2971 (profiler-format): Hide the tail with `invisible' so that C-s can still
2972 find the hidden elements.
2973 (profiler-calltree-depth): Don't recurse so enthusiastically.
2974 (profiler-function-equal): New hash-table-test.
2975 (profiler-calltree-build-unified): New function.
2976 (profiler-calltree-build): Use it.
2977 (profiler-report-make-name-part): Indent the calltree less.
2978 (profiler-report-mode): Add visibility specs for profiler-format.
2979 (profiler-report-expand-entry, profiler-report-toggle-entry):
2980 Expand the whole subtree when provided with a prefix arg.
2981
2982 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2983
2984 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2985 iuwu-mod token.
2986 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2987 hanging iuwu-mod token.
2988 (ruby-smie--forward-token): Do not include a dot after a token in
2989 that token.
2990 (ruby-smie--backward-token): Likewise.
2991
2992 2013-10-08 Juri Linkov <juri@jurta.org>
2993
2994 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2995 to isearch-other-control-char.
2996 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2997 and isearch-post-command-hook to post-command-hook.
2998 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2999 and isearch-post-command-hook from post-command-hook.
3000 (isearch-unread-key-sequence)
3001 (isearch-reread-key-sequence-naturally)
3002 (isearch-lookup-scroll-key, isearch-other-control-char)
3003 (isearch-other-meta-char): Remove functions.
3004 (isearch-pre-command-hook, isearch-post-command-hook):
3005 New functions based on isearch-other-meta-char rewritten
3006 relying on the new behavior of overriding-terminal-local-map
3007 that does not replace the local keymaps any more. (Bug#15200)
3008
3009 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3010
3011 Support menus on text-mode terminals.
3012 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3013 functionality.
3014
3015 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3016
3017 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3018 Move here from mouse.el.
3019 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3020 and arrow keys.
3021 (tty-menu-navigation-map): New map for TTY menu navigation.
3022
3023 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3024
3025 * frame.el (display-mouse-p): Report text-mode mouse as available
3026 on w32.
3027 (display-popup-menus-p): Report availability if mouse is
3028 available; don't condition on window-system.
3029
3030 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3031 (tty-menu-selected-face): New faces.
3032
3033 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3036 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3037 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3038 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3039 New constants.
3040 (lisp-mode-variables): New `elisp' argument.
3041 (emacs-lisp-mode): Use it.
3042 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3043 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3044
3045 * indent.el: Use lexical-binding.
3046 (indent-region): Add progress reporter.
3047 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3048 last step.
3049 (indent--next-tab-stop): New function to implement this behavior.
3050 (tab-to-tab-stop, move-to-tab-stop): Use it.
3051
3052 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3053
3054 * indent.el (indent-rigidly--current-indentation): New function.
3055 (indent-rigidly-map): New var.
3056 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3057
3058 2013-10-08 Bastien Guerry <bzg@gnu.org>
3059
3060 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3061
3062 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * progmodes/perl-mode.el: Use lexical-binding.
3065 Remove redundant :group args.
3066 (perl-nochange): Change default to be closer to other major modes's
3067 standard behavior.
3068 (perl-indent-line): Don't consider text on current line as a
3069 valid beginning of function from which to indent.
3070
3071 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3072 with more than one argument (bug#15538).
3073
3074 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3075
3076 * vc/pcvs.el: Use lexical-binding.
3077 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3078 environment of `eval'.
3079 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3080 than a list of expressions. Adjust callers.
3081 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3082
3083 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3086 case of the dot in a chained method call being on the following line.
3087
3088 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * electric.el (electric-indent-inhibit): New var.
3091 (electric-indent-post-self-insert-function): Use it.
3092 * progmodes/python.el (python-mode): Set it.
3093
3094 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3095 open braces.
3096
3097 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3098
3099 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3100 (css-mode): Use electric-indent-chars.
3101
3102 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3103 (font-lock-beg, font-lock-end): Move before first use.
3104 (nxml-mode): Use syntax-propertize-function.
3105 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3106 (nxml-extend-after-change-region): Remove.
3107 * nxml/xmltok.el: Use lexical-binding.
3108 (xmltok-save): Use `declare'.
3109 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3110 * nxml/nxml-util.el: Use lexical-binding.
3111 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3112 Use `declare'.
3113 * nxml/nxml-ns.el: Use lexical-binding.
3114 (nxml-ns-save): Use `declare'.
3115 (nxml-ns-prefixes-for): Avoid add-to-list.
3116 * nxml/rng-match.el: Use lexical-binding.
3117 (rng--ipattern): Use cl-defstruct.
3118 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3119 (rng-cons-group-after, rng-subst-group-after)
3120 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3121 Use closures instead of `(lambda...).
3122
3123 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3124
3125 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3126 of BEG and END.
3127
3128 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3129 Use `tramp-handle-insert-file-contents'.
3130 (tramp-gvfs-handle-insert-file-contents): Remove function.
3131
3132 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3133 Use `save-restriction' in order to keep markers.
3134
3135 * net/trampver.el: Update release number.
3136
3137 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * progmodes/compile.el (compilation-parse-errors):
3140 Use compilation--put-prop.
3141 (compilation--ensure-parse): Check compilation-multiline.
3142
3143 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3144
3145 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3146 lexical-binding.
3147
3148 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3149
3150 * progmodes/ruby-mode.el: Fix recently added tests.
3151 (ruby-smie-grammar): Add - and +.
3152 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3153 (ruby-smie--backward-id): New functions.
3154 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3155 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3156 any more.
3157
3158 2013-10-07 Leo Liu <sdl.web@gmail.com>
3159
3160 * register.el (register-preview-delay)
3161 (register-preview-functions): New variables.
3162 (register-read-with-preview, register-preview)
3163 (register-describe-oneline): New functions.
3164 (point-to-register, window-configuration-to-register)
3165 (frame-configuration-to-register, jump-to-register)
3166 (number-to-register, view-register, insert-register)
3167 (copy-to-register, append-to-register, prepend-to-register)
3168 (copy-rectangle-to-register): Use register-read-with-preview to
3169 read register. (Bug#15525)
3170
3171 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3172
3173 * net/network-stream.el (network-stream-open-starttls): Don't add
3174 --insecure if it's already present, because that gnutls-cli
3175 rejects getting that parameter twice.
3176
3177 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3178
3179 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3180 keyword, too.
3181
3182 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3183
3184 * newcomment.el (comment-use-global-state): Change default value
3185 to t, mark obsolete (Bug#15251).
3186 (comment-beginning): In addition to `comment-to-syntax', check the
3187 value of `comment-use-global-state'.
3188
3189 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3192 (ruby-comment-column): Follow the global default, by default.
3193 (ruby-smie-grammar): Add assignment syntax.
3194 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3195 open-paren, a comma, or a \.
3196 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3197 and line continuations.
3198 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3199 followed by implicit semi-colons. Add rule for string concatenation
3200 and for indentation at BOB.
3201 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3202
3203 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3204 calling next-sexp, since next-token may have skipped chars which
3205 next-sexp doesn't know should be skipped!
3206
3207 2013-10-05 Leo Liu <sdl.web@gmail.com>
3208
3209 * progmodes/octave.el (octave-send-region):
3210 Call compilation-forget-errors.
3211
3212 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3213
3214 * vc/vc-svn.el (vc-svn-find-admin-dir):
3215 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3216 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3217 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3218 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3219
3220 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3223
3224 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * subr.el (read-passwd): Hide chars even when called within a context
3227 where after-change-functions is disabled (bug#15501).
3228 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3229 until we removed ourself from overriding-terminal-local-map.
3230
3231 2013-10-04 Leo Liu <sdl.web@gmail.com>
3232
3233 * progmodes/octave.el (inferior-octave-mode):
3234 Call compilation-forget-errors.
3235
3236 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3237
3238 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3239
3240 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * net/secrets.el (secrets-create-collection): Add optional
3243 argument ALIAS. Use proper Label keyword. Append ALIAS as
3244 dbus-call-method argument. (Bug#15516)
3245
3246 2013-10-04 Leo Liu <sdl.web@gmail.com>
3247
3248 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3249 (inferior-octave-compilation-font-lock-keywords): New variables.
3250 (compilation-error-regexp-alist)
3251 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3252 (inferior-octave-mode): Use compilation-shell-minor-mode.
3253
3254 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3255
3256 * minibuffer.el (completion--replace): Be careful that `end' might be
3257 a marker.
3258
3259 2013-10-03 Daiki Ueno <ueno@gnu.org>
3260
3261 Add support for package signature checking.
3262 * emacs-lisp/package.el (url-http-file-exists-p)
3263 (epg-make-context, epg-context-set-home-directory)
3264 (epg-verify-string, epg-context-result-for)
3265 (epg-signature-status, epg-signature-to-string)
3266 (epg-check-configuration, epg-configuration)
3267 (epg-import-keys-from-file): Declare.
3268 (package-check-signature): New user option.
3269 (package-unsigned-archives): New user option.
3270 (package-desc): Add `signed' field.
3271 (package-load-descriptor): Set `signed' field if .signed file exists.
3272 (package--archive-file-exists-p): New function.
3273 (package--check-signature): New function.
3274 (package-install-from-archive): Check package signature.
3275 (package--download-one-archive): Check archive signature.
3276 (package-delete): Remove .signed file.
3277 (package-import-keyring): New command.
3278 (package-refresh-contents): Import default keyring.
3279 (package-desc-status): Add "unsigned" status.
3280 (describe-package-1, package-menu--print-info)
3281 (package-menu-mark-delete, package-menu--find-upgrades)
3282 (package-menu--status-predicate): Support "unsigned" status.
3283
3284 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3287 the new compilation scheme using the new byte-codes.
3288
3289 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3290 (byte-pophandler): New byte codes.
3291 (byte-goto-ops): Adjust accordingly.
3292 (byte-compile--use-old-handlers): New var.
3293 (byte-compile-catch): Use new byte codes depending on
3294 byte-compile--use-old-handlers.
3295 (byte-compile-condition-case--old): Rename from
3296 byte-compile-condition-case.
3297 (byte-compile-condition-case--new): New function.
3298 (byte-compile-condition-case): New function that dispatches depending
3299 on byte-compile--use-old-handlers.
3300 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3301 when we can.
3302
3303 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3304 Optimize under `condition-case' and `catch' if
3305 byte-compile--use-old-handlers is nil.
3306 (disassemble-offset): Handle new bytecodes.
3307
3308 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * subr.el (error): Use `declare'.
3311 (decode-char, encode-char): Use advertised-calling-convention instead
3312 of the docstring to discourage use of the `restriction' arg.
3313
3314 2013-10-03 Daiki Ueno <ueno@gnu.org>
3315
3316 * epg.el (epg-verify-file): Add a comment saying that it does not
3317 notify verification error as a return value nor a signal.
3318 (epg-verify-string): Ditto.
3319
3320 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3321
3322 * progmodes/compile.el (compilation-start): Try globbing the arg to
3323 `cd' (bug#15417).
3324
3325 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3326
3327 Sync with Tramp 2.2.8.
3328
3329 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3330 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3331 * net/trampver.el: Update release number.
3332
3333 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3334
3335 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3336 and default-process-coding-system for darwin only.
3337
3338 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3341
3342 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3343
3344 * vc/vc-git.el (vc-git-grep): Disable pager.
3345
3346 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3347
3348 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3349 Use :url instead of :homepage, as per
3350 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3351
3352 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3353 non-nil, use `syntax-ppss' (Bug#15251).
3354
3355 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3356
3357 * progmodes/octave.el (inferior-octave-startup-file):
3358 Prefer ~/.emacs.d/init_octave.m.
3359
3360 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3361
3362 * emacs-lisp/package.el (package-desc-from-define):
3363 Accept additional arguments as plist, convert them to an alist and store
3364 them in the `extras' slot.
3365 (package-generate-description-file): Convert extras alist back to
3366 plist and append to the `define-package' form arguments.
3367 (package--alist-to-plist): New function.
3368 (package--ac-desc): Add `extras' slot.
3369 (package--add-to-archive-contents): Check if the archive-contents
3370 vector is long enough, and if it is, pass its `extras' slot value
3371 to `package-desc-create'.
3372 (package-buffer-info): Call `lm-homepage', pass the returned value
3373 to `package-desc-from-define'.
3374 (describe-package-1): Render the homepage button (Bug#13291).
3375
3376 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3377 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3378
3379 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3380
3381 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3382 and default-process-coding-system to utf-8-unix (Bug#15402).
3383
3384 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3385
3386 * subr.el (looking-back): Do not recommend using looking-back.
3387
3388 2013-09-28 Alan Mackenzie <acm@muc.de>
3389
3390 Fix indentation/fontification of Java enum with "implements".
3391
3392 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3393 regexp which matches "implements", etc., in Java.
3394 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3395 specifier clauses coming after "enum".
3396 * progmodes/cc-fonts.el (c-font-lock-declarations)
3397 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3398 after "enum".
3399
3400 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3401
3402 * faces.el (region): Change ns_selection_color to
3403 ns_selection_fg_color, add ns_selection_bg_color.
3404
3405 2013-09-28 Leo Liu <sdl.web@gmail.com>
3406
3407 * progmodes/octave.el (inferior-octave-completion-table)
3408 (inferior-octave-completion-at-point): Minor tweaks.
3409
3410 * textmodes/ispell.el (ispell-lookup-words): Rename from
3411 lookup-words. (Bug#15460)
3412 (lookup-words): Obsolete.
3413 (ispell-complete-word, ispell-command-loop): All uses changed.
3414
3415 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3416
3417 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3418 (octave-mode-menu): Add octave-send-buffer.
3419 (octave-send-buffer): New function.
3420
3421 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3422
3423 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3424 octave-lookfor.
3425 (octave-mode-menu): Add octave-lookfor.
3426 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3427 octave-lookfor.
3428 (octave-lookfor): New function.
3429
3430 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * emacs-lisp/cl-macs.el:
3433 (cl--loop-destr-temps): Remove.
3434 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3435 its convention.
3436 (cl--loop-set-iterator-function): New function.
3437 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3438 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3439 Bind `it' with `let' instead of substituting it with `cl-subst'.
3440 (cl--unused-var-p): New function.
3441 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3442 Eliminate some unused variable warnings (bug#15326).
3443
3444 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3445
3446 * doc-view.el (doc-view-scale-reset): Rename from
3447 `doc-view-reset-zoom-level'.
3448 (doc-view-scale-adjust): New command.
3449 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3450 `doc-view-scale-adjust'.
3451
3452 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3453
3454 * doc-view.el (doc-view-reset-zoom-level): New command.
3455 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3456 zoom commands (bug#15466).
3457
3458 2013-09-26 Kenichi Handa <handa@gnu.org>
3459
3460 * international/quail.el (quail-help): Make it not a command.
3461
3462 2013-09-26 Leo Liu <sdl.web@gmail.com>
3463
3464 * minibuffer.el (completion-all-sorted-completions): Make args
3465 optional as they are.
3466
3467 2013-09-25 Daniel Colascione <dancol@dancol.org>
3468
3469 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3470 specs are and that they're not evaluated.
3471
3472 2013-09-24 Sam Steingold <sds@gnu.org>
3473
3474 * midnight.el (clean-buffer-list-kill-regexps)
3475 (clean-buffer-list-kill-buffer-names): Update for the new Man
3476 buffer naming which includes the object name.
3477
3478 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3481 (eshell-parse-command, eshell-parse-pipeline): Use it since
3482 eshell-separate-commands requires a dynamic scoped var.
3483 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3484
3485 2013-09-23 Leo Liu <sdl.web@gmail.com>
3486
3487 * autoinsert.el (auto-insert-alist): Make the value of
3488 lexical-binding match its file setting.
3489
3490 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3491
3492 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3493
3494 * autoarg.el (autoarg-kp-digit-argument):
3495 * electric.el (Electric-command-loop):
3496 * kmacro.el (kmacro-step-edit-insert):
3497 Do not set universal-argument-num-events.
3498
3499 2013-09-22 Leo Liu <sdl.web@gmail.com>
3500
3501 * files.el (interpreter-mode-alist): Add octave.
3502
3503 2013-09-21 Alan Mackenzie <acm@muc.de>
3504
3505 C++: fontify identifier in declaration following "public:" correctly.
3506 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3507 to match "public", etc.
3508 (c-decl-prefix-re): Add ":" into the C++ value.
3509 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3510 bit. Add a check for a ":" preceded by "public", etc.
3511
3512 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3513
3514 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3515 recognized by GDB 7.5 and later.
3516
3517 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3518
3519 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3520
3521 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * subr.el (internal--call-interactively): New const.
3524 (called-interactively-p): Use it (bug#3984).
3525
3526 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3527
3528 * vc/pcvs.el (cvs-mode-ignore):
3529 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3530 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3531
3532 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3535 (eshell-ls-orig-insert-directory): Remove.
3536 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3537 (eshell-ls-use-in-dired): Use advice-add/remove.
3538 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3539 Add `orig-fun' arg for use in :around advice.
3540 Make it check (redundantly) eshell-ls-use-in-dired.
3541
3542 2013-09-19 Glenn Morris <rgm@gnu.org>
3543
3544 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3545
3546 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3547
3548 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3549
3550 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3551
3552 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3553 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3554 (tramp-get-remote-python): New defuns.
3555 (tramp-get-remote-uid-with-perl)
3556 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3557 contributed by yary <not.com@gmail.com> (tiny change).
3558 (tramp-get-remote-uid-with-python)
3559 (tramp-get-remote-gid-with-python): New defuns. Python code
3560 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3561 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3562
3563 2013-09-19 Glenn Morris <rgm@gnu.org>
3564
3565 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3566
3567 * eshell/em-unix.el (eshell-remove-entries):
3568 Rename argument to avoid name-clash with global `top-level'.
3569
3570 * eshell/esh-proc.el (eshell-kill-process-function):
3571 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3572 (eshell-reset-after-proc): Remove unused arg `proc'.
3573
3574 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3575 (directory-files-and-attributes): Mark unused arg.
3576
3577 * eshell/em-unix.el (eshell-remove-entries):
3578 Remove unused arg `path'. Update callers.
3579
3580 * eshell/em-hist.el (eshell-hist-parse-arguments):
3581 Remove unused arg `silent'. Update callers.
3582
3583 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3584 Fix (f)boundp mix-up.
3585
3586 * eshell/em-smart.el (eshell-smart-scroll-window)
3587 (eshell-disable-after-change):
3588 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3589
3590 2013-09-18 Alan Mackenzie <acm@muc.de>
3591
3592 Fix fontification of type when followed by "const".
3593 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3594 "known" types from fontification.
3595
3596 2013-09-18 Glenn Morris <rgm@gnu.org>
3597
3598 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3599 (chart-face-list): Drop Emacsen without display-color-p.
3600
3601 * net/eww.el (libxml-parse-html-region): Declare.
3602 (eww-display-html): Explicit error if no libxml2 support.
3603
3604 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3605
3606 * image.el (image-type-from-buffer, image-multi-frame-p):
3607 Remove --without-x warning/error.
3608
3609 * mouse.el (mouse-yank-primary):
3610 * term.el (term-mouse-paste):
3611 Reorder to silence --without-x compilation.
3612
3613 * mpc.el (doc-view-mode): Silence --without-x compilation.
3614
3615 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3616 Silence --without-x compilation.
3617
3618 * progmodes/gud.el (gud-find-file, gud-mode):
3619 Silence --without-x compilation.
3620 (tooltip-mode): Declare.
3621
3622 * wdired.el (dired-backup-overwrite): Remove declaration.
3623 (wdired-mode-map): Add doc string.
3624
3625 * custom.el (x-get-resource): Declare.
3626
3627 * eshell/em-glob.el (ange-cache):
3628 * eshell/em-unix.el (ange-cache): Declare.
3629
3630 * faces.el (x-display-list, x-open-connection, x-get-resource):
3631 Declare.
3632
3633 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3634 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3635 Declare.
3636
3637 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3638
3639 * net/gnutls.el (gnutls-log-level): Declare.
3640
3641 * net/shr.el (image-size, image-animate): Declare.
3642
3643 * simple.el (font-info): Declare.
3644
3645 * subr.el (x-popup-dialog): Declare.
3646
3647 * term/common-win.el (x-select-enable-primary)
3648 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3649 Declare.
3650
3651 * term/ns-win.el (x-handle-args): Declare.
3652
3653 * term/x-win.el (x-select-enable-clipboard): Declare.
3654
3655 * term/w32-win.el (create-default-fontset): Declare.
3656
3657 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3658 Declare.
3659
3660 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3661 (fit-frame-to-buffer): Explicit error if --without-x.
3662 (mouse-autoselect-window-select): Silence compiler.
3663
3664 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3665
3666 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3667 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3668 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3669 * eshell/esh-util.el (eshell-sublist):
3670 Remove unused local variables.
3671
3672 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3673
3674 * textmodes/two-column.el: Make 2C-split work for --without-x.
3675 (scroll-bar-columns): Autoload.
3676 (top-level): Require fringe when compiling.
3677
3678 2013-09-18 Leo Liu <sdl.web@gmail.com>
3679
3680 * subr.el (add-hook): Robustify to handle closure as well.
3681
3682 2013-09-17 Glenn Morris <rgm@gnu.org>
3683
3684 * simple.el (messages-buffer-mode-map): Unbind "g".
3685
3686 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * help-mode.el (help-mode-finish): Use derived-mode-p.
3689 Remove obsolete highlighting.
3690
3691 * play/life.el (life-mode): Use define-derived-mode. Derive from
3692 special-mode.
3693 (life): Let-bind inhibit-read-only.
3694 (life-setup): Avoid `setq'. Use `life-mode'.
3695
3696 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3697 which should not be needed any more.
3698 (package-menu-refresh, package-menu-describe-package): Use user-error.
3699
3700 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3701 (eshell-post-rewrite-command-hook): Make obsolete.
3702 (eshell-parse-command): Simplify.
3703 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3704 (eshell--cmd): Declare.
3705 (eshell-parse-pipeline): Remove unused var `final-p'.
3706 Pass a dynvar to eshell-post-rewrite-command-hook.
3707 Implement the new eshell-post-rewrite-command-function.
3708 (eshell-invoke-directly): Remove unused arg `input'.
3709 * eshell/esh-io.el (eshell-io-initialize):
3710 Use eshell-post-rewrite-command-function (bug#15399).
3711 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3712 adjust to new calling convention.
3713 (eshell-create-handles): Rename args to avoid clashing with dynvar
3714 `standard-output'.
3715
3716 2013-09-17 Glenn Morris <rgm@gnu.org>
3717
3718 * simple.el (messages-buffer-mode): New major mode.
3719 (messages-buffer): New function.
3720 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3721 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3722 (ert-run-test): Use `messages-buffer' function.
3723 (ert--force-message-log-buffer-truncation): Ignore read-only.
3724 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3725 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3726
3727 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3730
3731 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3732
3733 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * icomplete.el (icomplete-in-buffer): New var.
3736 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3737 vars and replace them with functions.
3738 (icomplete-minibuffer-setup): Adjust accordingly.
3739 (icomplete--completion-table, icomplete--completion-predicate)
3740 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3741 New functions.
3742 (icomplete-forward-completions, icomplete-backward-completions)
3743 (icomplete-simple-completing-p, icomplete-exhibit)
3744 (icomplete-completions): Use them.
3745 (icomplete--in-region-buffer): New var.
3746 (icomplete--in-region-setup): New function.
3747 (icomplete-mode): Use it.
3748
3749 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3750 (bug#15379).
3751 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3752 return args and options.
3753 (eshell-eval-using-options): Use the new return value of
3754 eshell--do-opts to set the options's vars in their scope.
3755 (eshell--set-option): Rename from eshell-set-option.
3756 Add arg `opt-vals'.
3757 (eshell--process-option): Rename from eshell-process-option.
3758 Add arg `opt-vals'.
3759 (eshell--process-args): Use an `opt-vals' alist to store the options's
3760 values during their processing and return them additionally to the
3761 remaining args.
3762
3763 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3764
3765 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3766 continuation character an operator, as far as indentation is
3767 concerned (Bug#15369).
3768
3769 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3770
3771 * window.el (window--state-put-2): Don't process buffer state
3772 when buffer doesn't exist any more (Bug#15382).
3773
3774 2013-09-15 Glenn Morris <rgm@gnu.org>
3775
3776 * eshell/em-unix.el (eshell/rm):
3777 Make -f ignore missing files. (Bug#15373)
3778
3779 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3780 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3781 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3782
3783 2013-09-14 Glenn Morris <rgm@gnu.org>
3784
3785 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3786
3787 2013-09-13 Glenn Morris <rgm@gnu.org>
3788
3789 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3790 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3791
3792 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3793
3794 * frame.el (x-focus-frame): Mark as declared in frame.c.
3795
3796 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * ls-lisp.el: Use advice-add.
3799 (original-insert-directory): Remove.
3800 (ls-lisp--insert-directory): Rename from insert-directory; add
3801 `orig-fun' argument.
3802 (insert-directory): Advise.
3803
3804 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3805
3806 * term.el (term-emulate-terminal): Decode the command string
3807 before passing it to term-command-hook. (Bug#15337)
3808
3809 2013-09-13 Glenn Morris <rgm@gnu.org>
3810
3811 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3812
3813 * eshell/esh-ext.el (eshell-search-path): Declare.
3814
3815 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3816 Otherwise an error occurs if eshell-dirs module not loaded.
3817
3818 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3819
3820 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3821
3822 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3823 `tramp-check-proper-host'. Check for a valid method name.
3824
3825 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3826 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3827 * net/tramp-sh.el (tramp-maybe-open-connection):
3828 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3829
3830 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3831 also for hash values.
3832
3833 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * term/ns-win.el (parameters): Don't declare as dynamic.
3836 (before-make-frame-hook): Don't add ineffective function.
3837
3838 * eshell/*.el: Use lexical-binding (bug#15231).
3839
3840 2013-09-12 Kenichi Handa <handa@gnu.org>
3841
3842 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3843
3844 2013-09-12 Glenn Morris <rgm@gnu.org>
3845
3846 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3847 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3848
3849 * subr.el (do-after-load-evaluation): Also give compiler warnings
3850 when obsolete files are used (except by obsolete files).
3851
3852 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3853 in the status output, assume `filename' is the first. (Bug#15322)
3854
3855 * vc/vc.el (vc-deduce-fileset): Doc fix.
3856
3857 * calc/calc-help.el (Info-goto-node):
3858 * progmodes/cperl-mode.el (Info-find-node):
3859 * vc/ediff.el (Info-goto-node): Update declarations.
3860
3861 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3862
3863 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3864 (vc-bzr-pull): Require vc-dispatcher.
3865 * vc/vc-git.el (vc-compilation-mode): Declare.
3866 (vc-git-pull): Require vc-dispatcher.
3867
3868 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3869
3870 * progmodes/octave.el (help-button-action): Declare.
3871
3872 * shell.el (shell-directory-tracker): Output error as a message
3873 rather than just returning it as a string.
3874 (shell-process-pushd): Remove useless use of message.
3875
3876 * dframe.el (dframe-timer-fn):
3877 * files.el (dir-locals-read-from-file):
3878 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3879 (mpc-format):
3880 * reveal.el (reveal-post-command):
3881 * saveplace.el (load-save-place-alist-from-file):
3882 * shell.el (shell-resync-dirs):
3883 * w32-common-fns.el (x-get-selection-value):
3884 * emacs-lisp/copyright.el (copyright-find-copyright):
3885 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3886 * emulation/tpu-edt.el (tpu-copy-keyfile):
3887 * play/bubbles.el (bubbles--mark-neighbourhood):
3888 * progmodes/executable.el
3889 (executable-make-buffer-file-executable-if-script-p):
3890 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3891
3892 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 Cleanup Eshell to rely less on dynamic scoping.
3895 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3896 last-value, and ext-command here. Bind `args' closer to `body'.
3897 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3898 (eshell--args): Declare new dynamic var.
3899 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3900 last-value, and ext-command. Pass `args' to `body'.
3901 (eshell-process-args): Bind eshell--args.
3902 (eshell-set-option): Use eshell--args.
3903 * eshell/eshell.el (eshell): Use derived-mode-p.
3904 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3905 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3906 (eshell-glob-function): Declare.
3907 * eshell/esh-util.el: Require cl-lib.
3908 (eshell-read-hosts-file): Avoid add-to-list.
3909 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3910 `err'.
3911 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3912 Declare.
3913 (eshell/diff): Remove unused var `err'.
3914 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3915 `killflag'.
3916 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3917 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3918 first use.
3919 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3920 Move declaration before first use.
3921 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3922 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3923 rely on cl-return.
3924
3925 2013-09-12 Glenn Morris <rgm@gnu.org>
3926
3927 * term/ns-win.el (global-map): Remove binding for ispell-next,
3928 deleted 1999-05-29. (Bug#15357)
3929
3930 2013-09-11 Glenn Morris <rgm@gnu.org>
3931
3932 * echistory.el (electric-command-history): Remove call to deleted func.
3933
3934 * play/landmark.el (landmark-mode): Fix typos.
3935
3936 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3937 Check cvs-sort-ignore-file is bound.
3938
3939 * savehist.el: No need for cl when compiling on Emacs.
3940
3941 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3944 (bug#15338).
3945 (eshell-self-insert-command, eshell-send-invisible):
3946 Remove unused argument.
3947 (eshell-handle-control-codes): Remove unused var `orig'.
3948 Avoid delete-backward-char.
3949
3950 * files.el (set-auto-mode): Simplify a bit further.
3951
3952 2013-09-11 Glenn Morris <rgm@gnu.org>
3953
3954 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3955 (set-auto-mode): Don't regexp-quote elements.
3956 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3957 * progmodes/cc-mode.el (interpreter-mode-alist):
3958 * progmodes/ruby-mode.el (interpreter-mode-alist):
3959 Revert previous change.
3960
3961 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * play/snake.el (snake-mode):
3964 * play/mpuz.el (mpuz-mode):
3965 * play/landmark.el (lm-mode):
3966 * play/blackbox.el (blackbox-mode):
3967 * play/5x5.el (5x5-mode):
3968 * obsolete/options.el (Edit-options-mode):
3969 * net/quickurl.el (quickurl-list-mode):
3970 * net/newst-treeview.el (newsticker-treeview-mode):
3971 * mail/rmailsum.el (rmail-summary-mode):
3972 * mail/mspools.el (mspools-mode):
3973 * locate.el (locate-mode):
3974 * ibuffer.el (ibuffer-mode):
3975 * emulation/ws-mode.el (wordstar-mode):
3976 * emacs-lisp/debug.el (debugger-mode):
3977 * array.el (array-mode):
3978 * net/eudc.el (eudc-mode): Use define-derived-mode.
3979 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3980 Move initialization into declaration.
3981 (mairix-searches-mode): Use define-derived-mode.
3982 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3983 (eudc-edit-hotlist): Use dolist.
3984 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3985 (Man-mode): Use define-derived-mode.
3986 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3987 (Info-edit-mode): Use define-derived-mode.
3988 (Info-cease-edit): Use Info-mode.
3989 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3990 into declaration.
3991 (eshell-mode): Use define-derived-mode.
3992 * chistory.el (command-history-mode-map): Rename from
3993 command-history-map.
3994 (command-history-mode): Use define-derived-mode.
3995 (Command-history-setup): Remove function.
3996 * calc/calc.el (calc-trail-mode-map): New var.
3997 (calc-trail-mode): Use define-derived-mode.
3998 (calc-trail-buffer): Set calc-main-buffer manually.
3999 * bookmark.el (bookmark-insert-annotation): New function.
4000 (bookmark-edit-annotation): Use it.
4001 (bookmark-edit-annotation-mode): Make it a proper major mode.
4002 (bookmark-send-edited-annotation): Use derived-mode-p.
4003 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4004 closer to its ideal place. Use \' to match EOS.
4005
4006 * profiler.el (profiler-calltree-find): Use function-equal.
4007
4008 2013-09-10 Glenn Morris <rgm@gnu.org>
4009
4010 * files.el (interpreter-mode-alist): Convert to regexps.
4011 (set-auto-mode): Adapt for this. (Bug#15306)
4012 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4013 Comment out unused variable.
4014 * progmodes/cc-mode.el (interpreter-mode-alist):
4015 * progmodes/python.el (interpreter-mode-alist):
4016 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4017 * progmodes/sh-script.el (sh-set-shell):
4018 No longer use interpreter-mode-alist to get list of shells.
4019
4020 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4021
4022 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * simple.el: Use set-temporary-overlay-map for universal-argument.
4025 (universal-argument-map): Don't use default-bindings (bug#15317).
4026 Bind switch-frame explicitly. Replace universal-argument-minus with
4027 a conditional binding.
4028 (universal-argument-num-events, saved-overriding-map): Remove.
4029 (restore-overriding-map): Remove.
4030 (universal-argument--mode): Rename from save&set-overriding-map,
4031 and rewrite.
4032 (universal-argument, universal-argument-more, negative-argument)
4033 (digit-argument): Adjust accordingly.
4034 (universal-argument-minus): Remove.
4035 (universal-argument-other-key): Remove.
4036
4037 * subr.el (with-demoted-errors): Add `format' argument.
4038
4039 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4040
4041 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4042 `tramp-cleanup-connection'.
4043
4044 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4045 parameters KEEP-DEBUG and KEEP-PASSWORD.
4046
4047 * net/tramp.el (tramp-file-name-handler):
4048 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4049 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4050 (tramp-maybe-open-connection):
4051 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4052 Use `tramp-cleanup-connection'.
4053
4054 * net/tramp-sh.el (tramp-maybe-open-connection):
4055 Catch 'uname-changed inside the progress reporter.
4056
4057 2013-09-10 Glenn Morris <rgm@gnu.org>
4058
4059 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4060
4061 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4062 returns "alternate access method" in mode (eg "-rw-r--r--.").
4063
4064 2013-09-08 Glenn Morris <rgm@gnu.org>
4065
4066 * saveplace.el (load-save-place-alist-from-file):
4067 Demote errors. (Bug#15305)
4068
4069 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4070
4071 Improve compatibility with older Emacsen, and XEmacs.
4072
4073 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4074 only if it is bound. It isn't for XEmacs.
4075 (with-tramp-progress-reporter): Do not let-bind `result'.
4076 This yields to scoping errors in XEmacs.
4077 (tramp-handle-make-auto-save-file-name): New function, moved from
4078 tramp-sh.el.
4079
4080 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4081 for `make-auto-save-file-name'.
4082 (tramp-adb--gnu-switches-to-ash):
4083 Use `tramp-compat-replace-regexp-in-string'.
4084
4085 * net/tramp-cache.el (tramp-cache-print): Call
4086 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4087
4088 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4089 bound. It isn't for XEmacs.
4090
4091 * net/tramp-compat.el (tramp-compat-copy-file):
4092 Catch `wrong-number-of-arguments' error.
4093 (tramp-compat-replace-regexp-in-string): New defun.
4094
4095 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4096 for `make-auto-save-file-name'.
4097 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4098 `copy-file'.
4099 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4100 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4101 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4102
4103 * net/tramp-gw.el (tramp-gw-open-network-stream):
4104 Use `tramp-compat-replace-regexp-in-string'.
4105
4106 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4107 Call `tramp-handle-make-auto-save-file-name'.
4108 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4109 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4110 (tramp-sh-file-inotifywait-process-filter):
4111 Use `tramp-compat-replace-regexp-in-string'.
4112 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4113
4114 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4115 for `make-auto-save-file-name'.
4116 (tramp-smb-handle-copy-directory):
4117 Call `tramp-compat-replace-regexp-in-string'.
4118 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4119 (tramp-smb-handle-copy-file): Improve error message.
4120 (tramp-smb-handle-rename-file): Rename directly only in case
4121 `newname' does not exist yet. This is a restriction of smbclient.
4122 (tramp-smb-maybe-open-connection): Rerun the function only when
4123 `auth-sources' is non-nil.
4124
4125 2013-09-08 Kenichi Handa <handa@gnu.org>
4126
4127 * international/characters.el: Set category "^" (Combining) for
4128 more characters.
4129
4130 2013-09-07 Alan Mackenzie <acm@muc.de>
4131
4132 Correctly fontify Java class constructors.
4133 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4134 in Java Mode.
4135 (c-recognize-typeless-decls): Set the Java value to t.
4136 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4137 While handling a "(", add a check for, effectively, Java, and handle a
4138 "typeless" declaration there.
4139
4140 2013-09-07 Roland Winkler <winkler@gnu.org>
4141
4142 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4143 field subtitle for entry type book.
4144
4145 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * minibuffer.el: Make minibuffer-complete call completion-in-region
4148 rather than other way around.
4149 (completion--some, completion-pcm--find-all-completions):
4150 Don't delay signals when debugging.
4151 (minibuffer-completion-contents): Beware fields within the
4152 minibuffer contents.
4153 (completion-all-sorted-completions): Use defvar-local.
4154 (completion--do-completion, completion--cache-all-sorted-completions)
4155 (completion-all-sorted-completions, minibuffer-force-complete):
4156 Add args `beg' and `end'.
4157 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4158 (minibuffer-complete): Use completion-in-region.
4159 (completion-complete-and-exit): New fun, extracted from
4160 minibuffer-complete-and-exit.
4161 (minibuffer-complete-and-exit): Use it.
4162 (completion--complete-and-exit): Rename from
4163 minibuffer--complete-and-exit.
4164 (completion-in-region--single-word): New function, extracted from
4165 minibuffer-complete-word.
4166 (minibuffer-complete-word): Use it.
4167 (display-completion-list): Make `common-substring' argument obsolete.
4168 (completion--in-region): Call completion--in-region-1 instead of
4169 minibuffer-complete.
4170 (completion-help-at-point): Pass boundaries to
4171 minibuffer-completion-help as args rather than via an overlay.
4172 (completion-pcm--string->pattern): Use `any-delim'.
4173 (completion-pcm--optimize-pattern): New function.
4174 (completion-pcm--pattern->regex): Handle `any-delim'.
4175 * icomplete.el (icomplete-forward-completions)
4176 (icomplete-backward-completions, icomplete-completions):
4177 Adjust calls to completion-all-sorted-completions and
4178 completion--cache-all-sorted-completions.
4179 (icomplete-with-completion-tables): Default to t.
4180 * emacs-lisp/crm.el (crm--current-element): Rename from
4181 crm--select-current-element. Don't put an overlay but return the
4182 boundaries instead.
4183 (crm--completion-command): Take two new args to bind to the boundaries.
4184 (crm-completion-help): Adjust accordingly.
4185 (crm-complete): Use completion-in-region.
4186 (crm-complete-word): Use completion-in-region--single-word.
4187 (crm-complete-and-exit): Use completion-complete-and-exit.
4188
4189 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4192 than dynamically.
4193
4194 2013-09-06 Juri Linkov <juri@jurta.org>
4195
4196 * info.el (Info-display-images-node): When image file doesn't exist
4197 display text version of the image if it's provided in the Info file.
4198 Otherwise, display the location of missing image from SRC attribute.
4199 Add help-echo text property from ALT attribute. (Bug#15279)
4200
4201 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4204 (edit-abbrevs-mode): Use define-derived-mode.
4205
4206 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4207 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4208 that it's defined.
4209 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4210 Use define-derived-mode.
4211
4212 * epg.el (epg-start-encrypt): Minor CSE simplification.
4213
4214 2013-09-06 William Xu <william.xwl@gmail.com>
4215
4216 * arc-mode.el: Add support for 7za (bug#15264).
4217 (archive-7z-program): New var.
4218 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4219 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4220 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4221
4222 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4223
4224 Remove URL syntax.
4225
4226 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4227 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4228 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4229 (tramp-postfix-host-format, tramp-file-name-regexp)
4230 (tramp-completion-file-name-regexp)
4231 (tramp-completion-dissect-file-name)
4232 (tramp-handle-substitute-in-file-name): Remove 'url case.
4233 (tramp-file-name-regexp-url)
4234 (tramp-completion-file-name-regexp-url): Remove constants.
4235
4236 2013-09-06 Glenn Morris <rgm@gnu.org>
4237
4238 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4239
4240 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4241
4242 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4243 keywords" below "here-doc beginnings" (Bug#15270).
4244
4245 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * subr.el (pop): Use `car-safe'.
4248 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4249 to detect unused `pop' return value.
4250
4251 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4252 var `block-regexp'.
4253 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4254 (python-fill-string): Remove unused var `marker'.
4255 (python-skeleton-add-menu-items): Remove unused var `items'.
4256
4257 * international/mule-cmds.el: Require CL.
4258 (find-coding-systems-for-charsets): Avoid add-to-list.
4259 (sanitize-coding-system-list): New function, extracted from
4260 select-safe-coding-system-interactively.
4261 (select-safe-coding-system-interactively): Use it.
4262 (read-input-method-name): Accept symbols for `default'.
4263
4264 * emacs-lisp/advice.el (defadvice): Add indent rule.
4265
4266 2013-09-05 Daniel Hackney <dan@haxney.org>
4267
4268 * dired-x.el:
4269 * net/ange-ftp.el:
4270 * net/browse-url.el:
4271 * net/dbus.el:
4272 * net/eudc.el:
4273 * net/eudcb-ldap.el:
4274 * net/eww.el:
4275 * net/imap.el:
4276 * printing.el:
4277 * vc/ediff-diff.el:
4278 * vc/ediff-init.el:
4279 * vc/ediff-merg.el:
4280 * vc/ediff-mult.el:
4281 * vc/ediff-util.el:
4282 * vc/ediff-wind.el:
4283 * vc/ediff.el:
4284 * vc/emerge.el:
4285 * vc/pcvs.el:
4286 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4287 byte compiler. Remove some unused let-bound variables.
4288
4289 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4292 a "ref-cell", since it gets better optimized (bug#14883).
4293
4294 2013-09-05 Glenn Morris <rgm@gnu.org>
4295
4296 * progmodes/cc-awk.el (c-forward-sws): Declare.
4297
4298 2013-09-04 Glenn Morris <rgm@gnu.org>
4299
4300 * generic-x.el [rul-generic-mode]: Require cc-mode.
4301 (c++-mode-syntax-table): Declare.
4302 (rul-generic-mode-syntax-table): Init in the defvar.
4303
4304 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4307 (vc-do-command, vc-set-async-update):
4308 * vc/vc-mtn.el (vc-mtn-dir-status):
4309 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4310 (vc-hg-pull, vc-hg-merge-branch):
4311 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4312 (vc-git-merge-branch):
4313 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4314 (vc-cvs-dir-status-files):
4315 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4316 (vc-bzr-dir-status-files):
4317 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4318 * vc/vc-annotate.el: Use lexical-binding.
4319 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4320 (vc-sentinel-movepoint): Declare.
4321 (vc-annotate): Don't use `goto-line'.
4322 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4323 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4324 (vc-sentinel-movepoint): Declare.
4325 * vc/vc-svn.el: Use lexical-binding.
4326 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4327 * vc/vc-sccs.el:
4328 * vc/vc-rcs.el: Use lexical-binding.
4329
4330 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4331 `deleted'. Don't drop errors silently.
4332
4333 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4334
4335 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4336
4337 * vc/vc.el (vc-ignore): Rewrite.
4338 (vc-default-ignore): New function.
4339 (vc-default-ignore-completion-table): Use find-ignore-file.
4340
4341 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4342 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4343 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4344 Remove. Most code moved to vc.el.
4345
4346 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4349 * net/tramp-smb.el (tramp-smb-get-file-entries):
4350 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4351 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4352
4353 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4354 Update call to it.
4355 (eww-change-select): Remove unused var `properties'.
4356 (eww-make-unique-file-name): Remove unused var `base'.
4357
4358 * finder.el (finder-compile-keywords): Don't mess with windows.
4359
4360 * calculator.el (calculator-funcall): Fix typo in last change.
4361
4362 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4363
4364 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4365 <pkg>-autoloads.el file stop us.
4366
4367 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4368 warnings, and factor out common code.
4369
4370 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4371
4372 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4373 two-character operators and whether the character preceding them
4374 changes their meaning (Bug#15208).
4375
4376 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4377
4378 Format code sent to Python shell for robustness.
4379 * progmodes/python.el (python-shell-buffer-substring):
4380 New function.
4381 (python-shell-send-region, python-shell-send-buffer): Use it.
4382
4383 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4384
4385 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4386 * net/tramp.el (tramp-user-error): ... here.
4387 (tramp-find-method, tramp-check-proper-host)
4388 (tramp-dissect-file-name, tramp-debug-message)
4389 (tramp-handle-shell-command):
4390 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4391 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4392
4393 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4394
4395 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4396
4397 * avoid.el (mouse-avoidance-point-position)
4398 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4399 returns nil.
4400
4401 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4402
4403 * progmodes/python.el (python-shell-completion-get-completions):
4404 Drop use of deleted `comint-last-prompt-overlay'.
4405 (python-nav-if-name-main): New command.
4406
4407 2013-09-01 Glenn Morris <rgm@gnu.org>
4408
4409 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4410 Avoid leading space in $wins. Otherwise the sed command used by
4411 eg compile-main ends up containing "/*.el". (Bug#15170)
4412
4413 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4414
4415 2013-08-30 Glenn Morris <rgm@gnu.org>
4416
4417 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4418 Fix is-this-a-directory logic. (Bug#15220)
4419
4420 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * textmodes/css-mode.el: Use SMIE.
4423 (css-smie-grammar): New var.
4424 (css-smie--forward-token, css-smie--backward-token)
4425 (css-smie-rules): New functions.
4426 (css-mode): Use them.
4427 (css-navigation-syntax-table): Remove var.
4428 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4429 (css-indent-calculate, css-indent-line): Remove functions.
4430
4431 Misc changes to reduce use of `(lambda...); and other cleanups.
4432 * cus-edit.el: Use lexical-binding.
4433 (customize-push-and-save, customize-apropos)
4434 (custom-buffer-create-internal): Use closures.
4435 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4436 * progmodes/ada-xref.el: Use setq.
4437 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4438 * dframe.el: Use lexical-binding.
4439 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4440 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4441 * descr-text.el: Use lexical-binding.
4442 (describe-text-widget, describe-text-sexp, describe-property-list):
4443 Use closures.
4444 * comint.el (comint-history-isearch-push-state): Use a closure.
4445 * calculator.el: Use lexical-binding.
4446 (calculator-number-to-string): Make it work with lexical-binding.
4447 (calculator-funcall): Same and use cl-letf.
4448
4449 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4450 (lisp--company-doc-string, lisp--company-location): New functions.
4451 (lisp-completion-at-point): Use them to improve Company support.
4452
4453 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4454 params of lambda expressions.
4455 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4456 (ruby-smie--opening-pipe-p): New function.
4457 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4458 symbols and matched |...| for formal params.
4459 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4460 from being treated as hanging. Handle "rescue".
4461
4462 2013-08-29 Glenn Morris <rgm@gnu.org>
4463
4464 * progmodes/cc-engine.el (c-pull-open-brace):
4465 Move definition before use.
4466
4467 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4470 are immutable. Don't use `unsafe' any more.
4471 (cl--defsubst-expand): Don't substitute at the same time as keeping
4472 a residual unused let-binding. Don't use `unsafe' any more.
4473
4474 2013-08-29 Glenn Morris <rgm@gnu.org>
4475
4476 * calendar/cal-china.el (calendar-chinese-year-cache):
4477 Recenter on 2015.
4478
4479 * nxml/nxml-util.el (nxml-debug-clear-inside):
4480 Use cl-loop rather than loop.
4481
4482 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4483
4484 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4485
4486 2013-08-28 Glenn Morris <rgm@gnu.org>
4487
4488 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4489
4490 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4491
4492 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4493
4494 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * simple.el (repeat-complex-command--called-interactively-skip):
4497 New function.
4498 (repeat-complex-command): Use it (bug#14136).
4499
4500 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4501 (c-define-abbrev-table): Add `doc' argument.
4502 (c-mode-abbrev-table, c++-mode-abbrev-table)
4503 (objc-mode-abbrev-table, java-mode-abbrev-table)
4504 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4505 (awk-mode-abbrev-table): Use it.
4506 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4507 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4508 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4509 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4510 Move initialization into the declaration; and remove any
4511 autoload cookie.
4512
4513 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4514 and dynamic let binding.
4515
4516 * vc/smerge-mode.el: Remove redundant :group args.
4517
4518 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4519 to load-path.
4520
4521 2013-08-28 Juri Linkov <juri@jurta.org>
4522
4523 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4524 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4525 (isearch-other-meta-char): Handle an undefined shifted printing
4526 character by downshifting it. (Bug#15200)
4527
4528 2013-08-28 Juri Linkov <juri@jurta.org>
4529
4530 * isearch.el (isearch-search): Change regexp error message for
4531 non-regexp searches. (Bug#15166)
4532
4533 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4534
4535 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4536 for portability to hosts where /bin/sh has problems.
4537
4538 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4541
4542 2013-08-27 Juri Linkov <juri@jurta.org>
4543
4544 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4545 in the keyboard macro. (Bug#15126)
4546
4547 2013-08-27 Juri Linkov <juri@jurta.org>
4548
4549 * isearch.el (isearch-quote-char): Comment out converting unibyte
4550 to multibyte, thus syncing with its `quoted-insert' counterpart.
4551 (Bug#15166)
4552
4553 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4554
4555 * window.el (display-buffer-use-some-window): Add missing
4556 argument in call of get-largest-window (Bug#15185).
4557 Reported by Stephen Leake.
4558
4559 2013-08-27 Glenn Morris <rgm@gnu.org>
4560
4561 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4562
4563 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4566 from a matcher-function unless there's no more matches (bug#15161).
4567
4568 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4569
4570 * minibuffer.el: Revert change from 2013-08-20.
4571
4572 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4573 with text property `tramp-default', if appropriate.
4574 (tramp-check-proper-host): New defun.
4575 (tramp-dissect-file-name): Do not check hostname. Revert change
4576 of 2013-03-18.
4577 (tramp-backtrace): Make VEC-OR-PROC optional.
4578
4579 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4580 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4581 * net/tramp-sh.el (tramp-maybe-open-connection):
4582 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4583 Apply `tramp-check-proper-host'.
4584
4585 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4586
4587 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4588 lambda expression in order to have `describe-variable' display it.
4589
4590 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4591
4592 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4593 BUF can be optional. (Bug#15186)
4594
4595 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4596
4597 * progmodes/flymake.el (flymake-get-real-file-name-function):
4598 Fix broken customization. (Bug#15184)
4599
4600 2013-08-25 Alan Mackenzie <acm@muc.de>
4601
4602 Improve indentation of bracelists defined by macros (without "=").
4603
4604 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4605 expansion begins with "{", regard it as bracelist when it doesn't
4606 contain a ";".
4607
4608 Parse C++ inher-intro when there's a template split over 2 lines.
4609
4610 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4611 rigorously the search for "class" etc. followed by ":".
4612
4613 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4614 random languages a regexp which never matches rather than nil.
4615
4616 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4617
4618 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4619 (c-awk-regexp-one-line-possibly-open-char-list-re)
4620 (c-awk-one-line-possibly-open-regexp-re)
4621 (c-awk-one-line-non-syn-ws*-re): Remove.
4622 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4623 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4624 (c-awk-space*-unclosed-regexp-/-re): New constants.
4625 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4626 aren't regexp delimiters.
4627
4628 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4629 handling for a rare situation in AWK Mode involving unterminated
4630 strings/regexps.
4631
4632 2013-08-23 Glenn Morris <rgm@gnu.org>
4633
4634 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4635
4636 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4637
4638 * files.el (create-file-buffer): If the result would begin with
4639 spaces, prepend a "|" instead of removing them. (Bug#15162)
4640
4641 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4644 text-properties (bug#15155).
4645
4646 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4647 exist any more.
4648 (calc-keypad-redraw): Remove unused var `pad'.
4649 (calc-keypad-press): Remove unused var `menu'.
4650
4651 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4652
4653 * window.el (display-buffer-pop-up-frame):
4654 Call pop-up-frame-function with BUFFER current so `make-frame' will
4655 use it as the new frame's buffer (Bug#15133).
4656
4657 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * calendar/timeclock.el: Minor cleanups.
4660 (timeclock-ask-before-exiting, timeclock-use-display-time):
4661 Use `symbol'.
4662 (timeclock-modeline-display): Define as alias before the
4663 actual definition.
4664 (timeclock-mode-line-display): Use define-minor-mode.
4665 (timeclock-day-list-template): Make it a function, add an argument.
4666 (timeclock-day-list-required, timeclock-day-list-length)
4667 (timeclock-day-list-debt, timeclock-day-list-span)
4668 (timeclock-day-list-break): Adjust calls accordingly.
4669
4670 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4673 Use read--expression so that completion works again.
4674
4675 2013-08-21 Sam Steingold <sds@gnu.org>
4676
4677 Add rudimentary inferior shell interaction
4678 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4679 (sh-set-shell): Reset it.
4680 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4681 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4682
4683 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * align.el: Use lexical-binding.
4686 (align-region): Simplify accordingly.
4687
4688 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4691
4692 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4693 `non-essential' up.
4694
4695 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4696
4697 * net/tramp.el:
4698 * net/tramp-adb.el:
4699 * net/tramp-cmds.el:
4700 * net/tramp-ftp.el:
4701 * net/tramp-gvfs.el:
4702 * net/tramp-gw.el:
4703 * net/tramp-sh.el: Don't wrap external variable declarations by
4704 `eval-when-compile'.
4705
4706 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4707
4708 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4709 now that Emacs supports ImageMagick animations.
4710
4711 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4712
4713 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4714 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4715
4716 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4717
4718 * window.el (mouse-autoselect-window-select): Do autoselect when
4719 mouse pointer is on margin.
4720
4721 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4722
4723 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4724
4725 2013-08-16 Glenn Morris <rgm@gnu.org>
4726
4727 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4728 Handle "Remote Directory" response of some clients. (Bug#15058)
4729
4730 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4731 Tweak warning. (Bug#14926)
4732
4733 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4734 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4735
4736 * image-mode.el (image-mode-map): Add menu items to reverse,
4737 increase, decrease, reset animation speed.
4738 (image--set-speed, image-increase-speed, image-decrease-speed)
4739 (image-reverse-speed, image-reset-speed): New functions.
4740 (image-mode-map): Add bindings for speed commands.
4741
4742 * image.el (image-animate-get-speed, image-animate-set-speed):
4743 New functions.
4744 (image-animate-timeout): Respect image :speed property.
4745
4746 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4749 previous line (bug#15101).
4750 (debugger-eval-expression, debugger-record-expression):
4751 Use read--expression (bug#15102).
4752
4753 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4754
4755 Remove byte compiler warnings, visible when compiling with
4756 `byte-compile-force-lexical-warnings' set to t.
4757
4758 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4759 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4760 (tramp-handle-unhandled-file-name-directory)
4761 (tramp-handle-file-notify-add-watch, tramp-action-login)
4762 (tramp-action-succeed, tramp-action-permission-denied)
4763 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4764 arguments with "_".
4765
4766 * net/tramp-adb.el (tramp-adb-parse-device-names)
4767 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4768 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4769 (tramp-adb-handle-file-truename): Remove unused arguments.
4770
4771 * net/tramp-cache.el (tramp-flush-directory-property)
4772 (tramp-flush-connection-property, tramp-list-connections)
4773 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4774
4775 * net/tramp-compat.el (tramp-compat-make-temp-file):
4776 Rename FILENAME to F.
4777
4778 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4779 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4780 (tramp-zeroconf-parse-workstation-device-names)
4781 (tramp-zeroconf-parse-webdav-device-names)
4782 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4783
4784 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4785 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4786
4787 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4788 arguments.
4789 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4790 (tramp-sh-handle-insert-file-contents-literally)
4791 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4792 with "_".
4793 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4794 Remove unused variables.
4795
4796 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4797 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4798 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4799
4800 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4801 Make them a defconst.
4802 (tramp-uuencode-region): Remove unused variable.
4803
4804 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4805
4806 * frameset.el (frameset--prop-setter): New function.
4807 (frameset-prop): Add gv-setter declaration.
4808 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4809 parameter was already set in FILTERED. Doc fix.
4810 (frameset--record-minibuffer-relationships): Allow saving a
4811 minibufferless frame without its corresponding minibuffer frame.
4812 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4813 frame, if the frame id matches.
4814 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4815 frames before orphaned ones.
4816 (frameset-restore): Warn about orphaned windows, instead of error out.
4817
4818 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4819
4820 * window.el (window-make-atom): Don't overwrite parameter
4821 already present.
4822 (display-buffer-in-atom-window): Handle special case where we
4823 split an already atomic window.
4824 (window--major-non-side-window, display-buffer-in-side-window)
4825 (window--side-check): Ignore minibuffer window when walking
4826 window tree.
4827 (window-deletable-p): Return 'frame only if no other frame uses
4828 our minibuffer window.
4829 (record-window-buffer): Run buffer-list-update-hook.
4830 (split-window): Make sure window--check-frame won't destroy an
4831 existing atomic window in case the new window gets nested
4832 inside.
4833 (display-buffer-at-bottom): Ignore minibuffer window when
4834 walking window tree. Don't split a side window.
4835 (pop-to-buffer): Don't set-buffer here, the select-window call
4836 should do that.
4837 (mouse-autoselect-window-select): Autoselect only if we are in the
4838 text portion of the window.
4839
4840 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4841
4842 * net/shr.el (shr-parse-image-data): New function to grab both the
4843 data itself and the Content-Type.
4844 (shr-put-image): Use it.
4845
4846 * net/eww.el (eww-display-image): Ditto.
4847
4848 * image.el (image-content-type-suffixes): New variable.
4849
4850 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4851
4852 * progmodes/python.el (python-imenu--build-tree)
4853 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4854
4855 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4856
4857 * simple.el (backward-word): Mention the optional argument.
4858
4859 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * frameset.el (frameset--make): Rename constructor from make-frameset.
4862 (frameset-p, frameset-valid-p): Don't autoload.
4863 (frameset-valid-p): Use normal accessors.
4864
4865 2013-08-13 Glenn Morris <rgm@gnu.org>
4866
4867 * progmodes/compile.el (compile-command): Tweak example in doc.
4868 * obsolete/scribe.el (scribe-mode):
4869 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4870
4871 * mail/feedmail.el (feedmail-confirm-outgoing)
4872 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4873
4874 * cus-start.el (truncate-partial-width-windows): Fix type.
4875
4876 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4877
4878 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4879
4880 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * emacs-lisp/timer.el (timer--time-setter): New function.
4883 (timer--time): Use it as gv-setter.
4884
4885 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4886 setter is not a symbol.
4887
4888 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4889
4890 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4891 if sending fails. This makes debugging easier.
4892
4893 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4894
4895 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4896 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4897 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4898
4899 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4900
4901 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4902
4903 2013-08-12 Glenn Morris <rgm@gnu.org>
4904
4905 * format.el (format-annotate-function):
4906 Handle read-only text properties in the source. (Bug#14887)
4907
4908 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4909
4910 * net/eww.el (eww-display-html): Ignore coding system errors.
4911 One web site uses "utf-8lias" as the coding system.
4912
4913 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4914
4915 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4916
4917 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4920 (tutorial--detailed-help): Remove unused local variables.
4921 (tutorial--save-tutorial-to): Use ignore-errors.
4922 (help-with-tutorial): Use looking-at-p.
4923
4924 * view.el (view-buffer-other-window, view-buffer-other-frame):
4925 Mark unused arguments.
4926
4927 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4928 (woman-select-symbol-fonts, woman, woman-find-file)
4929 (woman-insert-file-contents, woman-non-underline-faces):
4930 Use string-match-p.
4931 (woman1-unquote): Move declaration.
4932
4933 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4934 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4935 argument. Remove unused local variable.
4936 (xml-parse-elem-type): Use string-match-p.
4937 (xml-substitute-numeric-entities): Use ignore-errors.
4938
4939 * calculator.el (calculator): Mark unused argument.
4940 (calculator-paste, calculator-quit, calculator-integer-p):
4941 Use ignore-errors.
4942 (calculator-string-to-number, calculator-decimal, calculator-exp)
4943 (calculator-op-or-exp): Use string-match-p.
4944
4945 * dired.el (dired-buffer-more-recently-used-p): Declare.
4946 (dired-insert-set-properties, dired-insert-old-subdirs):
4947 Use ignore-errors.
4948
4949 * dired-aux.el (dired-compress): Use ignore-errors.
4950 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4951 (dired-do-async-shell-command, dired-do-shell-command)
4952 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4953 (dired-insert-subdir-validate): Use string-match-p.
4954 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4955 (dired-add-entry): Use string-match-p, looking-at-p.
4956 (dired-insert-subdir-newpos): Remove unused local variable.
4957
4958 * filenotify.el (file-notify-callback): Remove unused local variable.
4959
4960 * filesets.el (filesets-error): Mark unused argument.
4961 (filesets-which-command-p, filesets-filter-dir-names)
4962 (filesets-directory-files, filesets-get-external-viewer)
4963 (filesets-ingroup-get-data): Use string-match-p.
4964
4965 * find-file.el (ff-other-file-name, ff-other-file-name)
4966 (ff-find-the-other-file, ff-cc-hh-converter):
4967 Remove unused local variables.
4968 (ff-get-file-name): Use string-match-p.
4969 (ff-all-dirs-under): Use ignore-errors.
4970
4971 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4972 (follow-select-if-visible): Remove unused local variable.
4973
4974 * forms.el (read-file-filter): Move declaration.
4975 (forms--make-format, forms--make-parser, forms-insert-record):
4976 Quote function with #'.
4977 (forms--update): Use string-match-p. Quote function with #'.
4978
4979 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4980 (help-make-xrefs): Use looking-at-p.
4981 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4982
4983 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4984 (ibuffer-confirm-operation-on): Use string-match-p.
4985
4986 * msb.el (msb-item-handler, msb-dired-item-handler):
4987 Mark unused arguments.
4988
4989 * ses.el (ses-decode-cell-symbol)
4990 (ses-kill-override): Remove unused local variable.
4991 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4992 (ses-load): Use ignore-errors, looking-at-p.
4993 (ses-jump-safe): Use ignore-errors.
4994 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4995
4996 * tabify.el (untabify, tabify): Mark unused arguments.
4997
4998 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4999 Mark unused argument.
5000 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5001 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5002
5003 * emacs-lisp/timer.el (timer--time): Define setter with
5004 gv-define-setter to avoid deprecation warning.
5005
5006 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5007 (*record-cmpl-statistics-p*): Remove (was commented out).
5008 (cmpl-statistics-block): Remove (body was commented out).
5009 All callers changed.
5010 (add-completions-from-buffer, load-completions-from-file):
5011 Remove unused variables.
5012
5013 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5014
5015 * filecache.el (file-cache-delete-file-list):
5016 Print message only when told so.
5017 (file-cache-files-matching): Use #' in mapconcat argument.
5018
5019 * ffap.el (ffap-url-at-point): Fix reference to variable
5020 thing-at-point-default-mail-uri-scheme.
5021
5022 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * subr.el (define-error): New function.
5025 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5026 error-file-not-found and define with define-error.
5027 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5028 and define with define-error.
5029 * userlock.el (file-locked, file-supersession):
5030 * simple.el (mark-inactive):
5031 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5032 * progmodes/ada-mode.el (ada-mode-errors):
5033 * play/life.el (life-extinct):
5034 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5035 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5036 * nxml/rng-util.el (rng-error):
5037 * nxml/rng-uri.el (rng-uri-error):
5038 * nxml/rng-match.el (rng-compile-error):
5039 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5040 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5041 * nxml/nxml-rap.el (nxml-scan-error):
5042 * nxml/nxml-outln.el (nxml-outline-error):
5043 * net/soap-client.el (soap-error):
5044 * net/gnutls.el (gnutls-error):
5045 * net/ange-ftp.el (ftp-error):
5046 * mpc.el (mpc-proc-error):
5047 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5048 (json-number-format, json-string-escape, json-string-format)
5049 (json-key-format, json-object-format):
5050 * jka-compr.el (compression-error):
5051 * international/quail.el (quail-error):
5052 * international/kkc.el (kkc-error):
5053 * emacs-lisp/ert.el (ert-test-failed):
5054 * calc/calc.el (calc-error, inexact-result, math-overflow)
5055 (math-underflow):
5056 * bookmark.el (bookmark-error-no-filename):
5057 * epg.el (epg-error): Define with define-error.
5058
5059 * time.el (display-time-event-handler)
5060 (display-time-next-load-average): Don't call sit-for since it seems
5061 unnecessary (bug#15045).
5062
5063 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5064 Use #' instead of ' to quote functions.
5065 (checkdoc-output-mode): Use setq-local.
5066 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5067 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5068 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5069 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5070 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5071 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5072 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5073 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5074
5075 * ido.el (ido-completion-help): Fix up compiler warning.
5076
5077 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5078
5079 * frameset.el (frameset-p): Add autoload cookie.
5080 (frameset--jump-to-register): New function, based on code moved from
5081 register.el.
5082 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5083
5084 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5085 (frameset-restore, frameset-save, frameset-session-filter-alist):
5086 Remove declarations.
5087 (register-alist): Doc fix.
5088 (frameset-to-register): Move to frameset.el.
5089 (jump-to-register, describe-register-1): Remove frameset-specific code.
5090
5091 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5092
5093 * allout-widgets.el (allout-widgets-pre-command-business)
5094 (allout-widgets-post-command-business)
5095 (allout-widgets-after-change-handler)
5096 (allout-decorate-item-and-context, allout-set-boundary-marker)
5097 (allout-body-modification-handler)
5098 (allout-graphics-modification-handler): Mark ignored arguments.
5099 (allout-widgets-post-command-business)
5100 (allout-widgets-exposure-change-processor)
5101 (allout-widgets-exposure-undo-processor)
5102 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5103 (allout-parse-item-at-point, allout-decorate-item-guides)
5104 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5105 * allout.el (epa-passphrase-callback-function): Declare.
5106 (allout-overlay-insert-in-front-handler)
5107 (allout-overlay-interior-modification-handler)
5108 (allout-isearch-end-handler, allout-chart-siblings)
5109 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5110 (allout-yank-processing, allout-process-exposed)
5111 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5112 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5113 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5114 (lisp-indent-defform): Mark ignored arguments.
5115 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5116 (calculate-lisp-indent): Remove unused variables.
5117 * international/characters.el (indian-2-column, arabic-2-column)
5118 (tibetan): Mark ignored arguments.
5119 (use-cjk-char-width-table): Mark ignored arguments.
5120 Remove unused variables.
5121 * international/fontset.el (build-default-fontset-data)
5122 (x-compose-font-name, create-fontset-from-fontset-spec):
5123 Mark ignored arguments.
5124 (fontset-plain-name): Remove unused variables.
5125 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5126 (keyboard-coding-system): Mark ignored arguments.
5127 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5128 * help.el (resize-temp-buffer-window):
5129 * window.el (display-buffer-in-major-side-window)
5130 (display-buffer-in-side-window, display-buffer-in-previous-window):
5131 Remove unused variables.
5132 * isearch.el (isearch-forward-symbol):
5133 * version.el (emacs-bzr-version-bzr):
5134 * international/mule-cmds.el (current-language-environment):
5135 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5136 (x-handle-display):
5137 * term/pc-win.el (x-list-fonts, x-display-planes)
5138 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5139 (x-server-version, x-display-screens, x-display-mm-height)
5140 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5141 (x-selection-owner-p, x-own-selection-internal)
5142 (x-disown-selection-internal, x-get-selection-internal)
5143 (msdos-initialize-window-system):
5144 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5145 * term/x-win.el (x-handle-no-bitmap-icon):
5146 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5147 (vc-default-find-file-hook, vc-default-extra-menu):
5148 Mark ignored arguments.
5149
5150 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5153 break-condition in the context of the debugged code (bug#12685).
5154
5155 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5156
5157 * comint.el:
5158 Do not use an overlay to highlight the last prompt. (Bug#14744)
5159 (comint-mode): Make comint-last-prompt buffer local.
5160 (comint-last-prompt): New variable.
5161 (comint-last-prompt-overlay): Remove. Superseded by
5162 comint-last-prompt.
5163 (comint-snapshot-last-prompt, comint-output-filter):
5164 Use comint-last-prompt.
5165
5166 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5169 (frameset-save): Check validity of the resulting frameset.
5170
5171 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5172
5173 * ido.el (ido-record-command): Add doc string.
5174
5175 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5176
5177 * frameset.el (frameset): Do not disable creation of the default
5178 frameset-p predicate. Doc fix.
5179 (frameset-valid-p): New function, copied from the old predicate-p.
5180 Add additional checks.
5181 (frameset-restore): Check with frameset-valid-p.
5182 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5183 (frameset-name, frameset-description, frameset-properties)
5184 (frameset-states): Add docstring.
5185 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5186 (frameset-filter-alist): Doc fixes.
5187
5188 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5189
5190 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5191
5192 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5195 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5196 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5197 (byte-compile-normal-call): Remove obsolescence check.
5198
5199 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5200
5201 * frameset.el (frameset-restore): Doc fix.
5202
5203 * register.el (frameset-frame-id, frameset-frame-with-id)
5204 (frameset-p, frameset-restore, frameset-save): Declare.
5205 (register-alist): Document framesets.
5206 (frameset-session-filter-alist): Declare.
5207 (frameset-to-register): New function.
5208 (jump-to-register): Implement jumping to framesets. Doc fix.
5209 (describe-register-1): Describe framesets.
5210
5211 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5212
5213 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5214
5215 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5216 Use lexical-binding.
5217
5218 * frameset.el (frameset): Use type vector, not list (incompatible
5219 change). Do not declare a new constructor, use the default one.
5220 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5221 `name' and `description', respectively, and add read-only slot
5222 `timestamp'. Doc fixes.
5223 (frameset-copy, frameset-persistent-filter-alist)
5224 (frameset-filter-alist, frameset-switch-to-gui-p)
5225 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5226 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5227 (frameset-filter-iconified, frameset-keep-original-display-p):
5228 Doc fixes.
5229 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5230 Rename from frameset-filter-(save|restore)-param. All callers changed.
5231 Doc fix.
5232 (frameset-p): Adapt to change to vector and be more thorough.
5233 Change arg name to OBJECT. Doc fix.
5234 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5235 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5236 All callers changed.
5237 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5238 All callers changed.
5239 (frameset--record-minibuffer-relationships): Rename from
5240 frameset--process-minibuffer-frames. All callers changed.
5241 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5242 Use new default constructor (again). Doc fix.
5243 (frameset--find-frame-if): Rename from `frameset--find-frame.
5244 All callers changed.
5245 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5246 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5247 Doc fix.
5248 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5249 PARAMETERS and WINDOW-STATE, respectively.
5250 (frameset-restore): Add new keyword argument PREDICATE.
5251 Reset frameset--target-display to nil. Doc fix.
5252
5253 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5256 (bat-mode): Use it.
5257 (bat-mode-syntax-table): Mark \n as end-of-comment.
5258 (bat-font-lock-keywords): Remove comment rule.
5259
5260 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5261 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5262
5263 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5264 (byte-compile-callargs-warn): Use `push'.
5265 (byte-compile-arglist-warn): Ignore higher-order "calls".
5266 (byte-compile-file-form-autoload): Use `pcase'.
5267 (byte-compile-function-form): If quoting a symbol, check that it exists.
5268
5269 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5270
5271 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5272 and add a few popular commands found in batch files.
5273 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5274 (dos-mode): Doc fixes.
5275
5276 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5279 (dos-mode): Use setq-local. Add space after "rem".
5280 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5281 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5282
5283 2013-08-07 Arni Magnusson <arnima@hafro.is>
5284
5285 * progmodes/dos.el: New file.
5286 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5287 dos-mode.
5288
5289 2013-08-06 Glenn Morris <rgm@gnu.org>
5290
5291 * calendar/calendar.el: Add new faces, and day-header-array.
5292 (calendar-weekday-header, calendar-weekend-header)
5293 (calendar-month-header): New faces.
5294 (calendar-day-header-construct): New function.
5295 (calendar-day-header-width): Also :set calendar-day-header-array.
5296 (calendar-american-month-header, calendar-european-month-header)
5297 (calendar-iso-month-header): Use calendar- faces.
5298 (calendar-generate-month):
5299 Use calendar-day-header-array for day headers; apply faces to them.
5300 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5301 (calendar-abbrev-construct): Add optional maxlen argument.
5302 (calendar-day-name-array): Doc fix.
5303 (calendar-day-name-array, calendar-abbrev-length)
5304 (calendar-day-abbrev-array):
5305 Also :set calendar-day-header-array, and maybe redraw.
5306 (calendar-day-header-array): New option. (Bug#15007)
5307 (calendar-font-lock-keywords): Set to nil and make obsolete.
5308 (calendar-day-name): Add option to use header array.
5309
5310 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5311
5312 * net/shr.el (shr-render-td): Remove debugging.
5313 (shr-render-td): Make width computation consistent by defaulting
5314 all zero-width columns to 10 characters. This may not be optimal,
5315 but it's at least consistent.
5316 (shr-make-table-1): Redo last change to fix the real problem in
5317 colspan handling.
5318
5319 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5320
5321 * files.el (cache-long-line-scans):
5322 Make obsolete alias to `cache-long-scans'.
5323
5324 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5325
5326 * frameset.el (frameset, frameset-filter-alist)
5327 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5328 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5329 (frameset-compute-pos): Rename from frameset--compute-pos,
5330 and add docstring.
5331 (frameset-move-onscreen): Use frameset-compute-pos.
5332 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5333
5334 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5335 Fix typos in docstrings.
5336
5337 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5338
5339 * frame.el (get-other-frame): Tiny cleanup.
5340
5341 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5342
5343 * vc/vc.el (vc-default-ignore-completion-table):
5344 Silence byte-compiler warning.
5345
5346 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5347 slot , which can indeed be nil.
5348 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5349 Move entry for `left' from persistent to live filter alist.
5350 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5351 Doc fixes.
5352 (frameset-filter-params): When restoring a frame, copy items added to
5353 `filtered', to avoid unwittingly modifying the original parameters.
5354 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5355 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5356
5357 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5358 to use looking-at-p instead of looking-at. (Bug#15028)
5359
5360 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 Revert introduction of isearch-filter-predicates (bug#14714).
5363 Rely on add-function instead.
5364 * isearch.el (isearch-filter-predicates): Rename it back to
5365 isearch-filter-predicate.
5366 (isearch-message-prefix): Use advice-function-mapc and advice
5367 properties to get the isearch-message-prefix.
5368 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5369 instead of run-hook-with-args-until-failure.
5370 (isearch-filter-visible): Not obsolete any more.
5371 * loadup.el: Preload nadvice.
5372 * replace.el (perform-replace): Revert to funcall
5373 instead of run-hook-with-args-until-failure.
5374 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5375 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5376 dired-isearch-filenames-toggle; make it into a proper minor mode.
5377 Use add/remove-function.
5378 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5379 Call the minor-mode rather than add/remove-hook.
5380 (dired-isearch-filter-filenames):
5381 Remove isearch-message-prefix property.
5382 * info.el (Info--search-loop): New function, extracted from Info-search.
5383 Funcall isearch-filter-predicate instead of
5384 run-hook-with-args-until-failure isearch-filter-predicates.
5385 (Info-search): Use it.
5386 (Info-mode): Use isearch-filter-predicate instead of
5387 isearch-filter-predicates.
5388
5389 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5390
5391 Do not call to `selected-window' where it is assumed by default.
5392 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5393 `window-hscroll', `window-width', `window-height', `window-buffer',
5394 `window-frame', `window-start', `window-point', `next-window'
5395 and `window-display-table'.
5396 * abbrev.el (abbrev--default-expand):
5397 * bs.el (bs--show-with-configuration):
5398 * buff-menu.el (Buffer-menu-mouse-select):
5399 * calc/calc.el (calc):
5400 * calendar/calendar.el (calendar-generate-window):
5401 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5402 (diary-make-entry):
5403 * comint.el (send-invisible, comint-dynamic-complete-filename)
5404 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5405 * completion.el (complete):
5406 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5407 * disp-table.el (describe-current-display-table):
5408 * doc-view.el (doc-view-insert-image):
5409 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5410 * ehelp.el (with-electric-help):
5411 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5412 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5413 * emacs-lisp/helper.el (Helper-help-scroller):
5414 * emulation/cua-base.el (cua--post-command-handler-1):
5415 * eshell/esh-mode.el (eshell-output-filter):
5416 * ffap.el (ffap-gnus-wrapper):
5417 * help-macro.el (make-help-screen):
5418 * hilit-chg.el (highlight-compare-buffers):
5419 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5420 * hl-line.el (global-hl-line-highlight):
5421 * icomplete.el (icomplete-simple-completing-p):
5422 * isearch.el (isearch-done):
5423 * jit-lock.el (jit-lock-stealth-fontify):
5424 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5425 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5426 * mpc.el (mpc-tagbrowser, mpc):
5427 * net/rcirc.el (rcirc-any-buffer):
5428 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5429 * play/landmark.el (landmark-max-width, landmark-max-height):
5430 * play/zone.el (zone):
5431 * progmodes/compile.el (compilation-goto-locus):
5432 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5433 * progmodes/etags.el (find-tag-other-window):
5434 * progmodes/fortran.el (fortran-column-ruler):
5435 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5436 * progmodes/verilog-mode.el (verilog-point-text):
5437 * reposition.el (reposition-window):
5438 * rot13.el (toggle-rot13-mode):
5439 * server.el (server-switch-buffer):
5440 * shell.el (shell-dynamic-complete-command)
5441 (shell-dynamic-complete-environment-variable):
5442 * simple.el (insert-buffer, set-selective-display)
5443 (delete-completion-window):
5444 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5445 (speedbar-recenter):
5446 * startup.el (fancy-splash-head):
5447 * textmodes/ispell.el (ispell-command-loop):
5448 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5449 * tutorial.el (help-with-tutorial):
5450 * vc/add-log.el (add-change-log-entry):
5451 * vc/compare-w.el (compare-windows):
5452 * vc/ediff-help.el (ediff-indent-help-message):
5453 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5454 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5455 (ediff-setup-control-frame):
5456 * vc/emerge.el (emerge-position-region):
5457 * vc/pcvs-util.el (cvs-bury-buffer):
5458 * window.el (walk-windows, mouse-autoselect-window-select):
5459 * winner.el (winner-set-conf, winner-undo): Related users changed.
5460
5461 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * frameset.el (frameset--set-id): Doc fix.
5464 (frameset-frame-id, frameset-frame-id-equal-p)
5465 (frameset-locate-frame-id): New functions.
5466 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5467 (frameset-restore): Use them.
5468
5469 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5470
5471 Do not call to `selected-frame' where it is assumed by default.
5472 Affected functions are `raise-frame', `redraw-frame',
5473 `frame-first-window', `frame-terminal' and `delete-frame'.
5474 * calendar/appt.el (appt-disp-window):
5475 * epg.el (epg-wait-for-completion):
5476 * follow.el (follow-delete-other-windows-and-split)
5477 (follow-avoid-tail-recenter):
5478 * international/mule.el (set-terminal-coding-system):
5479 * mail/rmail.el (rmail-mail-return):
5480 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5481 * progmodes/f90.el (f90-add-imenu-menu):
5482 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5483 * server.el (server-switch-buffer):
5484 * simple.el (delete-completion-window):
5485 * talk.el (talk):
5486 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5487 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5488 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5489 * vc/ediff.el (ediff-documentation): Related users changed.
5490 * frame.el (selected-terminal): Remove the leftover.
5491
5492 2013-08-05 Glenn Morris <rgm@gnu.org>
5493
5494 * calendar/calendar.el (calendar-generate-month):
5495 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5496 (calendar-generate-month, calendar-font-lock-keywords):
5497 Fix for calendar-day-header-width > length of any day name.
5498
5499 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5500
5501 * desktop.el (desktop-clear): Use new name of sort predicate.
5502
5503 * frameset.el (frameset): Add docstring. Move :version property to its
5504 own `version' slot.
5505 (frameset-copy): Rename from copy-frameset.
5506 (frameset-p): Check more thoroughly.
5507 (frameset-prop): Do not check for :version, which is no longer a prop.
5508 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5509 Use new :never value instead of t.
5510 (frameset-filter-alist): Expand and clarify docstring.
5511 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5512 (frameset-filter-minibuffer, frameset-filter-save-param)
5513 (frameset-filter-restore-param, frameset-filter-iconified):
5514 Add pointer to docstring of frameset-filter-alist.
5515 (frameset-filter-params): Rename filter values to be more meaningful:
5516 :never instead of t, and reverse the meanings of :save and :restore.
5517 (frameset--process-minibuffer-frames): Clarify error message.
5518 (frameset-save): Avoid unnecessary and confusing call to framep.
5519 Use new BOA constructor for framesets.
5520 (frameset--reuse-list): Doc fix.
5521 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5522 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5523 (frameset-minibufferless-first-p): Doc fix.
5524 Rename from frameset-sort-frames-for-deletion.
5525 (frameset-restore): Doc fixes. Use new function names.
5526 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5527
5528 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5529
5530 * desktop.el (desktop-restore-forces-onscreen)
5531 (desktop-restore-reuses-frames): Document :keyword constant values.
5532 (desktop-filter-parameters-alist): Remove, now identical to
5533 frameset-filter-alist.
5534 (desktop--filter-tty*): Remove, moved to frameset.el.
5535 (desktop-save-frameset, desktop-restore-frameset):
5536 Do not pass :filters argument.
5537
5538 * frameset.el (frameset-live-filter-alist)
5539 (frameset-persistent-filter-alist): New variables.
5540 (frameset-filter-alist): Use them. Add autoload cookie.
5541 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5542 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5543 `frameset--id' (it's supposed to be internal to frameset.el).
5544 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5545 (frameset--initial-params): New function.
5546 (frameset--get-frame): Use it. Doc fix.
5547 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5548 Accept :all, not 'all.
5549 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5550 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5551 with fbound symbols. Fix frame id matching, and remove matching ids if
5552 the frame being restored is deleted. Obey :delete.
5553
5554 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * subr.el (macrop): New function.
5557 (text-clone--maintaining): New var.
5558 (text-clone--maintain): Rename from text-clone-maintain. Use it
5559 instead of inhibit-modification-hooks.
5560
5561 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5562 a proxy, so as handle autoloads and redefinitions of the target.
5563 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5564
5565 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5566 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5567 (pcase--mutually-exclusive-p): New function.
5568 (pcase--split-consp): Use it.
5569 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5570 mutually exclusive with the current predicate.
5571
5572 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5573 (edebug-macrop): Remove. Use `macrop' instead.
5574 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5575 (ad-macro-p):
5576 * eshell/esh-cmd.el (eshell-macrop):
5577 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5578
5579 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5582 (advice-mapc): New function, using it.
5583 (advice-function-member-p): New function.
5584 (advice--normalize): Store the cdr in advice--saved-rewrite since
5585 that's the part that will be changed.
5586 (advice--symbol-function): New function.
5587 (advice-remove): Handle removal before the function is defined.
5588 Adjust to new advice--saved-rewrite.
5589 (advice-member-p): Use advice-function-member-p and
5590 advice--symbol-function.
5591
5592 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5593
5594 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5595 (frameset-filter-minibuffer): Doc fix.
5596 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5597 (frameset--set-id, frameset--process-minibuffer-frames)
5598 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5599 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5600
5601 * desktop.el (desktop-clear): Only delete frames when called
5602 interactively and desktop-restore-frames is non-nil. Doc fix.
5603 (desktop-read): Set desktop-saved-frameset to nil.
5604
5605 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5606
5607 * vc/vc.el (vc-ignore): Rewrite.
5608 (vc-default-ignore-completion-table):
5609 (vc--read-lines):
5610 (vc--add-line, vc--remove-regexp): New functions.
5611
5612 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5613 (vc-svn-ignore-completion-table): New function.
5614
5615 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5616 (vc-hg-ignore-completion-table):
5617 (vc-hg-find-ignore-file): New functions.
5618
5619 * vc/vc-git.el (vc-git-ignore): Rewrite.
5620 (vc-git-ignore-completion-table):
5621 (vc-git-find-ignore-file): New functions.
5622
5623 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5624
5625 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5626 (vc-bzr-ignore-completion-table):
5627 (vc-bzr-find-ignore-file): New functions.
5628
5629 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * frameset.el (frameset-prop): New function and setter.
5632 (frameset-save): Do not modify frame list passed by the caller.
5633
5634 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5637
5638 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5641 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5642
5643 * custom.el (custom-initialize-default, custom-initialize-set)
5644 (custom-initialize-reset, custom-initialize-changed): Affect the
5645 toplevel-default-value (bug#6275, bug#14586).
5646 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5647 for bug#6275.
5648
5649 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5650
5651 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5652 Add cl-def* expressions.
5653
5654 * frameset.el (frameset-filter-params): Fix order of arguments.
5655
5656 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5657
5658 Move code related to saving frames to frameset.el.
5659 * desktop.el: Require frameset.
5660 (desktop-restore-frames): Doc fix.
5661 (desktop-restore-reuses-frames): Rename from
5662 desktop-restoring-reuses-frames.
5663 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5664 (desktop-clear): Clear frames too.
5665 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5666 (desktop--filter-tty*, desktop-save, desktop-read):
5667 Use frameset functions.
5668 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5669 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5670 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5671 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5672 (desktop--process-minibuffer-frames, desktop-save-frames)
5673 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5674 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5675 (desktop--sort-states, desktop-restoring-frames-p)
5676 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5677 (desktop-restoring-frameset-p, desktop-restore-frameset)
5678 (desktop--check-dont-save, desktop-save-frameset): New functions.
5679 (desktop--app-id): New constant.
5680 (desktop-first-buffer, desktop-buffer-ok-count)
5681 (desktop-buffer-fail-count): Move before first use.
5682 * frameset.el: New file.
5683
5684 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * files.el: Use lexical-binding.
5687 (dir-locals-read-from-file): Remove unused `err' variable.
5688 (hack-dir-local-variables--warned-coding): New var.
5689 (hack-dir-local-variables): Use it to avoid repeated warnings.
5690 (make-backup-file-name--default-function): New function.
5691 (make-backup-file-name-function): Use it as default.
5692 (buffer-stale--default-function): New function.
5693 (buffer-stale-function): Use it as default.
5694 (revert-buffer-insert-file-contents--default-function): New function.
5695 (revert-buffer-insert-file-contents-function): Use it as default.
5696 (insert-directory): Avoid add-to-list.
5697
5698 * autorevert.el (auto-revert-handler): Simplify.
5699 Use buffer-stale--default-function.
5700
5701 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5702
5703 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5704
5705 * whitespace.el (whitespace-ensure-local-variables): New function.
5706 (whitespace-cleanup-region): Call it.
5707 (whitespace-turn-on): Call it.
5708
5709 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5710
5711 Complete file name handlers.
5712
5713 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5714 (tramp-handle-verify-visited-file-modtime)
5715 (tramp-handle-file-notify-rm-watch): New functions.
5716 (tramp-call-process): Do not bind `default-directory'.
5717
5718 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5719 Order alphabetically.
5720 [access-file, add-name-to-file, dired-call-process]:
5721 [dired-compress-file, file-acl, file-notify-rm-watch]:
5722 [file-ownership-preserved-p, file-selinux-context]:
5723 [make-directory-internal, make-symbolic-link, set-file-acl]:
5724 [set-file-selinux-context, set-visited-file-modtime]:
5725 [verify-visited-file-modtime]: Add handler.
5726 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5727
5728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5729 [file-notify-add-watch, file-notify-rm-watch]:
5730 [set-file-times, set-visited-file-modtime]:
5731 [verify-visited-file-modtime]: Add handler.
5732 (with-tramp-gvfs-error-message)
5733 (tramp-gvfs-handle-set-visited-file-modtime)
5734 (tramp-gvfs-fuse-file-name): Remove.
5735 (tramp-gvfs-handle-file-notify-add-watch)
5736 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5737 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5738
5739 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5740 Order alphabetically.
5741 [file-notify-rm-watch ]: Use default Tramp handler.
5742 [executable-find]: Remove private handler.
5743 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5744 `default-directory'.
5745 (tramp-sh-handle-executable-find)
5746 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5747 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5748 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5749 Do not use `format' in `tramp-message'.
5750
5751 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5752 [file-notify-rm-watch, set-visited-file-modtime]:
5753 [verify-visited-file-modtime]: Add handler.
5754 (tramp-smb-call-winexe): Do not bind `default-directory'.
5755
5756 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5757
5758 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5759
5760 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5761
5762 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5763 use it.
5764 (log-view-diff-changeset): Same.
5765 (log-view-diff-common): Call backend command `previous-revision'
5766 to find out the previous revision, in both cases. Swap the
5767 variables `to' and `fr', so that `fr' usually refers to the
5768 earlier revision (Bug#14989).
5769
5770 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5771
5772 * ibuf-ext.el (ibuffer-filter-by-filename):
5773 Make it work with dired buffers too.
5774
5775 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5776
5777 * emacs-lisp/re-builder.el (reb-color-display-p):
5778 * files.el (save-buffers-kill-terminal):
5779 * net/browse-url.el (browse-url):
5780 * server.el (server-save-buffers-kill-terminal):
5781 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5782 Prefer nil to selected-frame for the first arg of frame-parameter.
5783
5784 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5785
5786 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5787
5788 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5789
5790 * minibuffer.el (completion--twq-all): Try and preserve each
5791 completion's case choice (bug#14907).
5792
5793 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5794
5795 * net/network-stream.el (open-network-stream): Mention the new
5796 :nogreeting parameter.
5797 (network-stream-open-starttls): Use the :nogreeting parameter
5798 (bug#14938).
5799
5800 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5801
5802 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5803 more natural than popping.
5804
5805 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5806 (shr-urlify): Highlight under mouse.
5807
5808 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5809
5810 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5811
5812 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5813
5814 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5815 buffer for output.
5816
5817 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5818 point-min==1. Fix search string. Fix parentheses missing.
5819
5820 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5821 assume point-min==1. Fix search string. Fix parentheses missing.
5822
5823 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5824
5825 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5826 buffer for output.
5827
5828 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5829
5830 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5831 initial frame is minibuffer-less. (Bug#14841)
5832
5833 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5834
5835 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5836 option.
5837
5838 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5839 (tramp-maybe-open-connection): Use it.
5840
5841 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5842
5843 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5844 minimal set of parameters passed when creating a frame, because
5845 the minibuffer status of a frame cannot be changed later.
5846
5847 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5848
5849 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5850 replace-regexp-in-string and inadvertent omissions in previous change.
5851 (todo-filter-items): Ensure only file names are comma-separated in
5852 name of filtered items buffer.
5853
5854 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5855
5856 * desktop.el: Optionally force offscreen frames back onscreen.
5857 (desktop-restoring-reuses-frames): New option.
5858 (desktop--compute-pos, desktop--move-onscreen): New functions.
5859 (desktop--make-frame): Use desktop--move-onscreen.
5860
5861 2013-07-27 Alan Mackenzie <acm@muc.de>
5862
5863 Fontify a Java generic method as a function.
5864 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5865 value to t.
5866
5867 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5868
5869 * calendar/todo-mode.el: Add command to rename todo files.
5870 (todo-rename-file): New command.
5871 (todo-key-bindings-t): Add key binding for it. Change the
5872 bindings of todo-filter-regexp-items(-multifile) to use `x'
5873 instead of `r', since the latter is better suited to the new
5874 renaming command.
5875
5876 2013-07-27 Alan Mackenzie <acm@muc.de>
5877
5878 Make Java try-with-resources statement parse properly.
5879 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5880 (c-block-stmt-1-2-key): New language constants/variables.
5881 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5882 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5883 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5884 with c-block-stmt-1-2-key.
5885
5886 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * desktop.el (desktop--make-frame): Apply most frame parameters after
5889 creating the frame to force (partially or totally) offscreen frames to
5890 be restored as such.
5891
5892 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5893
5894 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5895 (Bug#14948)
5896
5897 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5900 `base' arg of backtrace-frame.
5901
5902 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5903
5904 * simple.el (list-processes): Doc fix.
5905
5906 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5907
5908 * desktop.el (desktop--select-frame):
5909 Try harder to reuse existing frames.
5910
5911 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5914 (edebug-eval): Use backtrace-eval.
5915 (edebug--display, edebug--recursive-edit): Don't let-bind the
5916 edebug-outer-* vars that keep track of variables we locally let-bind.
5917 (edebug-outside-excursion): Don't restore outside values of locally
5918 let-bound vars.
5919 (edebug--display): Use user-error.
5920 (cl-lexical-debug, cl-debug-env): Remove.
5921
5922 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5923
5924 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5925 are restored to be sure that they are visible before deleting any
5926 remaining ones.
5927
5928 2013-07-26 Matthias Meulien <orontee@gmail.com>
5929
5930 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5931 vc-print-root-log. (Bug#14948)
5932
5933 2013-07-26 Richard Stallman <rms@gnu.org>
5934
5935 Add aliases for encrypting mail.
5936 * epa.el (epa-mail-aliases): New option.
5937 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5938 Bind inhibit-read-only so read-only text doesn't ruin everything.
5939 (epa-mail-default-recipients): New subroutine broken out.
5940 Handle epa-mail-aliases.
5941
5942 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 Add support for lexical variables to the debugger's `e' command.
5945 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5946 vars, except for debugger-outer-match-data.
5947 (debugger-frame-number): Move check for "on a function call" from
5948 callers into it. Add `skip-base' argument.
5949 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5950 (debugger-env-macro): Only reset the state stored in non-variables,
5951 i.e. current-buffer and match-data.
5952 (debugger-eval-expression): Rewrite using backtrace-eval.
5953 * subr.el (internal--called-interactively-p--get-frame): Remove.
5954 (called-interactively-p):
5955 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5956 `base' arg of backtrace-frame instead.
5957
5958 2013-07-26 Glenn Morris <rgm@gnu.org>
5959
5960 * align.el (align-regexp): Doc fix. (Bug#14857)
5961 (align-region): Explicit error if subexpression missing/does not match.
5962
5963 * simple.el (global-visual-line-mode):
5964 Do not duplicate the mode lighter. (Bug#14858)
5965
5966 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5967
5968 * window.el (display-buffer): In display-buffer bind
5969 split-window-keep-point to t, bug#14829.
5970
5971 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5974 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5975 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5976 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5977 Change accordingly.
5978 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5979 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5980
5981 2013-07-25 Glenn Morris <rgm@gnu.org>
5982
5983 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5984
5985 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5986
5987 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5988 parameter to modify-frame-parameters if the value has not changed;
5989 this is a workaround for bug#14949.
5990 (desktop--make-frame): On cl-delete-if call, check parameter name,
5991 not full parameter.
5992
5993 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5994
5995 * vc/vc.el (vc-ignore): New function.
5996
5997 * vc/vc-svn.el (vc-svn-ignore): New function.
5998
5999 * vc/vc-hg.el (vc-hg-ignore): New function.
6000
6001 * vc/vc-git.el (vc-git-ignore): New function.
6002
6003 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6004 (vc-dir-ignore): New function.
6005
6006 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6007 (cvs-append-to-ignore): Move here from pcvs.el.
6008
6009 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6010
6011 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6012
6013 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6016 (desktop-restore-frames): Warn when deleting an existing frame failed.
6017
6018 2013-07-24 Glenn Morris <rgm@gnu.org>
6019
6020 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6021
6022 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6023
6024 * filenotify.el (file-notify-supported-p):
6025 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6026 Remove functions.
6027
6028 * autorevert.el (auto-revert-use-notify):
6029 (auto-revert-notify-add-watch):
6030 * net/tramp.el (tramp-file-name-for-operation):
6031 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6032 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6033 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6035 Remove `file-notify-supported-p' entry.
6036
6037 2013-07-24 Glenn Morris <rgm@gnu.org>
6038
6039 * printing.el: Replace all uses of deleted ps-windows-system,
6040 ps-lp-system, ps-flatten-list with lpr- versions.
6041
6042 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6045 checked with memq (bug#14935).
6046
6047 * files.el (revert-buffer-function): Use a non-nil default.
6048 (revert-buffer-preserve-modes): Declare var to
6049 provide access to the `preserve-modes' argument.
6050 (revert-buffer): Let-bind it.
6051 (revert-buffer--default): New function, extracted from revert-buffer.
6052
6053 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * lpr.el: Signal print errors more prominently.
6056 (print-region-function): Don't default to nil.
6057 (lpr-print-region): New function, extracted from print-region-1.
6058 Check lpr's return value and signal an error in case of problem.
6059 (print-region-1): Use it.
6060 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6061 versions instead.
6062 (ps-printer-name): Default to nil.
6063 (ps-printer-name-option): Default to lpr-printer-switch.
6064 (ps-print-region-function): Don't default to nil.
6065 (ps-postscript-code-directory): Simplify default.
6066 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6067 (ps-string-list, ps-eval-switch, ps-flatten-list)
6068 (ps-flatten-list-1): Remove.
6069 (ps-multibyte-buffer): Avoid setq.
6070 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6071 (print-region-function, ps-print-region-function): Don't set them here.
6072
6073 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6074
6075 * ido.el (ido-fractionp):
6076 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6077 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6078 (ido-max-directory-size, ido-max-dir-file-cache)
6079 (ido-decorations): Doc fix.
6080
6081 * ansi-color.el: Fix old URL.
6082
6083 2013-07-23 Michael R. Mauger <michael@mauger.com>
6084
6085 * progmodes/sql.el: Version 3.3
6086 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6087 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6088 (sql-interactive-remove-continuation-prompt): Rewrite, use
6089 functions above. Fix continuation prompt and complete output line
6090 handling.
6091 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6092 redirected output buffer.
6093 (sql-mode): Restore deleted code (Bug#13591).
6094
6095 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6096
6097 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6098
6099 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6100
6101 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6102
6103 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6104 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6105 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6106
6107 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * desktop.el (desktop-clear): Simplify; remove useless checks
6110 against invalid buffer names.
6111 (desktop-list*): Use cl-list*.
6112 (desktop-buffer-info, desktop-create-buffer): Simplify.
6113
6114 2013-07-23 Leo Liu <sdl.web@gmail.com>
6115
6116 * bookmark.el (bookmark-make-record): Restore NAME as a default
6117 value. (Bug#14933)
6118
6119 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6122 extracted from autoload--insert-text.
6123 (autoload--insert-text): Remove.
6124 (autoload--print-cookie-text): New function, extracted from
6125 autoload--insert-cookie-text.
6126 (autoload--insert-cookie-text): Remove.
6127 (autoload-generate-file-autoloads): Adjust calls accordingly.
6128
6129 * winner.el (winner-hook-installed-p): Remove.
6130 (winner-mode): Simplify accordingly.
6131
6132 * subr.el (add-to-list): Fix compiler-macro when `append' is
6133 not constant. Don't use `cl-member' for the base case.
6134
6135 * progmodes/subword.el: Fix boundary case (bug#13758).
6136 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6137 own group.
6138 (subword-backward-regexp): Make it a constant.
6139 (subword-forward-internal): Don't treat a trailing capital as the
6140 beginning of a word.
6141
6142 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6143
6144 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6145 global value of tabulated-list-revert-hook (bug#14930).
6146
6147 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * desktop.el: Require 'cl-lib.
6150 (desktop-before-saving-frames-functions): New hook.
6151 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6152 for frames being saved. Rename from desktop--save-minibuffer-frames.
6153 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6154 Do not save frames with non-nil `desktop-dont-save' parameter.
6155 Filter out deleted frames.
6156 (desktop--find-frame): Use cl-find-if.
6157 (desktop--select-frame): Use cl-(first|second|third) to access values
6158 of desktop-mini.
6159 (desktop--make-frame): Use cl-delete-if.
6160 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6161 (desktop-restore-frames): Use cl-(first|second|third) to access values
6162 of desktop-mini. Look for visible frame at the end, not while
6163 restoring frames.
6164
6165 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6166 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6167 Use string-match-p, looking-at-p (bug#14927).
6168
6169 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * desktop.el (desktop-saved-frame-states):
6172 Rename from desktop--saved-states; all users changed.
6173 (desktop-save-frames): Rename from desktop--save-frames.
6174 Do not save state to desktop file.
6175 (desktop-save): Save desktop-saved-frame-states to desktop file
6176 and reset to nil.
6177 (desktop-restoring-frames-p): New function.
6178 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6179 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6180 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6181
6182 * desktop.el: Correctly restore iconified frames.
6183 (desktop--filter-iconified-position): New function.
6184 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6185
6186 2013-07-20 Glenn Morris <rgm@gnu.org>
6187
6188 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6189 Let `message' do the formatting.
6190 (def-gdb-preempt-display-buffer): Add explicit format.
6191
6192 * image-dired.el (image-dired-track-original-file):
6193 Use with-current-buffer.
6194 (image-dired-track-thumbnail): Use with-current-buffer.
6195 Avoid changing point of wrong window.
6196
6197 * image-dired.el (image-dired-track-original-file):
6198 Avoid changing point of wrong window. (Bug#14909)
6199
6200 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6201
6202 * progmodes/gdb-mi.el (gdb-done-or-error):
6203 Guard against "%" in gdb output. (Bug#14127)
6204
6205 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6206
6207 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6208 (Bug#14826)
6209
6210 * international/mule.el (coding-system-iso-2022-flags): Fix last
6211 change.
6212
6213 2013-07-20 Kenichi Handa <handa@gnu.org>
6214
6215 * international/mule.el (coding-system-iso-2022-flags):
6216 Add `8-bit-level-4'. (Bug#8522)
6217
6218 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6219
6220 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6221 (bug#14815).
6222
6223 * net/eww.el (eww-process-text-input): Allow inputting when the
6224 point is at the start of the line, as the properties aren't
6225 front-sticky.
6226
6227 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6228 degenerate widths.
6229
6230 2013-07-19 Richard Stallman <rms@gnu.org>
6231
6232 * epa.el (epa-popup-info-window): Doc fix.
6233
6234 * subr.el (split-string): New arg TRIM.
6235
6236 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6239 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6240
6241 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6242
6243 * filenotify.el (file-notify--library): Rename from
6244 `file-notify-support'. Do not autoload. Adapt all uses.
6245 (file-notify-supported-p): New defun.
6246
6247 * autorevert.el (auto-revert-use-notify):
6248 Use `file-notify-supported-p' instead of `file-notify-support'.
6249 Adapt docstring.
6250 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6251
6252 * net/tramp.el (tramp-file-name-for-operation):
6253 Add `file-notify-supported-p'.
6254
6255 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6256 New defun.
6257 (tramp-sh-file-name-handler-alist): Add it as handler for
6258 `file-notify-supported-p '.
6259
6260 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6261 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6262 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6263 Add `ignore' as handler for `file-notify-*' functions.
6264
6265 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6266
6267 * simple.el (line-move-partial, line-move): Don't start vscroll or
6268 scroll-up if the current line is not taller than the window.
6269 (Bug#14881)
6270
6271 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6272
6273 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6274 highlight question marks in the method names as strings.
6275 (ruby-block-beg-keywords): Inline.
6276 (ruby-font-lock-keyword-beg-re): Extract from
6277 `ruby-font-lock-keywords'.
6278
6279 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6280
6281 * frame.el (blink-cursor-blinks): New defcustom.
6282 (blink-cursor-blinks-done): New defvar.
6283 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6284 (blink-cursor-timer-function): Check if number of blinks has been
6285 done on X and NS.
6286 (blink-cursor-suspend, blink-cursor-check): New defuns.
6287
6288 2013-07-15 Glenn Morris <rgm@gnu.org>
6289
6290 * edmacro.el (edmacro-format-keys): Fix previous change.
6291
6292 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6293
6294 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6295 The hack didn't work outside English locales anyway.
6296
6297 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6298
6299 * simple.el (define-alternatives): Rename from alternatives-define,
6300 per RMS' suggestion.
6301
6302 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6303
6304 * desktop.el (desktop-restore-frames): Change default to t.
6305 (desktop-restore-in-current-display): Now offer more options.
6306 (desktop-restoring-reuses-frames): New customization option.
6307 (desktop--saved-states): Doc fix.
6308 (desktop-filter-parameters-alist): New variable, renamed and expanded
6309 from desktop--excluded-frame-parameters.
6310 (desktop--target-display): New variable.
6311 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6312 (desktop--filter-tty*, desktop--filter-*-color)
6313 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6314 (desktop--filter-save-desktop-parm)
6315 (desktop-restore-in-original-display-p): New functions.
6316 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6317 (desktop--save-minibuffer-frames): New function, inspired by a similar
6318 function from Martin Rudalics.
6319 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6320 (desktop--restore-in-this-display-p): Remove.
6321 (desktop--find-frame): Rename from desktop--find-frame-in-display
6322 and add predicate argument.
6323 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6324 (desktop--reuse-list): New variable.
6325 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6326 New functions.
6327 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6328
6329 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6330
6331 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6332
6333 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6336 Highlight conversion methods on Kernel.
6337
6338 2013-07-13 Alan Mackenzie <acm@muc.de>
6339
6340 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6341 and comment it out. This out-commenting enables certain C++
6342 declarations to be parsed correctly.
6343
6344 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6345
6346 * international/mule.el (define-coding-system): Doc fix.
6347
6348 * simple.el (default-font-height): Don't call font-info if the
6349 frame's default font didn't change since the frame was created.
6350 (Bug#14838)
6351
6352 2013-07-13 Leo Liu <sdl.web@gmail.com>
6353
6354 * ido.el (ido-read-file-name): Guard against non-symbol value.
6355
6356 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6357
6358 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6359 in nested defuns.
6360
6361 2013-07-13 Leo Liu <sdl.web@gmail.com>
6362
6363 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6364 ido-set-matches call. (Bug#6852)
6365
6366 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6367
6368 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6369 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6370 Ruby 2.0.
6371 (ruby-font-lock-keywords): Distinguish calls to functions with
6372 module-like names from module references. Highlight character
6373 literals.
6374
6375 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6376
6377 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6378 (gdb-send): Handle continued commands. (Bug#14847)
6379
6380 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6381
6382 * desktop.el (desktop--v2s): Remove unused local variable.
6383 (desktop-save-buffer): Make defvar-local; adjust docstring.
6384 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6385 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6386
6387 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6388
6389 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6390
6391 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6392
6393 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6394 (Bug#14842)
6395
6396 2013-07-12 Glenn Morris <rgm@gnu.org>
6397
6398 * doc-view.el: Require cl-lib at runtime too.
6399 (doc-view-remove-if): Remove.
6400 (doc-view-search-next-match, doc-view-search-previous-match):
6401 Use cl-remove-if.
6402
6403 * edmacro.el: Require cl-lib at runtime too.
6404 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6405 (edmacro-mismatch, edmacro-subseq): Remove.
6406
6407 * shadowfile.el: Require cl-lib.
6408 (shadow-remove-if): Remove.
6409 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6410 Use cl-remove-if.
6411
6412 * wid-edit.el: Require cl-lib.
6413 (widget-choose): Use cl-remove-if.
6414 (widget-remove-if): Remove.
6415
6416 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6417 (ebrowse-delete-if-not): Remove.
6418 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6419 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6420 Use cl-delete-if-not.
6421
6422 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6423
6424 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6425 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6426
6427 2013-07-12 Leo Liu <sdl.web@gmail.com>
6428
6429 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6430
6431 2013-07-11 Glenn Morris <rgm@gnu.org>
6432
6433 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6434 (edebug-gensym-index, edebug-gensym):
6435 Remove reimplementation of cl-gensym.
6436 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6437
6438 * thumbs.el: Require cl-lib at run-time too.
6439 (thumbs-gensym-counter, thumbs-gensym):
6440 Remove reimplementation of cl-gensym.
6441 (thumbs-temp-file): Use cl-gensym.
6442
6443 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6444 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6445 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6446 (ert--union, ert--gensym-counter, ert--gensym-counter)
6447 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6448 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6449 (ert-make-test-unbound, ert--expand-should-1)
6450 (ert--expand-should, ert--should-error-handle-error)
6451 (should-error, ert--explain-equal-rec)
6452 (ert--plist-difference-explanation, ert-select-tests)
6453 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6454 Use cl-lib functions rather than reimplementations.
6455
6456 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6457
6458 * net/tramp.el (tramp-methods): Extend docstring.
6459 (tramp-connection-timeout): New defcustom.
6460 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6461 (with-tramp-progress-reporter): Simplify.
6462 (tramp-process-actions): Improve messages.
6463
6464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6465 * net/tramp-sh.el (tramp-maybe-open-connection):
6466 Use `tramp-connection-timeout'.
6467 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6468 (Bug#14808)
6469
6470 2013-07-11 Leo Liu <sdl.web@gmail.com>
6471
6472 * ido.el (ido-read-file-name): Conform to the requirements of
6473 read-file-name. (Bug#11861)
6474 (ido-read-directory-name): Conform to the requirements of
6475 read-directory-name.
6476
6477 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6478
6479 * subr.el (delay-warning): New function.
6480
6481 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6482
6483 * simple.el (default-line-height): New function.
6484 (line-move-partial, line-move): Use it instead of computing the
6485 line height inline.
6486 (line-move-partial): Always compute ROWH. If the last line is
6487 partially-visible, but its text is completely visible, allow
6488 cursor to enter such a partially-visible line.
6489
6490 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6491
6492 Improve error messages. (Bug#14808)
6493
6494 * net/tramp.el (tramp-current-connection): New defvar, moved from
6495 tramp-sh.el.
6496 (tramp-message-show-progress-reporter-message): Remove, not
6497 needed anymore.
6498 (tramp-error-with-buffer): Show message in minibuffer.
6499 Discard input before waiting. Reset connection timestamp.
6500 (with-tramp-progress-reporter): Improve messages.
6501 (tramp-process-actions): Use progress reporter. Delete process in
6502 case of error. Improve messages.
6503
6504 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6505 Call `tramp-error-with-buffer' with vector and buffer.
6506 (tramp-current-connection): Remove.
6507 (tramp-maybe-open-connection): The car of
6508 `tramp-current-connection' are the first 3 slots of the vector.
6509
6510 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6511
6512 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6513 inside continued strings.
6514
6515 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6516
6517 Timestamp fixes for undo (Bug#14824).
6518 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6519
6520 2013-07-10 Leo Liu <sdl.web@gmail.com>
6521
6522 * files.el (require-final-newline): Allow safe local value.
6523 (Bug#14834)
6524
6525 2013-07-09 Leo Liu <sdl.web@gmail.com>
6526
6527 * ido.el (ido-read-directory-name): Handle fallback.
6528 (ido-read-file-name): Update DIR to ido-current-directory.
6529 (Bug#1516)
6530 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6531
6532 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6533
6534 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6535 "autoload". Remove "warn lower camel case" section, previously
6536 commented out. Highlight negation char. Do not highlight the
6537 target in singleton method definitions.
6538
6539 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * faces.el (tty-setup-hook): Declare the hook.
6542
6543 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6544 and detect when a guard/pred depends on local vars (bug#14773).
6545 (pcase--u1): Adjust caller.
6546
6547 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6548
6549 * simple.el (line-move-partial, line-move): Account for
6550 line-spacing.
6551 (line-move-partial): Avoid setting vscroll when the last
6552 partially-visible line in window is of default height.
6553
6554 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6555
6556 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6557 been used a while.
6558
6559 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * subr.el (read-quoted-char): Remove unused local variable `char'.
6562
6563 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6564
6565 * ediff.el (ediff-version): Version update.
6566 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6567 (ediff-merge-with-ancestor-command, ediff-directories-command)
6568 (ediff-directories3-command, ediff-merge-directories-command)
6569 (ediff-merge-directories-with-ancestor-command): New functions.
6570 All are command-line interfaces to ediff: to facilitate calling
6571 Emacs with the appropriate ediff functions invoked.
6572
6573 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6574 (viper-save-kill-buffer): Check if buffer is modified.
6575
6576 * viper.el (viper-version): Version update.
6577 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6578
6579 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6582 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6583 (viper-intercept-ESC-key): Simplify.
6584 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6585 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6586 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6587 (viper-setup-ESC-to-escape): New functions.
6588 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6589 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6590
6591 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6592
6593 * simple.el (default-font-height, window-screen-lines):
6594 New functions.
6595 (line-move, line-move-partial): Use them instead of
6596 frame-char-height and window-text-height. This makes scrolling
6597 text smoother when the buffer's default face uses a font that is
6598 different from the frame's default font.
6599
6600 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6601
6602 * files.el (write-file): Do not display confirm dialog for NS,
6603 it does its own dialog, which can't be cancelled (Bug#14578).
6604
6605 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6606
6607 * simple.el (line-move-partial): Adjust the row returned by
6608 posn-at-point for the current window-vscroll. (Bug#14567)
6609
6610 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6611
6612 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6613 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6614 spaces.
6615
6616 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6617
6618 * window.el (window-state-put-stale-windows): New variable.
6619 (window--state-put-2): Save list of windows without matching buffer.
6620 (window-state-put): Remove "bufferless" windows if possible.
6621
6622 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * simple.el (alternatives-define): Remove leftover :group keyword.
6625 Tweak docstring.
6626
6627 2013-07-06 Leo Liu <sdl.web@gmail.com>
6628
6629 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6630 (ido-enable-virtual-buffers): New variable.
6631 (ido-buffer-internal, ido-toggle-virtual-buffers)
6632 (ido-make-buffer-list): Use it.
6633 (ido-exhibit): Support turning on and off virtual buffers
6634 automatically.
6635
6636 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6637
6638 * simple.el (alternatives-define): New macro.
6639
6640 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * subr.el (read-quoted-char): Use read-key.
6643 (sit-for): Let read-event decode tty input (bug#14782).
6644
6645 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6646
6647 * calendar/todo-mode.el: Add handling of file deletion, both by
6648 mode command and externally. Fix various related bugs.
6649 Clarify Commentary and improve some documentation strings and code.
6650 (todo-delete-file): New command.
6651 (todo-check-file): New function.
6652 (todo-show): Handle external deletion of the file we're trying to
6653 show (bug#14688). Replace called-interactively-p by an optional
6654 prefix argument to avoid problematic interaction with catch form
6655 when byte compiled (bug#14702).
6656 (todo-quit): Handle external deletion of the archive's todo file.
6657 Make sure the buffer that was visiting the archive file is still
6658 live before trying to bury it.
6659 (todo-category-completions): Handle external deletion of any
6660 category completion files.
6661 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6662 of todo files, in case of external deletion.
6663 (todo-add-file): Replace unnecessary setq by let-binding.
6664 (todo-find-archive): Check whether there are any archives.
6665 Replace unnecessary setq by let-binding.
6666 (todo-archive-done-item): Use find-file-noselect to get the
6667 archive buffer whether or not the archive already exists.
6668 Remove superfluous code. Use file size instead of buffer-file-name to
6669 check if the archive is new; if it is, update list of archives.
6670 (todo-default-todo-file): Allow nil to be a valid value for when
6671 there are no todo files.
6672 (todo-reevaluate-default-file-defcustom): Use corrected definition
6673 of todo-default-todo-file.
6674 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6675 (todo-delete-category, todo-show-categories-table)
6676 (todo-category-number): Clarify comment.
6677 (todo-filter-items): Clarify documentation string.
6678 (todo-show-current-file, todo-display-as-todo-file)
6679 (todo-reset-and-enable-done-separator): Tweak documentation string.
6680 (todo-done-separator): Make separator length window-width, since
6681 bug#2749 is now fixed.
6682
6683 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6684
6685 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6686 Support both "gvfs-monitor-dir" and "inotifywait".
6687 (tramp-sh-file-inotifywait-process-filter): Rename from
6688 `tramp-sh-file-notify-process-filter'.
6689 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6690 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6691
6692 2013-07-05 Leo Liu <sdl.web@gmail.com>
6693
6694 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6695
6696 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6697
6698 * frame.el (display-pixel-height, display-pixel-width)
6699 (display-mm-height, display-mm-width): Mention behavior on
6700 multi-monitor setups in docstrings.
6701 (w32-display-monitor-attributes-list): Declare function.
6702 (display-monitor-attributes-list): Use it.
6703
6704 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6705
6706 * filenotify.el: New package.
6707
6708 * autorevert.el (top): Require filenotify.el.
6709 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6710 instead.
6711 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6712 (auto-revert-notify-handler): Use `file-notify-*' functions.
6713
6714 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6715
6716 * net/tramp.el (tramp-file-name-for-operation):
6717 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6718
6719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6720 for `file-notify-add-watch' and `file-notify-rm-watch'.
6721 (tramp-process-sentinel): Improve trace.
6722 (tramp-sh-handle-file-notify-add-watch)
6723 (tramp-sh-file-notify-process-filter)
6724 (tramp-sh-handle-file-notify-rm-watch)
6725 (tramp-get-remote-inotifywait): New defuns.
6726
6727 2013-07-03 Juri Linkov <juri@jurta.org>
6728
6729 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6730 call of `occur-read-primary-args' to interactive spec.
6731
6732 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6733 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6734
6735 2013-07-03 Matthias Meulien <orontee@gmail.com>
6736
6737 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6738 `Buffer-menu-multi-occur'. Add it to the menu.
6739 (Buffer-menu-mode): Document it in docstring.
6740 (Buffer-menu-multi-occur): New command. (Bug#14673)
6741
6742 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6743
6744 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6745 keywords and built-ins.
6746
6747 2013-07-03 Glenn Morris <rgm@gnu.org>
6748
6749 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6750
6751 Make info-xref checks case-sensitive by default
6752 * info.el (Info-find-node, Info-find-in-tag-table)
6753 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6754 Add option for exact case matching of nodes.
6755 * info-xref.el (info-xref): New custom group.
6756 (info-xref-case-fold): New option.
6757 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6758
6759 2013-07-03 Leo Liu <sdl.web@gmail.com>
6760
6761 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6762
6763 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6764
6765 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6766 middle of block statement initially, lower the depth. Remove
6767 FIXME comment, not longer valid. Remove middle of block statement
6768 detection, no need to do that anymore since we've been using
6769 `ruby-parse-region' here.
6770
6771 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6772
6773 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6774
6775 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6776
6777 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6778
6779 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6782 (desktop-restore-in-current-display): New customization option.
6783 (desktop--excluded-frame-parameters): Add `font'.
6784 (desktop--save-frames): Rename from desktop--save-windows.
6785 (desktop--restore-in-this-display-p): New function.
6786 (desktop--make-full-frame): Remove unwanted width/height from
6787 full(width|height) frames.
6788 (desktop--restore-frames): Rename from desktop--restore-windows.
6789 Obey desktop-restore-current-display. Do not delete old frames or
6790 select a new frame unless we were able to restore at least one frame.
6791
6792 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6793
6794 * files.el (find-file-noselect): Simplify conditional expression.
6795
6796 * remember.el (remember-append-to-file):
6797 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6798
6799 Add `remember-notes' function to store random notes across Emacs
6800 restarts.
6801 * remember.el (remember-data-file): Add :set callback to affect
6802 notes buffer (if any).
6803 (remember-notes): New command.
6804 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6805 New defcustoms for the `remember-notes' function.
6806 (remember-notes-save-and-bury-buffer): New command.
6807 (remember-notes-mode-map): New variable.
6808 (remember-mode): New minor mode.
6809 (remember-notes--kill-buffer-query): New function.
6810 * startup.el (initial-buffer-choice): Add notes to custom type.
6811
6812 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6813
6814 * bindings.el (right-char, left-char): Don't call sit-for, this is
6815 no longer needed. Use arithmetic comparison only for numerical
6816 arguments.
6817
6818 * international/mule-cmds.el (select-safe-coding-system):
6819 Handle the case of FROM being a string correctly. (Bug#14755)
6820
6821 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6822
6823 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6824 progression on degenerate tables.
6825 (shr-rescale-image): ImageMagick animated images currently don't work.
6826
6827 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6828
6829 Some fixes and improvements for desktop frame restoration.
6830 It is still experimental and disabled by default.
6831 * desktop.el (desktop--save-windows): Put the selected frame at
6832 the head of the list.
6833 (desktop--make-full-frame): New function.
6834 (desktop--restore-windows): Try to re-select the frame that was
6835 selected upon saving. Do not abort if some frames fail to restore,
6836 just show an error message and continue. Set up maximized frames
6837 so they have default non-maximized dimensions.
6838
6839 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6840
6841 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6842 Don't start heredoc inside a string or comment.
6843
6844 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6845
6846 * bindings.el (visual-order-cursor-movement): New defcustom.
6847 (right-char, left-char): Provide visual-order cursor motion by
6848 calling move-point-visually. Update the doc strings.
6849
6850 2013-06-28 Kenichi Handa <handa@gnu.org>
6851
6852 * international/mule.el (define-coding-system): New coding system
6853 properties :inhibit-null-byte-detection,
6854 :inhibit-iso-escape-detection, and :prefer-utf-8.
6855 (set-buffer-file-coding-system): If :charset-list property of
6856 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6857 appropriate for setting.
6858
6859 * international/mule-cmds.el (select-safe-coding-system):
6860 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6861 multibyte characters, return utf-8 (or one of its siblings).
6862
6863 * international/mule-conf.el (prefer-utf-8): New coding system.
6864 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6865 files.
6866
6867 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6868
6869 * net/shr.el (shr-render-region): New function.
6870
6871 * net/eww.el: Autoload `eww-browse-url'.
6872
6873 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6874
6875 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6876 Adapt to `package-desc-version' being a list.
6877 Use `package--ac-desc-version' to retrieve version from a package
6878 archive element.
6879
6880 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6881
6882 New experimental feature to save&restore window and frame setup.
6883 * desktop.el (desktop-save-windows): New defcustom.
6884 (desktop--saved-states): New var.
6885 (desktop--excluded-frame-parameters): New defconst.
6886 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6887 (desktop--restore-windows, desktop--save-windows): New functions.
6888 (desktop-save): Call `desktop--save-windows'.
6889 (desktop-read): Call `desktop--restore-windows'.
6890
6891 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6892
6893 * net/shr.el (add-face-text-property): Remove compat definition.
6894
6895 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6896
6897 * info.el (Info-try-follow-nearest-node): Move search for footnote
6898 above search for node name to prevent missing a footnote (bug#14717).
6899
6900 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6901
6902 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6903
6904 2013-06-27 Leo Liu <sdl.web@gmail.com>
6905
6906 * net/eww.el (eww-read-bookmarks): Check file size.
6907
6908 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6911 advice--pending if newdef is nil or an autoload (bug#13820).
6912 (advice-mapc): New function.
6913
6914 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
6916 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6917 probably.
6918 (eww-mode-map): Add a menu bar.
6919 (eww-add-bookmark): New command.
6920 (eww-bookmark-mode): New mode and commands.
6921 (eww-add-bookmark): Remove newlines from the title.
6922 (eww-bookmark-browse): Don't bug out if it's the only window.
6923
6924 2013-06-26 Glenn Morris <rgm@gnu.org>
6925
6926 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6927 (hfy-size): Handle ttys. (Bug#14668)
6928
6929 * info-xref.el: Update for Texinfo 5 change in *note format.
6930 (info-xref-node-re, info-xref-note-re): New constants.
6931 (info-xref-check-buffer): Use info-xref-note-re.
6932
6933 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6936
6937 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6938 nil terminate the loop (bug#14718).
6939
6940 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6941
6942 * net/eww.el: Rework history traversal. When going forward/back,
6943 put these actions into the history, too, so that they can be
6944 replayed.
6945 (eww-render): Move the history reset to the correct buffer.
6946
6947 2013-06-25 Juri Linkov <juri@jurta.org>
6948
6949 * files-x.el (modify-dir-local-variable): Change the header comment
6950 in the file with directory local variables. (Bug#14692)
6951
6952 * files-x.el (read-file-local-variable-value): Add `default'.
6953 (Bug#14710)
6954
6955 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6956
6957 * net/eww.el (eww-make-unique-file-name): Create a unique file
6958 name before saving to entering `y' accidentally asynchronously.
6959
6960 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6961
6962 * net/eww.el (eww-download): New command and keystroke.
6963
6964 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
6966 * net/eww.el (eww-copy-page-url): Change name of command.
6967
6968 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6969 be more consistent with Info and dired.
6970
6971 * net/eww.el (eww-mode-map): Ditto.
6972
6973 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6976 packages from archives.
6977 (package-archive-contents): Change format; include obsolete packages.
6978 (package-desc): Use `dir' to mark builtin packages.
6979 (package--from-builtin): Set the `dir' field to `builtin'.
6980 (generated-autoload-file, version-control): Declare.
6981 (package-compute-transaction): Change first arg and return value to be
6982 lists of package-descs. Adjust to new package-archive-contents format.
6983 (package--add-to-archive-contents): Adjust to new
6984 package-archive-contents format.
6985 (package-download-transaction): Arg is now a list of package-descs.
6986 (package-install): If `pkg' is a package name, pass it as
6987 a requirement, so it is subject to the usual (e.g. disabled) checks.
6988 (describe-package): Accept package-desc as well.
6989 (describe-package-1): Describe a specific package-desc. Add links to
6990 other package-descs for the same package name.
6991 (package-menu-describe-package): Pass the actual package-desc.
6992 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6993 works correctly.
6994 (package-desc-status): New function.
6995 (package-menu--refresh): New function, extracted
6996 from package-menu--generate.
6997 (package-menu--generate): Use it.
6998 (package-delete): Update package-alist.
6999 (package-menu-execute): Don't call package-initialize.
7000
7001 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7002 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7003 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7004 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7005 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7006 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7007
7008 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7009
7010 * window.el (window--state-get-1): Workaround for bug#14527.
7011 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7012
7013 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7014
7015 * net/eww.el (eww-back-url): Implement the history by stashing all
7016 the data into a list.
7017 (eww-forward-url): Allow going forward in the history, too.
7018
7019 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7022 for values and use read--expression for expressions (bug#14710).
7023 (read-file-local-variable): Avoid setq.
7024 (read-file-local-variable-mode): Use minor-mode-list.
7025
7026 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7027
7028 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7029 for DOI URLs.
7030
7031 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7032
7033 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7034 Update imenu-support when dialect changes.
7035
7036 2013-06-25 Leo Liu <sdl.web@gmail.com>
7037
7038 * ido.el (ido-read-internal): Allow forward slash on windows.
7039
7040 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7041
7042 * net/eww.el (eww): Start of strings is \\`, not ^.
7043
7044 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7045
7046 * net/shr.el (shr-browse-url): Fix interactive spec.
7047
7048 * net/eww.el (eww): Add a trailing slash to domain names.
7049
7050 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7051
7052 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7053
7054 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055
7056 * net/shr.el (shr-browse-url): Use an external browser if given a
7057 prefix.
7058
7059 * net/eww.el (eww-external-browser): Move to shr.
7060
7061 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7062
7063 * net/eww.el (eww): Work more correctly for file: URLs.
7064 (eww-detect-charset): Allow quoted charsets.
7065 (eww-yank-page-url): New command and keystroke.
7066
7067 2013-06-24 Daiki Ueno <ueno@gnu.org>
7068
7069 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7070 file name of gpg executable.
7071 (epg-context-program): New function.
7072 (epg-context-home-directory): New function.
7073 (epg-context-set-program): New function.
7074 (epg-context-set-home-directory): New function.
7075 (epg--start): Use `epg-context-program' instead of
7076 'epg-gpg-program'.
7077 (epg--list-keys-1): Likewise.
7078
7079 2013-06-24 Leo Liu <sdl.web@gmail.com>
7080
7081 * ido.el (ido-read-internal): Fix bug#14620.
7082
7083 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * faces.el (face-documentation): Simplify.
7086 (read-face-attribute, tty-find-type, x-resolve-font-name):
7087 Use `string-match-p'.
7088 (list-faces-display): Use `string-match-p'. Simplify.
7089 (face-spec-recalc): Check face to avoid face alias loops.
7090 (read-color): Use `string-match-p' and non-capturing parenthesis.
7091
7092 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7093
7094 * net/shr.el (shr-rescale-image): Use the new
7095 :max-width/:max-height functionality.
7096
7097 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7098
7099 * net/eww.el (eww-search-prefix): New variable.
7100 (eww): Use it.
7101 (eww-external-browser): New variable.
7102 (eww-mode-map): New keystroke.
7103 (eww-browse-with-external-browser): New command.
7104
7105 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7106
7107 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7110 Don't skip aligning the next header field when padding is 0;
7111 otherwise, field width is not respected unless the title is as
7112 wide as the field.
7113
7114 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * emacs-lisp/package.el (package-el-version): Remove.
7117 (package-process-define-package): Fix inf-loop.
7118 (package-install): Allow symbols as arguments again.
7119
7120 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7121
7122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7123 add some more keyword-like methods.
7124 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7125
7126 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7127
7128 * bs.el (bs-buffer-show-mark): Make defvar-local.
7129 (bs-mode): Use setq-local.
7130
7131 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7132 (emacs-lock--try-unlocking): Make defvar-local.
7133
7134 2013-06-22 Glenn Morris <rgm@gnu.org>
7135
7136 * play/cookie1.el (cookie-apropos): Minor simplification.
7137
7138 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7139
7140 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7141
7142 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7143 `regexp-opt', it breaks the build during dumping.
7144
7145 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7146
7147 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7148 Highlight keyword-like methods on Kernel and Module with
7149 font-lock-builtin-face.
7150 (auto-mode-alist): Consolidate different entries into one regexp
7151 and add more *file-s.
7152
7153 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7154
7155 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7156
7157 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7158 (diary-entry): Use it in the action of this button type instead of
7159 diary-goto-entry.
7160
7161 * calendar/todo-mode.el: New version.
7162 (todo-add-category): Append new category to end of file and give
7163 it the highest number, instead of putting it at the beginning and
7164 giving it 0. Incorporate noninteractive functionality.
7165 (todo-forward-category): Adapt to 1-based category numbering.
7166 Allow skipping over archived categories.
7167 (todo-backward-category): Derive from todo-forward-category.
7168 (todo-backward-item, todo-forward-item): Make noninteractive and
7169 delegate interactive part to new commands. Make sensitive to done items.
7170 (todo-categories): Make value an alist of category names and
7171 vectors of item counts.
7172 (todo-category-beg): Make a defconst.
7173 (todo-category-number): Use 1 instead of 0 as initial value.
7174 (todo-category-select): Make sensitive to overlays, optional item
7175 highlighting and done items.
7176 (todo-delete-item): Make sensitive to overlays and marked and done items.
7177 (todo-edit-item): Make sensitive to overlays and editing of
7178 date/time header optional. Add format checks.
7179 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7180 no-op if point is not on an item. Advertise using todo-edit-quit.
7181 (todo-edit-mode): Make sensitive to new format, font-locking, and
7182 multiple todo files.
7183 (todo-insert-item, todo-insert-item-here): Derive from
7184 todo-basic-insert-item and extend functionality.
7185 (todo-item-end, todo-item-start): Make sensitive to done items.
7186 (todo-item-string): Don't return text properties. Restore point.
7187 (todo-jump-to-category): Make sensitive to multiple todo files and
7188 todo archives. Use extended category completion.
7189 (todo-lower-item, todo-raise-item): Rename to *-priority and
7190 derive from todo-set-item-priority.
7191 (todo-mode): Derive from special-mode. Make sensitive to new
7192 format, font-locking and multiple todo files. Make read-only.
7193 (todo-mode-map): Don't suppress digit keys, so they can supply
7194 prefix arguments. Add many new key bindings.
7195 (todo-prefix): Insert as an overlay instead of file text.
7196 Change semantics from diary date expression to purely visual mark.
7197 (todo-print): Rename to todo-print-buffer. Make buffer display
7198 features printable. Remove option to restrict number of items
7199 printed. Add option to print to file.
7200 (todo-print-function): Rename to todo-print-buffer-function.
7201 (todo-quit): Extend to handle exiting new todo modes.
7202 (todo-remove-item): Make sensitive to overlays.
7203 (todo-save): Extend to buffers of filtered items.
7204 (todo-show): Make sensitive to done items, multiple todo files and
7205 new todo modes. Offer to convert legacy todo file before creating
7206 first new todo file.
7207 (todo-show-priorities): Rename to todo-top-priorities.
7208 Change semantics of value 0.
7209 (todo-top-priorities): Rename to todo-filter-top-priorities,
7210 derive from todo-filter-items and extend functionality.
7211 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7212 and extend functionality to other types of filtered items.
7213 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7214 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7215 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7216 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7217 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7218 (todo-edit-mode-hook, todo-entry-prefix-function)
7219 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7220 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7221 (todo-initials, todo-insert-threshold, todo-item-string-start)
7222 (todo-line-string, todo-menu, todo-mode-hook)
7223 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7224 (todo-print-priorities, todo-remove-separator)
7225 (todo-save-top-priorities-too, todo-string-count-lines)
7226 (todo-string-multiline-p, todo-time-string-format)
7227 (todo-tmp-buffer-name): Remove.
7228 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7229 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7230 (todo-edit-category-diary-inclusion)
7231 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7232 (todo-edit-file, todo-edit-item-date-day)
7233 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7234 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7235 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7236 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7237 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7238 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7239 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7240 (todo-filter-top-priorities-multifile, todo-find-archive)
7241 (todo-find-filtered-items-file, todo-go-to-source-item)
7242 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7243 (todo-jump-to-archive-category, todo-lower-category)
7244 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7245 (todo-move-category, todo-move-item, todo-next-button)
7246 (todo-next-item, todo-padded-string, todo-powerset)
7247 (todo-previous-button, todo-previous-item)
7248 (todo-print-buffer-to-file, todo-raise-category)
7249 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7250 (todo-set-category-number, todo-set-item-priority)
7251 (todo-set-top-priorities-in-category)
7252 (todo-set-top-priorities-in-file, todo-show-categories-table)
7253 (todo-sort-categories-alphabetically-or-numerically)
7254 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7255 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7256 (todo-toggle-item-header, todo-toggle-item-highlighting)
7257 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7258 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7259 (todo-unarchive-items, todo-unmark-category): New commands.
7260 (todo-absolute-file-name, todo-add-to-buffer-list)
7261 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7262 (todo-basic-insert-item, todo-category-completions)
7263 (todo-category-number, todo-category-string-matcher-1)
7264 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7265 (todo-check-format, todo-clear-matches)
7266 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7267 (todo-current-category, todo-date-string-matcher)
7268 (todo-define-insertion-command, todo-diary-expired-matcher)
7269 (todo-diary-goto-entry, todo-diary-item-p)
7270 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7271 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7272 (todo-done-item-section-p, todo-done-separator)
7273 (todo-done-string-matcher, todo-files, todo-filter-items)
7274 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7275 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7276 (todo-insert-category-line, todo-insert-item-from-calendar)
7277 (todo-insert-sort-button, todo-insert-with-overlays)
7278 (todo-insertion-command-name, todo-insertion-key-bindings)
7279 (todo-label-to-key, todo-longest-category-name-length)
7280 (todo-make-categories-list, todo-mode-external-set)
7281 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7282 (todo-modes-set-3, todo-multiple-filter-files)
7283 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7284 (todo-read-category, todo-read-date, todo-read-dayname)
7285 (todo-read-file-name, todo-read-time)
7286 (todo-reevaluate-category-completions-files-defcustom)
7287 (todo-reevaluate-default-file-defcustom)
7288 (todo-reevaluate-filelist-defcustoms)
7289 (todo-reevaluate-filter-files-defcustom)
7290 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7291 (todo-reset-done-separator, todo-reset-done-separator-string)
7292 (todo-reset-done-string, todo-reset-global-current-todo-file)
7293 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7294 (todo-reset-prefix, todo-set-categories)
7295 (todo-set-date-from-calendar, todo-set-show-current-file)
7296 (todo-set-top-priorities, todo-short-file-name)
7297 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7298 (todo-total-item-counts, todo-update-buffer-list)
7299 (todo-update-categories-display, todo-update-categories-sexp)
7300 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7301 New functions.
7302 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7303 New major modes.
7304 (todo-categories, todo-display, todo-edit, todo-faces)
7305 (todo-filtered): New defgroups.
7306 (todo-archived-only, todo-button, todo-category-string, todo-date)
7307 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7308 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7309 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7310 (todo-add-item-if-new-category, todo-always-add-time-string)
7311 (todo-categories-align, todo-categories-archived-label)
7312 (todo-categories-category-label, todo-categories-diary-label)
7313 (todo-categories-done-label, todo-categories-number-separator)
7314 (todo-categories-todo-label, todo-categories-totals-label)
7315 (todo-category-completions-files, todo-completion-ignore-case)
7316 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7317 (todo-done-separator-string, todo-done-string)
7318 (todo-files-function, todo-filter-done-items, todo-filter-files)
7319 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7320 (todo-initial-category, todo-initial-file, todo-item-mark)
7321 (todo-legacy-date-time-regexp, todo-mode-line-function)
7322 (todo-nondiary-marker, todo-number-prefix)
7323 (todo-print-buffer-function, todo-show-current-file)
7324 (todo-show-done-only, todo-show-first, todo-show-with-done)
7325 (todo-skip-archived-categories, todo-top-priorities-overrides)
7326 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7327 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7328 New defcustoms.
7329 (todo-category-done, todo-date-pattern, todo-date-string-start)
7330 (todo-diary-items-buffer, todo-done-string-start)
7331 (todo-filtered-items-buffer, todo-item-start)
7332 (todo-month-abbrev-array, todo-month-name-array)
7333 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7334 (todo-top-priorities-buffer): New defconsts.
7335 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7336 (todo-categories-with-marks, todo-category-string-face)
7337 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7338 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7339 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7340 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7341 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7342 (todo-font-lock-keywords, todo-global-current-todo-file)
7343 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7344 (todo-insertion-commands-args)
7345 (todo-insertion-commands-args-genlist)
7346 (todo-insertion-commands-names, todo-insertion-map)
7347 (todo-key-bindings-t, todo-key-bindings-t+a)
7348 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7349 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7350 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7351 (todo-visited): New variables.
7352
7353 2013-06-21 Glenn Morris <rgm@gnu.org>
7354
7355 * play/cookie1.el (cookie-apropos): Add optional display argument.
7356 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7357 (psychoanalyze-pinhead): Use cookie-doctor.
7358
7359 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7360
7361 * emacs-lisp/package.el (tar-get-file-descriptor)
7362 (tar--extract): Declare.
7363
7364 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7365
7366 Extend flymake's warning predicate to be a function (bug#14217).
7367 * progmodes/flymake.el (flymake-warning-predicate): New.
7368 (flymake-parse-line): Use it.
7369 (flymake-warning-re): Make obsolete alias to
7370 `flymake-warning-predicate'.
7371
7372 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7375 (package-obsolete-list): Remove.
7376 (package-activate): Remove min-version argument. Add `force' argument.
7377 Adjust to new package-alist format.
7378 (package-mark-obsolete): Remove.
7379 (package-unpack): Force reload of the package's autoloads.
7380 (package-installed-p): Check builtins if the installed package is not
7381 recent enough.
7382 (package-initialize): Don't reset package-obsolete-list.
7383 Don't specify which package version to activate.
7384 (package-process-define-package, describe-package-1)
7385 (package-menu--generate): Adjust to new package-alist format.
7386
7387 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7388
7389 * allout-widgets.el (allout-widgets-mode-off)
7390 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7391 (allout-widgets-post-command-business)
7392 (allout-widgets-after-copy-or-kill-function)
7393 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7394 (allout-decorate-item-and-context)
7395 (allout-graphics-modification-handler): Fix typos in docstrings.
7396 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7397
7398 * cmuscheme.el (scheme-start-file): Doc fix.
7399 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7400 (scheme-input-filter): Use `string-match-p'.
7401
7402 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7403
7404 * dired-x.el: Use Dired consistently in docstrings.
7405
7406 * dired.el: Use Dired consistently in docstrings.
7407 (dired-readin, dired-mode): Use `setq-local'.
7408 (dired-switches-alist): Make defvar-local.
7409 (dired-buffers-for-dir): Use `zerop'.
7410 (dired-safe-switches-p, dired-switches-escape-p)
7411 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7412 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7413 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7414 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7415 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7416 (dired-toggle-marks, dired-mark-files-containing-regexp)
7417 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7418 (dired-flag-auto-save-files, dired-flag-backup-files):
7419 Use `looking-at-p'.
7420 (dired-mark-files-regexp, dired-build-subdir-alist):
7421 Use `string-match-p', `looking-at-p'.
7422
7423 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7424 (direct-print-region-helper): Use `string-match-p'.
7425
7426 2013-06-21 Leo Liu <sdl.web@gmail.com>
7427
7428 * comint.el (comint-redirect-results-list-from-process):
7429 Fix infinite loop.
7430
7431 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7432
7433 * net/eww.el (eww-update-header-line-format): Quote % characters.
7434
7435 2013-06-21 Glenn Morris <rgm@gnu.org>
7436
7437 * play/cookie1.el (cookie): New custom group.
7438 (cookie-file): New option.
7439 (cookie-check-file): New function.
7440 (cookie): Make it interactive. Make start and end messages optional.
7441 Interactively, display the result. Default to cookie-file.
7442 (cookie-insert): Default to cookie-file.
7443 (cookie-snarf): Make start and end messages optional.
7444 Default to cookie-file. Use with-temp-buffer.
7445 (cookie-read): Rename from read-cookie.
7446 Make start and end messages optional. Default to cookie-file.
7447 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7448 Do not autoload it.
7449 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7450 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7451
7452 2013-06-21 Leo Liu <sdl.web@gmail.com>
7453
7454 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7455
7456 2013-06-21 Glenn Morris <rgm@gnu.org>
7457
7458 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7459
7460 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7461 Daniel Hackney <dan@haxney.org>
7462
7463 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7464 Consolidate the single-file vs tarball code.
7465 (package-desc-suffix): New function.
7466 (package-desc-full-name): Don't bother inlining it.
7467 (package-load-descriptor): Return the new package-desc.
7468 (package-mark-obsolete): Remove unused arg `package'.
7469 (package-unpack): Make it work for single files as well.
7470 Make it update package-alist.
7471 (package--make-autoloads-and-stuff): Rename from
7472 package--make-autoloads-and-compile. Don't compile any more.
7473 (package--compile): New function.
7474 (package-generate-description-file): New function, extracted from
7475 package-unpack-single.
7476 (package-unpack-single): Remove.
7477 (package--with-work-buffer): Add indentation and debugging info.
7478 (package-download-single): Remove.
7479 (package-install-from-archive): Rename from package-download-tar, make
7480 it take a pkg-desc, and make it work for single files as well.
7481 (package-download-transaction): Simplify.
7482 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7483 external tar program.
7484 (package-install-from-buffer): Remove `pkg-desc' argument.
7485 Use package-tar-file-info for tar-mode buffers.
7486 (package-install-file): Simplify accordingly.
7487 (package-archive-base): Change to take a pkg-desc.
7488 * tar-mode.el (tar--check-descriptor): New function, extracted from
7489 tar-get-descriptor.
7490 (tar-get-descriptor): Use it.
7491 (tar-get-file-descriptor): New function.
7492 (tar--extract): New function, extracted from tar-extract.
7493 (tar--extract): Use it.
7494 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7495 case the summary uses non-ascii. Adjust to new calling convention of
7496 package-tar-file-info.
7497
7498 2013-06-21 Leo Liu <sdl.web@gmail.com>
7499
7500 * comint.el (comint-redirect-results-list-from-process):
7501 Fix random delay. (Bug#14681)
7502
7503 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7504
7505 * profiler.el (profiler-format-number): Use log, not log10.
7506
7507 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7508
7509 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7510
7511 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7514 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7515 yet available.
7516 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7517 (AUTOGENEL): ... here.
7518 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7519 (cl--defsubst-expand): Use it.
7520
7521 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7522
7523 * subr.el (log10): Move here from C code, and declare as obsolete.
7524 All uses of (log10 X) replaced with (log X 10).
7525
7526 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7527
7528 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7529 Declare with `defvar-local'.
7530 (tabulated-list-use-header-line, tabulated-list-entries)
7531 (tabulated-list-padding, tabulated-list-printer)
7532 (tabulated-list-sort-key): Declare with `defvar-local'.
7533 (tabulated-list-init-header, tabulated-list-print-fake-header):
7534 Use `setq-local'.
7535
7536 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * arc-mode.el (archive-mode): Add `archive-write-file' to
7539 `write-contents-functions' also for remote files. (Bug#14652)
7540
7541 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7542
7543 * cus-edit.el (custom-commands): Fix typos.
7544 (custom-display): Fix tooltip text.
7545 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7546 Fix typos in docstrings.
7547 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7548 (custom-unlispify-menu-entry, custom-magic-value-create)
7549 (custom-add-see-also, custom-group-value-create): Use ?\s.
7550 (custom-guess-type, customize-apropos, editable-field)
7551 (custom-face-value-create): Use `string-match-p'.
7552 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7553
7554 * custom.el (custom-load-symbol): Use `string-match-p'.
7555
7556 * ansi-color.el: Convert to lexical binding.
7557 (ansi-colors): Fix URL.
7558 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7559 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7560 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7561
7562 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7563
7564 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7565
7566 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7567
7568 2013-06-19 Tom Tromey <tromey@redhat.com>
7569
7570 * net/eww.el (eww-top-url): Remove.
7571 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7572 (eww-render): Set new variables. Don't set eww-top-url.
7573 (eww-handle-link): Handle "prev", "home", and "contents".
7574 Downcase the rel text.
7575 (eww-top-url): Choose best top URL.
7576
7577 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7578
7579 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7580 relying in widget.el. Using widget.el leads to too many
7581 user interface inconsistencies.
7582 (eww-self-insert): Implement entering commands in text fields.
7583 (eww-process-text-input): New function to make text input field editing
7584 work.
7585 (eww-submit): Rewrite to use the new-style form methods.
7586 (eww-select-display): Display the correct selected item.
7587 (eww-change-select): Implement changing the select value.
7588 (eww-toggle-checkbox): Implement radio/checkboxes.
7589 (eww-update-field): Fix compilation error.
7590 (eww-tag-textarea): Implement <textarea>.
7591
7592 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7593 we don't shadow mode-specific bindings.
7594
7595 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7596 nothing to push.
7597
7598 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7599
7600 2013-06-19 Glenn Morris <rgm@gnu.org>
7601
7602 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7603
7604 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7605
7606 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7607 not needed.
7608
7609 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7610
7611 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7612
7613 * net/browse-url.el (browse-url-browser-function):
7614 `eww-browse-url' has the right calling signature, `eww' does not.
7615
7616 2013-06-19 Glenn Morris <rgm@gnu.org>
7617
7618 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7619 Only eval autoloaded macros.
7620 (byte-compile-autoload): Only give the macro warning for macros.
7621
7622 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7623 (ps-underlined-faces): Declare.
7624
7625 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7626 (speedbar-add-supported-extension): Declare.
7627
7628 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7629 Don't include a date stamp in the header of the generated file;
7630 it leads to needless differences between output files.
7631
7632 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7633
7634 * net/secrets.el (secrets-struct-secret-content-type):
7635 Replace check of introspection data by a test call of "CreateItem".
7636 Some servers do not offer introspection.
7637
7638 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * electric.el (electric-pair-mode): Improve interaction with
7641 electric-layout-mode.
7642 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7643 (electric-pair-syntax): Use text-mode-syntax-table in comments
7644 and strings.
7645 (electric-pair--insert): New function.
7646 (electric-pair-post-self-insert-function): Use it and
7647 electric--after-char-pos.
7648
7649 2013-06-19 Leo Liu <sdl.web@gmail.com>
7650
7651 * progmodes/octave.el (octave-help): Fix regexp.
7652
7653 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
7655 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7656 (shr-table-horizontal-line): Allow nil as a value, and change the
7657 default.
7658 (shr-insert-table-ruler): Respect the nil value.
7659
7660 2013-06-18 Tom Tromey <tromey@barimba>
7661
7662 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7663 New defvars.
7664 (eww-open-file): New defun.
7665 (eww-render): Initialize new variables.
7666 (eww-display-html): Handle "link" and "a".
7667 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7668 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7669 (eww-back-url): Rename from eww-previous-url.
7670 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7671 New defuns.
7672
7673 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7674
7675 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7676 Distinguish ternary operator tokens from slash symbol and slash
7677 char literal.
7678
7679 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7680
7681 Convert symbol prettification into minor mode and global minor mode.
7682
7683 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7684 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7685 (prettify-symbols--keywords): Rename from
7686 `prog-prettify-symbols-alist' and make a local defvar.
7687 (prettify-symbols--compose-symbol): Rename from
7688 `prog--prettify-font-lock-compose-symbol'.
7689 (prettify-symbols--make-keywords): Rename from
7690 `prog-prettify-font-lock-symbols-keywords' and simplify.
7691 (prog-prettify-install): Remove.
7692 (prettify-symbols-mode): New minor mode, based on
7693 `prog-prettify-install'.
7694 (turn-on-prettify-symbols-mode): New function.
7695 (global-prettify-symbols-mode): New globalized minor mode.
7696
7697 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7698 * progmodes/cfengine.el (cfengine3-mode):
7699 * progmodes/perl-mode.el (perl-mode): Don't call
7700 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7701
7702 2013-06-18 Juri Linkov <juri@jurta.org>
7703
7704 * files-x.el (modify-file-local-variable-message): New function.
7705 (modify-file-local-variable)
7706 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7707 and call `modify-file-local-variable-message' when it's non-nil.
7708 (add-file-local-variable, delete-file-local-variable)
7709 (add-file-local-variable-prop-line)
7710 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7711 and use it. (Bug#9820)
7712
7713 2013-06-18 Juri Linkov <juri@jurta.org>
7714
7715 * emulation/vi.el (vi-shell-op):
7716 * emulation/vip.el (vip-execute-com, ex-command):
7717 * emulation/viper-cmd.el (viper-exec-bang):
7718 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7719 the call of `shell-command-on-region'. (Bug#14637)
7720
7721 * simple.el (shell-command-on-region): Doc fix.
7722
7723 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7726 (bug#14633).
7727
7728 2013-06-18 Glenn Morris <rgm@gnu.org>
7729
7730 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7731
7732 * newcomment.el (comment-search-forward, comment-search-backward):
7733 Doc fix. (Bug#14376)
7734
7735 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7736
7737 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7738 (buffer-face-mode-invoke): Doc fix.
7739
7740 2013-06-18 Matthias Meulien <orontee@gmail.com>
7741
7742 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7743 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7744
7745 2013-06-18 Glenn Morris <rgm@gnu.org>
7746
7747 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7748 Replace obsolete function generic-make-keywords with its expansion.
7749
7750 * progmodes/python.el (ffap-alist): Declare.
7751
7752 * textmodes/reftex.el (bibtex-mode-map): Declare.
7753
7754 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7757 (package-unpack, package-unpack-single): Return the pkg-dir.
7758 (package-download-transaction): Use it to update package-alist.
7759
7760 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7761
7762 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7763 possible choice.
7764
7765 2013-06-17 Juri Linkov <juri@jurta.org>
7766
7767 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7768
7769 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7770
7771 * emacs-lisp/package.el (package-load-descriptor):
7772 Remove `with-syntax-table' call, `read' doesn't need it.
7773 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7774
7775 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7776
7777 * startup.el (command-line): Expand package name returned by
7778 `package--description-file' (bug#14639).
7779
7780 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7781
7782 * emacs-lisp/package.el (package-load-descriptor): Do not call
7783 `emacs-lisp-mode', just use its syntax table.
7784
7785 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7788 `font-lock-extra-managed-props' if any prettifying keyword is added.
7789 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7790 (prog-mode): Use `setq-local'.
7791
7792 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * international/characters.el (standard-case-table): Set syntax of ?»
7795 and ?« to punctuation.
7796
7797 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7798
7799 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7800 Save relevant match data before calling `syntax-ppss' (bug#14595).
7801
7802 2013-06-15 Juri Linkov <juri@jurta.org>
7803
7804 * files-x.el (modify-file-local-variable-prop-line): Add local
7805 variables to the end of the existing comment on the first line.
7806 Use `file-auto-mode-skip' to skip interpreter magic line,
7807 and also skip XML declaration.
7808
7809 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * startup.el (package--builtin-versions): New var.
7812 (package-subdirectory-regexp): Remove.
7813 (package--description-file): Hard code its value instead.
7814
7815 * emacs-lisp/package.el: Don't activate packages older than builtin.
7816 (package-obsolete-list): Rename from package-obsolete-alist, and make
7817 it into a simple list of package-desc.
7818 (package-strip-version): Remove.
7819 (package-built-in-p): Use package--builtin-versions.
7820 (package-mark-obsolete): Simplify.
7821 (package-process-define-package): Mark it obsolete if older than the
7822 builtin version.
7823 (package-handle-response): Use line-end-position.
7824 (package-read-archive-contents, package--download-one-archive):
7825 Simplify.
7826 (package--add-to-archive-contents): Skip if older than the builtin or
7827 installed version.
7828 (package-menu-describe-package): Fix last change.
7829 (package-list-unversioned): New var.
7830 (package-menu--generate): Use it.
7831
7832 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7833 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7834 (autoload-builtin-package-versions): New variable.
7835 (autoload-generate-file-autoloads): Use them.
7836 Remove the list of autoloaded functions/macros from the
7837 (autoload...) comments.
7838
7839 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7840
7841 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7842
7843 * simple.el (line-move-partial): Don't jump to the next screen
7844 line as soon as it becomes visible. Instead, continue enlarging
7845 the vscroll until the portion of a tall screen line that's left on
7846 display is about the height of the frame's default font.
7847 (Bug#14567)
7848
7849 2013-06-15 Glenn Morris <rgm@gnu.org>
7850
7851 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7852 compilation-error-regexp-alist void, or local while let-bound.
7853
7854 * progmodes/make-mode.el (makefile-mode-syntax-table):
7855 Treat "=" as punctuation. (Bug#14614)
7856
7857 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7858
7859 * help-fns.el (describe-variable):
7860 Add extra line for permanent-local variables.
7861
7862 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7863
7864 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7865 Add export, import, library. (Bug#9164)
7866 (library): Set indent function.
7867
7868 2013-06-14 Glenn Morris <rgm@gnu.org>
7869
7870 * term/xterm.el (xterm--query):
7871 Stop after first matching handler. (Bug#14615)
7872
7873 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7874
7875 Add support for dired in saveplace.
7876 * dired.el (dired-initial-position-hook): New variable.
7877 (dired-initial-position): Call hook to place cursor position.
7878 * saveplace.el (save-place-to-alist): Add dired position.
7879 (save-place-dired-hook): New function.
7880
7881 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7884 through a symbol rather than letrec.
7885
7886 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7887 (package-desc): Add `dir' field.
7888 (package-desc-full-name): New function.
7889 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7890 (package-maybe-load-descriptor): Remove.
7891 (package-load-all-descriptors): Just call package-load-descriptor.
7892 (package--disabled-p): New function.
7893 (package-desc-vers, package-desc-doc): Remove aliases.
7894 (package--dir): Remove function.
7895 (package-activate): Check if a package is disabled.
7896 (package-process-define-package): New function, extracted from
7897 define-package.
7898 (define-package): Turn into a place holder.
7899 (package-unpack-single, package-tar-file-info):
7900 Use package--description-file.
7901 (package-compute-transaction): Use package--disabled-p.
7902 (package-download-transaction): Don't call
7903 package-maybe-load-descriptor since they're all loaded anyway.
7904 (package-install): Change argument to be a pkg-desc.
7905 (package-delete): Use a single pkg-desc argument.
7906 (describe-package-1): Use package-desc-dir instead of package--dir.
7907 Use package-desc property instead of package-symbol.
7908 (package-install-button-action): Adjust accordingly.
7909 (package--push): Rewrite.
7910 (package-menu--print-info): Adjust accordingly. Change the ID format
7911 to be a pkg-desc.
7912 (package-menu-describe-package, package-menu-get-status)
7913 (package-menu--find-upgrades, package-menu-mark-upgrades)
7914 (package-menu-execute, package-menu--name-predicate):
7915 Adjust accordingly.
7916 * startup.el (package--description-file): New function.
7917 (command-line): Use it.
7918 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7919 Use package-desc-version.
7920
7921 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7922 (byte-compile-preprocess): Use it.
7923 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7924 can't quite recognize.
7925 (byte-compile-add-to-list): Remove.
7926 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7927 (cconv-closure-convert): Add assertion.
7928
7929 * emacs-lisp/map-ynp.el: Use lexical-binding.
7930 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7931 Factor out some repeated code.
7932
7933 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * subr.el (with-eval-after-load): New macro.
7936 (eval-after-load): Allow form to be a function.
7937 take advantage of lexical-binding.
7938 (do-after-load-evaluation): Use dolist and adjust to new format.
7939 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7940
7941 2013-06-13 Juri Linkov <juri@jurta.org>
7942
7943 * replace.el (perform-replace): Display "symbol " and other search
7944 modes from `isearch-message-prefix' in the *Help* buffer.
7945
7946 * isearch.el (isearch-query-replace): Add " symbol" and other
7947 possible search modes from `isearch-message-prefix' to the prompt.
7948 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7949 when reading a regexp to collect.
7950
7951 2013-06-13 Juri Linkov <juri@jurta.org>
7952
7953 * isearch.el (word-search-regexp): Match whitespace if the search
7954 string begins or ends in whitespace. The LAX arg is applied to
7955 both ends of the search string. Use `regexp-quote' and explicit
7956 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7957 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7958 boundaries are replaced with symbol boundaries, and characters
7959 between symbols match non-word non-symbol syntax. (Bug#14602)
7960
7961 2013-06-13 Juri Linkov <juri@jurta.org>
7962
7963 * isearch.el (isearch-del-char): Don't exceed the length of
7964 `isearch-string' by the prefix arg. (Bug#14563)
7965
7966 2013-06-13 Juri Linkov <juri@jurta.org>
7967
7968 * isearch.el (isearch-yank-word, isearch-yank-line)
7969 (isearch-char-by-name, isearch-quote-char)
7970 (isearch-printing-char, isearch-process-search-char):
7971 Add optional count prefix arg. (Bug#14563)
7972
7973 * international/isearch-x.el
7974 (isearch-process-search-multibyte-characters):
7975 Add optional count prefix arg.
7976
7977 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7980 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7981 lexical-binding.
7982
7983 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7984
7985 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7986
7987 2013-06-13 Glenn Morris <rgm@gnu.org>
7988
7989 * startup.el (tty-handle-args):
7990 Don't just discard "--" and anything after. (Bug#14608)
7991
7992 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7993
7994 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7995
7996 Implement changes in Secret Service API. Make it backward compatible.
7997 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7998 (secrets-create-item): Use it. Prefix properties with interface.
7999
8000 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8001
8002 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8003 (term-emulate-terminal): Respect term-suppress-hard-newline.
8004
8005 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8006
8007 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8008 Only remove a `thumb-file' overlay. (Bug#14548)
8009
8010 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8011
8012 * mail/reporter.el (reporter-submit-bug-report):
8013 Handle missing package-name. (Bug#14600)
8014
8015 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8016
8017 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8018 (reftex-citation-prompt, reftex-default-bibliography)
8019 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8020 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8021 (reftex-bib-sort-author, reftex-bib-sort-year)
8022 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8023 (reftex-extract-bib-entries-from-thebibliography)
8024 (reftex-get-bibkey-default, reftex-get-bib-names)
8025 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8026 (reftex-format-bib-entry, reftex-parse-bibitem)
8027 (reftex-format-bibitem, reftex-do-citation)
8028 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8029 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8030 (reftex-insert-bib-matches, reftex-format-citation)
8031 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8032 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8033 existing comments into docstrings.
8034
8035 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8036
8037 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8038
8039 2013-06-12 Andreas Schwab <schwab@suse.de>
8040
8041 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8042 for auto-save files.
8043
8044 2013-06-12 Glenn Morris <rgm@gnu.org>
8045
8046 * ido.el (ido-delete-ignored-files): Remove.
8047 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8048 Go back to calling ido-ignore-item-p directly.
8049
8050 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8051
8052 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8053
8054 * ido.el (ido-delete-ignored-files): New function,
8055 split from ido-make-file-list-1.
8056 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8057 (ido-make-file-list-1): Use ido-delete-ignored-files.
8058
8059 2013-06-12 Leo Liu <sdl.web@gmail.com>
8060
8061 * progmodes/octave.el (inferior-octave-startup)
8062 (inferior-octave-completion-table)
8063 (inferior-octave-track-window-width-change)
8064 (octave-eldoc-function-signatures, octave-help)
8065 (octave-find-definition): Use single quoted strings.
8066 (inferior-octave-startup-args): Change default value.
8067 (inferior-octave-startup): Do not hard code "-i" and
8068 "--no-line-editing".
8069 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8070 (inferior-octave-directory-tracker): Use it.
8071 (octave-goto-function-definition): Robustify.
8072 (octave-help): Support highlighting operators in 'See also'.
8073 (octave-find-definition): Find subfunctions only in Octave mode.
8074
8075 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 * help-fns.el (help-fns--compiler-macro): If the handler function is
8078 named, then put a link to it.
8079 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8080 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8081 (cl-typep): Use it.
8082 (cl-eval-when): Simplify debug spec.
8083 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8084 compiler-macro function instead of setting `compiler-macro-file'.
8085
8086 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8087
8088 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8089 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8090
8091 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8092 Daniel Hackney <dan@haxney.org>
8093
8094 First part of Daniel Hackney's patch to package.el.
8095 * emacs-lisp/package.el: Use defstruct.
8096 (package-desc): New, main struct.
8097 (package--bi-desc, package--ac-desc): New structs, used to describe the
8098 format in external files.
8099 (package-desc-vers): Replace with package-desc-version accessor.
8100 (package-desc-doc): Replace with package-desc-summary accessor.
8101 (package-activate-1): Remove `package' arg since the pkg-vec now
8102 includes the name.
8103 (define-package): Use package-desc-from-define.
8104 (package-unpack-single): Change file-name arg to be a symbol.
8105 (package--add-to-archive-contents): Use package-desc-create and new
8106 accessor functions to package--ac-desc.
8107 (package-buffer-info, package-tar-file-info): Return a package-desc.
8108 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8109 arg to be a package-desc.
8110 (package-install-file): Adjust accordingly. Use \' to match EOS.
8111 (package--from-builtin): New function.
8112 (describe-package-1, package-menu--generate): Use it.
8113 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8114 (package-generate-autoloads): Idem and return the name of the file.
8115 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8116 Change pkg-info arg to be a package-desc.
8117 Use package-make-ac-desc.
8118 (package-upload-file): Use \' to match EOS.
8119 * finder.el (finder-compile-keywords): Use package-make-builtin.
8120
8121 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * vc/vc.el (vc-deduce-fileset): Change error message.
8124 (vc-read-backend): New function.
8125 (vc-next-action): Use it.
8126
8127 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8128
8129 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8130 (prolog-font-lock-keywords): Use regexp-opt instead.
8131 Don't manually highlight strings.
8132 (prolog-mode-variables): Simplify comment-start-skip.
8133 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8134
8135 * emacs-lisp/generic.el (generic--normalise-comments)
8136 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8137 (generic-mode-set-comments): Use them.
8138 (generic-bracket-support): Use setq-local.
8139 (generic-make-keywords-list): Declare obsolete.
8140
8141 2013-06-11 Glenn Morris <rgm@gnu.org>
8142
8143 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8144 Prettify after setting font-lock-defaults. (Bug#14574)
8145
8146 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8147
8148 * replace.el (query-replace, occur-read-regexp-defaults-function)
8149 (replace-search):
8150 * subr.el (declare-function, number-sequence, local-set-key)
8151 (substitute-key-definition, locate-user-emacs-file)
8152 (with-silent-modifications, split-string, eval-after-load):
8153 Fix typos, remove unneeded backslashes and reflow some docstrings.
8154
8155 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8158 default for Elisp files.
8159
8160 2013-06-11 Glenn Morris <rgm@gnu.org>
8161
8162 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8163 although define-derived-mode was doing this anyway. (Bug#14583)
8164
8165 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8168 Fix make-variable-buffer-local call to refer to the correct variable.
8169
8170 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8171
8172 * eshell/em-term.el (eshell-visual-commands)
8173 (eshell-visual-subcommands, eshell-visual-options):
8174 Add summary line to docstrings. Add cross-references.
8175
8176 2013-06-10 Glenn Morris <rgm@gnu.org>
8177
8178 * epa.el (epa-read-file-name): New function. (Bug#14510)
8179 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8180
8181 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8182
8183 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8184 output redirection to be ignored with visual commands.
8185
8186 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8187
8188 * eshell/em-term.el (eshell-visual-command-p): New function.
8189 (eshell-term-initialize): Move long lambda to separate function
8190 eshell-visual-command-p.
8191 * eshell/em-dirs.el (eshell-dirs-initialise):
8192 * eshell/em-script.el (eshell-script-initialize):
8193 Add missing #' to lambda.
8194
8195 2013-06-08 Leo Liu <sdl.web@gmail.com>
8196
8197 * progmodes/octave.el (octave-add-log-current-defun): New function.
8198 (octave-mode): Set add-log-current-defun-function.
8199 (octave-goto-function-definition): Do not move point if not found.
8200 (octave-find-definition): Enhance to try subfunctions first.
8201
8202 2013-06-08 Glenn Morris <rgm@gnu.org>
8203
8204 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8205 (byte-compile-backward-char, byte-compile-backward-word):
8206 Improve previous change, to handle non-explicit nil.
8207
8208 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8211 (smie--opener/closer-at-point): New function.
8212 (smie--matching-block-data): Use it. Don't match from right after an
8213 opener or right before a closer. Obey smie-blink-matching-inners.
8214 Don't signal a mismatch for repeated inners like "switch..case..case".
8215
8216 2013-06-07 Leo Liu <sdl.web@gmail.com>
8217
8218 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8219 to t. (Bug#14303)
8220 (octave-function-header-regexp): Fix. (Bug#14570)
8221 (octave-help-mode-finish-hook, octave-help-mode-finish):
8222 Remove. Just use temp-buffer-show-hook.
8223
8224 * newcomment.el (comment-search-backward): Revert last change.
8225 (Bug#14434)
8226
8227 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8228
8229 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8230
8231 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8232 through xargs, to avoid failure due to MS-Windows limitations on
8233 command-line length.
8234
8235 2013-06-06 Glenn Morris <rgm@gnu.org>
8236
8237 * font-lock.el (lisp-font-lock-keywords-2):
8238 Treat user-error like error.
8239
8240 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8241 (byte-compile-backward-char, byte-compile-backward-word):
8242 Handle explicit nil arguments. (Bug#14565)
8243
8244 2013-06-05 Alan Mackenzie <acm@muc.de>
8245
8246 * isearch.el (isearch-allow-prefix): New user option.
8247 (isearch-other-meta-char): Don't exit isearch when a prefix
8248 argument is typed whilst `isearch-allow-prefix' is non-nil.
8249 (Bug#9706)
8250
8251 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * autorevert.el (auto-revert-notify-handler): Use memq.
8254 Hide assertion failure.
8255
8256 * skeleton.el: Use cl-lib.
8257 (skeleton-further-elements): Use defvar-local.
8258 (skeleton-insert): Use cl-progv.
8259
8260 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8261
8262 * progmodes/prog-mode.el (prog-prettify-symbols)
8263 (prog-prettify-install): Update docstrings.
8264
8265 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * simple.el: Move all the prog-mode code to prog-mode.el.
8268 * progmodes/prog-mode.el: New file.
8269 * loadup.el: Add prog-mode.el.
8270
8271 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8272
8273 * simple.el (prog-prettify-symbols): Add version.
8274 (prog-prettify-install): Add convenience function to prettify symbols.
8275
8276 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8277 (perl--augmented-font-lock-keywords-1)
8278 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8279 variables and use it.
8280
8281 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8282 (cfengine3-mode): Remove unneeded variable and use it.
8283
8284 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8285 (lisp--augmented-font-lock-keywords-1)
8286 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8287 Remove unneeded variables and use it.
8288
8289 2013-06-05 João Távora <joaotavora@gmail.com>
8290
8291 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8292 to point when opening the connection. (Bug#14380)
8293
8294 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * subr.el (load-history-regexp, load-history-filename-element)
8297 (eval-after-load, after-load-functions, do-after-load-evaluation)
8298 (eval-next-after-load, display-delayed-warnings)
8299 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8300 definition of save-match-data.
8301 (overriding-local-map): Remove accidental obsolescence declaration.
8302
8303 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8304
8305 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8306
8307 Generalize symbol prettify support to prog-mode and implement it
8308 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8309 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8310 (prog--prettify-font-lock-compose-symbol)
8311 (prog-prettify-font-lock-symbols-keywords): New variables and
8312 functions to support symbol prettification.
8313 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8314 (lisp--augmented-font-lock-keywords-1)
8315 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8316 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8317 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8318 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8319 Implement prettify of -> => :: strings.
8320 * progmodes/perl-mode.el (perl-prettify-symbols)
8321 (perl--font-lock-compose-symbol)
8322 (perl--font-lock-symbols-keywords): Move to prog-mode.
8323 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8324 (perl-font-lock-keywords-1)
8325 (perl-font-lock-keywords-2): Remove explicit prettify support.
8326 (perl--augmented-font-lock-keywords)
8327 (perl--augmented-font-lock-keywords-1)
8328 (perl--augmented-font-lock-keywords-2, perl-mode):
8329 Implement prettify support.
8330
8331 2013-06-05 Leo Liu <sdl.web@gmail.com>
8332
8333 Re-implement smie matching block highlight using
8334 show-paren-data-function. (Bug#14395)
8335 * emacs-lisp/smie.el (smie-matching-block-highlight)
8336 (smie--highlight-matching-block-overlay)
8337 (smie--highlight-matching-block-lastpos)
8338 (smie-highlight-matching-block)
8339 (smie-highlight-matching-block-mode): Remove.
8340 (smie--matching-block-data-cache): New variable.
8341 (smie--matching-block-data): New function.
8342 (smie-setup): Use smie--matching-block-data for
8343 show-paren-data-function.
8344
8345 * progmodes/octave.el (octave-mode-menu): Fix.
8346 (octave-find-definition): Skip garbage lines.
8347
8348 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 Fix compilation error with simultaneous dynamic+lexical scoping.
8351 Add warning when a defvar appears after the first let-binding.
8352 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8353 (byte-compile-close-variables): Initialize it.
8354 (byte-compile--declare-var): New function.
8355 (byte-compile-file-form-defvar)
8356 (byte-compile-file-form-define-abbrev-table)
8357 (byte-compile-file-form-custom-declare-variable): Use it.
8358 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8359 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8360 (byte-compile-bind): Handle dynamic bindings that shadow
8361 lexical bindings.
8362 (byte-compile-unbind): Make arg non-optional.
8363 (byte-compile-let): Simplify.
8364 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8365 (cconv--analyse-function, cconv-analyse-form): Populate it.
8366 Protect byte-compile-bound-variables to limit the scope of defvars.
8367 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8368 Remove unneeded rule for `declare'.
8369
8370 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8371 so as to avoid depending on cl-adjoin at run-time.
8372 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8373
8374 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8375 (macroexp--warn-and-return): Use it.
8376
8377 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * lisp/subr.el: Convert to lexical binding.
8380 (overriding-local-map): Make obsolete.
8381 (add-to-list): Doc fix. Add compiler macro.
8382 (read-key): Swap values of local maps.
8383
8384 2013-06-05 Leo Liu <sdl.web@gmail.com>
8385
8386 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8387
8388 2013-06-04 Leo Liu <sdl.web@gmail.com>
8389
8390 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8391 (compilation-auto-jump): Suppress the "Mark set" message to give
8392 way to exit message.
8393
8394 2013-06-04 Alan Mackenzie <acm@muc.de>
8395
8396 Remove faulty optimisation from indentation calculation.
8397 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8398 search limit based on 2000 characters back from indent-point.
8399
8400 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8401
8402 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8403
8404 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * emacs-lisp/lisp.el: Use lexical-binding.
8407 (lisp--local-variables-1, lisp--local-variables): New functions.
8408 (lisp--local-variables-completion-table): New var.
8409 (lisp-completion-at-point): Use it complete let-bound vars.
8410
8411 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8412 eagerly (bug#14422).
8413
8414 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * autorevert.el (auto-revert-notify-enabled)
8417 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8418 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8419 (auto-revert-notify-handler): Handle also gfilenotify.
8420
8421 * subr.el (file-notify-handle-event): New defun. Replacing ...
8422 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8423 Remove.
8424
8425 2013-06-03 Juri Linkov <juri@jurta.org>
8426
8427 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8428 `M-s h .'. (Bug#14427)
8429
8430 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8431 command `hi-lock-face-symbol-at-point'.
8432 (hi-lock-face-symbol-at-point): New command.
8433 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8434 (hi-lock-menu): Add `highlight-symbol-at-point'.
8435 (hi-lock-mode): Doc fix.
8436
8437 * isearch.el (isearch-forward-symbol-at-point): New command.
8438 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8439 (isearch-highlight-regexp): Add a regexp which matches
8440 words/symbols for word/symbol mode.
8441
8442 * subr.el (find-tag-default-bounds): New function with the body
8443 mostly moved from `find-tag-default'.
8444 (find-tag-default): Move most code to `find-tag-default-bounds',
8445 call it and apply `buffer-substring-no-properties' afterwards.
8446
8447 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8448
8449 * eshell/em-term.el (eshell-term-initialize):
8450 Use `cl-intersection' rather than `intersection'.
8451
8452 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8453
8454 * vc/log-view.el: Doc fix.
8455 (log-view-mode-map): Copy keymap from `special-mode-map'.
8456
8457 2013-06-02 Eric Ludlam <zappo@gnu.org>
8458
8459 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8460 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8461 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8462 (eieio-unbound, eieio-default-superclass)
8463 (eieio--define-field-accessors, method-static, method-before)
8464 (method-primary, method-after, method-num-lists)
8465 (method-generic-before, method-generic-primary)
8466 (method-generic-after, method-num-slots)
8467 (eieio-specialized-key-to-generic-key)
8468 (eieio--check-type, class-v, class-p)
8469 (eieio-class-name, define-obsolete-function-alias)
8470 (eieio-class-parents-fast, eieio-class-children-fast)
8471 (same-class-fast-p, class-constructor, generic-p)
8472 (generic-primary-only-p, generic-primary-only-one-p)
8473 (class-option-assoc, class-option, eieio-object-p)
8474 (class-abstract-p, class-method-invocation-order)
8475 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8476 (eieio-class-un-autoload, eieio-defclass)
8477 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8478 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8479 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8480 (eieio-defgeneric-reset-generic-form)
8481 (eieio-defgeneric-form-primary-only)
8482 (eieio-defgeneric-reset-generic-form-primary-only)
8483 (eieio-defgeneric-form-primary-only-one)
8484 (eieio-defgeneric-reset-generic-form-primary-only-one)
8485 (eieio-unbind-method-implementations)
8486 (eieio--defmethod, eieio--typep)
8487 (eieio-perform-slot-validation, eieio-validate-slot-value)
8488 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8489 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8490 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8491 (eieio-slot-name-index, eieio-class-slot-name-index)
8492 (eieio-set-defaults, eieio-initarg-to-attribute)
8493 (eieio-attribute-to-initarg, eieio-c3-candidate)
8494 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8495 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8496 (eieio-class-precedence-list, eieio-generic-call-methodname)
8497 (eieio-generic-call-arglst, eieio-generic-call-key)
8498 (eieio-generic-call-next-method-list)
8499 (eieio-pre-method-execution-functions, eieio-generic-call)
8500 (eieio-generic-call-primary-only, eieiomt-method-list)
8501 (eieiomt-optimizing-obarray, eieiomt-install)
8502 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8503 (eieio-generic-form, eieio-defmethod, make-obsolete)
8504 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8505 (defclass): Remove `eval-and-compile' from macro.
8506 (call-next-method, shared-initialize): Instead of using
8507 `scoped-class' variable, use new eieio--scoped-class, and
8508 eieio--with-scoped-class.
8509 (initialize-instance): Rename local variable 'scoped-class' to
8510 'this-class' to remove ambiguitity from old global.
8511
8512 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8513 eieio.el.
8514 (eieio--scoped-class-stack): New variable.
8515 (eieio--scoped-class): New fcn.
8516 (eieio--with-scoped-class): New scoping macro.
8517 (eieio-defclass): Use pushnew instead of add-to-list.
8518 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8519 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8520 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8521 `scoped-class' variable, use new eieio--scoped-class, and
8522 eieio--with-scoped-class.
8523
8524 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8525
8526 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8527
8528 * eshell/esh-ext.el (eshell-external-command): Pass args to
8529 `eshell-find-interpreter'.
8530 (eshell-find-interpreter): Add new second parameter ARGS.
8531
8532 * eshell/em-script.el (eshell-script-initialize): Add second arg
8533 to the function added as MATCH to `eshell-interpreter-alist'.
8534
8535 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8536 the function added as MATCH to `eshell-interpreter-alist'.
8537
8538 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8539 (eshell-visual-options): New defcustom.
8540 (eshell-escape-control-x): Adapt docstring.
8541 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8542 `eshell-visual-options' in addition to `eshell-visual-commands'.
8543 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8544
8545 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8546
8547 * progmodes/python.el (python-indent-block-enders): Add break,
8548 continue and raise keywords.
8549
8550 2013-06-01 Glenn Morris <rgm@gnu.org>
8551
8552 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8553
8554 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8555 * progmodes/cc-cmds.el (delete-forward-p):
8556 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8557 * progmodes/cc-engine.el (buffer-syntactic-context):
8558 * progmodes/cc-fonts.el (face-property-instance):
8559 * progmodes/cc-mode.el (set-keymap-parents):
8560 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8561 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8562 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8563 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8564 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8565
8566 * progmodes/cc-vars.el (other): Emacs has this widget since
8567 at least 21.1, so don't (re)define it.
8568
8569 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8570 Replace the obsolete alias pcomplete-arg-quote-list.
8571
8572 2013-06-01 Leo Liu <sdl.web@gmail.com>
8573
8574 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8575 punctuation syntax.
8576 (inferior-octave-minimal-columns)
8577 (inferior-octave-last-column-width): New variables.
8578 (inferior-octave-track-window-width-change): New function.
8579 (inferior-octave-mode): Adjust column width so that Octave output,
8580 for example from 'ls', can fit into the window nicely.
8581
8582 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8583
8584 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8585 Highlight expansions inside regexp literals.
8586
8587 2013-05-31 Glenn Morris <rgm@gnu.org>
8588
8589 * obsolete/sym-comp.el (symbol-complete):
8590 Replace obsolete completion-annotate-function.
8591
8592 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8593
8594 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8595
8596 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8597 New function, checks if point is inside a literal that allows
8598 expression expansion.
8599 (ruby-syntax-propertize-expansion): Use it.
8600 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8601 around the body.
8602
8603 2013-05-30 Juri Linkov <juri@jurta.org>
8604
8605 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8606 to "\M-si".
8607 (isearch-invisible): New variable.
8608 (isearch-forward): Doc fix.
8609 (isearch-mode): Set `isearch-invisible'
8610 to the value of `search-invisible'.
8611 (isearch-toggle-case-fold): Doc fix.
8612 (isearch-toggle-invisible): New command.
8613 (isearch-query-replace): Let-bind `search-invisible'
8614 to the value of `isearch-invisible'.
8615 (isearch-search): Use `isearch-invisible' instead of
8616 `search-invisible'. Let-bind `search-invisible'
8617 to the value of `isearch-invisible'. (Bug#11378)
8618
8619 2013-05-30 Juri Linkov <juri@jurta.org>
8620
8621 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8622 call when `query-flag' is nil and `search-invisible' is non-nil.
8623 (Bug#11746)
8624
8625 2013-05-30 Glenn Morris <rgm@gnu.org>
8626
8627 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8628
8629 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8630 (cc-require): Suppress spurious "noruntime" warnings.
8631 (cc-require-when-compile): Use fboundp, for sake of compiler.
8632
8633 * progmodes/cc-mode.el: Move load of cc-vars before that of
8634 cc-langs (which in turn loads cc-vars), to quieten compiler.
8635
8636 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * paren.el: Simplify the code.
8639 (show-paren-mode): Always start the timer.
8640 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8641 (show-paren--overlay, show-paren--overlay-1): Rename from
8642 show-paren-overlay and show-paren-overlay-1, and initialize to an
8643 overlay rather than to nil.
8644 (show-paren-function): Misc cleanup and simplifications.
8645
8646 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * paren.el (show-paren-data-function): New hook.
8649 (show-paren--default): New function, extracted from show-paren-function.
8650 (show-paren-function): Use show-paren-data-function.
8651
8652 2013-05-30 Glenn Morris <rgm@gnu.org>
8653
8654 * ielm.el (ielm-map, ielm-complete-symbol):
8655 Use completion-at-point rather than obsolete functions.
8656 (inferior-emacs-lisp-mode): Doc fix.
8657 Set completion-at-point-functions, rather than
8658 comint-dynamic-complete-functions.
8659
8660 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8661 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8662 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8663
8664 * image.el (image-animated-p): Tweak definition.
8665
8666 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8667 (rlogin-process-connection-type): Tweak default. Add set-after.
8668 (rlogin-host): Doc fix.
8669 (rlogin): Tweak prompt.
8670 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8671
8672 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8673 * progmodes/tcl.el (inferior-tcl-mode-map):
8674 Use completion-at-point rather than obsolete alias.
8675
8676 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8677
8678 * minibuffer.el (read-file-name-completion-ignore-case):
8679 Move before completion--in-region, for eager macro expansion.
8680
8681 2013-05-29 Juri Linkov <juri@jurta.org>
8682
8683 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8684 for total count of matching lines. Add `global-matches' for total
8685 count of matches. Rename `matches' to `lines' for count of
8686 matching lines. Add `matches' for count of matches.
8687 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8688 to `prev-line' for line number of prev match endpt.
8689 Increment `matches' for every match. Print the number of
8690 matching lines in the header.
8691 (occur-context-lines): Rename `lines' to `curr-line'.
8692 Rename `prev-lines' to `prev-line'. (Bug#14017)
8693
8694 2013-05-29 Juri Linkov <juri@jurta.org>
8695
8696 * replace.el (perform-replace): Add `skip-read-only-count',
8697 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8698 Increment them for corresponding conditions and report the number
8699 of skipped occurrences in the final message. (Bug#11746)
8700 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8701 (replace-string, replace-regexp): Doc fix.
8702
8703 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8706
8707 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8708 prog-mode-map (bug#14504).
8709
8710 2013-05-29 Leo Liu <sdl.web@gmail.com>
8711
8712 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8713 (octave-help): Small simplification.
8714
8715 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8716 off the highlight first.
8717
8718 2013-05-29 Glenn Morris <rgm@gnu.org>
8719
8720 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8721 Handle idlwave-last-system-routine-info-cons-cell being nil.
8722
8723 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8724 (idlwave-write-paths): Simplify via with-temp-buffer.
8725
8726 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8727 * emulation/cua-rect.el: Also load cua-base at run time.
8728
8729 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8730 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8731 (cperl-imenu-on-info): Require imenu.
8732
8733 2013-05-28 Alan Mackenzie <acm@muc.de>
8734
8735 Handle "capitalised keywords" correctly.
8736 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8737
8738 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8739
8740 * eshell/em-unix.el: Add -r option to cp.
8741
8742 2013-05-28 Glenn Morris <rgm@gnu.org>
8743
8744 * vc/vc-arch.el (vc-exec-after): Declare.
8745 (vc-switches): Autoload.
8746 * vc/vc-bzr.el: No need to require vc when compiling.
8747 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8748 (vc-resynch-buffer, vc-dir-refresh): Declare.
8749 (vc-setup-buffer, vc-switches): Autoload.
8750 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8751 (vc-resynch-buffer): Declare.
8752 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8753 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8754 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8755 (grep-read-regexp, grep-read-files, grep-expand-template)
8756 (vc-dir-refresh): Declare.
8757 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8758 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8759 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8760 * vc/vc-mtn.el (vc-exec-after): Declare.
8761 (vc-switches): Autoload.
8762 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8763 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8764 (vc-file-tree-walk): Declare.
8765 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8766 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8767 (vc-tag-precondition, vc-rename-master): Autoload.
8768 * vc/vc-svn.el (vc-exec-after): Declare.
8769 (vc-switches, vc-setup-buffer): Autoload.
8770 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8771 Autoload.
8772 (vc-resynch-buffer): Declare.
8773
8774 * obsolete/fast-lock.el (byte-compile-warnings):
8775 Don't warn about obsolete features in this obsolete file.
8776
8777 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8778 Move definition before use.
8779
8780 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8781 (dun-unix-verbs): Remove dun-zippy.
8782 (dun-zippy): Remove function.
8783
8784 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8785
8786 2013-05-27 Juri Linkov <juri@jurta.org>
8787
8788 * replace.el (replace-search): New function with code moved out
8789 from `perform-replace'.
8790 (replace-highlight, replace-dehighlight): Move function definitions
8791 up closer to `replace-search'. (Bug#11746)
8792
8793 2013-05-27 Juri Linkov <juri@jurta.org>
8794
8795 * replace.el (perform-replace): Ignore invisible matches.
8796 In addition to checking `query-replace-skip-read-only', also
8797 filter out matches by calling `run-hook-with-args-until-failure'
8798 on `isearch-filter-predicates', and also check `search-invisible'
8799 for t or call `isearch-range-invisible'.
8800 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8801
8802 2013-05-27 Juri Linkov <juri@jurta.org>
8803
8804 * isearch.el (isearch-filter-predicates): Rename from
8805 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8806 (isearch-message-prefix): Display text from the property
8807 `isearch-message-prefix' of the currently active filters.
8808 (isearch-search): Don't compare `isearch-filter-predicate' with
8809 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8810 on `isearch-filter-predicates'. Also check `search-invisible' for t
8811 or call `isearch-range-invisible'.
8812 (isearch-filter-visible): Make obsolete.
8813 (isearch-lazy-highlight-search):
8814 Call `run-hook-with-args-until-failure' on
8815 `isearch-filter-predicates' and use `isearch-range-invisible'.
8816
8817 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8818 `isearch-filter-predicates' instead of `funcall'ing
8819 `isearch-filter-predicate'.
8820 (Info-mode): Set `Info-isearch-filter' to
8821 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8822
8823 * dired-aux.el (dired-isearch-filter-predicate-orig):
8824 Remove variable.
8825 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8826 (dired-isearch-filenames-end): Add and remove
8827 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8828 instead of changing the value of `isearch-filter-predicate'.
8829 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8830 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8831 Put property `isearch-message-prefix' to "filename " on
8832 `dired-isearch-filter-filenames'.
8833
8834 * wdired.el (wdired-change-to-wdired-mode):
8835 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8836 locally instead of changing `isearch-filter-predicate'.
8837 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8838
8839 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8840
8841 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8842 return the commit hash (Bug#14459). Also set the
8843 `vc-git-detached' property.
8844 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8845 (vc-git-mode-line-string): Use the same help-echo format whether
8846 in detached mode or not, because we know the actual revision now.
8847 When in detached mode, shorten the revision to 7 chars.
8848
8849 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8850
8851 * emacs-lisp/easy-mmode.el (define-minor-mode):
8852 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8853 mode hook and provide a docstring.
8854
8855 2013-05-27 Alan Mackenzie <acm@muc.de>
8856
8857 Remove spurious syntax-table text properties inserted by C-y.
8858 * progmodes/cc-mode.el (c-after-change): Also clear hard
8859 syntax-table property with value nil.
8860
8861 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8862
8863 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8864 when reading the events; the buffer layout shall not be changed.
8865
8866 2013-05-27 Leo Liu <sdl.web@gmail.com>
8867
8868 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8869 New variable.
8870 (inferior-octave-directory-tracker): Automatically re-sync
8871 default-directory.
8872 (octave-help): Improve handling of 'See also'.
8873
8874 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * doc-view.el: Minor naming convention tweaks.
8877 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8878
8879 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8880 even if there's no `display' property yet (bug#14435).
8881
8882 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8883
8884 * subr.el (unmsys--file-name): Rename from reveal-filename.
8885
8886 * Makefile.in (custom-deps, finder-data, autoloads)
8887 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8888 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8889 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8890
8891 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8894 error-completion on the first 2 args of condition-case (bug#14446).
8895 Don't burp at EOB.
8896
8897 2013-05-25 Leo Liu <sdl.web@gmail.com>
8898
8899 * comint.el (comint-previous-matching-input): Do not flood the
8900 *Messages* buffer with trivial messages.
8901
8902 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * progmodes/flymake.el (flymake-nop): Don't return a string.
8905 (flymake-set-at): Fix typo.
8906
8907 * simple.el (read--expression): New function, extracted from
8908 eval-expression. Set completion-at-point-functions (bug#14465).
8909 (eval-expression, eval-minibuffer): Use it.
8910
8911 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8912
8913 * progmodes/flymake.el (flymake-save-buffer-in-file)
8914 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8915 (flymake-selected-frame, flymake-log, flymake-ins-after)
8916 (flymake-set-at, flymake-get-buildfile-from-cache)
8917 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8918 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8919 Refine the doc string.
8920 (flymake-get-file-name-mode-and-masks): Reformat.
8921 (flymake-get-real-file-name-function): Fix a minor bug.
8922
8923 2013-05-24 Juri Linkov <juri@jurta.org>
8924
8925 * progmodes/grep.el (grep-mode-font-lock-keywords):
8926 Support =linenumber= format used by git-grep for lines with
8927 function names. (Bug#13549)
8928
8929 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8932 0 after a semi-colon; it works better for smie-auto-fill.
8933 (octave--indent-new-comment-line): New function.
8934 (octave-indent-new-comment-line): Use it (indirectly).
8935 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8936 modify comment-line-break-function.
8937
8938 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8939 (smie-setup): Use add-function to set it.
8940
8941 2013-05-24 Sam Steingold <sds@gnu.org>
8942
8943 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8944 argument (before the `interactive' argument).
8945
8946 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * image-mode.el (image-mode-winprops): Add winprops to
8949 image-mode-winprops-alist before running
8950 image-mode-new-window-functions.
8951 * doc-view.el (doc-view-new-window-function): Don't delay
8952 doc-view-goto-page via timers (bug#14435).
8953
8954 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8955
8956 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8957 (doc-view-desktop-save-buffer): New function.
8958 (doc-view-restore-desktop-buffer): New function.
8959 (desktop-buffer-mode-handlers):
8960 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8961 handler.
8962 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8963 `desktop-save-buffer' function.
8964
8965 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8966
8967 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8968 (tramp-gvfs-file-name-handler): Raise a user error when
8969 `tramp-gvfs-enabled' is nil.
8970 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8971 Do not raise a user error when loading package. (Bug#14447)
8972
8973 * net/xesam.el: Move to obsolete/.
8974
8975 2013-05-24 Glenn Morris <rgm@gnu.org>
8976
8977 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8978
8979 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8980
8981 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8982 (Info-find-node, Man-getpage-in-background): Declare.
8983
8984 * mail/unrmail.el (unrmail):
8985 Replace obsolete detect-coding-with-priority.
8986
8987 * net/socks.el (socks-split-string): Use this rather than split-string.
8988 (socks-nslookup-host): Update for above change.
8989 (dynamic-choice, s5-dynamic-choice-match)
8990 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8991 Comment out unused code.
8992
8993 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8994 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8995 (gud-tooltip-echo-area): Make obsolete.
8996 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8997
8998 * progmodes/js.el (js--optimize-arglist): Declare.
8999
9000 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9001
9002 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9003 (ediff-window-C): Declare.
9004
9005 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9006 Tweak requires to silence compiler.
9007
9008 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9009 (he-search-string, he-tried-table, he-expand-list)
9010 (he-init-string, he-string-member, he-substitute-string)
9011 (he-reset-string): Declare.
9012
9013 * obsolete/options.el (list-options): Use custom-variable-p,
9014 rather than obsolete alias.
9015
9016 2013-05-23 Sam Steingold <sds@gnu.org>
9017
9018 * simple.el (shell-command-on-region): Pass the `replace' argument
9019 down to `call-process-region' to comply with the doc as reported on
9020 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9021
9022 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/smie.el (smie-indent-forward-token)
9025 (smie-indent-backward-token): Handle string tokens (bug#14381).
9026
9027 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9028
9029 * ielm.el (ielm-menu): New menu.
9030 (inferior-emacs-lisp-mode): Set comment-start.
9031
9032 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9033
9034 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9035 Fix deactivate action.
9036
9037 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9038 Add cleveref macros.
9039
9040 * lisp/textmodes/reftex-parse.el
9041 (reftex-locate-bibliography-files): Accept options for
9042 bibliography commands.
9043 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9044 Add addbibresource. Basic Biblatex support.
9045
9046 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9047
9048 * net/tramp-gvfs.el (top):
9049 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9050 when loading package. (Bug#14447)
9051
9052 2013-05-23 Glenn Morris <rgm@gnu.org>
9053
9054 * progmodes/js.el: No need to load comint when compiling.
9055 (ring-insert, comint-send-string, comint-send-input)
9056 (comint-last-input-end, ido-chop): Declare.
9057
9058 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9059 * vc/ediff-mult.el: Adjust requires.
9060 (ediff-directories-internal, ediff-directory-revisions-internal)
9061 (ediff-patch-file-internal): Declare.
9062 * vc/ediff-ptch.el: Adjust requires.
9063 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9064 (ediff-find-file): Autoload.
9065 * vc/ediff-util.el: No need to load ediff when compiling.
9066 (ediff-regions-internal): Declare.
9067 * vc/ediff-wind.el: Adjust requires.
9068 (ediff-compute-toolbar-width): Define when compiling.
9069 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9070 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9071 (dired-get-filename, dired-get-marked-files)
9072 (ediff-last-dir-patch, ediff-patch-default-directory)
9073 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9074 (ediff-patch-buffer-internal): Declare.
9075
9076 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9077 (ispell-process, ispell-buffer-local-words, lm-summary)
9078 (lm-section-start, lm-section-end): Declare.
9079 (checkdoc-ispell-init): Simplify.
9080
9081 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9082 (he-string-member, he-reset-string, he-substitute-string): Declare.
9083
9084 * eshell/em-ls.el: Adjust requires.
9085 (eshell-glob-regexp): Declare.
9086 * eshell/em-tramp.el: Adjust requires.
9087 (eshell-parse-command): Autoload.
9088 * eshell/em-xtra.el: Adjust requires.
9089 (eshell-parse-command): Autoload.
9090 * eshell/esh-ext.el: Adjust requires.
9091 (eshell-parse-command, eshell-close-handles): Autoload.
9092 * eshell/esh-io.el: Adjust requires.
9093 (eshell-output-filter): Autoload.
9094 * eshell/esh-util.el: No need to load tramp when compiling.
9095 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9096 Declare.
9097 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9098 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9099 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9100 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9101 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9102 * eshell/esh-opt.el, eshell/esh-proc.el:
9103 * eshell/esh-var.el: Adjust requires.
9104 * eshell/eshell.el: Do not require esh-util twice.
9105 (eshell-add-input-to-history): Declare.
9106 (eshell-command): Check history module is active before using it.
9107
9108 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9109
9110 2013-05-22 Leo Liu <sdl.web@gmail.com>
9111
9112 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9113
9114 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9115
9116 * autorevert.el (auto-revert-notify-add-watch)
9117 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9118 it indicates changes in file modification time.
9119
9120 2013-05-22 Glenn Morris <rgm@gnu.org>
9121
9122 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9123 Always delete the autoloaded function from the noruntime and
9124 unresolved functions lists.
9125
9126 * allout.el: No need to load epa, epg, overlay when compiling.
9127 (epg-context-set-passphrase-callback, epg-list-keys)
9128 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9129 (epg-key-user-id-list): Declare.
9130
9131 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9132 (viper-set-parsing-style-toggling-macro)
9133 (viper-set-emacs-state-searchstyle-macros):
9134 Use called-interactively-p on Emacs.
9135 (viper-looking-back): Make it an obsolete alias. Update callers.
9136 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9137 Use looking-back rather than viper-looking-back.
9138 (viper-tmp-insert-at-eob, viper-enlarge-region)
9139 (viper-read-string-with-history, viper-register-to-point)
9140 (viper-append-to-register, viper-change-state-to-vi)
9141 (viper-backward-char-carefully, viper-forward-char-carefully)
9142 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9143 (viper-change-state-to-emacs): Declare.
9144 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9145 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9146 * emulation/viper-mous.el: Do not load viper-cmd.
9147 (viper-backward-char-carefully, viper-forward-char-carefully)
9148 (viper-forward-word, viper-adjust-window): Declare.
9149
9150 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9151
9152 * progmodes/idlw-help.el (idlwave-help-fontify):
9153 Use called-interactively-p.
9154
9155 * term/w32console.el (w32-get-console-codepage)
9156 (w32-get-console-output-codepage): Declare.
9157
9158 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9159 Remove unnecessary declarations.
9160 (dframe-message): Doc fix.
9161
9162 * info.el (dframe-select-attached-frame, dframe-current-frame):
9163 Declare.
9164
9165 * speedbar.el (speedbar-message): Make it an obsolete alias.
9166 Update all callers.
9167 (speedbar-with-attached-buffer)
9168 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9169 (speedbar-with-writable): Use backquote.
9170 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9171 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9172 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9173 rather than speedbar- aliases.
9174 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9175 (speedbar-make-specialized-keymap, speedbar-insert-button)
9176 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9177 (speedbar-do-function-pointer): Declare.
9178 (rmail-speedbar-button, rmail-speedbar-find-file)
9179 (rmail-speedbar-move-message):
9180 Use dframe-with-attached-buffer rather than speedbar- alias.
9181 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9182 (dframe-message, speedbar-make-specialized-keymap)
9183 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9184 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9185 (speedbar-insert-button, dframe-select-attached-frame)
9186 (dframe-maybee-jump-to-attached-frame)
9187 (speedbar-change-initial-expansion-list)
9188 (speedbar-previously-used-expansion-list-name): Declare.
9189 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9190 Use dframe-message, dframe-with-attached-buffer rather than
9191 speedbar- aliases.
9192 (gud-sentinel): Silence compiler.
9193 * progmodes/vhdl-mode.el (speedbar-refresh)
9194 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9195 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9196 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9197 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9198 (speedbar-file-lists, speedbar-make-tag-line)
9199 (speedbar-line-directory, speedbar-goto-this-file)
9200 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9201 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9202 (speedbar-make-button, speedbar-reset-scanners)
9203 (speedbar-files-item-info, speedbar-line-text)
9204 (speedbar-find-file-in-frame, speedbar-set-timer)
9205 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9206 (speedbar-with-writable): Do not (re)define it.
9207 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9208 rather than speedbar- alias.
9209
9210 2013-05-21 Leo Liu <sdl.web@gmail.com>
9211
9212 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9213 menu items.
9214 (octave-mode): Tweak fill-nobreak-predicate.
9215 (inferior-octave-startup): Check process to avoid infinite loop.
9216 (inferior-octave): Pop to buffer first to show abornmal process
9217 exit information.
9218
9219 2013-05-21 Glenn Morris <rgm@gnu.org>
9220
9221 * printing.el (pr-menu-bar): Define when compiling.
9222
9223 2013-05-21 Leo Liu <sdl.web@gmail.com>
9224
9225 * progmodes/octave.el (octave-auto-fill): Remove.
9226 (octave-indent-new-comment-line): Improve.
9227 (octave-mode): Use auto fill mode through
9228 comment-line-break-function and fill-nobreak-predicate.
9229 (octave-goto-function-definition): Support DEFUN_DLD.
9230 (octave-beginning-of-defun): Small tweak.
9231 (octave-help): Show parent directory.
9232
9233 2013-05-21 Glenn Morris <rgm@gnu.org>
9234
9235 * files.el (dired-unmark):
9236 * progmodes/gud.el (gdb-input): Update declarations.
9237
9238 * calculator.el (electric, ehelp): No need to load when compiling.
9239 (Electric-command-loop, electric-describe-mode): Declare.
9240
9241 * doc-view.el (doc-view-current-converter-processes): Move before use.
9242
9243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9244 Move MODE-set-explicitly definition before use.
9245
9246 * international/mule-diag.el (mule-diag):
9247 Don't use obsolete window-system-version.
9248
9249 * mail/feedmail.el (smtpmail): No need to load when compiling.
9250 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9251
9252 * mail/mail-utils.el (rfc822): No need to load when compiling.
9253 (rfc822-addresses): Autoload it.
9254 (mail-strip-quoted-names): Trivial simplification.
9255
9256 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9257 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9258
9259 * net/snmp-mode.el (tempo): Don't duplicate requires.
9260
9261 * progmodes/prolog.el (info): No need to load when compiling.
9262 (comint): Require before shell requires it.
9263 (Info-goto-node): Autoload it.
9264 (Info-follow-nearest-node): Declare.
9265 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9266
9267 * textmodes/artist.el (picture-mode-exit): Declare.
9268
9269 * textmodes/reftex-parse.el (reftex-parse-from-file):
9270 Trivial rewrite so the compiler can parse it better.
9271
9272 2013-05-20 Leo Liu <sdl.web@gmail.com>
9273
9274 * progmodes/octave.el (octave-help-mode-map)
9275 (octave-help-mode-finish-hook): New variables.
9276 (octave-help-mode, octave-help-mode-finish): New functions.
9277 (octave-help): Use octave-help-mode.
9278
9279 2013-05-20 Glenn Morris <rgm@gnu.org>
9280
9281 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9282
9283 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9284
9285 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9286 start at point, so that expansion starting right after opening
9287 slash in a regexp is recognized.
9288 (ruby-syntax-before-regexp-re): New defvar, extracted from
9289 ruby-syntax-propertize-function. Since the value of this regexp
9290 is looked up at runtime now, we should be able to turn
9291 `ruby-syntax-methods-before-regexp' into a defcustom later.
9292 (ruby-syntax-propertize-function): Split regexp matching into two
9293 parts, for opening and closing slashes. That allows us to skip
9294 over string interpolations and support multiline regexps.
9295 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9296 for them, which calls `ruby-syntax-propertize-expansion'.
9297 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9298 call to `ruby-syntax-propertize-function'.
9299 (ruby-syntax-propertize-expansion): Extracted from
9300 `ruby-syntax-propertize-expansions'. Handles one expansion.
9301 (ruby-syntax-propertize-percent-literal): Leave point right after
9302 the percent symbol, so that the expression expansion rule can
9303 propertize the contents.
9304 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9305 heredoc openers.
9306 (ruby-syntax-propertize-expansions): Remove.
9307
9308 2013-05-18 Juri Linkov <juri@jurta.org>
9309
9310 * man.el (Man-default-man-entry): Remove `-' from the end
9311 of the default value. (Bug#14400)
9312
9313 2013-05-18 Glenn Morris <rgm@gnu.org>
9314
9315 * comint.el (comint-password-prompt-regexp):
9316 Allow "password for XXX" where XXX contains colons (eg https://...).
9317
9318 2013-05-18 Leo Liu <sdl.web@gmail.com>
9319
9320 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9321 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9322 (octave-source-directories): Don't check process.
9323 (octave-source-directories, octave-find-definition): Doc fix.
9324
9325 2013-05-18 Glenn Morris <rgm@gnu.org>
9326
9327 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9328 Remove backspace/delete bindings. (Bug#14392)
9329
9330 * cus-dep.el (custom-make-dependencies): Sort the output.
9331 (custom-versions-load-alist): Convert comment to doc.
9332
9333 2013-05-17 Leo Liu <sdl.web@gmail.com>
9334
9335 * newcomment.el (comment-search-backward): Stricter in finding
9336 comment start. (Bug#14303)
9337
9338 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9339 (octave-comment-start-skip): Properly anchored.
9340
9341 2013-05-17 Leo Liu <sdl.web@gmail.com>
9342
9343 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9344 Clean up when turned off. (Bug#14395)
9345 (smie--highlight-matching-block-overlay): No longer buffer-local.
9346 (smie-highlight-matching-block): Adjust.
9347
9348 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9349
9350 Doc string fix for "nanoseconds" (Bug#14406).
9351 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9352 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9353
9354 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9355
9356 * calc/calc-units.el (math-extract-units): Preserve powers
9357 of units.
9358
9359 2013-05-17 Leo Liu <sdl.web@gmail.com>
9360
9361 * subr.el (delete-consecutive-dups): New function.
9362 * ido.el (ido-set-matches-1): Use it.
9363 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9364 * ido.el (ido-remove-consecutive-dups): Remove.
9365
9366 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9369 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9370 regexp-opt's `words'.
9371
9372 2013-05-16 Leo Liu <sdl.web@gmail.com>
9373
9374 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9375 (smie--highlight-matching-block-overlay)
9376 (smie--highlight-matching-block-lastpos)
9377 (smie--highlight-matching-block-timer): New variables.
9378 (smie-highlight-matching-block): New function.
9379 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9380 (smie-setup): Conditionally enable smie-blink-matching-open.
9381
9382 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9383
9384 Sync with upstream verilog-mode r840.
9385 * progmodes/verilog-mode.el (verilog-mode-version)
9386 (verilog-mode-release-date): Update.
9387 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9388 (verilog-sig-tieoff): Fix string error on
9389 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9390 (verilog-read-decls): Fix parameters confusing
9391 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9392
9393 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9394
9395 * subr.el (reveal-filename): New function.
9396
9397 * loadup.el: Compute Emacs executable versions on MS-Windows,
9398 where executables have the .exe extension. Add a hard link
9399 emacs-XX.YY.ZZ.exe on MS-Windows.
9400
9401 * Makefile.in (XARGS_LIMIT): New variable.
9402 (custom-deps, finder-data, autoloads)
9403 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9404 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9405 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9406 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9407
9408 2013-05-16 Leo Liu <sdl.web@gmail.com>
9409
9410 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9411 (octave-mode-menu, octave-mode-map): Remove its uses.
9412
9413 2013-05-16 Reto Zimmermann <reto@gnu.org>
9414
9415 Sync with upstream vhdl mode v3.34.2.
9416 * progmodes/vhdl-mode.el: Use `push' throughout.
9417 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9418 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9419 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9420 (vhdl-actual-generic-name): New option to derive actual generic name.
9421 (vhdl-port-paste-signals): Replace formal by actual generics.
9422 (vhdl-beautify): New name for old group vhdl-align. Update users.
9423 (vhdl-beautify-options): New option.
9424 (vhdl-last-input-event): New compat alias. Use throughout.
9425 (vhdl-goto-line): Replace user level function `goto-line'.
9426 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9427 vhdl-fix-statement-buffer.
9428 (vhdl-create-mode-menu): Add some entries.
9429 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9430 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9431 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9432 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9433 to force statements on one line.
9434 (vhdl-remove-trailing-spaces-region):
9435 New, split from vhdl-remove-trailing-spaces.
9436 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9437 Respect vhdl-beautify-options.
9438 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9439 (vhdl-update-sensitivity-list): Not add with index if exists without.
9440 Not include array index with signal. Ignore keywords in comments.
9441 (vhdl-get-visible-signals): Regexp tweaks.
9442 (vhdl-template-component-inst): Handle empty library.
9443 (vhdl-template-type): Add template for 'enum' type.
9444 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9445 Use vhdl-replace-string.
9446 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9447 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9448 (vhdl-speedbar-initialize): Update for above name change.
9449 (vhdl-compose-wire-components): Fix in handling of constants.
9450 (vhdl-error-regexp-emacs-alist): New variable.
9451 (vhdl-error-regexp-add-emacs): New function;
9452 adds support for new compile.el (Emacs 22+)
9453 (vhdl-generate-makefile-1): Change target order for single lib. units.
9454 Allow use of absolute file names.
9455
9456 2013-05-16 Leo Liu <sdl.web@gmail.com>
9457
9458 * simple.el (prog-indent-sexp): Indent enclosing defun.
9459
9460 2013-05-15 Glenn Morris <rgm@gnu.org>
9461
9462 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9463 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9464 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9465 (whitespace-highlight): Move to whitespace group.
9466
9467 * comint.el (comint-source):
9468 * pcmpl-linux.el (pcmpl-linux):
9469 * shell.el (shell-faces):
9470 * eshell/esh-opt.el (eshell-opt):
9471 * international/ccl.el (ccl): Remove empty custom groups.
9472
9473 * completion.el (dynamic-completion-mode):
9474 * jit-lock.el (jit-lock-debug-mode):
9475 * minibuffer.el (completion-in-region-mode):
9476 * type-break.el (type-break-mode-line-message-mode)
9477 (type-break-query-mode):
9478 * emulation/tpu-edt.el (tpu-edt-mode):
9479 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9480 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9481 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9482
9483 * term/xterm.el (xterm): Change parent group to terminals.
9484
9485 * master.el (master): Remove empty custom group.
9486 (master-mode): Remove unused :group argument.
9487 * textmodes/refill.el (refill): Remove empty custom group.
9488 (refill-mode): Remove unused :group argument.
9489
9490 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9491
9492 * cus-dep.el: Provide a feature.
9493 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9494 Don't mistakenly ignore files whose basenames match a basename
9495 from preloaded-file-list (eg cedet/ede/simple.el).
9496 Add a fallback method for getting :group.
9497
9498 2013-05-15 Juri Linkov <juri@jurta.org>
9499
9500 * isearch.el (isearch-char-by-name): Rename from
9501 `isearch-insert-char-by-name'. Doc fix.
9502 (isearch-forward): Mention `isearch-char-by-name' in
9503 the docstring. (Bug#13348)
9504
9505 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9506 `exit-minibuffer' instead of
9507 `isearch-nonincremental-exit-minibuffer'.
9508 (isearch-edit-string): Remove mention of
9509 `isearch-nonincremental-exit-minibuffer' from docstring.
9510 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9511 (isearch-forward-exit-minibuffer)
9512 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9513
9514 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * loadup.el: Just use unversioned DOC.
9517
9518 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9519 literals as extending to EOB.
9520 (nxml-last-fontify-end): Remove unused variable.
9521 (nxml-after-change1): Use with-silent-modifications.
9522 (nxml-extend-after-change-region): Simplify.
9523 (nxml-extend-after-change-region1): Remove function.
9524 (nxml-after-change1): Don't adjust for dependent regions.
9525 (nxml-fontify-matcher): Simplify.
9526 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9527 (xmltok-add-dependent): Remove function.
9528 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9529 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9530 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9531 unclosed <[[, <?, comment, and other literals as extending to EOB.
9532 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9533 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9534 Remove functions.
9535 (rng-do-some-validation-1): Don't mark dependent regions.
9536 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9537 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9538 (nxml-clear-dependent-regions): Remove functions.
9539 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9540 (nxml-ensure-scan-up-to-date):
9541 Don't clear&mark dependent regions.
9542
9543 2013-05-15 Leo Liu <sdl.web@gmail.com>
9544
9545 * progmodes/octave.el (octave-goto-function-definition):
9546 Improve and fix callers.
9547
9548 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9551 the setter (bug#14387).
9552
9553 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9554 surrounding group (bug#14402).
9555
9556 2013-05-14 Juri Linkov <juri@jurta.org>
9557
9558 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9559 (Bug#14390)
9560
9561 2013-05-14 Glenn Morris <rgm@gnu.org>
9562
9563 * progmodes/f90.el (f90-imenu-generic-expression):
9564 Fix typo in 2013-05-08 change. (Bug#14402)
9565
9566 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9567
9568 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9569 Remove signals for which replies are never received.
9570
9571 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9572
9573 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9574 (gdb-handler-alist, gdb-handler-number): Remove variables.
9575 (gdb-handler-list): New variable.
9576 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9577 (gdb-pending-handler-p, gdb-handle-reply)
9578 (gdb-remove-all-pending-triggers): New functions.
9579 (gdb-discard-unordered-replies): New defcustom.
9580 (gdb-handler): New defstruct.
9581 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9582 instead of gdb-pending-triggers. Update docstring.
9583 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9584 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9585 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9586 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9587 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9588 (gdb-frame-handler): Pending triggers are now automatically managed.
9589 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9590 Remove argument.
9591 (gdb-input): Automatically handles pending triggers. Update docstring.
9592 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9593 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9594 Update comments.
9595 (gdb-done-or-error): Now use gdb-handle-reply.
9596
9597 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9598
9599 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9600 gdb-debug-log.
9601
9602 2013-05-14 Glenn Morris <rgm@gnu.org>
9603
9604 * subr.el (user-emacs-directory-warning): New option.
9605 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9606
9607 2013-05-14 Leo Liu <sdl.web@gmail.com>
9608
9609 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9610 during redisplay.
9611 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9612 (octave-font-lock-texinfo-comment): Fix invalid search bound
9613 error: wrong side of point.
9614
9615 2013-05-14 Glenn Morris <rgm@gnu.org>
9616
9617 * progmodes/flymake.el (flymake-xml-program): New option.
9618 (flymake-xml-init): Use it.
9619
9620 * term/xterm.el: Provide a feature.
9621
9622 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9623
9624 2013-05-13 Glenn Morris <rgm@gnu.org>
9625
9626 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9627 Add compat aliases as a hack workaround. (Bug#14384)
9628
9629 2013-05-13 Leo Liu <sdl.web@gmail.com>
9630
9631 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9632 ###, and %!.
9633 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9634 C-M-q.
9635 (octave-comment-start-skip): Include %!.
9636 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9637
9638 2013-05-12 Leo Liu <sdl.web@gmail.com>
9639
9640 * progmodes/octave.el (inferior-octave-startup): Store the value
9641 of __octave_srcdir__ for octave-source-directories.
9642 (inferior-octave-check-process): New function refactored out of
9643 inferior-octave-send-list-and-digest.
9644 (octave-source-directories)
9645 (octave-find-definition-filename-function): New variables.
9646 (octave-source-directories)
9647 (octave-find-definition-default-filename): New functions.
9648 (octave-find-definition): Improve to find functions implemented in C++.
9649
9650 2013-05-12 Glenn Morris <rgm@gnu.org>
9651
9652 * calendar/diary-lib.el (diary-outlook-format-1):
9653 Don't include dayname in the output. (Bug#14349)
9654
9655 2013-05-11 Glenn Morris <rgm@gnu.org>
9656
9657 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9658
9659 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9660 Treat cc-provide like provide.
9661
9662 2013-05-11 Kevin Ryde <user42@zip.com.au>
9663
9664 * cus-dep.el (custom-make-dependencies):
9665 Use generated-autoload-load-name for the sake of files such
9666 such cedet/semantic/bovine/c.el, where the base file name
9667 is not in load-path. (Bug#5277)
9668
9669 2013-05-11 Glenn Morris <rgm@gnu.org>
9670
9671 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9672 Provide features.
9673
9674 2013-05-11 Leo Liu <sdl.web@gmail.com>
9675
9676 * progmodes/octave.el (octave-indent-comment): Improve.
9677 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9678 (octave-eldoc-function-signatures, octave-eldoc-function):
9679 New functions.
9680 (octave-mode, inferior-octave-mode): Add eldoc support.
9681
9682 2013-05-11 Richard Stallman <rms@gnu.org>
9683
9684 * epa.el (epa-decrypt-file): Take output file name as argument
9685 and read it using `interactive'.
9686
9687 2013-05-11 Leo Liu <sdl.web@gmail.com>
9688
9689 * progmodes/octave.el (octave-beginning-of-line)
9690 (octave-end-of-line): Check before using up-list because it jumps
9691 out of more syntactic contructs since moving to smie.
9692 (octave-indent-comment): New function.
9693 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9694 (octave-begin-keywords, octave-end-keywords)
9695 (octave-reserved-words, octave-smie-bnf-table)
9696 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9697
9698 2013-05-11 Glenn Morris <rgm@gnu.org>
9699
9700 * faces.el (internal-face-x-get-resource):
9701 * frame.el (ns-display-monitor-attributes-list):
9702 * calc/calc-aent.el (math-to-radians-2):
9703 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9704 Fix declarations.
9705
9706 * calc/calc-menu.el: Make it loadable in isolation.
9707
9708 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9709 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9710 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9711 (eudc-bbdb-query-internal): Require 'bbdb.
9712
9713 * lpr.el (lpr-headers-switches):
9714 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9715
9716 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9717
9718 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9719
9720 * term.el (term-set-escape-char): Make it idempotent.
9721
9722 2013-05-10 Leo Liu <sdl.web@gmail.com>
9723
9724 * progmodes/octave.el (inferior-octave-completion-table):
9725 No longer a function and all uses changed. Use cache to speed up
9726 completion due to bug#11906.
9727 (octave-beginning-of-defun): Re-write to be more general.
9728
9729 2013-05-10 Glenn Morris <rgm@gnu.org>
9730
9731 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9732
9733 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * comint.el (comint-redirect-send-command-to-process): Use :around
9736 rather than :override for comint-redirect-filter.
9737 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9738 Call it instead of comint-redirect-original-filter-function (which
9739 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9740
9741 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9742
9743 * frame.el (display-monitor-attributes-list): Add NS case.
9744 (ns-display-monitor-attributes-list): Declare.
9745
9746 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9747
9748 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9749
9750 2013-05-09 Glenn Morris <rgm@gnu.org>
9751
9752 * international/fontset.el (vertical-centering-font-regexp):
9753 Set standard-value.
9754
9755 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9756
9757 * bookmark.el (bookmark-search-delay):
9758 * cus-start.el (vertical-centering-font-regexp):
9759 * ps-mule.el (ps-mule-font-info-database-default):
9760 * ps-print.el (ps-default-fg, ps-default-bg):
9761 * type-break.el (type-break-good-break-interval):
9762 * whitespace.el (whitespace-indentation-regexp)
9763 (whitespace-space-after-tab-regexp):
9764 * emacs-lisp/testcover.el (testcover-1value-functions)
9765 (testcover-noreturn-functions, testcover-progn-functions)
9766 (testcover-prog1-functions):
9767 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9768 * eshell/em-glob.el (eshell-glob-translate-alist):
9769 * play/tetris.el (tetris-tty-colors):
9770 * progmodes/cpp.el (cpp-face-default-list):
9771 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9772 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9773 (idlwave-help-browser-generic-args):
9774 * progmodes/make-mode.el (makefile-special-targets-list):
9775 * progmodes/python.el (python-shell-virtualenv-path):
9776 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9777 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9778 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9779 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9780 * textmodes/reftex-vars.el (reftex-format-label-function):
9781 * textmodes/remember.el (remember-diary-file): Fix custom types.
9782
9783 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9784 Add :version.
9785
9786 2013-05-09 Leo Liu <sdl.web@gmail.com>
9787
9788 * progmodes/octave.el (inferior-octave-completion-at-point):
9789 Restore file completion. (Bug#14300)
9790 (inferior-octave-startup): Fix incorrect highlighting for the
9791 first prompt.
9792
9793 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * progmodes/ruby-mode.el: First cut at SMIE support.
9796 (ruby-use-smie): New var.
9797 (ruby-smie-grammar): New constant.
9798 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9799 (ruby-smie--forward-token, ruby-smie--backward-token)
9800 (ruby-smie-rules): New functions.
9801 (ruby-mode-variables): Setup SMIE if applicable.
9802
9803 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9804
9805 * simple.el (line-move-visual): Signal beginning/end of buffer
9806 only if vertical-motion moved less than it was requested. Avoids
9807 silly incorrect error messages when there are display strings with
9808 multiple newlines at EOL.
9809
9810 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9813 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9814 (prolog-char-quote-workaround):
9815 * progmodes/cperl-mode.el (cperl-under-as-char):
9816 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9817 Mark as obsolete.
9818 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9819 their declaration.
9820 (vhdl-mode-syntax-table-init): Remove.
9821
9822 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9823 last change.
9824
9825 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9826 syntax for "_".
9827 (ld-script-font-lock-keywords):
9828 Change regexps to use things like \_< and \_>.
9829
9830 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9831 Change all regexps to use things like \_< and \_>.
9832
9833 * progmodes/autoconf.el (autoconf-definition-regexp)
9834 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9835 Handle a _ with symbol syntax.
9836 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9837
9838 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9839 Consolidate declaration.
9840 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9841 the declaration.
9842 (ada-create-syntax-table): Remove.
9843 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9844 already has the right syntax nowadays.
9845 (ada-goto-next-word): Don't change the syntax of "_".
9846
9847 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9848 with-wrapper-hook.
9849
9850 2013-05-08 Sam Steingold <sds@gnu.org>
9851
9852 * thingatpt.el (thing-at-point): Accept optional second argument
9853 NO-PROPERTIES to strip the text properties from the return value.
9854 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9855 to `thing-at-point' instead of stripping the properties ourselves.
9856 Also, when `thing-at-point' fails to find a url, prepend "http://"
9857 to the filename at point on the assumption that the user is
9858 pointing at something like gnu.org/gnu.
9859
9860 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9863 * faces.el (crm-separator):
9864 Silence byte-compiler.
9865
9866 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9867 (tool-bar-map): Remove unneeded defvars.
9868
9869 2013-05-08 Leo Liu <sdl.web@gmail.com>
9870
9871 Re-work a fix for bug#10994 based on Le Wang's patch.
9872 * ido.el (ido-remove-consecutive-dups): New helper.
9873 (ido-completing-read): Use it.
9874 (ido-chop): Revert fix for bug#10994.
9875
9876 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9877
9878 * cus-edit.el (custom-save-variables):
9879 Pretty-print long values. (Bug#14187)
9880
9881 2013-05-08 Glenn Morris <rgm@gnu.org>
9882
9883 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9884 (m4-mode-syntax-table): Init in the defvar.
9885 (m4-mode-abbrev-table): Let define-derived-mode define it.
9886
9887 2013-05-08 Tom Tromey <tromey@redhat.com>
9888
9889 * progmodes/m4-mode.el (m4-mode-syntax-table):
9890 Do not treat "_" as word constituent. (Bug#14167)
9891
9892 2013-05-07 Glenn Morris <rgm@gnu.org>
9893
9894 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9895 Remove explicit eshell-isearch-cancel-map.
9896
9897 * progmodes/f90.el (f90-smart-end-names): New option.
9898 (f90-smart-end): Doc fix.
9899 (f90-end-block-optional-name): New constant.
9900 (f90-block-match): Respect f90-smart-end-names.
9901
9902 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9905 about implicit semi-colons (bug#14218).
9906
9907 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9908
9909 * frame.el (display-monitor-attributes-list)
9910 (frame-monitor-attributes): New functions.
9911
9912 2013-05-06 Leo Liu <sdl.web@gmail.com>
9913
9914 * progmodes/octave.el (octave-syntax-propertize-function): Change
9915 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9916 (octave-font-lock-keywords): Use octave-operator-regexp.
9917 (octave-completion-at-point): Rename from
9918 octave-completion-at-point-function.
9919 (inferior-octave-directory-tracker): Robustify.
9920 (octave-text-functions): Remove and fix its uses. No such things
9921 any more.
9922
9923 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * emacs-lisp/trace.el (trace--display-buffer): New function.
9926 (trace-make-advice): Use it.
9927
9928 2013-05-06 Juri Linkov <juri@jurta.org>
9929
9930 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9931 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9932 Doc fix.
9933 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9934 in the help string. (Bug#12985)
9935
9936 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9937
9938 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9939
9940 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9941
9942 * progmodes/perl-mode.el: Add support for here documents.
9943 (perl-syntax-propertize-function): Match here-doc markers.
9944 (perl-syntax-propertize-special-constructs): Find their end.
9945 (perl-imenu-generic-expression): Use [:alnum:].
9946
9947 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9948 (advice--add-function): Refresh the advice if already present
9949 (bug#14317).
9950
9951 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9952
9953 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9954
9955 2013-05-06 Glenn Morris <rgm@gnu.org>
9956
9957 * w32-fns.el (w32-charset-info-alist): Declare.
9958
9959 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9960 of its defcustom properties.
9961 (eshell-cmpl-initialize): No need to load pcomplete.
9962
9963 * generic-x.el: No need to require comint when compiling.
9964
9965 * net/eudc-export.el: Make it loadable without bbdb.
9966 (top-level): Use require rather than load-library.
9967 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9968 (eudc-batch-export-records-to-bbdb)
9969 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9970 Require bbdb.
9971
9972 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9975 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9976 some tweaks, instead.
9977
9978 2013-05-05 Leo Liu <sdl.web@gmail.com>
9979
9980 * progmodes/octave.el (octave-font-lock-keywords)
9981 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9982 (inferior-octave-send-list-and-digest): Improve error message.
9983 (octave-mode, inferior-octave-mode): Use setq-local.
9984 (octave-help): Set info-lookup-mode.
9985
9986 2013-05-05 Richard Stallman <rms@gnu.org>
9987
9988 * vc/compare-w.el (compare-windows-whitespace):
9989 Treat no-break space as whitespace.
9990
9991 * mail/rmailsum.el (rmail-summary-rmail-update):
9992 Detect empty summary and don't change selected message.
9993 (rmail-summary-goto-msg): Likewise.
9994
9995 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9996 Doc fixes, rename args.
9997
9998 2013-05-05 Alan Mackenzie <acm@muc.de>
9999
10000 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10001
10002 2013-05-05 Juri Linkov <juri@jurta.org>
10003
10004 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10005 to not add the length of the summary segment to the return value.
10006 (Bug#14125)
10007
10008 2013-05-05 Leo Liu <sdl.web@gmail.com>
10009
10010 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10011 (inferior-octave-output-filter): Remove.
10012 (octave-send-region, inferior-octave-startup): Fix callers.
10013 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10014 (octave-binary-file-extensions): New user variable.
10015 (octave-find-definition): Confirm if opening binary files.
10016 (octave-help-file): Use octave-find-definition to get the binary
10017 confirmation.
10018 (octave-help): Adjust for octave-help-file change.
10019
10020 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10023 Merge the two entries that handle function definitions.
10024 (pascal--syntax-propertize): New const.
10025 (pascal-mode): Use it. Use setq-local.
10026
10027 2013-05-04 Glenn Morris <rgm@gnu.org>
10028
10029 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10030 (diary-from-outlook): Respect diary-from-outlook-function.
10031
10032 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10035 Move the declaration from C.
10036 (read-minibuffer, eval-minibuffer): Move from C.
10037 (completion-setup-function): Avoid minibuffer-completion-contents.
10038
10039 2013-05-03 Leo Liu <sdl.web@gmail.com>
10040
10041 * progmodes/octave.el (octave-font-lock-keywords): Do not
10042 dehighlight 'end' in comments or strings.
10043 (octave-completing-read, octave-goto-function-definition):
10044 New helpers.
10045 (octave-help-buffer): New user variable.
10046 (octave-help-file, octave-help-function): New button types.
10047 (octave-help): New command and bind it to C-h ;.
10048 (octave-find-definition): New command and bind it to M-.
10049 (user-error): Alias to error if not defined.
10050
10051 2013-05-02 Leo Liu <sdl.web@gmail.com>
10052
10053 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10054 for \. (bug#14332)
10055 (octave-font-lock-keywords): Include [ and {.
10056
10057 2013-05-02 Leo Liu <sdl.web@gmail.com>
10058
10059 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10060 (inferior-octave): Remove calling comint-mode and return the buffer.
10061 (inferior-octave-startup): Cosmetic changes.
10062
10063 2013-05-02 Leo Liu <sdl.web@gmail.com>
10064
10065 * progmodes/octave.el (octave-syntax-propertize-function):
10066 Include the case when ' is at line beginning. (Bug#14336)
10067
10068 2013-05-02 Glenn Morris <rgm@gnu.org>
10069
10070 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10071 * desktop.el (vc-dir-mode): Just autoload it here.
10072
10073 2013-05-02 Alan Mackenzie <acm@muc.de>
10074
10075 Eliminate variable c-standard-font-lock-fontify-region-function.
10076 * progmodes/cc-mode.el
10077 (c-standard-font-lock-fontify-region-function): Remove.
10078 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10079
10080 2013-05-01 Leo Liu <sdl.web@gmail.com>
10081
10082 * progmodes/octave.el: Compatible with older emacs-24 releases.
10083 (inferior-octave-has-built-in-variables): Remove. Built-in
10084 variables were removed from Octave in 2007.
10085 (inferior-octave-startup): Fix uses.
10086 (comint-line-beginning-position): Remove compatibility code for
10087 emacs 21.
10088
10089 2013-05-01 Juri Linkov <juri@jurta.org>
10090
10091 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10092
10093 2013-05-01 Juri Linkov <juri@jurta.org>
10094
10095 * comint.el (comint-previous-matching-input): Don't print message
10096 "History item: %d" when `isearch-mode' is active.
10097 (comint-history-isearch-message): Print message "History item: %d"
10098 when `comint-input-ring-index' is not empty and this function is
10099 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10100
10101 2013-05-01 Leo Liu <sdl.web@gmail.com>
10102
10103 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10104 definitions. Use completion-at-point to insert keywords.
10105 (octave-abbrev-start): Remove.
10106 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10107
10108 2013-04-30 Leo Liu <sdl.web@gmail.com>
10109
10110 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10111 change.
10112
10113 2013-04-30 Alan Mackenzie <acm@muc.de>
10114
10115 Handle arbitrarily long C++ member initialisation lists.
10116 * progmodes/cc-engine.el (c-back-over-member-initializers):
10117 new function.
10118 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10119 (most) member init lists.
10120
10121 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10122
10123 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10124 variable.
10125
10126 2013-04-30 Leo Liu <sdl.web@gmail.com>
10127
10128 * progmodes/octave.el (octave-variables): Remove. No builtin
10129 variables any more. All converted to functions.
10130 (octave-font-lock-keywords, octave-completion-at-point-function):
10131 Fix uses.
10132 (octave-font-lock-texinfo-comment): New user variable.
10133 (octave-texinfo-font-lock-keywords): New variable for texinfo
10134 comment block.
10135 (octave-function-comment-block): New face.
10136 (octave-font-lock-texinfo-comment): New function.
10137 (octave-mode): Font lock texinfo comment block.
10138
10139 2013-04-29 Leo Liu <sdl.web@gmail.com>
10140
10141 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10142 indexing expression.
10143 (octave-continuation-string): Do not use \.
10144 (inferior-octave-complete-impossible): Remove.
10145 (inferior-octave-completion-table)
10146 (inferior-octave-completion-at-point): Remove its uses.
10147 (inferior-octave-startup): completion_matches was introduced to
10148 Octave in 1996 so safe to assume it.
10149 (octave-function-file-comment): Improve to follow how Octave does it.
10150 (octave-update-function-file-comment): Tweak.
10151
10152 2013-04-29 Leo Liu <sdl.web@gmail.com>
10153
10154 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10155 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10156 (octave-function-file-comment): Fix typo.
10157 (octave-sync-function-file-names): Use read-char-choice.
10158
10159 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10160
10161 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10162 to t for the less important warnings.
10163
10164 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10165
10166 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10167
10168 2013-04-27 Glenn Morris <rgm@gnu.org>
10169
10170 * vc/log-view.el (log-view-current-entry):
10171 Treat "---" separator lines as part of the following rev. (Bug#14169)
10172
10173 2013-04-27 Juri Linkov <juri@jurta.org>
10174
10175 * subr.el (read-number): Doc fix about using it by interactive
10176 code letter `n'. (Bug#14254)
10177
10178 2013-04-27 Juri Linkov <juri@jurta.org>
10179
10180 * desktop.el (desktop-auto-save-timeout): New option.
10181 (desktop-file-checksum): New variable.
10182 (desktop-save): Add optional arg `auto-save' and don't auto-save
10183 if nothing changed.
10184 (desktop-auto-save-timer): New variable.
10185 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10186 (after-init-hook): Call `desktop-auto-save-set-timer'.
10187 Suggested by Reuben Thomas <rrt@sc3d.org> in
10188 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10189
10190 2013-04-27 Leo Liu <sdl.web@gmail.com>
10191
10192 * progmodes/octave.el (octave-function-file-p)
10193 (octave-skip-comment-forward, octave-function-file-comment)
10194 (octave-update-function-file-comment): New functions.
10195 (octave-mode-map): Bind C-c ; to
10196 octave-update-function-file-comment.
10197 (octave-mode-menu): Add octave-update-function-file-comment.
10198 (octave-mode, inferior-octave-mode): Fix doc-string.
10199 (octave-insert-defun): Conform to Octave's coding convention.
10200 (Bug#14285)
10201
10202 * files.el (basic-save-buffer): Don't let errors in
10203 before-save-hook prevent saving buffer.
10204
10205 2013-04-20 Roland Winkler <winkler@gnu.org>
10206
10207 * faces.el (read-face-name): Use completing-read if arg multiple
10208 is nil.
10209
10210 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10211
10212 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10213 displayed, move point to after the totals line.
10214 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10215 for the details.
10216
10217 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10220 Add current dir to the load-path.
10221 (package-generate-autoloads): Don't rely on
10222 autoload-ensure-default-file.
10223
10224 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10225
10226 * textmodes/remember.el (remember-store-in-files): Document that
10227 the file name format is passed to `format-time-string'.
10228
10229 2013-04-26 Leo Liu <sdl.web@gmail.com>
10230
10231 * progmodes/octave.el (octave-sync-function-file-names): New function.
10232 (octave-mode): Use it in before-save-hook.
10233
10234 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10237 (bug#14274).
10238
10239 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10240 \n and comment, even if it's not an implicit ; (bug#14218).
10241
10242 2013-04-26 Glenn Morris <rgm@gnu.org>
10243
10244 * subr.el (read-number): Once more use `read' rather than
10245 `string-to-number', to trap non-numeric input. (Bug#14254)
10246
10247 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10248
10249 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10250 Use `syntax-multiline' text property consistently instead of
10251 `font-lock-multiline'. (Bug#14237)
10252
10253 2013-04-26 Glenn Morris <rgm@gnu.org>
10254
10255 * emacs-lisp/shadow.el (list-load-path-shadows):
10256 No longer necessary to check for duplicate simple.el, since
10257 2012-07-07 change to init_lread to not include installation lisp
10258 directories in load-path when running uninstalled. (Bug#14270)
10259
10260 2013-04-26 Leo Liu <sdl.web@gmail.com>
10261
10262 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10263 (octave-mode, inferior-octave-mode): Use setq-local.
10264 (octave-not-in-string-or-comment-p): Rename to
10265 octave-in-string-or-comment-p.
10266 (octave-in-comment-p, octave-in-string-p)
10267 (octave-in-string-or-comment-p): Replace defsubst with defun.
10268
10269 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10270
10271 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10272
10273 2013-04-25 Bastien Guerry <bzg@gnu.org>
10274
10275 * textmodes/remember.el (remember-data-directory)
10276 (remember-directory-file-name-format): Fix custom types.
10277
10278 2013-04-25 Leo Liu <sdl.web@gmail.com>
10279
10280 * progmodes/octave.el (octave-completion-at-point-function):
10281 Make use of inferior octave process.
10282 (octave-initialize-completions): Remove.
10283 (inferior-octave-completion-table): New function.
10284 (inferior-octave-completion-at-point): Use it.
10285 (octave-completion-alist): Remove.
10286
10287 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10290 (opascal-mode-syntax-table): New var.
10291 (opascal-literal-kind, opascal-is-literal-end)
10292 (opascal-literal-token-at): Rewrite.
10293 (opascal--literal-start-re, opascal-font-lock-keywords)
10294 (opascal--syntax-propertize): New constants.
10295 (opascal-font-lock-defaults): Adjust.
10296 (opascal-mode): Use them. Set comment-<foo> variables as well.
10297 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10298 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10299 (delphi-other-face, opascal-other-face): Remove face variables.
10300 (opascal-save-state): Remove macro.
10301 (opascal-fontifying-progress-step): Remove constant.
10302 (opascal--ignore-changes): Remove var.
10303 (opascal-set-token-property, opascal-parse-next-literal)
10304 (opascal-is-stable-literal, opascal-complete-literal)
10305 (opascal-is-literal-start, opascal-face-of)
10306 (opascal-parse-region, opascal-parse-region-until-stable)
10307 (opascal-fontify-region, opascal-after-change)
10308 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10309 (opascal-debug-parse-region, opascal-debug-parse-window)
10310 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10311 (opascal-debug-fontify-buffer): Remove.
10312 (opascal-debug-mode-map): Adjust accordingly.
10313
10314 2013-04-25 Leo Liu <sdl.web@gmail.com>
10315
10316 Merge octave-mod.el and octave-inf.el into octave.el with some
10317 cleanups.
10318 * progmodes/octave.el: New file renamed from octave-mod.el.
10319 * progmodes/octave-inf.el: Merged into octave.el.
10320 * progmodes/octave-mod.el: Renamed to octave.el.
10321
10322 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10323
10324 * textmodes/reftex-vars.el
10325 (reftex-label-ignored-macros-and-environments): New defcustom.
10326
10327 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10328
10329 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10332 (smie-indent-keyword): Improve the check to ensure that the next
10333 comment is really on the same line.
10334 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10335
10336 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10337 semi-colons if the line is not otherwise empty (bug#14218).
10338
10339 2013-04-25 Glenn Morris <rgm@gnu.org>
10340
10341 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10342
10343 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 * progmodes/opascal.el (opascal-set-token-property): Rename from
10346 opascal-set-text-properties and only set `token' (bug#14134).
10347 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10348 (opascal-literal-text-properties): Remove.
10349 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10350 Adjust callers.
10351
10352 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10353
10354 * textmodes/remember.el (remember-handler-functions): Add an
10355 option for a new handler `remember-store-in-files'.
10356 (remember-data-directory, remember-directory-file-name-format):
10357 New options.
10358 (remember-store-in-files): New function to store remember notes
10359 as separate files within a directory.
10360
10361 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10362
10363 * progmodes/compile.el (compilation-next-error-function):
10364 Pass "formats" to compilation-find-file (bug#11777).
10365
10366 2013-04-24 Glenn Morris <rgm@gnu.org>
10367
10368 * vc/vc-bzr.el (vc-bzr-print-log):
10369 * vc/vc-hg.el (vc-hg-print-log):
10370 * vc/vc-svn.el (vc-svn-print-log):
10371 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10372
10373 * vc/vc-bzr.el (vc-bzr-print-log):
10374 * vc/vc-cvs.el (vc-cvs-print-log):
10375 * vc/vc-git.el (vc-git-print-log):
10376 * vc/vc-hg.el (vc-hg-print-log):
10377 * vc/vc-mtn.el (vc-mtn-print-log):
10378 * vc/vc-rcs.el (vc-rcs-print-log):
10379 * vc/vc-sccs.el (vc-sccs-print-log):
10380 * vc/vc-svn.el (vc-svn-print-log):
10381 * vc/vc.el (vc-print-log-internal): Doc fixes.
10382
10383 2013-04-23 Glenn Morris <rgm@gnu.org>
10384
10385 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10386 Remove venerable code attempting to avoid substitute-command-keys.
10387
10388 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10389
10390 * textmodes/reftex-vars.el (reftex-label-regexps):
10391 Call `reftex-compile-variables' after changes to this variable.
10392
10393 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10396 Use lexical-binding.
10397 (jit-lock-force-redisplay): Use markers, check buffer's continued
10398 existence and beware narrowed buffers.
10399 (jit-lock-fontify-now): Adjust call accordingly.
10400
10401 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10404 to avoid misleading the user.
10405
10406 2013-04-22 Leo Liu <sdl.web@gmail.com>
10407
10408 * info-look.el: Prefer latex2e.info. (Bug#14240)
10409
10410 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10411
10412 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10413
10414 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10415 * net/tramp.el (tramp-call-process): ... here.
10416 (tramp-set-completion-function, tramp-parse-putty):
10417 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10418 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10419 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10420 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10421 (tramp-call-local-coding-command): Use `tramp-call-process'
10422 instead of `tramp-compat-call-process'.
10423
10424 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10425 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10426 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10427 (tramp-find-inline-compress): Improve traces.
10428 (tramp-maybe-send-script): Check for Perl binary.
10429 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10430
10431 2013-04-22 Daiki Ueno <ueno@gnu.org>
10432
10433 * epg.el (epg-context-pinentry-mode): New function.
10434 (epg-context-set-pinentry-mode): New function.
10435 (epg--start): Pass --pinentry-mode option to gpg command.
10436
10437 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10438
10439 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10440 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10441 `completion-at-point'. (Bug#13774)
10442
10443 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10444 default key binding for `describe-distribution' has been moved to
10445 `C-h C-o'. (Bug#13970)
10446
10447 2013-04-21 Glenn Morris <rgm@gnu.org>
10448
10449 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10450 Add doc strings.
10451 (vc-print-log): Clarify interactive prompt.
10452
10453 2013-04-20 Glenn Morris <rgm@gnu.org>
10454
10455 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10456 No longer include timestamp etc information.
10457
10458 2013-04-20 Roland Winkler <winkler@gnu.org>
10459
10460 * faces.el (read-face-name): Bug fix, return just one face if arg
10461 multiple is nil. (Bug#14209)
10462
10463 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10466 (remove-function): Autoload.
10467
10468 * comint.el (comint-redirect-original-filter-function): Remove.
10469 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10470 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10471 (vc-cvs-annotate-command):
10472 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10473 * progmodes/prolog.el (prolog-consult-compile):
10474 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10475 Use add/remove-function instead.
10476 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10477 (gud-tooltip-process-output, gud-tooltip-tips):
10478 Use add/remove-function instead.
10479 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10480 (scheme-interaction-mode, exit-scheme-interaction-mode):
10481 Use add/remove-function instead.
10482
10483 * vc/vc-dispatcher.el: Use lexical-binding.
10484 (vc--process-sentinel): Rename from vc-process-sentinel.
10485 Change last arg to be the code to run. Don't use vc-previous-sentinel
10486 and vc-sentinel-commands any more.
10487 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10488 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10489
10490 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10491
10492 * progmodes/sh-script.el (sh-imenu-generic-expression):
10493 Handle function names with a single character. (Bug#14111)
10494
10495 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10496
10497 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10498 for subroutines defined in an eval (bug#14182).
10499
10500 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10501
10502 * bookmark.el (bookmark-completing-read): Improve handling of empty
10503 string (bug#14176).
10504
10505 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10508
10509 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10510
10511 New faster Imenu implementation (bug#14058).
10512 * progmodes/python.el:
10513 (python-imenu-prev-index-position):
10514 (python-imenu-format-item-label-function)
10515 (python-imenu-format-parent-item-label-function)
10516 (python-imenu-format-parent-item-jump-label-function):
10517 New vars.
10518 (python-imenu-format-item-label)
10519 (python-imenu-format-parent-item-label)
10520 (python-imenu-format-parent-item-jump-label)
10521 (python-imenu--put-parent, python-imenu--build-tree)
10522 (python-imenu-create-index, python-imenu-create-flat-index)
10523 (python-util-popn): New functions.
10524 (python-mode): Set imenu-create-index-function to
10525 python-imenu-create-index.
10526
10527 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * winner.el (winner-active-region): Use region-active-p, activate-mark
10530 and deactivate-mark (bug#14225).
10531
10532 * simple.el (deactivate-mark): Don't inline it.
10533
10534 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10537
10538 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10539
10540 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10541 file extensions from the archive-mode entry in order to prefer
10542 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10543
10544 2013-04-18 Leo Liu <sdl.web@gmail.com>
10545
10546 * bindings.el (help-event-list): Add ?\?.
10547
10548 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * subr.el (with-wrapper-hook): Declare obsolete.
10551 * simple.el (filter-buffer-substring-function): New hook.
10552 (filter-buffer-substring): Use it.
10553 (filter-buffer-substring-functions): Mark obsolete.
10554 * minibuffer.el (completion-in-region-function): New hook.
10555 (completion-in-region): Use it.
10556 (completion-in-region-functions): Mark obsolete.
10557 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10558 * abbrev.el (abbrev-expand-function): New hook.
10559 (expand-abbrev): Use it.
10560 (abbrev-expand-functions): Mark obsolete.
10561 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10562 and :filter-return.
10563
10564 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10565
10566 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10567 and do not care about match data.
10568
10569 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10572 completion tables when completing error conditions and
10573 `declare' arguments.
10574 (lisp-complete-symbol, field-complete): Mark as obsolete.
10575 (check-parens): Unmatched parens are user errors.
10576 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10577
10578 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10579
10580 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10581 command changed buffer (ie. `flyspell-pre-buffer' is not current
10582 buffer), which prevents making decisions based on invalid value of
10583 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10584 cause an error when `flyspell-pre-point' was nil after switching
10585 buffers.
10586 (flyspell-post-command-hook): No longer needs to change buffers when
10587 checking pre-word. While at it remove unnecessary progn.
10588
10589 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10590
10591 * textmodes/ispell.el (ispell-add-per-file-word-list):
10592 Fix `flyspell-correct-word-before-point' error when accepting
10593 words and `coment-padding' is an integer by using
10594 `comment-normalize-vars' (Bug #14214).
10595
10596 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10597
10598 New defun movement commands.
10599 * progmodes/python.el (python-nav--syntactically)
10600 (python-nav--forward-defun, python-nav-backward-defun)
10601 (python-nav-forward-defun): New functions.
10602
10603 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10604
10605 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10606 (python-syntax-context): Use named compiler-macro for backwards
10607 compatibility with Emacs 24.x.
10608
10609 2013-04-17 Leo Liu <sdl.web@gmail.com>
10610
10611 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10612 octave-hide-process-buffer.
10613
10614 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10617 (bug#14216).
10618
10619 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10620
10621 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10622 Fix adjustment of offset when receiving incomplete responses from GDB
10623 (bug#14129).
10624
10625 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10626
10627 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10628 python-mode-abbrev-table.
10629 (python-skeleton-define): Adjust accordingly.
10630 (python-mode-abbrev-table): New table that inherits from it so that
10631 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10632
10633 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10634 (abbrev-symbol): Use it.
10635 (abbrev--before-point): Use it since we already handle inheritance.
10636
10637 2013-04-16 Leo Liu <sdl.web@gmail.com>
10638
10639 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10640 binding to info-lookup-symbol.
10641
10642 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10643
10644 * minibuffer.el (completion--twq-all):
10645 * term/ns-win.el (ns-initialize-window-system):
10646 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10647
10648 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10651 global bindings.
10652
10653 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10654
10655 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10656
10657 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10658 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10659 to nil.
10660 (ruby-end-of-defun): Remove the unused arg, change the docstring
10661 to reflect that this function is only used as the value of
10662 `end-of-defun-function'.
10663 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10664 to reflect an earlier change that beginning/end-of-defun functions
10665 jump between methods in a class definition, as well as top-level
10666 functions.
10667
10668 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * minibuffer.el (minibuffer-complete): Don't just scroll
10671 a *Completions* that's been iconified.
10672 (minibuffer-force-complete): Make sure repetitions do cycle when going
10673 through completion-in-region -> minibuffer-complete.
10674
10675 2013-04-15 Alan Mackenzie <acm@muc.de>
10676
10677 Correct the placement of c-cpp-delimiters when there're #s not at
10678 col 0.
10679
10680 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10681 place a submatch around the #.
10682 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10683 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10684 on the #, not BOL.
10685
10686 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10689 (advice--member-p): New arg `name'.
10690 (advice--add-function, advice-member-p): Use it (bug#14202).
10691
10692 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10693
10694 Reformulate java imenu-generic-expression.
10695 The old expression contained ill formed regexps.
10696
10697 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10698 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10699 (cc-imenu-java-method-arg-regexp): New defconsts.
10700 (cc-imenu-java-build-type-args-regex): New defun.
10701 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10702 handling of spaces in the regexp.
10703
10704 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10705
10706 * textmodes/ispell.el (ispell-command-loop): Remove
10707 flyspell highlight of a word when ispell accepts it (bug #14178).
10708
10709 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10710
10711 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10712 uses code from the previous `ange-ftp-run-real-handler'.
10713 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10714 only in case that function exist. This is needed for proper
10715 unloading of Tramp.
10716
10717 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10718
10719 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10720
10721 * textmodes/reftex.el (reftex-compile-variables): Use it.
10722
10723 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * files.el (normal-mode): Only use default major-mode if no other mode
10726 was specified.
10727
10728 * emacs-lisp/trace.el (trace-values): New function.
10729
10730 * files.el: Allow : in local variables (bug#14089).
10731 (hack-local-variable-regexp): New var.
10732 (hack-local-variables-prop-line, hack-local-variables): Use it.
10733
10734 2013-04-13 Roland Winkler <winkler@gnu.org>
10735
10736 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10737 data before it gets modified by bibtex-beginning-of-entry.
10738
10739 2013-04-13 Roland Winkler <winkler@gnu.org>
10740
10741 * textmodes/bibtex.el (bibtex-url): Doc fix.
10742
10743 2013-04-13 Roland Winkler <winkler@gnu.org>
10744
10745 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10746 does not visit a BibTeX file, exclude it from the list of buffers
10747 returned by bibtex-initialize.
10748
10749 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10750
10751 * window.el (split-window): Remove interactive form, since as a
10752 command this function is a special case of split-window-below.
10753 Correct doc string.
10754
10755 2013-04-12 Roland Winkler <winkler@gnu.org>
10756
10757 * faces.el (read-face-name): Do not override value of arg default.
10758 Allow single faces and strings as default values. Remove those
10759 elements from return value that are not faces.
10760 (describe-face): Simplify.
10761 (face-at-point): New optional args thing and multiple so that this
10762 function can provide the same functionality previously provided by
10763 read-face-name.
10764 (make-face-bold, make-face-unbold, make-face-italic)
10765 (make-face-unitalic, make-face-bold-italic, invert-face)
10766 (modify-face, read-face-and-attribute): Use face-at-point.
10767
10768 * cus-edit.el (customize-face, customize-face-other-window)
10769 * cus-theme.el (custom-theme-add-face)
10770 * face-remap.el (buffer-face-set)
10771 * facemenu.el (facemenu-set-face): Use face-at-point.
10772
10773 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10774
10775 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10776
10777 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10778
10779 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10780 off leading { and trailing } from field values.
10781
10782 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * emacs-lisp/timer.el (timer--check): New function.
10785 (timer--time, timer-set-function, timer-event-handler): Use it.
10786 (timer-set-idle-time): Simplify.
10787 (timer--activate): CSE.
10788 (timer-event-handler): Give more info in error message.
10789 (internal-timer-start-idle): New function, moved from C.
10790
10791 * mpc.el (mpc-proc): Add `restart' argument.
10792 (mpc-proc-cmd): Use it.
10793 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10794 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10795 less often.
10796
10797 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10798
10799 * progmodes/sh-script.el: Implement `sh-mode' own
10800 `add-log-current-defun-function' (bug#14112).
10801 (sh-current-defun-name): New function.
10802 (sh-mode): Use the function.
10803
10804 2013-04-09 Bastien Guerry <bzg@gnu.org>
10805
10806 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10807
10808 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10811
10812 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10813 timer (bug#14156).
10814
10815 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10816
10817 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10818 declaration.
10819
10820 2013-04-07 Leo Liu <sdl.web@gmail.com>
10821
10822 * pcmpl-x.el: New file.
10823
10824 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10825
10826 Do not set x-display-name until X connection is established.
10827 This is needed to prevent from weird situation described at
10828 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10829 * frame.el (make-frame): Set x-display-name after call to
10830 window system initialization function, not before.
10831 * term/x-win.el (x-initialize-window-system): Add optional
10832 display argument and use it.
10833 * term/w32-win.el (w32-initialize-window-system):
10834 * term/ns-win.el (ns-initialize-window-system):
10835 * term/pc-win.el (msdos-initialize-window-system):
10836 Add compatible optional display argument.
10837
10838 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10839
10840 * files.el (normal-backup-enable-predicate): On MS-Windows and
10841 MS-DOS compare truenames of temporary-file-directory and of the
10842 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10843 don't fail comparison by compare-strings. Also, compare file
10844 names case-insensitively on MS-Windows and MS-DOS.
10845
10846 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10849 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10850
10851 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10852
10853 * whitespace.el (whitespace-color-on, whitespace-color-off):
10854 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10855
10856 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10857
10858 * ispell.el (ispell-set-spellchecker-params):
10859 Really set `ispell-args' for all equivs.
10860
10861 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * ido.el (ido-completions): Use extra elements of ido-decorations
10864 (bug#14143).
10865 (ido-decorations): Update docstring.
10866
10867 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10868
10869 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10870 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10871 nil during initialization, in order not to miss changes since the
10872 file was opened. (Bug#14140)
10873
10874 2013-04-05 Leo Liu <sdl.web@gmail.com>
10875
10876 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10877
10878 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10879
10880 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10881
10882 2013-04-04 Glenn Morris <rgm@gnu.org>
10883
10884 * electric.el (electric-pair-inhibit-predicate): Add :version.
10885
10886 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10889 when a package is required several times (bug#14082).
10890
10891 2013-04-04 Roland Winkler <winkler@gnu.org>
10892
10893 * faces.el (read-face-name): Behave as promised by the docstring.
10894 Assume that arg default is a list of faces.
10895 (describe-face): Call read-face-name with list of default faces.
10896
10897 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10898
10899 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10900 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10901 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10902 the header.
10903 (bookmark-exit-hook-internal): Save even if list is empty.
10904
10905 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10906
10907 * emacs-lisp/package.el (package-pinned-packages): New var.
10908 (package--add-to-archive-contents): Obey it (bug#14118).
10909
10910 2013-04-03 Alan Mackenzie <acm@muc.de>
10911
10912 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10913 Also adapt to the new values of element 7 of a parse state.
10914
10915 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10916 parameter `not-in-delimiter'. Handle being inside comment opener.
10917 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10918 character in case we're typing a '*' after a '/'.
10919 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10920 instead by passing the parameter to c-state-pp-to-literal.
10921
10922 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10923 for elt. 7 of a parse state.
10924
10925 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10926
10927 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10928 * international/latin1-disp.el, international/mule-util.el:
10929 * language/cyril-util.el, language/european.el, language/ind-util.el:
10930 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10931 * language/tibetan.el, language/viet-util.el:
10932 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10933
10934 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10937 (electric-pair-post-self-insert-function): Use it.
10938 (electric-pair-default-inhibit): New function, extracted from
10939 electric-pair-post-self-insert-function.
10940
10941 2013-03-31 Roland Winkler <winkler@gnu.org>
10942
10943 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10944
10945 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10948
10949 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10950
10951 Un-indent after "pass" and "return" statements (Bug#13888)
10952 * progmodes/python.el (python-indent-block-enders): New var.
10953 (python-indent-calculate-indentation): Use it.
10954
10955 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10956
10957 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10958 defun. Defining it as defalias could introduce too eager
10959 byte-compiler optimization. (Bug#14030)
10960
10961 2013-03-30 Chong Yidong <cyd@gnu.org>
10962
10963 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10964
10965 2013-03-30 Leo Liu <sdl.web@gmail.com>
10966
10967 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10968 (kmacro-execute-from-register): Pass the keyboard macro to
10969 kmacro-call-macro or repeating won't work correctly.
10970
10971 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10972
10973 * progmodes/subword.el: Back to using `forward-symbol'.
10974
10975 * subr.el (forward-whitespace, forward-symbol)
10976 (forward-same-syntax): Move from thingatpt.el.
10977
10978 2013-03-29 Leo Liu <sdl.web@gmail.com>
10979
10980 * kmacro.el (kmacro-to-register): New command.
10981 (kmacro-execute-from-register): New function.
10982 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10983
10984 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * mpc.el: Use defvar-local and setq-local.
10987 (mpc--proc-connect): Connection failures are not bugs.
10988 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10989 (mpc-volume-map): Bind to the up-events.
10990
10991 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10992
10993 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10994 instead of `forward-symbol'.
10995
10996 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10999 (edebug--recursive-edit): Use it.
11000 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11001 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11002
11003 2013-03-28 Leo Liu <sdl.web@gmail.com>
11004
11005 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11006
11007 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11008
11009 * facemenu.el (list-colors-callback): New defvar.
11010 (list-colors-redisplay): New function.
11011 (list-colors-display): Install list-colors-redisplay as the
11012 revert-buffer-function. (Bug#14063)
11013
11014 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11017 and suffixes don't overlap (bug#14061).
11018
11019 * case-table.el: Use lexical-binding.
11020 (case-table-get-table): New function.
11021 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11022
11023 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11024
11025 * progmodes/subword.el: Add `superword-mode' to do word motion
11026 over symbol_words (parallels and leverages `subword-mode' which
11027 does word motion inside MixedCaseWords).
11028
11029 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11030
11031 * eshell/em-unix.el: Move su and sudo to...
11032 * eshell/em-tramp.el: ...Eshell tramp module.
11033
11034 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11037 Change return value to be a sexp. Delay `get-buffer' to after
11038 restoring the desktop (bug#13951).
11039
11040 2013-03-26 Leo Liu <sdl.web@gmail.com>
11041
11042 * register.el: Move semantic tag handling back to
11043 cedet/semantic/senator.el. (Bug#14052)
11044
11045 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11048 into the prompt either (bug#13963).
11049
11050 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11053 part of "(error-foo)".
11054
11055 2013-03-24 Juri Linkov <juri@jurta.org>
11056
11057 * replace.el (list-matching-lines-prefix-face): New defcustom.
11058 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11059 `occur-engine' if `face-differs-from-default-p' returns t.
11060 (occur-engine): Add `,' inside backquote construct to evaluate
11061 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11062 Pass `prefix-face' to the functions `occur-context-lines' and
11063 `occur-engine-add-prefix'.
11064 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11065 `prefix-face' and propertize the prefix with `prefix-face'.
11066 (Bug#14017)
11067
11068 2013-03-24 Leo Liu <sdl.web@gmail.com>
11069
11070 * nxml/rng-valid.el (rng-validate-while-idle)
11071 (rng-validate-quick-while-idle): Guard against deleted buffer.
11072 (Bug#13999)
11073
11074 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11075 is the last entry in kill-buffer-hook.
11076
11077 * files.el (kill-buffer-hook): Doc fix.
11078
11079 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11080
11081 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11082 Make it safe-local.
11083
11084 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11085
11086 2013-03-23 Leo Liu <sdl.web@gmail.com>
11087
11088 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11089 Remove.
11090
11091 * nxml/rng-valid.el (rng-validate-mode)
11092 (rng-after-change-function, rng-do-some-validation):
11093 * nxml/rng-maint.el (rng-validate-buffer):
11094 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11095 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11096 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11097 (nxml-extend-after-change-region): Use with-silent-modifications.
11098
11099 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11100 timer-idle-list.
11101
11102 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11103 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11104 timer-idle-list. (Bug#13999)
11105
11106 2013-03-23 Juri Linkov <juri@jurta.org>
11107
11108 * info.el (info-index-match): New face.
11109 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11110 main pattern and add text properties with the new face to matches
11111 in index entries relative to the beginning of the index entry.
11112 (Bug#14015)
11113
11114 2013-03-21 Eric Ludlam <zappo@gnu.org>
11115
11116 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11117 Inhibit read only while inserting objects.
11118
11119 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11120
11121 * progmodes/cfengine.el: Update docs to mention
11122 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11123 symbol motion. Remove "_" from the word syntax.
11124
11125 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11126
11127 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11128 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11129
11130 2013-03-20 Juri Linkov <juri@jurta.org>
11131
11132 * info.el (Info-next-reference-or-link)
11133 (Info-prev-reference-or-link): New functions.
11134 (Info-next-reference, Info-prev-reference): Use them.
11135 (Info-try-follow-nearest-node): Handle footnote navigation.
11136 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11137
11138 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11141 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11142
11143 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11144
11145 Suppress unnecessary non-ASCII chatter during build process.
11146 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11147 (batch-skkdic-convert): Suppress most of the chatter.
11148 It's not needed so much now that machines are faster,
11149 and its non-ASCII component was confusing; see Dmitry Gutov in
11150 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11151
11152 2013-03-20 Leo Liu <sdl.web@gmail.com>
11153
11154 * ido.el (ido-chop): Fix bug#10994.
11155
11156 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11157
11158 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11159 Remove vars.
11160 (whitespace-color-on, whitespace-color-off):
11161 Use `font-lock-fontify-buffer' (Bug#13817).
11162
11163 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11166 remapping in mode-line.
11167 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11168
11169 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11170
11171 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11172 value for `whitespace-line' face (Bug#13875).
11173 (whitespace-font-lock-keywords): Change description.
11174 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11175 the constructed keywords instead.
11176 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11177
11178 2013-03-19 Leo Liu <sdl.web@gmail.com>
11179
11180 * progmodes/compile.el (compilation-display-error): New command.
11181 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11182 C-o. (Bug#13992)
11183
11184 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11185
11186 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11187
11188 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11189
11190 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11191
11192 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11193
11194 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11195
11196 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11197 * net/tramp-gvfs.el (top):
11198 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11199 (tramp-handle-shell-command): Use it.
11200 (tramp-dissect-file-name): Raise an error when hostname is a
11201 method name, and neither method nor user is specified.
11202
11203 * net/trampver.el: Update release number.
11204
11205 2013-03-18 Leo Liu <sdl.web@gmail.com>
11206
11207 Make sure eldoc can be turned off properly.
11208 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11209 eldoc-mode.
11210 (eldoc-display-message-p): Revert last change.
11211 (eldoc-display-message-no-interference-p)
11212 (eldoc-print-current-symbol-info): Tweak.
11213
11214 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11215
11216 * doc-view.el (doc-view-new-window-function): Check the new window
11217 overlay's display property instead the char property of the
11218 buffer's first char. Use `with-selected-window' instead of
11219 `save-window-excursion' with `select-window'.
11220 (doc-view-document->bitmap): Check the current doc-view overlay's
11221 display property instead the char property of the buffer's first char.
11222
11223 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11224
11225 Automate the build of ja-dic.el (Bug#13984).
11226 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11227 from the input, rather than assume that it's been done for us by the
11228 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11229 the current date into a ja-dic.el comment, as that complicates
11230 regression testing.
11231
11232 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * whitespace.el: Fix double evaluation.
11235 (whitespace-space, whitespace-hspace, whitespace-tab)
11236 (whitespace-newline, whitespace-trailing, whitespace-line)
11237 (whitespace-space-before-tab, whitespace-indentation)
11238 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11239 obsolete defvars.
11240 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11241 (whitespace-color-on): Use a single font-lock-add-keywords call.
11242 Fix double-evaluation of face variables.
11243
11244 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11245
11246 * net/tramp-adb.el (tramp-adb-parse-device-names):
11247 Use `start-process' instead of `call-process'. Otherwise, the
11248 function might be blocked under MS Windows. (Bug#13299)
11249
11250 2013-03-17 Leo Liu <sdl.web@gmail.com>
11251
11252 Extend eldoc to display info in the mode-line. (Bug#13978)
11253 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11254 (eldoc-mode-line-string): New variable.
11255 (eldoc-minibuffer-message): New function.
11256 (eldoc-message-function): New variable.
11257 (eldoc-message): Use it.
11258 (eldoc-display-message-p)
11259 (eldoc-display-message-no-interference-p):
11260 Support eldoc-post-insert-mode.
11261
11262 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11263 (eval-expression): Run it.
11264
11265 2013-03-17 Roland Winkler <winkler@gnu.org>
11266
11267 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11268 strings in the list of return values.
11269
11270 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11271
11272 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11273 radix before checking for HMS forms.
11274
11275 2013-03-16 Leo Liu <sdl.web@gmail.com>
11276
11277 * progmodes/scheme.el: Add indentation and font-locking for λ.
11278 (Bug#13975)
11279
11280 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11283 token before point (bug#13942).
11284
11285 2013-03-16 Leo Liu <sdl.web@gmail.com>
11286
11287 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11288
11289 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11290
11291 * startup.el (command-line-normalize-file-name): Fix handling of
11292 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11293 <xfq.free@gmail.com> in
11294 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11295
11296 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11297
11298 Sync with Tramp 2.2.7.
11299
11300 * net/trampver.el: Update release number.
11301
11302 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11303
11304 * doc-view.el: Fix bug#13887.
11305 (doc-view-insert-image): Don't modify overlay associated to
11306 non-live windows, and implement horizontal centering of image in
11307 case it's smaller than the window.
11308 (doc-view-new-window-function): Force redisplay of new windows on
11309 doc-view buffers.
11310
11311 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11312
11313 * saveplace.el (save-place-alist-to-file): Don't sort
11314 `save-place-alist', just pretty-print it (bug#13882).
11315
11316 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11317
11318 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11319 Check whether `default-file-name-coding-system' is bound.
11320 It isn't in XEmacs.
11321
11322 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11325 backquotes for `obsolete' (bug#13929).
11326
11327 * international/mule.el (find-auto-coding): Include file name in
11328 obsolescence warning (bug#13922).
11329
11330 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11331
11332 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11333 for CFEngine 3-specific indentation.
11334 (cfengine3-indent-line): Use it. Fix up category regex.
11335 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11336
11337 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * type-break.el (type-break-file-name):
11340 * textmodes/remember.el (remember-data-file):
11341 * strokes.el (strokes-file):
11342 * shadowfile.el (shadow-initialize):
11343 * saveplace.el (save-place-file):
11344 * ps-bdf.el (bdf-cache-file):
11345 * progmodes/idlwave.el (idlwave-config-directory):
11346 * net/quickurl.el (quickurl-url-file):
11347 * international/kkc.el (kkc-init-file-name):
11348 * ido.el (ido-save-directory-list-file):
11349 * emulation/viper.el (viper-custom-file-name):
11350 * emulation/vip.el (vip-startup-file):
11351 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11352 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11353
11354 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11355
11356 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11357 * language/thai-word.el: Switch to UTF-8.
11358
11359 See ChangeLog.16 for earlier changes.
11360
11361 ;; Local Variables:
11362 ;; coding: utf-8
11363 ;; End:
11364
11365 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11366
11367 This file is part of GNU Emacs.
11368
11369 GNU Emacs is free software: you can redistribute it and/or modify
11370 it under the terms of the GNU General Public License as published by
11371 the Free Software Foundation, either version 3 of the License, or
11372 (at your option) any later version.
11373
11374 GNU Emacs is distributed in the hope that it will be useful,
11375 but WITHOUT ANY WARRANTY; without even the implied warranty of
11376 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11377 GNU General Public License for more details.
11378
11379 You should have received a copy of the GNU General Public License
11380 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.