]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Rename set-temporary-overlay-map -> set-transient-map
[gnu-emacs] / lisp / ChangeLog
1 2013-12-23 Chong Yidong <cyd@gnu.org>
2
3 * subr.el (set-transient-map): Rename from
4 set-temporary-overlay-map. Doc fix.
5
6 * face-remap.el (text-scale-adjust):
7 * indent.el (indent-rigidly):
8 * kmacro.el (kmacro-call-macro):
9 * minibuffer.el (minibuffer-force-complete):
10 * repeat.el (repeat):
11 * simple.el (universal-argument--mode):
12 * calendar/todo-mode.el (todo-insert-item--next-param):
13 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14
15 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
16
17 * net/eww.el (eww-tag-select): Add text-property to jump to next
18 select field.
19 (eww) : Add non-supported ftp error.
20
21 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
24 comments. Handle electric indent after typing `?' and `!'.
25
26 2013-12-22 Chong Yidong <cyd@gnu.org>
27
28 * faces.el (face-spec-recalc): If the theme specs are not
29 applicable to a frame, fall back on the defface spec. This
30 prevents themes from obliterating faces on low-color terminals.
31
32 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
33
34 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
35 after `{'. We need it after block openers, and it doesn't seem
36 to hurt after hash openers.
37
38 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
39
40 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
41 extracted from `ruby-smie-rules'.
42 (ruby--electric-indent-chars): New variable.
43 (ruby--electric-indent-p): New function.
44 (ruby-mode): Use `electric-indent-functions' instead of
45 `electric-indent-chars'.
46
47 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
48
49 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
50 docstring.
51 (ruby-smie-rules): Indent plus one level after `=>'.
52
53 2013-12-21 Richard Stallman <rms@gnu.org>
54
55 * simple.el (newline): Doc fix.
56
57 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
58
59 * net/eww.el (eww-list-histories, eww-list-histories)
60 (eww-history-browse, eww-history-quit, eww-history-kill)
61 (eww-history-mode-map, eww-history-mode): New command and
62 functions to list browser histories.
63 (eww-form-text): Support text form with disabled
64 and readonly attributes.
65 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
66
67 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
68
69 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
70 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
71 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
72 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
73 Use `user-error'.
74 (eww-bookmark-mode-map): Add menu.
75 (eww-render, eww-mode): Use `setq-local'.
76 (eww-tool-bar-map): New variable.
77 (eww-mode): Set `tool-bar-map'.
78 (eww-view-source): Check for `html-mode' with `fboundp'.
79
80 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
81
82 * net/shr.el (shr--extract-best-source): Don't bug out on audio
83 elements with text inside. Also remove debugging.
84
85 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
86
87 * cus-start.el (all): Add ns-use-srgb-colorspace.
88
89 2013-12-21 Chong Yidong <cyd@gnu.org>
90
91 * custom.el (custom-theme-recalc-face): Do nothing if the face is
92 undefined. Thus, theme settings for undefined faces do not take
93 effect until the faces are defined with defface, the same as with
94 theme variables.
95
96 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
97 (face-spec-reset-face): Don't assign extra properties in temacs.
98 (face-spec-recalc): Apply X resources too.
99
100 2013-12-21 Chong Yidong <cyd@gnu.org>
101
102 * faces.el (face-spec-set):
103 * cus-face.el (custom-theme-set-faces, custom-set-faces):
104 * custom.el (defface): Doc fixes (Bug#16203).
105
106 * indent.el (indent-rigidly-map): Add docstring, and move commands
107 into named functions.
108 (indent-rigidly-left, indent-rigidly-right)
109 (indent-rigidly-left-to-tab-stop)
110 (indent-rigidly-right-to-tab-stop): New functions. Decide on
111 indentation direction based on bidi direction, and accumulate
112 sequential commands in a single undo boundary.
113 (indent-rigidly--pop-undo): New utility function.
114
115 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
116
117 * faces.el (read-face-name): Require crm.el when using crm-separator.
118
119 2013-12-20 Daniel Colascione <dancol@dancol.org>
120
121 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
122 so that we don't reflow comments into the shebang line.
123
124 2013-12-20 Juri Linkov <juri@jurta.org>
125
126 * saveplace.el (save-place-to-alist): Add `dired-filename' as
127 a position when `dired-directory' is non-nil. Check integer
128 positions with `integerp'.
129 (toggle-save-place, save-places-to-alist): Add check for
130 `dired-directory'.
131 (save-place-find-file-hook): Check integer positions with
132 `integerp'.
133 (save-place-dired-hook): Use `dired-goto-file' when
134 `dired-filename' is found in the assoc list. Check integer
135 positions with `integerp'.
136 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
137
138 * dired.el (dired-initial-position-hook): Rename back from
139 `dired-initial-point-hook'.
140 (dired-initial-position): Rename `dired-initial-point-hook' to
141 `dired-initial-position-hook'.
142 (dired-file-name-at-point): Doc fix. (Bug#15329)
143
144 2013-12-20 Juri Linkov <juri@jurta.org>
145
146 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
147 (read-regexp-suggestions): New function.
148 (read-regexp): Use `read-regexp-defaults-function' to get default values.
149 Use `read-regexp-suggestions'. Add non-empty default to history
150 for empty input.
151 (occur-read-regexp-defaults-function): Remove function.
152 (occur-read-primary-args): Use `regexp-history-last' instead of
153 `occur-read-regexp-defaults-function'.
154
155 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
156 (hi-lock-line-face-buffer, hi-lock-face-buffer)
157 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
158 `hi-lock-read-regexp-defaults-function'. Doc fix.
159 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
160 with `find-tag-default-as-symbol-regexp'. Doc fix.
161 (hi-lock-read-regexp-defaults): Remove function.
162 (hi-lock-regexp-okay): Add check for null.
163
164 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
165 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
166
167 * subr.el (find-tag-default-as-symbol-regexp): New function.
168 (find-tag-default-as-regexp): Move symbol regexp formatting to
169 `find-tag-default-as-symbol-regexp'.
170
171 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
172
173 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
174 (Bug#14179)
175
176 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
177
178 * calendar/todo-mode.el: New implementation of item insertion
179 commands and key bindings.
180 (todo-key-prompt): New face.
181 (todo-insert-item): New command.
182 (todo-insert-item--parameters): New defconst, replacing defvar
183 todo-insertion-commands-args-genlist.
184 (todo-insert-item--param-key-alist): New defconst, replacing
185 defvar todo-insertion-commands-arg-key-list.
186 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
187 (todo-insert-item--argsleft, todo-insert-item--apply-args)
188 (todo-insert-item--next-param): New functions.
189 (todo-insert-item--args, todo-insert-item--argleft)
190 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
191 New variables.
192 (todo-key-bindings-t): Change binding of "i" from
193 todo-insertion-map to todo-insert-item.
194 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
195 (todo-insertion-command-name, todo-insertion-commands-names)
196 (todo-define-insertion-command, todo-insertion-commands)
197 (todo-insertion-key-bindings, todo-insertion-map): Remove.
198
199 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
200
201 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
202 (todo-toggle-item-highlighting): Use eval-and-compile instead of
203 eval-when-compile.
204 (todo-move-category): Allow choosing a non-existing todo file to
205 move the category to, and create that file.
206 (todo-default-priority): New user option.
207 (todo-set-item-priority): Use it.
208 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
209 (desktop-restore-file-buffer): Declare.
210 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
211 (todo-modes-set-2): Locally set desktop-save-buffer to
212 todo-desktop-save-buffer.
213 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
214 (auto-mode-alist): Add autoload cookie.
215
216 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
217
218 * emacs-lisp/subr-x.el: Renamed from helpers.el.
219 helpers.el was a poor choice of name.
220 (string-remove-prefix): New function.
221 (string-remove-suffix): New function.
222
223 2013-12-20 Martin Rudalics <rudalics@gmx.at>
224
225 Fix assignment for new window total sizes.
226 * window.el (window--pixel-to-size): Remove function.
227 (window--pixel-to-total-1, window--pixel-to-total):
228 Fix calculation of new total sizes.
229
230 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
231
232 * comint.el (comint-output-filter): Fix rear-nonsticky property
233 placement (Bug#16010).
234
235 2013-12-20 Chong Yidong <cyd@gnu.org>
236
237 * faces.el (read-color): Minor fix for completion function.
238
239 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
240
241 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
242 New option. (Bug#16182)
243 (ruby-smie--indent-to-stmt-p): Use it.
244 (ruby-smie-rules): Revert the logic in the handling of `when'.
245 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
246 (ruby-deep-arglist, ruby-deep-indent-paren)
247 (ruby-deep-indent-paren-style): Update docstrings to note that the
248 vars don't have any effect with SMIE.
249
250 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
251
252 * calc/calc.el (calc-enter, calc-pop): Use the variable
253 `calc-context-sensitive-enter'.
254
255 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
256
257 * net/shr.el (shr-insert): Protect against infloops in degenerate
258 tables.
259
260 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
261
262 * progmodes/octave.el (octave): Add link to manual and octave
263 homepage.
264 (octave-mode-menu): Link to octave-mode manual.
265
266 2013-12-20 Leo Liu <sdl.web@gmail.com>
267
268 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
269 insertion using skeleton-end-newline. (Bug#16138)
270
271 2013-12-20 Juri Linkov <juri@jurta.org>
272
273 * replace.el (occur-engine): Use `add-face-text-property'
274 to add the face property to matches and titles. (Bug#14645)
275
276 * hi-lock.el (hi-green): Use lighter color "light green" closer to
277 the palette of other hi-lock colors.
278 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
279
280 2013-12-19 Juri Linkov <juri@jurta.org>
281
282 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
283 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
284 (minibuffer-history-symbol): Move variable declaration closer to
285 its usage.
286
287 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
288 (Bug#14785)
289
290 2013-12-19 Juri Linkov <juri@jurta.org>
291
292 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
293 New function.
294 (log-edit-hook): Add it to :options. (Bug#16170)
295
296 2013-12-19 Juri Linkov <juri@jurta.org>
297
298 * simple.el (eval-expression-print-format): Don't check for
299 command names and the last command. Always display additional
300 formats of the integer result in the echo area, and insert them
301 to the current buffer only with a zero prefix arg.
302 Display character when char-displayable-p is non-nil.
303 (eval-expression): With a zero prefix arg, set `print-length' and
304 `print-level' to nil, and insert the integer values from
305 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
306
307 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
308 `eval-last-sexp-arg-internal'. Doc fix.
309 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
310 `eval-last-sexp-print-value'. Doc fix.
311 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
312 Set `print-length' and `print-level' to nil when arg is zero.
313 (eval-last-sexp): Doc fix.
314 (eval-defun-2): Print the integer values from
315 `eval-expression-print-format' at the end.
316
317 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
318 values from `eval-expression-print-format' at the end.
319
320 * ielm.el (ielm-eval-input): Print the integer
321 values from `eval-expression-print-format' at the end.
322
323 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
324
325 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
326 2013-12-11T19:01:44Z!tzz@lifelogs.com.
327
328 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
331 (hl-line-highlight, global-hl-line-highlight): Use it.
332 (hl-line-overlay): Use defvar-local.
333
334 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
335
336 * term/ns-win.el: Require dnd.
337 (global-map): Remove drag items.
338 (ns-insert-text, ns-set-foreground-at-mouse)
339 (ns-set-background-at-mouse):
340 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
341 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
342 New functions.
343
344 2013-12-19 Glenn Morris <rgm@gnu.org>
345
346 * emacs-lisp/ert.el (ert-select-tests):
347 Fix string/symbol mixup. (Bug#16121)
348
349 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
350
351 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
352 keywords to their parent.
353
354 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
355
356 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
357 first arg to be a string (fixed dead code), or an operator symbol.
358 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
359 operator symbols.
360 (ruby-smie-rules): Remove parent token check in the `.' clause, it
361 did nothing. Don't respond to `(:after ".")', it will be called
362 with :before anyway. Remove the ` @ ' rule, it didn't seem to
363 change anything. Only return indentation for binary operators
364 when they are hanging. De-dent opening paren when its parent is
365 `.', otherwise it looks bad when the dot is not at bol or eol
366 (bug#16182).
367
368 2013-12-19 Juri Linkov <juri@jurta.org>
369
370 * replace.el (query-replace-read-args): Split a non-negative arg
371 and a negative arg into separate elements.
372 (query-replace, query-replace-regexp, replace-string)
373 (replace-regexp): Add arg `backward'. Doc fix.
374 (replace-match-maybe-edit): When new arg `backward' is non-nil,
375 move point to the beginning of the match.
376 (replace-search, replace-highlight): Use new arg `backward'
377 to set the value of `isearch-forward'.
378 (perform-replace): Add arg `backward' and use it to perform
379 replacement backward. (Bug#14979)
380
381 * isearch.el (isearch-query-replace): Use a negative prefix arg
382 to call `perform-replace' with a non-nil arg `backward'.
383
384 2013-12-18 Juri Linkov <juri@jurta.org>
385
386 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
387 to the default list. Move `log-edit-show-files' to the end.
388 Add more available functions to options.
389 (log-edit): Move default specific settings to
390 `log-edit-insert-message-template'. Don't move point.
391 (log-edit-insert-message-template): New function.
392 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
393 (Bug#16170)
394
395 2013-12-18 Juri Linkov <juri@jurta.org>
396
397 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
398 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
399
400 2013-12-18 Leo Liu <sdl.web@gmail.com>
401
402 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
403
404 2013-12-18 Eli Zaretskii <eliz@gnu.org>
405
406 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
407 formats for displaying file sizes when the -s switch is given.
408 Instead, compute a separate format for displaying the size in
409 blocks, which is displayed in addition to the "regular" size.
410 When -h is given in addition to -s, produce size in blocks in
411 human-readable form as well. (Bug#16179)
412
413 2013-12-18 Tassilo Horn <tsdh@gnu.org>
414
415 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
416 Reference tables with ~\ref{...} instead of only \ref{...}.
417
418 2013-12-18 Chong Yidong <cyd@gnu.org>
419
420 * cus-edit.el (custom-magic-alist): Fix "themed" description
421 (Bug#14348).
422
423 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
424 is non-nil, do not create a new entry in the symbol's theme-value
425 or theme-face property; update theme-settings only (Bug#14664).
426 (custom-available-themes): Doc fix.
427
428 * cus-theme.el (custom-new-theme-mode-map): Add bindings
429 (Bug#15674).
430
431 * replace.el (occur-engine): Avoid infloop (Bug#7593).
432
433 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
434
435 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
436 (Bug#13914).
437
438 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
439
440 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
441
442 2013-12-18 Glenn Morris <rgm@gnu.org>
443
444 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
445 * cus-start.el (load-prefer-newer): New option.
446
447 2013-12-18 Le Wang <l26wang@gmail.com>
448
449 * comint.el (comint-previous-matching-input-from-input):
450 Retain point (Bug#13404).
451
452 2013-12-18 Chong Yidong <cyd@gnu.org>
453
454 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
455
456 2013-12-18 Glenn Morris <rgm@gnu.org>
457
458 * mail/emacsbug.el (report-emacs-bug):
459 Only mention enable-multibyte-characters if non-standard.
460
461 2013-12-17 Juri Linkov <juri@jurta.org>
462
463 * arc-mode.el (archive-extract-by-file): Check if directory exists
464 before deletion to not show irrelevant errors if it doesn't exist.
465
466 2013-12-17 Juri Linkov <juri@jurta.org>
467
468 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
469 (Bug#14751)
470
471 * net/eww.el (browse-web): Add alias to `eww'.
472 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
473 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
474
475 * net/browse-url.el (browse-url-browser-function): Move `eww'
476 closer to similar functions.
477
478 * startup.el (fancy-startup-screen, fancy-about-screen):
479 Set browse-url-browser-function to eww-browse-url locally.
480 (Bug#14751)
481
482 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * window.el (window--pixel-to-total): Remove unused `mini' var.
485 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
486 (split-window): Remove unused `new' var.
487 (window--display-buffer): Remove unused `frame' and `delta' vars.
488 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
489 and display-width'.
490
491 2013-12-17 Martin Rudalics <rudalics@gmx.at>
492
493 * dired.el (dired-mark-pop-up):
494 * register.el (register-preview): Don't bind
495 split-height-threshold here since it's now done in
496 display-buffer-below-selected.
497
498 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
499
500 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
501 xterm-rgb-convert-to-16bit.
502 (rxvt-register-default-colors): Standardize with
503 xterm-register-default-colors (Bug#14078).
504
505 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
506
507 * simple.el (kill-region): Pass mark first, then point, so that
508 kill-append works right (Bug#12819).
509 (copy-region-as-kill, kill-ring-save): Likewise.
510
511 2013-12-17 Leo Liu <sdl.web@gmail.com>
512
513 * net/rcirc.el (rcirc-add-face):
514 * eshell/em-prompt.el (eshell-emit-prompt):
515 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
516 (Bug#16167)
517
518 2013-12-17 Chong Yidong <cyd@gnu.org>
519
520 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
521 Suggested by Xue Fuqiao.
522
523 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
524
525 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
526
527 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * net/shr.el (shr-insert-document): Remove unused var
530 `shr-preliminary-table-render'.
531 (shr-rescale-image): Remove unused arg `force'.
532 (shr-put-image): Update calls accordingly.
533 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
534
535 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
536
537 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
538 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
539 :close-all, to see which indentation method to use (Bug#16116).
540 (smie-rules-function): Document the method :close-all.
541
542 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
543
544 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
545
546 * net/eww.el (eww-display-html): If we can't find the anchor we're
547 looking for, then go to point-min.
548
549 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
550
551 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
552 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
553 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
554 Expand dir too, in case it's relative.
555
556 2013-12-16 Juri Linkov <juri@jurta.org>
557
558 * desktop.el (desktop-auto-save-timeout): Change default to
559 `auto-save-timeout'. Doc fix.
560 (desktop-save): Skip the timestamp in desktop-saved-frameset
561 when checking for auto-save changes.
562 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
563 `desktop-auto-save' is called repeatedly by the idle timer.
564 (desktop-auto-save-set-timer): Replace `run-with-timer' with
565 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
566 (Bug#15331)
567
568 2013-12-16 Juri Linkov <juri@jurta.org>
569
570 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
571 (Bug#16035)
572 (isearch-pre-command-hook): Check `this-command' for symbolp.
573
574 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
577
578 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
579
580 * progmodes/cfengine.el (cfengine3--current-word): Remove.
581 (cfengine3--current-function): Bring in the current-function
582 functionality from `cfengine3--current-word'.
583 (cfengine3-completion-function): Bring in the
584 bounds-of-current-word functionality from
585 `cfengine3--current-word'.
586
587 2013-12-16 Martin Rudalics <rudalics@gmx.at>
588
589 * window.el (display-buffer-below-selected):
590 Bind split-height-threshold to 0 as suggested by Juri Linkov.
591
592 2013-12-16 Leo Liu <sdl.web@gmail.com>
593
594 * progmodes/compile.el (compile-goto-error): Do not push-mark.
595 Remove NOMSG arg and all uses changed.
596
597 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
600 (cua--deactivate-rectangle): Don't deactivate the mark.
601 (cua-set-rectangle-mark): Don't set mark-active since
602 cua--activate-rectangle already does it for us.
603 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
604 non-rectangular region.
605
606 * emulation/cua-base.el (cua-repeat-replace-region):
607 Use with-current-buffer.
608
609 * net/gnutls.el: Use cl-lib.
610 (gnutls-negotiate): `mapcan' -> cl-mapcan.
611
612 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
613
614 * emacs-lisp/package.el (package-built-in-p): Support both
615 built-in and the package.el converted package descriptions.
616 (package-show-package-list): Allow keywords.
617 (package-keyword-button-action): Use it instead of
618 `finder-list-matches'.
619 (package-menu-filter-interactive): Interactive filtering (by
620 keyword) function.
621 (package-menu--generate): Support keywords and change keymappings
622 and headers when they are given.
623 (package--has-keyword-p): Helper function.
624 (package-menu--refresh): Use it.
625 (package--mapc): Helper function.
626 (package-all-keywords): Use it.
627 (package-menu-mode-map): Set up menu items and keybindings to
628 provide a filtering UI.
629
630 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
631
632 * net/gnutls.el (gnutls-verify-error): New defcustom to control
633 the behavior when a certificate fails validation. Defaults to
634 old behavior: never abort, just warn.
635 (gnutls-negotiate): Use it.
636
637 2013-12-14 Martin Rudalics <rudalics@gmx.at>
638
639 * window.el (display-buffer-below-selected): Never split window
640 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
641
642 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
643
644 * emacs-lisp/package.el (package--prepare-dependencies): New function.
645 (package-buffer-info): Use it (bug#15108).
646
647 * icomplete.el (icomplete-completions): Make sure the prefix is already
648 displayed elsewhere before hiding it.
649
650 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
651
652 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
653 open-paren tokens when preceded by a open-paren, too.
654 (ruby-smie-rules): Handle virtual indentation after open-paren
655 tokens specially. If there is code between it and eol, return the
656 column where is starts (Bug#16118).
657
658 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
659
660 * progmodes/cfengine.el: Fix `add-hook' doc.
661 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
662 (cfengine3--current-word): Fix parameters.
663 (cfengine3-make-syntax-cache): Simplify further.
664 (cfengine3-completion-function, cfengine3--current-function):
665 Use `assq' for symbols.
666 (cfengine3--current-function): Fix `cfengine3--current-word' call.
667
668 2013-12-13 Glenn Morris <rgm@gnu.org>
669
670 * loadup.el (load-path): Warn if site-load or site-init changes it.
671 No more need to reset it when bootstrapping.
672
673 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
674
675 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
676 locations for cf-promises.
677 (cfengine-mode-syntax-functions-regex): New caching variable.
678 (cfengine3-fallback-syntax): Fallback syntax for cases where
679 cf-promises doesn't run.
680 (cfengine3--current-word): Reimplement using
681 `cfengine-mode-syntax-functions-regex'.
682 (cfengine3-completion-function, cfengine3--current-function):
683 Use `cfengine3-make-syntax-cache' directly.
684 (cfengine3-clear-syntax-cache): New function.
685 (cfengine3-make-syntax-cache): Simplify and create
686 `cfengine-mode-syntax-functions-regex' on demand.
687 (cfengine3-format-function-docstring): Don't call
688 `cfengine3-make-syntax-cache' explicitly.
689
690 2013-12-13 Martin Rudalics <rudalics@gmx.at>
691
692 Fix windmove-find-other-window broken after pixelwise resizing
693 (Bug#16017).
694 * windmove.el (windmove-other-window-loc): Revert change from
695 2013-12-04.
696 (windmove-find-other-window): Call window-in-direction.
697 * window.el (window-in-direction): New arguments SIGN, WRAP and
698 MINI to emulate original windmove-find-other-window behavior.
699
700 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
701
702 * simple.el (blink-matching--overlay): New variable.
703 (blink-matching-open): Instead of moving point, highlight the
704 matching paren with an overlay
705 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
706
707 * faces.el (paren-showing-faces, show-paren-match)
708 (show-paren-mismatch): Move from paren.el.
709
710 2013-12-13 Leo Liu <sdl.web@gmail.com>
711
712 * indent.el (indent-region): Disable progress reporter in
713 minibuffer. (Bug#16108)
714
715 * bindings.el (visual-order-cursor-movement): Fix version.
716
717 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
718
719 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
720 Also match after beginning of line.
721 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
722 files. Thanks to Russell Sim. (Bug#15378)
723
724 2013-12-13 Juri Linkov <juri@jurta.org>
725
726 * simple.el <Keypad support>: Remove key bindings duplicated
727 with bindings.el. (Bug#14397)
728
729 2013-12-13 Juri Linkov <juri@jurta.org>
730
731 * comint.el (comint-mode-map): Replace `delete-char' with
732 `delete-forward-char'. (Bug#16109)
733
734 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
735
736 * progmodes/python.el (python-indent-calculate-indentation):
737 Fix de-denters cornercase. (Bug#15731)
738
739 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
742 (advice--make): Pay attention to `depth'.
743 (advice--make-1): Don't autoload commands eagerly.
744 * emacs-lisp/elp.el (elp-instrument-function):
745 * emacs-lisp/trace.el (trace-function-internal):
746 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
747
748 * iswitchb.el (iswitchb-mode): Don't belittle ido.
749
750 2013-12-12 Eli Zaretskii <eliz@gnu.org>
751
752 * term/w32-win.el (w32-handle-dropped-file):
753 * startup.el (normal-top-level):
754 * net/browse-url.el (browse-url-file-url):
755 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
756 decode file names using 'utf-8' rather than
757 file-name-coding-system.
758
759 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
760
761 * progmodes/python.el (python-indent-context)
762 (python-indent-calculate-indentation): Fix auto-identation
763 behavior for comment blocks. (Bug#15916)
764
765 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
766
767 * progmodes/python.el (python-indent-calculate-indentation):
768 When determining indentation, don't treat "return", "pass", etc., as
769 operators when they are just string constituents. (Bug#15812)
770
771 2013-12-12 Juri Linkov <juri@jurta.org>
772
773 * uniquify.el (uniquify-buffer-name-style): Change default to
774 `post-forward-angle-brackets'.
775
776 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
777 `uniquify'. Change default to `post-forward-angle-brackets'.
778
779 2013-12-11 Glenn Morris <rgm@gnu.org>
780
781 * emacs-lisp/package.el (finder-list-matches):
782 Autoload rather than falsely declaring.
783
784 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
785
786 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
787 (eww-mode-map): Use them.
788
789 2013-12-11 Martin Rudalics <rudalics@gmx.at>
790
791 * window.el (display-buffer-in-side-window): Fix doc-string
792 (Bug#16115).
793
794 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
795
796 * vc/vc-git.el: Silence byte-compiler warnings.
797 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
798 (log-edit-set-header): Declare.
799
800 2013-12-11 Eli Zaretskii <eliz@gnu.org>
801
802 * Makefile.in (custom-deps, finder-data): Run output file names
803 through unmsys--file-name. (Bug#16099)
804
805 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
808 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
809
810 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
811 instead of deleting the selection "by hand" (bug#16098).
812 Rely on insert-for-yank to yank rectangles.
813 (cua-highlight-region-shift-only): Mark obsolete.
814 (cua-mode): Don't enable/disable transient-mark-mode,
815 shift-select-mode (cua-mode works both with and without them), and
816 pc-selection-mode (obsolete).
817 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
818 (cua--deactivate-rectangle): Deactivate it.
819
820 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
821 (delete-selection-helper): Make sure yank starts at the top of the
822 deleted region.
823 (minibuffer-keyboard-quit): Use region-active-p.
824
825 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
826
827 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
828 to `delete' (bug#16109).
829
830 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
831
832 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
833 info manual and show keybindings and set `:group' keyword.
834
835 2013-12-11 Juri Linkov <juri@jurta.org>
836
837 * delsel.el (delete-active-region): Let-bind `this-command'
838 to prevent `kill-region' from changing its original value.
839 (delete-selection-helper): Handle `overwrite-mode' for the type
840 `kill' exactly the same way as for the type `t'.
841 (insert-char, quoted-insert, reindent-then-newline-and-indent):
842 Support more commands. (Bug#13312)
843
844 2013-12-11 Juri Linkov <juri@jurta.org>
845
846 * bindings.el: Map kp keys to non-kp keys systematically
847 with basic modifiers control, meta and shift. (Bug#14397)
848
849 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
850
851 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
852 "Close browser" menu items. Fix wrong function of "List
853 bookmarks".
854
855 2013-12-11 Juri Linkov <juri@jurta.org>
856
857 * misearch.el (multi-isearch-buffers): Set the value of
858 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
859 arg of isearch-forward to t.
860 (multi-isearch-buffers-regexp): Set the value of
861 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
862 arg of isearch-forward-regexp to t.
863 (multi-isearch-files): Set the value of
864 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
865 arg of isearch-forward to t.
866 (multi-isearch-files-regexp): Set the value of
867 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
868 arg of isearch-forward-regexp to t. (Bug#16035)
869
870 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
871 arg of isearch-forward to t.
872 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
873 arg of isearch-forward-regexp to t.
874 (dired-isearch-filter-filenames): Remove unnecessary check for
875 `dired-isearch-filenames'.
876
877 * comint.el (comint-history-isearch-backward):
878 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
879 (comint-history-isearch-backward-regexp):
880 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
881
882 2013-12-10 Eli Zaretskii <eliz@gnu.org>
883
884 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
885 unmsys--file-name. (Bug#16099)
886
887 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
888
889 * emacs-lisp/package.el (package-keyword-button-action):
890 Remove finder.el require dependency.
891
892 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
893
894 * emacs-lisp/package.el: Require finder.el.
895 (describe-package-1): Add keyword buttons.
896 (package-make-button): New convenience function.
897 (package-keyword-button-action): Keyword button action using
898 `finder-list-matches'.
899
900 2013-12-09 Eli Zaretskii <eliz@gnu.org>
901
902 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
903 last commit.
904
905 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
906
907 * autorevert.el (auto-revert-notify-add-watch): Do not handle
908 symlinked files.
909
910 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
911
912 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
913 after the end of a percent literal.
914
915 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
916
917 * progmodes/ruby-mode.el (ruby-forward-string): Document.
918 Handle caret-delimited strings (Bug#16079).
919
920 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
921
922 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
923 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
924 `ruby-parse-partial' (Bug#16078).
925
926 2013-12-09 Leo Liu <sdl.web@gmail.com>
927
928 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
929
930 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
931
932 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
933 (js-switch-indent-offset): New option.
934 (js--proper-indentation): Use it. And handle the case when
935 "default" is actually a key in an object literal.
936 (js--same-line): New function.
937 (js--multi-line-declaration-indentation): Use it.
938 (js--indent-in-array-comp, js--array-comp-indentation):
939 New functions.
940 (js--proper-indentation): Use them, to handle array comprehension
941 continuations.
942
943 2013-12-08 Leo Liu <sdl.web@gmail.com>
944
945 * progmodes/flymake.el (flymake-highlight-line): Re-write.
946 (flymake-make-overlay): Remove arg MOUSE-FACE.
947 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
948
949 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
952 New function.
953 (redisplay-highlight-region-function): Use it.
954
955 * emulation/cua-base.el (cua--explicit-region-start)
956 (cua--last-region-shifted): Remove.
957 (cua--deactivate): Use deactivate-mark.
958 (cua--pre-command-handler-1): Don't handle shift-selection.
959 (cua--post-command-handler-1): Don't change transient-mark-mode.
960 (cua--select-keymaps): Use region-active-p rather than
961 cua--explicit-region-start or cua--last-region-shifted.
962 (cua-mode): Enable shift-select-mode.
963
964 2013-12-08 Leo Liu <sdl.web@gmail.com>
965
966 * progmodes/flymake.el (flymake-popup-current-error-menu):
967 Rename from flymake-display-err-menu-for-current-line. Reimplement.
968 (flymake-posn-at-point-as-event, flymake-popup-menu)
969 (flymake-make-emacs-menu): Remove. (Bug#16077)
970
971 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * rect.el (rectangle-mark-mode): Activate mark even if
974 transient-mark-mode is off (bug#16066).
975 (rectangle--highlight-for-redisplay): Fix boundary condition when point
976 is > mark and at bolp.
977
978 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
979 (region-extract-function): Use it.
980 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
981 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
982 Delete functions.
983 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
984 kill-ring-save, kill-region, delete-char, delete-forward-char.
985 Ignore self-insert-iso.
986
987 * emulation/cua-gmrk.el (cua--init-global-mark):
988 Ignore `self-insert-iso'.
989
990 * emulation/cua-base.el (cua--prefix-copy-handler)
991 (cua--prefix-cut-handler): Rely on region-extract-function rather than
992 checking cua--rectangle.
993 (cua-delete-region): Use region-extract-function.
994 (cua-replace-region): Delete function.
995 (cua-copy-region, cua-cut-region): Obey region-extract-function.
996 (cua--pre-command-handler-1): Don't do the delete-selection thing.
997 (cua--self-insert-char-p): Ignore `self-insert-iso'.
998 (cua--init-keymaps): Don't remap delete-selection commands.
999 (cua-mode): Use delete-selection-mode instead of rolling our own
1000 (bug#16085).
1001
1002 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1003 Obey region-extract-function.
1004
1005 Make registers and delete-selection-mode work on rectangles.
1006 * register.el (describe-register-1): Don't modify the register's value.
1007 (copy-to-register): Obey region-extract-function.
1008 * delsel.el (delete-active-region): Obey region-extract-function.
1009
1010 2013-12-08 Leo Liu <sdl.web@gmail.com>
1011
1012 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1013 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1014 (flymake-compilation-prevents-syntax-check)
1015 (flymake-start-syntax-check-on-newline)
1016 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1017 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1018 (flymake-xml-program, flymake-master-file-dirs)
1019 (flymake-master-file-count-limit)
1020 (flymake-allowed-file-name-masks): Relocate.
1021 (flymake-makehash, flymake-float-time)
1022 (flymake-replace-regexp-in-string, flymake-split-string)
1023 (flymake-get-temp-dir): Remove.
1024 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1025 (flymake-current-row, flymake-selected-frame)
1026 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1027 related functions. (Bug#16077)
1028
1029 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1030
1031 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1032
1033 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1034
1035 * help-fns.el (describe-function-1): Use new advice-* functions
1036 rather than old ad-* functions. Fix function type description and
1037 source links for advised functions and subrs.
1038
1039 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1040
1041 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1042
1043 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1044
1045 * progmodes/compile.el (compilation-start):
1046 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1047
1048 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1049 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1050
1051 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1054 Touch up the last change.
1055
1056 2013-12-06 Leo Liu <sdl.web@gmail.com>
1057
1058 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1059 (inferior-octave-startup): Always use "octave> " for prompt.
1060 (octave-goto-function-definition)
1061 (octave-sync-function-file-names)
1062 (octave-find-definition-default-filename): Remove redundant backquotes.
1063
1064 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1065
1066 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1067 syntax for `?'.
1068 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1069 where appropriate already.
1070 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1071 end of method names (Bug#15874).
1072
1073 2013-12-06 Juri Linkov <juri@jurta.org>
1074
1075 * isearch.el (isearch--saved-overriding-local-map):
1076 New internal variable.
1077 (isearch-mode): Set it to the initial value of
1078 `overriding-terminal-local-map'.
1079 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1080 with `isearch--saved-overriding-local-map'. (Bug#16035)
1081
1082 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * progmodes/octave.el (inferior-octave-completion-table):
1085 Turn back into function, use `completion-table-with-cache'
1086 (Bug#11906). Update all references.
1087
1088 * minibuffer.el (completion-table-with-cache): New function.
1089
1090 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1091
1092 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1093
1094 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1095
1096 * net/eww.el (eww-current-source): New variable to store page
1097 source.
1098 (eww-display-html, eww-mode, eww-save-history)
1099 (eww-restore-history): Use it.
1100 (eww-view-source): New command to view page source.
1101 Opportunistically uses `html-mode' to highlight the buffer.
1102 (eww-mode-map): Install it.
1103
1104 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1105
1106 * net/dbus.el (dbus-unregister-service)
1107 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1108 Fix docstring.
1109 (dbus-unregister-service): Skip :serial entries in
1110 `dbus-registered-objects-table'.
1111 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1112
1113 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1114
1115 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1116 around keywords with extra `split-string' argument.
1117
1118 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1119
1120 * windmove.el (windmove-other-window-loc): Handle navigation
1121 between windows (excluding the minibuffer window - Bug#16017).
1122
1123 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1124
1125 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1126 in D-Bus type syntax.
1127 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1128 preserve unibyte strings. (Bug#16048)
1129
1130 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1131
1132 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1133 Call force-mode-line-update is the proper buffer (bug#16042).
1134
1135 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1136
1137 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1138 `log-edit-remember-comment', make argument optional. Adjust all
1139 callers.
1140 (log-edit-mode): Add `log-edit-remember-comment' to
1141 `kill-buffer-hook' locally.
1142 (log-edit-kill-buffer): Don't remember comment explicitly since
1143 the buffer is killed anyway.
1144
1145 2013-12-04 Juri Linkov <juri@jurta.org>
1146
1147 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1148 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1149
1150 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1151
1152 * notifications.el (notifications-close-notification): Call the
1153 D-Bus method with ID being a `:uint32'. (Bug#16030)
1154
1155 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1156
1157 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1158
1159 2013-12-03 Juri Linkov <juri@jurta.org>
1160
1161 * progmodes/compile.el (compilation-start): Rename window alist
1162 entry `no-display-ok' to `allow-no-window'.
1163
1164 * simple.el (shell-command): Add window alist entry
1165 `allow-no-window' to `display-buffer'.
1166 (async-shell-command): Doc fix.
1167
1168 * window.el (display-buffer-no-window): New action function.
1169 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1170
1171 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * vc/log-edit.el (log-edit-set-header): Extract from
1174 `log-edit-toggle-header'.
1175 (log-edit-extract-headers): Separate the summary, when extracted
1176 from header, from the rest of the message with an empty line.
1177
1178 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1179 line, if present, to the Summary header.
1180
1181 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1184 in current-buffer (bug#16029).
1185
1186 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1187
1188 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1189 (debugger-mode-map): Bind it.
1190 (debugger--backtrace-base): New function.
1191 (debugger-eval-expression): Use it.
1192 (debugger-frame-number): Skip local vars when present.
1193 (debugger--locals-visible-p, debugger--insert-locals)
1194 (debugger--show-locals, debugger--hide-locals): New functions.
1195
1196 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1197
1198 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1199 "LC_ALL".
1200 (tramp-get-remote-locale): New defun.
1201 (tramp-open-connection-setup-interactive-shell): Use it.
1202
1203 2013-12-02 Leo Liu <sdl.web@gmail.com>
1204
1205 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1206
1207 * progmodes/sh-script.el (sh-shell-process):
1208 * progmodes/octave.el (inferior-octave-process-live-p):
1209 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1210 (gdb-inferior-io-sentinel):
1211 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1212
1213 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1214
1215 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1216 `save-selected-window' to `log-edit-hide-buf'. This makes
1217 `log-edit-show-files' idempotent.
1218 (log-edit-show-files): Mark the new window as dedicated.
1219
1220 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * vc/log-edit.el (log-edit-mode-map): Add binding for
1223 `log-edit-kill-biffer'.
1224 (log-edit-hide-buf): Add a FIXME comment.
1225 (log-edit-add-new-comment): New function, extracted from
1226 `log-edit-done'.
1227 (log-edit-done, log-edit-add-to-changelog): Use it.
1228 (log-edit-kill-buffer): New command.
1229
1230 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1231
1232 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1233 instead of killing the buffer.
1234
1235 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1238
1239 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1240
1241 * net/eww.el (eww-form-checkbox-selected-symbol)
1242 (eww-form-checkbox-symbol): New customizable variable.
1243 (eww-form-checkbox, eww-toggle-checkbox):
1244 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1245
1246 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1247 (shr--get-media-pref, shr--extract-best-source): New function.
1248 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1249 no :src tag was specified.
1250
1251 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1252 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1253 Use \\` to match beginning of string instead of ^.
1254 (eww-browse-with-external-browser): Provide optional URL parameter.
1255 (eww-render): Set `eww-current-title' back to "".
1256
1257 * net/shr.el (shr-tag-video): Display content for video if no
1258 poster is available.
1259 (shr-tag-audio): Add support for <audio> tag.
1260
1261 * net/eww.el (eww-text-input-types): New const.
1262 (eww-process-text-input): Treat input types in
1263 `eww-text-input-types' as text.
1264
1265 * net/shr.el (shr-tag-table): Fix comment typo.
1266
1267 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1268
1269 * net/eww.el (eww-follow-link): New command to avoid reloading
1270 pages when we follow #target links (bug#15243).
1271 (eww-quit): Special mode buffers shouldn't query before exiting.
1272
1273 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1274
1275 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1276 forms.
1277
1278 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1279
1280 * net/eww.el (eww-restore-history): Update the window title after
1281 moving in the history.
1282 (eww-current-dom): New variable used to save the current DOM.
1283
1284 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1285
1286 * vc/log-edit.el (log-edit-mode-map): Add binding for
1287 `log-edit-beginning-of-line'.
1288 (log-edit-setup-add-author): New user option.
1289 (log-edit-beginning-of-line): New command.
1290 (log-edit): Move major mode call above the contents setup so that
1291 the local variable values are already applied.
1292 (log-edit): Only insert "Author: " when
1293 `log-edit-setup-add-author' is non-nil.
1294 (log-edit): When SETUP is non-nil, position point after ": "
1295 instead of point-min.
1296
1297 2013-12-01 Glenn Morris <rgm@gnu.org>
1298
1299 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1300
1301 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1302
1303 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1304 redisplay to make sure the initial frame gets a chance to become
1305 visible. (Bug#16014)
1306
1307 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1308
1309 Support resizing frames and windows pixelwise.
1310 * cus-start.el (frame-resize-pixelwise)
1311 (window-resize-pixelwise): New entries.
1312 * emacs-lisp/debug.el (debug): Use window-total-height instead
1313 of window-total-size.
1314 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1315 * help.el (describe-bindings-internal): Call help-buffer
1316 (temp-buffer-max-width): New option.
1317 (resize-temp-buffer-window, help-window-setup)
1318 (with-help-window): Rewrite.
1319 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1320 dragging dividers.
1321 * window.el (frame-char-size, window-min-pixel-height)
1322 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1323 (window-min-pixel-width, window-safe-min-pixel-size)
1324 (window-combination-p, window-safe-min-size)
1325 (window-resizable-p, window--size-to-pixel)
1326 (window--pixel-to-size, window--resize-apply-p): New functions.
1327 (window-safe-min-height): Fix doc-string.
1328 (window-size, window-min-size, window--min-size-1)
1329 (window-sizable, window-sizable-p, window--min-delta-1)
1330 (window-min-delta, window--max-delta-1, window-max-delta)
1331 (window--resizable, window--resizable-p, window-resizable)
1332 (window-full-height-p, window-full-width-p, window-at-side-p)
1333 (window--in-direction-2, window-in-direction)
1334 (window--resize-reset-1, window--resize-mini-window)
1335 (window-resize, window-resize-no-error)
1336 (window--resize-child-windows-normal)
1337 (window--resize-child-windows, window--resize-siblings)
1338 (window--resize-this-window, window--resize-root-window)
1339 (window--resize-root-window-vertically)
1340 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1341 (maximize-window, minimize-window, delete-window)
1342 (quit-restore-window, window-split-min-size, split-window)
1343 (balance-windows-2, balance-windows)
1344 (balance-windows-area-adjust, balance-windows-area)
1345 (window--state-get-1, window-state-get, window--state-put-1)
1346 (window--state-put-2, window-state-put)
1347 (display-buffer-record-window, window--display-buffer):
1348 Make functions handle pixelwise sizing of windows.
1349 (display-buffer--action-function-custom-type)
1350 (display-buffer-fallback-action):
1351 Add display-buffer-in-previous-window.
1352 (display-buffer-use-some-window): Resize window to height it had
1353 before.
1354 (fit-window-to-buffer-horizontally): New option.
1355 (fit-frame-to-buffer): Describe new values.
1356 (fit-frame-to-buffer-bottom-margin): Replace with
1357 fit-frame-to-buffer-margins.
1358 (window--sanitize-margin): New function.
1359 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1360 using window-text-pixel-size.
1361
1362 2013-11-30 Glenn Morris <rgm@gnu.org>
1363
1364 * emacs-lisp/bytecomp.el (byte-compile-form):
1365 Make the `interactive-only' warning like the `obsolete' one.
1366 * comint.el (comint-run):
1367 * files.el (insert-file-literally, insert-file):
1368 * replace.el (replace-string, replace-regexp):
1369 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1370 (goto-line, insert-buffer, next-line, previous-line):
1371 Tweak `interactive-only' spec.
1372
1373 Stop keeping (most) generated cedet grammar files in the repository.
1374 * Makefile.in (semantic): New.
1375 (compile-main): Depend on semantic.
1376
1377 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1380 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1381
1382 * uniquify.el (uniquify-buffer-name-style): Change default.
1383
1384 * loadup.el: Preload "uniquify".
1385
1386 * time.el (display-time-update): Update all mode lines (bug#15999).
1387
1388 * electric.el (electric-indent-mode): Enable by default.
1389 * loadup.el: Preload "electric".
1390
1391 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1392
1393 * emacs-lisp/helpers.el (string-empty-p): New function.
1394 (string-blank-p): New function.
1395
1396 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1397
1398 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1399 (Bug#14029).
1400
1401 2013-11-29 Andreas Politz <politza@fh-trier.de>
1402 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1403 allow non-lambda lists as functions.
1404 (imenu--in-alist): Don't recurse into non-subalists.
1405 (imenu): Don't pass function itself as an argument (Bug#14029).
1406
1407 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * progmodes/python.el (python-mode-map): Remove binding for ":".
1410 (python-indent-electric-colon): Remove command.
1411 (python-indent-post-self-insert-function): Integrate the previous code
1412 of python-indent-electric-colon. Make it conditional on
1413 electric-indent-mode.
1414 (python-mode): Add ?: to electric-indent-chars.
1415 Move python-indent-post-self-insert-function to the end of
1416 post-self-insert-hook.
1417
1418 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * doc-view.el (doc-view-goto-page): Update mode-line.
1421
1422 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1423
1424 2013-11-27 Glenn Morris <rgm@gnu.org>
1425
1426 * international/charprop.el, international/uni-bidi.el:
1427 * international/uni-category.el, international/uni-combining.el:
1428 * international/uni-comment.el, international/uni-decimal.el:
1429 * international/uni-decomposition.el, international/uni-digit.el:
1430 * international/uni-lowercase.el, international/uni-mirrored.el:
1431 * international/uni-name.el, international/uni-numeric.el:
1432 * international/uni-old-name.el, international/uni-titlecase.el:
1433 * international/uni-uppercase.el:
1434 Remove generated files from VCS repository.
1435
1436 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1437
1438 * filenotify.el (file-notify-add-watch): Don't special-case
1439 w32notify when computing the directory to watch.
1440
1441 2013-11-27 Glenn Morris <rgm@gnu.org>
1442
1443 Make bootstrap without generated uni-*.el files possible again.
1444 * loadup.el: Update command-line-args checking for unidata-gen.
1445 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1446 * composite.el, international/characters.el:
1447 Handle unicode tables being undefined.
1448
1449 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1450 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1451 (compile-main): Depend on leim rule.
1452 (leim): New rule.
1453 * loadup.el: Move leim-list.el to leim/ subdirectory.
1454 * startup.el (normal-top-level): No more leim directory.
1455 * international/ja-dic-cnv.el (skkdic-convert):
1456 Disable version-control and autoloads in output files.
1457 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1458 Disable version-control and autoloads in output files.
1459 * leim/quail: Move here from ../leim.
1460 * leim/quail/hangul.el (hangul-input-method-activate):
1461 Add autoload cookie.
1462 (generated-autoload-load-name): Set file-local value.
1463 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1464 (generated-autoload-load-name): Set file-local value.
1465
1466 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1467
1468 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1469 (eww-add-bookmark): Ask confirmation when add to bookmarks
1470 (eww-quit): Ask confirmation before quitting eww.
1471
1472 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1473
1474 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1475 reading output from Diff on MS-Windows and MS-DOS.
1476
1477 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1478
1479 * emacs-lisp/helpers.el (string-reverse): New function.
1480
1481 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1482
1483 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1484 names on MS Windows, like "/[::1]:".
1485
1486 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1487 SWITCHES.
1488
1489 2013-11-26 Glenn Morris <rgm@gnu.org>
1490
1491 * progmodes/python.el (python-indent-guess-indent-offset):
1492 Avoid corner-case error. (Bug#15975)
1493
1494 Preload leim-list.el. (Bug#4789)
1495 * loadup.el: Load leim-list.el when found.
1496 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1497
1498 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1499
1500 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1501
1502 * emacs-lisp/helpers.el (string-join): New function.
1503
1504 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1505
1506 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1507 Mark as obsolete and replace it with a symbol property.
1508 (byte-compile-form): Use new 'interactive-only property.
1509 * comint.el, files.el, replace.el, simple.el:
1510 Apply new 'interactive-only properly.
1511
1512 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1513
1514 * window.el (display-buffer-at-bottom): Make sure that
1515 split-window-sensibly creates the new window on bottom
1516 (Bug#15961).
1517
1518 2013-11-23 David Kastrup <dak@gnu.org>
1519
1520 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1521 on the conflict markers when available.
1522 (smerge--get-marker): New function.
1523 (smerge-end-re, smerge-base-re): Add subgroup.
1524
1525 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * frame.el (handle-focus-in, handle-focus-out): Add missing
1528 interactive spec.
1529
1530 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1531
1532 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1533 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1534
1535 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1538 (gomoku--last-pos): New var.
1539 (gomoku--intangible-chars): New const.
1540 (gomoku--intangible): New function.
1541 (gomoku-mode): Use it. Derive from special-mode.
1542 (gomoku-move-up): Adjust line count.
1543 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1544 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1545 Simplify accordingly.
1546
1547 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1548 Remove blink-cursor code.
1549 (blink-cursor-timer-function, blink-cursor-suspend):
1550 Don't special-case GUIs.
1551 (blink-cursor-mode): Use focus-in/out-hook.
1552
1553 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1554
1555 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1556 work when annotation is invisible (Bug#13886).
1557
1558 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1559
1560 * json.el (json-alist-p): Only return non-nil if the alist has
1561 simple keys (Bug#13518).
1562
1563 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1564
1565 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1566 when control-statement is the first statement in a buffer (Bug#15956).
1567
1568 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1569
1570 * imenu.el (imenu-generic-skip-comments-and-strings):
1571 New option (Bug#15560).
1572 (imenu--generic-function): Use it.
1573
1574 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1575
1576 * minibuffer.el (completion--in-region-1): Scroll the correct
1577 window. (Bug#13898)
1578
1579 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1580
1581 * emacs-lisp/helpers.el: Add some string helpers.
1582 (string-trim-left): Removes leading whitespace.
1583 (string-trim-right): Removes trailing whitespace.
1584 (string-trim): Removes leading and trailing whitespace.
1585
1586 * subr.el (string-suffix-p): New function.
1587
1588 2013-11-23 Glenn Morris <rgm@gnu.org>
1589
1590 * progmodes/python.el (python-shell-send-file):
1591 Add option to delete file when done. (Bug#15647)
1592 (python-shell-send-string, python-shell-send-region): Use it.
1593
1594 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1595
1596 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1597 to set buffer-read-only to t, never to nil. (Bug#15938)
1598
1599 * textmodes/tex-mode.el (latex-noindent-environments):
1600 Add safe-local-variable property. (Bug#15936)
1601
1602 2013-11-23 Glenn Morris <rgm@gnu.org>
1603
1604 * textmodes/enriched.el (enriched-mode): Doc fix.
1605 * emacs-lisp/authors.el (authors-renamed-files-alist):
1606 Add enriched.doc -> enriched.txt.
1607
1608 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1609
1610 2013-11-22 Leo Liu <sdl.web@gmail.com>
1611
1612 * progmodes/octave.el (inferior-octave-startup): Spit out error
1613 message.
1614
1615 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1616
1617 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1618 Improve docstring.
1619 Add :version.
1620 (ruby-encoding-magic-comment-style): Add :version.
1621
1622 2013-11-22 Leo Liu <sdl.web@gmail.com>
1623
1624 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1625 (Bug#15076)
1626 (octave-help-mode): Adapt to change to help-mode-finish to use
1627 derived-mode-p on 2013-09-17.
1628 (inferior-octave-prompt): Also match octave-gui.
1629 (octave-kill-process): Don't ask twice. (Bug#10564)
1630
1631 2013-11-22 Leo Liu <sdl.web@gmail.com>
1632
1633 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1634 (inferior-octave-startup, inferior-octave-check-process)
1635 (inferior-octave-track-window-width-change)
1636 (octave-completion-at-point, octave-eldoc-function): Use it.
1637 (octave-kill-process): Provide confirmation. (Bug#10564)
1638
1639 2013-11-21 Leo Liu <sdl.web@gmail.com>
1640
1641 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1642 Fix obsolete variable comment-use-global-state.
1643
1644 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1645
1646 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1647 Add `octave-source-file'.
1648 (octave-source-file): New function. (Bug#15935)
1649
1650 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1651
1652 * net/eww.el (eww-local-regex): New variable.
1653 (eww): Use it to detect localhost and similar.
1654
1655 2013-11-21 Leo Liu <sdl.web@gmail.com>
1656
1657 Add completion for command `ag'.
1658 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1659 (pcomplete/ag): New function.
1660 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1661
1662 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1665 (bug#14646).
1666 (make-obsolete): Remove interactive spec.
1667
1668 2013-11-21 Glenn Morris <rgm@gnu.org>
1669
1670 * startup.el (command-line-1): Use path-separator with -L.
1671
1672 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1673
1674 * emacs-lisp/package.el (describe-package-1): Add package archive
1675 to shown fields.
1676
1677 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1678
1679 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1680 Change default to "# encoding: %s" to differentiate it from the
1681 default Ruby encoding comment template.
1682
1683 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1684
1685 * ses.el (ses-mode): Doc fix. (Bug#14748)
1686
1687 2013-11-20 Leo Liu <sdl.web@gmail.com>
1688
1689 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1690
1691 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1692
1693 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1694 when rebase or bisect are in progress.
1695
1696 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1697
1698 * filenotify.el (file-notify-add-watch): Doc fix.
1699
1700 2013-11-19 Leo Liu <sdl.web@gmail.com>
1701
1702 * obsolete/rcompile.el: Mark obsolete.
1703
1704 * progmodes/compile.el (compilation-start)
1705 (compilation-goto-locus, compilation-find-file):
1706 Pass no-display-ok and handle nil value from display-buffer.
1707 (Bug#13594)
1708
1709 * window.el (display-buffer-alist, display-buffer): Document the
1710 new parameter no-display-ok. Return either a window or nil
1711 but never a non-window value.
1712
1713 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * electric.el (electric-indent-mode-map): Remove.
1716 (electric-indent-mode): Change the global-map instead (bug#15915).
1717
1718 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1719 Use add-function.
1720
1721 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * emacs-lisp/nadvice.el (remove-function): Align with
1724 add-function's behavior.
1725
1726 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1727 (gdb--string-regexp): New constant.
1728 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1729 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1730 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1731 submatch 1.
1732 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1733 Adjust use accordingly.
1734 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1735
1736 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1737
1738 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1739 interpolation curlies (Bug#15914).
1740
1741 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1742
1743 * calc/calc.el (calc-context-sensitive-enter): New variable.
1744 (calc-enter): Use `calc-context-sensitive-enter'.
1745
1746 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1747
1748 * progmodes/cfengine.el: Version bump.
1749 (cfengine-cf-promises): New defcustom to locate cf-promises.
1750 (cfengine3-vartypes): Add new "data" type.
1751 (cfengine3--current-word): New function to get current name-like
1752 word or its bounds.
1753 (cfengine3--current-function): New function to look up a CFEngine
1754 function's definition.
1755 (cfengine3-format-function-docstring): New function.
1756 (cfengine3-make-syntax-cache): New function.
1757 (cfengine3-documentation-function): New function: ElDoc glue.
1758 (cfengine3-completion-function): New function: completion glue.
1759 (cfengine3-mode): Set `compile-command',
1760 `eldoc-documentation-function', and add to
1761 `completion-at-point-functions'.
1762
1763 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1764
1765 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1766 `tramp-current-connection'.
1767
1768 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1769
1770 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1771 nil/self/true/false with "end of symbol".
1772
1773 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1774
1775 * subr.el (version-regexp-alist): Fix a typo.
1776
1777 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1778
1779 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1780 "en_US.utf8" and "LC_CTYPE" to "".
1781 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1782 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1783
1784 2013-11-15 Leo Liu <sdl.web@gmail.com>
1785
1786 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1787
1788 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * progmodes/gud.el (ctl-x-map):
1791 Remove C-x SPC binding. (Bug#12342)
1792 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1793
1794 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1795
1796 * subr.el (version-regexp-alist):
1797 Recognize hg, svn and darcs versions as snapshot versions.
1798
1799 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1800 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1801 (ruby--encoding-comment-required-p): Extract from
1802 `ruby-mode-set-encoding'.
1803 (ruby-mode-set-encoding): Add the ability to always insert an
1804 utf-8 encoding comment. Fix and simplify coding comment update
1805 logic.
1806
1807 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1808
1809 * net/tramp-gvfs.el (top): Run init code only when
1810 `tramp-gvfs-enabled' is not nil.
1811 (tramp-gvfs-enabled): Check also :system bus.
1812
1813 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 Sync with upstream verilog-mode revision 78e66ba.
1816 * progmodes/verilog-mode.el (verilog-end-of-defun)
1817 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1818 (verilog-get-end-of-defun): Remove unused argument.
1819 (verilog-comment-depth): Remove unused local `e'.
1820 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1821 Don't pass arg to verilog-get-end-of-defun.
1822
1823 2013-11-14 Glenn Morris <rgm@gnu.org>
1824
1825 * obsolete/assoc.el (aget): Prefix dynamic variable.
1826
1827 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1828
1829 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * widget.el, hfy-cmap.el: Remove bogus package version number.
1832
1833 2013-11-13 Glenn Morris <rgm@gnu.org>
1834
1835 * replace.el (replace-eval-replacement):
1836 Try to give more helpful error message. (Bug#15836)
1837
1838 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1839 (archive-7z-update): Avoid custom type mismatches.
1840
1841 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1842
1843 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1846 address can be empty.
1847
1848 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1849 Accept nil SWITCHES.
1850 (tramp-gvfs-handle-write-region): Implement APPEND.
1851
1852 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1855 binary "|" operator and closing block args delimiter.
1856 Remove FIXME comment referring to Ruby 1.8-only syntax.
1857 (ruby-smie--implicit-semi-p): Not after "|" operator.
1858 (ruby-smie--closing-pipe-p): New function.
1859 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1860 (ruby-smie-rules): Indent after "|".
1861
1862 2013-11-12 Glenn Morris <rgm@gnu.org>
1863
1864 * ps-print.el (ps-face-attribute-list):
1865 Handle anonymous faces. (Bug#15827)
1866
1867 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1868
1869 * window.el (display-buffer-other-frame): Fix doc-string.
1870 (Bug#15868)
1871
1872 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1875
1876 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1877
1878 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1879 (tramp-sh-handle-file-local-copy): Don't write a message when
1880 saving temporary files.
1881
1882 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1883 both directories are remote.
1884 (tramp-smb-handle-directory-files): Do not return double entries.
1885 Do not expand full file names.
1886 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1887 (tramp-smb-handle-write-region): Implement APPEND.
1888 (tramp-smb-get-stat-capability): Fix a stupid bug.
1889
1890 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1893
1894 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1895
1896 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1897 throwing error over malformed let/let* (bug#15814).
1898
1899 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * iswitchb.el (iswitchb-mode): Mark obsolete.
1902
1903 2013-11-11 Glenn Morris <rgm@gnu.org>
1904
1905 * international/uni-bidi.el, international/uni-category.el:
1906 * international/uni-name.el, international/uni-numeric.el:
1907 Regenerate for Unicode 6.3.0.
1908
1909 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1910
1911 * net/tramp.el (tramp-methods):
1912 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1913 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1914
1915 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1916
1917 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1918 Force highlighting text after Summary keyword in doc face for rpm.
1919
1920 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1921
1922 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1923 available and the word has no wildcards, append one to the grep pattern.
1924 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1925 (ispell-complete-word): Call `ispell-lookup-words' with the value
1926 independent of `ispell-look-p'.
1927
1928 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1929
1930 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1931 Not after "||".
1932 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1933 their parent.
1934
1935 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1938 (ruby-font-lock-keywords): Use backquote.
1939
1940 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1941
1942 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1943 (ruby-smie--backward-token): Only consider full-string matches.
1944
1945 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1946
1947 * faces.el (describe-face): Add distant-foreground.
1948
1949 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1950
1951 * progmodes/ruby-mode.el: Improve encoding comment handling.
1952 (ruby-encoding-magic-comment-style): New option.
1953 (ruby-custom-encoding-magic-comment-template): New option.
1954 (ruby--insert-coding-comment, ruby--detect-encoding):
1955 New functions extracted from `ruby-mode-set-encoding'.
1956 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1957 to control the style of the auto-inserted encoding comment.
1958
1959 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1960
1961 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1962 Use `smie-backward-sexp' with token argument.
1963
1964 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1965
1966 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1967 Remove instrumentation code.
1968
1969 2013-11-08 Glenn Morris <rgm@gnu.org>
1970
1971 * progmodes/autoconf.el (autoconf-mode):
1972 Tweak comment-start-skip. (Bug#15822)
1973
1974 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1977 at bobp (bug#15826).
1978 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1979
1980 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1981
1982 * man.el (Man-start-calling): New macro, extracted from
1983 Man-getpage-in-background.
1984 (Man-getpage-in-background): Use it.
1985 (Man-update-manpage): New command.
1986 (Man-mode-map): Bind it.
1987
1988 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1989
1990 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1991 of "and", "or", "&&" and "||".
1992 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1993 argument. Prohibit opening curly brace because it could only be a
1994 block opener in that position.
1995 (ruby-smie--forward-token, ruby-smie--backward-token):
1996 Separate "|" from "&" or "*" going after it. That can happen in block
1997 arguments.
1998 (ruby-smie--indent-to-stmt): New function, seeks the end of
1999 previous statement or beginning of buffer.
2000 (ruby-smie-rules): Use it.
2001 (ruby-smie-rules): Check if there's a ":" before a curly block
2002 opener candidate; if there is, it's a hash.
2003
2004 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2007 (cl--block-wrapper): Fix last accidental change.
2008
2009 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2010
2011 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2012 Instrument, in order to hunt failure on hydra.
2013
2014 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2015
2016 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2017 malformed bindings form (bug#15814).
2018
2019 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2022 "." compared to " @ ". This incidentally fixes some indentation
2023 examples with "do".
2024 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2025 (ruby-smie-grammar): New tokens: "and" and "or".
2026 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2027 Exclude "and" and "or". Remove "do" in order to work around token
2028 priorities.
2029 (ruby-smie-rules): Add all infix tokens. Handle the case of
2030 beginning-of-buffer.
2031
2032 2013-11-06 Glenn Morris <rgm@gnu.org>
2033
2034 * Makefile.in (setwins_almost, setwins_for_subdirs):
2035 Avoid accidental matches.
2036
2037 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * menu-bar.el (popup-menu): Use key-binding.
2040
2041 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2042
2043 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2044 menus, support also the menus produced by minor modes.
2045 (Bug#15817)
2046
2047 2013-11-06 Leo Liu <sdl.web@gmail.com>
2048
2049 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2050 DISTANCE to bound the search. All uses changed. (Bug#15808)
2051
2052 2013-11-06 Glenn Morris <rgm@gnu.org>
2053
2054 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2055 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2056 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2057
2058 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * electric.el (electric-indent-just-newline): New command.
2061 (electric-indent-mode-map): New keymap.
2062 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2063 Re-add :group which weren't redundant.
2064
2065 * electric.el (electric-indent-local-mode): New minor mode.
2066 (electric-indent-functions-without-reindent): New var.
2067 (electric-indent-post-self-insert-function): Use it.
2068 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2069
2070 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2071
2072 * international/quail.el (quail-help): Be more explicit about the
2073 meaning of the labels shown on the keys. (Bug#15800)
2074
2075 * startup.el (normal-top-level): Load the subdirs.el files before
2076 setting the locale environment. (Bug#15805)
2077
2078 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2081 via arguments so as to get the right ones (bug#15418).
2082
2083 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2084
2085 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2086
2087 Fix problems found while writing a test suite.
2088
2089 * net/tramp-compat.el (tramp-compat-load): New defun.
2090 * net/tramp.el (tramp-handle-load): Use it.
2091
2092 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2093 "(numberp ok-if-already-exists)" correctly.
2094
2095 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2096
2097 * international/characters.el (glyphless-char-display-control):
2098 Add usage note.
2099
2100 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2101
2102 * progmodes/python.el (python-mode):
2103 * progmodes/scheme.el (scheme-mode):
2104 * progmodes/prolog.el (prolog-mode):
2105 * progmodes/ruby-mode.el (ruby-mode):
2106 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2107 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2108
2109 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * rect.el (rectangle--highlight-for-redisplay):
2112 * emacs-lisp/smie.el (smie--next-indent-change):
2113 Use buffer-chars-modified-tick.
2114
2115 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2116
2117 * electric.el (electric-indent-post-self-insert-function):
2118 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2119
2120 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2121
2122 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2123
2124 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2125
2126 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2127 (bug#15786).
2128
2129 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2132
2133 * progmodes/python.el: Fix up last change.
2134 (python-shell--save-temp-file): New function.
2135 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2136 `string' comes from the current buffer.
2137 (python-shell-send-string-no-output): Remove `msg' arg.
2138 (python--use-fake-loc): New var.
2139 (python-shell-buffer-substring): Obey it. Try to compensate for the
2140 extra coding line added by python-shell--save-temp-file.
2141 (python-shell-send-region): Use python-shell--save-temp-file and
2142 python-shell-send-file directly. Add `nomain' argument.
2143 (python-shell-send-buffer): Use python-shell-send-region.
2144 (python-electric-pair-string-delimiter): New function.
2145 (python-mode): Use it.
2146
2147 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2148
2149 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2150 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2151 environment and decoding all of the default-directory's to here
2152 from command-line.
2153 (command-line): Decode also argv[0].
2154
2155 * loadup.el: Error out if default-directory is a multibyte string
2156 when we are dumping.
2157
2158 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2159
2160 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2161
2162 * emacs-lisp/package.el (package-menu-mode)
2163 (package-menu--print-info, package-menu--archive-predicate):
2164 Add Archive column to package list.
2165
2166 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2167
2168 Fix problems found while writing a test suite.
2169
2170 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2171 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2172 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2173 to nil when running original file name handler. Otherwise,
2174 there are problems with constructs like "$$FOO".
2175
2176 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2177 for `localname'.
2178
2179 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2180
2181 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2182
2183 * subr.el (version<, version<=, version=):
2184 Update docstrings with information for snapshot versions.
2185
2186 * helpers.el: New library for misc helper functions.
2187 (hash-table-keys): New function returning a list of hash keys.
2188 (hash-table-values): New function returning a list of hash values.
2189
2190 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2193 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2194
2195 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2196
2197 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2198 checking whether point is after a 1-letter word.
2199
2200 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2201
2202 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2203 Don't infloop when expanding region over `multiline' syntax-type that
2204 begins a line (bug#15778).
2205
2206 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2209 Make it into a proper minor mode.
2210 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2211 (rectangle-mark-mode-map): New keymap.
2212 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2213
2214 2013-11-04 Glenn Morris <rgm@gnu.org>
2215
2216 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2217
2218 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2221 (ruby-smie-rules): Use smie-rule-parent instead.
2222
2223 * emacs-lisp/smie.el (smie-rule-parent): Always call
2224 smie-indent-virtual rather than only for hanging tokens.
2225 (smie--next-indent-change): New helper command.
2226
2227 2013-11-03 Glenn Morris <rgm@gnu.org>
2228
2229 * Makefile.in (abs_srcdir): Remove.
2230 (emacs): Unset EMACSLOADPATH.
2231
2232 2013-11-02 Glenn Morris <rgm@gnu.org>
2233
2234 * Makefile.in (EMACS): Use a relative filename.
2235 (abs_top_builddir): Remove.
2236 (custom-deps, finder-data, autoloads): Use --chdir.
2237
2238 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2239
2240 Use relative filenames in TAGS files.
2241 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2242 (lisptagsfiles4, TAGS): Use relative file names.
2243 (TAGS-LISP): Remove.
2244 (maintainer-clean): No more TAGS-LISP file.
2245
2246 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2247 (lisptagsfiles4): Use absolute filenames again.
2248 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2249 Remove all *loaddefs files, not just the first. Remove esh-groups.
2250 (maintainer-clean): Delete TAGS, TAGS-LISP.
2251
2252 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2253
2254 * emacs-lisp/package.el (package-version-join):
2255 Recognize snapshot versions.
2256
2257 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2258
2259 * subr.el (version-regexp-alist): Add support for snapshot versions.
2260
2261 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2264 New function, replacement for `smie-rule-parent' for when we want to
2265 skip over our direct parent if it's an assignment token..
2266 (ruby-smie-rules): Use it.
2267
2268 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2269
2270 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2271 unconditionally. Remove now unnecessary forward declarations.
2272 Remove XEmacs-specific setup.
2273 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2274 (ruby-font-lock-syntactic-keywords)
2275 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2276 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2277 (ruby-here-doc-end-syntax): Remove.
2278 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2279 defined as function.
2280
2281 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2282
2283 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2284
2285 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2286
2287 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2288 table and abbrev table, `define-derived-mode' does that for us
2289 anyway.
2290
2291 2013-11-01 Glenn Morris <rgm@gnu.org>
2292
2293 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2294 files is atomic for some time, so no parallel compilation issues).
2295
2296 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2297
2298 * faces.el (face-x-resources): Add :distant-foreground.
2299 (region): Use :distant-foreground for gtk and ns.
2300
2301 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2302
2303 Allow multiple bibliographies when BibLaTeX is used rather than
2304 BibTeX.
2305 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2306 (reftex-locate-bibliography-files): Us it.
2307
2308 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2309
2310 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2311 allow comments in pbm files.
2312
2313 * term/w32-win.el (dynamic-library-alist): Support newer versions
2314 of libjpeg starting with v7: look only for the DLL from the
2315 version against which Emacs was built.
2316 Support versions of libpng beyond 1.4.x.
2317 Support libtiff v4.x.
2318
2319 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2320
2321 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2322 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2323 Add property :safe.
2324 (ruby-deep-arglist): Add property :type.
2325
2326 2013-10-31 Glenn Morris <rgm@gnu.org>
2327
2328 * Makefile.in (custom-deps, finder-data): No need to setq the target
2329 variables, we are in the right directory and the defaults work fine.
2330
2331 2013-10-30 Glenn Morris <rgm@gnu.org>
2332
2333 * Makefile.in (autoloads): Do not use abs_lisp.
2334
2335 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2336 `newline' does not respect `standard-output', so use `princ'.
2337
2338 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2339
2340 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2341 * buff-menu.el (Buffer-menu--unmark): New function.
2342 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2343
2344 2013-10-30 Glenn Morris <rgm@gnu.org>
2345
2346 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2347
2348 * emacs-lisp/package.el (lm-homepage): Declare.
2349
2350 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2351 Fix doc typos.
2352
2353 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2354
2355 * Makefile.in (finder-data, autoloads, update-subdirs)
2356 (compile-main, compile-clean, compile-always, bootstrap-clean):
2357 Check return value of cd.
2358 (compile-calc): Remove.
2359
2360 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2363
2364 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2365 (byte-compile-and-folded): New function.
2366 (=, <, >, <=, >=): Use it.
2367
2368 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2369 (path-separator, null-device, buffer-file-coding-system)
2370 (lpr-headers-switches): Check system-type before modifying them.
2371 (find-buffer-file-type-coding-system): Mark obsolete.
2372 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2373 find-file-not-found-set-buffer-file-coding-system.
2374 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2375 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2376 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2377 (w32-direct-print-region-helper, w32-direct-print-region-function)
2378 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2379 * startup.el (normal-top-level-add-subdirs-to-load-path):
2380 * ps-print.el (ps-print-region-function):
2381 * lpr.el (print-region-function): Use new name.
2382
2383 * subr.el (custom-declare-variable-early): Remove function.
2384 (custom-declare-variable-list): Remove var.
2385 (error, user-error): Remove `while' loop.
2386 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2387 (user-emacs-directory-warning, locate-user-emacs-file):
2388 Move to files.el.
2389 * simple.el (read-quoted-char-radix, read-quoted-char):
2390 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2391 Move from subr.el.
2392 * custom.el (custom-declare-variable-list): Don't process
2393 custom-declare-variable-list.
2394
2395 * progmodes/python.el (python-shell-get-buffer): New function.
2396 (python-shell-get-process): Use it.
2397 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2398 Python which encoding was used. Don't split-string since we only care
2399 about the first line. Return the temp-file, if applicable.
2400 (python-shell-send-region): Tell compile.el how to turn locations in
2401 the temp-file into locations in the source buffer.
2402
2403 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * subr.el (undefined): Add missing behavior from the C code for
2406 unbound keys.
2407
2408 * rect.el: Use lexical-binding. Add new rectangular region support.
2409 (rectangle-mark): New command.
2410 (rectangle--region): New var.
2411 (deactivate-mark-hook): Reset rectangle--region.
2412 (rectangle--extract-region, rectangle--insert-for-yank)
2413 (rectangle--highlight-for-redisplay)
2414 (rectangle--unhighlight-for-redisplay): New functions.
2415 (region-extract-function, redisplay-unhighlight-region-function)
2416 (redisplay-highlight-region-function): Use them to handle
2417 rectangular region.
2418 * simple.el (region-extract-function): New var.
2419 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2420 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2421 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2422 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2423 (redisplay-unhighlight-region-function)
2424 (redisplay-highlight-region-function): New vars.
2425 (redisplay--update-region-highlight): New function.
2426 (pre-redisplay-function): Use it.
2427 (exchange-point-and-mark): Don't deactivate the mark before
2428 reactivate-it anyway.
2429 * comint.el (comint-kill-region): Remove yank-handler argument.
2430 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2431 (delete-char): Remove property, since it's now part of their
2432 default behavior.
2433 (self-insert-iso): Remove property since this command doesn't exist.
2434
2435 * emacs-lisp/package.el (package--download-one-archive)
2436 (describe-package-1): Don't query the user about final newline.
2437
2438 2013-10-29 Daniel Colascione <dancol@dancol.org>
2439
2440 * net/tramp.el (tramp-methods): Document new functionality.
2441 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2442 tramp-hostname-checker if method provides one instead of scanning
2443 argument list for "%h" to decide hostname acceptability.
2444
2445 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2448 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2449 Handle COPY-CONTENTS. (Bug#15737)
2450
2451 2013-10-28 Daiki Ueno <ueno@gnu.org>
2452
2453 * epa-file.el
2454 (epa-file-cache-passphrase-for-symmetric-encryption):
2455 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2456
2457 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2458
2459 * image.el (defimage):
2460 (image-load-path): Doc fixes.
2461
2462 2013-10-27 Alan Mackenzie <acm@muc.de>
2463
2464 Indent statements in macros following "##" correctly.
2465 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2466 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2467
2468 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2469
2470 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2471
2472 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2473
2474 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2475 after `=' is probably a new expression.
2476
2477 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2478
2479 * man.el (man-imenu-title): New option.
2480 (Man-mode-map): Add menu. (Bug#15722)
2481 (Man-mode): Add imenu to menu.
2482
2483 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2484
2485 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2486 specific in what the first arg can be: a non-keyword word,
2487 string/regexp/percent literal opener, opening paren, or unary
2488 operator followed directly by word.
2489
2490 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2493 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2494 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2495 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2496 Remove vars, they do not apply any more.
2497 (prolog-mode-abbrev-table): Remove redundant declaration.
2498 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2499 (prolog-use-smie): Remove.
2500 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2501 supported by prolog-electric-if-then-else-flag.
2502 (prolog-mode-variables, prolog-menu): Use setq-local.
2503 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2504 Remove binding to `Backspace' since this key doesn't exist anyway.
2505 Remove bindings for electric self-inserting keys.
2506 (prog-mode): Assume it's defined.
2507 (prolog-post-self-insert): New function.
2508 (prolog-mode): Use it.
2509 (prolog-indent-line, prolog-indent-level)
2510 (prolog-find-indent-of-matching-paren)
2511 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2512 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2513 (prolog-goto-next-paren, prolog-in-string-or-comment)
2514 (prolog-tokenize, prolog-inside-mline-comment)
2515 (prolog-find-start-of-mline-comment): Remove functions.
2516 (prolog-find-unmatched-paren, prolog-clause-end)
2517 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2518 (prolog-electric--if-then-else): Rename from
2519 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2520 (prolog-tokenize-searchkey): Remove const.
2521 (prolog-clause-info): Use forward-sexp.
2522 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2523 (prolog-electric-if-then-else): Remove commands.
2524 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2525 for use in post-self-insert-hook.
2526 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2527 for use in post-self-insert-hook.
2528 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2529 for use in post-self-insert-hook.
2530 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2531 adapt it for use in post-self-insert-hook.
2532
2533 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2534
2535 * emacs-lisp/ert.el (ert-run-tests-interactively):
2536 Use `completing-read'. (Bug#9756)
2537
2538 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2539
2540 * simple.el (line-move): Call line-move-1 instead of
2541 line-move-visual when the current window hscroll is zero, but
2542 temporary-goal-column indicates we will need to hscroll as result
2543 of the movement. (Bug#15712)
2544
2545 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2546
2547 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2548 capitalization. Use :visible instead of :active.
2549 Fix `ruby-indent-exp' reference. Add menu items for the generic
2550 commands that are used with SMIE.
2551 (ruby-do-end-to-brace): Insert space after `{'.
2552
2553 2013-10-25 John Anthony <john@jo.hnanthony.com>
2554
2555 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2556
2557 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2558
2559 2013-10-25 Glenn Morris <rgm@gnu.org>
2560
2561 * vc/vc.el (vc-print-log): Don't use a working revision unless
2562 one was explicitly specified. (Bug#15322)
2563
2564 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * subr.el (add-to-list): Preserve return value in compiler-macro
2567 (bug#15692).
2568
2569 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2570
2571 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2572 result. Ask user to retry using '-all' flag. (Bug#15701)
2573
2574 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * emacs-lisp/smie.el: New smie-config system.
2577 (smie-config): New defcustom.
2578 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2579 (smie-config-guess, smie-config-save): New commands.
2580 (smie-config--mode-local, smie-config--buffer-local)
2581 (smie-config--trace, smie-config--modefuns): New vars.
2582 (smie-config--advice, smie-config--mode-hook)
2583 (smie-config--setter, smie-config-local, smie-config--get-trace)
2584 (smie-config--guess-value, smie-config--guess): New functions.
2585 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2586 text properties. Treat "string fence" syntax like string syntax.
2587
2588 * progmodes/sh-script.el (sh-use-smie): Change default.
2589 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2590 (sh-var-value): Simplify by CSE.
2591 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2592 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2593 is used.
2594 (sh-guess-basic-offset): Use cl-incf.
2595 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2596
2597 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2598
2599 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2600 (bug#15699).
2601
2602 2013-10-24 Glenn Morris <rgm@gnu.org>
2603
2604 * Makefile.in (abs_top_srcdir): Remove.
2605 (update-subdirs): Use relative path to update-subdirs.
2606
2607 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2608
2609 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2610 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2611 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2612 Call unmsys--file-name before expand-file-name, not after it.
2613
2614 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2617 (ert-test-skipped): New error.
2618 (ert-skip, ert-stats-skipped): New defuns.
2619 (ert--skip-unless): New macro.
2620 (ert-test-skipped): New struct.
2621 (ert--run-test-debugger, ert-test-result-type-p)
2622 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2623 (ert--stats-set-test-and-result, ert-char-for-test-result)
2624 (ert-string-for-test-result, ert-run-tests-batch)
2625 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2626 Handle skipped tests. (Bug#9803)
2627
2628 2013-10-24 Glenn Morris <rgm@gnu.org>
2629
2630 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2631
2632 * Makefile.in (abs_top_srcdir): New, set by configure.
2633 (update-subdirs): Correct build-aux location.
2634
2635 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2636
2637 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2638 value, whether we could auto-deduce `backend', or not.
2639
2640 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2641 with parameters" example. Simplify the "is it block or is it
2642 hash" check, but also make it more thorough.
2643
2644 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2645
2646 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2647
2648 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2651 { if it is hanging.
2652
2653 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2654 :before ";".
2655
2656 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2657
2658 * progmodes/compile.el (compilation-directory-matcher)
2659 (compilation-page-delimiter):
2660 Support GNU Make-4.0 directory quoting. (Bug#15678)
2661
2662 2013-10-23 Leo Liu <sdl.web@gmail.com>
2663
2664 * ido.el (ido-tidy): Handle read-only text.
2665
2666 2013-10-23 Glenn Morris <rgm@gnu.org>
2667
2668 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2669 (emacs, compile, compile-always):
2670 Quote entities that might contain whitespace.
2671 (custom-deps, finder-data, autoloads): Use abs_lisp.
2672 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2673 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2674 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2675
2676 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2679 Use `following-char'.
2680
2681 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2684 * progmodes/ruby-mode.el (ruby-smie-rules):
2685 Remove corresponding workaround. Fix indentation rule of ";" so it
2686 also applies when ";" is the parent.
2687
2688 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2689
2690 * frame.el (display-screens, display-pixel-height)
2691 (display-pixel-width, display-mm-width, display-backing-store)
2692 (display-save-under, display-planes, display-color-cells)
2693 (display-visual-class, display-monitor-attributes-list):
2694 Mention the optional ‘display’ argument in doc strings.
2695
2696 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2697
2698 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2699 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2700
2701 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2702
2703 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2704 TODO. Add "." after " @ ".
2705 (ruby-smie--at-dot-call): New function. Checks if point at method
2706 call with explicit target.
2707 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2708 to the method name tokens when it precedes them.
2709 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2710 (ruby-smie-rules): Add rule for indentation before and after "."
2711 token.
2712
2713 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * textmodes/remember.el (remember-diary-extract-entries):
2716 Avoid add-to-list.
2717
2718 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2719 an instruction.
2720
2721 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2724 (ruby-smie--implicit-semi-p): Add new operator chars.
2725
2726 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2727 `smie-down-list'.
2728 (ruby-smie--args-separator-p): Check that there's no newline
2729 between method call and its arguments.
2730
2731 2013-10-20 Alan Mackenzie <acm@muc.de>
2732
2733 Allow comma separated lists after Java "implements".
2734
2735 * progmodes/cc-engine.el (c-backward-over-enum-header):
2736 Parse commas.
2737 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2738 from a "disallowed" list in enum fontification.
2739
2740 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2741
2742 * startup.el (default-frame-background-mode): Remove unused defvar.
2743
2744 * progmodes/verilog-mode.el (verilog-mode): Don't set
2745 comment-indent-function globally.
2746
2747 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2748
2749 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2750 Move Info menu item creation to ns-win.el.
2751
2752 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2753 in menu bar.
2754
2755 * menu-bar.el: Move GNUStep specific menus...
2756
2757 * term/ns-win.el (ns-initialize-window-system): ... to here.
2758
2759 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 * simple.el (newline): Only run post-self-insert-hook when
2762 called interactively.
2763
2764 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2765
2766 * icomplete.el (icomplete-with-completion-tables): Add :version.
2767
2768 2013-10-19 Alan Mackenzie <acm@muc.de>
2769
2770 Fix fontification bugs with constructors and const.
2771
2772 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2773 CASE 2) Remove the check for the absence of a suffix construct
2774 after a function declaration with only types (no identifiers) in
2775 the parentheses. Also, accept a function declaration with just a
2776 type inside the parentheses, if this type can be positively
2777 recognised as such, or if a prefix keyword like "explicit" nails
2778 down the construct as a declaration.
2779
2780 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2781
2782 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2783 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2784 the problem whereby selecting a menu item that leads to a
2785 minibuffer prompt moves the cursor out of the minibuffer window,
2786 making it hard to type at the prompt. Suggested by Stefan Monnier
2787 <monnier@iro.umontreal.ca>.
2788
2789 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2790
2791 * menu-bar.el: Don't make Services menu.
2792
2793 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2794
2795 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2796 (ffap-alist): Use ffap-c++-mode for c++-mode.
2797 (ffap-c++-path): New variable.
2798 (ffap-c++-mode): New function.
2799
2800 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2801
2802 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2803
2804 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2805
2806 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2807 introduced on 2013-09-08, which results in an infinite loop
2808 requesting a password.
2809
2810 2013-10-18 Glenn Morris <rgm@gnu.org>
2811
2812 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2813
2814 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2815
2816 Sync with upstream verilog-mode revision 1a6ecec7.
2817 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2818 (verilog-mode-release-date): Remove.
2819 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2820 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2821 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2822 (verilog-auto-tieoff-ignore-regexp)
2823 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2824 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2825 (verilog-signals-with, verilog-dir-cache-preserving)
2826 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2827 Doc fixes.
2828 (verilog-case-fold): New option, to control case folding in
2829 regexp searches, bug597.
2830 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2831 (verilog-string-match-fold, verilog-in-paren-count)
2832 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2833 (verilog-at-close-struct-p): New functions.
2834 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2835 (verilog-forward-sexp, verilog-set-auto-endcomments):
2836 (verilog-leap-to-case-head): Handle "unique0" case.
2837 (verilog-in-constraint-re): New constant.
2838 (verilog-keywords, verilog-type-font-keywords):
2839 Add some SystemVerilog 1800-2012 keywords.
2840 (verilog-label-be): Remove unimplemented argument, bug669.
2841 (verilog-batch-execute-func): When batch expanding clear
2842 create-lockfiles to prevent spurious user locks when a file ends
2843 up not changing.
2844 (verilog-calculate-indent, verilog-calc-1)
2845 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2846 (verilog-do-indent): Fix indentation of nested constraints
2847 and structures.
2848 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2849 (verilog-auto-inst-param): Use verilog-string-match-fold.
2850 (verilog-read-inst-module-matcher):
2851 Fix AUTOINST on gate primitives with #1.
2852 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2853 Reads all user-defined typed variables.
2854 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2855 (verilog-signals-matching-regexp)
2856 (verilog-signals-not-matching-regexp, verilog-auto):
2857 Respect verilog-case-fold.
2858 (verilog-diff-report): Fix line count.
2859 (verilog-auto-assign-modport): Remove unused local `modi'.
2860 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2861 better handle multidimensional arrays.
2862 Fix packed array ports misadding bit index in AUTOINST, bug637.
2863 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2864 to not double-declare existing outputs and inputs, respectively.
2865 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2866 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2867 (verilog-sk-uvm-component): New skeleton.
2868 (verilog-submit-bug-report): Add verilog-case-fold,
2869 remove verilog-mode-release-date.
2870
2871 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2872
2873 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2874 as before.
2875
2876 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2877
2878 * textmodes/remember.el (remember): Set buffer-offer-save in
2879 remember buffers (bug#13566).
2880
2881 2013-10-18 Daniel Colascione <dancol@dancol.org>
2882
2883 When evaluating forms in ielm, direct standard output to ielm
2884 buffer. Add new ielm-return-for-effect command. Remove trailing
2885 whitespace throughout.
2886
2887 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2888 (ielm-return-for-effect): New command.
2889 (ielm-send-input): Accept optional `for-effect' parameter.
2890 (ielm-eval-input): Accept optional `for-effect' parameter.
2891 Bind `standard-output' to stream we create using
2892 `ielm-standard-output-impl'. Suppress printing result when
2893 `for-effect'.
2894 (ielm-standard-output-impl): New function.
2895 (inferior-emacs-lisp-mode): Explain new features in documentation.
2896
2897 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2898
2899 Code cleanup.
2900
2901 * net/tramp.el (tramp-debug-message): Do not check for connection
2902 buffer.
2903 (tramp-message): Use "vector" connection property.
2904
2905 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2906 (tramp-equal-remote, tramp-eshell-directory-change)
2907 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2908 (tramp-adb-handle-rename-file)
2909 * net/tramp-cmds.el (tramp-list-remote-buffers)
2910 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2911 * net/tramp-compat.el (tramp-compat-process-running-p)
2912 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2913 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2914 (tramp-gvfs-handle-rename-file)
2915 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2916 (tramp-set-file-uid-gid)
2917 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2918 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2919 of `file-remote-p'.
2920
2921 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2922 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2923 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2924 (tramp-gw-open-network-stream): Suppress unrelated traces.
2925
2926 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2927 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2928 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2929 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2930 connection property.
2931
2932 * net/tramp-cache.el (top): Suppress traces when reading
2933 persistency file.
2934
2935 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2936 Refactor common code. Improve debug message.
2937 (tramp-maybe-open-connection)
2938 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2939 connection buffer too early.
2940
2941 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2942 from `tramp-smb-actions-with-acl'.
2943 (tramp-smb-actions-set-acl): New defconst.
2944 (tramp-smb-handle-copy-directory)
2945 (tramp-smb-action-get-acl): New defun, renamed from
2946 `tramp-smb-action-with-acl'.
2947 (tramp-smb-action-set-acl): New defun.
2948 (tramp-smb-handle-set-file-acl): Rewrite.
2949
2950 2013-10-17 Glenn Morris <rgm@gnu.org>
2951
2952 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2953
2954 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * skeleton.el (skeleton-newline): Remove.
2957 (skeleton-internal-1): Use (insert "\n") instead.
2958
2959 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2960 let-bindings.
2961
2962 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2963 forward-sexp-function while we redo its job (bug#15613).
2964
2965 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2966
2967 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2968 represented by lists.
2969
2970 2013-10-16 Glenn Morris <rgm@gnu.org>
2971
2972 * tmm.el (tmm--history): New dynamic variable.
2973 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2974
2975 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2976
2977 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2978 (tramp-smb-errors): Add error messages.
2979 (tramp-smb-actions-with-acl): New defconst.
2980 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2981 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2982 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2983 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2984 (tramp-smb-get-stat-capability): Fix tests.
2985
2986 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2987
2988 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2989 (bug#15580).
2990
2991 2013-10-16 Glenn Morris <rgm@gnu.org>
2992
2993 * ansi-color.el (ansi-color-drop-regexp):
2994 Add 1J, 1K, 2K. (Bug#15617)
2995
2996 * files.el (hack-local-variables--warned-lexical): New.
2997 (hack-local-variables):
2998 Warn about misplaced lexical-binding. (Bug#15616)
2999
3000 * net/eww.el (eww-render): Always set eww-current-url,
3001 and update header line. (Bug#15622)
3002 (eww-display-html): ... Rather than just doing it here.
3003
3004 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3005
3006 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3007 menu navigations commands.
3008
3009 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3010
3011 * progmodes/subword.el (subword-capitalize): Be careful when
3012 the search for [[:alpha:]] fails (bug#15580).
3013
3014 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3015
3016 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3017 to commands that scroll the menu.
3018
3019 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3020
3021 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3022 Handle methods ending with `?' and `!'.
3023
3024 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3025
3026 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3027 `japanese-cp932' to `cp932' to fix the problem where saving a
3028 source file written in Shift_JIS twice would end up having
3029 `coding: japanese-cp932' which Ruby could not recognize.
3030 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3031 in `ruby-encoding-map'.
3032 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3033 doesn't need to be explicitly declared in magic comment.
3034 (ruby-encoding-map): Add type declaration for better customize UI.
3035
3036 2013-10-13 Glenn Morris <rgm@gnu.org>
3037
3038 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3039 Occur buffers are read-only. http://bugs.debian.org/720775
3040
3041 * emacs-lisp/authors.el (authors-fixed-entries):
3042 Comment out old alpha stuff.
3043
3044 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3045
3046 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3047 to `after-save-hook' instead of `before-save-hook'.
3048 (ruby-mode-set-encoding): Use the value of coding system used to
3049 write the file. Call `basic-save-buffer-1' after modifying the
3050 buffer.
3051
3052 2013-10-13 Alan Mackenzie <acm@muc.de>
3053
3054 Fix indentation/fontification of Java enum with
3055 "implements"/generic.
3056
3057 * progmodes/cc-engine.el (c-backward-over-enum-header):
3058 Extracted from the three other places and enhanced to handle generics.
3059 (c-inside-bracelist-p): Uses new function above.
3060 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3061 function above.
3062 (c-font-lock-enum-tail): Uses new function above.
3063
3064 2013-10-13 Kenichi Handa <handa@gnu.org>
3065
3066 * international/mule-cmds.el (select-safe-coding-system): Remove a
3067 superfluous condition in chekcing whether a coding system is safe
3068 or not.
3069
3070 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3071
3072 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3073
3074 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3075
3076 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3077
3078 2013-10-13 Glenn Morris <rgm@gnu.org>
3079
3080 * menu-bar.el (menu-bar-update-buffers):
3081 Unify Buffers menu prompt string. (Bug#15576)
3082
3083 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3084
3085 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3086 Add some entries.
3087 (authors-fixed-entries): Use accented form of name.
3088
3089 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3092 method calls (bug#15594).
3093 (ruby-smie--args-separator-p): New function.
3094 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3095 recognize paren-free method calls.
3096
3097 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3098 internals of universal-argument.
3099
3100 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3101
3102 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3103 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3104 dropped menu on second mouse click on the menu bar.
3105
3106 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3109 (explicit-shell-file-name): Declare.
3110 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3111 (sh-completion-at-point-function): New function.
3112 (sh-mode): Use it.
3113 (sh-smie--keyword-p): Remove unused argument.
3114 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3115 vars.
3116 (sh-set-shell): Always setup SMIE, even if we use the
3117 old indentation code.
3118
3119 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3120
3121 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3122 cases of ? and =.
3123 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3124 predicate would return nil are almost non-existent.
3125 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3126
3127 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3128 cache also after commands that modify the buffer but don't move
3129 point.
3130
3131 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * env.el (substitute-env-in-file-name): New function.
3134 (substitute-env-vars): Extend the meaning of the optional arg.
3135
3136 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3137
3138 * term/w32-win.el (dynamic-library-alist): Define separate lists
3139 of GIF DLLs for versions before and after 5.0.0 of giflib.
3140 (Bug#15531)
3141
3142 2013-10-10 João Távora <joaotavora@gmail.com>
3143
3144 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3145 not locked, use last revision and current source as
3146 defaults. (Bug#15569)
3147
3148 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3149
3150 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3151 menu-bar is hidden.
3152
3153 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3154
3155 * window.el (pop-to-buffer-same-window): Fix doc-string.
3156 (Bug#15492)
3157
3158 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3161
3162 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3163
3164 * calendar/icalendar.el (icalendar-import-file):
3165 Fix interactive spec. (Bug#15482)
3166
3167 2013-10-10 Glenn Morris <rgm@gnu.org>
3168
3169 * desktop.el (desktop-save): Default to saving in .emacs.d,
3170 since PWD is no longer in desktop-path by default. (Bug#15319)
3171
3172 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3173 now that text mode has a menu with the same entry.
3174 (menu-bar-text-mode-auto-fill): Remove now unused func.
3175 * textmodes/text-mode.el (text-mode-map):
3176 Use auto-fill help text from menu-bar.el.
3177
3178 2013-10-10 John Anthony <john@jo.hnanthony.com>
3179
3180 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3181
3182 2013-10-09 Juri Linkov <juri@jurta.org>
3183
3184 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3185 instead of this-command-keys. Add universal-argument-more and
3186 universal-argument-minus to the list of prefix commands. (Bug#15568)
3187
3188 2013-10-09 Glenn Morris <rgm@gnu.org>
3189
3190 * vc/vc-svn.el (vc-svn-create-repo):
3191 Expand paths in file://... url. (Bug#15446)
3192
3193 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3194 Add some entries.
3195 (authors): Remove unused local variables.
3196
3197 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * profiler.el: Create a more coherent calltree from partial backtraces.
3200 (profiler-format): Hide the tail with `invisible' so that C-s can still
3201 find the hidden elements.
3202 (profiler-calltree-depth): Don't recurse so enthusiastically.
3203 (profiler-function-equal): New hash-table-test.
3204 (profiler-calltree-build-unified): New function.
3205 (profiler-calltree-build): Use it.
3206 (profiler-report-make-name-part): Indent the calltree less.
3207 (profiler-report-mode): Add visibility specs for profiler-format.
3208 (profiler-report-expand-entry, profiler-report-toggle-entry):
3209 Expand the whole subtree when provided with a prefix arg.
3210
3211 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3212
3213 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3214 iuwu-mod token.
3215 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3216 hanging iuwu-mod token.
3217 (ruby-smie--forward-token): Do not include a dot after a token in
3218 that token.
3219 (ruby-smie--backward-token): Likewise.
3220
3221 2013-10-08 Juri Linkov <juri@jurta.org>
3222
3223 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3224 to isearch-other-control-char.
3225 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3226 and isearch-post-command-hook to post-command-hook.
3227 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3228 and isearch-post-command-hook from post-command-hook.
3229 (isearch-unread-key-sequence)
3230 (isearch-reread-key-sequence-naturally)
3231 (isearch-lookup-scroll-key, isearch-other-control-char)
3232 (isearch-other-meta-char): Remove functions.
3233 (isearch-pre-command-hook, isearch-post-command-hook):
3234 New functions based on isearch-other-meta-char rewritten
3235 relying on the new behavior of overriding-terminal-local-map
3236 that does not replace the local keymaps any more. (Bug#15200)
3237
3238 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3239
3240 Support menus on text-mode terminals.
3241 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3242 functionality.
3243
3244 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3245
3246 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3247 Move here from mouse.el.
3248 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3249 and arrow keys.
3250 (tty-menu-navigation-map): New map for TTY menu navigation.
3251
3252 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3253
3254 * frame.el (display-mouse-p): Report text-mode mouse as available
3255 on w32.
3256 (display-popup-menus-p): Report availability if mouse is
3257 available; don't condition on window-system.
3258
3259 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3260 (tty-menu-selected-face): New faces.
3261
3262 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3265 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3266 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3267 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3268 New constants.
3269 (lisp-mode-variables): New `elisp' argument.
3270 (emacs-lisp-mode): Use it.
3271 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3272 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3273
3274 * indent.el: Use lexical-binding.
3275 (indent-region): Add progress reporter.
3276 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3277 last step.
3278 (indent--next-tab-stop): New function to implement this behavior.
3279 (tab-to-tab-stop, move-to-tab-stop): Use it.
3280
3281 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3282
3283 * indent.el (indent-rigidly--current-indentation): New function.
3284 (indent-rigidly-map): New var.
3285 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3286
3287 2013-10-08 Bastien Guerry <bzg@gnu.org>
3288
3289 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3290
3291 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * progmodes/perl-mode.el: Use lexical-binding.
3294 Remove redundant :group args.
3295 (perl-nochange): Change default to be closer to other major modes's
3296 standard behavior.
3297 (perl-indent-line): Don't consider text on current line as a
3298 valid beginning of function from which to indent.
3299
3300 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3301 with more than one argument (bug#15538).
3302
3303 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3304
3305 * vc/pcvs.el: Use lexical-binding.
3306 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3307 environment of `eval'.
3308 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3309 than a list of expressions. Adjust callers.
3310 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3311
3312 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3313
3314 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3315 case of the dot in a chained method call being on the following line.
3316
3317 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * electric.el (electric-indent-inhibit): New var.
3320 (electric-indent-post-self-insert-function): Use it.
3321 * progmodes/python.el (python-mode): Set it.
3322
3323 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3324 open braces.
3325
3326 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3327
3328 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3329 (css-mode): Use electric-indent-chars.
3330
3331 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3332 (font-lock-beg, font-lock-end): Move before first use.
3333 (nxml-mode): Use syntax-propertize-function.
3334 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3335 (nxml-extend-after-change-region): Remove.
3336 * nxml/xmltok.el: Use lexical-binding.
3337 (xmltok-save): Use `declare'.
3338 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3339 * nxml/nxml-util.el: Use lexical-binding.
3340 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3341 Use `declare'.
3342 * nxml/nxml-ns.el: Use lexical-binding.
3343 (nxml-ns-save): Use `declare'.
3344 (nxml-ns-prefixes-for): Avoid add-to-list.
3345 * nxml/rng-match.el: Use lexical-binding.
3346 (rng--ipattern): Use cl-defstruct.
3347 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3348 (rng-cons-group-after, rng-subst-group-after)
3349 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3350 Use closures instead of `(lambda...).
3351
3352 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3353
3354 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3355 of BEG and END.
3356
3357 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3358 Use `tramp-handle-insert-file-contents'.
3359 (tramp-gvfs-handle-insert-file-contents): Remove function.
3360
3361 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3362 Use `save-restriction' in order to keep markers.
3363
3364 * net/trampver.el: Update release number.
3365
3366 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * progmodes/compile.el (compilation-parse-errors):
3369 Use compilation--put-prop.
3370 (compilation--ensure-parse): Check compilation-multiline.
3371
3372 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3373
3374 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3375 lexical-binding.
3376
3377 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3378
3379 * progmodes/ruby-mode.el: Fix recently added tests.
3380 (ruby-smie-grammar): Add - and +.
3381 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3382 (ruby-smie--backward-id): New functions.
3383 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3384 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3385 any more.
3386
3387 2013-10-07 Leo Liu <sdl.web@gmail.com>
3388
3389 * register.el (register-preview-delay)
3390 (register-preview-functions): New variables.
3391 (register-read-with-preview, register-preview)
3392 (register-describe-oneline): New functions.
3393 (point-to-register, window-configuration-to-register)
3394 (frame-configuration-to-register, jump-to-register)
3395 (number-to-register, view-register, insert-register)
3396 (copy-to-register, append-to-register, prepend-to-register)
3397 (copy-rectangle-to-register): Use register-read-with-preview to
3398 read register. (Bug#15525)
3399
3400 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3401
3402 * net/network-stream.el (network-stream-open-starttls): Don't add
3403 --insecure if it's already present, because that gnutls-cli
3404 rejects getting that parameter twice.
3405
3406 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3407
3408 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3409 keyword, too.
3410
3411 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3412
3413 * newcomment.el (comment-use-global-state): Change default value
3414 to t, mark obsolete (Bug#15251).
3415 (comment-beginning): In addition to `comment-to-syntax', check the
3416 value of `comment-use-global-state'.
3417
3418 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3421 (ruby-comment-column): Follow the global default, by default.
3422 (ruby-smie-grammar): Add assignment syntax.
3423 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3424 open-paren, a comma, or a \.
3425 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3426 and line continuations.
3427 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3428 followed by implicit semi-colons. Add rule for string concatenation
3429 and for indentation at BOB.
3430 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3431
3432 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3433 calling next-sexp, since next-token may have skipped chars which
3434 next-sexp doesn't know should be skipped!
3435
3436 2013-10-05 Leo Liu <sdl.web@gmail.com>
3437
3438 * progmodes/octave.el (octave-send-region):
3439 Call compilation-forget-errors.
3440
3441 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3442
3443 * vc/vc-svn.el (vc-svn-find-admin-dir):
3444 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3445 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3446 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3447 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3448
3449 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3452
3453 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * subr.el (read-passwd): Hide chars even when called within a context
3456 where after-change-functions is disabled (bug#15501).
3457 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3458 until we removed ourself from overriding-terminal-local-map.
3459
3460 2013-10-04 Leo Liu <sdl.web@gmail.com>
3461
3462 * progmodes/octave.el (inferior-octave-mode):
3463 Call compilation-forget-errors.
3464
3465 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3466
3467 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3468
3469 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3470
3471 * net/secrets.el (secrets-create-collection): Add optional
3472 argument ALIAS. Use proper Label keyword. Append ALIAS as
3473 dbus-call-method argument. (Bug#15516)
3474
3475 2013-10-04 Leo Liu <sdl.web@gmail.com>
3476
3477 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3478 (inferior-octave-compilation-font-lock-keywords): New variables.
3479 (compilation-error-regexp-alist)
3480 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3481 (inferior-octave-mode): Use compilation-shell-minor-mode.
3482
3483 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3484
3485 * minibuffer.el (completion--replace): Be careful that `end' might be
3486 a marker.
3487
3488 2013-10-03 Daiki Ueno <ueno@gnu.org>
3489
3490 Add support for package signature checking.
3491 * emacs-lisp/package.el (url-http-file-exists-p)
3492 (epg-make-context, epg-context-set-home-directory)
3493 (epg-verify-string, epg-context-result-for)
3494 (epg-signature-status, epg-signature-to-string)
3495 (epg-check-configuration, epg-configuration)
3496 (epg-import-keys-from-file): Declare.
3497 (package-check-signature): New user option.
3498 (package-unsigned-archives): New user option.
3499 (package-desc): Add `signed' field.
3500 (package-load-descriptor): Set `signed' field if .signed file exists.
3501 (package--archive-file-exists-p): New function.
3502 (package--check-signature): New function.
3503 (package-install-from-archive): Check package signature.
3504 (package--download-one-archive): Check archive signature.
3505 (package-delete): Remove .signed file.
3506 (package-import-keyring): New command.
3507 (package-refresh-contents): Import default keyring.
3508 (package-desc-status): Add "unsigned" status.
3509 (describe-package-1, package-menu--print-info)
3510 (package-menu-mark-delete, package-menu--find-upgrades)
3511 (package-menu--status-predicate): Support "unsigned" status.
3512
3513 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3516 the new compilation scheme using the new byte-codes.
3517
3518 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3519 (byte-pophandler): New byte codes.
3520 (byte-goto-ops): Adjust accordingly.
3521 (byte-compile--use-old-handlers): New var.
3522 (byte-compile-catch): Use new byte codes depending on
3523 byte-compile--use-old-handlers.
3524 (byte-compile-condition-case--old): Rename from
3525 byte-compile-condition-case.
3526 (byte-compile-condition-case--new): New function.
3527 (byte-compile-condition-case): New function that dispatches depending
3528 on byte-compile--use-old-handlers.
3529 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3530 when we can.
3531
3532 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3533 Optimize under `condition-case' and `catch' if
3534 byte-compile--use-old-handlers is nil.
3535 (disassemble-offset): Handle new bytecodes.
3536
3537 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * subr.el (error): Use `declare'.
3540 (decode-char, encode-char): Use advertised-calling-convention instead
3541 of the docstring to discourage use of the `restriction' arg.
3542
3543 2013-10-03 Daiki Ueno <ueno@gnu.org>
3544
3545 * epg.el (epg-verify-file): Add a comment saying that it does not
3546 notify verification error as a return value nor a signal.
3547 (epg-verify-string): Ditto.
3548
3549 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3550
3551 * progmodes/compile.el (compilation-start): Try globbing the arg to
3552 `cd' (bug#15417).
3553
3554 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3555
3556 Sync with Tramp 2.2.8.
3557
3558 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3559 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3560 * net/trampver.el: Update release number.
3561
3562 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3563
3564 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3565 and default-process-coding-system for darwin only.
3566
3567 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3570
3571 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3572
3573 * vc/vc-git.el (vc-git-grep): Disable pager.
3574
3575 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3578 Use :url instead of :homepage, as per
3579 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3580
3581 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3582 non-nil, use `syntax-ppss' (Bug#15251).
3583
3584 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3585
3586 * progmodes/octave.el (inferior-octave-startup-file):
3587 Prefer ~/.emacs.d/init_octave.m.
3588
3589 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3590
3591 * emacs-lisp/package.el (package-desc-from-define):
3592 Accept additional arguments as plist, convert them to an alist and store
3593 them in the `extras' slot.
3594 (package-generate-description-file): Convert extras alist back to
3595 plist and append to the `define-package' form arguments.
3596 (package--alist-to-plist): New function.
3597 (package--ac-desc): Add `extras' slot.
3598 (package--add-to-archive-contents): Check if the archive-contents
3599 vector is long enough, and if it is, pass its `extras' slot value
3600 to `package-desc-create'.
3601 (package-buffer-info): Call `lm-homepage', pass the returned value
3602 to `package-desc-from-define'.
3603 (describe-package-1): Render the homepage button (Bug#13291).
3604
3605 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3606 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3607
3608 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3609
3610 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3611 and default-process-coding-system to utf-8-unix (Bug#15402).
3612
3613 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3614
3615 * subr.el (looking-back): Do not recommend using looking-back.
3616
3617 2013-09-28 Alan Mackenzie <acm@muc.de>
3618
3619 Fix indentation/fontification of Java enum with "implements".
3620
3621 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3622 regexp which matches "implements", etc., in Java.
3623 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3624 specifier clauses coming after "enum".
3625 * progmodes/cc-fonts.el (c-font-lock-declarations)
3626 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3627 after "enum".
3628
3629 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3630
3631 * faces.el (region): Change ns_selection_color to
3632 ns_selection_fg_color, add ns_selection_bg_color.
3633
3634 2013-09-28 Leo Liu <sdl.web@gmail.com>
3635
3636 * progmodes/octave.el (inferior-octave-completion-table)
3637 (inferior-octave-completion-at-point): Minor tweaks.
3638
3639 * textmodes/ispell.el (ispell-lookup-words): Rename from
3640 lookup-words. (Bug#15460)
3641 (lookup-words): Obsolete.
3642 (ispell-complete-word, ispell-command-loop): All uses changed.
3643
3644 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3645
3646 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3647 (octave-mode-menu): Add octave-send-buffer.
3648 (octave-send-buffer): New function.
3649
3650 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3651
3652 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3653 octave-lookfor.
3654 (octave-mode-menu): Add octave-lookfor.
3655 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3656 octave-lookfor.
3657 (octave-lookfor): New function.
3658
3659 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * emacs-lisp/cl-macs.el:
3662 (cl--loop-destr-temps): Remove.
3663 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3664 its convention.
3665 (cl--loop-set-iterator-function): New function.
3666 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3667 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3668 Bind `it' with `let' instead of substituting it with `cl-subst'.
3669 (cl--unused-var-p): New function.
3670 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3671 Eliminate some unused variable warnings (bug#15326).
3672
3673 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3674
3675 * doc-view.el (doc-view-scale-reset): Rename from
3676 `doc-view-reset-zoom-level'.
3677 (doc-view-scale-adjust): New command.
3678 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3679 `doc-view-scale-adjust'.
3680
3681 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3682
3683 * doc-view.el (doc-view-reset-zoom-level): New command.
3684 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3685 zoom commands (bug#15466).
3686
3687 2013-09-26 Kenichi Handa <handa@gnu.org>
3688
3689 * international/quail.el (quail-help): Make it not a command.
3690
3691 2013-09-26 Leo Liu <sdl.web@gmail.com>
3692
3693 * minibuffer.el (completion-all-sorted-completions): Make args
3694 optional as they are.
3695
3696 2013-09-25 Daniel Colascione <dancol@dancol.org>
3697
3698 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3699 specs are and that they're not evaluated.
3700
3701 2013-09-24 Sam Steingold <sds@gnu.org>
3702
3703 * midnight.el (clean-buffer-list-kill-regexps)
3704 (clean-buffer-list-kill-buffer-names): Update for the new Man
3705 buffer naming which includes the object name.
3706
3707 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3710 (eshell-parse-command, eshell-parse-pipeline): Use it since
3711 eshell-separate-commands requires a dynamic scoped var.
3712 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3713
3714 2013-09-23 Leo Liu <sdl.web@gmail.com>
3715
3716 * autoinsert.el (auto-insert-alist): Make the value of
3717 lexical-binding match its file setting.
3718
3719 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3720
3721 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3722
3723 * autoarg.el (autoarg-kp-digit-argument):
3724 * electric.el (Electric-command-loop):
3725 * kmacro.el (kmacro-step-edit-insert):
3726 Do not set universal-argument-num-events.
3727
3728 2013-09-22 Leo Liu <sdl.web@gmail.com>
3729
3730 * files.el (interpreter-mode-alist): Add octave.
3731
3732 2013-09-21 Alan Mackenzie <acm@muc.de>
3733
3734 C++: fontify identifier in declaration following "public:" correctly.
3735 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3736 to match "public", etc.
3737 (c-decl-prefix-re): Add ":" into the C++ value.
3738 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3739 bit. Add a check for a ":" preceded by "public", etc.
3740
3741 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3742
3743 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3744 recognized by GDB 7.5 and later.
3745
3746 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3747
3748 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3749
3750 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * subr.el (internal--call-interactively): New const.
3753 (called-interactively-p): Use it (bug#3984).
3754
3755 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3756
3757 * vc/pcvs.el (cvs-mode-ignore):
3758 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3759 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3760
3761 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3764 (eshell-ls-orig-insert-directory): Remove.
3765 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3766 (eshell-ls-use-in-dired): Use advice-add/remove.
3767 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3768 Add `orig-fun' arg for use in :around advice.
3769 Make it check (redundantly) eshell-ls-use-in-dired.
3770
3771 2013-09-19 Glenn Morris <rgm@gnu.org>
3772
3773 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3774
3775 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3776
3777 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3778
3779 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3780
3781 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3782 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3783 (tramp-get-remote-python): New defuns.
3784 (tramp-get-remote-uid-with-perl)
3785 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3786 contributed by yary <not.com@gmail.com> (tiny change).
3787 (tramp-get-remote-uid-with-python)
3788 (tramp-get-remote-gid-with-python): New defuns. Python code
3789 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3790 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3791
3792 2013-09-19 Glenn Morris <rgm@gnu.org>
3793
3794 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3795
3796 * eshell/em-unix.el (eshell-remove-entries):
3797 Rename argument to avoid name-clash with global `top-level'.
3798
3799 * eshell/esh-proc.el (eshell-kill-process-function):
3800 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3801 (eshell-reset-after-proc): Remove unused arg `proc'.
3802
3803 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3804 (directory-files-and-attributes): Mark unused arg.
3805
3806 * eshell/em-unix.el (eshell-remove-entries):
3807 Remove unused arg `path'. Update callers.
3808
3809 * eshell/em-hist.el (eshell-hist-parse-arguments):
3810 Remove unused arg `silent'. Update callers.
3811
3812 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3813 Fix (f)boundp mix-up.
3814
3815 * eshell/em-smart.el (eshell-smart-scroll-window)
3816 (eshell-disable-after-change):
3817 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3818
3819 2013-09-18 Alan Mackenzie <acm@muc.de>
3820
3821 Fix fontification of type when followed by "const".
3822 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3823 "known" types from fontification.
3824
3825 2013-09-18 Glenn Morris <rgm@gnu.org>
3826
3827 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3828 (chart-face-list): Drop Emacsen without display-color-p.
3829
3830 * net/eww.el (libxml-parse-html-region): Declare.
3831 (eww-display-html): Explicit error if no libxml2 support.
3832
3833 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3834
3835 * image.el (image-type-from-buffer, image-multi-frame-p):
3836 Remove --without-x warning/error.
3837
3838 * mouse.el (mouse-yank-primary):
3839 * term.el (term-mouse-paste):
3840 Reorder to silence --without-x compilation.
3841
3842 * mpc.el (doc-view-mode): Silence --without-x compilation.
3843
3844 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3845 Silence --without-x compilation.
3846
3847 * progmodes/gud.el (gud-find-file, gud-mode):
3848 Silence --without-x compilation.
3849 (tooltip-mode): Declare.
3850
3851 * wdired.el (dired-backup-overwrite): Remove declaration.
3852 (wdired-mode-map): Add doc string.
3853
3854 * custom.el (x-get-resource): Declare.
3855
3856 * eshell/em-glob.el (ange-cache):
3857 * eshell/em-unix.el (ange-cache): Declare.
3858
3859 * faces.el (x-display-list, x-open-connection, x-get-resource):
3860 Declare.
3861
3862 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3863 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3864 Declare.
3865
3866 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3867
3868 * net/gnutls.el (gnutls-log-level): Declare.
3869
3870 * net/shr.el (image-size, image-animate): Declare.
3871
3872 * simple.el (font-info): Declare.
3873
3874 * subr.el (x-popup-dialog): Declare.
3875
3876 * term/common-win.el (x-select-enable-primary)
3877 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3878 Declare.
3879
3880 * term/ns-win.el (x-handle-args): Declare.
3881
3882 * term/x-win.el (x-select-enable-clipboard): Declare.
3883
3884 * term/w32-win.el (create-default-fontset): Declare.
3885
3886 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3887 Declare.
3888
3889 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3890 (fit-frame-to-buffer): Explicit error if --without-x.
3891 (mouse-autoselect-window-select): Silence compiler.
3892
3893 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3894
3895 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3896 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3897 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3898 * eshell/esh-util.el (eshell-sublist):
3899 Remove unused local variables.
3900
3901 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3902
3903 * textmodes/two-column.el: Make 2C-split work for --without-x.
3904 (scroll-bar-columns): Autoload.
3905 (top-level): Require fringe when compiling.
3906
3907 2013-09-18 Leo Liu <sdl.web@gmail.com>
3908
3909 * subr.el (add-hook): Robustify to handle closure as well.
3910
3911 2013-09-17 Glenn Morris <rgm@gnu.org>
3912
3913 * simple.el (messages-buffer-mode-map): Unbind "g".
3914
3915 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * help-mode.el (help-mode-finish): Use derived-mode-p.
3918 Remove obsolete highlighting.
3919
3920 * play/life.el (life-mode): Use define-derived-mode. Derive from
3921 special-mode.
3922 (life): Let-bind inhibit-read-only.
3923 (life-setup): Avoid `setq'. Use `life-mode'.
3924
3925 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3926 which should not be needed any more.
3927 (package-menu-refresh, package-menu-describe-package): Use user-error.
3928
3929 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3930 (eshell-post-rewrite-command-hook): Make obsolete.
3931 (eshell-parse-command): Simplify.
3932 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3933 (eshell--cmd): Declare.
3934 (eshell-parse-pipeline): Remove unused var `final-p'.
3935 Pass a dynvar to eshell-post-rewrite-command-hook.
3936 Implement the new eshell-post-rewrite-command-function.
3937 (eshell-invoke-directly): Remove unused arg `input'.
3938 * eshell/esh-io.el (eshell-io-initialize):
3939 Use eshell-post-rewrite-command-function (bug#15399).
3940 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3941 adjust to new calling convention.
3942 (eshell-create-handles): Rename args to avoid clashing with dynvar
3943 `standard-output'.
3944
3945 2013-09-17 Glenn Morris <rgm@gnu.org>
3946
3947 * simple.el (messages-buffer-mode): New major mode.
3948 (messages-buffer): New function.
3949 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3950 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3951 (ert-run-test): Use `messages-buffer' function.
3952 (ert--force-message-log-buffer-truncation): Ignore read-only.
3953 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3954 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3955
3956 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3959
3960 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3961
3962 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * icomplete.el (icomplete-in-buffer): New var.
3965 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3966 vars and replace them with functions.
3967 (icomplete-minibuffer-setup): Adjust accordingly.
3968 (icomplete--completion-table, icomplete--completion-predicate)
3969 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3970 New functions.
3971 (icomplete-forward-completions, icomplete-backward-completions)
3972 (icomplete-simple-completing-p, icomplete-exhibit)
3973 (icomplete-completions): Use them.
3974 (icomplete--in-region-buffer): New var.
3975 (icomplete--in-region-setup): New function.
3976 (icomplete-mode): Use it.
3977
3978 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3979 (bug#15379).
3980 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3981 return args and options.
3982 (eshell-eval-using-options): Use the new return value of
3983 eshell--do-opts to set the options's vars in their scope.
3984 (eshell--set-option): Rename from eshell-set-option.
3985 Add arg `opt-vals'.
3986 (eshell--process-option): Rename from eshell-process-option.
3987 Add arg `opt-vals'.
3988 (eshell--process-args): Use an `opt-vals' alist to store the options's
3989 values during their processing and return them additionally to the
3990 remaining args.
3991
3992 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3993
3994 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3995 continuation character an operator, as far as indentation is
3996 concerned (Bug#15369).
3997
3998 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3999
4000 * window.el (window--state-put-2): Don't process buffer state
4001 when buffer doesn't exist any more (Bug#15382).
4002
4003 2013-09-15 Glenn Morris <rgm@gnu.org>
4004
4005 * eshell/em-unix.el (eshell/rm):
4006 Make -f ignore missing files. (Bug#15373)
4007
4008 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4009 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4010 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4011
4012 2013-09-14 Glenn Morris <rgm@gnu.org>
4013
4014 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4015
4016 2013-09-13 Glenn Morris <rgm@gnu.org>
4017
4018 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4019 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4020
4021 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4022
4023 * frame.el (x-focus-frame): Mark as declared in frame.c.
4024
4025 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * ls-lisp.el: Use advice-add.
4028 (original-insert-directory): Remove.
4029 (ls-lisp--insert-directory): Rename from insert-directory; add
4030 `orig-fun' argument.
4031 (insert-directory): Advise.
4032
4033 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4034
4035 * term.el (term-emulate-terminal): Decode the command string
4036 before passing it to term-command-hook. (Bug#15337)
4037
4038 2013-09-13 Glenn Morris <rgm@gnu.org>
4039
4040 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4041
4042 * eshell/esh-ext.el (eshell-search-path): Declare.
4043
4044 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4045 Otherwise an error occurs if eshell-dirs module not loaded.
4046
4047 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4048
4049 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4050
4051 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4052 `tramp-check-proper-host'. Check for a valid method name.
4053
4054 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4055 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4056 * net/tramp-sh.el (tramp-maybe-open-connection):
4057 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4058
4059 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4060 also for hash values.
4061
4062 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * term/ns-win.el (parameters): Don't declare as dynamic.
4065 (before-make-frame-hook): Don't add ineffective function.
4066
4067 * eshell/*.el: Use lexical-binding (bug#15231).
4068
4069 2013-09-12 Kenichi Handa <handa@gnu.org>
4070
4071 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4072
4073 2013-09-12 Glenn Morris <rgm@gnu.org>
4074
4075 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4076 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4077
4078 * subr.el (do-after-load-evaluation): Also give compiler warnings
4079 when obsolete files are used (except by obsolete files).
4080
4081 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4082 in the status output, assume `filename' is the first. (Bug#15322)
4083
4084 * vc/vc.el (vc-deduce-fileset): Doc fix.
4085
4086 * calc/calc-help.el (Info-goto-node):
4087 * progmodes/cperl-mode.el (Info-find-node):
4088 * vc/ediff.el (Info-goto-node): Update declarations.
4089
4090 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4091
4092 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4093 (vc-bzr-pull): Require vc-dispatcher.
4094 * vc/vc-git.el (vc-compilation-mode): Declare.
4095 (vc-git-pull): Require vc-dispatcher.
4096
4097 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4098
4099 * progmodes/octave.el (help-button-action): Declare.
4100
4101 * shell.el (shell-directory-tracker): Output error as a message
4102 rather than just returning it as a string.
4103 (shell-process-pushd): Remove useless use of message.
4104
4105 * dframe.el (dframe-timer-fn):
4106 * files.el (dir-locals-read-from-file):
4107 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4108 (mpc-format):
4109 * reveal.el (reveal-post-command):
4110 * saveplace.el (load-save-place-alist-from-file):
4111 * shell.el (shell-resync-dirs):
4112 * w32-common-fns.el (x-get-selection-value):
4113 * emacs-lisp/copyright.el (copyright-find-copyright):
4114 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4115 * emulation/tpu-edt.el (tpu-copy-keyfile):
4116 * play/bubbles.el (bubbles--mark-neighbourhood):
4117 * progmodes/executable.el
4118 (executable-make-buffer-file-executable-if-script-p):
4119 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4120
4121 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 Cleanup Eshell to rely less on dynamic scoping.
4124 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4125 last-value, and ext-command here. Bind `args' closer to `body'.
4126 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4127 (eshell--args): Declare new dynamic var.
4128 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4129 last-value, and ext-command. Pass `args' to `body'.
4130 (eshell-process-args): Bind eshell--args.
4131 (eshell-set-option): Use eshell--args.
4132 * eshell/eshell.el (eshell): Use derived-mode-p.
4133 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4134 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4135 (eshell-glob-function): Declare.
4136 * eshell/esh-util.el: Require cl-lib.
4137 (eshell-read-hosts-file): Avoid add-to-list.
4138 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4139 `err'.
4140 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4141 Declare.
4142 (eshell/diff): Remove unused var `err'.
4143 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4144 `killflag'.
4145 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4146 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4147 first use.
4148 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4149 Move declaration before first use.
4150 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4151 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4152 rely on cl-return.
4153
4154 2013-09-12 Glenn Morris <rgm@gnu.org>
4155
4156 * term/ns-win.el (global-map): Remove binding for ispell-next,
4157 deleted 1999-05-29. (Bug#15357)
4158
4159 2013-09-11 Glenn Morris <rgm@gnu.org>
4160
4161 * echistory.el (electric-command-history): Remove call to deleted func.
4162
4163 * play/landmark.el (landmark-mode): Fix typos.
4164
4165 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4166 Check cvs-sort-ignore-file is bound.
4167
4168 * savehist.el: No need for cl when compiling on Emacs.
4169
4170 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4173 (bug#15338).
4174 (eshell-self-insert-command, eshell-send-invisible):
4175 Remove unused argument.
4176 (eshell-handle-control-codes): Remove unused var `orig'.
4177 Avoid delete-backward-char.
4178
4179 * files.el (set-auto-mode): Simplify a bit further.
4180
4181 2013-09-11 Glenn Morris <rgm@gnu.org>
4182
4183 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4184 (set-auto-mode): Don't regexp-quote elements.
4185 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4186 * progmodes/cc-mode.el (interpreter-mode-alist):
4187 * progmodes/ruby-mode.el (interpreter-mode-alist):
4188 Revert previous change.
4189
4190 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * play/snake.el (snake-mode):
4193 * play/mpuz.el (mpuz-mode):
4194 * play/landmark.el (lm-mode):
4195 * play/blackbox.el (blackbox-mode):
4196 * play/5x5.el (5x5-mode):
4197 * obsolete/options.el (Edit-options-mode):
4198 * net/quickurl.el (quickurl-list-mode):
4199 * net/newst-treeview.el (newsticker-treeview-mode):
4200 * mail/rmailsum.el (rmail-summary-mode):
4201 * mail/mspools.el (mspools-mode):
4202 * locate.el (locate-mode):
4203 * ibuffer.el (ibuffer-mode):
4204 * emulation/ws-mode.el (wordstar-mode):
4205 * emacs-lisp/debug.el (debugger-mode):
4206 * array.el (array-mode):
4207 * net/eudc.el (eudc-mode): Use define-derived-mode.
4208 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4209 Move initialization into declaration.
4210 (mairix-searches-mode): Use define-derived-mode.
4211 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4212 (eudc-edit-hotlist): Use dolist.
4213 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4214 (Man-mode): Use define-derived-mode.
4215 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4216 (Info-edit-mode): Use define-derived-mode.
4217 (Info-cease-edit): Use Info-mode.
4218 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4219 into declaration.
4220 (eshell-mode): Use define-derived-mode.
4221 * chistory.el (command-history-mode-map): Rename from
4222 command-history-map.
4223 (command-history-mode): Use define-derived-mode.
4224 (Command-history-setup): Remove function.
4225 * calc/calc.el (calc-trail-mode-map): New var.
4226 (calc-trail-mode): Use define-derived-mode.
4227 (calc-trail-buffer): Set calc-main-buffer manually.
4228 * bookmark.el (bookmark-insert-annotation): New function.
4229 (bookmark-edit-annotation): Use it.
4230 (bookmark-edit-annotation-mode): Make it a proper major mode.
4231 (bookmark-send-edited-annotation): Use derived-mode-p.
4232 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4233 closer to its ideal place. Use \' to match EOS.
4234
4235 * profiler.el (profiler-calltree-find): Use function-equal.
4236
4237 2013-09-10 Glenn Morris <rgm@gnu.org>
4238
4239 * files.el (interpreter-mode-alist): Convert to regexps.
4240 (set-auto-mode): Adapt for this. (Bug#15306)
4241 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4242 Comment out unused variable.
4243 * progmodes/cc-mode.el (interpreter-mode-alist):
4244 * progmodes/python.el (interpreter-mode-alist):
4245 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4246 * progmodes/sh-script.el (sh-set-shell):
4247 No longer use interpreter-mode-alist to get list of shells.
4248
4249 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4250
4251 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * simple.el: Use set-temporary-overlay-map for universal-argument.
4254 (universal-argument-map): Don't use default-bindings (bug#15317).
4255 Bind switch-frame explicitly. Replace universal-argument-minus with
4256 a conditional binding.
4257 (universal-argument-num-events, saved-overriding-map): Remove.
4258 (restore-overriding-map): Remove.
4259 (universal-argument--mode): Rename from save&set-overriding-map,
4260 and rewrite.
4261 (universal-argument, universal-argument-more, negative-argument)
4262 (digit-argument): Adjust accordingly.
4263 (universal-argument-minus): Remove.
4264 (universal-argument-other-key): Remove.
4265
4266 * subr.el (with-demoted-errors): Add `format' argument.
4267
4268 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4269
4270 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4271 `tramp-cleanup-connection'.
4272
4273 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4274 parameters KEEP-DEBUG and KEEP-PASSWORD.
4275
4276 * net/tramp.el (tramp-file-name-handler):
4277 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4278 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4279 (tramp-maybe-open-connection):
4280 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4281 Use `tramp-cleanup-connection'.
4282
4283 * net/tramp-sh.el (tramp-maybe-open-connection):
4284 Catch 'uname-changed inside the progress reporter.
4285
4286 2013-09-10 Glenn Morris <rgm@gnu.org>
4287
4288 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4289
4290 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4291 returns "alternate access method" in mode (eg "-rw-r--r--.").
4292
4293 2013-09-08 Glenn Morris <rgm@gnu.org>
4294
4295 * saveplace.el (load-save-place-alist-from-file):
4296 Demote errors. (Bug#15305)
4297
4298 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4299
4300 Improve compatibility with older Emacsen, and XEmacs.
4301
4302 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4303 only if it is bound. It isn't for XEmacs.
4304 (with-tramp-progress-reporter): Do not let-bind `result'.
4305 This yields to scoping errors in XEmacs.
4306 (tramp-handle-make-auto-save-file-name): New function, moved from
4307 tramp-sh.el.
4308
4309 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4310 for `make-auto-save-file-name'.
4311 (tramp-adb--gnu-switches-to-ash):
4312 Use `tramp-compat-replace-regexp-in-string'.
4313
4314 * net/tramp-cache.el (tramp-cache-print): Call
4315 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4316
4317 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4318 bound. It isn't for XEmacs.
4319
4320 * net/tramp-compat.el (tramp-compat-copy-file):
4321 Catch `wrong-number-of-arguments' error.
4322 (tramp-compat-replace-regexp-in-string): New defun.
4323
4324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4325 for `make-auto-save-file-name'.
4326 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4327 `copy-file'.
4328 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4329 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4330 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4331
4332 * net/tramp-gw.el (tramp-gw-open-network-stream):
4333 Use `tramp-compat-replace-regexp-in-string'.
4334
4335 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4336 Call `tramp-handle-make-auto-save-file-name'.
4337 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4338 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4339 (tramp-sh-file-inotifywait-process-filter):
4340 Use `tramp-compat-replace-regexp-in-string'.
4341 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4342
4343 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4344 for `make-auto-save-file-name'.
4345 (tramp-smb-handle-copy-directory):
4346 Call `tramp-compat-replace-regexp-in-string'.
4347 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4348 (tramp-smb-handle-copy-file): Improve error message.
4349 (tramp-smb-handle-rename-file): Rename directly only in case
4350 `newname' does not exist yet. This is a restriction of smbclient.
4351 (tramp-smb-maybe-open-connection): Rerun the function only when
4352 `auth-sources' is non-nil.
4353
4354 2013-09-08 Kenichi Handa <handa@gnu.org>
4355
4356 * international/characters.el: Set category "^" (Combining) for
4357 more characters.
4358
4359 2013-09-07 Alan Mackenzie <acm@muc.de>
4360
4361 Correctly fontify Java class constructors.
4362 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4363 in Java Mode.
4364 (c-recognize-typeless-decls): Set the Java value to t.
4365 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4366 While handling a "(", add a check for, effectively, Java, and handle a
4367 "typeless" declaration there.
4368
4369 2013-09-07 Roland Winkler <winkler@gnu.org>
4370
4371 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4372 field subtitle for entry type book.
4373
4374 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * minibuffer.el: Make minibuffer-complete call completion-in-region
4377 rather than other way around.
4378 (completion--some, completion-pcm--find-all-completions):
4379 Don't delay signals when debugging.
4380 (minibuffer-completion-contents): Beware fields within the
4381 minibuffer contents.
4382 (completion-all-sorted-completions): Use defvar-local.
4383 (completion--do-completion, completion--cache-all-sorted-completions)
4384 (completion-all-sorted-completions, minibuffer-force-complete):
4385 Add args `beg' and `end'.
4386 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4387 (minibuffer-complete): Use completion-in-region.
4388 (completion-complete-and-exit): New fun, extracted from
4389 minibuffer-complete-and-exit.
4390 (minibuffer-complete-and-exit): Use it.
4391 (completion--complete-and-exit): Rename from
4392 minibuffer--complete-and-exit.
4393 (completion-in-region--single-word): New function, extracted from
4394 minibuffer-complete-word.
4395 (minibuffer-complete-word): Use it.
4396 (display-completion-list): Make `common-substring' argument obsolete.
4397 (completion--in-region): Call completion--in-region-1 instead of
4398 minibuffer-complete.
4399 (completion-help-at-point): Pass boundaries to
4400 minibuffer-completion-help as args rather than via an overlay.
4401 (completion-pcm--string->pattern): Use `any-delim'.
4402 (completion-pcm--optimize-pattern): New function.
4403 (completion-pcm--pattern->regex): Handle `any-delim'.
4404 * icomplete.el (icomplete-forward-completions)
4405 (icomplete-backward-completions, icomplete-completions):
4406 Adjust calls to completion-all-sorted-completions and
4407 completion--cache-all-sorted-completions.
4408 (icomplete-with-completion-tables): Default to t.
4409 * emacs-lisp/crm.el (crm--current-element): Rename from
4410 crm--select-current-element. Don't put an overlay but return the
4411 boundaries instead.
4412 (crm--completion-command): Take two new args to bind to the boundaries.
4413 (crm-completion-help): Adjust accordingly.
4414 (crm-complete): Use completion-in-region.
4415 (crm-complete-word): Use completion-in-region--single-word.
4416 (crm-complete-and-exit): Use completion-complete-and-exit.
4417
4418 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4421 than dynamically.
4422
4423 2013-09-06 Juri Linkov <juri@jurta.org>
4424
4425 * info.el (Info-display-images-node): When image file doesn't exist
4426 display text version of the image if it's provided in the Info file.
4427 Otherwise, display the location of missing image from SRC attribute.
4428 Add help-echo text property from ALT attribute. (Bug#15279)
4429
4430 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4433 (edit-abbrevs-mode): Use define-derived-mode.
4434
4435 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4436 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4437 that it's defined.
4438 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4439 Use define-derived-mode.
4440
4441 * epg.el (epg-start-encrypt): Minor CSE simplification.
4442
4443 2013-09-06 William Xu <william.xwl@gmail.com>
4444
4445 * arc-mode.el: Add support for 7za (bug#15264).
4446 (archive-7z-program): New var.
4447 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4448 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4449 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4450
4451 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4452
4453 Remove URL syntax.
4454
4455 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4456 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4457 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4458 (tramp-postfix-host-format, tramp-file-name-regexp)
4459 (tramp-completion-file-name-regexp)
4460 (tramp-completion-dissect-file-name)
4461 (tramp-handle-substitute-in-file-name): Remove 'url case.
4462 (tramp-file-name-regexp-url)
4463 (tramp-completion-file-name-regexp-url): Remove constants.
4464
4465 2013-09-06 Glenn Morris <rgm@gnu.org>
4466
4467 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4468
4469 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4470
4471 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4472 keywords" below "here-doc beginnings" (Bug#15270).
4473
4474 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * subr.el (pop): Use `car-safe'.
4477 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4478 to detect unused `pop' return value.
4479
4480 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4481 var `block-regexp'.
4482 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4483 (python-fill-string): Remove unused var `marker'.
4484 (python-skeleton-add-menu-items): Remove unused var `items'.
4485
4486 * international/mule-cmds.el: Require CL.
4487 (find-coding-systems-for-charsets): Avoid add-to-list.
4488 (sanitize-coding-system-list): New function, extracted from
4489 select-safe-coding-system-interactively.
4490 (select-safe-coding-system-interactively): Use it.
4491 (read-input-method-name): Accept symbols for `default'.
4492
4493 * emacs-lisp/advice.el (defadvice): Add indent rule.
4494
4495 2013-09-05 Daniel Hackney <dan@haxney.org>
4496
4497 * dired-x.el:
4498 * net/ange-ftp.el:
4499 * net/browse-url.el:
4500 * net/dbus.el:
4501 * net/eudc.el:
4502 * net/eudcb-ldap.el:
4503 * net/eww.el:
4504 * net/imap.el:
4505 * printing.el:
4506 * vc/ediff-diff.el:
4507 * vc/ediff-init.el:
4508 * vc/ediff-merg.el:
4509 * vc/ediff-mult.el:
4510 * vc/ediff-util.el:
4511 * vc/ediff-wind.el:
4512 * vc/ediff.el:
4513 * vc/emerge.el:
4514 * vc/pcvs.el:
4515 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4516 byte compiler. Remove some unused let-bound variables.
4517
4518 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4521 a "ref-cell", since it gets better optimized (bug#14883).
4522
4523 2013-09-05 Glenn Morris <rgm@gnu.org>
4524
4525 * progmodes/cc-awk.el (c-forward-sws): Declare.
4526
4527 2013-09-04 Glenn Morris <rgm@gnu.org>
4528
4529 * generic-x.el [rul-generic-mode]: Require cc-mode.
4530 (c++-mode-syntax-table): Declare.
4531 (rul-generic-mode-syntax-table): Init in the defvar.
4532
4533 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4536 (vc-do-command, vc-set-async-update):
4537 * vc/vc-mtn.el (vc-mtn-dir-status):
4538 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4539 (vc-hg-pull, vc-hg-merge-branch):
4540 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4541 (vc-git-merge-branch):
4542 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4543 (vc-cvs-dir-status-files):
4544 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4545 (vc-bzr-dir-status-files):
4546 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4547 * vc/vc-annotate.el: Use lexical-binding.
4548 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4549 (vc-sentinel-movepoint): Declare.
4550 (vc-annotate): Don't use `goto-line'.
4551 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4552 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4553 (vc-sentinel-movepoint): Declare.
4554 * vc/vc-svn.el: Use lexical-binding.
4555 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4556 * vc/vc-sccs.el:
4557 * vc/vc-rcs.el: Use lexical-binding.
4558
4559 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4560 `deleted'. Don't drop errors silently.
4561
4562 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4563
4564 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4565
4566 * vc/vc.el (vc-ignore): Rewrite.
4567 (vc-default-ignore): New function.
4568 (vc-default-ignore-completion-table): Use find-ignore-file.
4569
4570 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4571 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4572 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4573 Remove. Most code moved to vc.el.
4574
4575 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4578 * net/tramp-smb.el (tramp-smb-get-file-entries):
4579 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4580 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4581
4582 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4583 Update call to it.
4584 (eww-change-select): Remove unused var `properties'.
4585 (eww-make-unique-file-name): Remove unused var `base'.
4586
4587 * finder.el (finder-compile-keywords): Don't mess with windows.
4588
4589 * calculator.el (calculator-funcall): Fix typo in last change.
4590
4591 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4592
4593 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4594 <pkg>-autoloads.el file stop us.
4595
4596 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4597 warnings, and factor out common code.
4598
4599 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4600
4601 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4602 two-character operators and whether the character preceding them
4603 changes their meaning (Bug#15208).
4604
4605 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4606
4607 Format code sent to Python shell for robustness.
4608 * progmodes/python.el (python-shell-buffer-substring):
4609 New function.
4610 (python-shell-send-region, python-shell-send-buffer): Use it.
4611
4612 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4613
4614 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4615 * net/tramp.el (tramp-user-error): ... here.
4616 (tramp-find-method, tramp-check-proper-host)
4617 (tramp-dissect-file-name, tramp-debug-message)
4618 (tramp-handle-shell-command):
4619 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4620 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4621
4622 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4623
4624 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4625
4626 * avoid.el (mouse-avoidance-point-position)
4627 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4628 returns nil.
4629
4630 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4631
4632 * progmodes/python.el (python-shell-completion-get-completions):
4633 Drop use of deleted `comint-last-prompt-overlay'.
4634 (python-nav-if-name-main): New command.
4635
4636 2013-09-01 Glenn Morris <rgm@gnu.org>
4637
4638 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4639 Avoid leading space in $wins. Otherwise the sed command used by
4640 eg compile-main ends up containing "/*.el". (Bug#15170)
4641
4642 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4643
4644 2013-08-30 Glenn Morris <rgm@gnu.org>
4645
4646 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4647 Fix is-this-a-directory logic. (Bug#15220)
4648
4649 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * textmodes/css-mode.el: Use SMIE.
4652 (css-smie-grammar): New var.
4653 (css-smie--forward-token, css-smie--backward-token)
4654 (css-smie-rules): New functions.
4655 (css-mode): Use them.
4656 (css-navigation-syntax-table): Remove var.
4657 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4658 (css-indent-calculate, css-indent-line): Remove functions.
4659
4660 Misc changes to reduce use of `(lambda...); and other cleanups.
4661 * cus-edit.el: Use lexical-binding.
4662 (customize-push-and-save, customize-apropos)
4663 (custom-buffer-create-internal): Use closures.
4664 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4665 * progmodes/ada-xref.el: Use setq.
4666 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4667 * dframe.el: Use lexical-binding.
4668 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4669 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4670 * descr-text.el: Use lexical-binding.
4671 (describe-text-widget, describe-text-sexp, describe-property-list):
4672 Use closures.
4673 * comint.el (comint-history-isearch-push-state): Use a closure.
4674 * calculator.el: Use lexical-binding.
4675 (calculator-number-to-string): Make it work with lexical-binding.
4676 (calculator-funcall): Same and use cl-letf.
4677
4678 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4679 (lisp--company-doc-string, lisp--company-location): New functions.
4680 (lisp-completion-at-point): Use them to improve Company support.
4681
4682 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4683 params of lambda expressions.
4684 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4685 (ruby-smie--opening-pipe-p): New function.
4686 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4687 symbols and matched |...| for formal params.
4688 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4689 from being treated as hanging. Handle "rescue".
4690
4691 2013-08-29 Glenn Morris <rgm@gnu.org>
4692
4693 * progmodes/cc-engine.el (c-pull-open-brace):
4694 Move definition before use.
4695
4696 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4699 are immutable. Don't use `unsafe' any more.
4700 (cl--defsubst-expand): Don't substitute at the same time as keeping
4701 a residual unused let-binding. Don't use `unsafe' any more.
4702
4703 2013-08-29 Glenn Morris <rgm@gnu.org>
4704
4705 * calendar/cal-china.el (calendar-chinese-year-cache):
4706 Recenter on 2015.
4707
4708 * nxml/nxml-util.el (nxml-debug-clear-inside):
4709 Use cl-loop rather than loop.
4710
4711 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4712
4713 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4714
4715 2013-08-28 Glenn Morris <rgm@gnu.org>
4716
4717 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4718
4719 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4720
4721 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4722
4723 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * simple.el (repeat-complex-command--called-interactively-skip):
4726 New function.
4727 (repeat-complex-command): Use it (bug#14136).
4728
4729 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4730 (c-define-abbrev-table): Add `doc' argument.
4731 (c-mode-abbrev-table, c++-mode-abbrev-table)
4732 (objc-mode-abbrev-table, java-mode-abbrev-table)
4733 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4734 (awk-mode-abbrev-table): Use it.
4735 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4736 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4737 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4738 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4739 Move initialization into the declaration; and remove any
4740 autoload cookie.
4741
4742 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4743 and dynamic let binding.
4744
4745 * vc/smerge-mode.el: Remove redundant :group args.
4746
4747 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4748 to load-path.
4749
4750 2013-08-28 Juri Linkov <juri@jurta.org>
4751
4752 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4753 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4754 (isearch-other-meta-char): Handle an undefined shifted printing
4755 character by downshifting it. (Bug#15200)
4756
4757 2013-08-28 Juri Linkov <juri@jurta.org>
4758
4759 * isearch.el (isearch-search): Change regexp error message for
4760 non-regexp searches. (Bug#15166)
4761
4762 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4763
4764 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4765 for portability to hosts where /bin/sh has problems.
4766
4767 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4770
4771 2013-08-27 Juri Linkov <juri@jurta.org>
4772
4773 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4774 in the keyboard macro. (Bug#15126)
4775
4776 2013-08-27 Juri Linkov <juri@jurta.org>
4777
4778 * isearch.el (isearch-quote-char): Comment out converting unibyte
4779 to multibyte, thus syncing with its `quoted-insert' counterpart.
4780 (Bug#15166)
4781
4782 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4783
4784 * window.el (display-buffer-use-some-window): Add missing
4785 argument in call of get-largest-window (Bug#15185).
4786 Reported by Stephen Leake.
4787
4788 2013-08-27 Glenn Morris <rgm@gnu.org>
4789
4790 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4791
4792 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4795 from a matcher-function unless there's no more matches (bug#15161).
4796
4797 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4798
4799 * minibuffer.el: Revert change from 2013-08-20.
4800
4801 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4802 with text property `tramp-default', if appropriate.
4803 (tramp-check-proper-host): New defun.
4804 (tramp-dissect-file-name): Do not check hostname. Revert change
4805 of 2013-03-18.
4806 (tramp-backtrace): Make VEC-OR-PROC optional.
4807
4808 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4809 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4810 * net/tramp-sh.el (tramp-maybe-open-connection):
4811 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4812 Apply `tramp-check-proper-host'.
4813
4814 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4815
4816 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4817 lambda expression in order to have `describe-variable' display it.
4818
4819 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4820
4821 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4822 BUF can be optional. (Bug#15186)
4823
4824 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4825
4826 * progmodes/flymake.el (flymake-get-real-file-name-function):
4827 Fix broken customization. (Bug#15184)
4828
4829 2013-08-25 Alan Mackenzie <acm@muc.de>
4830
4831 Improve indentation of bracelists defined by macros (without "=").
4832
4833 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4834 expansion begins with "{", regard it as bracelist when it doesn't
4835 contain a ";".
4836
4837 Parse C++ inher-intro when there's a template split over 2 lines.
4838
4839 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4840 rigorously the search for "class" etc. followed by ":".
4841
4842 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4843 random languages a regexp which never matches rather than nil.
4844
4845 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4846
4847 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4848 (c-awk-regexp-one-line-possibly-open-char-list-re)
4849 (c-awk-one-line-possibly-open-regexp-re)
4850 (c-awk-one-line-non-syn-ws*-re): Remove.
4851 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4852 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4853 (c-awk-space*-unclosed-regexp-/-re): New constants.
4854 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4855 aren't regexp delimiters.
4856
4857 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4858 handling for a rare situation in AWK Mode involving unterminated
4859 strings/regexps.
4860
4861 2013-08-23 Glenn Morris <rgm@gnu.org>
4862
4863 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4864
4865 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4866
4867 * files.el (create-file-buffer): If the result would begin with
4868 spaces, prepend a "|" instead of removing them. (Bug#15162)
4869
4870 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4871
4872 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4873 text-properties (bug#15155).
4874
4875 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4876 exist any more.
4877 (calc-keypad-redraw): Remove unused var `pad'.
4878 (calc-keypad-press): Remove unused var `menu'.
4879
4880 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4881
4882 * window.el (display-buffer-pop-up-frame):
4883 Call pop-up-frame-function with BUFFER current so `make-frame' will
4884 use it as the new frame's buffer (Bug#15133).
4885
4886 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * calendar/timeclock.el: Minor cleanups.
4889 (timeclock-ask-before-exiting, timeclock-use-display-time):
4890 Use `symbol'.
4891 (timeclock-modeline-display): Define as alias before the
4892 actual definition.
4893 (timeclock-mode-line-display): Use define-minor-mode.
4894 (timeclock-day-list-template): Make it a function, add an argument.
4895 (timeclock-day-list-required, timeclock-day-list-length)
4896 (timeclock-day-list-debt, timeclock-day-list-span)
4897 (timeclock-day-list-break): Adjust calls accordingly.
4898
4899 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4902 Use read--expression so that completion works again.
4903
4904 2013-08-21 Sam Steingold <sds@gnu.org>
4905
4906 Add rudimentary inferior shell interaction
4907 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4908 (sh-set-shell): Reset it.
4909 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4910 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4911
4912 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * align.el: Use lexical-binding.
4915 (align-region): Simplify accordingly.
4916
4917 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4918
4919 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4920
4921 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4922 `non-essential' up.
4923
4924 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4925
4926 * net/tramp.el:
4927 * net/tramp-adb.el:
4928 * net/tramp-cmds.el:
4929 * net/tramp-ftp.el:
4930 * net/tramp-gvfs.el:
4931 * net/tramp-gw.el:
4932 * net/tramp-sh.el: Don't wrap external variable declarations by
4933 `eval-when-compile'.
4934
4935 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936
4937 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4938 now that Emacs supports ImageMagick animations.
4939
4940 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4941
4942 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4943 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4944
4945 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4946
4947 * window.el (mouse-autoselect-window-select): Do autoselect when
4948 mouse pointer is on margin.
4949
4950 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4951
4952 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4953
4954 2013-08-16 Glenn Morris <rgm@gnu.org>
4955
4956 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4957 Handle "Remote Directory" response of some clients. (Bug#15058)
4958
4959 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4960 Tweak warning. (Bug#14926)
4961
4962 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4963 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4964
4965 * image-mode.el (image-mode-map): Add menu items to reverse,
4966 increase, decrease, reset animation speed.
4967 (image--set-speed, image-increase-speed, image-decrease-speed)
4968 (image-reverse-speed, image-reset-speed): New functions.
4969 (image-mode-map): Add bindings for speed commands.
4970
4971 * image.el (image-animate-get-speed, image-animate-set-speed):
4972 New functions.
4973 (image-animate-timeout): Respect image :speed property.
4974
4975 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4978 previous line (bug#15101).
4979 (debugger-eval-expression, debugger-record-expression):
4980 Use read--expression (bug#15102).
4981
4982 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4983
4984 Remove byte compiler warnings, visible when compiling with
4985 `byte-compile-force-lexical-warnings' set to t.
4986
4987 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4988 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4989 (tramp-handle-unhandled-file-name-directory)
4990 (tramp-handle-file-notify-add-watch, tramp-action-login)
4991 (tramp-action-succeed, tramp-action-permission-denied)
4992 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4993 arguments with "_".
4994
4995 * net/tramp-adb.el (tramp-adb-parse-device-names)
4996 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4997 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4998 (tramp-adb-handle-file-truename): Remove unused arguments.
4999
5000 * net/tramp-cache.el (tramp-flush-directory-property)
5001 (tramp-flush-connection-property, tramp-list-connections)
5002 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5003
5004 * net/tramp-compat.el (tramp-compat-make-temp-file):
5005 Rename FILENAME to F.
5006
5007 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5008 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5009 (tramp-zeroconf-parse-workstation-device-names)
5010 (tramp-zeroconf-parse-webdav-device-names)
5011 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5012
5013 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5014 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5015
5016 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5017 arguments.
5018 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5019 (tramp-sh-handle-insert-file-contents-literally)
5020 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5021 with "_".
5022 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5023 Remove unused variables.
5024
5025 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5026 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5027 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5028
5029 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5030 Make them a defconst.
5031 (tramp-uuencode-region): Remove unused variable.
5032
5033 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * frameset.el (frameset--prop-setter): New function.
5036 (frameset-prop): Add gv-setter declaration.
5037 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5038 parameter was already set in FILTERED. Doc fix.
5039 (frameset--record-minibuffer-relationships): Allow saving a
5040 minibufferless frame without its corresponding minibuffer frame.
5041 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5042 frame, if the frame id matches.
5043 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5044 frames before orphaned ones.
5045 (frameset-restore): Warn about orphaned windows, instead of error out.
5046
5047 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5048
5049 * window.el (window-make-atom): Don't overwrite parameter
5050 already present.
5051 (display-buffer-in-atom-window): Handle special case where we
5052 split an already atomic window.
5053 (window--major-non-side-window, display-buffer-in-side-window)
5054 (window--side-check): Ignore minibuffer window when walking
5055 window tree.
5056 (window-deletable-p): Return 'frame only if no other frame uses
5057 our minibuffer window.
5058 (record-window-buffer): Run buffer-list-update-hook.
5059 (split-window): Make sure window--check-frame won't destroy an
5060 existing atomic window in case the new window gets nested
5061 inside.
5062 (display-buffer-at-bottom): Ignore minibuffer window when
5063 walking window tree. Don't split a side window.
5064 (pop-to-buffer): Don't set-buffer here, the select-window call
5065 should do that.
5066 (mouse-autoselect-window-select): Autoselect only if we are in the
5067 text portion of the window.
5068
5069 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5070
5071 * net/shr.el (shr-parse-image-data): New function to grab both the
5072 data itself and the Content-Type.
5073 (shr-put-image): Use it.
5074
5075 * net/eww.el (eww-display-image): Ditto.
5076
5077 * image.el (image-content-type-suffixes): New variable.
5078
5079 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5080
5081 * progmodes/python.el (python-imenu--build-tree)
5082 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5083
5084 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5085
5086 * simple.el (backward-word): Mention the optional argument.
5087
5088 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * frameset.el (frameset--make): Rename constructor from make-frameset.
5091 (frameset-p, frameset-valid-p): Don't autoload.
5092 (frameset-valid-p): Use normal accessors.
5093
5094 2013-08-13 Glenn Morris <rgm@gnu.org>
5095
5096 * progmodes/compile.el (compile-command): Tweak example in doc.
5097 * obsolete/scribe.el (scribe-mode):
5098 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5099
5100 * mail/feedmail.el (feedmail-confirm-outgoing)
5101 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5102
5103 * cus-start.el (truncate-partial-width-windows): Fix type.
5104
5105 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5106
5107 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5108
5109 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * emacs-lisp/timer.el (timer--time-setter): New function.
5112 (timer--time): Use it as gv-setter.
5113
5114 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5115 setter is not a symbol.
5116
5117 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5118
5119 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5120 if sending fails. This makes debugging easier.
5121
5122 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5123
5124 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5125 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5126 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5127
5128 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5129
5130 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5131
5132 2013-08-12 Glenn Morris <rgm@gnu.org>
5133
5134 * format.el (format-annotate-function):
5135 Handle read-only text properties in the source. (Bug#14887)
5136
5137 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5138
5139 * net/eww.el (eww-display-html): Ignore coding system errors.
5140 One web site uses "utf-8lias" as the coding system.
5141
5142 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5143
5144 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5145
5146 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5147
5148 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5149 (tutorial--detailed-help): Remove unused local variables.
5150 (tutorial--save-tutorial-to): Use ignore-errors.
5151 (help-with-tutorial): Use looking-at-p.
5152
5153 * view.el (view-buffer-other-window, view-buffer-other-frame):
5154 Mark unused arguments.
5155
5156 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5157 (woman-select-symbol-fonts, woman, woman-find-file)
5158 (woman-insert-file-contents, woman-non-underline-faces):
5159 Use string-match-p.
5160 (woman1-unquote): Move declaration.
5161
5162 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5163 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5164 argument. Remove unused local variable.
5165 (xml-parse-elem-type): Use string-match-p.
5166 (xml-substitute-numeric-entities): Use ignore-errors.
5167
5168 * calculator.el (calculator): Mark unused argument.
5169 (calculator-paste, calculator-quit, calculator-integer-p):
5170 Use ignore-errors.
5171 (calculator-string-to-number, calculator-decimal, calculator-exp)
5172 (calculator-op-or-exp): Use string-match-p.
5173
5174 * dired.el (dired-buffer-more-recently-used-p): Declare.
5175 (dired-insert-set-properties, dired-insert-old-subdirs):
5176 Use ignore-errors.
5177
5178 * dired-aux.el (dired-compress): Use ignore-errors.
5179 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5180 (dired-do-async-shell-command, dired-do-shell-command)
5181 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5182 (dired-insert-subdir-validate): Use string-match-p.
5183 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5184 (dired-add-entry): Use string-match-p, looking-at-p.
5185 (dired-insert-subdir-newpos): Remove unused local variable.
5186
5187 * filenotify.el (file-notify-callback): Remove unused local variable.
5188
5189 * filesets.el (filesets-error): Mark unused argument.
5190 (filesets-which-command-p, filesets-filter-dir-names)
5191 (filesets-directory-files, filesets-get-external-viewer)
5192 (filesets-ingroup-get-data): Use string-match-p.
5193
5194 * find-file.el (ff-other-file-name, ff-other-file-name)
5195 (ff-find-the-other-file, ff-cc-hh-converter):
5196 Remove unused local variables.
5197 (ff-get-file-name): Use string-match-p.
5198 (ff-all-dirs-under): Use ignore-errors.
5199
5200 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5201 (follow-select-if-visible): Remove unused local variable.
5202
5203 * forms.el (read-file-filter): Move declaration.
5204 (forms--make-format, forms--make-parser, forms-insert-record):
5205 Quote function with #'.
5206 (forms--update): Use string-match-p. Quote function with #'.
5207
5208 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5209 (help-make-xrefs): Use looking-at-p.
5210 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5211
5212 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5213 (ibuffer-confirm-operation-on): Use string-match-p.
5214
5215 * msb.el (msb-item-handler, msb-dired-item-handler):
5216 Mark unused arguments.
5217
5218 * ses.el (ses-decode-cell-symbol)
5219 (ses-kill-override): Remove unused local variable.
5220 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5221 (ses-load): Use ignore-errors, looking-at-p.
5222 (ses-jump-safe): Use ignore-errors.
5223 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5224
5225 * tabify.el (untabify, tabify): Mark unused arguments.
5226
5227 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5228 Mark unused argument.
5229 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5230 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5231
5232 * emacs-lisp/timer.el (timer--time): Define setter with
5233 gv-define-setter to avoid deprecation warning.
5234
5235 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5236 (*record-cmpl-statistics-p*): Remove (was commented out).
5237 (cmpl-statistics-block): Remove (body was commented out).
5238 All callers changed.
5239 (add-completions-from-buffer, load-completions-from-file):
5240 Remove unused variables.
5241
5242 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5243
5244 * filecache.el (file-cache-delete-file-list):
5245 Print message only when told so.
5246 (file-cache-files-matching): Use #' in mapconcat argument.
5247
5248 * ffap.el (ffap-url-at-point): Fix reference to variable
5249 thing-at-point-default-mail-uri-scheme.
5250
5251 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * subr.el (define-error): New function.
5254 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5255 error-file-not-found and define with define-error.
5256 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5257 and define with define-error.
5258 * userlock.el (file-locked, file-supersession):
5259 * simple.el (mark-inactive):
5260 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5261 * progmodes/ada-mode.el (ada-mode-errors):
5262 * play/life.el (life-extinct):
5263 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5264 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5265 * nxml/rng-util.el (rng-error):
5266 * nxml/rng-uri.el (rng-uri-error):
5267 * nxml/rng-match.el (rng-compile-error):
5268 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5269 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5270 * nxml/nxml-rap.el (nxml-scan-error):
5271 * nxml/nxml-outln.el (nxml-outline-error):
5272 * net/soap-client.el (soap-error):
5273 * net/gnutls.el (gnutls-error):
5274 * net/ange-ftp.el (ftp-error):
5275 * mpc.el (mpc-proc-error):
5276 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5277 (json-number-format, json-string-escape, json-string-format)
5278 (json-key-format, json-object-format):
5279 * jka-compr.el (compression-error):
5280 * international/quail.el (quail-error):
5281 * international/kkc.el (kkc-error):
5282 * emacs-lisp/ert.el (ert-test-failed):
5283 * calc/calc.el (calc-error, inexact-result, math-overflow)
5284 (math-underflow):
5285 * bookmark.el (bookmark-error-no-filename):
5286 * epg.el (epg-error): Define with define-error.
5287
5288 * time.el (display-time-event-handler)
5289 (display-time-next-load-average): Don't call sit-for since it seems
5290 unnecessary (bug#15045).
5291
5292 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5293 Use #' instead of ' to quote functions.
5294 (checkdoc-output-mode): Use setq-local.
5295 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5296 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5297 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5298 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5299 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5300 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5301 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5302 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5303
5304 * ido.el (ido-completion-help): Fix up compiler warning.
5305
5306 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5307
5308 * frameset.el (frameset-p): Add autoload cookie.
5309 (frameset--jump-to-register): New function, based on code moved from
5310 register.el.
5311 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5312
5313 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5314 (frameset-restore, frameset-save, frameset-session-filter-alist):
5315 Remove declarations.
5316 (register-alist): Doc fix.
5317 (frameset-to-register): Move to frameset.el.
5318 (jump-to-register, describe-register-1): Remove frameset-specific code.
5319
5320 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5321
5322 * allout-widgets.el (allout-widgets-pre-command-business)
5323 (allout-widgets-post-command-business)
5324 (allout-widgets-after-change-handler)
5325 (allout-decorate-item-and-context, allout-set-boundary-marker)
5326 (allout-body-modification-handler)
5327 (allout-graphics-modification-handler): Mark ignored arguments.
5328 (allout-widgets-post-command-business)
5329 (allout-widgets-exposure-change-processor)
5330 (allout-widgets-exposure-undo-processor)
5331 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5332 (allout-parse-item-at-point, allout-decorate-item-guides)
5333 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5334 * allout.el (epa-passphrase-callback-function): Declare.
5335 (allout-overlay-insert-in-front-handler)
5336 (allout-overlay-interior-modification-handler)
5337 (allout-isearch-end-handler, allout-chart-siblings)
5338 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5339 (allout-yank-processing, allout-process-exposed)
5340 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5341 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5342 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5343 (lisp-indent-defform): Mark ignored arguments.
5344 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5345 (calculate-lisp-indent): Remove unused variables.
5346 * international/characters.el (indian-2-column, arabic-2-column)
5347 (tibetan): Mark ignored arguments.
5348 (use-cjk-char-width-table): Mark ignored arguments.
5349 Remove unused variables.
5350 * international/fontset.el (build-default-fontset-data)
5351 (x-compose-font-name, create-fontset-from-fontset-spec):
5352 Mark ignored arguments.
5353 (fontset-plain-name): Remove unused variables.
5354 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5355 (keyboard-coding-system): Mark ignored arguments.
5356 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5357 * help.el (resize-temp-buffer-window):
5358 * window.el (display-buffer-in-major-side-window)
5359 (display-buffer-in-side-window, display-buffer-in-previous-window):
5360 Remove unused variables.
5361 * isearch.el (isearch-forward-symbol):
5362 * version.el (emacs-bzr-version-bzr):
5363 * international/mule-cmds.el (current-language-environment):
5364 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5365 (x-handle-display):
5366 * term/pc-win.el (x-list-fonts, x-display-planes)
5367 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5368 (x-server-version, x-display-screens, x-display-mm-height)
5369 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5370 (x-selection-owner-p, x-own-selection-internal)
5371 (x-disown-selection-internal, x-get-selection-internal)
5372 (msdos-initialize-window-system):
5373 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5374 * term/x-win.el (x-handle-no-bitmap-icon):
5375 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5376 (vc-default-find-file-hook, vc-default-extra-menu):
5377 Mark ignored arguments.
5378
5379 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5382 break-condition in the context of the debugged code (bug#12685).
5383
5384 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5385
5386 * comint.el:
5387 Do not use an overlay to highlight the last prompt. (Bug#14744)
5388 (comint-mode): Make comint-last-prompt buffer local.
5389 (comint-last-prompt): New variable.
5390 (comint-last-prompt-overlay): Remove. Superseded by
5391 comint-last-prompt.
5392 (comint-snapshot-last-prompt, comint-output-filter):
5393 Use comint-last-prompt.
5394
5395 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5396
5397 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5398 (frameset-save): Check validity of the resulting frameset.
5399
5400 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5401
5402 * ido.el (ido-record-command): Add doc string.
5403
5404 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5405
5406 * frameset.el (frameset): Do not disable creation of the default
5407 frameset-p predicate. Doc fix.
5408 (frameset-valid-p): New function, copied from the old predicate-p.
5409 Add additional checks.
5410 (frameset-restore): Check with frameset-valid-p.
5411 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5412 (frameset-name, frameset-description, frameset-properties)
5413 (frameset-states): Add docstring.
5414 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5415 (frameset-filter-alist): Doc fixes.
5416
5417 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5420
5421 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5424 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5425 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5426 (byte-compile-normal-call): Remove obsolescence check.
5427
5428 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5429
5430 * frameset.el (frameset-restore): Doc fix.
5431
5432 * register.el (frameset-frame-id, frameset-frame-with-id)
5433 (frameset-p, frameset-restore, frameset-save): Declare.
5434 (register-alist): Document framesets.
5435 (frameset-session-filter-alist): Declare.
5436 (frameset-to-register): New function.
5437 (jump-to-register): Implement jumping to framesets. Doc fix.
5438 (describe-register-1): Describe framesets.
5439
5440 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5441
5442 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5443
5444 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5445 Use lexical-binding.
5446
5447 * frameset.el (frameset): Use type vector, not list (incompatible
5448 change). Do not declare a new constructor, use the default one.
5449 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5450 `name' and `description', respectively, and add read-only slot
5451 `timestamp'. Doc fixes.
5452 (frameset-copy, frameset-persistent-filter-alist)
5453 (frameset-filter-alist, frameset-switch-to-gui-p)
5454 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5455 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5456 (frameset-filter-iconified, frameset-keep-original-display-p):
5457 Doc fixes.
5458 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5459 Rename from frameset-filter-(save|restore)-param. All callers changed.
5460 Doc fix.
5461 (frameset-p): Adapt to change to vector and be more thorough.
5462 Change arg name to OBJECT. Doc fix.
5463 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5464 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5465 All callers changed.
5466 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5467 All callers changed.
5468 (frameset--record-minibuffer-relationships): Rename from
5469 frameset--process-minibuffer-frames. All callers changed.
5470 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5471 Use new default constructor (again). Doc fix.
5472 (frameset--find-frame-if): Rename from `frameset--find-frame.
5473 All callers changed.
5474 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5475 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5476 Doc fix.
5477 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5478 PARAMETERS and WINDOW-STATE, respectively.
5479 (frameset-restore): Add new keyword argument PREDICATE.
5480 Reset frameset--target-display to nil. Doc fix.
5481
5482 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5485 (bat-mode): Use it.
5486 (bat-mode-syntax-table): Mark \n as end-of-comment.
5487 (bat-font-lock-keywords): Remove comment rule.
5488
5489 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5490 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5491
5492 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5493 (byte-compile-callargs-warn): Use `push'.
5494 (byte-compile-arglist-warn): Ignore higher-order "calls".
5495 (byte-compile-file-form-autoload): Use `pcase'.
5496 (byte-compile-function-form): If quoting a symbol, check that it exists.
5497
5498 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5499
5500 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5501 and add a few popular commands found in batch files.
5502 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5503 (dos-mode): Doc fixes.
5504
5505 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5508 (dos-mode): Use setq-local. Add space after "rem".
5509 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5510 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5511
5512 2013-08-07 Arni Magnusson <arnima@hafro.is>
5513
5514 * progmodes/dos.el: New file.
5515 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5516 dos-mode.
5517
5518 2013-08-06 Glenn Morris <rgm@gnu.org>
5519
5520 * calendar/calendar.el: Add new faces, and day-header-array.
5521 (calendar-weekday-header, calendar-weekend-header)
5522 (calendar-month-header): New faces.
5523 (calendar-day-header-construct): New function.
5524 (calendar-day-header-width): Also :set calendar-day-header-array.
5525 (calendar-american-month-header, calendar-european-month-header)
5526 (calendar-iso-month-header): Use calendar- faces.
5527 (calendar-generate-month):
5528 Use calendar-day-header-array for day headers; apply faces to them.
5529 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5530 (calendar-abbrev-construct): Add optional maxlen argument.
5531 (calendar-day-name-array): Doc fix.
5532 (calendar-day-name-array, calendar-abbrev-length)
5533 (calendar-day-abbrev-array):
5534 Also :set calendar-day-header-array, and maybe redraw.
5535 (calendar-day-header-array): New option. (Bug#15007)
5536 (calendar-font-lock-keywords): Set to nil and make obsolete.
5537 (calendar-day-name): Add option to use header array.
5538
5539 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5540
5541 * net/shr.el (shr-render-td): Remove debugging.
5542 (shr-render-td): Make width computation consistent by defaulting
5543 all zero-width columns to 10 characters. This may not be optimal,
5544 but it's at least consistent.
5545 (shr-make-table-1): Redo last change to fix the real problem in
5546 colspan handling.
5547
5548 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5549
5550 * files.el (cache-long-line-scans):
5551 Make obsolete alias to `cache-long-scans'.
5552
5553 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5554
5555 * frameset.el (frameset, frameset-filter-alist)
5556 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5557 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5558 (frameset-compute-pos): Rename from frameset--compute-pos,
5559 and add docstring.
5560 (frameset-move-onscreen): Use frameset-compute-pos.
5561 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5562
5563 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5564 Fix typos in docstrings.
5565
5566 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5567
5568 * frame.el (get-other-frame): Tiny cleanup.
5569
5570 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * vc/vc.el (vc-default-ignore-completion-table):
5573 Silence byte-compiler warning.
5574
5575 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5576 slot , which can indeed be nil.
5577 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5578 Move entry for `left' from persistent to live filter alist.
5579 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5580 Doc fixes.
5581 (frameset-filter-params): When restoring a frame, copy items added to
5582 `filtered', to avoid unwittingly modifying the original parameters.
5583 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5584 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5585
5586 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5587 to use looking-at-p instead of looking-at. (Bug#15028)
5588
5589 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 Revert introduction of isearch-filter-predicates (bug#14714).
5592 Rely on add-function instead.
5593 * isearch.el (isearch-filter-predicates): Rename it back to
5594 isearch-filter-predicate.
5595 (isearch-message-prefix): Use advice-function-mapc and advice
5596 properties to get the isearch-message-prefix.
5597 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5598 instead of run-hook-with-args-until-failure.
5599 (isearch-filter-visible): Not obsolete any more.
5600 * loadup.el: Preload nadvice.
5601 * replace.el (perform-replace): Revert to funcall
5602 instead of run-hook-with-args-until-failure.
5603 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5604 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5605 dired-isearch-filenames-toggle; make it into a proper minor mode.
5606 Use add/remove-function.
5607 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5608 Call the minor-mode rather than add/remove-hook.
5609 (dired-isearch-filter-filenames):
5610 Remove isearch-message-prefix property.
5611 * info.el (Info--search-loop): New function, extracted from Info-search.
5612 Funcall isearch-filter-predicate instead of
5613 run-hook-with-args-until-failure isearch-filter-predicates.
5614 (Info-search): Use it.
5615 (Info-mode): Use isearch-filter-predicate instead of
5616 isearch-filter-predicates.
5617
5618 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5619
5620 Do not call to `selected-window' where it is assumed by default.
5621 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5622 `window-hscroll', `window-width', `window-height', `window-buffer',
5623 `window-frame', `window-start', `window-point', `next-window'
5624 and `window-display-table'.
5625 * abbrev.el (abbrev--default-expand):
5626 * bs.el (bs--show-with-configuration):
5627 * buff-menu.el (Buffer-menu-mouse-select):
5628 * calc/calc.el (calc):
5629 * calendar/calendar.el (calendar-generate-window):
5630 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5631 (diary-make-entry):
5632 * comint.el (send-invisible, comint-dynamic-complete-filename)
5633 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5634 * completion.el (complete):
5635 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5636 * disp-table.el (describe-current-display-table):
5637 * doc-view.el (doc-view-insert-image):
5638 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5639 * ehelp.el (with-electric-help):
5640 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5641 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5642 * emacs-lisp/helper.el (Helper-help-scroller):
5643 * emulation/cua-base.el (cua--post-command-handler-1):
5644 * eshell/esh-mode.el (eshell-output-filter):
5645 * ffap.el (ffap-gnus-wrapper):
5646 * help-macro.el (make-help-screen):
5647 * hilit-chg.el (highlight-compare-buffers):
5648 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5649 * hl-line.el (global-hl-line-highlight):
5650 * icomplete.el (icomplete-simple-completing-p):
5651 * isearch.el (isearch-done):
5652 * jit-lock.el (jit-lock-stealth-fontify):
5653 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5654 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5655 * mpc.el (mpc-tagbrowser, mpc):
5656 * net/rcirc.el (rcirc-any-buffer):
5657 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5658 * play/landmark.el (landmark-max-width, landmark-max-height):
5659 * play/zone.el (zone):
5660 * progmodes/compile.el (compilation-goto-locus):
5661 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5662 * progmodes/etags.el (find-tag-other-window):
5663 * progmodes/fortran.el (fortran-column-ruler):
5664 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5665 * progmodes/verilog-mode.el (verilog-point-text):
5666 * reposition.el (reposition-window):
5667 * rot13.el (toggle-rot13-mode):
5668 * server.el (server-switch-buffer):
5669 * shell.el (shell-dynamic-complete-command)
5670 (shell-dynamic-complete-environment-variable):
5671 * simple.el (insert-buffer, set-selective-display)
5672 (delete-completion-window):
5673 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5674 (speedbar-recenter):
5675 * startup.el (fancy-splash-head):
5676 * textmodes/ispell.el (ispell-command-loop):
5677 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5678 * tutorial.el (help-with-tutorial):
5679 * vc/add-log.el (add-change-log-entry):
5680 * vc/compare-w.el (compare-windows):
5681 * vc/ediff-help.el (ediff-indent-help-message):
5682 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5683 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5684 (ediff-setup-control-frame):
5685 * vc/emerge.el (emerge-position-region):
5686 * vc/pcvs-util.el (cvs-bury-buffer):
5687 * window.el (walk-windows, mouse-autoselect-window-select):
5688 * winner.el (winner-set-conf, winner-undo): Related users changed.
5689
5690 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5691
5692 * frameset.el (frameset--set-id): Doc fix.
5693 (frameset-frame-id, frameset-frame-id-equal-p)
5694 (frameset-locate-frame-id): New functions.
5695 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5696 (frameset-restore): Use them.
5697
5698 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5699
5700 Do not call to `selected-frame' where it is assumed by default.
5701 Affected functions are `raise-frame', `redraw-frame',
5702 `frame-first-window', `frame-terminal' and `delete-frame'.
5703 * calendar/appt.el (appt-disp-window):
5704 * epg.el (epg-wait-for-completion):
5705 * follow.el (follow-delete-other-windows-and-split)
5706 (follow-avoid-tail-recenter):
5707 * international/mule.el (set-terminal-coding-system):
5708 * mail/rmail.el (rmail-mail-return):
5709 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5710 * progmodes/f90.el (f90-add-imenu-menu):
5711 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5712 * server.el (server-switch-buffer):
5713 * simple.el (delete-completion-window):
5714 * talk.el (talk):
5715 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5716 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5717 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5718 * vc/ediff.el (ediff-documentation): Related users changed.
5719 * frame.el (selected-terminal): Remove the leftover.
5720
5721 2013-08-05 Glenn Morris <rgm@gnu.org>
5722
5723 * calendar/calendar.el (calendar-generate-month):
5724 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5725 (calendar-generate-month, calendar-font-lock-keywords):
5726 Fix for calendar-day-header-width > length of any day name.
5727
5728 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5729
5730 * desktop.el (desktop-clear): Use new name of sort predicate.
5731
5732 * frameset.el (frameset): Add docstring. Move :version property to its
5733 own `version' slot.
5734 (frameset-copy): Rename from copy-frameset.
5735 (frameset-p): Check more thoroughly.
5736 (frameset-prop): Do not check for :version, which is no longer a prop.
5737 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5738 Use new :never value instead of t.
5739 (frameset-filter-alist): Expand and clarify docstring.
5740 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5741 (frameset-filter-minibuffer, frameset-filter-save-param)
5742 (frameset-filter-restore-param, frameset-filter-iconified):
5743 Add pointer to docstring of frameset-filter-alist.
5744 (frameset-filter-params): Rename filter values to be more meaningful:
5745 :never instead of t, and reverse the meanings of :save and :restore.
5746 (frameset--process-minibuffer-frames): Clarify error message.
5747 (frameset-save): Avoid unnecessary and confusing call to framep.
5748 Use new BOA constructor for framesets.
5749 (frameset--reuse-list): Doc fix.
5750 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5751 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5752 (frameset-minibufferless-first-p): Doc fix.
5753 Rename from frameset-sort-frames-for-deletion.
5754 (frameset-restore): Doc fixes. Use new function names.
5755 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5756
5757 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5758
5759 * desktop.el (desktop-restore-forces-onscreen)
5760 (desktop-restore-reuses-frames): Document :keyword constant values.
5761 (desktop-filter-parameters-alist): Remove, now identical to
5762 frameset-filter-alist.
5763 (desktop--filter-tty*): Remove, moved to frameset.el.
5764 (desktop-save-frameset, desktop-restore-frameset):
5765 Do not pass :filters argument.
5766
5767 * frameset.el (frameset-live-filter-alist)
5768 (frameset-persistent-filter-alist): New variables.
5769 (frameset-filter-alist): Use them. Add autoload cookie.
5770 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5771 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5772 `frameset--id' (it's supposed to be internal to frameset.el).
5773 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5774 (frameset--initial-params): New function.
5775 (frameset--get-frame): Use it. Doc fix.
5776 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5777 Accept :all, not 'all.
5778 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5779 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5780 with fbound symbols. Fix frame id matching, and remove matching ids if
5781 the frame being restored is deleted. Obey :delete.
5782
5783 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * subr.el (macrop): New function.
5786 (text-clone--maintaining): New var.
5787 (text-clone--maintain): Rename from text-clone-maintain. Use it
5788 instead of inhibit-modification-hooks.
5789
5790 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5791 a proxy, so as handle autoloads and redefinitions of the target.
5792 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5793
5794 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5795 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5796 (pcase--mutually-exclusive-p): New function.
5797 (pcase--split-consp): Use it.
5798 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5799 mutually exclusive with the current predicate.
5800
5801 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5802 (edebug-macrop): Remove. Use `macrop' instead.
5803 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5804 (ad-macro-p):
5805 * eshell/esh-cmd.el (eshell-macrop):
5806 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5807
5808 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5811 (advice-mapc): New function, using it.
5812 (advice-function-member-p): New function.
5813 (advice--normalize): Store the cdr in advice--saved-rewrite since
5814 that's the part that will be changed.
5815 (advice--symbol-function): New function.
5816 (advice-remove): Handle removal before the function is defined.
5817 Adjust to new advice--saved-rewrite.
5818 (advice-member-p): Use advice-function-member-p and
5819 advice--symbol-function.
5820
5821 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5824 (frameset-filter-minibuffer): Doc fix.
5825 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5826 (frameset--set-id, frameset--process-minibuffer-frames)
5827 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5828 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5829
5830 * desktop.el (desktop-clear): Only delete frames when called
5831 interactively and desktop-restore-frames is non-nil. Doc fix.
5832 (desktop-read): Set desktop-saved-frameset to nil.
5833
5834 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5835
5836 * vc/vc.el (vc-ignore): Rewrite.
5837 (vc-default-ignore-completion-table):
5838 (vc--read-lines):
5839 (vc--add-line, vc--remove-regexp): New functions.
5840
5841 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5842 (vc-svn-ignore-completion-table): New function.
5843
5844 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5845 (vc-hg-ignore-completion-table):
5846 (vc-hg-find-ignore-file): New functions.
5847
5848 * vc/vc-git.el (vc-git-ignore): Rewrite.
5849 (vc-git-ignore-completion-table):
5850 (vc-git-find-ignore-file): New functions.
5851
5852 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5853
5854 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5855 (vc-bzr-ignore-completion-table):
5856 (vc-bzr-find-ignore-file): New functions.
5857
5858 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5859
5860 * frameset.el (frameset-prop): New function and setter.
5861 (frameset-save): Do not modify frame list passed by the caller.
5862
5863 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5866
5867 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5870 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5871
5872 * custom.el (custom-initialize-default, custom-initialize-set)
5873 (custom-initialize-reset, custom-initialize-changed): Affect the
5874 toplevel-default-value (bug#6275, bug#14586).
5875 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5876 for bug#6275.
5877
5878 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5879
5880 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5881 Add cl-def* expressions.
5882
5883 * frameset.el (frameset-filter-params): Fix order of arguments.
5884
5885 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5886
5887 Move code related to saving frames to frameset.el.
5888 * desktop.el: Require frameset.
5889 (desktop-restore-frames): Doc fix.
5890 (desktop-restore-reuses-frames): Rename from
5891 desktop-restoring-reuses-frames.
5892 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5893 (desktop-clear): Clear frames too.
5894 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5895 (desktop--filter-tty*, desktop-save, desktop-read):
5896 Use frameset functions.
5897 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5898 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5899 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5900 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5901 (desktop--process-minibuffer-frames, desktop-save-frames)
5902 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5903 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5904 (desktop--sort-states, desktop-restoring-frames-p)
5905 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5906 (desktop-restoring-frameset-p, desktop-restore-frameset)
5907 (desktop--check-dont-save, desktop-save-frameset): New functions.
5908 (desktop--app-id): New constant.
5909 (desktop-first-buffer, desktop-buffer-ok-count)
5910 (desktop-buffer-fail-count): Move before first use.
5911 * frameset.el: New file.
5912
5913 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * files.el: Use lexical-binding.
5916 (dir-locals-read-from-file): Remove unused `err' variable.
5917 (hack-dir-local-variables--warned-coding): New var.
5918 (hack-dir-local-variables): Use it to avoid repeated warnings.
5919 (make-backup-file-name--default-function): New function.
5920 (make-backup-file-name-function): Use it as default.
5921 (buffer-stale--default-function): New function.
5922 (buffer-stale-function): Use it as default.
5923 (revert-buffer-insert-file-contents--default-function): New function.
5924 (revert-buffer-insert-file-contents-function): Use it as default.
5925 (insert-directory): Avoid add-to-list.
5926
5927 * autorevert.el (auto-revert-handler): Simplify.
5928 Use buffer-stale--default-function.
5929
5930 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5931
5932 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5933
5934 * whitespace.el (whitespace-ensure-local-variables): New function.
5935 (whitespace-cleanup-region): Call it.
5936 (whitespace-turn-on): Call it.
5937
5938 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5939
5940 Complete file name handlers.
5941
5942 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5943 (tramp-handle-verify-visited-file-modtime)
5944 (tramp-handle-file-notify-rm-watch): New functions.
5945 (tramp-call-process): Do not bind `default-directory'.
5946
5947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5948 Order alphabetically.
5949 [access-file, add-name-to-file, dired-call-process]:
5950 [dired-compress-file, file-acl, file-notify-rm-watch]:
5951 [file-ownership-preserved-p, file-selinux-context]:
5952 [make-directory-internal, make-symbolic-link, set-file-acl]:
5953 [set-file-selinux-context, set-visited-file-modtime]:
5954 [verify-visited-file-modtime]: Add handler.
5955 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5956
5957 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5958 [file-notify-add-watch, file-notify-rm-watch]:
5959 [set-file-times, set-visited-file-modtime]:
5960 [verify-visited-file-modtime]: Add handler.
5961 (with-tramp-gvfs-error-message)
5962 (tramp-gvfs-handle-set-visited-file-modtime)
5963 (tramp-gvfs-fuse-file-name): Remove.
5964 (tramp-gvfs-handle-file-notify-add-watch)
5965 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5966 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5967
5968 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5969 Order alphabetically.
5970 [file-notify-rm-watch ]: Use default Tramp handler.
5971 [executable-find]: Remove private handler.
5972 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5973 `default-directory'.
5974 (tramp-sh-handle-executable-find)
5975 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5976 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5977 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5978 Do not use `format' in `tramp-message'.
5979
5980 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5981 [file-notify-rm-watch, set-visited-file-modtime]:
5982 [verify-visited-file-modtime]: Add handler.
5983 (tramp-smb-call-winexe): Do not bind `default-directory'.
5984
5985 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5986
5987 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5988
5989 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5990
5991 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5992 use it.
5993 (log-view-diff-changeset): Same.
5994 (log-view-diff-common): Call backend command `previous-revision'
5995 to find out the previous revision, in both cases. Swap the
5996 variables `to' and `fr', so that `fr' usually refers to the
5997 earlier revision (Bug#14989).
5998
5999 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6000
6001 * ibuf-ext.el (ibuffer-filter-by-filename):
6002 Make it work with dired buffers too.
6003
6004 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6005
6006 * emacs-lisp/re-builder.el (reb-color-display-p):
6007 * files.el (save-buffers-kill-terminal):
6008 * net/browse-url.el (browse-url):
6009 * server.el (server-save-buffers-kill-terminal):
6010 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6011 Prefer nil to selected-frame for the first arg of frame-parameter.
6012
6013 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6014
6015 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6016
6017 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6018
6019 * minibuffer.el (completion--twq-all): Try and preserve each
6020 completion's case choice (bug#14907).
6021
6022 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6023
6024 * net/network-stream.el (open-network-stream): Mention the new
6025 :nogreeting parameter.
6026 (network-stream-open-starttls): Use the :nogreeting parameter
6027 (bug#14938).
6028
6029 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6030
6031 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6032 more natural than popping.
6033
6034 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6035 (shr-urlify): Highlight under mouse.
6036
6037 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6038
6039 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6040
6041 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6042
6043 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6044 buffer for output.
6045
6046 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6047 point-min==1. Fix search string. Fix parentheses missing.
6048
6049 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6050 assume point-min==1. Fix search string. Fix parentheses missing.
6051
6052 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6053
6054 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6055 buffer for output.
6056
6057 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6058
6059 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6060 initial frame is minibuffer-less. (Bug#14841)
6061
6062 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6065 option.
6066
6067 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6068 (tramp-maybe-open-connection): Use it.
6069
6070 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6073 minimal set of parameters passed when creating a frame, because
6074 the minibuffer status of a frame cannot be changed later.
6075
6076 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6077
6078 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6079 replace-regexp-in-string and inadvertent omissions in previous change.
6080 (todo-filter-items): Ensure only file names are comma-separated in
6081 name of filtered items buffer.
6082
6083 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6084
6085 * desktop.el: Optionally force offscreen frames back onscreen.
6086 (desktop-restoring-reuses-frames): New option.
6087 (desktop--compute-pos, desktop--move-onscreen): New functions.
6088 (desktop--make-frame): Use desktop--move-onscreen.
6089
6090 2013-07-27 Alan Mackenzie <acm@muc.de>
6091
6092 Fontify a Java generic method as a function.
6093 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6094 value to t.
6095
6096 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6097
6098 * calendar/todo-mode.el: Add command to rename todo files.
6099 (todo-rename-file): New command.
6100 (todo-key-bindings-t): Add key binding for it. Change the
6101 bindings of todo-filter-regexp-items(-multifile) to use `x'
6102 instead of `r', since the latter is better suited to the new
6103 renaming command.
6104
6105 2013-07-27 Alan Mackenzie <acm@muc.de>
6106
6107 Make Java try-with-resources statement parse properly.
6108 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6109 (c-block-stmt-1-2-key): New language constants/variables.
6110 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6111 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6112 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6113 with c-block-stmt-1-2-key.
6114
6115 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6116
6117 * desktop.el (desktop--make-frame): Apply most frame parameters after
6118 creating the frame to force (partially or totally) offscreen frames to
6119 be restored as such.
6120
6121 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6122
6123 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6124 (Bug#14948)
6125
6126 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6129 `base' arg of backtrace-frame.
6130
6131 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6132
6133 * simple.el (list-processes): Doc fix.
6134
6135 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6136
6137 * desktop.el (desktop--select-frame):
6138 Try harder to reuse existing frames.
6139
6140 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6143 (edebug-eval): Use backtrace-eval.
6144 (edebug--display, edebug--recursive-edit): Don't let-bind the
6145 edebug-outer-* vars that keep track of variables we locally let-bind.
6146 (edebug-outside-excursion): Don't restore outside values of locally
6147 let-bound vars.
6148 (edebug--display): Use user-error.
6149 (cl-lexical-debug, cl-debug-env): Remove.
6150
6151 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6152
6153 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6154 are restored to be sure that they are visible before deleting any
6155 remaining ones.
6156
6157 2013-07-26 Matthias Meulien <orontee@gmail.com>
6158
6159 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6160 vc-print-root-log. (Bug#14948)
6161
6162 2013-07-26 Richard Stallman <rms@gnu.org>
6163
6164 Add aliases for encrypting mail.
6165 * epa.el (epa-mail-aliases): New option.
6166 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6167 Bind inhibit-read-only so read-only text doesn't ruin everything.
6168 (epa-mail-default-recipients): New subroutine broken out.
6169 Handle epa-mail-aliases.
6170
6171 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 Add support for lexical variables to the debugger's `e' command.
6174 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6175 vars, except for debugger-outer-match-data.
6176 (debugger-frame-number): Move check for "on a function call" from
6177 callers into it. Add `skip-base' argument.
6178 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6179 (debugger-env-macro): Only reset the state stored in non-variables,
6180 i.e. current-buffer and match-data.
6181 (debugger-eval-expression): Rewrite using backtrace-eval.
6182 * subr.el (internal--called-interactively-p--get-frame): Remove.
6183 (called-interactively-p):
6184 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6185 `base' arg of backtrace-frame instead.
6186
6187 2013-07-26 Glenn Morris <rgm@gnu.org>
6188
6189 * align.el (align-regexp): Doc fix. (Bug#14857)
6190 (align-region): Explicit error if subexpression missing/does not match.
6191
6192 * simple.el (global-visual-line-mode):
6193 Do not duplicate the mode lighter. (Bug#14858)
6194
6195 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6196
6197 * window.el (display-buffer): In display-buffer bind
6198 split-window-keep-point to t, bug#14829.
6199
6200 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6201
6202 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6203 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6204 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6205 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6206 Change accordingly.
6207 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6208 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6209
6210 2013-07-25 Glenn Morris <rgm@gnu.org>
6211
6212 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6213
6214 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6215
6216 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6217 parameter to modify-frame-parameters if the value has not changed;
6218 this is a workaround for bug#14949.
6219 (desktop--make-frame): On cl-delete-if call, check parameter name,
6220 not full parameter.
6221
6222 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6223
6224 * vc/vc.el (vc-ignore): New function.
6225
6226 * vc/vc-svn.el (vc-svn-ignore): New function.
6227
6228 * vc/vc-hg.el (vc-hg-ignore): New function.
6229
6230 * vc/vc-git.el (vc-git-ignore): New function.
6231
6232 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6233 (vc-dir-ignore): New function.
6234
6235 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6236 (cvs-append-to-ignore): Move here from pcvs.el.
6237
6238 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6239
6240 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6241
6242 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6245 (desktop-restore-frames): Warn when deleting an existing frame failed.
6246
6247 2013-07-24 Glenn Morris <rgm@gnu.org>
6248
6249 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6250
6251 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6252
6253 * filenotify.el (file-notify-supported-p):
6254 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6255 Remove functions.
6256
6257 * autorevert.el (auto-revert-use-notify):
6258 (auto-revert-notify-add-watch):
6259 * net/tramp.el (tramp-file-name-for-operation):
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-sh.el (tramp-sh-file-name-handler-alist):
6263 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6264 Remove `file-notify-supported-p' entry.
6265
6266 2013-07-24 Glenn Morris <rgm@gnu.org>
6267
6268 * printing.el: Replace all uses of deleted ps-windows-system,
6269 ps-lp-system, ps-flatten-list with lpr- versions.
6270
6271 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6274 checked with memq (bug#14935).
6275
6276 * files.el (revert-buffer-function): Use a non-nil default.
6277 (revert-buffer-preserve-modes): Declare var to
6278 provide access to the `preserve-modes' argument.
6279 (revert-buffer): Let-bind it.
6280 (revert-buffer--default): New function, extracted from revert-buffer.
6281
6282 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * lpr.el: Signal print errors more prominently.
6285 (print-region-function): Don't default to nil.
6286 (lpr-print-region): New function, extracted from print-region-1.
6287 Check lpr's return value and signal an error in case of problem.
6288 (print-region-1): Use it.
6289 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6290 versions instead.
6291 (ps-printer-name): Default to nil.
6292 (ps-printer-name-option): Default to lpr-printer-switch.
6293 (ps-print-region-function): Don't default to nil.
6294 (ps-postscript-code-directory): Simplify default.
6295 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6296 (ps-string-list, ps-eval-switch, ps-flatten-list)
6297 (ps-flatten-list-1): Remove.
6298 (ps-multibyte-buffer): Avoid setq.
6299 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6300 (print-region-function, ps-print-region-function): Don't set them here.
6301
6302 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6303
6304 * ido.el (ido-fractionp):
6305 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6306 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6307 (ido-max-directory-size, ido-max-dir-file-cache)
6308 (ido-decorations): Doc fix.
6309
6310 * ansi-color.el: Fix old URL.
6311
6312 2013-07-23 Michael R. Mauger <michael@mauger.com>
6313
6314 * progmodes/sql.el: Version 3.3
6315 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6316 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6317 (sql-interactive-remove-continuation-prompt): Rewrite, use
6318 functions above. Fix continuation prompt and complete output line
6319 handling.
6320 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6321 redirected output buffer.
6322 (sql-mode): Restore deleted code (Bug#13591).
6323
6324 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6325
6326 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6327
6328 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6329
6330 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6331
6332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6333 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6334 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6335
6336 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6337
6338 * desktop.el (desktop-clear): Simplify; remove useless checks
6339 against invalid buffer names.
6340 (desktop-list*): Use cl-list*.
6341 (desktop-buffer-info, desktop-create-buffer): Simplify.
6342
6343 2013-07-23 Leo Liu <sdl.web@gmail.com>
6344
6345 * bookmark.el (bookmark-make-record): Restore NAME as a default
6346 value. (Bug#14933)
6347
6348 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6351 extracted from autoload--insert-text.
6352 (autoload--insert-text): Remove.
6353 (autoload--print-cookie-text): New function, extracted from
6354 autoload--insert-cookie-text.
6355 (autoload--insert-cookie-text): Remove.
6356 (autoload-generate-file-autoloads): Adjust calls accordingly.
6357
6358 * winner.el (winner-hook-installed-p): Remove.
6359 (winner-mode): Simplify accordingly.
6360
6361 * subr.el (add-to-list): Fix compiler-macro when `append' is
6362 not constant. Don't use `cl-member' for the base case.
6363
6364 * progmodes/subword.el: Fix boundary case (bug#13758).
6365 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6366 own group.
6367 (subword-backward-regexp): Make it a constant.
6368 (subword-forward-internal): Don't treat a trailing capital as the
6369 beginning of a word.
6370
6371 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6372
6373 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6374 global value of tabulated-list-revert-hook (bug#14930).
6375
6376 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6377
6378 * desktop.el: Require 'cl-lib.
6379 (desktop-before-saving-frames-functions): New hook.
6380 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6381 for frames being saved. Rename from desktop--save-minibuffer-frames.
6382 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6383 Do not save frames with non-nil `desktop-dont-save' parameter.
6384 Filter out deleted frames.
6385 (desktop--find-frame): Use cl-find-if.
6386 (desktop--select-frame): Use cl-(first|second|third) to access values
6387 of desktop-mini.
6388 (desktop--make-frame): Use cl-delete-if.
6389 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6390 (desktop-restore-frames): Use cl-(first|second|third) to access values
6391 of desktop-mini. Look for visible frame at the end, not while
6392 restoring frames.
6393
6394 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6395 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6396 Use string-match-p, looking-at-p (bug#14927).
6397
6398 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6399
6400 * desktop.el (desktop-saved-frame-states):
6401 Rename from desktop--saved-states; all users changed.
6402 (desktop-save-frames): Rename from desktop--save-frames.
6403 Do not save state to desktop file.
6404 (desktop-save): Save desktop-saved-frame-states to desktop file
6405 and reset to nil.
6406 (desktop-restoring-frames-p): New function.
6407 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6408 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6409 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6410
6411 * desktop.el: Correctly restore iconified frames.
6412 (desktop--filter-iconified-position): New function.
6413 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6414
6415 2013-07-20 Glenn Morris <rgm@gnu.org>
6416
6417 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6418 Let `message' do the formatting.
6419 (def-gdb-preempt-display-buffer): Add explicit format.
6420
6421 * image-dired.el (image-dired-track-original-file):
6422 Use with-current-buffer.
6423 (image-dired-track-thumbnail): Use with-current-buffer.
6424 Avoid changing point of wrong window.
6425
6426 * image-dired.el (image-dired-track-original-file):
6427 Avoid changing point of wrong window. (Bug#14909)
6428
6429 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6430
6431 * progmodes/gdb-mi.el (gdb-done-or-error):
6432 Guard against "%" in gdb output. (Bug#14127)
6433
6434 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6435
6436 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6437 (Bug#14826)
6438
6439 * international/mule.el (coding-system-iso-2022-flags): Fix last
6440 change.
6441
6442 2013-07-20 Kenichi Handa <handa@gnu.org>
6443
6444 * international/mule.el (coding-system-iso-2022-flags):
6445 Add `8-bit-level-4'. (Bug#8522)
6446
6447 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448
6449 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6450 (bug#14815).
6451
6452 * net/eww.el (eww-process-text-input): Allow inputting when the
6453 point is at the start of the line, as the properties aren't
6454 front-sticky.
6455
6456 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6457 degenerate widths.
6458
6459 2013-07-19 Richard Stallman <rms@gnu.org>
6460
6461 * epa.el (epa-popup-info-window): Doc fix.
6462
6463 * subr.el (split-string): New arg TRIM.
6464
6465 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6468 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6469
6470 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6471
6472 * filenotify.el (file-notify--library): Rename from
6473 `file-notify-support'. Do not autoload. Adapt all uses.
6474 (file-notify-supported-p): New defun.
6475
6476 * autorevert.el (auto-revert-use-notify):
6477 Use `file-notify-supported-p' instead of `file-notify-support'.
6478 Adapt docstring.
6479 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6480
6481 * net/tramp.el (tramp-file-name-for-operation):
6482 Add `file-notify-supported-p'.
6483
6484 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6485 New defun.
6486 (tramp-sh-file-name-handler-alist): Add it as handler for
6487 `file-notify-supported-p '.
6488
6489 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6490 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6491 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6492 Add `ignore' as handler for `file-notify-*' functions.
6493
6494 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6495
6496 * simple.el (line-move-partial, line-move): Don't start vscroll or
6497 scroll-up if the current line is not taller than the window.
6498 (Bug#14881)
6499
6500 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6501
6502 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6503 highlight question marks in the method names as strings.
6504 (ruby-block-beg-keywords): Inline.
6505 (ruby-font-lock-keyword-beg-re): Extract from
6506 `ruby-font-lock-keywords'.
6507
6508 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6509
6510 * frame.el (blink-cursor-blinks): New defcustom.
6511 (blink-cursor-blinks-done): New defvar.
6512 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6513 (blink-cursor-timer-function): Check if number of blinks has been
6514 done on X and NS.
6515 (blink-cursor-suspend, blink-cursor-check): New defuns.
6516
6517 2013-07-15 Glenn Morris <rgm@gnu.org>
6518
6519 * edmacro.el (edmacro-format-keys): Fix previous change.
6520
6521 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6522
6523 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6524 The hack didn't work outside English locales anyway.
6525
6526 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6527
6528 * simple.el (define-alternatives): Rename from alternatives-define,
6529 per RMS' suggestion.
6530
6531 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6532
6533 * desktop.el (desktop-restore-frames): Change default to t.
6534 (desktop-restore-in-current-display): Now offer more options.
6535 (desktop-restoring-reuses-frames): New customization option.
6536 (desktop--saved-states): Doc fix.
6537 (desktop-filter-parameters-alist): New variable, renamed and expanded
6538 from desktop--excluded-frame-parameters.
6539 (desktop--target-display): New variable.
6540 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6541 (desktop--filter-tty*, desktop--filter-*-color)
6542 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6543 (desktop--filter-save-desktop-parm)
6544 (desktop-restore-in-original-display-p): New functions.
6545 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6546 (desktop--save-minibuffer-frames): New function, inspired by a similar
6547 function from Martin Rudalics.
6548 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6549 (desktop--restore-in-this-display-p): Remove.
6550 (desktop--find-frame): Rename from desktop--find-frame-in-display
6551 and add predicate argument.
6552 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6553 (desktop--reuse-list): New variable.
6554 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6555 New functions.
6556 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6557
6558 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6559
6560 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6561
6562 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6563
6564 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6565 Highlight conversion methods on Kernel.
6566
6567 2013-07-13 Alan Mackenzie <acm@muc.de>
6568
6569 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6570 and comment it out. This out-commenting enables certain C++
6571 declarations to be parsed correctly.
6572
6573 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6574
6575 * international/mule.el (define-coding-system): Doc fix.
6576
6577 * simple.el (default-font-height): Don't call font-info if the
6578 frame's default font didn't change since the frame was created.
6579 (Bug#14838)
6580
6581 2013-07-13 Leo Liu <sdl.web@gmail.com>
6582
6583 * ido.el (ido-read-file-name): Guard against non-symbol value.
6584
6585 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6586
6587 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6588 in nested defuns.
6589
6590 2013-07-13 Leo Liu <sdl.web@gmail.com>
6591
6592 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6593 ido-set-matches call. (Bug#6852)
6594
6595 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6596
6597 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6598 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6599 Ruby 2.0.
6600 (ruby-font-lock-keywords): Distinguish calls to functions with
6601 module-like names from module references. Highlight character
6602 literals.
6603
6604 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6605
6606 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6607 (gdb-send): Handle continued commands. (Bug#14847)
6608
6609 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6610
6611 * desktop.el (desktop--v2s): Remove unused local variable.
6612 (desktop-save-buffer): Make defvar-local; adjust docstring.
6613 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6614 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6615
6616 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6617
6618 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6619
6620 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6621
6622 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6623 (Bug#14842)
6624
6625 2013-07-12 Glenn Morris <rgm@gnu.org>
6626
6627 * doc-view.el: Require cl-lib at runtime too.
6628 (doc-view-remove-if): Remove.
6629 (doc-view-search-next-match, doc-view-search-previous-match):
6630 Use cl-remove-if.
6631
6632 * edmacro.el: Require cl-lib at runtime too.
6633 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6634 (edmacro-mismatch, edmacro-subseq): Remove.
6635
6636 * shadowfile.el: Require cl-lib.
6637 (shadow-remove-if): Remove.
6638 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6639 Use cl-remove-if.
6640
6641 * wid-edit.el: Require cl-lib.
6642 (widget-choose): Use cl-remove-if.
6643 (widget-remove-if): Remove.
6644
6645 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6646 (ebrowse-delete-if-not): Remove.
6647 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6648 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6649 Use cl-delete-if-not.
6650
6651 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6652
6653 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6654 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6655
6656 2013-07-12 Leo Liu <sdl.web@gmail.com>
6657
6658 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6659
6660 2013-07-11 Glenn Morris <rgm@gnu.org>
6661
6662 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6663 (edebug-gensym-index, edebug-gensym):
6664 Remove reimplementation of cl-gensym.
6665 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6666
6667 * thumbs.el: Require cl-lib at run-time too.
6668 (thumbs-gensym-counter, thumbs-gensym):
6669 Remove reimplementation of cl-gensym.
6670 (thumbs-temp-file): Use cl-gensym.
6671
6672 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6673 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6674 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6675 (ert--union, ert--gensym-counter, ert--gensym-counter)
6676 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6677 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6678 (ert-make-test-unbound, ert--expand-should-1)
6679 (ert--expand-should, ert--should-error-handle-error)
6680 (should-error, ert--explain-equal-rec)
6681 (ert--plist-difference-explanation, ert-select-tests)
6682 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6683 Use cl-lib functions rather than reimplementations.
6684
6685 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6686
6687 * net/tramp.el (tramp-methods): Extend docstring.
6688 (tramp-connection-timeout): New defcustom.
6689 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6690 (with-tramp-progress-reporter): Simplify.
6691 (tramp-process-actions): Improve messages.
6692
6693 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6694 * net/tramp-sh.el (tramp-maybe-open-connection):
6695 Use `tramp-connection-timeout'.
6696 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6697 (Bug#14808)
6698
6699 2013-07-11 Leo Liu <sdl.web@gmail.com>
6700
6701 * ido.el (ido-read-file-name): Conform to the requirements of
6702 read-file-name. (Bug#11861)
6703 (ido-read-directory-name): Conform to the requirements of
6704 read-directory-name.
6705
6706 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6707
6708 * subr.el (delay-warning): New function.
6709
6710 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6711
6712 * simple.el (default-line-height): New function.
6713 (line-move-partial, line-move): Use it instead of computing the
6714 line height inline.
6715 (line-move-partial): Always compute ROWH. If the last line is
6716 partially-visible, but its text is completely visible, allow
6717 cursor to enter such a partially-visible line.
6718
6719 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6720
6721 Improve error messages. (Bug#14808)
6722
6723 * net/tramp.el (tramp-current-connection): New defvar, moved from
6724 tramp-sh.el.
6725 (tramp-message-show-progress-reporter-message): Remove, not
6726 needed anymore.
6727 (tramp-error-with-buffer): Show message in minibuffer.
6728 Discard input before waiting. Reset connection timestamp.
6729 (with-tramp-progress-reporter): Improve messages.
6730 (tramp-process-actions): Use progress reporter. Delete process in
6731 case of error. Improve messages.
6732
6733 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6734 Call `tramp-error-with-buffer' with vector and buffer.
6735 (tramp-current-connection): Remove.
6736 (tramp-maybe-open-connection): The car of
6737 `tramp-current-connection' are the first 3 slots of the vector.
6738
6739 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6740
6741 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6742 inside continued strings.
6743
6744 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6745
6746 Timestamp fixes for undo (Bug#14824).
6747 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6748
6749 2013-07-10 Leo Liu <sdl.web@gmail.com>
6750
6751 * files.el (require-final-newline): Allow safe local value.
6752 (Bug#14834)
6753
6754 2013-07-09 Leo Liu <sdl.web@gmail.com>
6755
6756 * ido.el (ido-read-directory-name): Handle fallback.
6757 (ido-read-file-name): Update DIR to ido-current-directory.
6758 (Bug#1516)
6759 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6760
6761 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6762
6763 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6764 "autoload". Remove "warn lower camel case" section, previously
6765 commented out. Highlight negation char. Do not highlight the
6766 target in singleton method definitions.
6767
6768 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * faces.el (tty-setup-hook): Declare the hook.
6771
6772 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6773 and detect when a guard/pred depends on local vars (bug#14773).
6774 (pcase--u1): Adjust caller.
6775
6776 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6777
6778 * simple.el (line-move-partial, line-move): Account for
6779 line-spacing.
6780 (line-move-partial): Avoid setting vscroll when the last
6781 partially-visible line in window is of default height.
6782
6783 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6784
6785 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6786 been used a while.
6787
6788 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6789
6790 * subr.el (read-quoted-char): Remove unused local variable `char'.
6791
6792 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6793
6794 * ediff.el (ediff-version): Version update.
6795 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6796 (ediff-merge-with-ancestor-command, ediff-directories-command)
6797 (ediff-directories3-command, ediff-merge-directories-command)
6798 (ediff-merge-directories-with-ancestor-command): New functions.
6799 All are command-line interfaces to ediff: to facilitate calling
6800 Emacs with the appropriate ediff functions invoked.
6801
6802 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6803 (viper-save-kill-buffer): Check if buffer is modified.
6804
6805 * viper.el (viper-version): Version update.
6806 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6807
6808 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6811 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6812 (viper-intercept-ESC-key): Simplify.
6813 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6814 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6815 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6816 (viper-setup-ESC-to-escape): New functions.
6817 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6818 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6819
6820 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6821
6822 * simple.el (default-font-height, window-screen-lines):
6823 New functions.
6824 (line-move, line-move-partial): Use them instead of
6825 frame-char-height and window-text-height. This makes scrolling
6826 text smoother when the buffer's default face uses a font that is
6827 different from the frame's default font.
6828
6829 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6830
6831 * files.el (write-file): Do not display confirm dialog for NS,
6832 it does its own dialog, which can't be cancelled (Bug#14578).
6833
6834 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6835
6836 * simple.el (line-move-partial): Adjust the row returned by
6837 posn-at-point for the current window-vscroll. (Bug#14567)
6838
6839 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6840
6841 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6842 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6843 spaces.
6844
6845 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6846
6847 * window.el (window-state-put-stale-windows): New variable.
6848 (window--state-put-2): Save list of windows without matching buffer.
6849 (window-state-put): Remove "bufferless" windows if possible.
6850
6851 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * simple.el (alternatives-define): Remove leftover :group keyword.
6854 Tweak docstring.
6855
6856 2013-07-06 Leo Liu <sdl.web@gmail.com>
6857
6858 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6859 (ido-enable-virtual-buffers): New variable.
6860 (ido-buffer-internal, ido-toggle-virtual-buffers)
6861 (ido-make-buffer-list): Use it.
6862 (ido-exhibit): Support turning on and off virtual buffers
6863 automatically.
6864
6865 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6866
6867 * simple.el (alternatives-define): New macro.
6868
6869 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * subr.el (read-quoted-char): Use read-key.
6872 (sit-for): Let read-event decode tty input (bug#14782).
6873
6874 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6875
6876 * calendar/todo-mode.el: Add handling of file deletion, both by
6877 mode command and externally. Fix various related bugs.
6878 Clarify Commentary and improve some documentation strings and code.
6879 (todo-delete-file): New command.
6880 (todo-check-file): New function.
6881 (todo-show): Handle external deletion of the file we're trying to
6882 show (bug#14688). Replace called-interactively-p by an optional
6883 prefix argument to avoid problematic interaction with catch form
6884 when byte compiled (bug#14702).
6885 (todo-quit): Handle external deletion of the archive's todo file.
6886 Make sure the buffer that was visiting the archive file is still
6887 live before trying to bury it.
6888 (todo-category-completions): Handle external deletion of any
6889 category completion files.
6890 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6891 of todo files, in case of external deletion.
6892 (todo-add-file): Replace unnecessary setq by let-binding.
6893 (todo-find-archive): Check whether there are any archives.
6894 Replace unnecessary setq by let-binding.
6895 (todo-archive-done-item): Use find-file-noselect to get the
6896 archive buffer whether or not the archive already exists.
6897 Remove superfluous code. Use file size instead of buffer-file-name to
6898 check if the archive is new; if it is, update list of archives.
6899 (todo-default-todo-file): Allow nil to be a valid value for when
6900 there are no todo files.
6901 (todo-reevaluate-default-file-defcustom): Use corrected definition
6902 of todo-default-todo-file.
6903 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6904 (todo-delete-category, todo-show-categories-table)
6905 (todo-category-number): Clarify comment.
6906 (todo-filter-items): Clarify documentation string.
6907 (todo-show-current-file, todo-display-as-todo-file)
6908 (todo-reset-and-enable-done-separator): Tweak documentation string.
6909 (todo-done-separator): Make separator length window-width, since
6910 bug#2749 is now fixed.
6911
6912 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6913
6914 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6915 Support both "gvfs-monitor-dir" and "inotifywait".
6916 (tramp-sh-file-inotifywait-process-filter): Rename from
6917 `tramp-sh-file-notify-process-filter'.
6918 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6919 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6920
6921 2013-07-05 Leo Liu <sdl.web@gmail.com>
6922
6923 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6924
6925 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6926
6927 * frame.el (display-pixel-height, display-pixel-width)
6928 (display-mm-height, display-mm-width): Mention behavior on
6929 multi-monitor setups in docstrings.
6930 (w32-display-monitor-attributes-list): Declare function.
6931 (display-monitor-attributes-list): Use it.
6932
6933 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6934
6935 * filenotify.el: New package.
6936
6937 * autorevert.el (top): Require filenotify.el.
6938 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6939 instead.
6940 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6941 (auto-revert-notify-handler): Use `file-notify-*' functions.
6942
6943 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6944
6945 * net/tramp.el (tramp-file-name-for-operation):
6946 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6947
6948 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6949 for `file-notify-add-watch' and `file-notify-rm-watch'.
6950 (tramp-process-sentinel): Improve trace.
6951 (tramp-sh-handle-file-notify-add-watch)
6952 (tramp-sh-file-notify-process-filter)
6953 (tramp-sh-handle-file-notify-rm-watch)
6954 (tramp-get-remote-inotifywait): New defuns.
6955
6956 2013-07-03 Juri Linkov <juri@jurta.org>
6957
6958 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6959 call of `occur-read-primary-args' to interactive spec.
6960
6961 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6962 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6963
6964 2013-07-03 Matthias Meulien <orontee@gmail.com>
6965
6966 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6967 `Buffer-menu-multi-occur'. Add it to the menu.
6968 (Buffer-menu-mode): Document it in docstring.
6969 (Buffer-menu-multi-occur): New command. (Bug#14673)
6970
6971 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6972
6973 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6974 keywords and built-ins.
6975
6976 2013-07-03 Glenn Morris <rgm@gnu.org>
6977
6978 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6979
6980 Make info-xref checks case-sensitive by default
6981 * info.el (Info-find-node, Info-find-in-tag-table)
6982 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6983 Add option for exact case matching of nodes.
6984 * info-xref.el (info-xref): New custom group.
6985 (info-xref-case-fold): New option.
6986 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6987
6988 2013-07-03 Leo Liu <sdl.web@gmail.com>
6989
6990 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6991
6992 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6993
6994 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6995 middle of block statement initially, lower the depth. Remove
6996 FIXME comment, not longer valid. Remove middle of block statement
6997 detection, no need to do that anymore since we've been using
6998 `ruby-parse-region' here.
6999
7000 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7001
7002 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7003
7004 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7005
7006 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7007
7008 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7009
7010 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7011 (desktop-restore-in-current-display): New customization option.
7012 (desktop--excluded-frame-parameters): Add `font'.
7013 (desktop--save-frames): Rename from desktop--save-windows.
7014 (desktop--restore-in-this-display-p): New function.
7015 (desktop--make-full-frame): Remove unwanted width/height from
7016 full(width|height) frames.
7017 (desktop--restore-frames): Rename from desktop--restore-windows.
7018 Obey desktop-restore-current-display. Do not delete old frames or
7019 select a new frame unless we were able to restore at least one frame.
7020
7021 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7022
7023 * files.el (find-file-noselect): Simplify conditional expression.
7024
7025 * remember.el (remember-append-to-file):
7026 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7027
7028 Add `remember-notes' function to store random notes across Emacs
7029 restarts.
7030 * remember.el (remember-data-file): Add :set callback to affect
7031 notes buffer (if any).
7032 (remember-notes): New command.
7033 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7034 New defcustoms for the `remember-notes' function.
7035 (remember-notes-save-and-bury-buffer): New command.
7036 (remember-notes-mode-map): New variable.
7037 (remember-mode): New minor mode.
7038 (remember-notes--kill-buffer-query): New function.
7039 * startup.el (initial-buffer-choice): Add notes to custom type.
7040
7041 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7042
7043 * bindings.el (right-char, left-char): Don't call sit-for, this is
7044 no longer needed. Use arithmetic comparison only for numerical
7045 arguments.
7046
7047 * international/mule-cmds.el (select-safe-coding-system):
7048 Handle the case of FROM being a string correctly. (Bug#14755)
7049
7050 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7051
7052 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7053 progression on degenerate tables.
7054 (shr-rescale-image): ImageMagick animated images currently don't work.
7055
7056 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7057
7058 Some fixes and improvements for desktop frame restoration.
7059 It is still experimental and disabled by default.
7060 * desktop.el (desktop--save-windows): Put the selected frame at
7061 the head of the list.
7062 (desktop--make-full-frame): New function.
7063 (desktop--restore-windows): Try to re-select the frame that was
7064 selected upon saving. Do not abort if some frames fail to restore,
7065 just show an error message and continue. Set up maximized frames
7066 so they have default non-maximized dimensions.
7067
7068 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7069
7070 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7071 Don't start heredoc inside a string or comment.
7072
7073 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7074
7075 * bindings.el (visual-order-cursor-movement): New defcustom.
7076 (right-char, left-char): Provide visual-order cursor motion by
7077 calling move-point-visually. Update the doc strings.
7078
7079 2013-06-28 Kenichi Handa <handa@gnu.org>
7080
7081 * international/mule.el (define-coding-system): New coding system
7082 properties :inhibit-null-byte-detection,
7083 :inhibit-iso-escape-detection, and :prefer-utf-8.
7084 (set-buffer-file-coding-system): If :charset-list property of
7085 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7086 appropriate for setting.
7087
7088 * international/mule-cmds.el (select-safe-coding-system):
7089 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7090 multibyte characters, return utf-8 (or one of its siblings).
7091
7092 * international/mule-conf.el (prefer-utf-8): New coding system.
7093 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7094 files.
7095
7096 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7097
7098 * net/shr.el (shr-render-region): New function.
7099
7100 * net/eww.el: Autoload `eww-browse-url'.
7101
7102 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7103
7104 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7105 Adapt to `package-desc-version' being a list.
7106 Use `package--ac-desc-version' to retrieve version from a package
7107 archive element.
7108
7109 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7110
7111 New experimental feature to save&restore window and frame setup.
7112 * desktop.el (desktop-save-windows): New defcustom.
7113 (desktop--saved-states): New var.
7114 (desktop--excluded-frame-parameters): New defconst.
7115 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7116 (desktop--restore-windows, desktop--save-windows): New functions.
7117 (desktop-save): Call `desktop--save-windows'.
7118 (desktop-read): Call `desktop--restore-windows'.
7119
7120 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7121
7122 * net/shr.el (add-face-text-property): Remove compat definition.
7123
7124 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7125
7126 * info.el (Info-try-follow-nearest-node): Move search for footnote
7127 above search for node name to prevent missing a footnote (bug#14717).
7128
7129 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7130
7131 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7132
7133 2013-06-27 Leo Liu <sdl.web@gmail.com>
7134
7135 * net/eww.el (eww-read-bookmarks): Check file size.
7136
7137 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7140 advice--pending if newdef is nil or an autoload (bug#13820).
7141 (advice-mapc): New function.
7142
7143 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7144
7145 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7146 probably.
7147 (eww-mode-map): Add a menu bar.
7148 (eww-add-bookmark): New command.
7149 (eww-bookmark-mode): New mode and commands.
7150 (eww-add-bookmark): Remove newlines from the title.
7151 (eww-bookmark-browse): Don't bug out if it's the only window.
7152
7153 2013-06-26 Glenn Morris <rgm@gnu.org>
7154
7155 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7156 (hfy-size): Handle ttys. (Bug#14668)
7157
7158 * info-xref.el: Update for Texinfo 5 change in *note format.
7159 (info-xref-node-re, info-xref-note-re): New constants.
7160 (info-xref-check-buffer): Use info-xref-note-re.
7161
7162 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7165
7166 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7167 nil terminate the loop (bug#14718).
7168
7169 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7170
7171 * net/eww.el: Rework history traversal. When going forward/back,
7172 put these actions into the history, too, so that they can be
7173 replayed.
7174 (eww-render): Move the history reset to the correct buffer.
7175
7176 2013-06-25 Juri Linkov <juri@jurta.org>
7177
7178 * files-x.el (modify-dir-local-variable): Change the header comment
7179 in the file with directory local variables. (Bug#14692)
7180
7181 * files-x.el (read-file-local-variable-value): Add `default'.
7182 (Bug#14710)
7183
7184 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7185
7186 * net/eww.el (eww-make-unique-file-name): Create a unique file
7187 name before saving to entering `y' accidentally asynchronously.
7188
7189 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7190
7191 * net/eww.el (eww-download): New command and keystroke.
7192
7193 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7194
7195 * net/eww.el (eww-copy-page-url): Change name of command.
7196
7197 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7198 be more consistent with Info and dired.
7199
7200 * net/eww.el (eww-mode-map): Ditto.
7201
7202 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7205 packages from archives.
7206 (package-archive-contents): Change format; include obsolete packages.
7207 (package-desc): Use `dir' to mark builtin packages.
7208 (package--from-builtin): Set the `dir' field to `builtin'.
7209 (generated-autoload-file, version-control): Declare.
7210 (package-compute-transaction): Change first arg and return value to be
7211 lists of package-descs. Adjust to new package-archive-contents format.
7212 (package--add-to-archive-contents): Adjust to new
7213 package-archive-contents format.
7214 (package-download-transaction): Arg is now a list of package-descs.
7215 (package-install): If `pkg' is a package name, pass it as
7216 a requirement, so it is subject to the usual (e.g. disabled) checks.
7217 (describe-package): Accept package-desc as well.
7218 (describe-package-1): Describe a specific package-desc. Add links to
7219 other package-descs for the same package name.
7220 (package-menu-describe-package): Pass the actual package-desc.
7221 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7222 works correctly.
7223 (package-desc-status): New function.
7224 (package-menu--refresh): New function, extracted
7225 from package-menu--generate.
7226 (package-menu--generate): Use it.
7227 (package-delete): Update package-alist.
7228 (package-menu-execute): Don't call package-initialize.
7229
7230 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7231 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7232 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7233 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7234 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7235 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7236
7237 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7238
7239 * window.el (window--state-get-1): Workaround for bug#14527.
7240 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7241
7242 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243
7244 * net/eww.el (eww-back-url): Implement the history by stashing all
7245 the data into a list.
7246 (eww-forward-url): Allow going forward in the history, too.
7247
7248 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7251 for values and use read--expression for expressions (bug#14710).
7252 (read-file-local-variable): Avoid setq.
7253 (read-file-local-variable-mode): Use minor-mode-list.
7254
7255 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7256
7257 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7258 for DOI URLs.
7259
7260 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7261
7262 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7263 Update imenu-support when dialect changes.
7264
7265 2013-06-25 Leo Liu <sdl.web@gmail.com>
7266
7267 * ido.el (ido-read-internal): Allow forward slash on windows.
7268
7269 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270
7271 * net/eww.el (eww): Start of strings is \\`, not ^.
7272
7273 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7274
7275 * net/shr.el (shr-browse-url): Fix interactive spec.
7276
7277 * net/eww.el (eww): Add a trailing slash to domain names.
7278
7279 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7280
7281 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7282
7283 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7284
7285 * net/shr.el (shr-browse-url): Use an external browser if given a
7286 prefix.
7287
7288 * net/eww.el (eww-external-browser): Move to shr.
7289
7290 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7291
7292 * net/eww.el (eww): Work more correctly for file: URLs.
7293 (eww-detect-charset): Allow quoted charsets.
7294 (eww-yank-page-url): New command and keystroke.
7295
7296 2013-06-24 Daiki Ueno <ueno@gnu.org>
7297
7298 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7299 file name of gpg executable.
7300 (epg-context-program): New function.
7301 (epg-context-home-directory): New function.
7302 (epg-context-set-program): New function.
7303 (epg-context-set-home-directory): New function.
7304 (epg--start): Use `epg-context-program' instead of
7305 'epg-gpg-program'.
7306 (epg--list-keys-1): Likewise.
7307
7308 2013-06-24 Leo Liu <sdl.web@gmail.com>
7309
7310 * ido.el (ido-read-internal): Fix bug#14620.
7311
7312 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * faces.el (face-documentation): Simplify.
7315 (read-face-attribute, tty-find-type, x-resolve-font-name):
7316 Use `string-match-p'.
7317 (list-faces-display): Use `string-match-p'. Simplify.
7318 (face-spec-recalc): Check face to avoid face alias loops.
7319 (read-color): Use `string-match-p' and non-capturing parenthesis.
7320
7321 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7322
7323 * net/shr.el (shr-rescale-image): Use the new
7324 :max-width/:max-height functionality.
7325
7326 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7327
7328 * net/eww.el (eww-search-prefix): New variable.
7329 (eww): Use it.
7330 (eww-external-browser): New variable.
7331 (eww-mode-map): New keystroke.
7332 (eww-browse-with-external-browser): New command.
7333
7334 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7335
7336 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7337
7338 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7339 Don't skip aligning the next header field when padding is 0;
7340 otherwise, field width is not respected unless the title is as
7341 wide as the field.
7342
7343 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * emacs-lisp/package.el (package-el-version): Remove.
7346 (package-process-define-package): Fix inf-loop.
7347 (package-install): Allow symbols as arguments again.
7348
7349 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7350
7351 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7352 add some more keyword-like methods.
7353 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7354
7355 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * bs.el (bs-buffer-show-mark): Make defvar-local.
7358 (bs-mode): Use setq-local.
7359
7360 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7361 (emacs-lock--try-unlocking): Make defvar-local.
7362
7363 2013-06-22 Glenn Morris <rgm@gnu.org>
7364
7365 * play/cookie1.el (cookie-apropos): Minor simplification.
7366
7367 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7368
7369 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7372 `regexp-opt', it breaks the build during dumping.
7373
7374 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7375
7376 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7377 Highlight keyword-like methods on Kernel and Module with
7378 font-lock-builtin-face.
7379 (auto-mode-alist): Consolidate different entries into one regexp
7380 and add more *file-s.
7381
7382 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7383
7384 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7385
7386 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7387 (diary-entry): Use it in the action of this button type instead of
7388 diary-goto-entry.
7389
7390 * calendar/todo-mode.el: New version.
7391 (todo-add-category): Append new category to end of file and give
7392 it the highest number, instead of putting it at the beginning and
7393 giving it 0. Incorporate noninteractive functionality.
7394 (todo-forward-category): Adapt to 1-based category numbering.
7395 Allow skipping over archived categories.
7396 (todo-backward-category): Derive from todo-forward-category.
7397 (todo-backward-item, todo-forward-item): Make noninteractive and
7398 delegate interactive part to new commands. Make sensitive to done items.
7399 (todo-categories): Make value an alist of category names and
7400 vectors of item counts.
7401 (todo-category-beg): Make a defconst.
7402 (todo-category-number): Use 1 instead of 0 as initial value.
7403 (todo-category-select): Make sensitive to overlays, optional item
7404 highlighting and done items.
7405 (todo-delete-item): Make sensitive to overlays and marked and done items.
7406 (todo-edit-item): Make sensitive to overlays and editing of
7407 date/time header optional. Add format checks.
7408 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7409 no-op if point is not on an item. Advertise using todo-edit-quit.
7410 (todo-edit-mode): Make sensitive to new format, font-locking, and
7411 multiple todo files.
7412 (todo-insert-item, todo-insert-item-here): Derive from
7413 todo-basic-insert-item and extend functionality.
7414 (todo-item-end, todo-item-start): Make sensitive to done items.
7415 (todo-item-string): Don't return text properties. Restore point.
7416 (todo-jump-to-category): Make sensitive to multiple todo files and
7417 todo archives. Use extended category completion.
7418 (todo-lower-item, todo-raise-item): Rename to *-priority and
7419 derive from todo-set-item-priority.
7420 (todo-mode): Derive from special-mode. Make sensitive to new
7421 format, font-locking and multiple todo files. Make read-only.
7422 (todo-mode-map): Don't suppress digit keys, so they can supply
7423 prefix arguments. Add many new key bindings.
7424 (todo-prefix): Insert as an overlay instead of file text.
7425 Change semantics from diary date expression to purely visual mark.
7426 (todo-print): Rename to todo-print-buffer. Make buffer display
7427 features printable. Remove option to restrict number of items
7428 printed. Add option to print to file.
7429 (todo-print-function): Rename to todo-print-buffer-function.
7430 (todo-quit): Extend to handle exiting new todo modes.
7431 (todo-remove-item): Make sensitive to overlays.
7432 (todo-save): Extend to buffers of filtered items.
7433 (todo-show): Make sensitive to done items, multiple todo files and
7434 new todo modes. Offer to convert legacy todo file before creating
7435 first new todo file.
7436 (todo-show-priorities): Rename to todo-top-priorities.
7437 Change semantics of value 0.
7438 (todo-top-priorities): Rename to todo-filter-top-priorities,
7439 derive from todo-filter-items and extend functionality.
7440 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7441 and extend functionality to other types of filtered items.
7442 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7443 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7444 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7445 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7446 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7447 (todo-edit-mode-hook, todo-entry-prefix-function)
7448 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7449 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7450 (todo-initials, todo-insert-threshold, todo-item-string-start)
7451 (todo-line-string, todo-menu, todo-mode-hook)
7452 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7453 (todo-print-priorities, todo-remove-separator)
7454 (todo-save-top-priorities-too, todo-string-count-lines)
7455 (todo-string-multiline-p, todo-time-string-format)
7456 (todo-tmp-buffer-name): Remove.
7457 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7458 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7459 (todo-edit-category-diary-inclusion)
7460 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7461 (todo-edit-file, todo-edit-item-date-day)
7462 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7463 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7464 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7465 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7466 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7467 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7468 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7469 (todo-filter-top-priorities-multifile, todo-find-archive)
7470 (todo-find-filtered-items-file, todo-go-to-source-item)
7471 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7472 (todo-jump-to-archive-category, todo-lower-category)
7473 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7474 (todo-move-category, todo-move-item, todo-next-button)
7475 (todo-next-item, todo-padded-string, todo-powerset)
7476 (todo-previous-button, todo-previous-item)
7477 (todo-print-buffer-to-file, todo-raise-category)
7478 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7479 (todo-set-category-number, todo-set-item-priority)
7480 (todo-set-top-priorities-in-category)
7481 (todo-set-top-priorities-in-file, todo-show-categories-table)
7482 (todo-sort-categories-alphabetically-or-numerically)
7483 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7484 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7485 (todo-toggle-item-header, todo-toggle-item-highlighting)
7486 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7487 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7488 (todo-unarchive-items, todo-unmark-category): New commands.
7489 (todo-absolute-file-name, todo-add-to-buffer-list)
7490 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7491 (todo-basic-insert-item, todo-category-completions)
7492 (todo-category-number, todo-category-string-matcher-1)
7493 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7494 (todo-check-format, todo-clear-matches)
7495 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7496 (todo-current-category, todo-date-string-matcher)
7497 (todo-define-insertion-command, todo-diary-expired-matcher)
7498 (todo-diary-goto-entry, todo-diary-item-p)
7499 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7500 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7501 (todo-done-item-section-p, todo-done-separator)
7502 (todo-done-string-matcher, todo-files, todo-filter-items)
7503 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7504 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7505 (todo-insert-category-line, todo-insert-item-from-calendar)
7506 (todo-insert-sort-button, todo-insert-with-overlays)
7507 (todo-insertion-command-name, todo-insertion-key-bindings)
7508 (todo-label-to-key, todo-longest-category-name-length)
7509 (todo-make-categories-list, todo-mode-external-set)
7510 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7511 (todo-modes-set-3, todo-multiple-filter-files)
7512 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7513 (todo-read-category, todo-read-date, todo-read-dayname)
7514 (todo-read-file-name, todo-read-time)
7515 (todo-reevaluate-category-completions-files-defcustom)
7516 (todo-reevaluate-default-file-defcustom)
7517 (todo-reevaluate-filelist-defcustoms)
7518 (todo-reevaluate-filter-files-defcustom)
7519 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7520 (todo-reset-done-separator, todo-reset-done-separator-string)
7521 (todo-reset-done-string, todo-reset-global-current-todo-file)
7522 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7523 (todo-reset-prefix, todo-set-categories)
7524 (todo-set-date-from-calendar, todo-set-show-current-file)
7525 (todo-set-top-priorities, todo-short-file-name)
7526 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7527 (todo-total-item-counts, todo-update-buffer-list)
7528 (todo-update-categories-display, todo-update-categories-sexp)
7529 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7530 New functions.
7531 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7532 New major modes.
7533 (todo-categories, todo-display, todo-edit, todo-faces)
7534 (todo-filtered): New defgroups.
7535 (todo-archived-only, todo-button, todo-category-string, todo-date)
7536 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7537 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7538 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7539 (todo-add-item-if-new-category, todo-always-add-time-string)
7540 (todo-categories-align, todo-categories-archived-label)
7541 (todo-categories-category-label, todo-categories-diary-label)
7542 (todo-categories-done-label, todo-categories-number-separator)
7543 (todo-categories-todo-label, todo-categories-totals-label)
7544 (todo-category-completions-files, todo-completion-ignore-case)
7545 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7546 (todo-done-separator-string, todo-done-string)
7547 (todo-files-function, todo-filter-done-items, todo-filter-files)
7548 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7549 (todo-initial-category, todo-initial-file, todo-item-mark)
7550 (todo-legacy-date-time-regexp, todo-mode-line-function)
7551 (todo-nondiary-marker, todo-number-prefix)
7552 (todo-print-buffer-function, todo-show-current-file)
7553 (todo-show-done-only, todo-show-first, todo-show-with-done)
7554 (todo-skip-archived-categories, todo-top-priorities-overrides)
7555 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7556 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7557 New defcustoms.
7558 (todo-category-done, todo-date-pattern, todo-date-string-start)
7559 (todo-diary-items-buffer, todo-done-string-start)
7560 (todo-filtered-items-buffer, todo-item-start)
7561 (todo-month-abbrev-array, todo-month-name-array)
7562 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7563 (todo-top-priorities-buffer): New defconsts.
7564 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7565 (todo-categories-with-marks, todo-category-string-face)
7566 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7567 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7568 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7569 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7570 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7571 (todo-font-lock-keywords, todo-global-current-todo-file)
7572 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7573 (todo-insertion-commands-args)
7574 (todo-insertion-commands-args-genlist)
7575 (todo-insertion-commands-names, todo-insertion-map)
7576 (todo-key-bindings-t, todo-key-bindings-t+a)
7577 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7578 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7579 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7580 (todo-visited): New variables.
7581
7582 2013-06-21 Glenn Morris <rgm@gnu.org>
7583
7584 * play/cookie1.el (cookie-apropos): Add optional display argument.
7585 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7586 (psychoanalyze-pinhead): Use cookie-doctor.
7587
7588 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * emacs-lisp/package.el (tar-get-file-descriptor)
7591 (tar--extract): Declare.
7592
7593 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7594
7595 Extend flymake's warning predicate to be a function (bug#14217).
7596 * progmodes/flymake.el (flymake-warning-predicate): New.
7597 (flymake-parse-line): Use it.
7598 (flymake-warning-re): Make obsolete alias to
7599 `flymake-warning-predicate'.
7600
7601 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7604 (package-obsolete-list): Remove.
7605 (package-activate): Remove min-version argument. Add `force' argument.
7606 Adjust to new package-alist format.
7607 (package-mark-obsolete): Remove.
7608 (package-unpack): Force reload of the package's autoloads.
7609 (package-installed-p): Check builtins if the installed package is not
7610 recent enough.
7611 (package-initialize): Don't reset package-obsolete-list.
7612 Don't specify which package version to activate.
7613 (package-process-define-package, describe-package-1)
7614 (package-menu--generate): Adjust to new package-alist format.
7615
7616 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7617
7618 * allout-widgets.el (allout-widgets-mode-off)
7619 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7620 (allout-widgets-post-command-business)
7621 (allout-widgets-after-copy-or-kill-function)
7622 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7623 (allout-decorate-item-and-context)
7624 (allout-graphics-modification-handler): Fix typos in docstrings.
7625 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7626
7627 * cmuscheme.el (scheme-start-file): Doc fix.
7628 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7629 (scheme-input-filter): Use `string-match-p'.
7630
7631 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7632
7633 * dired-x.el: Use Dired consistently in docstrings.
7634
7635 * dired.el: Use Dired consistently in docstrings.
7636 (dired-readin, dired-mode): Use `setq-local'.
7637 (dired-switches-alist): Make defvar-local.
7638 (dired-buffers-for-dir): Use `zerop'.
7639 (dired-safe-switches-p, dired-switches-escape-p)
7640 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7641 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7642 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7643 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7644 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7645 (dired-toggle-marks, dired-mark-files-containing-regexp)
7646 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7647 (dired-flag-auto-save-files, dired-flag-backup-files):
7648 Use `looking-at-p'.
7649 (dired-mark-files-regexp, dired-build-subdir-alist):
7650 Use `string-match-p', `looking-at-p'.
7651
7652 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7653 (direct-print-region-helper): Use `string-match-p'.
7654
7655 2013-06-21 Leo Liu <sdl.web@gmail.com>
7656
7657 * comint.el (comint-redirect-results-list-from-process):
7658 Fix infinite loop.
7659
7660 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7661
7662 * net/eww.el (eww-update-header-line-format): Quote % characters.
7663
7664 2013-06-21 Glenn Morris <rgm@gnu.org>
7665
7666 * play/cookie1.el (cookie): New custom group.
7667 (cookie-file): New option.
7668 (cookie-check-file): New function.
7669 (cookie): Make it interactive. Make start and end messages optional.
7670 Interactively, display the result. Default to cookie-file.
7671 (cookie-insert): Default to cookie-file.
7672 (cookie-snarf): Make start and end messages optional.
7673 Default to cookie-file. Use with-temp-buffer.
7674 (cookie-read): Rename from read-cookie.
7675 Make start and end messages optional. Default to cookie-file.
7676 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7677 Do not autoload it.
7678 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7679 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7680
7681 2013-06-21 Leo Liu <sdl.web@gmail.com>
7682
7683 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7684
7685 2013-06-21 Glenn Morris <rgm@gnu.org>
7686
7687 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7688
7689 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7690 Daniel Hackney <dan@haxney.org>
7691
7692 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7693 Consolidate the single-file vs tarball code.
7694 (package-desc-suffix): New function.
7695 (package-desc-full-name): Don't bother inlining it.
7696 (package-load-descriptor): Return the new package-desc.
7697 (package-mark-obsolete): Remove unused arg `package'.
7698 (package-unpack): Make it work for single files as well.
7699 Make it update package-alist.
7700 (package--make-autoloads-and-stuff): Rename from
7701 package--make-autoloads-and-compile. Don't compile any more.
7702 (package--compile): New function.
7703 (package-generate-description-file): New function, extracted from
7704 package-unpack-single.
7705 (package-unpack-single): Remove.
7706 (package--with-work-buffer): Add indentation and debugging info.
7707 (package-download-single): Remove.
7708 (package-install-from-archive): Rename from package-download-tar, make
7709 it take a pkg-desc, and make it work for single files as well.
7710 (package-download-transaction): Simplify.
7711 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7712 external tar program.
7713 (package-install-from-buffer): Remove `pkg-desc' argument.
7714 Use package-tar-file-info for tar-mode buffers.
7715 (package-install-file): Simplify accordingly.
7716 (package-archive-base): Change to take a pkg-desc.
7717 * tar-mode.el (tar--check-descriptor): New function, extracted from
7718 tar-get-descriptor.
7719 (tar-get-descriptor): Use it.
7720 (tar-get-file-descriptor): New function.
7721 (tar--extract): New function, extracted from tar-extract.
7722 (tar--extract): Use it.
7723 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7724 case the summary uses non-ascii. Adjust to new calling convention of
7725 package-tar-file-info.
7726
7727 2013-06-21 Leo Liu <sdl.web@gmail.com>
7728
7729 * comint.el (comint-redirect-results-list-from-process):
7730 Fix random delay. (Bug#14681)
7731
7732 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7733
7734 * profiler.el (profiler-format-number): Use log, not log10.
7735
7736 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7739
7740 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7743 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7744 yet available.
7745 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7746 (AUTOGENEL): ... here.
7747 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7748 (cl--defsubst-expand): Use it.
7749
7750 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7751
7752 * subr.el (log10): Move here from C code, and declare as obsolete.
7753 All uses of (log10 X) replaced with (log X 10).
7754
7755 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7758 Declare with `defvar-local'.
7759 (tabulated-list-use-header-line, tabulated-list-entries)
7760 (tabulated-list-padding, tabulated-list-printer)
7761 (tabulated-list-sort-key): Declare with `defvar-local'.
7762 (tabulated-list-init-header, tabulated-list-print-fake-header):
7763 Use `setq-local'.
7764
7765 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7766
7767 * arc-mode.el (archive-mode): Add `archive-write-file' to
7768 `write-contents-functions' also for remote files. (Bug#14652)
7769
7770 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7771
7772 * cus-edit.el (custom-commands): Fix typos.
7773 (custom-display): Fix tooltip text.
7774 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7775 Fix typos in docstrings.
7776 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7777 (custom-unlispify-menu-entry, custom-magic-value-create)
7778 (custom-add-see-also, custom-group-value-create): Use ?\s.
7779 (custom-guess-type, customize-apropos, editable-field)
7780 (custom-face-value-create): Use `string-match-p'.
7781 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7782
7783 * custom.el (custom-load-symbol): Use `string-match-p'.
7784
7785 * ansi-color.el: Convert to lexical binding.
7786 (ansi-colors): Fix URL.
7787 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7788 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7789 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7790
7791 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7792
7793 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7794
7795 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7796
7797 2013-06-19 Tom Tromey <tromey@redhat.com>
7798
7799 * net/eww.el (eww-top-url): Remove.
7800 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7801 (eww-render): Set new variables. Don't set eww-top-url.
7802 (eww-handle-link): Handle "prev", "home", and "contents".
7803 Downcase the rel text.
7804 (eww-top-url): Choose best top URL.
7805
7806 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7807
7808 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7809 relying in widget.el. Using widget.el leads to too many
7810 user interface inconsistencies.
7811 (eww-self-insert): Implement entering commands in text fields.
7812 (eww-process-text-input): New function to make text input field editing
7813 work.
7814 (eww-submit): Rewrite to use the new-style form methods.
7815 (eww-select-display): Display the correct selected item.
7816 (eww-change-select): Implement changing the select value.
7817 (eww-toggle-checkbox): Implement radio/checkboxes.
7818 (eww-update-field): Fix compilation error.
7819 (eww-tag-textarea): Implement <textarea>.
7820
7821 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7822 we don't shadow mode-specific bindings.
7823
7824 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7825 nothing to push.
7826
7827 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7828
7829 2013-06-19 Glenn Morris <rgm@gnu.org>
7830
7831 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7832
7833 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7834
7835 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7836 not needed.
7837
7838 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7839
7840 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7841
7842 * net/browse-url.el (browse-url-browser-function):
7843 `eww-browse-url' has the right calling signature, `eww' does not.
7844
7845 2013-06-19 Glenn Morris <rgm@gnu.org>
7846
7847 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7848 Only eval autoloaded macros.
7849 (byte-compile-autoload): Only give the macro warning for macros.
7850
7851 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7852 (ps-underlined-faces): Declare.
7853
7854 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7855 (speedbar-add-supported-extension): Declare.
7856
7857 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7858 Don't include a date stamp in the header of the generated file;
7859 it leads to needless differences between output files.
7860
7861 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7862
7863 * net/secrets.el (secrets-struct-secret-content-type):
7864 Replace check of introspection data by a test call of "CreateItem".
7865 Some servers do not offer introspection.
7866
7867 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * electric.el (electric-pair-mode): Improve interaction with
7870 electric-layout-mode.
7871 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7872 (electric-pair-syntax): Use text-mode-syntax-table in comments
7873 and strings.
7874 (electric-pair--insert): New function.
7875 (electric-pair-post-self-insert-function): Use it and
7876 electric--after-char-pos.
7877
7878 2013-06-19 Leo Liu <sdl.web@gmail.com>
7879
7880 * progmodes/octave.el (octave-help): Fix regexp.
7881
7882 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883
7884 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7885 (shr-table-horizontal-line): Allow nil as a value, and change the
7886 default.
7887 (shr-insert-table-ruler): Respect the nil value.
7888
7889 2013-06-18 Tom Tromey <tromey@barimba>
7890
7891 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7892 New defvars.
7893 (eww-open-file): New defun.
7894 (eww-render): Initialize new variables.
7895 (eww-display-html): Handle "link" and "a".
7896 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7897 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7898 (eww-back-url): Rename from eww-previous-url.
7899 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7900 New defuns.
7901
7902 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7903
7904 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7905 Distinguish ternary operator tokens from slash symbol and slash
7906 char literal.
7907
7908 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7909
7910 Convert symbol prettification into minor mode and global minor mode.
7911
7912 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7913 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7914 (prettify-symbols--keywords): Rename from
7915 `prog-prettify-symbols-alist' and make a local defvar.
7916 (prettify-symbols--compose-symbol): Rename from
7917 `prog--prettify-font-lock-compose-symbol'.
7918 (prettify-symbols--make-keywords): Rename from
7919 `prog-prettify-font-lock-symbols-keywords' and simplify.
7920 (prog-prettify-install): Remove.
7921 (prettify-symbols-mode): New minor mode, based on
7922 `prog-prettify-install'.
7923 (turn-on-prettify-symbols-mode): New function.
7924 (global-prettify-symbols-mode): New globalized minor mode.
7925
7926 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7927 * progmodes/cfengine.el (cfengine3-mode):
7928 * progmodes/perl-mode.el (perl-mode): Don't call
7929 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7930
7931 2013-06-18 Juri Linkov <juri@jurta.org>
7932
7933 * files-x.el (modify-file-local-variable-message): New function.
7934 (modify-file-local-variable)
7935 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7936 and call `modify-file-local-variable-message' when it's non-nil.
7937 (add-file-local-variable, delete-file-local-variable)
7938 (add-file-local-variable-prop-line)
7939 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7940 and use it. (Bug#9820)
7941
7942 2013-06-18 Juri Linkov <juri@jurta.org>
7943
7944 * emulation/vi.el (vi-shell-op):
7945 * emulation/vip.el (vip-execute-com, ex-command):
7946 * emulation/viper-cmd.el (viper-exec-bang):
7947 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7948 the call of `shell-command-on-region'. (Bug#14637)
7949
7950 * simple.el (shell-command-on-region): Doc fix.
7951
7952 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7953
7954 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7955 (bug#14633).
7956
7957 2013-06-18 Glenn Morris <rgm@gnu.org>
7958
7959 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7960
7961 * newcomment.el (comment-search-forward, comment-search-backward):
7962 Doc fix. (Bug#14376)
7963
7964 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7965
7966 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7967 (buffer-face-mode-invoke): Doc fix.
7968
7969 2013-06-18 Matthias Meulien <orontee@gmail.com>
7970
7971 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7972 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7973
7974 2013-06-18 Glenn Morris <rgm@gnu.org>
7975
7976 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7977 Replace obsolete function generic-make-keywords with its expansion.
7978
7979 * progmodes/python.el (ffap-alist): Declare.
7980
7981 * textmodes/reftex.el (bibtex-mode-map): Declare.
7982
7983 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7984
7985 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7986 (package-unpack, package-unpack-single): Return the pkg-dir.
7987 (package-download-transaction): Use it to update package-alist.
7988
7989 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7990
7991 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7992 possible choice.
7993
7994 2013-06-17 Juri Linkov <juri@jurta.org>
7995
7996 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7997
7998 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7999
8000 * emacs-lisp/package.el (package-load-descriptor):
8001 Remove `with-syntax-table' call, `read' doesn't need it.
8002 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8003
8004 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8005
8006 * startup.el (command-line): Expand package name returned by
8007 `package--description-file' (bug#14639).
8008
8009 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8010
8011 * emacs-lisp/package.el (package-load-descriptor): Do not call
8012 `emacs-lisp-mode', just use its syntax table.
8013
8014 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8017 `font-lock-extra-managed-props' if any prettifying keyword is added.
8018 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8019 (prog-mode): Use `setq-local'.
8020
8021 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * international/characters.el (standard-case-table): Set syntax of ?»
8024 and ?« to punctuation.
8025
8026 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8027
8028 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8029 Save relevant match data before calling `syntax-ppss' (bug#14595).
8030
8031 2013-06-15 Juri Linkov <juri@jurta.org>
8032
8033 * files-x.el (modify-file-local-variable-prop-line): Add local
8034 variables to the end of the existing comment on the first line.
8035 Use `file-auto-mode-skip' to skip interpreter magic line,
8036 and also skip XML declaration.
8037
8038 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * startup.el (package--builtin-versions): New var.
8041 (package-subdirectory-regexp): Remove.
8042 (package--description-file): Hard code its value instead.
8043
8044 * emacs-lisp/package.el: Don't activate packages older than builtin.
8045 (package-obsolete-list): Rename from package-obsolete-alist, and make
8046 it into a simple list of package-desc.
8047 (package-strip-version): Remove.
8048 (package-built-in-p): Use package--builtin-versions.
8049 (package-mark-obsolete): Simplify.
8050 (package-process-define-package): Mark it obsolete if older than the
8051 builtin version.
8052 (package-handle-response): Use line-end-position.
8053 (package-read-archive-contents, package--download-one-archive):
8054 Simplify.
8055 (package--add-to-archive-contents): Skip if older than the builtin or
8056 installed version.
8057 (package-menu-describe-package): Fix last change.
8058 (package-list-unversioned): New var.
8059 (package-menu--generate): Use it.
8060
8061 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8062 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8063 (autoload-builtin-package-versions): New variable.
8064 (autoload-generate-file-autoloads): Use them.
8065 Remove the list of autoloaded functions/macros from the
8066 (autoload...) comments.
8067
8068 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8069
8070 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8071
8072 * simple.el (line-move-partial): Don't jump to the next screen
8073 line as soon as it becomes visible. Instead, continue enlarging
8074 the vscroll until the portion of a tall screen line that's left on
8075 display is about the height of the frame's default font.
8076 (Bug#14567)
8077
8078 2013-06-15 Glenn Morris <rgm@gnu.org>
8079
8080 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8081 compilation-error-regexp-alist void, or local while let-bound.
8082
8083 * progmodes/make-mode.el (makefile-mode-syntax-table):
8084 Treat "=" as punctuation. (Bug#14614)
8085
8086 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * help-fns.el (describe-variable):
8089 Add extra line for permanent-local variables.
8090
8091 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8092
8093 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8094 Add export, import, library. (Bug#9164)
8095 (library): Set indent function.
8096
8097 2013-06-14 Glenn Morris <rgm@gnu.org>
8098
8099 * term/xterm.el (xterm--query):
8100 Stop after first matching handler. (Bug#14615)
8101
8102 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8103
8104 Add support for dired in saveplace.
8105 * dired.el (dired-initial-position-hook): New variable.
8106 (dired-initial-position): Call hook to place cursor position.
8107 * saveplace.el (save-place-to-alist): Add dired position.
8108 (save-place-dired-hook): New function.
8109
8110 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8113 through a symbol rather than letrec.
8114
8115 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8116 (package-desc): Add `dir' field.
8117 (package-desc-full-name): New function.
8118 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8119 (package-maybe-load-descriptor): Remove.
8120 (package-load-all-descriptors): Just call package-load-descriptor.
8121 (package--disabled-p): New function.
8122 (package-desc-vers, package-desc-doc): Remove aliases.
8123 (package--dir): Remove function.
8124 (package-activate): Check if a package is disabled.
8125 (package-process-define-package): New function, extracted from
8126 define-package.
8127 (define-package): Turn into a place holder.
8128 (package-unpack-single, package-tar-file-info):
8129 Use package--description-file.
8130 (package-compute-transaction): Use package--disabled-p.
8131 (package-download-transaction): Don't call
8132 package-maybe-load-descriptor since they're all loaded anyway.
8133 (package-install): Change argument to be a pkg-desc.
8134 (package-delete): Use a single pkg-desc argument.
8135 (describe-package-1): Use package-desc-dir instead of package--dir.
8136 Use package-desc property instead of package-symbol.
8137 (package-install-button-action): Adjust accordingly.
8138 (package--push): Rewrite.
8139 (package-menu--print-info): Adjust accordingly. Change the ID format
8140 to be a pkg-desc.
8141 (package-menu-describe-package, package-menu-get-status)
8142 (package-menu--find-upgrades, package-menu-mark-upgrades)
8143 (package-menu-execute, package-menu--name-predicate):
8144 Adjust accordingly.
8145 * startup.el (package--description-file): New function.
8146 (command-line): Use it.
8147 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8148 Use package-desc-version.
8149
8150 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8151 (byte-compile-preprocess): Use it.
8152 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8153 can't quite recognize.
8154 (byte-compile-add-to-list): Remove.
8155 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8156 (cconv-closure-convert): Add assertion.
8157
8158 * emacs-lisp/map-ynp.el: Use lexical-binding.
8159 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8160 Factor out some repeated code.
8161
8162 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * subr.el (with-eval-after-load): New macro.
8165 (eval-after-load): Allow form to be a function.
8166 take advantage of lexical-binding.
8167 (do-after-load-evaluation): Use dolist and adjust to new format.
8168 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8169
8170 2013-06-13 Juri Linkov <juri@jurta.org>
8171
8172 * replace.el (perform-replace): Display "symbol " and other search
8173 modes from `isearch-message-prefix' in the *Help* buffer.
8174
8175 * isearch.el (isearch-query-replace): Add " symbol" and other
8176 possible search modes from `isearch-message-prefix' to the prompt.
8177 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8178 when reading a regexp to collect.
8179
8180 2013-06-13 Juri Linkov <juri@jurta.org>
8181
8182 * isearch.el (word-search-regexp): Match whitespace if the search
8183 string begins or ends in whitespace. The LAX arg is applied to
8184 both ends of the search string. Use `regexp-quote' and explicit
8185 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8186 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8187 boundaries are replaced with symbol boundaries, and characters
8188 between symbols match non-word non-symbol syntax. (Bug#14602)
8189
8190 2013-06-13 Juri Linkov <juri@jurta.org>
8191
8192 * isearch.el (isearch-del-char): Don't exceed the length of
8193 `isearch-string' by the prefix arg. (Bug#14563)
8194
8195 2013-06-13 Juri Linkov <juri@jurta.org>
8196
8197 * isearch.el (isearch-yank-word, isearch-yank-line)
8198 (isearch-char-by-name, isearch-quote-char)
8199 (isearch-printing-char, isearch-process-search-char):
8200 Add optional count prefix arg. (Bug#14563)
8201
8202 * international/isearch-x.el
8203 (isearch-process-search-multibyte-characters):
8204 Add optional count prefix arg.
8205
8206 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8207
8208 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8209 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8210 lexical-binding.
8211
8212 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8213
8214 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8215
8216 2013-06-13 Glenn Morris <rgm@gnu.org>
8217
8218 * startup.el (tty-handle-args):
8219 Don't just discard "--" and anything after. (Bug#14608)
8220
8221 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8222
8223 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8224
8225 Implement changes in Secret Service API. Make it backward compatible.
8226 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8227 (secrets-create-item): Use it. Prefix properties with interface.
8228
8229 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8230
8231 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8232 (term-emulate-terminal): Respect term-suppress-hard-newline.
8233
8234 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8235
8236 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8237 Only remove a `thumb-file' overlay. (Bug#14548)
8238
8239 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8240
8241 * mail/reporter.el (reporter-submit-bug-report):
8242 Handle missing package-name. (Bug#14600)
8243
8244 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8245
8246 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8247 (reftex-citation-prompt, reftex-default-bibliography)
8248 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8249 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8250 (reftex-bib-sort-author, reftex-bib-sort-year)
8251 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8252 (reftex-extract-bib-entries-from-thebibliography)
8253 (reftex-get-bibkey-default, reftex-get-bib-names)
8254 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8255 (reftex-format-bib-entry, reftex-parse-bibitem)
8256 (reftex-format-bibitem, reftex-do-citation)
8257 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8258 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8259 (reftex-insert-bib-matches, reftex-format-citation)
8260 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8261 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8262 existing comments into docstrings.
8263
8264 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8265
8266 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8267
8268 2013-06-12 Andreas Schwab <schwab@suse.de>
8269
8270 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8271 for auto-save files.
8272
8273 2013-06-12 Glenn Morris <rgm@gnu.org>
8274
8275 * ido.el (ido-delete-ignored-files): Remove.
8276 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8277 Go back to calling ido-ignore-item-p directly.
8278
8279 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8280
8281 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8282
8283 * ido.el (ido-delete-ignored-files): New function,
8284 split from ido-make-file-list-1.
8285 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8286 (ido-make-file-list-1): Use ido-delete-ignored-files.
8287
8288 2013-06-12 Leo Liu <sdl.web@gmail.com>
8289
8290 * progmodes/octave.el (inferior-octave-startup)
8291 (inferior-octave-completion-table)
8292 (inferior-octave-track-window-width-change)
8293 (octave-eldoc-function-signatures, octave-help)
8294 (octave-find-definition): Use single quoted strings.
8295 (inferior-octave-startup-args): Change default value.
8296 (inferior-octave-startup): Do not hard code "-i" and
8297 "--no-line-editing".
8298 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8299 (inferior-octave-directory-tracker): Use it.
8300 (octave-goto-function-definition): Robustify.
8301 (octave-help): Support highlighting operators in 'See also'.
8302 (octave-find-definition): Find subfunctions only in Octave mode.
8303
8304 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8305
8306 * help-fns.el (help-fns--compiler-macro): If the handler function is
8307 named, then put a link to it.
8308 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8309 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8310 (cl-typep): Use it.
8311 (cl-eval-when): Simplify debug spec.
8312 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8313 compiler-macro function instead of setting `compiler-macro-file'.
8314
8315 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8316
8317 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8318 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8319
8320 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8321 Daniel Hackney <dan@haxney.org>
8322
8323 First part of Daniel Hackney's patch to package.el.
8324 * emacs-lisp/package.el: Use defstruct.
8325 (package-desc): New, main struct.
8326 (package--bi-desc, package--ac-desc): New structs, used to describe the
8327 format in external files.
8328 (package-desc-vers): Replace with package-desc-version accessor.
8329 (package-desc-doc): Replace with package-desc-summary accessor.
8330 (package-activate-1): Remove `package' arg since the pkg-vec now
8331 includes the name.
8332 (define-package): Use package-desc-from-define.
8333 (package-unpack-single): Change file-name arg to be a symbol.
8334 (package--add-to-archive-contents): Use package-desc-create and new
8335 accessor functions to package--ac-desc.
8336 (package-buffer-info, package-tar-file-info): Return a package-desc.
8337 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8338 arg to be a package-desc.
8339 (package-install-file): Adjust accordingly. Use \' to match EOS.
8340 (package--from-builtin): New function.
8341 (describe-package-1, package-menu--generate): Use it.
8342 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8343 (package-generate-autoloads): Idem and return the name of the file.
8344 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8345 Change pkg-info arg to be a package-desc.
8346 Use package-make-ac-desc.
8347 (package-upload-file): Use \' to match EOS.
8348 * finder.el (finder-compile-keywords): Use package-make-builtin.
8349
8350 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * vc/vc.el (vc-deduce-fileset): Change error message.
8353 (vc-read-backend): New function.
8354 (vc-next-action): Use it.
8355
8356 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8357
8358 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8359 (prolog-font-lock-keywords): Use regexp-opt instead.
8360 Don't manually highlight strings.
8361 (prolog-mode-variables): Simplify comment-start-skip.
8362 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8363
8364 * emacs-lisp/generic.el (generic--normalise-comments)
8365 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8366 (generic-mode-set-comments): Use them.
8367 (generic-bracket-support): Use setq-local.
8368 (generic-make-keywords-list): Declare obsolete.
8369
8370 2013-06-11 Glenn Morris <rgm@gnu.org>
8371
8372 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8373 Prettify after setting font-lock-defaults. (Bug#14574)
8374
8375 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * replace.el (query-replace, occur-read-regexp-defaults-function)
8378 (replace-search):
8379 * subr.el (declare-function, number-sequence, local-set-key)
8380 (substitute-key-definition, locate-user-emacs-file)
8381 (with-silent-modifications, split-string, eval-after-load):
8382 Fix typos, remove unneeded backslashes and reflow some docstrings.
8383
8384 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8387 default for Elisp files.
8388
8389 2013-06-11 Glenn Morris <rgm@gnu.org>
8390
8391 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8392 although define-derived-mode was doing this anyway. (Bug#14583)
8393
8394 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8395
8396 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8397 Fix make-variable-buffer-local call to refer to the correct variable.
8398
8399 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8400
8401 * eshell/em-term.el (eshell-visual-commands)
8402 (eshell-visual-subcommands, eshell-visual-options):
8403 Add summary line to docstrings. Add cross-references.
8404
8405 2013-06-10 Glenn Morris <rgm@gnu.org>
8406
8407 * epa.el (epa-read-file-name): New function. (Bug#14510)
8408 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8409
8410 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8411
8412 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8413 output redirection to be ignored with visual commands.
8414
8415 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8416
8417 * eshell/em-term.el (eshell-visual-command-p): New function.
8418 (eshell-term-initialize): Move long lambda to separate function
8419 eshell-visual-command-p.
8420 * eshell/em-dirs.el (eshell-dirs-initialise):
8421 * eshell/em-script.el (eshell-script-initialize):
8422 Add missing #' to lambda.
8423
8424 2013-06-08 Leo Liu <sdl.web@gmail.com>
8425
8426 * progmodes/octave.el (octave-add-log-current-defun): New function.
8427 (octave-mode): Set add-log-current-defun-function.
8428 (octave-goto-function-definition): Do not move point if not found.
8429 (octave-find-definition): Enhance to try subfunctions first.
8430
8431 2013-06-08 Glenn Morris <rgm@gnu.org>
8432
8433 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8434 (byte-compile-backward-char, byte-compile-backward-word):
8435 Improve previous change, to handle non-explicit nil.
8436
8437 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8440 (smie--opener/closer-at-point): New function.
8441 (smie--matching-block-data): Use it. Don't match from right after an
8442 opener or right before a closer. Obey smie-blink-matching-inners.
8443 Don't signal a mismatch for repeated inners like "switch..case..case".
8444
8445 2013-06-07 Leo Liu <sdl.web@gmail.com>
8446
8447 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8448 to t. (Bug#14303)
8449 (octave-function-header-regexp): Fix. (Bug#14570)
8450 (octave-help-mode-finish-hook, octave-help-mode-finish):
8451 Remove. Just use temp-buffer-show-hook.
8452
8453 * newcomment.el (comment-search-backward): Revert last change.
8454 (Bug#14434)
8455
8456 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8457
8458 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8459
8460 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8461 through xargs, to avoid failure due to MS-Windows limitations on
8462 command-line length.
8463
8464 2013-06-06 Glenn Morris <rgm@gnu.org>
8465
8466 * font-lock.el (lisp-font-lock-keywords-2):
8467 Treat user-error like error.
8468
8469 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8470 (byte-compile-backward-char, byte-compile-backward-word):
8471 Handle explicit nil arguments. (Bug#14565)
8472
8473 2013-06-05 Alan Mackenzie <acm@muc.de>
8474
8475 * isearch.el (isearch-allow-prefix): New user option.
8476 (isearch-other-meta-char): Don't exit isearch when a prefix
8477 argument is typed whilst `isearch-allow-prefix' is non-nil.
8478 (Bug#9706)
8479
8480 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * autorevert.el (auto-revert-notify-handler): Use memq.
8483 Hide assertion failure.
8484
8485 * skeleton.el: Use cl-lib.
8486 (skeleton-further-elements): Use defvar-local.
8487 (skeleton-insert): Use cl-progv.
8488
8489 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8490
8491 * progmodes/prog-mode.el (prog-prettify-symbols)
8492 (prog-prettify-install): Update docstrings.
8493
8494 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * simple.el: Move all the prog-mode code to prog-mode.el.
8497 * progmodes/prog-mode.el: New file.
8498 * loadup.el: Add prog-mode.el.
8499
8500 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8501
8502 * simple.el (prog-prettify-symbols): Add version.
8503 (prog-prettify-install): Add convenience function to prettify symbols.
8504
8505 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8506 (perl--augmented-font-lock-keywords-1)
8507 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8508 variables and use it.
8509
8510 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8511 (cfengine3-mode): Remove unneeded variable and use it.
8512
8513 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8514 (lisp--augmented-font-lock-keywords-1)
8515 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8516 Remove unneeded variables and use it.
8517
8518 2013-06-05 João Távora <joaotavora@gmail.com>
8519
8520 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8521 to point when opening the connection. (Bug#14380)
8522
8523 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * subr.el (load-history-regexp, load-history-filename-element)
8526 (eval-after-load, after-load-functions, do-after-load-evaluation)
8527 (eval-next-after-load, display-delayed-warnings)
8528 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8529 definition of save-match-data.
8530 (overriding-local-map): Remove accidental obsolescence declaration.
8531
8532 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8533
8534 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8535
8536 Generalize symbol prettify support to prog-mode and implement it
8537 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8538 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8539 (prog--prettify-font-lock-compose-symbol)
8540 (prog-prettify-font-lock-symbols-keywords): New variables and
8541 functions to support symbol prettification.
8542 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8543 (lisp--augmented-font-lock-keywords-1)
8544 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8545 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8546 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8547 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8548 Implement prettify of -> => :: strings.
8549 * progmodes/perl-mode.el (perl-prettify-symbols)
8550 (perl--font-lock-compose-symbol)
8551 (perl--font-lock-symbols-keywords): Move to prog-mode.
8552 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8553 (perl-font-lock-keywords-1)
8554 (perl-font-lock-keywords-2): Remove explicit prettify support.
8555 (perl--augmented-font-lock-keywords)
8556 (perl--augmented-font-lock-keywords-1)
8557 (perl--augmented-font-lock-keywords-2, perl-mode):
8558 Implement prettify support.
8559
8560 2013-06-05 Leo Liu <sdl.web@gmail.com>
8561
8562 Re-implement smie matching block highlight using
8563 show-paren-data-function. (Bug#14395)
8564 * emacs-lisp/smie.el (smie-matching-block-highlight)
8565 (smie--highlight-matching-block-overlay)
8566 (smie--highlight-matching-block-lastpos)
8567 (smie-highlight-matching-block)
8568 (smie-highlight-matching-block-mode): Remove.
8569 (smie--matching-block-data-cache): New variable.
8570 (smie--matching-block-data): New function.
8571 (smie-setup): Use smie--matching-block-data for
8572 show-paren-data-function.
8573
8574 * progmodes/octave.el (octave-mode-menu): Fix.
8575 (octave-find-definition): Skip garbage lines.
8576
8577 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 Fix compilation error with simultaneous dynamic+lexical scoping.
8580 Add warning when a defvar appears after the first let-binding.
8581 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8582 (byte-compile-close-variables): Initialize it.
8583 (byte-compile--declare-var): New function.
8584 (byte-compile-file-form-defvar)
8585 (byte-compile-file-form-define-abbrev-table)
8586 (byte-compile-file-form-custom-declare-variable): Use it.
8587 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8588 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8589 (byte-compile-bind): Handle dynamic bindings that shadow
8590 lexical bindings.
8591 (byte-compile-unbind): Make arg non-optional.
8592 (byte-compile-let): Simplify.
8593 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8594 (cconv--analyse-function, cconv-analyse-form): Populate it.
8595 Protect byte-compile-bound-variables to limit the scope of defvars.
8596 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8597 Remove unneeded rule for `declare'.
8598
8599 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8600 so as to avoid depending on cl-adjoin at run-time.
8601 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8602
8603 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8604 (macroexp--warn-and-return): Use it.
8605
8606 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * lisp/subr.el: Convert to lexical binding.
8609 (overriding-local-map): Make obsolete.
8610 (add-to-list): Doc fix. Add compiler macro.
8611 (read-key): Swap values of local maps.
8612
8613 2013-06-05 Leo Liu <sdl.web@gmail.com>
8614
8615 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8616
8617 2013-06-04 Leo Liu <sdl.web@gmail.com>
8618
8619 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8620 (compilation-auto-jump): Suppress the "Mark set" message to give
8621 way to exit message.
8622
8623 2013-06-04 Alan Mackenzie <acm@muc.de>
8624
8625 Remove faulty optimisation from indentation calculation.
8626 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8627 search limit based on 2000 characters back from indent-point.
8628
8629 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8630
8631 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8632
8633 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * emacs-lisp/lisp.el: Use lexical-binding.
8636 (lisp--local-variables-1, lisp--local-variables): New functions.
8637 (lisp--local-variables-completion-table): New var.
8638 (lisp-completion-at-point): Use it complete let-bound vars.
8639
8640 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8641 eagerly (bug#14422).
8642
8643 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8644
8645 * autorevert.el (auto-revert-notify-enabled)
8646 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8647 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8648 (auto-revert-notify-handler): Handle also gfilenotify.
8649
8650 * subr.el (file-notify-handle-event): New defun. Replacing ...
8651 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8652 Remove.
8653
8654 2013-06-03 Juri Linkov <juri@jurta.org>
8655
8656 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8657 `M-s h .'. (Bug#14427)
8658
8659 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8660 command `hi-lock-face-symbol-at-point'.
8661 (hi-lock-face-symbol-at-point): New command.
8662 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8663 (hi-lock-menu): Add `highlight-symbol-at-point'.
8664 (hi-lock-mode): Doc fix.
8665
8666 * isearch.el (isearch-forward-symbol-at-point): New command.
8667 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8668 (isearch-highlight-regexp): Add a regexp which matches
8669 words/symbols for word/symbol mode.
8670
8671 * subr.el (find-tag-default-bounds): New function with the body
8672 mostly moved from `find-tag-default'.
8673 (find-tag-default): Move most code to `find-tag-default-bounds',
8674 call it and apply `buffer-substring-no-properties' afterwards.
8675
8676 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8677
8678 * eshell/em-term.el (eshell-term-initialize):
8679 Use `cl-intersection' rather than `intersection'.
8680
8681 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8682
8683 * vc/log-view.el: Doc fix.
8684 (log-view-mode-map): Copy keymap from `special-mode-map'.
8685
8686 2013-06-02 Eric Ludlam <zappo@gnu.org>
8687
8688 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8689 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8690 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8691 (eieio-unbound, eieio-default-superclass)
8692 (eieio--define-field-accessors, method-static, method-before)
8693 (method-primary, method-after, method-num-lists)
8694 (method-generic-before, method-generic-primary)
8695 (method-generic-after, method-num-slots)
8696 (eieio-specialized-key-to-generic-key)
8697 (eieio--check-type, class-v, class-p)
8698 (eieio-class-name, define-obsolete-function-alias)
8699 (eieio-class-parents-fast, eieio-class-children-fast)
8700 (same-class-fast-p, class-constructor, generic-p)
8701 (generic-primary-only-p, generic-primary-only-one-p)
8702 (class-option-assoc, class-option, eieio-object-p)
8703 (class-abstract-p, class-method-invocation-order)
8704 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8705 (eieio-class-un-autoload, eieio-defclass)
8706 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8707 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8708 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8709 (eieio-defgeneric-reset-generic-form)
8710 (eieio-defgeneric-form-primary-only)
8711 (eieio-defgeneric-reset-generic-form-primary-only)
8712 (eieio-defgeneric-form-primary-only-one)
8713 (eieio-defgeneric-reset-generic-form-primary-only-one)
8714 (eieio-unbind-method-implementations)
8715 (eieio--defmethod, eieio--typep)
8716 (eieio-perform-slot-validation, eieio-validate-slot-value)
8717 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8718 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8719 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8720 (eieio-slot-name-index, eieio-class-slot-name-index)
8721 (eieio-set-defaults, eieio-initarg-to-attribute)
8722 (eieio-attribute-to-initarg, eieio-c3-candidate)
8723 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8724 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8725 (eieio-class-precedence-list, eieio-generic-call-methodname)
8726 (eieio-generic-call-arglst, eieio-generic-call-key)
8727 (eieio-generic-call-next-method-list)
8728 (eieio-pre-method-execution-functions, eieio-generic-call)
8729 (eieio-generic-call-primary-only, eieiomt-method-list)
8730 (eieiomt-optimizing-obarray, eieiomt-install)
8731 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8732 (eieio-generic-form, eieio-defmethod, make-obsolete)
8733 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8734 (defclass): Remove `eval-and-compile' from macro.
8735 (call-next-method, shared-initialize): Instead of using
8736 `scoped-class' variable, use new eieio--scoped-class, and
8737 eieio--with-scoped-class.
8738 (initialize-instance): Rename local variable 'scoped-class' to
8739 'this-class' to remove ambiguitity from old global.
8740
8741 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8742 eieio.el.
8743 (eieio--scoped-class-stack): New variable.
8744 (eieio--scoped-class): New fcn.
8745 (eieio--with-scoped-class): New scoping macro.
8746 (eieio-defclass): Use pushnew instead of add-to-list.
8747 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8748 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8749 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8750 `scoped-class' variable, use new eieio--scoped-class, and
8751 eieio--with-scoped-class.
8752
8753 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8754
8755 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8756
8757 * eshell/esh-ext.el (eshell-external-command): Pass args to
8758 `eshell-find-interpreter'.
8759 (eshell-find-interpreter): Add new second parameter ARGS.
8760
8761 * eshell/em-script.el (eshell-script-initialize): Add second arg
8762 to the function added as MATCH to `eshell-interpreter-alist'.
8763
8764 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8765 the function added as MATCH to `eshell-interpreter-alist'.
8766
8767 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8768 (eshell-visual-options): New defcustom.
8769 (eshell-escape-control-x): Adapt docstring.
8770 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8771 `eshell-visual-options' in addition to `eshell-visual-commands'.
8772 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8773
8774 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8775
8776 * progmodes/python.el (python-indent-block-enders): Add break,
8777 continue and raise keywords.
8778
8779 2013-06-01 Glenn Morris <rgm@gnu.org>
8780
8781 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8782
8783 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8784 * progmodes/cc-cmds.el (delete-forward-p):
8785 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8786 * progmodes/cc-engine.el (buffer-syntactic-context):
8787 * progmodes/cc-fonts.el (face-property-instance):
8788 * progmodes/cc-mode.el (set-keymap-parents):
8789 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8790 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8791 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8792 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8793 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8794
8795 * progmodes/cc-vars.el (other): Emacs has this widget since
8796 at least 21.1, so don't (re)define it.
8797
8798 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8799 Replace the obsolete alias pcomplete-arg-quote-list.
8800
8801 2013-06-01 Leo Liu <sdl.web@gmail.com>
8802
8803 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8804 punctuation syntax.
8805 (inferior-octave-minimal-columns)
8806 (inferior-octave-last-column-width): New variables.
8807 (inferior-octave-track-window-width-change): New function.
8808 (inferior-octave-mode): Adjust column width so that Octave output,
8809 for example from 'ls', can fit into the window nicely.
8810
8811 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8812
8813 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8814 Highlight expansions inside regexp literals.
8815
8816 2013-05-31 Glenn Morris <rgm@gnu.org>
8817
8818 * obsolete/sym-comp.el (symbol-complete):
8819 Replace obsolete completion-annotate-function.
8820
8821 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8822
8823 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8824
8825 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8826 New function, checks if point is inside a literal that allows
8827 expression expansion.
8828 (ruby-syntax-propertize-expansion): Use it.
8829 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8830 around the body.
8831
8832 2013-05-30 Juri Linkov <juri@jurta.org>
8833
8834 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8835 to "\M-si".
8836 (isearch-invisible): New variable.
8837 (isearch-forward): Doc fix.
8838 (isearch-mode): Set `isearch-invisible'
8839 to the value of `search-invisible'.
8840 (isearch-toggle-case-fold): Doc fix.
8841 (isearch-toggle-invisible): New command.
8842 (isearch-query-replace): Let-bind `search-invisible'
8843 to the value of `isearch-invisible'.
8844 (isearch-search): Use `isearch-invisible' instead of
8845 `search-invisible'. Let-bind `search-invisible'
8846 to the value of `isearch-invisible'. (Bug#11378)
8847
8848 2013-05-30 Juri Linkov <juri@jurta.org>
8849
8850 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8851 call when `query-flag' is nil and `search-invisible' is non-nil.
8852 (Bug#11746)
8853
8854 2013-05-30 Glenn Morris <rgm@gnu.org>
8855
8856 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8857
8858 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8859 (cc-require): Suppress spurious "noruntime" warnings.
8860 (cc-require-when-compile): Use fboundp, for sake of compiler.
8861
8862 * progmodes/cc-mode.el: Move load of cc-vars before that of
8863 cc-langs (which in turn loads cc-vars), to quieten compiler.
8864
8865 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * paren.el: Simplify the code.
8868 (show-paren-mode): Always start the timer.
8869 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8870 (show-paren--overlay, show-paren--overlay-1): Rename from
8871 show-paren-overlay and show-paren-overlay-1, and initialize to an
8872 overlay rather than to nil.
8873 (show-paren-function): Misc cleanup and simplifications.
8874
8875 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * paren.el (show-paren-data-function): New hook.
8878 (show-paren--default): New function, extracted from show-paren-function.
8879 (show-paren-function): Use show-paren-data-function.
8880
8881 2013-05-30 Glenn Morris <rgm@gnu.org>
8882
8883 * ielm.el (ielm-map, ielm-complete-symbol):
8884 Use completion-at-point rather than obsolete functions.
8885 (inferior-emacs-lisp-mode): Doc fix.
8886 Set completion-at-point-functions, rather than
8887 comint-dynamic-complete-functions.
8888
8889 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8890 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8891 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8892
8893 * image.el (image-animated-p): Tweak definition.
8894
8895 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8896 (rlogin-process-connection-type): Tweak default. Add set-after.
8897 (rlogin-host): Doc fix.
8898 (rlogin): Tweak prompt.
8899 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8900
8901 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8902 * progmodes/tcl.el (inferior-tcl-mode-map):
8903 Use completion-at-point rather than obsolete alias.
8904
8905 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8906
8907 * minibuffer.el (read-file-name-completion-ignore-case):
8908 Move before completion--in-region, for eager macro expansion.
8909
8910 2013-05-29 Juri Linkov <juri@jurta.org>
8911
8912 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8913 for total count of matching lines. Add `global-matches' for total
8914 count of matches. Rename `matches' to `lines' for count of
8915 matching lines. Add `matches' for count of matches.
8916 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8917 to `prev-line' for line number of prev match endpt.
8918 Increment `matches' for every match. Print the number of
8919 matching lines in the header.
8920 (occur-context-lines): Rename `lines' to `curr-line'.
8921 Rename `prev-lines' to `prev-line'. (Bug#14017)
8922
8923 2013-05-29 Juri Linkov <juri@jurta.org>
8924
8925 * replace.el (perform-replace): Add `skip-read-only-count',
8926 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8927 Increment them for corresponding conditions and report the number
8928 of skipped occurrences in the final message. (Bug#11746)
8929 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8930 (replace-string, replace-regexp): Doc fix.
8931
8932 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8935
8936 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8937 prog-mode-map (bug#14504).
8938
8939 2013-05-29 Leo Liu <sdl.web@gmail.com>
8940
8941 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8942 (octave-help): Small simplification.
8943
8944 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8945 off the highlight first.
8946
8947 2013-05-29 Glenn Morris <rgm@gnu.org>
8948
8949 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8950 Handle idlwave-last-system-routine-info-cons-cell being nil.
8951
8952 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8953 (idlwave-write-paths): Simplify via with-temp-buffer.
8954
8955 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8956 * emulation/cua-rect.el: Also load cua-base at run time.
8957
8958 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8959 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8960 (cperl-imenu-on-info): Require imenu.
8961
8962 2013-05-28 Alan Mackenzie <acm@muc.de>
8963
8964 Handle "capitalised keywords" correctly.
8965 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8966
8967 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8968
8969 * eshell/em-unix.el: Add -r option to cp.
8970
8971 2013-05-28 Glenn Morris <rgm@gnu.org>
8972
8973 * vc/vc-arch.el (vc-exec-after): Declare.
8974 (vc-switches): Autoload.
8975 * vc/vc-bzr.el: No need to require vc when compiling.
8976 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8977 (vc-resynch-buffer, vc-dir-refresh): Declare.
8978 (vc-setup-buffer, vc-switches): Autoload.
8979 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8980 (vc-resynch-buffer): Declare.
8981 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8982 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8983 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8984 (grep-read-regexp, grep-read-files, grep-expand-template)
8985 (vc-dir-refresh): Declare.
8986 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8987 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8988 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8989 * vc/vc-mtn.el (vc-exec-after): Declare.
8990 (vc-switches): Autoload.
8991 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8992 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8993 (vc-file-tree-walk): Declare.
8994 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8995 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8996 (vc-tag-precondition, vc-rename-master): Autoload.
8997 * vc/vc-svn.el (vc-exec-after): Declare.
8998 (vc-switches, vc-setup-buffer): Autoload.
8999 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9000 Autoload.
9001 (vc-resynch-buffer): Declare.
9002
9003 * obsolete/fast-lock.el (byte-compile-warnings):
9004 Don't warn about obsolete features in this obsolete file.
9005
9006 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9007 Move definition before use.
9008
9009 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9010 (dun-unix-verbs): Remove dun-zippy.
9011 (dun-zippy): Remove function.
9012
9013 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9014
9015 2013-05-27 Juri Linkov <juri@jurta.org>
9016
9017 * replace.el (replace-search): New function with code moved out
9018 from `perform-replace'.
9019 (replace-highlight, replace-dehighlight): Move function definitions
9020 up closer to `replace-search'. (Bug#11746)
9021
9022 2013-05-27 Juri Linkov <juri@jurta.org>
9023
9024 * replace.el (perform-replace): Ignore invisible matches.
9025 In addition to checking `query-replace-skip-read-only', also
9026 filter out matches by calling `run-hook-with-args-until-failure'
9027 on `isearch-filter-predicates', and also check `search-invisible'
9028 for t or call `isearch-range-invisible'.
9029 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9030
9031 2013-05-27 Juri Linkov <juri@jurta.org>
9032
9033 * isearch.el (isearch-filter-predicates): Rename from
9034 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9035 (isearch-message-prefix): Display text from the property
9036 `isearch-message-prefix' of the currently active filters.
9037 (isearch-search): Don't compare `isearch-filter-predicate' with
9038 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9039 on `isearch-filter-predicates'. Also check `search-invisible' for t
9040 or call `isearch-range-invisible'.
9041 (isearch-filter-visible): Make obsolete.
9042 (isearch-lazy-highlight-search):
9043 Call `run-hook-with-args-until-failure' on
9044 `isearch-filter-predicates' and use `isearch-range-invisible'.
9045
9046 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9047 `isearch-filter-predicates' instead of `funcall'ing
9048 `isearch-filter-predicate'.
9049 (Info-mode): Set `Info-isearch-filter' to
9050 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9051
9052 * dired-aux.el (dired-isearch-filter-predicate-orig):
9053 Remove variable.
9054 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9055 (dired-isearch-filenames-end): Add and remove
9056 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9057 instead of changing the value of `isearch-filter-predicate'.
9058 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9059 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9060 Put property `isearch-message-prefix' to "filename " on
9061 `dired-isearch-filter-filenames'.
9062
9063 * wdired.el (wdired-change-to-wdired-mode):
9064 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9065 locally instead of changing `isearch-filter-predicate'.
9066 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9067
9068 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9069
9070 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9071 return the commit hash (Bug#14459). Also set the
9072 `vc-git-detached' property.
9073 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9074 (vc-git-mode-line-string): Use the same help-echo format whether
9075 in detached mode or not, because we know the actual revision now.
9076 When in detached mode, shorten the revision to 7 chars.
9077
9078 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * emacs-lisp/easy-mmode.el (define-minor-mode):
9081 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9082 mode hook and provide a docstring.
9083
9084 2013-05-27 Alan Mackenzie <acm@muc.de>
9085
9086 Remove spurious syntax-table text properties inserted by C-y.
9087 * progmodes/cc-mode.el (c-after-change): Also clear hard
9088 syntax-table property with value nil.
9089
9090 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9091
9092 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9093 when reading the events; the buffer layout shall not be changed.
9094
9095 2013-05-27 Leo Liu <sdl.web@gmail.com>
9096
9097 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9098 New variable.
9099 (inferior-octave-directory-tracker): Automatically re-sync
9100 default-directory.
9101 (octave-help): Improve handling of 'See also'.
9102
9103 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * doc-view.el: Minor naming convention tweaks.
9106 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9107
9108 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9109 even if there's no `display' property yet (bug#14435).
9110
9111 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9112
9113 * subr.el (unmsys--file-name): Rename from reveal-filename.
9114
9115 * Makefile.in (custom-deps, finder-data, autoloads)
9116 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9117 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9118 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9119
9120 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9123 error-completion on the first 2 args of condition-case (bug#14446).
9124 Don't burp at EOB.
9125
9126 2013-05-25 Leo Liu <sdl.web@gmail.com>
9127
9128 * comint.el (comint-previous-matching-input): Do not flood the
9129 *Messages* buffer with trivial messages.
9130
9131 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * progmodes/flymake.el (flymake-nop): Don't return a string.
9134 (flymake-set-at): Fix typo.
9135
9136 * simple.el (read--expression): New function, extracted from
9137 eval-expression. Set completion-at-point-functions (bug#14465).
9138 (eval-expression, eval-minibuffer): Use it.
9139
9140 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9141
9142 * progmodes/flymake.el (flymake-save-buffer-in-file)
9143 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9144 (flymake-selected-frame, flymake-log, flymake-ins-after)
9145 (flymake-set-at, flymake-get-buildfile-from-cache)
9146 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9147 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9148 Refine the doc string.
9149 (flymake-get-file-name-mode-and-masks): Reformat.
9150 (flymake-get-real-file-name-function): Fix a minor bug.
9151
9152 2013-05-24 Juri Linkov <juri@jurta.org>
9153
9154 * progmodes/grep.el (grep-mode-font-lock-keywords):
9155 Support =linenumber= format used by git-grep for lines with
9156 function names. (Bug#13549)
9157
9158 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9161 0 after a semi-colon; it works better for smie-auto-fill.
9162 (octave--indent-new-comment-line): New function.
9163 (octave-indent-new-comment-line): Use it (indirectly).
9164 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9165 modify comment-line-break-function.
9166
9167 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9168 (smie-setup): Use add-function to set it.
9169
9170 2013-05-24 Sam Steingold <sds@gnu.org>
9171
9172 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9173 argument (before the `interactive' argument).
9174
9175 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * image-mode.el (image-mode-winprops): Add winprops to
9178 image-mode-winprops-alist before running
9179 image-mode-new-window-functions.
9180 * doc-view.el (doc-view-new-window-function): Don't delay
9181 doc-view-goto-page via timers (bug#14435).
9182
9183 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9184
9185 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9186 (doc-view-desktop-save-buffer): New function.
9187 (doc-view-restore-desktop-buffer): New function.
9188 (desktop-buffer-mode-handlers):
9189 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9190 handler.
9191 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9192 `desktop-save-buffer' function.
9193
9194 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9195
9196 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9197 (tramp-gvfs-file-name-handler): Raise a user error when
9198 `tramp-gvfs-enabled' is nil.
9199 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9200 Do not raise a user error when loading package. (Bug#14447)
9201
9202 * net/xesam.el: Move to obsolete/.
9203
9204 2013-05-24 Glenn Morris <rgm@gnu.org>
9205
9206 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9207
9208 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9209
9210 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9211 (Info-find-node, Man-getpage-in-background): Declare.
9212
9213 * mail/unrmail.el (unrmail):
9214 Replace obsolete detect-coding-with-priority.
9215
9216 * net/socks.el (socks-split-string): Use this rather than split-string.
9217 (socks-nslookup-host): Update for above change.
9218 (dynamic-choice, s5-dynamic-choice-match)
9219 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9220 Comment out unused code.
9221
9222 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9223 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9224 (gud-tooltip-echo-area): Make obsolete.
9225 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9226
9227 * progmodes/js.el (js--optimize-arglist): Declare.
9228
9229 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9230
9231 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9232 (ediff-window-C): Declare.
9233
9234 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9235 Tweak requires to silence compiler.
9236
9237 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9238 (he-search-string, he-tried-table, he-expand-list)
9239 (he-init-string, he-string-member, he-substitute-string)
9240 (he-reset-string): Declare.
9241
9242 * obsolete/options.el (list-options): Use custom-variable-p,
9243 rather than obsolete alias.
9244
9245 2013-05-23 Sam Steingold <sds@gnu.org>
9246
9247 * simple.el (shell-command-on-region): Pass the `replace' argument
9248 down to `call-process-region' to comply with the doc as reported on
9249 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9250
9251 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * emacs-lisp/smie.el (smie-indent-forward-token)
9254 (smie-indent-backward-token): Handle string tokens (bug#14381).
9255
9256 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9257
9258 * ielm.el (ielm-menu): New menu.
9259 (inferior-emacs-lisp-mode): Set comment-start.
9260
9261 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9262
9263 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9264 Fix deactivate action.
9265
9266 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9267 Add cleveref macros.
9268
9269 * lisp/textmodes/reftex-parse.el
9270 (reftex-locate-bibliography-files): Accept options for
9271 bibliography commands.
9272 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9273 Add addbibresource. Basic Biblatex support.
9274
9275 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9276
9277 * net/tramp-gvfs.el (top):
9278 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9279 when loading package. (Bug#14447)
9280
9281 2013-05-23 Glenn Morris <rgm@gnu.org>
9282
9283 * progmodes/js.el: No need to load comint when compiling.
9284 (ring-insert, comint-send-string, comint-send-input)
9285 (comint-last-input-end, ido-chop): Declare.
9286
9287 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9288 * vc/ediff-mult.el: Adjust requires.
9289 (ediff-directories-internal, ediff-directory-revisions-internal)
9290 (ediff-patch-file-internal): Declare.
9291 * vc/ediff-ptch.el: Adjust requires.
9292 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9293 (ediff-find-file): Autoload.
9294 * vc/ediff-util.el: No need to load ediff when compiling.
9295 (ediff-regions-internal): Declare.
9296 * vc/ediff-wind.el: Adjust requires.
9297 (ediff-compute-toolbar-width): Define when compiling.
9298 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9299 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9300 (dired-get-filename, dired-get-marked-files)
9301 (ediff-last-dir-patch, ediff-patch-default-directory)
9302 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9303 (ediff-patch-buffer-internal): Declare.
9304
9305 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9306 (ispell-process, ispell-buffer-local-words, lm-summary)
9307 (lm-section-start, lm-section-end): Declare.
9308 (checkdoc-ispell-init): Simplify.
9309
9310 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9311 (he-string-member, he-reset-string, he-substitute-string): Declare.
9312
9313 * eshell/em-ls.el: Adjust requires.
9314 (eshell-glob-regexp): Declare.
9315 * eshell/em-tramp.el: Adjust requires.
9316 (eshell-parse-command): Autoload.
9317 * eshell/em-xtra.el: Adjust requires.
9318 (eshell-parse-command): Autoload.
9319 * eshell/esh-ext.el: Adjust requires.
9320 (eshell-parse-command, eshell-close-handles): Autoload.
9321 * eshell/esh-io.el: Adjust requires.
9322 (eshell-output-filter): Autoload.
9323 * eshell/esh-util.el: No need to load tramp when compiling.
9324 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9325 Declare.
9326 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9327 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9328 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9329 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9330 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9331 * eshell/esh-opt.el, eshell/esh-proc.el:
9332 * eshell/esh-var.el: Adjust requires.
9333 * eshell/eshell.el: Do not require esh-util twice.
9334 (eshell-add-input-to-history): Declare.
9335 (eshell-command): Check history module is active before using it.
9336
9337 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9338
9339 2013-05-22 Leo Liu <sdl.web@gmail.com>
9340
9341 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9342
9343 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9344
9345 * autorevert.el (auto-revert-notify-add-watch)
9346 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9347 it indicates changes in file modification time.
9348
9349 2013-05-22 Glenn Morris <rgm@gnu.org>
9350
9351 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9352 Always delete the autoloaded function from the noruntime and
9353 unresolved functions lists.
9354
9355 * allout.el: No need to load epa, epg, overlay when compiling.
9356 (epg-context-set-passphrase-callback, epg-list-keys)
9357 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9358 (epg-key-user-id-list): Declare.
9359
9360 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9361 (viper-set-parsing-style-toggling-macro)
9362 (viper-set-emacs-state-searchstyle-macros):
9363 Use called-interactively-p on Emacs.
9364 (viper-looking-back): Make it an obsolete alias. Update callers.
9365 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9366 Use looking-back rather than viper-looking-back.
9367 (viper-tmp-insert-at-eob, viper-enlarge-region)
9368 (viper-read-string-with-history, viper-register-to-point)
9369 (viper-append-to-register, viper-change-state-to-vi)
9370 (viper-backward-char-carefully, viper-forward-char-carefully)
9371 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9372 (viper-change-state-to-emacs): Declare.
9373 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9374 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9375 * emulation/viper-mous.el: Do not load viper-cmd.
9376 (viper-backward-char-carefully, viper-forward-char-carefully)
9377 (viper-forward-word, viper-adjust-window): Declare.
9378
9379 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9380
9381 * progmodes/idlw-help.el (idlwave-help-fontify):
9382 Use called-interactively-p.
9383
9384 * term/w32console.el (w32-get-console-codepage)
9385 (w32-get-console-output-codepage): Declare.
9386
9387 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9388 Remove unnecessary declarations.
9389 (dframe-message): Doc fix.
9390
9391 * info.el (dframe-select-attached-frame, dframe-current-frame):
9392 Declare.
9393
9394 * speedbar.el (speedbar-message): Make it an obsolete alias.
9395 Update all callers.
9396 (speedbar-with-attached-buffer)
9397 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9398 (speedbar-with-writable): Use backquote.
9399 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9400 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9401 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9402 rather than speedbar- aliases.
9403 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9404 (speedbar-make-specialized-keymap, speedbar-insert-button)
9405 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9406 (speedbar-do-function-pointer): Declare.
9407 (rmail-speedbar-button, rmail-speedbar-find-file)
9408 (rmail-speedbar-move-message):
9409 Use dframe-with-attached-buffer rather than speedbar- alias.
9410 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9411 (dframe-message, speedbar-make-specialized-keymap)
9412 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9413 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9414 (speedbar-insert-button, dframe-select-attached-frame)
9415 (dframe-maybee-jump-to-attached-frame)
9416 (speedbar-change-initial-expansion-list)
9417 (speedbar-previously-used-expansion-list-name): Declare.
9418 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9419 Use dframe-message, dframe-with-attached-buffer rather than
9420 speedbar- aliases.
9421 (gud-sentinel): Silence compiler.
9422 * progmodes/vhdl-mode.el (speedbar-refresh)
9423 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9424 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9425 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9426 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9427 (speedbar-file-lists, speedbar-make-tag-line)
9428 (speedbar-line-directory, speedbar-goto-this-file)
9429 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9430 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9431 (speedbar-make-button, speedbar-reset-scanners)
9432 (speedbar-files-item-info, speedbar-line-text)
9433 (speedbar-find-file-in-frame, speedbar-set-timer)
9434 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9435 (speedbar-with-writable): Do not (re)define it.
9436 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9437 rather than speedbar- alias.
9438
9439 2013-05-21 Leo Liu <sdl.web@gmail.com>
9440
9441 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9442 menu items.
9443 (octave-mode): Tweak fill-nobreak-predicate.
9444 (inferior-octave-startup): Check process to avoid infinite loop.
9445 (inferior-octave): Pop to buffer first to show abornmal process
9446 exit information.
9447
9448 2013-05-21 Glenn Morris <rgm@gnu.org>
9449
9450 * printing.el (pr-menu-bar): Define when compiling.
9451
9452 2013-05-21 Leo Liu <sdl.web@gmail.com>
9453
9454 * progmodes/octave.el (octave-auto-fill): Remove.
9455 (octave-indent-new-comment-line): Improve.
9456 (octave-mode): Use auto fill mode through
9457 comment-line-break-function and fill-nobreak-predicate.
9458 (octave-goto-function-definition): Support DEFUN_DLD.
9459 (octave-beginning-of-defun): Small tweak.
9460 (octave-help): Show parent directory.
9461
9462 2013-05-21 Glenn Morris <rgm@gnu.org>
9463
9464 * files.el (dired-unmark):
9465 * progmodes/gud.el (gdb-input): Update declarations.
9466
9467 * calculator.el (electric, ehelp): No need to load when compiling.
9468 (Electric-command-loop, electric-describe-mode): Declare.
9469
9470 * doc-view.el (doc-view-current-converter-processes): Move before use.
9471
9472 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9473 Move MODE-set-explicitly definition before use.
9474
9475 * international/mule-diag.el (mule-diag):
9476 Don't use obsolete window-system-version.
9477
9478 * mail/feedmail.el (smtpmail): No need to load when compiling.
9479 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9480
9481 * mail/mail-utils.el (rfc822): No need to load when compiling.
9482 (rfc822-addresses): Autoload it.
9483 (mail-strip-quoted-names): Trivial simplification.
9484
9485 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9486 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9487
9488 * net/snmp-mode.el (tempo): Don't duplicate requires.
9489
9490 * progmodes/prolog.el (info): No need to load when compiling.
9491 (comint): Require before shell requires it.
9492 (Info-goto-node): Autoload it.
9493 (Info-follow-nearest-node): Declare.
9494 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9495
9496 * textmodes/artist.el (picture-mode-exit): Declare.
9497
9498 * textmodes/reftex-parse.el (reftex-parse-from-file):
9499 Trivial rewrite so the compiler can parse it better.
9500
9501 2013-05-20 Leo Liu <sdl.web@gmail.com>
9502
9503 * progmodes/octave.el (octave-help-mode-map)
9504 (octave-help-mode-finish-hook): New variables.
9505 (octave-help-mode, octave-help-mode-finish): New functions.
9506 (octave-help): Use octave-help-mode.
9507
9508 2013-05-20 Glenn Morris <rgm@gnu.org>
9509
9510 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9511
9512 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9513
9514 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9515 start at point, so that expansion starting right after opening
9516 slash in a regexp is recognized.
9517 (ruby-syntax-before-regexp-re): New defvar, extracted from
9518 ruby-syntax-propertize-function. Since the value of this regexp
9519 is looked up at runtime now, we should be able to turn
9520 `ruby-syntax-methods-before-regexp' into a defcustom later.
9521 (ruby-syntax-propertize-function): Split regexp matching into two
9522 parts, for opening and closing slashes. That allows us to skip
9523 over string interpolations and support multiline regexps.
9524 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9525 for them, which calls `ruby-syntax-propertize-expansion'.
9526 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9527 call to `ruby-syntax-propertize-function'.
9528 (ruby-syntax-propertize-expansion): Extracted from
9529 `ruby-syntax-propertize-expansions'. Handles one expansion.
9530 (ruby-syntax-propertize-percent-literal): Leave point right after
9531 the percent symbol, so that the expression expansion rule can
9532 propertize the contents.
9533 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9534 heredoc openers.
9535 (ruby-syntax-propertize-expansions): Remove.
9536
9537 2013-05-18 Juri Linkov <juri@jurta.org>
9538
9539 * man.el (Man-default-man-entry): Remove `-' from the end
9540 of the default value. (Bug#14400)
9541
9542 2013-05-18 Glenn Morris <rgm@gnu.org>
9543
9544 * comint.el (comint-password-prompt-regexp):
9545 Allow "password for XXX" where XXX contains colons (eg https://...).
9546
9547 2013-05-18 Leo Liu <sdl.web@gmail.com>
9548
9549 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9550 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9551 (octave-source-directories): Don't check process.
9552 (octave-source-directories, octave-find-definition): Doc fix.
9553
9554 2013-05-18 Glenn Morris <rgm@gnu.org>
9555
9556 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9557 Remove backspace/delete bindings. (Bug#14392)
9558
9559 * cus-dep.el (custom-make-dependencies): Sort the output.
9560 (custom-versions-load-alist): Convert comment to doc.
9561
9562 2013-05-17 Leo Liu <sdl.web@gmail.com>
9563
9564 * newcomment.el (comment-search-backward): Stricter in finding
9565 comment start. (Bug#14303)
9566
9567 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9568 (octave-comment-start-skip): Properly anchored.
9569
9570 2013-05-17 Leo Liu <sdl.web@gmail.com>
9571
9572 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9573 Clean up when turned off. (Bug#14395)
9574 (smie--highlight-matching-block-overlay): No longer buffer-local.
9575 (smie-highlight-matching-block): Adjust.
9576
9577 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9578
9579 Doc string fix for "nanoseconds" (Bug#14406).
9580 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9581 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9582
9583 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9584
9585 * calc/calc-units.el (math-extract-units): Preserve powers
9586 of units.
9587
9588 2013-05-17 Leo Liu <sdl.web@gmail.com>
9589
9590 * subr.el (delete-consecutive-dups): New function.
9591 * ido.el (ido-set-matches-1): Use it.
9592 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9593 * ido.el (ido-remove-consecutive-dups): Remove.
9594
9595 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9598 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9599 regexp-opt's `words'.
9600
9601 2013-05-16 Leo Liu <sdl.web@gmail.com>
9602
9603 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9604 (smie--highlight-matching-block-overlay)
9605 (smie--highlight-matching-block-lastpos)
9606 (smie--highlight-matching-block-timer): New variables.
9607 (smie-highlight-matching-block): New function.
9608 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9609 (smie-setup): Conditionally enable smie-blink-matching-open.
9610
9611 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9612
9613 Sync with upstream verilog-mode r840.
9614 * progmodes/verilog-mode.el (verilog-mode-version)
9615 (verilog-mode-release-date): Update.
9616 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9617 (verilog-sig-tieoff): Fix string error on
9618 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9619 (verilog-read-decls): Fix parameters confusing
9620 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9621
9622 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9623
9624 * subr.el (reveal-filename): New function.
9625
9626 * loadup.el: Compute Emacs executable versions on MS-Windows,
9627 where executables have the .exe extension. Add a hard link
9628 emacs-XX.YY.ZZ.exe on MS-Windows.
9629
9630 * Makefile.in (XARGS_LIMIT): New variable.
9631 (custom-deps, finder-data, autoloads)
9632 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9633 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9634 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9635 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9636
9637 2013-05-16 Leo Liu <sdl.web@gmail.com>
9638
9639 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9640 (octave-mode-menu, octave-mode-map): Remove its uses.
9641
9642 2013-05-16 Reto Zimmermann <reto@gnu.org>
9643
9644 Sync with upstream vhdl mode v3.34.2.
9645 * progmodes/vhdl-mode.el: Use `push' throughout.
9646 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9647 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9648 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9649 (vhdl-actual-generic-name): New option to derive actual generic name.
9650 (vhdl-port-paste-signals): Replace formal by actual generics.
9651 (vhdl-beautify): New name for old group vhdl-align. Update users.
9652 (vhdl-beautify-options): New option.
9653 (vhdl-last-input-event): New compat alias. Use throughout.
9654 (vhdl-goto-line): Replace user level function `goto-line'.
9655 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9656 vhdl-fix-statement-buffer.
9657 (vhdl-create-mode-menu): Add some entries.
9658 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9659 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9660 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9661 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9662 to force statements on one line.
9663 (vhdl-remove-trailing-spaces-region):
9664 New, split from vhdl-remove-trailing-spaces.
9665 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9666 Respect vhdl-beautify-options.
9667 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9668 (vhdl-update-sensitivity-list): Not add with index if exists without.
9669 Not include array index with signal. Ignore keywords in comments.
9670 (vhdl-get-visible-signals): Regexp tweaks.
9671 (vhdl-template-component-inst): Handle empty library.
9672 (vhdl-template-type): Add template for 'enum' type.
9673 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9674 Use vhdl-replace-string.
9675 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9676 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9677 (vhdl-speedbar-initialize): Update for above name change.
9678 (vhdl-compose-wire-components): Fix in handling of constants.
9679 (vhdl-error-regexp-emacs-alist): New variable.
9680 (vhdl-error-regexp-add-emacs): New function;
9681 adds support for new compile.el (Emacs 22+)
9682 (vhdl-generate-makefile-1): Change target order for single lib. units.
9683 Allow use of absolute file names.
9684
9685 2013-05-16 Leo Liu <sdl.web@gmail.com>
9686
9687 * simple.el (prog-indent-sexp): Indent enclosing defun.
9688
9689 2013-05-15 Glenn Morris <rgm@gnu.org>
9690
9691 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9692 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9693 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9694 (whitespace-highlight): Move to whitespace group.
9695
9696 * comint.el (comint-source):
9697 * pcmpl-linux.el (pcmpl-linux):
9698 * shell.el (shell-faces):
9699 * eshell/esh-opt.el (eshell-opt):
9700 * international/ccl.el (ccl): Remove empty custom groups.
9701
9702 * completion.el (dynamic-completion-mode):
9703 * jit-lock.el (jit-lock-debug-mode):
9704 * minibuffer.el (completion-in-region-mode):
9705 * type-break.el (type-break-mode-line-message-mode)
9706 (type-break-query-mode):
9707 * emulation/tpu-edt.el (tpu-edt-mode):
9708 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9709 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9710 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9711
9712 * term/xterm.el (xterm): Change parent group to terminals.
9713
9714 * master.el (master): Remove empty custom group.
9715 (master-mode): Remove unused :group argument.
9716 * textmodes/refill.el (refill): Remove empty custom group.
9717 (refill-mode): Remove unused :group argument.
9718
9719 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9720
9721 * cus-dep.el: Provide a feature.
9722 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9723 Don't mistakenly ignore files whose basenames match a basename
9724 from preloaded-file-list (eg cedet/ede/simple.el).
9725 Add a fallback method for getting :group.
9726
9727 2013-05-15 Juri Linkov <juri@jurta.org>
9728
9729 * isearch.el (isearch-char-by-name): Rename from
9730 `isearch-insert-char-by-name'. Doc fix.
9731 (isearch-forward): Mention `isearch-char-by-name' in
9732 the docstring. (Bug#13348)
9733
9734 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9735 `exit-minibuffer' instead of
9736 `isearch-nonincremental-exit-minibuffer'.
9737 (isearch-edit-string): Remove mention of
9738 `isearch-nonincremental-exit-minibuffer' from docstring.
9739 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9740 (isearch-forward-exit-minibuffer)
9741 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9742
9743 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * loadup.el: Just use unversioned DOC.
9746
9747 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9748 literals as extending to EOB.
9749 (nxml-last-fontify-end): Remove unused variable.
9750 (nxml-after-change1): Use with-silent-modifications.
9751 (nxml-extend-after-change-region): Simplify.
9752 (nxml-extend-after-change-region1): Remove function.
9753 (nxml-after-change1): Don't adjust for dependent regions.
9754 (nxml-fontify-matcher): Simplify.
9755 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9756 (xmltok-add-dependent): Remove function.
9757 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9758 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9759 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9760 unclosed <[[, <?, comment, and other literals as extending to EOB.
9761 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9762 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9763 Remove functions.
9764 (rng-do-some-validation-1): Don't mark dependent regions.
9765 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9766 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9767 (nxml-clear-dependent-regions): Remove functions.
9768 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9769 (nxml-ensure-scan-up-to-date):
9770 Don't clear&mark dependent regions.
9771
9772 2013-05-15 Leo Liu <sdl.web@gmail.com>
9773
9774 * progmodes/octave.el (octave-goto-function-definition):
9775 Improve and fix callers.
9776
9777 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9780 the setter (bug#14387).
9781
9782 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9783 surrounding group (bug#14402).
9784
9785 2013-05-14 Juri Linkov <juri@jurta.org>
9786
9787 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9788 (Bug#14390)
9789
9790 2013-05-14 Glenn Morris <rgm@gnu.org>
9791
9792 * progmodes/f90.el (f90-imenu-generic-expression):
9793 Fix typo in 2013-05-08 change. (Bug#14402)
9794
9795 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9796
9797 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9798 Remove signals for which replies are never received.
9799
9800 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9801
9802 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9803 (gdb-handler-alist, gdb-handler-number): Remove variables.
9804 (gdb-handler-list): New variable.
9805 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9806 (gdb-pending-handler-p, gdb-handle-reply)
9807 (gdb-remove-all-pending-triggers): New functions.
9808 (gdb-discard-unordered-replies): New defcustom.
9809 (gdb-handler): New defstruct.
9810 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9811 instead of gdb-pending-triggers. Update docstring.
9812 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9813 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9814 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9815 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9816 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9817 (gdb-frame-handler): Pending triggers are now automatically managed.
9818 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9819 Remove argument.
9820 (gdb-input): Automatically handles pending triggers. Update docstring.
9821 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9822 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9823 Update comments.
9824 (gdb-done-or-error): Now use gdb-handle-reply.
9825
9826 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9827
9828 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9829 gdb-debug-log.
9830
9831 2013-05-14 Glenn Morris <rgm@gnu.org>
9832
9833 * subr.el (user-emacs-directory-warning): New option.
9834 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9835
9836 2013-05-14 Leo Liu <sdl.web@gmail.com>
9837
9838 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9839 during redisplay.
9840 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9841 (octave-font-lock-texinfo-comment): Fix invalid search bound
9842 error: wrong side of point.
9843
9844 2013-05-14 Glenn Morris <rgm@gnu.org>
9845
9846 * progmodes/flymake.el (flymake-xml-program): New option.
9847 (flymake-xml-init): Use it.
9848
9849 * term/xterm.el: Provide a feature.
9850
9851 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9852
9853 2013-05-13 Glenn Morris <rgm@gnu.org>
9854
9855 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9856 Add compat aliases as a hack workaround. (Bug#14384)
9857
9858 2013-05-13 Leo Liu <sdl.web@gmail.com>
9859
9860 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9861 ###, and %!.
9862 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9863 C-M-q.
9864 (octave-comment-start-skip): Include %!.
9865 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9866
9867 2013-05-12 Leo Liu <sdl.web@gmail.com>
9868
9869 * progmodes/octave.el (inferior-octave-startup): Store the value
9870 of __octave_srcdir__ for octave-source-directories.
9871 (inferior-octave-check-process): New function refactored out of
9872 inferior-octave-send-list-and-digest.
9873 (octave-source-directories)
9874 (octave-find-definition-filename-function): New variables.
9875 (octave-source-directories)
9876 (octave-find-definition-default-filename): New functions.
9877 (octave-find-definition): Improve to find functions implemented in C++.
9878
9879 2013-05-12 Glenn Morris <rgm@gnu.org>
9880
9881 * calendar/diary-lib.el (diary-outlook-format-1):
9882 Don't include dayname in the output. (Bug#14349)
9883
9884 2013-05-11 Glenn Morris <rgm@gnu.org>
9885
9886 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9887
9888 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9889 Treat cc-provide like provide.
9890
9891 2013-05-11 Kevin Ryde <user42@zip.com.au>
9892
9893 * cus-dep.el (custom-make-dependencies):
9894 Use generated-autoload-load-name for the sake of files such
9895 such cedet/semantic/bovine/c.el, where the base file name
9896 is not in load-path. (Bug#5277)
9897
9898 2013-05-11 Glenn Morris <rgm@gnu.org>
9899
9900 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9901 Provide features.
9902
9903 2013-05-11 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave.el (octave-indent-comment): Improve.
9906 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9907 (octave-eldoc-function-signatures, octave-eldoc-function):
9908 New functions.
9909 (octave-mode, inferior-octave-mode): Add eldoc support.
9910
9911 2013-05-11 Richard Stallman <rms@gnu.org>
9912
9913 * epa.el (epa-decrypt-file): Take output file name as argument
9914 and read it using `interactive'.
9915
9916 2013-05-11 Leo Liu <sdl.web@gmail.com>
9917
9918 * progmodes/octave.el (octave-beginning-of-line)
9919 (octave-end-of-line): Check before using up-list because it jumps
9920 out of more syntactic contructs since moving to smie.
9921 (octave-indent-comment): New function.
9922 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9923 (octave-begin-keywords, octave-end-keywords)
9924 (octave-reserved-words, octave-smie-bnf-table)
9925 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9926
9927 2013-05-11 Glenn Morris <rgm@gnu.org>
9928
9929 * faces.el (internal-face-x-get-resource):
9930 * frame.el (ns-display-monitor-attributes-list):
9931 * calc/calc-aent.el (math-to-radians-2):
9932 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9933 Fix declarations.
9934
9935 * calc/calc-menu.el: Make it loadable in isolation.
9936
9937 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9938 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9939 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9940 (eudc-bbdb-query-internal): Require 'bbdb.
9941
9942 * lpr.el (lpr-headers-switches):
9943 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9944
9945 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9946
9947 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9948
9949 * term.el (term-set-escape-char): Make it idempotent.
9950
9951 2013-05-10 Leo Liu <sdl.web@gmail.com>
9952
9953 * progmodes/octave.el (inferior-octave-completion-table):
9954 No longer a function and all uses changed. Use cache to speed up
9955 completion due to bug#11906.
9956 (octave-beginning-of-defun): Re-write to be more general.
9957
9958 2013-05-10 Glenn Morris <rgm@gnu.org>
9959
9960 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9961
9962 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * comint.el (comint-redirect-send-command-to-process): Use :around
9965 rather than :override for comint-redirect-filter.
9966 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9967 Call it instead of comint-redirect-original-filter-function (which
9968 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9969
9970 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9971
9972 * frame.el (display-monitor-attributes-list): Add NS case.
9973 (ns-display-monitor-attributes-list): Declare.
9974
9975 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9976
9977 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9978
9979 2013-05-09 Glenn Morris <rgm@gnu.org>
9980
9981 * international/fontset.el (vertical-centering-font-regexp):
9982 Set standard-value.
9983
9984 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9985
9986 * bookmark.el (bookmark-search-delay):
9987 * cus-start.el (vertical-centering-font-regexp):
9988 * ps-mule.el (ps-mule-font-info-database-default):
9989 * ps-print.el (ps-default-fg, ps-default-bg):
9990 * type-break.el (type-break-good-break-interval):
9991 * whitespace.el (whitespace-indentation-regexp)
9992 (whitespace-space-after-tab-regexp):
9993 * emacs-lisp/testcover.el (testcover-1value-functions)
9994 (testcover-noreturn-functions, testcover-progn-functions)
9995 (testcover-prog1-functions):
9996 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9997 * eshell/em-glob.el (eshell-glob-translate-alist):
9998 * play/tetris.el (tetris-tty-colors):
9999 * progmodes/cpp.el (cpp-face-default-list):
10000 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10001 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10002 (idlwave-help-browser-generic-args):
10003 * progmodes/make-mode.el (makefile-special-targets-list):
10004 * progmodes/python.el (python-shell-virtualenv-path):
10005 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10006 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10007 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10008 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10009 * textmodes/reftex-vars.el (reftex-format-label-function):
10010 * textmodes/remember.el (remember-diary-file): Fix custom types.
10011
10012 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10013 Add :version.
10014
10015 2013-05-09 Leo Liu <sdl.web@gmail.com>
10016
10017 * progmodes/octave.el (inferior-octave-completion-at-point):
10018 Restore file completion. (Bug#14300)
10019 (inferior-octave-startup): Fix incorrect highlighting for the
10020 first prompt.
10021
10022 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * progmodes/ruby-mode.el: First cut at SMIE support.
10025 (ruby-use-smie): New var.
10026 (ruby-smie-grammar): New constant.
10027 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10028 (ruby-smie--forward-token, ruby-smie--backward-token)
10029 (ruby-smie-rules): New functions.
10030 (ruby-mode-variables): Setup SMIE if applicable.
10031
10032 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10033
10034 * simple.el (line-move-visual): Signal beginning/end of buffer
10035 only if vertical-motion moved less than it was requested. Avoids
10036 silly incorrect error messages when there are display strings with
10037 multiple newlines at EOL.
10038
10039 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10042 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10043 (prolog-char-quote-workaround):
10044 * progmodes/cperl-mode.el (cperl-under-as-char):
10045 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10046 Mark as obsolete.
10047 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10048 their declaration.
10049 (vhdl-mode-syntax-table-init): Remove.
10050
10051 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10052 last change.
10053
10054 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10055 syntax for "_".
10056 (ld-script-font-lock-keywords):
10057 Change regexps to use things like \_< and \_>.
10058
10059 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10060 Change all regexps to use things like \_< and \_>.
10061
10062 * progmodes/autoconf.el (autoconf-definition-regexp)
10063 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10064 Handle a _ with symbol syntax.
10065 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10066
10067 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10068 Consolidate declaration.
10069 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10070 the declaration.
10071 (ada-create-syntax-table): Remove.
10072 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10073 already has the right syntax nowadays.
10074 (ada-goto-next-word): Don't change the syntax of "_".
10075
10076 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10077 with-wrapper-hook.
10078
10079 2013-05-08 Sam Steingold <sds@gnu.org>
10080
10081 * thingatpt.el (thing-at-point): Accept optional second argument
10082 NO-PROPERTIES to strip the text properties from the return value.
10083 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10084 to `thing-at-point' instead of stripping the properties ourselves.
10085 Also, when `thing-at-point' fails to find a url, prepend "http://"
10086 to the filename at point on the assumption that the user is
10087 pointing at something like gnu.org/gnu.
10088
10089 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10092 * faces.el (crm-separator):
10093 Silence byte-compiler.
10094
10095 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10096 (tool-bar-map): Remove unneeded defvars.
10097
10098 2013-05-08 Leo Liu <sdl.web@gmail.com>
10099
10100 Re-work a fix for bug#10994 based on Le Wang's patch.
10101 * ido.el (ido-remove-consecutive-dups): New helper.
10102 (ido-completing-read): Use it.
10103 (ido-chop): Revert fix for bug#10994.
10104
10105 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10106
10107 * cus-edit.el (custom-save-variables):
10108 Pretty-print long values. (Bug#14187)
10109
10110 2013-05-08 Glenn Morris <rgm@gnu.org>
10111
10112 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10113 (m4-mode-syntax-table): Init in the defvar.
10114 (m4-mode-abbrev-table): Let define-derived-mode define it.
10115
10116 2013-05-08 Tom Tromey <tromey@redhat.com>
10117
10118 * progmodes/m4-mode.el (m4-mode-syntax-table):
10119 Do not treat "_" as word constituent. (Bug#14167)
10120
10121 2013-05-07 Glenn Morris <rgm@gnu.org>
10122
10123 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10124 Remove explicit eshell-isearch-cancel-map.
10125
10126 * progmodes/f90.el (f90-smart-end-names): New option.
10127 (f90-smart-end): Doc fix.
10128 (f90-end-block-optional-name): New constant.
10129 (f90-block-match): Respect f90-smart-end-names.
10130
10131 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10134 about implicit semi-colons (bug#14218).
10135
10136 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10137
10138 * frame.el (display-monitor-attributes-list)
10139 (frame-monitor-attributes): New functions.
10140
10141 2013-05-06 Leo Liu <sdl.web@gmail.com>
10142
10143 * progmodes/octave.el (octave-syntax-propertize-function): Change
10144 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10145 (octave-font-lock-keywords): Use octave-operator-regexp.
10146 (octave-completion-at-point): Rename from
10147 octave-completion-at-point-function.
10148 (inferior-octave-directory-tracker): Robustify.
10149 (octave-text-functions): Remove and fix its uses. No such things
10150 any more.
10151
10152 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * emacs-lisp/trace.el (trace--display-buffer): New function.
10155 (trace-make-advice): Use it.
10156
10157 2013-05-06 Juri Linkov <juri@jurta.org>
10158
10159 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10160 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10161 Doc fix.
10162 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10163 in the help string. (Bug#12985)
10164
10165 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10166
10167 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10168
10169 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * progmodes/perl-mode.el: Add support for here documents.
10172 (perl-syntax-propertize-function): Match here-doc markers.
10173 (perl-syntax-propertize-special-constructs): Find their end.
10174 (perl-imenu-generic-expression): Use [:alnum:].
10175
10176 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10177 (advice--add-function): Refresh the advice if already present
10178 (bug#14317).
10179
10180 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10181
10182 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10183
10184 2013-05-06 Glenn Morris <rgm@gnu.org>
10185
10186 * w32-fns.el (w32-charset-info-alist): Declare.
10187
10188 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10189 of its defcustom properties.
10190 (eshell-cmpl-initialize): No need to load pcomplete.
10191
10192 * generic-x.el: No need to require comint when compiling.
10193
10194 * net/eudc-export.el: Make it loadable without bbdb.
10195 (top-level): Use require rather than load-library.
10196 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10197 (eudc-batch-export-records-to-bbdb)
10198 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10199 Require bbdb.
10200
10201 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10204 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10205 some tweaks, instead.
10206
10207 2013-05-05 Leo Liu <sdl.web@gmail.com>
10208
10209 * progmodes/octave.el (octave-font-lock-keywords)
10210 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10211 (inferior-octave-send-list-and-digest): Improve error message.
10212 (octave-mode, inferior-octave-mode): Use setq-local.
10213 (octave-help): Set info-lookup-mode.
10214
10215 2013-05-05 Richard Stallman <rms@gnu.org>
10216
10217 * vc/compare-w.el (compare-windows-whitespace):
10218 Treat no-break space as whitespace.
10219
10220 * mail/rmailsum.el (rmail-summary-rmail-update):
10221 Detect empty summary and don't change selected message.
10222 (rmail-summary-goto-msg): Likewise.
10223
10224 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10225 Doc fixes, rename args.
10226
10227 2013-05-05 Alan Mackenzie <acm@muc.de>
10228
10229 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10230
10231 2013-05-05 Juri Linkov <juri@jurta.org>
10232
10233 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10234 to not add the length of the summary segment to the return value.
10235 (Bug#14125)
10236
10237 2013-05-05 Leo Liu <sdl.web@gmail.com>
10238
10239 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10240 (inferior-octave-output-filter): Remove.
10241 (octave-send-region, inferior-octave-startup): Fix callers.
10242 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10243 (octave-binary-file-extensions): New user variable.
10244 (octave-find-definition): Confirm if opening binary files.
10245 (octave-help-file): Use octave-find-definition to get the binary
10246 confirmation.
10247 (octave-help): Adjust for octave-help-file change.
10248
10249 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10250
10251 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10252 Merge the two entries that handle function definitions.
10253 (pascal--syntax-propertize): New const.
10254 (pascal-mode): Use it. Use setq-local.
10255
10256 2013-05-04 Glenn Morris <rgm@gnu.org>
10257
10258 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10259 (diary-from-outlook): Respect diary-from-outlook-function.
10260
10261 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10264 Move the declaration from C.
10265 (read-minibuffer, eval-minibuffer): Move from C.
10266 (completion-setup-function): Avoid minibuffer-completion-contents.
10267
10268 2013-05-03 Leo Liu <sdl.web@gmail.com>
10269
10270 * progmodes/octave.el (octave-font-lock-keywords): Do not
10271 dehighlight 'end' in comments or strings.
10272 (octave-completing-read, octave-goto-function-definition):
10273 New helpers.
10274 (octave-help-buffer): New user variable.
10275 (octave-help-file, octave-help-function): New button types.
10276 (octave-help): New command and bind it to C-h ;.
10277 (octave-find-definition): New command and bind it to M-.
10278 (user-error): Alias to error if not defined.
10279
10280 2013-05-02 Leo Liu <sdl.web@gmail.com>
10281
10282 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10283 for \. (bug#14332)
10284 (octave-font-lock-keywords): Include [ and {.
10285
10286 2013-05-02 Leo Liu <sdl.web@gmail.com>
10287
10288 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10289 (inferior-octave): Remove calling comint-mode and return the buffer.
10290 (inferior-octave-startup): Cosmetic changes.
10291
10292 2013-05-02 Leo Liu <sdl.web@gmail.com>
10293
10294 * progmodes/octave.el (octave-syntax-propertize-function):
10295 Include the case when ' is at line beginning. (Bug#14336)
10296
10297 2013-05-02 Glenn Morris <rgm@gnu.org>
10298
10299 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10300 * desktop.el (vc-dir-mode): Just autoload it here.
10301
10302 2013-05-02 Alan Mackenzie <acm@muc.de>
10303
10304 Eliminate variable c-standard-font-lock-fontify-region-function.
10305 * progmodes/cc-mode.el
10306 (c-standard-font-lock-fontify-region-function): Remove.
10307 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10308
10309 2013-05-01 Leo Liu <sdl.web@gmail.com>
10310
10311 * progmodes/octave.el: Compatible with older emacs-24 releases.
10312 (inferior-octave-has-built-in-variables): Remove. Built-in
10313 variables were removed from Octave in 2007.
10314 (inferior-octave-startup): Fix uses.
10315 (comint-line-beginning-position): Remove compatibility code for
10316 emacs 21.
10317
10318 2013-05-01 Juri Linkov <juri@jurta.org>
10319
10320 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10321
10322 2013-05-01 Juri Linkov <juri@jurta.org>
10323
10324 * comint.el (comint-previous-matching-input): Don't print message
10325 "History item: %d" when `isearch-mode' is active.
10326 (comint-history-isearch-message): Print message "History item: %d"
10327 when `comint-input-ring-index' is not empty and this function is
10328 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10329
10330 2013-05-01 Leo Liu <sdl.web@gmail.com>
10331
10332 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10333 definitions. Use completion-at-point to insert keywords.
10334 (octave-abbrev-start): Remove.
10335 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10336
10337 2013-04-30 Leo Liu <sdl.web@gmail.com>
10338
10339 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10340 change.
10341
10342 2013-04-30 Alan Mackenzie <acm@muc.de>
10343
10344 Handle arbitrarily long C++ member initialisation lists.
10345 * progmodes/cc-engine.el (c-back-over-member-initializers):
10346 new function.
10347 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10348 (most) member init lists.
10349
10350 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10351
10352 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10353 variable.
10354
10355 2013-04-30 Leo Liu <sdl.web@gmail.com>
10356
10357 * progmodes/octave.el (octave-variables): Remove. No builtin
10358 variables any more. All converted to functions.
10359 (octave-font-lock-keywords, octave-completion-at-point-function):
10360 Fix uses.
10361 (octave-font-lock-texinfo-comment): New user variable.
10362 (octave-texinfo-font-lock-keywords): New variable for texinfo
10363 comment block.
10364 (octave-function-comment-block): New face.
10365 (octave-font-lock-texinfo-comment): New function.
10366 (octave-mode): Font lock texinfo comment block.
10367
10368 2013-04-29 Leo Liu <sdl.web@gmail.com>
10369
10370 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10371 indexing expression.
10372 (octave-continuation-string): Do not use \.
10373 (inferior-octave-complete-impossible): Remove.
10374 (inferior-octave-completion-table)
10375 (inferior-octave-completion-at-point): Remove its uses.
10376 (inferior-octave-startup): completion_matches was introduced to
10377 Octave in 1996 so safe to assume it.
10378 (octave-function-file-comment): Improve to follow how Octave does it.
10379 (octave-update-function-file-comment): Tweak.
10380
10381 2013-04-29 Leo Liu <sdl.web@gmail.com>
10382
10383 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10384 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10385 (octave-function-file-comment): Fix typo.
10386 (octave-sync-function-file-names): Use read-char-choice.
10387
10388 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10389
10390 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10391 to t for the less important warnings.
10392
10393 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10394
10395 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10396
10397 2013-04-27 Glenn Morris <rgm@gnu.org>
10398
10399 * vc/log-view.el (log-view-current-entry):
10400 Treat "---" separator lines as part of the following rev. (Bug#14169)
10401
10402 2013-04-27 Juri Linkov <juri@jurta.org>
10403
10404 * subr.el (read-number): Doc fix about using it by interactive
10405 code letter `n'. (Bug#14254)
10406
10407 2013-04-27 Juri Linkov <juri@jurta.org>
10408
10409 * desktop.el (desktop-auto-save-timeout): New option.
10410 (desktop-file-checksum): New variable.
10411 (desktop-save): Add optional arg `auto-save' and don't auto-save
10412 if nothing changed.
10413 (desktop-auto-save-timer): New variable.
10414 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10415 (after-init-hook): Call `desktop-auto-save-set-timer'.
10416 Suggested by Reuben Thomas <rrt@sc3d.org> in
10417 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10418
10419 2013-04-27 Leo Liu <sdl.web@gmail.com>
10420
10421 * progmodes/octave.el (octave-function-file-p)
10422 (octave-skip-comment-forward, octave-function-file-comment)
10423 (octave-update-function-file-comment): New functions.
10424 (octave-mode-map): Bind C-c ; to
10425 octave-update-function-file-comment.
10426 (octave-mode-menu): Add octave-update-function-file-comment.
10427 (octave-mode, inferior-octave-mode): Fix doc-string.
10428 (octave-insert-defun): Conform to Octave's coding convention.
10429 (Bug#14285)
10430
10431 * files.el (basic-save-buffer): Don't let errors in
10432 before-save-hook prevent saving buffer.
10433
10434 2013-04-20 Roland Winkler <winkler@gnu.org>
10435
10436 * faces.el (read-face-name): Use completing-read if arg multiple
10437 is nil.
10438
10439 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10440
10441 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10442 displayed, move point to after the totals line.
10443 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10444 for the details.
10445
10446 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10449 Add current dir to the load-path.
10450 (package-generate-autoloads): Don't rely on
10451 autoload-ensure-default-file.
10452
10453 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10454
10455 * textmodes/remember.el (remember-store-in-files): Document that
10456 the file name format is passed to `format-time-string'.
10457
10458 2013-04-26 Leo Liu <sdl.web@gmail.com>
10459
10460 * progmodes/octave.el (octave-sync-function-file-names): New function.
10461 (octave-mode): Use it in before-save-hook.
10462
10463 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10466 (bug#14274).
10467
10468 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10469 \n and comment, even if it's not an implicit ; (bug#14218).
10470
10471 2013-04-26 Glenn Morris <rgm@gnu.org>
10472
10473 * subr.el (read-number): Once more use `read' rather than
10474 `string-to-number', to trap non-numeric input. (Bug#14254)
10475
10476 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10477
10478 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10479 Use `syntax-multiline' text property consistently instead of
10480 `font-lock-multiline'. (Bug#14237)
10481
10482 2013-04-26 Glenn Morris <rgm@gnu.org>
10483
10484 * emacs-lisp/shadow.el (list-load-path-shadows):
10485 No longer necessary to check for duplicate simple.el, since
10486 2012-07-07 change to init_lread to not include installation lisp
10487 directories in load-path when running uninstalled. (Bug#14270)
10488
10489 2013-04-26 Leo Liu <sdl.web@gmail.com>
10490
10491 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10492 (octave-mode, inferior-octave-mode): Use setq-local.
10493 (octave-not-in-string-or-comment-p): Rename to
10494 octave-in-string-or-comment-p.
10495 (octave-in-comment-p, octave-in-string-p)
10496 (octave-in-string-or-comment-p): Replace defsubst with defun.
10497
10498 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10499
10500 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10501
10502 2013-04-25 Bastien Guerry <bzg@gnu.org>
10503
10504 * textmodes/remember.el (remember-data-directory)
10505 (remember-directory-file-name-format): Fix custom types.
10506
10507 2013-04-25 Leo Liu <sdl.web@gmail.com>
10508
10509 * progmodes/octave.el (octave-completion-at-point-function):
10510 Make use of inferior octave process.
10511 (octave-initialize-completions): Remove.
10512 (inferior-octave-completion-table): New function.
10513 (inferior-octave-completion-at-point): Use it.
10514 (octave-completion-alist): Remove.
10515
10516 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10519 (opascal-mode-syntax-table): New var.
10520 (opascal-literal-kind, opascal-is-literal-end)
10521 (opascal-literal-token-at): Rewrite.
10522 (opascal--literal-start-re, opascal-font-lock-keywords)
10523 (opascal--syntax-propertize): New constants.
10524 (opascal-font-lock-defaults): Adjust.
10525 (opascal-mode): Use them. Set comment-<foo> variables as well.
10526 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10527 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10528 (delphi-other-face, opascal-other-face): Remove face variables.
10529 (opascal-save-state): Remove macro.
10530 (opascal-fontifying-progress-step): Remove constant.
10531 (opascal--ignore-changes): Remove var.
10532 (opascal-set-token-property, opascal-parse-next-literal)
10533 (opascal-is-stable-literal, opascal-complete-literal)
10534 (opascal-is-literal-start, opascal-face-of)
10535 (opascal-parse-region, opascal-parse-region-until-stable)
10536 (opascal-fontify-region, opascal-after-change)
10537 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10538 (opascal-debug-parse-region, opascal-debug-parse-window)
10539 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10540 (opascal-debug-fontify-buffer): Remove.
10541 (opascal-debug-mode-map): Adjust accordingly.
10542
10543 2013-04-25 Leo Liu <sdl.web@gmail.com>
10544
10545 Merge octave-mod.el and octave-inf.el into octave.el with some
10546 cleanups.
10547 * progmodes/octave.el: New file renamed from octave-mod.el.
10548 * progmodes/octave-inf.el: Merged into octave.el.
10549 * progmodes/octave-mod.el: Renamed to octave.el.
10550
10551 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10552
10553 * textmodes/reftex-vars.el
10554 (reftex-label-ignored-macros-and-environments): New defcustom.
10555
10556 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10557
10558 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10561 (smie-indent-keyword): Improve the check to ensure that the next
10562 comment is really on the same line.
10563 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10564
10565 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10566 semi-colons if the line is not otherwise empty (bug#14218).
10567
10568 2013-04-25 Glenn Morris <rgm@gnu.org>
10569
10570 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10571
10572 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * progmodes/opascal.el (opascal-set-token-property): Rename from
10575 opascal-set-text-properties and only set `token' (bug#14134).
10576 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10577 (opascal-literal-text-properties): Remove.
10578 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10579 Adjust callers.
10580
10581 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10582
10583 * textmodes/remember.el (remember-handler-functions): Add an
10584 option for a new handler `remember-store-in-files'.
10585 (remember-data-directory, remember-directory-file-name-format):
10586 New options.
10587 (remember-store-in-files): New function to store remember notes
10588 as separate files within a directory.
10589
10590 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10591
10592 * progmodes/compile.el (compilation-next-error-function):
10593 Pass "formats" to compilation-find-file (bug#11777).
10594
10595 2013-04-24 Glenn Morris <rgm@gnu.org>
10596
10597 * vc/vc-bzr.el (vc-bzr-print-log):
10598 * vc/vc-hg.el (vc-hg-print-log):
10599 * vc/vc-svn.el (vc-svn-print-log):
10600 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10601
10602 * vc/vc-bzr.el (vc-bzr-print-log):
10603 * vc/vc-cvs.el (vc-cvs-print-log):
10604 * vc/vc-git.el (vc-git-print-log):
10605 * vc/vc-hg.el (vc-hg-print-log):
10606 * vc/vc-mtn.el (vc-mtn-print-log):
10607 * vc/vc-rcs.el (vc-rcs-print-log):
10608 * vc/vc-sccs.el (vc-sccs-print-log):
10609 * vc/vc-svn.el (vc-svn-print-log):
10610 * vc/vc.el (vc-print-log-internal): Doc fixes.
10611
10612 2013-04-23 Glenn Morris <rgm@gnu.org>
10613
10614 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10615 Remove venerable code attempting to avoid substitute-command-keys.
10616
10617 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10618
10619 * textmodes/reftex-vars.el (reftex-label-regexps):
10620 Call `reftex-compile-variables' after changes to this variable.
10621
10622 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10625 Use lexical-binding.
10626 (jit-lock-force-redisplay): Use markers, check buffer's continued
10627 existence and beware narrowed buffers.
10628 (jit-lock-fontify-now): Adjust call accordingly.
10629
10630 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10631
10632 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10633 to avoid misleading the user.
10634
10635 2013-04-22 Leo Liu <sdl.web@gmail.com>
10636
10637 * info-look.el: Prefer latex2e.info. (Bug#14240)
10638
10639 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10640
10641 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10642
10643 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10644 * net/tramp.el (tramp-call-process): ... here.
10645 (tramp-set-completion-function, tramp-parse-putty):
10646 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10647 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10648 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10649 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10650 (tramp-call-local-coding-command): Use `tramp-call-process'
10651 instead of `tramp-compat-call-process'.
10652
10653 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10654 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10655 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10656 (tramp-find-inline-compress): Improve traces.
10657 (tramp-maybe-send-script): Check for Perl binary.
10658 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10659
10660 2013-04-22 Daiki Ueno <ueno@gnu.org>
10661
10662 * epg.el (epg-context-pinentry-mode): New function.
10663 (epg-context-set-pinentry-mode): New function.
10664 (epg--start): Pass --pinentry-mode option to gpg command.
10665
10666 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10667
10668 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10669 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10670 `completion-at-point'. (Bug#13774)
10671
10672 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10673 default key binding for `describe-distribution' has been moved to
10674 `C-h C-o'. (Bug#13970)
10675
10676 2013-04-21 Glenn Morris <rgm@gnu.org>
10677
10678 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10679 Add doc strings.
10680 (vc-print-log): Clarify interactive prompt.
10681
10682 2013-04-20 Glenn Morris <rgm@gnu.org>
10683
10684 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10685 No longer include timestamp etc information.
10686
10687 2013-04-20 Roland Winkler <winkler@gnu.org>
10688
10689 * faces.el (read-face-name): Bug fix, return just one face if arg
10690 multiple is nil. (Bug#14209)
10691
10692 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10695 (remove-function): Autoload.
10696
10697 * comint.el (comint-redirect-original-filter-function): Remove.
10698 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10699 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10700 (vc-cvs-annotate-command):
10701 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10702 * progmodes/prolog.el (prolog-consult-compile):
10703 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10704 Use add/remove-function instead.
10705 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10706 (gud-tooltip-process-output, gud-tooltip-tips):
10707 Use add/remove-function instead.
10708 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10709 (scheme-interaction-mode, exit-scheme-interaction-mode):
10710 Use add/remove-function instead.
10711
10712 * vc/vc-dispatcher.el: Use lexical-binding.
10713 (vc--process-sentinel): Rename from vc-process-sentinel.
10714 Change last arg to be the code to run. Don't use vc-previous-sentinel
10715 and vc-sentinel-commands any more.
10716 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10717 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10718
10719 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10720
10721 * progmodes/sh-script.el (sh-imenu-generic-expression):
10722 Handle function names with a single character. (Bug#14111)
10723
10724 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10725
10726 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10727 for subroutines defined in an eval (bug#14182).
10728
10729 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10730
10731 * bookmark.el (bookmark-completing-read): Improve handling of empty
10732 string (bug#14176).
10733
10734 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10737
10738 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10739
10740 New faster Imenu implementation (bug#14058).
10741 * progmodes/python.el:
10742 (python-imenu-prev-index-position):
10743 (python-imenu-format-item-label-function)
10744 (python-imenu-format-parent-item-label-function)
10745 (python-imenu-format-parent-item-jump-label-function):
10746 New vars.
10747 (python-imenu-format-item-label)
10748 (python-imenu-format-parent-item-label)
10749 (python-imenu-format-parent-item-jump-label)
10750 (python-imenu--put-parent, python-imenu--build-tree)
10751 (python-imenu-create-index, python-imenu-create-flat-index)
10752 (python-util-popn): New functions.
10753 (python-mode): Set imenu-create-index-function to
10754 python-imenu-create-index.
10755
10756 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * winner.el (winner-active-region): Use region-active-p, activate-mark
10759 and deactivate-mark (bug#14225).
10760
10761 * simple.el (deactivate-mark): Don't inline it.
10762
10763 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10764
10765 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10766
10767 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10768
10769 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10770 file extensions from the archive-mode entry in order to prefer
10771 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10772
10773 2013-04-18 Leo Liu <sdl.web@gmail.com>
10774
10775 * bindings.el (help-event-list): Add ?\?.
10776
10777 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * subr.el (with-wrapper-hook): Declare obsolete.
10780 * simple.el (filter-buffer-substring-function): New hook.
10781 (filter-buffer-substring): Use it.
10782 (filter-buffer-substring-functions): Mark obsolete.
10783 * minibuffer.el (completion-in-region-function): New hook.
10784 (completion-in-region): Use it.
10785 (completion-in-region-functions): Mark obsolete.
10786 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10787 * abbrev.el (abbrev-expand-function): New hook.
10788 (expand-abbrev): Use it.
10789 (abbrev-expand-functions): Mark obsolete.
10790 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10791 and :filter-return.
10792
10793 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10794
10795 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10796 and do not care about match data.
10797
10798 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10801 completion tables when completing error conditions and
10802 `declare' arguments.
10803 (lisp-complete-symbol, field-complete): Mark as obsolete.
10804 (check-parens): Unmatched parens are user errors.
10805 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10806
10807 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10808
10809 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10810 command changed buffer (ie. `flyspell-pre-buffer' is not current
10811 buffer), which prevents making decisions based on invalid value of
10812 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10813 cause an error when `flyspell-pre-point' was nil after switching
10814 buffers.
10815 (flyspell-post-command-hook): No longer needs to change buffers when
10816 checking pre-word. While at it remove unnecessary progn.
10817
10818 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10819
10820 * textmodes/ispell.el (ispell-add-per-file-word-list):
10821 Fix `flyspell-correct-word-before-point' error when accepting
10822 words and `coment-padding' is an integer by using
10823 `comment-normalize-vars' (Bug #14214).
10824
10825 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10826
10827 New defun movement commands.
10828 * progmodes/python.el (python-nav--syntactically)
10829 (python-nav--forward-defun, python-nav-backward-defun)
10830 (python-nav-forward-defun): New functions.
10831
10832 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10833
10834 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10835 (python-syntax-context): Use named compiler-macro for backwards
10836 compatibility with Emacs 24.x.
10837
10838 2013-04-17 Leo Liu <sdl.web@gmail.com>
10839
10840 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10841 octave-hide-process-buffer.
10842
10843 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10846 (bug#14216).
10847
10848 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10849
10850 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10851 Fix adjustment of offset when receiving incomplete responses from GDB
10852 (bug#14129).
10853
10854 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10857 python-mode-abbrev-table.
10858 (python-skeleton-define): Adjust accordingly.
10859 (python-mode-abbrev-table): New table that inherits from it so that
10860 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10861
10862 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10863 (abbrev-symbol): Use it.
10864 (abbrev--before-point): Use it since we already handle inheritance.
10865
10866 2013-04-16 Leo Liu <sdl.web@gmail.com>
10867
10868 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10869 binding to info-lookup-symbol.
10870
10871 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10872
10873 * minibuffer.el (completion--twq-all):
10874 * term/ns-win.el (ns-initialize-window-system):
10875 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10876
10877 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10880 global bindings.
10881
10882 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10883
10884 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10885
10886 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10887 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10888 to nil.
10889 (ruby-end-of-defun): Remove the unused arg, change the docstring
10890 to reflect that this function is only used as the value of
10891 `end-of-defun-function'.
10892 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10893 to reflect an earlier change that beginning/end-of-defun functions
10894 jump between methods in a class definition, as well as top-level
10895 functions.
10896
10897 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * minibuffer.el (minibuffer-complete): Don't just scroll
10900 a *Completions* that's been iconified.
10901 (minibuffer-force-complete): Make sure repetitions do cycle when going
10902 through completion-in-region -> minibuffer-complete.
10903
10904 2013-04-15 Alan Mackenzie <acm@muc.de>
10905
10906 Correct the placement of c-cpp-delimiters when there're #s not at
10907 col 0.
10908
10909 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10910 place a submatch around the #.
10911 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10912 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10913 on the #, not BOL.
10914
10915 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10918 (advice--member-p): New arg `name'.
10919 (advice--add-function, advice-member-p): Use it (bug#14202).
10920
10921 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10922
10923 Reformulate java imenu-generic-expression.
10924 The old expression contained ill formed regexps.
10925
10926 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10927 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10928 (cc-imenu-java-method-arg-regexp): New defconsts.
10929 (cc-imenu-java-build-type-args-regex): New defun.
10930 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10931 handling of spaces in the regexp.
10932
10933 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10934
10935 * textmodes/ispell.el (ispell-command-loop): Remove
10936 flyspell highlight of a word when ispell accepts it (bug #14178).
10937
10938 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10939
10940 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10941 uses code from the previous `ange-ftp-run-real-handler'.
10942 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10943 only in case that function exist. This is needed for proper
10944 unloading of Tramp.
10945
10946 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10947
10948 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10949
10950 * textmodes/reftex.el (reftex-compile-variables): Use it.
10951
10952 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * files.el (normal-mode): Only use default major-mode if no other mode
10955 was specified.
10956
10957 * emacs-lisp/trace.el (trace-values): New function.
10958
10959 * files.el: Allow : in local variables (bug#14089).
10960 (hack-local-variable-regexp): New var.
10961 (hack-local-variables-prop-line, hack-local-variables): Use it.
10962
10963 2013-04-13 Roland Winkler <winkler@gnu.org>
10964
10965 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10966 data before it gets modified by bibtex-beginning-of-entry.
10967
10968 2013-04-13 Roland Winkler <winkler@gnu.org>
10969
10970 * textmodes/bibtex.el (bibtex-url): Doc fix.
10971
10972 2013-04-13 Roland Winkler <winkler@gnu.org>
10973
10974 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10975 does not visit a BibTeX file, exclude it from the list of buffers
10976 returned by bibtex-initialize.
10977
10978 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10979
10980 * window.el (split-window): Remove interactive form, since as a
10981 command this function is a special case of split-window-below.
10982 Correct doc string.
10983
10984 2013-04-12 Roland Winkler <winkler@gnu.org>
10985
10986 * faces.el (read-face-name): Do not override value of arg default.
10987 Allow single faces and strings as default values. Remove those
10988 elements from return value that are not faces.
10989 (describe-face): Simplify.
10990 (face-at-point): New optional args thing and multiple so that this
10991 function can provide the same functionality previously provided by
10992 read-face-name.
10993 (make-face-bold, make-face-unbold, make-face-italic)
10994 (make-face-unitalic, make-face-bold-italic, invert-face)
10995 (modify-face, read-face-and-attribute): Use face-at-point.
10996
10997 * cus-edit.el (customize-face, customize-face-other-window)
10998 * cus-theme.el (custom-theme-add-face)
10999 * face-remap.el (buffer-face-set)
11000 * facemenu.el (facemenu-set-face): Use face-at-point.
11001
11002 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11003
11004 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11005
11006 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11007
11008 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11009 off leading { and trailing } from field values.
11010
11011 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11012
11013 * emacs-lisp/timer.el (timer--check): New function.
11014 (timer--time, timer-set-function, timer-event-handler): Use it.
11015 (timer-set-idle-time): Simplify.
11016 (timer--activate): CSE.
11017 (timer-event-handler): Give more info in error message.
11018 (internal-timer-start-idle): New function, moved from C.
11019
11020 * mpc.el (mpc-proc): Add `restart' argument.
11021 (mpc-proc-cmd): Use it.
11022 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11023 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11024 less often.
11025
11026 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11027
11028 * progmodes/sh-script.el: Implement `sh-mode' own
11029 `add-log-current-defun-function' (bug#14112).
11030 (sh-current-defun-name): New function.
11031 (sh-mode): Use the function.
11032
11033 2013-04-09 Bastien Guerry <bzg@gnu.org>
11034
11035 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11036
11037 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11040
11041 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11042 timer (bug#14156).
11043
11044 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11045
11046 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11047 declaration.
11048
11049 2013-04-07 Leo Liu <sdl.web@gmail.com>
11050
11051 * pcmpl-x.el: New file.
11052
11053 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11054
11055 Do not set x-display-name until X connection is established.
11056 This is needed to prevent from weird situation described at
11057 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11058 * frame.el (make-frame): Set x-display-name after call to
11059 window system initialization function, not before.
11060 * term/x-win.el (x-initialize-window-system): Add optional
11061 display argument and use it.
11062 * term/w32-win.el (w32-initialize-window-system):
11063 * term/ns-win.el (ns-initialize-window-system):
11064 * term/pc-win.el (msdos-initialize-window-system):
11065 Add compatible optional display argument.
11066
11067 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11068
11069 * files.el (normal-backup-enable-predicate): On MS-Windows and
11070 MS-DOS compare truenames of temporary-file-directory and of the
11071 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11072 don't fail comparison by compare-strings. Also, compare file
11073 names case-insensitively on MS-Windows and MS-DOS.
11074
11075 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11078 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11079
11080 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11081
11082 * whitespace.el (whitespace-color-on, whitespace-color-off):
11083 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11084
11085 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11086
11087 * ispell.el (ispell-set-spellchecker-params):
11088 Really set `ispell-args' for all equivs.
11089
11090 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * ido.el (ido-completions): Use extra elements of ido-decorations
11093 (bug#14143).
11094 (ido-decorations): Update docstring.
11095
11096 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11097
11098 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11099 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11100 nil during initialization, in order not to miss changes since the
11101 file was opened. (Bug#14140)
11102
11103 2013-04-05 Leo Liu <sdl.web@gmail.com>
11104
11105 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11106
11107 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11108
11109 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11110
11111 2013-04-04 Glenn Morris <rgm@gnu.org>
11112
11113 * electric.el (electric-pair-inhibit-predicate): Add :version.
11114
11115 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11118 when a package is required several times (bug#14082).
11119
11120 2013-04-04 Roland Winkler <winkler@gnu.org>
11121
11122 * faces.el (read-face-name): Behave as promised by the docstring.
11123 Assume that arg default is a list of faces.
11124 (describe-face): Call read-face-name with list of default faces.
11125
11126 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11127
11128 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11129 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11130 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11131 the header.
11132 (bookmark-exit-hook-internal): Save even if list is empty.
11133
11134 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11135
11136 * emacs-lisp/package.el (package-pinned-packages): New var.
11137 (package--add-to-archive-contents): Obey it (bug#14118).
11138
11139 2013-04-03 Alan Mackenzie <acm@muc.de>
11140
11141 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11142 Also adapt to the new values of element 7 of a parse state.
11143
11144 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11145 parameter `not-in-delimiter'. Handle being inside comment opener.
11146 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11147 character in case we're typing a '*' after a '/'.
11148 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11149 instead by passing the parameter to c-state-pp-to-literal.
11150
11151 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11152 for elt. 7 of a parse state.
11153
11154 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11155
11156 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11157 * international/latin1-disp.el, international/mule-util.el:
11158 * language/cyril-util.el, language/european.el, language/ind-util.el:
11159 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11160 * language/tibetan.el, language/viet-util.el:
11161 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11162
11163 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11166 (electric-pair-post-self-insert-function): Use it.
11167 (electric-pair-default-inhibit): New function, extracted from
11168 electric-pair-post-self-insert-function.
11169
11170 2013-03-31 Roland Winkler <winkler@gnu.org>
11171
11172 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11173
11174 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11177
11178 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11179
11180 Un-indent after "pass" and "return" statements (Bug#13888)
11181 * progmodes/python.el (python-indent-block-enders): New var.
11182 (python-indent-calculate-indentation): Use it.
11183
11184 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11185
11186 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11187 defun. Defining it as defalias could introduce too eager
11188 byte-compiler optimization. (Bug#14030)
11189
11190 2013-03-30 Chong Yidong <cyd@gnu.org>
11191
11192 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11193
11194 2013-03-30 Leo Liu <sdl.web@gmail.com>
11195
11196 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11197 (kmacro-execute-from-register): Pass the keyboard macro to
11198 kmacro-call-macro or repeating won't work correctly.
11199
11200 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11201
11202 * progmodes/subword.el: Back to using `forward-symbol'.
11203
11204 * subr.el (forward-whitespace, forward-symbol)
11205 (forward-same-syntax): Move from thingatpt.el.
11206
11207 2013-03-29 Leo Liu <sdl.web@gmail.com>
11208
11209 * kmacro.el (kmacro-to-register): New command.
11210 (kmacro-execute-from-register): New function.
11211 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11212
11213 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * mpc.el: Use defvar-local and setq-local.
11216 (mpc--proc-connect): Connection failures are not bugs.
11217 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11218 (mpc-volume-map): Bind to the up-events.
11219
11220 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11221
11222 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11223 instead of `forward-symbol'.
11224
11225 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11228 (edebug--recursive-edit): Use it.
11229 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11230 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11231
11232 2013-03-28 Leo Liu <sdl.web@gmail.com>
11233
11234 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11235
11236 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11237
11238 * facemenu.el (list-colors-callback): New defvar.
11239 (list-colors-redisplay): New function.
11240 (list-colors-display): Install list-colors-redisplay as the
11241 revert-buffer-function. (Bug#14063)
11242
11243 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11244
11245 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11246 and suffixes don't overlap (bug#14061).
11247
11248 * case-table.el: Use lexical-binding.
11249 (case-table-get-table): New function.
11250 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11251
11252 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11253
11254 * progmodes/subword.el: Add `superword-mode' to do word motion
11255 over symbol_words (parallels and leverages `subword-mode' which
11256 does word motion inside MixedCaseWords).
11257
11258 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11259
11260 * eshell/em-unix.el: Move su and sudo to...
11261 * eshell/em-tramp.el: ...Eshell tramp module.
11262
11263 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11266 Change return value to be a sexp. Delay `get-buffer' to after
11267 restoring the desktop (bug#13951).
11268
11269 2013-03-26 Leo Liu <sdl.web@gmail.com>
11270
11271 * register.el: Move semantic tag handling back to
11272 cedet/semantic/senator.el. (Bug#14052)
11273
11274 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11277 into the prompt either (bug#13963).
11278
11279 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11282 part of "(error-foo)".
11283
11284 2013-03-24 Juri Linkov <juri@jurta.org>
11285
11286 * replace.el (list-matching-lines-prefix-face): New defcustom.
11287 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11288 `occur-engine' if `face-differs-from-default-p' returns t.
11289 (occur-engine): Add `,' inside backquote construct to evaluate
11290 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11291 Pass `prefix-face' to the functions `occur-context-lines' and
11292 `occur-engine-add-prefix'.
11293 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11294 `prefix-face' and propertize the prefix with `prefix-face'.
11295 (Bug#14017)
11296
11297 2013-03-24 Leo Liu <sdl.web@gmail.com>
11298
11299 * nxml/rng-valid.el (rng-validate-while-idle)
11300 (rng-validate-quick-while-idle): Guard against deleted buffer.
11301 (Bug#13999)
11302
11303 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11304 is the last entry in kill-buffer-hook.
11305
11306 * files.el (kill-buffer-hook): Doc fix.
11307
11308 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11309
11310 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11311 Make it safe-local.
11312
11313 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11314
11315 2013-03-23 Leo Liu <sdl.web@gmail.com>
11316
11317 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11318 Remove.
11319
11320 * nxml/rng-valid.el (rng-validate-mode)
11321 (rng-after-change-function, rng-do-some-validation):
11322 * nxml/rng-maint.el (rng-validate-buffer):
11323 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11324 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11325 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11326 (nxml-extend-after-change-region): Use with-silent-modifications.
11327
11328 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11329 timer-idle-list.
11330
11331 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11332 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11333 timer-idle-list. (Bug#13999)
11334
11335 2013-03-23 Juri Linkov <juri@jurta.org>
11336
11337 * info.el (info-index-match): New face.
11338 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11339 main pattern and add text properties with the new face to matches
11340 in index entries relative to the beginning of the index entry.
11341 (Bug#14015)
11342
11343 2013-03-21 Eric Ludlam <zappo@gnu.org>
11344
11345 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11346 Inhibit read only while inserting objects.
11347
11348 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11349
11350 * progmodes/cfengine.el: Update docs to mention
11351 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11352 symbol motion. Remove "_" from the word syntax.
11353
11354 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11355
11356 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11357 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11358
11359 2013-03-20 Juri Linkov <juri@jurta.org>
11360
11361 * info.el (Info-next-reference-or-link)
11362 (Info-prev-reference-or-link): New functions.
11363 (Info-next-reference, Info-prev-reference): Use them.
11364 (Info-try-follow-nearest-node): Handle footnote navigation.
11365 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11366
11367 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11370 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11371
11372 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11373
11374 Suppress unnecessary non-ASCII chatter during build process.
11375 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11376 (batch-skkdic-convert): Suppress most of the chatter.
11377 It's not needed so much now that machines are faster,
11378 and its non-ASCII component was confusing; see Dmitry Gutov in
11379 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11380
11381 2013-03-20 Leo Liu <sdl.web@gmail.com>
11382
11383 * ido.el (ido-chop): Fix bug#10994.
11384
11385 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11386
11387 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11388 Remove vars.
11389 (whitespace-color-on, whitespace-color-off):
11390 Use `font-lock-fontify-buffer' (Bug#13817).
11391
11392 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11393
11394 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11395 remapping in mode-line.
11396 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11397
11398 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11399
11400 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11401 value for `whitespace-line' face (Bug#13875).
11402 (whitespace-font-lock-keywords): Change description.
11403 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11404 the constructed keywords instead.
11405 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11406
11407 2013-03-19 Leo Liu <sdl.web@gmail.com>
11408
11409 * progmodes/compile.el (compilation-display-error): New command.
11410 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11411 C-o. (Bug#13992)
11412
11413 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11414
11415 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11416
11417 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11418
11419 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11420
11421 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11422
11423 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11424
11425 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11426 * net/tramp-gvfs.el (top):
11427 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11428 (tramp-handle-shell-command): Use it.
11429 (tramp-dissect-file-name): Raise an error when hostname is a
11430 method name, and neither method nor user is specified.
11431
11432 * net/trampver.el: Update release number.
11433
11434 2013-03-18 Leo Liu <sdl.web@gmail.com>
11435
11436 Make sure eldoc can be turned off properly.
11437 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11438 eldoc-mode.
11439 (eldoc-display-message-p): Revert last change.
11440 (eldoc-display-message-no-interference-p)
11441 (eldoc-print-current-symbol-info): Tweak.
11442
11443 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11444
11445 * doc-view.el (doc-view-new-window-function): Check the new window
11446 overlay's display property instead the char property of the
11447 buffer's first char. Use `with-selected-window' instead of
11448 `save-window-excursion' with `select-window'.
11449 (doc-view-document->bitmap): Check the current doc-view overlay's
11450 display property instead the char property of the buffer's first char.
11451
11452 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11453
11454 Automate the build of ja-dic.el (Bug#13984).
11455 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11456 from the input, rather than assume that it's been done for us by the
11457 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11458 the current date into a ja-dic.el comment, as that complicates
11459 regression testing.
11460
11461 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * whitespace.el: Fix double evaluation.
11464 (whitespace-space, whitespace-hspace, whitespace-tab)
11465 (whitespace-newline, whitespace-trailing, whitespace-line)
11466 (whitespace-space-before-tab, whitespace-indentation)
11467 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11468 obsolete defvars.
11469 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11470 (whitespace-color-on): Use a single font-lock-add-keywords call.
11471 Fix double-evaluation of face variables.
11472
11473 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11474
11475 * net/tramp-adb.el (tramp-adb-parse-device-names):
11476 Use `start-process' instead of `call-process'. Otherwise, the
11477 function might be blocked under MS Windows. (Bug#13299)
11478
11479 2013-03-17 Leo Liu <sdl.web@gmail.com>
11480
11481 Extend eldoc to display info in the mode-line. (Bug#13978)
11482 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11483 (eldoc-mode-line-string): New variable.
11484 (eldoc-minibuffer-message): New function.
11485 (eldoc-message-function): New variable.
11486 (eldoc-message): Use it.
11487 (eldoc-display-message-p)
11488 (eldoc-display-message-no-interference-p):
11489 Support eldoc-post-insert-mode.
11490
11491 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11492 (eval-expression): Run it.
11493
11494 2013-03-17 Roland Winkler <winkler@gnu.org>
11495
11496 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11497 strings in the list of return values.
11498
11499 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11500
11501 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11502 radix before checking for HMS forms.
11503
11504 2013-03-16 Leo Liu <sdl.web@gmail.com>
11505
11506 * progmodes/scheme.el: Add indentation and font-locking for λ.
11507 (Bug#13975)
11508
11509 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11512 token before point (bug#13942).
11513
11514 2013-03-16 Leo Liu <sdl.web@gmail.com>
11515
11516 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11517
11518 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11519
11520 * startup.el (command-line-normalize-file-name): Fix handling of
11521 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11522 <xfq.free@gmail.com> in
11523 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11524
11525 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11526
11527 Sync with Tramp 2.2.7.
11528
11529 * net/trampver.el: Update release number.
11530
11531 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11532
11533 * doc-view.el: Fix bug#13887.
11534 (doc-view-insert-image): Don't modify overlay associated to
11535 non-live windows, and implement horizontal centering of image in
11536 case it's smaller than the window.
11537 (doc-view-new-window-function): Force redisplay of new windows on
11538 doc-view buffers.
11539
11540 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11541
11542 * saveplace.el (save-place-alist-to-file): Don't sort
11543 `save-place-alist', just pretty-print it (bug#13882).
11544
11545 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11546
11547 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11548 Check whether `default-file-name-coding-system' is bound.
11549 It isn't in XEmacs.
11550
11551 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11554 backquotes for `obsolete' (bug#13929).
11555
11556 * international/mule.el (find-auto-coding): Include file name in
11557 obsolescence warning (bug#13922).
11558
11559 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11560
11561 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11562 for CFEngine 3-specific indentation.
11563 (cfengine3-indent-line): Use it. Fix up category regex.
11564 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11565
11566 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * type-break.el (type-break-file-name):
11569 * textmodes/remember.el (remember-data-file):
11570 * strokes.el (strokes-file):
11571 * shadowfile.el (shadow-initialize):
11572 * saveplace.el (save-place-file):
11573 * ps-bdf.el (bdf-cache-file):
11574 * progmodes/idlwave.el (idlwave-config-directory):
11575 * net/quickurl.el (quickurl-url-file):
11576 * international/kkc.el (kkc-init-file-name):
11577 * ido.el (ido-save-directory-list-file):
11578 * emulation/viper.el (viper-custom-file-name):
11579 * emulation/vip.el (vip-startup-file):
11580 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11581 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11582
11583 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11584
11585 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11586 * language/thai-word.el: Switch to UTF-8.
11587
11588 See ChangeLog.16 for earlier changes.
11589
11590 ;; Local Variables:
11591 ;; coding: utf-8
11592 ;; End:
11593
11594 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11595
11596 This file is part of GNU Emacs.
11597
11598 GNU Emacs is free software: you can redistribute it and/or modify
11599 it under the terms of the GNU General Public License as published by
11600 the Free Software Foundation, either version 3 of the License, or
11601 (at your option) any later version.
11602
11603 GNU Emacs is distributed in the hope that it will be useful,
11604 but WITHOUT ANY WARRANTY; without even the implied warranty of
11605 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11606 GNU General Public License for more details.
11607
11608 You should have received a copy of the GNU General Public License
11609 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.