]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Prevent themes from obliterating faces on low-color terminals.
[gnu-emacs] / lisp / ChangeLog
1 2013-12-22 Chong Yidong <cyd@gnu.org>
2
3 * faces.el (face-spec-recalc): If the theme specs are not
4 applicable to a frame, fall back on the defface spec. This
5 prevents themes from obliterating faces on low-color terminals.
6
7 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
8
9 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10 after `{'. We need it after block openers, and it doesn't seem
11 to hurt after hash openers.
12
13 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14
15 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
16 extracted from `ruby-smie-rules'.
17 (ruby--electric-indent-chars): New variable.
18 (ruby--electric-indent-p): New function.
19 (ruby-mode): Use `electric-indent-functions' instead of
20 `electric-indent-chars'.
21
22 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
25 docstring.
26 (ruby-smie-rules): Indent plus one level after `=>'.
27
28 2013-12-21 Richard Stallman <rms@gnu.org>
29
30 * simple.el (newline): Doc fix.
31
32 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
33
34 * net/eww.el (eww-list-histories, eww-list-histories)
35 (eww-history-browse, eww-history-quit, eww-history-kill)
36 (eww-history-mode-map, eww-history-mode): New command and
37 functions to list browser histories.
38 (eww-form-text): Support text form with disabled
39 and readonly attributes.
40 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
41
42 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
43
44 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
45 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
46 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
47 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
48 Use `user-error'.
49 (eww-bookmark-mode-map): Add menu.
50 (eww-render, eww-mode): Use `setq-local'.
51 (eww-tool-bar-map): New variable.
52 (eww-mode): Set `tool-bar-map'.
53 (eww-view-source): Check for `html-mode' with `fboundp'.
54
55 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
56
57 * net/shr.el (shr--extract-best-source): Don't bug out on audio
58 elements with text inside. Also remove debugging.
59
60 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
61
62 * cus-start.el (all): Add ns-use-srgb-colorspace.
63
64 2013-12-21 Chong Yidong <cyd@gnu.org>
65
66 * custom.el (custom-theme-recalc-face): Do nothing if the face is
67 undefined. Thus, theme settings for undefined faces do not take
68 effect until the faces are defined with defface, the same as with
69 theme variables.
70
71 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
72 (face-spec-reset-face): Don't assign extra properties in temacs.
73 (face-spec-recalc): Apply X resources too.
74
75 2013-12-21 Chong Yidong <cyd@gnu.org>
76
77 * faces.el (face-spec-set):
78 * cus-face.el (custom-theme-set-faces, custom-set-faces):
79 * custom.el (defface): Doc fixes (Bug#16203).
80
81 * indent.el (indent-rigidly-map): Add docstring, and move commands
82 into named functions.
83 (indent-rigidly-left, indent-rigidly-right)
84 (indent-rigidly-left-to-tab-stop)
85 (indent-rigidly-right-to-tab-stop): New functions. Decide on
86 indentation direction based on bidi direction, and accumulate
87 sequential commands in a single undo boundary.
88 (indent-rigidly--pop-undo): New utility function.
89
90 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
91
92 * faces.el (read-face-name): Require crm.el when using crm-separator.
93
94 2013-12-20 Daniel Colascione <dancol@dancol.org>
95
96 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
97 so that we don't reflow comments into the shebang line.
98
99 2013-12-20 Juri Linkov <juri@jurta.org>
100
101 * saveplace.el (save-place-to-alist): Add `dired-filename' as
102 a position when `dired-directory' is non-nil. Check integer
103 positions with `integerp'.
104 (toggle-save-place, save-places-to-alist): Add check for
105 `dired-directory'.
106 (save-place-find-file-hook): Check integer positions with
107 `integerp'.
108 (save-place-dired-hook): Use `dired-goto-file' when
109 `dired-filename' is found in the assoc list. Check integer
110 positions with `integerp'.
111 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
112
113 * dired.el (dired-initial-position-hook): Rename back from
114 `dired-initial-point-hook'.
115 (dired-initial-position): Rename `dired-initial-point-hook' to
116 `dired-initial-position-hook'.
117 (dired-file-name-at-point): Doc fix. (Bug#15329)
118
119 2013-12-20 Juri Linkov <juri@jurta.org>
120
121 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
122 (read-regexp-suggestions): New function.
123 (read-regexp): Use `read-regexp-defaults-function' to get default values.
124 Use `read-regexp-suggestions'. Add non-empty default to history
125 for empty input.
126 (occur-read-regexp-defaults-function): Remove function.
127 (occur-read-primary-args): Use `regexp-history-last' instead of
128 `occur-read-regexp-defaults-function'.
129
130 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
131 (hi-lock-line-face-buffer, hi-lock-face-buffer)
132 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
133 `hi-lock-read-regexp-defaults-function'. Doc fix.
134 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
135 with `find-tag-default-as-symbol-regexp'. Doc fix.
136 (hi-lock-read-regexp-defaults): Remove function.
137 (hi-lock-regexp-okay): Add check for null.
138
139 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
140 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
141
142 * subr.el (find-tag-default-as-symbol-regexp): New function.
143 (find-tag-default-as-regexp): Move symbol regexp formatting to
144 `find-tag-default-as-symbol-regexp'.
145
146 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
147
148 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
149 (Bug#14179)
150
151 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
152
153 * calendar/todo-mode.el: New implementation of item insertion
154 commands and key bindings.
155 (todo-key-prompt): New face.
156 (todo-insert-item): New command.
157 (todo-insert-item--parameters): New defconst, replacing defvar
158 todo-insertion-commands-args-genlist.
159 (todo-insert-item--param-key-alist): New defconst, replacing
160 defvar todo-insertion-commands-arg-key-list.
161 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
162 (todo-insert-item--argsleft, todo-insert-item--apply-args)
163 (todo-insert-item--next-param): New functions.
164 (todo-insert-item--args, todo-insert-item--argleft)
165 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
166 New variables.
167 (todo-key-bindings-t): Change binding of "i" from
168 todo-insertion-map to todo-insert-item.
169 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
170 (todo-insertion-command-name, todo-insertion-commands-names)
171 (todo-define-insertion-command, todo-insertion-commands)
172 (todo-insertion-key-bindings, todo-insertion-map): Remove.
173
174 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
175
176 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
177 (todo-toggle-item-highlighting): Use eval-and-compile instead of
178 eval-when-compile.
179 (todo-move-category): Allow choosing a non-existing todo file to
180 move the category to, and create that file.
181 (todo-default-priority): New user option.
182 (todo-set-item-priority): Use it.
183 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
184 (desktop-restore-file-buffer): Declare.
185 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
186 (todo-modes-set-2): Locally set desktop-save-buffer to
187 todo-desktop-save-buffer.
188 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
189 (auto-mode-alist): Add autoload cookie.
190
191 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
192
193 * emacs-lisp/subr-x.el: Renamed from helpers.el.
194 helpers.el was a poor choice of name.
195 (string-remove-prefix): New function.
196 (string-remove-suffix): New function.
197
198 2013-12-20 Martin Rudalics <rudalics@gmx.at>
199
200 Fix assignment for new window total sizes.
201 * window.el (window--pixel-to-size): Remove function.
202 (window--pixel-to-total-1, window--pixel-to-total):
203 Fix calculation of new total sizes.
204
205 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
206
207 * comint.el (comint-output-filter): Fix rear-nonsticky property
208 placement (Bug#16010).
209
210 2013-12-20 Chong Yidong <cyd@gnu.org>
211
212 * faces.el (read-color): Minor fix for completion function.
213
214 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
215
216 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
217 New option. (Bug#16182)
218 (ruby-smie--indent-to-stmt-p): Use it.
219 (ruby-smie-rules): Revert the logic in the handling of `when'.
220 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
221 (ruby-deep-arglist, ruby-deep-indent-paren)
222 (ruby-deep-indent-paren-style): Update docstrings to note that the
223 vars don't have any effect with SMIE.
224
225 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
226
227 * calc/calc.el (calc-enter, calc-pop): Use the variable
228 `calc-context-sensitive-enter'.
229
230 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
231
232 * net/shr.el (shr-insert): Protect against infloops in degenerate
233 tables.
234
235 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
236
237 * progmodes/octave.el (octave): Add link to manual and octave
238 homepage.
239 (octave-mode-menu): Link to octave-mode manual.
240
241 2013-12-20 Leo Liu <sdl.web@gmail.com>
242
243 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
244 insertion using skeleton-end-newline. (Bug#16138)
245
246 2013-12-20 Juri Linkov <juri@jurta.org>
247
248 * replace.el (occur-engine): Use `add-face-text-property'
249 to add the face property to matches and titles. (Bug#14645)
250
251 * hi-lock.el (hi-green): Use lighter color "light green" closer to
252 the palette of other hi-lock colors.
253 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
254
255 2013-12-19 Juri Linkov <juri@jurta.org>
256
257 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
258 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
259 (minibuffer-history-symbol): Move variable declaration closer to
260 its usage.
261
262 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
263 (Bug#14785)
264
265 2013-12-19 Juri Linkov <juri@jurta.org>
266
267 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
268 New function.
269 (log-edit-hook): Add it to :options. (Bug#16170)
270
271 2013-12-19 Juri Linkov <juri@jurta.org>
272
273 * simple.el (eval-expression-print-format): Don't check for
274 command names and the last command. Always display additional
275 formats of the integer result in the echo area, and insert them
276 to the current buffer only with a zero prefix arg.
277 Display character when char-displayable-p is non-nil.
278 (eval-expression): With a zero prefix arg, set `print-length' and
279 `print-level' to nil, and insert the integer values from
280 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
281
282 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
283 `eval-last-sexp-arg-internal'. Doc fix.
284 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
285 `eval-last-sexp-print-value'. Doc fix.
286 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
287 Set `print-length' and `print-level' to nil when arg is zero.
288 (eval-last-sexp): Doc fix.
289 (eval-defun-2): Print the integer values from
290 `eval-expression-print-format' at the end.
291
292 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
293 values from `eval-expression-print-format' at the end.
294
295 * ielm.el (ielm-eval-input): Print the integer
296 values from `eval-expression-print-format' at the end.
297
298 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
299
300 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
301 2013-12-11T19:01:44Z!tzz@lifelogs.com.
302
303 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
306 (hl-line-highlight, global-hl-line-highlight): Use it.
307 (hl-line-overlay): Use defvar-local.
308
309 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
310
311 * term/ns-win.el: Require dnd.
312 (global-map): Remove drag items.
313 (ns-insert-text, ns-set-foreground-at-mouse)
314 (ns-set-background-at-mouse):
315 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
316 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
317 New functions.
318
319 2013-12-19 Glenn Morris <rgm@gnu.org>
320
321 * emacs-lisp/ert.el (ert-select-tests):
322 Fix string/symbol mixup. (Bug#16121)
323
324 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
325
326 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
327 keywords to their parent.
328
329 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
330
331 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
332 first arg to be a string (fixed dead code), or an operator symbol.
333 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
334 operator symbols.
335 (ruby-smie-rules): Remove parent token check in the `.' clause, it
336 did nothing. Don't respond to `(:after ".")', it will be called
337 with :before anyway. Remove the ` @ ' rule, it didn't seem to
338 change anything. Only return indentation for binary operators
339 when they are hanging. De-dent opening paren when its parent is
340 `.', otherwise it looks bad when the dot is not at bol or eol
341 (bug#16182).
342
343 2013-12-19 Juri Linkov <juri@jurta.org>
344
345 * replace.el (query-replace-read-args): Split a non-negative arg
346 and a negative arg into separate elements.
347 (query-replace, query-replace-regexp, replace-string)
348 (replace-regexp): Add arg `backward'. Doc fix.
349 (replace-match-maybe-edit): When new arg `backward' is non-nil,
350 move point to the beginning of the match.
351 (replace-search, replace-highlight): Use new arg `backward'
352 to set the value of `isearch-forward'.
353 (perform-replace): Add arg `backward' and use it to perform
354 replacement backward. (Bug#14979)
355
356 * isearch.el (isearch-query-replace): Use a negative prefix arg
357 to call `perform-replace' with a non-nil arg `backward'.
358
359 2013-12-18 Juri Linkov <juri@jurta.org>
360
361 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
362 to the default list. Move `log-edit-show-files' to the end.
363 Add more available functions to options.
364 (log-edit): Move default specific settings to
365 `log-edit-insert-message-template'. Don't move point.
366 (log-edit-insert-message-template): New function.
367 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
368 (Bug#16170)
369
370 2013-12-18 Juri Linkov <juri@jurta.org>
371
372 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
373 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
374
375 2013-12-18 Leo Liu <sdl.web@gmail.com>
376
377 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
378
379 2013-12-18 Eli Zaretskii <eliz@gnu.org>
380
381 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
382 formats for displaying file sizes when the -s switch is given.
383 Instead, compute a separate format for displaying the size in
384 blocks, which is displayed in addition to the "regular" size.
385 When -h is given in addition to -s, produce size in blocks in
386 human-readable form as well. (Bug#16179)
387
388 2013-12-18 Tassilo Horn <tsdh@gnu.org>
389
390 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
391 Reference tables with ~\ref{...} instead of only \ref{...}.
392
393 2013-12-18 Chong Yidong <cyd@gnu.org>
394
395 * cus-edit.el (custom-magic-alist): Fix "themed" description
396 (Bug#14348).
397
398 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
399 is non-nil, do not create a new entry in the symbol's theme-value
400 or theme-face property; update theme-settings only (Bug#14664).
401 (custom-available-themes): Doc fix.
402
403 * cus-theme.el (custom-new-theme-mode-map): Add bindings
404 (Bug#15674).
405
406 * replace.el (occur-engine): Avoid infloop (Bug#7593).
407
408 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
409
410 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
411 (Bug#13914).
412
413 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
414
415 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
416
417 2013-12-18 Glenn Morris <rgm@gnu.org>
418
419 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
420 * cus-start.el (load-prefer-newer): New option.
421
422 2013-12-18 Le Wang <l26wang@gmail.com>
423
424 * comint.el (comint-previous-matching-input-from-input):
425 Retain point (Bug#13404).
426
427 2013-12-18 Chong Yidong <cyd@gnu.org>
428
429 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
430
431 2013-12-18 Glenn Morris <rgm@gnu.org>
432
433 * mail/emacsbug.el (report-emacs-bug):
434 Only mention enable-multibyte-characters if non-standard.
435
436 2013-12-17 Juri Linkov <juri@jurta.org>
437
438 * arc-mode.el (archive-extract-by-file): Check if directory exists
439 before deletion to not show irrelevant errors if it doesn't exist.
440
441 2013-12-17 Juri Linkov <juri@jurta.org>
442
443 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
444 (Bug#14751)
445
446 * net/eww.el (browse-web): Add alias to `eww'.
447 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
448 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
449
450 * net/browse-url.el (browse-url-browser-function): Move `eww'
451 closer to similar functions.
452
453 * startup.el (fancy-startup-screen, fancy-about-screen):
454 Set browse-url-browser-function to eww-browse-url locally.
455 (Bug#14751)
456
457 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * window.el (window--pixel-to-total): Remove unused `mini' var.
460 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
461 (split-window): Remove unused `new' var.
462 (window--display-buffer): Remove unused `frame' and `delta' vars.
463 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
464 and display-width'.
465
466 2013-12-17 Martin Rudalics <rudalics@gmx.at>
467
468 * dired.el (dired-mark-pop-up):
469 * register.el (register-preview): Don't bind
470 split-height-threshold here since it's now done in
471 display-buffer-below-selected.
472
473 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
474
475 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
476 xterm-rgb-convert-to-16bit.
477 (rxvt-register-default-colors): Standardize with
478 xterm-register-default-colors (Bug#14078).
479
480 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
481
482 * simple.el (kill-region): Pass mark first, then point, so that
483 kill-append works right (Bug#12819).
484 (copy-region-as-kill, kill-ring-save): Likewise.
485
486 2013-12-17 Leo Liu <sdl.web@gmail.com>
487
488 * net/rcirc.el (rcirc-add-face):
489 * eshell/em-prompt.el (eshell-emit-prompt):
490 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
491 (Bug#16167)
492
493 2013-12-17 Chong Yidong <cyd@gnu.org>
494
495 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
496 Suggested by Xue Fuqiao.
497
498 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
499
500 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
501
502 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * net/shr.el (shr-insert-document): Remove unused var
505 `shr-preliminary-table-render'.
506 (shr-rescale-image): Remove unused arg `force'.
507 (shr-put-image): Update calls accordingly.
508 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
509
510 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
511
512 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
513 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
514 :close-all, to see which indentation method to use (Bug#16116).
515 (smie-rules-function): Document the method :close-all.
516
517 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
518
519 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
520
521 * net/eww.el (eww-display-html): If we can't find the anchor we're
522 looking for, then go to point-min.
523
524 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
525
526 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
527 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
528 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
529 Expand dir too, in case it's relative.
530
531 2013-12-16 Juri Linkov <juri@jurta.org>
532
533 * desktop.el (desktop-auto-save-timeout): Change default to
534 `auto-save-timeout'. Doc fix.
535 (desktop-save): Skip the timestamp in desktop-saved-frameset
536 when checking for auto-save changes.
537 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
538 `desktop-auto-save' is called repeatedly by the idle timer.
539 (desktop-auto-save-set-timer): Replace `run-with-timer' with
540 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
541 (Bug#15331)
542
543 2013-12-16 Juri Linkov <juri@jurta.org>
544
545 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
546 (Bug#16035)
547 (isearch-pre-command-hook): Check `this-command' for symbolp.
548
549 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
552
553 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
554
555 * progmodes/cfengine.el (cfengine3--current-word): Remove.
556 (cfengine3--current-function): Bring in the current-function
557 functionality from `cfengine3--current-word'.
558 (cfengine3-completion-function): Bring in the
559 bounds-of-current-word functionality from
560 `cfengine3--current-word'.
561
562 2013-12-16 Martin Rudalics <rudalics@gmx.at>
563
564 * window.el (display-buffer-below-selected):
565 Bind split-height-threshold to 0 as suggested by Juri Linkov.
566
567 2013-12-16 Leo Liu <sdl.web@gmail.com>
568
569 * progmodes/compile.el (compile-goto-error): Do not push-mark.
570 Remove NOMSG arg and all uses changed.
571
572 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
575 (cua--deactivate-rectangle): Don't deactivate the mark.
576 (cua-set-rectangle-mark): Don't set mark-active since
577 cua--activate-rectangle already does it for us.
578 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
579 non-rectangular region.
580
581 * emulation/cua-base.el (cua-repeat-replace-region):
582 Use with-current-buffer.
583
584 * net/gnutls.el: Use cl-lib.
585 (gnutls-negotiate): `mapcan' -> cl-mapcan.
586
587 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
588
589 * emacs-lisp/package.el (package-built-in-p): Support both
590 built-in and the package.el converted package descriptions.
591 (package-show-package-list): Allow keywords.
592 (package-keyword-button-action): Use it instead of
593 `finder-list-matches'.
594 (package-menu-filter-interactive): Interactive filtering (by
595 keyword) function.
596 (package-menu--generate): Support keywords and change keymappings
597 and headers when they are given.
598 (package--has-keyword-p): Helper function.
599 (package-menu--refresh): Use it.
600 (package--mapc): Helper function.
601 (package-all-keywords): Use it.
602 (package-menu-mode-map): Set up menu items and keybindings to
603 provide a filtering UI.
604
605 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
606
607 * net/gnutls.el (gnutls-verify-error): New defcustom to control
608 the behavior when a certificate fails validation. Defaults to
609 old behavior: never abort, just warn.
610 (gnutls-negotiate): Use it.
611
612 2013-12-14 Martin Rudalics <rudalics@gmx.at>
613
614 * window.el (display-buffer-below-selected): Never split window
615 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
616
617 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
618
619 * emacs-lisp/package.el (package--prepare-dependencies): New function.
620 (package-buffer-info): Use it (bug#15108).
621
622 * icomplete.el (icomplete-completions): Make sure the prefix is already
623 displayed elsewhere before hiding it.
624
625 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
626
627 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
628 open-paren tokens when preceded by a open-paren, too.
629 (ruby-smie-rules): Handle virtual indentation after open-paren
630 tokens specially. If there is code between it and eol, return the
631 column where is starts (Bug#16118).
632
633 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
634
635 * progmodes/cfengine.el: Fix `add-hook' doc.
636 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
637 (cfengine3--current-word): Fix parameters.
638 (cfengine3-make-syntax-cache): Simplify further.
639 (cfengine3-completion-function, cfengine3--current-function):
640 Use `assq' for symbols.
641 (cfengine3--current-function): Fix `cfengine3--current-word' call.
642
643 2013-12-13 Glenn Morris <rgm@gnu.org>
644
645 * loadup.el (load-path): Warn if site-load or site-init changes it.
646 No more need to reset it when bootstrapping.
647
648 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
649
650 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
651 locations for cf-promises.
652 (cfengine-mode-syntax-functions-regex): New caching variable.
653 (cfengine3-fallback-syntax): Fallback syntax for cases where
654 cf-promises doesn't run.
655 (cfengine3--current-word): Reimplement using
656 `cfengine-mode-syntax-functions-regex'.
657 (cfengine3-completion-function, cfengine3--current-function):
658 Use `cfengine3-make-syntax-cache' directly.
659 (cfengine3-clear-syntax-cache): New function.
660 (cfengine3-make-syntax-cache): Simplify and create
661 `cfengine-mode-syntax-functions-regex' on demand.
662 (cfengine3-format-function-docstring): Don't call
663 `cfengine3-make-syntax-cache' explicitly.
664
665 2013-12-13 Martin Rudalics <rudalics@gmx.at>
666
667 Fix windmove-find-other-window broken after pixelwise resizing
668 (Bug#16017).
669 * windmove.el (windmove-other-window-loc): Revert change from
670 2013-12-04.
671 (windmove-find-other-window): Call window-in-direction.
672 * window.el (window-in-direction): New arguments SIGN, WRAP and
673 MINI to emulate original windmove-find-other-window behavior.
674
675 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
676
677 * simple.el (blink-matching--overlay): New variable.
678 (blink-matching-open): Instead of moving point, highlight the
679 matching paren with an overlay
680 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
681
682 * faces.el (paren-showing-faces, show-paren-match)
683 (show-paren-mismatch): Move from paren.el.
684
685 2013-12-13 Leo Liu <sdl.web@gmail.com>
686
687 * indent.el (indent-region): Disable progress reporter in
688 minibuffer. (Bug#16108)
689
690 * bindings.el (visual-order-cursor-movement): Fix version.
691
692 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
693
694 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
695 Also match after beginning of line.
696 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
697 files. Thanks to Russell Sim. (Bug#15378)
698
699 2013-12-13 Juri Linkov <juri@jurta.org>
700
701 * simple.el <Keypad support>: Remove key bindings duplicated
702 with bindings.el. (Bug#14397)
703
704 2013-12-13 Juri Linkov <juri@jurta.org>
705
706 * comint.el (comint-mode-map): Replace `delete-char' with
707 `delete-forward-char'. (Bug#16109)
708
709 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
710
711 * progmodes/python.el (python-indent-calculate-indentation):
712 Fix de-denters cornercase. (Bug#15731)
713
714 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
717 (advice--make): Pay attention to `depth'.
718 (advice--make-1): Don't autoload commands eagerly.
719 * emacs-lisp/elp.el (elp-instrument-function):
720 * emacs-lisp/trace.el (trace-function-internal):
721 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
722
723 * iswitchb.el (iswitchb-mode): Don't belittle ido.
724
725 2013-12-12 Eli Zaretskii <eliz@gnu.org>
726
727 * term/w32-win.el (w32-handle-dropped-file):
728 * startup.el (normal-top-level):
729 * net/browse-url.el (browse-url-file-url):
730 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
731 decode file names using 'utf-8' rather than
732 file-name-coding-system.
733
734 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
735
736 * progmodes/python.el (python-indent-context)
737 (python-indent-calculate-indentation): Fix auto-identation
738 behavior for comment blocks. (Bug#15916)
739
740 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
741
742 * progmodes/python.el (python-indent-calculate-indentation):
743 When determining indentation, don't treat "return", "pass", etc., as
744 operators when they are just string constituents. (Bug#15812)
745
746 2013-12-12 Juri Linkov <juri@jurta.org>
747
748 * uniquify.el (uniquify-buffer-name-style): Change default to
749 `post-forward-angle-brackets'.
750
751 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
752 `uniquify'. Change default to `post-forward-angle-brackets'.
753
754 2013-12-11 Glenn Morris <rgm@gnu.org>
755
756 * emacs-lisp/package.el (finder-list-matches):
757 Autoload rather than falsely declaring.
758
759 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
760
761 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
762 (eww-mode-map): Use them.
763
764 2013-12-11 Martin Rudalics <rudalics@gmx.at>
765
766 * window.el (display-buffer-in-side-window): Fix doc-string
767 (Bug#16115).
768
769 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
770
771 * vc/vc-git.el: Silence byte-compiler warnings.
772 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
773 (log-edit-set-header): Declare.
774
775 2013-12-11 Eli Zaretskii <eliz@gnu.org>
776
777 * Makefile.in (custom-deps, finder-data): Run output file names
778 through unmsys--file-name. (Bug#16099)
779
780 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
783 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
784
785 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
786 instead of deleting the selection "by hand" (bug#16098).
787 Rely on insert-for-yank to yank rectangles.
788 (cua-highlight-region-shift-only): Mark obsolete.
789 (cua-mode): Don't enable/disable transient-mark-mode,
790 shift-select-mode (cua-mode works both with and without them), and
791 pc-selection-mode (obsolete).
792 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
793 (cua--deactivate-rectangle): Deactivate it.
794
795 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
796 (delete-selection-helper): Make sure yank starts at the top of the
797 deleted region.
798 (minibuffer-keyboard-quit): Use region-active-p.
799
800 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
801
802 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
803 to `delete' (bug#16109).
804
805 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
806
807 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
808 info manual and show keybindings and set `:group' keyword.
809
810 2013-12-11 Juri Linkov <juri@jurta.org>
811
812 * delsel.el (delete-active-region): Let-bind `this-command'
813 to prevent `kill-region' from changing its original value.
814 (delete-selection-helper): Handle `overwrite-mode' for the type
815 `kill' exactly the same way as for the type `t'.
816 (insert-char, quoted-insert, reindent-then-newline-and-indent):
817 Support more commands. (Bug#13312)
818
819 2013-12-11 Juri Linkov <juri@jurta.org>
820
821 * bindings.el: Map kp keys to non-kp keys systematically
822 with basic modifiers control, meta and shift. (Bug#14397)
823
824 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
825
826 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
827 "Close browser" menu items. Fix wrong function of "List
828 bookmarks".
829
830 2013-12-11 Juri Linkov <juri@jurta.org>
831
832 * misearch.el (multi-isearch-buffers): Set the value of
833 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
834 arg of isearch-forward to t.
835 (multi-isearch-buffers-regexp): Set the value of
836 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
837 arg of isearch-forward-regexp to t.
838 (multi-isearch-files): Set the value of
839 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
840 arg of isearch-forward to t.
841 (multi-isearch-files-regexp): Set the value of
842 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
843 arg of isearch-forward-regexp to t. (Bug#16035)
844
845 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
846 arg of isearch-forward to t.
847 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
848 arg of isearch-forward-regexp to t.
849 (dired-isearch-filter-filenames): Remove unnecessary check for
850 `dired-isearch-filenames'.
851
852 * comint.el (comint-history-isearch-backward):
853 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
854 (comint-history-isearch-backward-regexp):
855 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
856
857 2013-12-10 Eli Zaretskii <eliz@gnu.org>
858
859 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
860 unmsys--file-name. (Bug#16099)
861
862 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
863
864 * emacs-lisp/package.el (package-keyword-button-action):
865 Remove finder.el require dependency.
866
867 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
868
869 * emacs-lisp/package.el: Require finder.el.
870 (describe-package-1): Add keyword buttons.
871 (package-make-button): New convenience function.
872 (package-keyword-button-action): Keyword button action using
873 `finder-list-matches'.
874
875 2013-12-09 Eli Zaretskii <eliz@gnu.org>
876
877 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
878 last commit.
879
880 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
881
882 * autorevert.el (auto-revert-notify-add-watch): Do not handle
883 symlinked files.
884
885 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
886
887 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
888 after the end of a percent literal.
889
890 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
891
892 * progmodes/ruby-mode.el (ruby-forward-string): Document.
893 Handle caret-delimited strings (Bug#16079).
894
895 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
896
897 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
898 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
899 `ruby-parse-partial' (Bug#16078).
900
901 2013-12-09 Leo Liu <sdl.web@gmail.com>
902
903 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
904
905 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
906
907 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
908 (js-switch-indent-offset): New option.
909 (js--proper-indentation): Use it. And handle the case when
910 "default" is actually a key in an object literal.
911 (js--same-line): New function.
912 (js--multi-line-declaration-indentation): Use it.
913 (js--indent-in-array-comp, js--array-comp-indentation):
914 New functions.
915 (js--proper-indentation): Use them, to handle array comprehension
916 continuations.
917
918 2013-12-08 Leo Liu <sdl.web@gmail.com>
919
920 * progmodes/flymake.el (flymake-highlight-line): Re-write.
921 (flymake-make-overlay): Remove arg MOUSE-FACE.
922 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
923
924 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
927 New function.
928 (redisplay-highlight-region-function): Use it.
929
930 * emulation/cua-base.el (cua--explicit-region-start)
931 (cua--last-region-shifted): Remove.
932 (cua--deactivate): Use deactivate-mark.
933 (cua--pre-command-handler-1): Don't handle shift-selection.
934 (cua--post-command-handler-1): Don't change transient-mark-mode.
935 (cua--select-keymaps): Use region-active-p rather than
936 cua--explicit-region-start or cua--last-region-shifted.
937 (cua-mode): Enable shift-select-mode.
938
939 2013-12-08 Leo Liu <sdl.web@gmail.com>
940
941 * progmodes/flymake.el (flymake-popup-current-error-menu):
942 Rename from flymake-display-err-menu-for-current-line. Reimplement.
943 (flymake-posn-at-point-as-event, flymake-popup-menu)
944 (flymake-make-emacs-menu): Remove. (Bug#16077)
945
946 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * rect.el (rectangle-mark-mode): Activate mark even if
949 transient-mark-mode is off (bug#16066).
950 (rectangle--highlight-for-redisplay): Fix boundary condition when point
951 is > mark and at bolp.
952
953 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
954 (region-extract-function): Use it.
955 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
956 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
957 Delete functions.
958 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
959 kill-ring-save, kill-region, delete-char, delete-forward-char.
960 Ignore self-insert-iso.
961
962 * emulation/cua-gmrk.el (cua--init-global-mark):
963 Ignore `self-insert-iso'.
964
965 * emulation/cua-base.el (cua--prefix-copy-handler)
966 (cua--prefix-cut-handler): Rely on region-extract-function rather than
967 checking cua--rectangle.
968 (cua-delete-region): Use region-extract-function.
969 (cua-replace-region): Delete function.
970 (cua-copy-region, cua-cut-region): Obey region-extract-function.
971 (cua--pre-command-handler-1): Don't do the delete-selection thing.
972 (cua--self-insert-char-p): Ignore `self-insert-iso'.
973 (cua--init-keymaps): Don't remap delete-selection commands.
974 (cua-mode): Use delete-selection-mode instead of rolling our own
975 (bug#16085).
976
977 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
978 Obey region-extract-function.
979
980 Make registers and delete-selection-mode work on rectangles.
981 * register.el (describe-register-1): Don't modify the register's value.
982 (copy-to-register): Obey region-extract-function.
983 * delsel.el (delete-active-region): Obey region-extract-function.
984
985 2013-12-08 Leo Liu <sdl.web@gmail.com>
986
987 * progmodes/flymake.el (flymake, flymake-error-bitmap)
988 (flymake-warning-bitmap, flymake-fringe-indicator-position)
989 (flymake-compilation-prevents-syntax-check)
990 (flymake-start-syntax-check-on-newline)
991 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
992 (flymake-start-syntax-check-on-find-file, flymake-log-level)
993 (flymake-xml-program, flymake-master-file-dirs)
994 (flymake-master-file-count-limit)
995 (flymake-allowed-file-name-masks): Relocate.
996 (flymake-makehash, flymake-float-time)
997 (flymake-replace-regexp-in-string, flymake-split-string)
998 (flymake-get-temp-dir): Remove.
999 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1000 (flymake-current-row, flymake-selected-frame)
1001 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1002 related functions. (Bug#16077)
1003
1004 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1005
1006 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1007
1008 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1009
1010 * help-fns.el (describe-function-1): Use new advice-* functions
1011 rather than old ad-* functions. Fix function type description and
1012 source links for advised functions and subrs.
1013
1014 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1015
1016 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1017
1018 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * progmodes/compile.el (compilation-start):
1021 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1022
1023 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1024 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1025
1026 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1027
1028 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1029 Touch up the last change.
1030
1031 2013-12-06 Leo Liu <sdl.web@gmail.com>
1032
1033 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1034 (inferior-octave-startup): Always use "octave> " for prompt.
1035 (octave-goto-function-definition)
1036 (octave-sync-function-file-names)
1037 (octave-find-definition-default-filename): Remove redundant backquotes.
1038
1039 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1040
1041 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1042 syntax for `?'.
1043 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1044 where appropriate already.
1045 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1046 end of method names (Bug#15874).
1047
1048 2013-12-06 Juri Linkov <juri@jurta.org>
1049
1050 * isearch.el (isearch--saved-overriding-local-map):
1051 New internal variable.
1052 (isearch-mode): Set it to the initial value of
1053 `overriding-terminal-local-map'.
1054 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1055 with `isearch--saved-overriding-local-map'. (Bug#16035)
1056
1057 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * progmodes/octave.el (inferior-octave-completion-table):
1060 Turn back into function, use `completion-table-with-cache'
1061 (Bug#11906). Update all references.
1062
1063 * minibuffer.el (completion-table-with-cache): New function.
1064
1065 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1066
1067 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1068
1069 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1070
1071 * net/eww.el (eww-current-source): New variable to store page
1072 source.
1073 (eww-display-html, eww-mode, eww-save-history)
1074 (eww-restore-history): Use it.
1075 (eww-view-source): New command to view page source.
1076 Opportunistically uses `html-mode' to highlight the buffer.
1077 (eww-mode-map): Install it.
1078
1079 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1080
1081 * net/dbus.el (dbus-unregister-service)
1082 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1083 Fix docstring.
1084 (dbus-unregister-service): Skip :serial entries in
1085 `dbus-registered-objects-table'.
1086 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1087
1088 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1089
1090 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1091 around keywords with extra `split-string' argument.
1092
1093 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1094
1095 * windmove.el (windmove-other-window-loc): Handle navigation
1096 between windows (excluding the minibuffer window - Bug#16017).
1097
1098 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1101 in D-Bus type syntax.
1102 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1103 preserve unibyte strings. (Bug#16048)
1104
1105 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1108 Call force-mode-line-update is the proper buffer (bug#16042).
1109
1110 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1113 `log-edit-remember-comment', make argument optional. Adjust all
1114 callers.
1115 (log-edit-mode): Add `log-edit-remember-comment' to
1116 `kill-buffer-hook' locally.
1117 (log-edit-kill-buffer): Don't remember comment explicitly since
1118 the buffer is killed anyway.
1119
1120 2013-12-04 Juri Linkov <juri@jurta.org>
1121
1122 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1123 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1124
1125 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1126
1127 * notifications.el (notifications-close-notification): Call the
1128 D-Bus method with ID being a `:uint32'. (Bug#16030)
1129
1130 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1131
1132 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1133
1134 2013-12-03 Juri Linkov <juri@jurta.org>
1135
1136 * progmodes/compile.el (compilation-start): Rename window alist
1137 entry `no-display-ok' to `allow-no-window'.
1138
1139 * simple.el (shell-command): Add window alist entry
1140 `allow-no-window' to `display-buffer'.
1141 (async-shell-command): Doc fix.
1142
1143 * window.el (display-buffer-no-window): New action function.
1144 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1145
1146 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1147
1148 * vc/log-edit.el (log-edit-set-header): Extract from
1149 `log-edit-toggle-header'.
1150 (log-edit-extract-headers): Separate the summary, when extracted
1151 from header, from the rest of the message with an empty line.
1152
1153 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1154 line, if present, to the Summary header.
1155
1156 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1159 in current-buffer (bug#16029).
1160
1161 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1162
1163 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1164 (debugger-mode-map): Bind it.
1165 (debugger--backtrace-base): New function.
1166 (debugger-eval-expression): Use it.
1167 (debugger-frame-number): Skip local vars when present.
1168 (debugger--locals-visible-p, debugger--insert-locals)
1169 (debugger--show-locals, debugger--hide-locals): New functions.
1170
1171 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1172
1173 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1174 "LC_ALL".
1175 (tramp-get-remote-locale): New defun.
1176 (tramp-open-connection-setup-interactive-shell): Use it.
1177
1178 2013-12-02 Leo Liu <sdl.web@gmail.com>
1179
1180 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1181
1182 * progmodes/sh-script.el (sh-shell-process):
1183 * progmodes/octave.el (inferior-octave-process-live-p):
1184 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1185 (gdb-inferior-io-sentinel):
1186 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1187
1188 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1189
1190 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1191 `save-selected-window' to `log-edit-hide-buf'. This makes
1192 `log-edit-show-files' idempotent.
1193 (log-edit-show-files): Mark the new window as dedicated.
1194
1195 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1196
1197 * vc/log-edit.el (log-edit-mode-map): Add binding for
1198 `log-edit-kill-biffer'.
1199 (log-edit-hide-buf): Add a FIXME comment.
1200 (log-edit-add-new-comment): New function, extracted from
1201 `log-edit-done'.
1202 (log-edit-done, log-edit-add-to-changelog): Use it.
1203 (log-edit-kill-buffer): New command.
1204
1205 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1206
1207 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1208 instead of killing the buffer.
1209
1210 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1213
1214 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1215
1216 * net/eww.el (eww-form-checkbox-selected-symbol)
1217 (eww-form-checkbox-symbol): New customizable variable.
1218 (eww-form-checkbox, eww-toggle-checkbox):
1219 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1220
1221 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1222 (shr--get-media-pref, shr--extract-best-source): New function.
1223 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1224 no :src tag was specified.
1225
1226 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1227 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1228 Use \\` to match beginning of string instead of ^.
1229 (eww-browse-with-external-browser): Provide optional URL parameter.
1230 (eww-render): Set `eww-current-title' back to "".
1231
1232 * net/shr.el (shr-tag-video): Display content for video if no
1233 poster is available.
1234 (shr-tag-audio): Add support for <audio> tag.
1235
1236 * net/eww.el (eww-text-input-types): New const.
1237 (eww-process-text-input): Treat input types in
1238 `eww-text-input-types' as text.
1239
1240 * net/shr.el (shr-tag-table): Fix comment typo.
1241
1242 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1243
1244 * net/eww.el (eww-follow-link): New command to avoid reloading
1245 pages when we follow #target links (bug#15243).
1246 (eww-quit): Special mode buffers shouldn't query before exiting.
1247
1248 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1249
1250 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1251 forms.
1252
1253 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1254
1255 * net/eww.el (eww-restore-history): Update the window title after
1256 moving in the history.
1257 (eww-current-dom): New variable used to save the current DOM.
1258
1259 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * vc/log-edit.el (log-edit-mode-map): Add binding for
1262 `log-edit-beginning-of-line'.
1263 (log-edit-setup-add-author): New user option.
1264 (log-edit-beginning-of-line): New command.
1265 (log-edit): Move major mode call above the contents setup so that
1266 the local variable values are already applied.
1267 (log-edit): Only insert "Author: " when
1268 `log-edit-setup-add-author' is non-nil.
1269 (log-edit): When SETUP is non-nil, position point after ": "
1270 instead of point-min.
1271
1272 2013-12-01 Glenn Morris <rgm@gnu.org>
1273
1274 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1275
1276 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1277
1278 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1279 redisplay to make sure the initial frame gets a chance to become
1280 visible. (Bug#16014)
1281
1282 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1283
1284 Support resizing frames and windows pixelwise.
1285 * cus-start.el (frame-resize-pixelwise)
1286 (window-resize-pixelwise): New entries.
1287 * emacs-lisp/debug.el (debug): Use window-total-height instead
1288 of window-total-size.
1289 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1290 * help.el (describe-bindings-internal): Call help-buffer
1291 (temp-buffer-max-width): New option.
1292 (resize-temp-buffer-window, help-window-setup)
1293 (with-help-window): Rewrite.
1294 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1295 dragging dividers.
1296 * window.el (frame-char-size, window-min-pixel-height)
1297 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1298 (window-min-pixel-width, window-safe-min-pixel-size)
1299 (window-combination-p, window-safe-min-size)
1300 (window-resizable-p, window--size-to-pixel)
1301 (window--pixel-to-size, window--resize-apply-p): New functions.
1302 (window-safe-min-height): Fix doc-string.
1303 (window-size, window-min-size, window--min-size-1)
1304 (window-sizable, window-sizable-p, window--min-delta-1)
1305 (window-min-delta, window--max-delta-1, window-max-delta)
1306 (window--resizable, window--resizable-p, window-resizable)
1307 (window-full-height-p, window-full-width-p, window-at-side-p)
1308 (window--in-direction-2, window-in-direction)
1309 (window--resize-reset-1, window--resize-mini-window)
1310 (window-resize, window-resize-no-error)
1311 (window--resize-child-windows-normal)
1312 (window--resize-child-windows, window--resize-siblings)
1313 (window--resize-this-window, window--resize-root-window)
1314 (window--resize-root-window-vertically)
1315 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1316 (maximize-window, minimize-window, delete-window)
1317 (quit-restore-window, window-split-min-size, split-window)
1318 (balance-windows-2, balance-windows)
1319 (balance-windows-area-adjust, balance-windows-area)
1320 (window--state-get-1, window-state-get, window--state-put-1)
1321 (window--state-put-2, window-state-put)
1322 (display-buffer-record-window, window--display-buffer):
1323 Make functions handle pixelwise sizing of windows.
1324 (display-buffer--action-function-custom-type)
1325 (display-buffer-fallback-action):
1326 Add display-buffer-in-previous-window.
1327 (display-buffer-use-some-window): Resize window to height it had
1328 before.
1329 (fit-window-to-buffer-horizontally): New option.
1330 (fit-frame-to-buffer): Describe new values.
1331 (fit-frame-to-buffer-bottom-margin): Replace with
1332 fit-frame-to-buffer-margins.
1333 (window--sanitize-margin): New function.
1334 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1335 using window-text-pixel-size.
1336
1337 2013-11-30 Glenn Morris <rgm@gnu.org>
1338
1339 * emacs-lisp/bytecomp.el (byte-compile-form):
1340 Make the `interactive-only' warning like the `obsolete' one.
1341 * comint.el (comint-run):
1342 * files.el (insert-file-literally, insert-file):
1343 * replace.el (replace-string, replace-regexp):
1344 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1345 (goto-line, insert-buffer, next-line, previous-line):
1346 Tweak `interactive-only' spec.
1347
1348 Stop keeping (most) generated cedet grammar files in the repository.
1349 * Makefile.in (semantic): New.
1350 (compile-main): Depend on semantic.
1351
1352 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1355 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1356
1357 * uniquify.el (uniquify-buffer-name-style): Change default.
1358
1359 * loadup.el: Preload "uniquify".
1360
1361 * time.el (display-time-update): Update all mode lines (bug#15999).
1362
1363 * electric.el (electric-indent-mode): Enable by default.
1364 * loadup.el: Preload "electric".
1365
1366 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1367
1368 * emacs-lisp/helpers.el (string-empty-p): New function.
1369 (string-blank-p): New function.
1370
1371 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1372
1373 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1374 (Bug#14029).
1375
1376 2013-11-29 Andreas Politz <politza@fh-trier.de>
1377 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1378 allow non-lambda lists as functions.
1379 (imenu--in-alist): Don't recurse into non-subalists.
1380 (imenu): Don't pass function itself as an argument (Bug#14029).
1381
1382 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * progmodes/python.el (python-mode-map): Remove binding for ":".
1385 (python-indent-electric-colon): Remove command.
1386 (python-indent-post-self-insert-function): Integrate the previous code
1387 of python-indent-electric-colon. Make it conditional on
1388 electric-indent-mode.
1389 (python-mode): Add ?: to electric-indent-chars.
1390 Move python-indent-post-self-insert-function to the end of
1391 post-self-insert-hook.
1392
1393 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * doc-view.el (doc-view-goto-page): Update mode-line.
1396
1397 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1398
1399 2013-11-27 Glenn Morris <rgm@gnu.org>
1400
1401 * international/charprop.el, international/uni-bidi.el:
1402 * international/uni-category.el, international/uni-combining.el:
1403 * international/uni-comment.el, international/uni-decimal.el:
1404 * international/uni-decomposition.el, international/uni-digit.el:
1405 * international/uni-lowercase.el, international/uni-mirrored.el:
1406 * international/uni-name.el, international/uni-numeric.el:
1407 * international/uni-old-name.el, international/uni-titlecase.el:
1408 * international/uni-uppercase.el:
1409 Remove generated files from VCS repository.
1410
1411 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1412
1413 * filenotify.el (file-notify-add-watch): Don't special-case
1414 w32notify when computing the directory to watch.
1415
1416 2013-11-27 Glenn Morris <rgm@gnu.org>
1417
1418 Make bootstrap without generated uni-*.el files possible again.
1419 * loadup.el: Update command-line-args checking for unidata-gen.
1420 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1421 * composite.el, international/characters.el:
1422 Handle unicode tables being undefined.
1423
1424 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1425 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1426 (compile-main): Depend on leim rule.
1427 (leim): New rule.
1428 * loadup.el: Move leim-list.el to leim/ subdirectory.
1429 * startup.el (normal-top-level): No more leim directory.
1430 * international/ja-dic-cnv.el (skkdic-convert):
1431 Disable version-control and autoloads in output files.
1432 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1433 Disable version-control and autoloads in output files.
1434 * leim/quail: Move here from ../leim.
1435 * leim/quail/hangul.el (hangul-input-method-activate):
1436 Add autoload cookie.
1437 (generated-autoload-load-name): Set file-local value.
1438 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1439 (generated-autoload-load-name): Set file-local value.
1440
1441 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1442
1443 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1444 (eww-add-bookmark): Ask confirmation when add to bookmarks
1445 (eww-quit): Ask confirmation before quitting eww.
1446
1447 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1448
1449 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1450 reading output from Diff on MS-Windows and MS-DOS.
1451
1452 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1453
1454 * emacs-lisp/helpers.el (string-reverse): New function.
1455
1456 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1457
1458 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1459 names on MS Windows, like "/[::1]:".
1460
1461 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1462 SWITCHES.
1463
1464 2013-11-26 Glenn Morris <rgm@gnu.org>
1465
1466 * progmodes/python.el (python-indent-guess-indent-offset):
1467 Avoid corner-case error. (Bug#15975)
1468
1469 Preload leim-list.el. (Bug#4789)
1470 * loadup.el: Load leim-list.el when found.
1471 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1472
1473 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1474
1475 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1476
1477 * emacs-lisp/helpers.el (string-join): New function.
1478
1479 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1480
1481 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1482 Mark as obsolete and replace it with a symbol property.
1483 (byte-compile-form): Use new 'interactive-only property.
1484 * comint.el, files.el, replace.el, simple.el:
1485 Apply new 'interactive-only properly.
1486
1487 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1488
1489 * window.el (display-buffer-at-bottom): Make sure that
1490 split-window-sensibly creates the new window on bottom
1491 (Bug#15961).
1492
1493 2013-11-23 David Kastrup <dak@gnu.org>
1494
1495 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1496 on the conflict markers when available.
1497 (smerge--get-marker): New function.
1498 (smerge-end-re, smerge-base-re): Add subgroup.
1499
1500 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * frame.el (handle-focus-in, handle-focus-out): Add missing
1503 interactive spec.
1504
1505 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1506
1507 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1508 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1509
1510 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1513 (gomoku--last-pos): New var.
1514 (gomoku--intangible-chars): New const.
1515 (gomoku--intangible): New function.
1516 (gomoku-mode): Use it. Derive from special-mode.
1517 (gomoku-move-up): Adjust line count.
1518 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1519 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1520 Simplify accordingly.
1521
1522 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1523 Remove blink-cursor code.
1524 (blink-cursor-timer-function, blink-cursor-suspend):
1525 Don't special-case GUIs.
1526 (blink-cursor-mode): Use focus-in/out-hook.
1527
1528 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1529
1530 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1531 work when annotation is invisible (Bug#13886).
1532
1533 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1534
1535 * json.el (json-alist-p): Only return non-nil if the alist has
1536 simple keys (Bug#13518).
1537
1538 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1539
1540 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1541 when control-statement is the first statement in a buffer (Bug#15956).
1542
1543 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1544
1545 * imenu.el (imenu-generic-skip-comments-and-strings):
1546 New option (Bug#15560).
1547 (imenu--generic-function): Use it.
1548
1549 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1550
1551 * minibuffer.el (completion--in-region-1): Scroll the correct
1552 window. (Bug#13898)
1553
1554 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1555
1556 * emacs-lisp/helpers.el: Add some string helpers.
1557 (string-trim-left): Removes leading whitespace.
1558 (string-trim-right): Removes trailing whitespace.
1559 (string-trim): Removes leading and trailing whitespace.
1560
1561 * subr.el (string-suffix-p): New function.
1562
1563 2013-11-23 Glenn Morris <rgm@gnu.org>
1564
1565 * progmodes/python.el (python-shell-send-file):
1566 Add option to delete file when done. (Bug#15647)
1567 (python-shell-send-string, python-shell-send-region): Use it.
1568
1569 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1570
1571 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1572 to set buffer-read-only to t, never to nil. (Bug#15938)
1573
1574 * textmodes/tex-mode.el (latex-noindent-environments):
1575 Add safe-local-variable property. (Bug#15936)
1576
1577 2013-11-23 Glenn Morris <rgm@gnu.org>
1578
1579 * textmodes/enriched.el (enriched-mode): Doc fix.
1580 * emacs-lisp/authors.el (authors-renamed-files-alist):
1581 Add enriched.doc -> enriched.txt.
1582
1583 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1584
1585 2013-11-22 Leo Liu <sdl.web@gmail.com>
1586
1587 * progmodes/octave.el (inferior-octave-startup): Spit out error
1588 message.
1589
1590 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1591
1592 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1593 Improve docstring.
1594 Add :version.
1595 (ruby-encoding-magic-comment-style): Add :version.
1596
1597 2013-11-22 Leo Liu <sdl.web@gmail.com>
1598
1599 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1600 (Bug#15076)
1601 (octave-help-mode): Adapt to change to help-mode-finish to use
1602 derived-mode-p on 2013-09-17.
1603 (inferior-octave-prompt): Also match octave-gui.
1604 (octave-kill-process): Don't ask twice. (Bug#10564)
1605
1606 2013-11-22 Leo Liu <sdl.web@gmail.com>
1607
1608 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1609 (inferior-octave-startup, inferior-octave-check-process)
1610 (inferior-octave-track-window-width-change)
1611 (octave-completion-at-point, octave-eldoc-function): Use it.
1612 (octave-kill-process): Provide confirmation. (Bug#10564)
1613
1614 2013-11-21 Leo Liu <sdl.web@gmail.com>
1615
1616 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1617 Fix obsolete variable comment-use-global-state.
1618
1619 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1620
1621 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1622 Add `octave-source-file'.
1623 (octave-source-file): New function. (Bug#15935)
1624
1625 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1626
1627 * net/eww.el (eww-local-regex): New variable.
1628 (eww): Use it to detect localhost and similar.
1629
1630 2013-11-21 Leo Liu <sdl.web@gmail.com>
1631
1632 Add completion for command `ag'.
1633 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1634 (pcomplete/ag): New function.
1635 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1636
1637 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1640 (bug#14646).
1641 (make-obsolete): Remove interactive spec.
1642
1643 2013-11-21 Glenn Morris <rgm@gnu.org>
1644
1645 * startup.el (command-line-1): Use path-separator with -L.
1646
1647 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1648
1649 * emacs-lisp/package.el (describe-package-1): Add package archive
1650 to shown fields.
1651
1652 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1653
1654 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1655 Change default to "# encoding: %s" to differentiate it from the
1656 default Ruby encoding comment template.
1657
1658 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1659
1660 * ses.el (ses-mode): Doc fix. (Bug#14748)
1661
1662 2013-11-20 Leo Liu <sdl.web@gmail.com>
1663
1664 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1665
1666 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1667
1668 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1669 when rebase or bisect are in progress.
1670
1671 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1672
1673 * filenotify.el (file-notify-add-watch): Doc fix.
1674
1675 2013-11-19 Leo Liu <sdl.web@gmail.com>
1676
1677 * obsolete/rcompile.el: Mark obsolete.
1678
1679 * progmodes/compile.el (compilation-start)
1680 (compilation-goto-locus, compilation-find-file):
1681 Pass no-display-ok and handle nil value from display-buffer.
1682 (Bug#13594)
1683
1684 * window.el (display-buffer-alist, display-buffer): Document the
1685 new parameter no-display-ok. Return either a window or nil
1686 but never a non-window value.
1687
1688 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * electric.el (electric-indent-mode-map): Remove.
1691 (electric-indent-mode): Change the global-map instead (bug#15915).
1692
1693 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1694 Use add-function.
1695
1696 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * emacs-lisp/nadvice.el (remove-function): Align with
1699 add-function's behavior.
1700
1701 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1702 (gdb--string-regexp): New constant.
1703 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1704 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1705 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1706 submatch 1.
1707 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1708 Adjust use accordingly.
1709 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1710
1711 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1712
1713 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1714 interpolation curlies (Bug#15914).
1715
1716 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1717
1718 * calc/calc.el (calc-context-sensitive-enter): New variable.
1719 (calc-enter): Use `calc-context-sensitive-enter'.
1720
1721 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1722
1723 * progmodes/cfengine.el: Version bump.
1724 (cfengine-cf-promises): New defcustom to locate cf-promises.
1725 (cfengine3-vartypes): Add new "data" type.
1726 (cfengine3--current-word): New function to get current name-like
1727 word or its bounds.
1728 (cfengine3--current-function): New function to look up a CFEngine
1729 function's definition.
1730 (cfengine3-format-function-docstring): New function.
1731 (cfengine3-make-syntax-cache): New function.
1732 (cfengine3-documentation-function): New function: ElDoc glue.
1733 (cfengine3-completion-function): New function: completion glue.
1734 (cfengine3-mode): Set `compile-command',
1735 `eldoc-documentation-function', and add to
1736 `completion-at-point-functions'.
1737
1738 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1739
1740 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1741 `tramp-current-connection'.
1742
1743 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1746 nil/self/true/false with "end of symbol".
1747
1748 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1749
1750 * subr.el (version-regexp-alist): Fix a typo.
1751
1752 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1753
1754 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1755 "en_US.utf8" and "LC_CTYPE" to "".
1756 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1757 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1758
1759 2013-11-15 Leo Liu <sdl.web@gmail.com>
1760
1761 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1762
1763 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * progmodes/gud.el (ctl-x-map):
1766 Remove C-x SPC binding. (Bug#12342)
1767 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1768
1769 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1770
1771 * subr.el (version-regexp-alist):
1772 Recognize hg, svn and darcs versions as snapshot versions.
1773
1774 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1775 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1776 (ruby--encoding-comment-required-p): Extract from
1777 `ruby-mode-set-encoding'.
1778 (ruby-mode-set-encoding): Add the ability to always insert an
1779 utf-8 encoding comment. Fix and simplify coding comment update
1780 logic.
1781
1782 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1783
1784 * net/tramp-gvfs.el (top): Run init code only when
1785 `tramp-gvfs-enabled' is not nil.
1786 (tramp-gvfs-enabled): Check also :system bus.
1787
1788 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 Sync with upstream verilog-mode revision 78e66ba.
1791 * progmodes/verilog-mode.el (verilog-end-of-defun)
1792 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1793 (verilog-get-end-of-defun): Remove unused argument.
1794 (verilog-comment-depth): Remove unused local `e'.
1795 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1796 Don't pass arg to verilog-get-end-of-defun.
1797
1798 2013-11-14 Glenn Morris <rgm@gnu.org>
1799
1800 * obsolete/assoc.el (aget): Prefix dynamic variable.
1801
1802 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1803
1804 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * widget.el, hfy-cmap.el: Remove bogus package version number.
1807
1808 2013-11-13 Glenn Morris <rgm@gnu.org>
1809
1810 * replace.el (replace-eval-replacement):
1811 Try to give more helpful error message. (Bug#15836)
1812
1813 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1814 (archive-7z-update): Avoid custom type mismatches.
1815
1816 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1817
1818 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1819
1820 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1821 address can be empty.
1822
1823 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1824 Accept nil SWITCHES.
1825 (tramp-gvfs-handle-write-region): Implement APPEND.
1826
1827 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1828
1829 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1830 binary "|" operator and closing block args delimiter.
1831 Remove FIXME comment referring to Ruby 1.8-only syntax.
1832 (ruby-smie--implicit-semi-p): Not after "|" operator.
1833 (ruby-smie--closing-pipe-p): New function.
1834 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1835 (ruby-smie-rules): Indent after "|".
1836
1837 2013-11-12 Glenn Morris <rgm@gnu.org>
1838
1839 * ps-print.el (ps-face-attribute-list):
1840 Handle anonymous faces. (Bug#15827)
1841
1842 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1843
1844 * window.el (display-buffer-other-frame): Fix doc-string.
1845 (Bug#15868)
1846
1847 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1850
1851 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1852
1853 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1854 (tramp-sh-handle-file-local-copy): Don't write a message when
1855 saving temporary files.
1856
1857 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1858 both directories are remote.
1859 (tramp-smb-handle-directory-files): Do not return double entries.
1860 Do not expand full file names.
1861 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1862 (tramp-smb-handle-write-region): Implement APPEND.
1863 (tramp-smb-get-stat-capability): Fix a stupid bug.
1864
1865 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1868
1869 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1870
1871 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1872 throwing error over malformed let/let* (bug#15814).
1873
1874 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * iswitchb.el (iswitchb-mode): Mark obsolete.
1877
1878 2013-11-11 Glenn Morris <rgm@gnu.org>
1879
1880 * international/uni-bidi.el, international/uni-category.el:
1881 * international/uni-name.el, international/uni-numeric.el:
1882 Regenerate for Unicode 6.3.0.
1883
1884 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp.el (tramp-methods):
1887 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1888 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1889
1890 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1891
1892 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1893 Force highlighting text after Summary keyword in doc face for rpm.
1894
1895 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1898 available and the word has no wildcards, append one to the grep pattern.
1899 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1900 (ispell-complete-word): Call `ispell-lookup-words' with the value
1901 independent of `ispell-look-p'.
1902
1903 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1904
1905 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1906 Not after "||".
1907 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1908 their parent.
1909
1910 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1913 (ruby-font-lock-keywords): Use backquote.
1914
1915 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1918 (ruby-smie--backward-token): Only consider full-string matches.
1919
1920 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1921
1922 * faces.el (describe-face): Add distant-foreground.
1923
1924 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1925
1926 * progmodes/ruby-mode.el: Improve encoding comment handling.
1927 (ruby-encoding-magic-comment-style): New option.
1928 (ruby-custom-encoding-magic-comment-template): New option.
1929 (ruby--insert-coding-comment, ruby--detect-encoding):
1930 New functions extracted from `ruby-mode-set-encoding'.
1931 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1932 to control the style of the auto-inserted encoding comment.
1933
1934 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1935
1936 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1937 Use `smie-backward-sexp' with token argument.
1938
1939 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1940
1941 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1942 Remove instrumentation code.
1943
1944 2013-11-08 Glenn Morris <rgm@gnu.org>
1945
1946 * progmodes/autoconf.el (autoconf-mode):
1947 Tweak comment-start-skip. (Bug#15822)
1948
1949 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1952 at bobp (bug#15826).
1953 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1954
1955 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1956
1957 * man.el (Man-start-calling): New macro, extracted from
1958 Man-getpage-in-background.
1959 (Man-getpage-in-background): Use it.
1960 (Man-update-manpage): New command.
1961 (Man-mode-map): Bind it.
1962
1963 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1964
1965 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1966 of "and", "or", "&&" and "||".
1967 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1968 argument. Prohibit opening curly brace because it could only be a
1969 block opener in that position.
1970 (ruby-smie--forward-token, ruby-smie--backward-token):
1971 Separate "|" from "&" or "*" going after it. That can happen in block
1972 arguments.
1973 (ruby-smie--indent-to-stmt): New function, seeks the end of
1974 previous statement or beginning of buffer.
1975 (ruby-smie-rules): Use it.
1976 (ruby-smie-rules): Check if there's a ":" before a curly block
1977 opener candidate; if there is, it's a hash.
1978
1979 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1982 (cl--block-wrapper): Fix last accidental change.
1983
1984 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1987 Instrument, in order to hunt failure on hydra.
1988
1989 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1990
1991 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1992 malformed bindings form (bug#15814).
1993
1994 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1995
1996 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1997 "." compared to " @ ". This incidentally fixes some indentation
1998 examples with "do".
1999 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2000 (ruby-smie-grammar): New tokens: "and" and "or".
2001 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2002 Exclude "and" and "or". Remove "do" in order to work around token
2003 priorities.
2004 (ruby-smie-rules): Add all infix tokens. Handle the case of
2005 beginning-of-buffer.
2006
2007 2013-11-06 Glenn Morris <rgm@gnu.org>
2008
2009 * Makefile.in (setwins_almost, setwins_for_subdirs):
2010 Avoid accidental matches.
2011
2012 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * menu-bar.el (popup-menu): Use key-binding.
2015
2016 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2017
2018 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2019 menus, support also the menus produced by minor modes.
2020 (Bug#15817)
2021
2022 2013-11-06 Leo Liu <sdl.web@gmail.com>
2023
2024 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2025 DISTANCE to bound the search. All uses changed. (Bug#15808)
2026
2027 2013-11-06 Glenn Morris <rgm@gnu.org>
2028
2029 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2030 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2031 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2032
2033 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * electric.el (electric-indent-just-newline): New command.
2036 (electric-indent-mode-map): New keymap.
2037 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2038 Re-add :group which weren't redundant.
2039
2040 * electric.el (electric-indent-local-mode): New minor mode.
2041 (electric-indent-functions-without-reindent): New var.
2042 (electric-indent-post-self-insert-function): Use it.
2043 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2044
2045 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2046
2047 * international/quail.el (quail-help): Be more explicit about the
2048 meaning of the labels shown on the keys. (Bug#15800)
2049
2050 * startup.el (normal-top-level): Load the subdirs.el files before
2051 setting the locale environment. (Bug#15805)
2052
2053 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2056 via arguments so as to get the right ones (bug#15418).
2057
2058 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2059
2060 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2061
2062 Fix problems found while writing a test suite.
2063
2064 * net/tramp-compat.el (tramp-compat-load): New defun.
2065 * net/tramp.el (tramp-handle-load): Use it.
2066
2067 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2068 "(numberp ok-if-already-exists)" correctly.
2069
2070 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2071
2072 * international/characters.el (glyphless-char-display-control):
2073 Add usage note.
2074
2075 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2076
2077 * progmodes/python.el (python-mode):
2078 * progmodes/scheme.el (scheme-mode):
2079 * progmodes/prolog.el (prolog-mode):
2080 * progmodes/ruby-mode.el (ruby-mode):
2081 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2082 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2083
2084 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * rect.el (rectangle--highlight-for-redisplay):
2087 * emacs-lisp/smie.el (smie--next-indent-change):
2088 Use buffer-chars-modified-tick.
2089
2090 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2091
2092 * electric.el (electric-indent-post-self-insert-function):
2093 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2094
2095 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2096
2097 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2098
2099 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2100
2101 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2102 (bug#15786).
2103
2104 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2107
2108 * progmodes/python.el: Fix up last change.
2109 (python-shell--save-temp-file): New function.
2110 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2111 `string' comes from the current buffer.
2112 (python-shell-send-string-no-output): Remove `msg' arg.
2113 (python--use-fake-loc): New var.
2114 (python-shell-buffer-substring): Obey it. Try to compensate for the
2115 extra coding line added by python-shell--save-temp-file.
2116 (python-shell-send-region): Use python-shell--save-temp-file and
2117 python-shell-send-file directly. Add `nomain' argument.
2118 (python-shell-send-buffer): Use python-shell-send-region.
2119 (python-electric-pair-string-delimiter): New function.
2120 (python-mode): Use it.
2121
2122 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2123
2124 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2125 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2126 environment and decoding all of the default-directory's to here
2127 from command-line.
2128 (command-line): Decode also argv[0].
2129
2130 * loadup.el: Error out if default-directory is a multibyte string
2131 when we are dumping.
2132
2133 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2134
2135 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2136
2137 * emacs-lisp/package.el (package-menu-mode)
2138 (package-menu--print-info, package-menu--archive-predicate):
2139 Add Archive column to package list.
2140
2141 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2142
2143 Fix problems found while writing a test suite.
2144
2145 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2146 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2147 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2148 to nil when running original file name handler. Otherwise,
2149 there are problems with constructs like "$$FOO".
2150
2151 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2152 for `localname'.
2153
2154 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2155
2156 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2157
2158 * subr.el (version<, version<=, version=):
2159 Update docstrings with information for snapshot versions.
2160
2161 * helpers.el: New library for misc helper functions.
2162 (hash-table-keys): New function returning a list of hash keys.
2163 (hash-table-values): New function returning a list of hash values.
2164
2165 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2166
2167 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2168 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2169
2170 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2171
2172 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2173 checking whether point is after a 1-letter word.
2174
2175 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2176
2177 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2178 Don't infloop when expanding region over `multiline' syntax-type that
2179 begins a line (bug#15778).
2180
2181 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2184 Make it into a proper minor mode.
2185 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2186 (rectangle-mark-mode-map): New keymap.
2187 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2188
2189 2013-11-04 Glenn Morris <rgm@gnu.org>
2190
2191 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2192
2193 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2196 (ruby-smie-rules): Use smie-rule-parent instead.
2197
2198 * emacs-lisp/smie.el (smie-rule-parent): Always call
2199 smie-indent-virtual rather than only for hanging tokens.
2200 (smie--next-indent-change): New helper command.
2201
2202 2013-11-03 Glenn Morris <rgm@gnu.org>
2203
2204 * Makefile.in (abs_srcdir): Remove.
2205 (emacs): Unset EMACSLOADPATH.
2206
2207 2013-11-02 Glenn Morris <rgm@gnu.org>
2208
2209 * Makefile.in (EMACS): Use a relative filename.
2210 (abs_top_builddir): Remove.
2211 (custom-deps, finder-data, autoloads): Use --chdir.
2212
2213 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2214
2215 Use relative filenames in TAGS files.
2216 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2217 (lisptagsfiles4, TAGS): Use relative file names.
2218 (TAGS-LISP): Remove.
2219 (maintainer-clean): No more TAGS-LISP file.
2220
2221 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2222 (lisptagsfiles4): Use absolute filenames again.
2223 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2224 Remove all *loaddefs files, not just the first. Remove esh-groups.
2225 (maintainer-clean): Delete TAGS, TAGS-LISP.
2226
2227 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2228
2229 * emacs-lisp/package.el (package-version-join):
2230 Recognize snapshot versions.
2231
2232 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2233
2234 * subr.el (version-regexp-alist): Add support for snapshot versions.
2235
2236 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2239 New function, replacement for `smie-rule-parent' for when we want to
2240 skip over our direct parent if it's an assignment token..
2241 (ruby-smie-rules): Use it.
2242
2243 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2244
2245 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2246 unconditionally. Remove now unnecessary forward declarations.
2247 Remove XEmacs-specific setup.
2248 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2249 (ruby-font-lock-syntactic-keywords)
2250 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2251 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2252 (ruby-here-doc-end-syntax): Remove.
2253 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2254 defined as function.
2255
2256 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2257
2258 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2259
2260 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2261
2262 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2263 table and abbrev table, `define-derived-mode' does that for us
2264 anyway.
2265
2266 2013-11-01 Glenn Morris <rgm@gnu.org>
2267
2268 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2269 files is atomic for some time, so no parallel compilation issues).
2270
2271 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2272
2273 * faces.el (face-x-resources): Add :distant-foreground.
2274 (region): Use :distant-foreground for gtk and ns.
2275
2276 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2277
2278 Allow multiple bibliographies when BibLaTeX is used rather than
2279 BibTeX.
2280 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2281 (reftex-locate-bibliography-files): Us it.
2282
2283 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2284
2285 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2286 allow comments in pbm files.
2287
2288 * term/w32-win.el (dynamic-library-alist): Support newer versions
2289 of libjpeg starting with v7: look only for the DLL from the
2290 version against which Emacs was built.
2291 Support versions of libpng beyond 1.4.x.
2292 Support libtiff v4.x.
2293
2294 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2295
2296 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2297 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2298 Add property :safe.
2299 (ruby-deep-arglist): Add property :type.
2300
2301 2013-10-31 Glenn Morris <rgm@gnu.org>
2302
2303 * Makefile.in (custom-deps, finder-data): No need to setq the target
2304 variables, we are in the right directory and the defaults work fine.
2305
2306 2013-10-30 Glenn Morris <rgm@gnu.org>
2307
2308 * Makefile.in (autoloads): Do not use abs_lisp.
2309
2310 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2311 `newline' does not respect `standard-output', so use `princ'.
2312
2313 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2314
2315 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2316 * buff-menu.el (Buffer-menu--unmark): New function.
2317 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2318
2319 2013-10-30 Glenn Morris <rgm@gnu.org>
2320
2321 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2322
2323 * emacs-lisp/package.el (lm-homepage): Declare.
2324
2325 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2326 Fix doc typos.
2327
2328 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2329
2330 * Makefile.in (finder-data, autoloads, update-subdirs)
2331 (compile-main, compile-clean, compile-always, bootstrap-clean):
2332 Check return value of cd.
2333 (compile-calc): Remove.
2334
2335 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2338
2339 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2340 (byte-compile-and-folded): New function.
2341 (=, <, >, <=, >=): Use it.
2342
2343 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2344 (path-separator, null-device, buffer-file-coding-system)
2345 (lpr-headers-switches): Check system-type before modifying them.
2346 (find-buffer-file-type-coding-system): Mark obsolete.
2347 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2348 find-file-not-found-set-buffer-file-coding-system.
2349 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2350 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2351 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2352 (w32-direct-print-region-helper, w32-direct-print-region-function)
2353 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2354 * startup.el (normal-top-level-add-subdirs-to-load-path):
2355 * ps-print.el (ps-print-region-function):
2356 * lpr.el (print-region-function): Use new name.
2357
2358 * subr.el (custom-declare-variable-early): Remove function.
2359 (custom-declare-variable-list): Remove var.
2360 (error, user-error): Remove `while' loop.
2361 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2362 (user-emacs-directory-warning, locate-user-emacs-file):
2363 Move to files.el.
2364 * simple.el (read-quoted-char-radix, read-quoted-char):
2365 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2366 Move from subr.el.
2367 * custom.el (custom-declare-variable-list): Don't process
2368 custom-declare-variable-list.
2369
2370 * progmodes/python.el (python-shell-get-buffer): New function.
2371 (python-shell-get-process): Use it.
2372 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2373 Python which encoding was used. Don't split-string since we only care
2374 about the first line. Return the temp-file, if applicable.
2375 (python-shell-send-region): Tell compile.el how to turn locations in
2376 the temp-file into locations in the source buffer.
2377
2378 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * subr.el (undefined): Add missing behavior from the C code for
2381 unbound keys.
2382
2383 * rect.el: Use lexical-binding. Add new rectangular region support.
2384 (rectangle-mark): New command.
2385 (rectangle--region): New var.
2386 (deactivate-mark-hook): Reset rectangle--region.
2387 (rectangle--extract-region, rectangle--insert-for-yank)
2388 (rectangle--highlight-for-redisplay)
2389 (rectangle--unhighlight-for-redisplay): New functions.
2390 (region-extract-function, redisplay-unhighlight-region-function)
2391 (redisplay-highlight-region-function): Use them to handle
2392 rectangular region.
2393 * simple.el (region-extract-function): New var.
2394 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2395 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2396 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2397 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2398 (redisplay-unhighlight-region-function)
2399 (redisplay-highlight-region-function): New vars.
2400 (redisplay--update-region-highlight): New function.
2401 (pre-redisplay-function): Use it.
2402 (exchange-point-and-mark): Don't deactivate the mark before
2403 reactivate-it anyway.
2404 * comint.el (comint-kill-region): Remove yank-handler argument.
2405 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2406 (delete-char): Remove property, since it's now part of their
2407 default behavior.
2408 (self-insert-iso): Remove property since this command doesn't exist.
2409
2410 * emacs-lisp/package.el (package--download-one-archive)
2411 (describe-package-1): Don't query the user about final newline.
2412
2413 2013-10-29 Daniel Colascione <dancol@dancol.org>
2414
2415 * net/tramp.el (tramp-methods): Document new functionality.
2416 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2417 tramp-hostname-checker if method provides one instead of scanning
2418 argument list for "%h" to decide hostname acceptability.
2419
2420 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2421
2422 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2423 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2424 Handle COPY-CONTENTS. (Bug#15737)
2425
2426 2013-10-28 Daiki Ueno <ueno@gnu.org>
2427
2428 * epa-file.el
2429 (epa-file-cache-passphrase-for-symmetric-encryption):
2430 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2431
2432 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2433
2434 * image.el (defimage):
2435 (image-load-path): Doc fixes.
2436
2437 2013-10-27 Alan Mackenzie <acm@muc.de>
2438
2439 Indent statements in macros following "##" correctly.
2440 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2441 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2442
2443 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2444
2445 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2446
2447 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2448
2449 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2450 after `=' is probably a new expression.
2451
2452 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2453
2454 * man.el (man-imenu-title): New option.
2455 (Man-mode-map): Add menu. (Bug#15722)
2456 (Man-mode): Add imenu to menu.
2457
2458 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2459
2460 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2461 specific in what the first arg can be: a non-keyword word,
2462 string/regexp/percent literal opener, opening paren, or unary
2463 operator followed directly by word.
2464
2465 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2468 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2469 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2470 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2471 Remove vars, they do not apply any more.
2472 (prolog-mode-abbrev-table): Remove redundant declaration.
2473 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2474 (prolog-use-smie): Remove.
2475 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2476 supported by prolog-electric-if-then-else-flag.
2477 (prolog-mode-variables, prolog-menu): Use setq-local.
2478 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2479 Remove binding to `Backspace' since this key doesn't exist anyway.
2480 Remove bindings for electric self-inserting keys.
2481 (prog-mode): Assume it's defined.
2482 (prolog-post-self-insert): New function.
2483 (prolog-mode): Use it.
2484 (prolog-indent-line, prolog-indent-level)
2485 (prolog-find-indent-of-matching-paren)
2486 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2487 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2488 (prolog-goto-next-paren, prolog-in-string-or-comment)
2489 (prolog-tokenize, prolog-inside-mline-comment)
2490 (prolog-find-start-of-mline-comment): Remove functions.
2491 (prolog-find-unmatched-paren, prolog-clause-end)
2492 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2493 (prolog-electric--if-then-else): Rename from
2494 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2495 (prolog-tokenize-searchkey): Remove const.
2496 (prolog-clause-info): Use forward-sexp.
2497 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2498 (prolog-electric-if-then-else): Remove commands.
2499 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2500 for use in post-self-insert-hook.
2501 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2502 for use in post-self-insert-hook.
2503 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2504 for use in post-self-insert-hook.
2505 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2506 adapt it for use in post-self-insert-hook.
2507
2508 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * emacs-lisp/ert.el (ert-run-tests-interactively):
2511 Use `completing-read'. (Bug#9756)
2512
2513 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2514
2515 * simple.el (line-move): Call line-move-1 instead of
2516 line-move-visual when the current window hscroll is zero, but
2517 temporary-goal-column indicates we will need to hscroll as result
2518 of the movement. (Bug#15712)
2519
2520 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2521
2522 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2523 capitalization. Use :visible instead of :active.
2524 Fix `ruby-indent-exp' reference. Add menu items for the generic
2525 commands that are used with SMIE.
2526 (ruby-do-end-to-brace): Insert space after `{'.
2527
2528 2013-10-25 John Anthony <john@jo.hnanthony.com>
2529
2530 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2531
2532 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2533
2534 2013-10-25 Glenn Morris <rgm@gnu.org>
2535
2536 * vc/vc.el (vc-print-log): Don't use a working revision unless
2537 one was explicitly specified. (Bug#15322)
2538
2539 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * subr.el (add-to-list): Preserve return value in compiler-macro
2542 (bug#15692).
2543
2544 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2545
2546 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2547 result. Ask user to retry using '-all' flag. (Bug#15701)
2548
2549 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * emacs-lisp/smie.el: New smie-config system.
2552 (smie-config): New defcustom.
2553 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2554 (smie-config-guess, smie-config-save): New commands.
2555 (smie-config--mode-local, smie-config--buffer-local)
2556 (smie-config--trace, smie-config--modefuns): New vars.
2557 (smie-config--advice, smie-config--mode-hook)
2558 (smie-config--setter, smie-config-local, smie-config--get-trace)
2559 (smie-config--guess-value, smie-config--guess): New functions.
2560 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2561 text properties. Treat "string fence" syntax like string syntax.
2562
2563 * progmodes/sh-script.el (sh-use-smie): Change default.
2564 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2565 (sh-var-value): Simplify by CSE.
2566 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2567 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2568 is used.
2569 (sh-guess-basic-offset): Use cl-incf.
2570 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2571
2572 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2573
2574 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2575 (bug#15699).
2576
2577 2013-10-24 Glenn Morris <rgm@gnu.org>
2578
2579 * Makefile.in (abs_top_srcdir): Remove.
2580 (update-subdirs): Use relative path to update-subdirs.
2581
2582 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2583
2584 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2585 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2586 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2587 Call unmsys--file-name before expand-file-name, not after it.
2588
2589 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2590
2591 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2592 (ert-test-skipped): New error.
2593 (ert-skip, ert-stats-skipped): New defuns.
2594 (ert--skip-unless): New macro.
2595 (ert-test-skipped): New struct.
2596 (ert--run-test-debugger, ert-test-result-type-p)
2597 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2598 (ert--stats-set-test-and-result, ert-char-for-test-result)
2599 (ert-string-for-test-result, ert-run-tests-batch)
2600 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2601 Handle skipped tests. (Bug#9803)
2602
2603 2013-10-24 Glenn Morris <rgm@gnu.org>
2604
2605 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2606
2607 * Makefile.in (abs_top_srcdir): New, set by configure.
2608 (update-subdirs): Correct build-aux location.
2609
2610 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2611
2612 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2613 value, whether we could auto-deduce `backend', or not.
2614
2615 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2616 with parameters" example. Simplify the "is it block or is it
2617 hash" check, but also make it more thorough.
2618
2619 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2620
2621 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2622
2623 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2626 { if it is hanging.
2627
2628 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2629 :before ";".
2630
2631 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2632
2633 * progmodes/compile.el (compilation-directory-matcher)
2634 (compilation-page-delimiter):
2635 Support GNU Make-4.0 directory quoting. (Bug#15678)
2636
2637 2013-10-23 Leo Liu <sdl.web@gmail.com>
2638
2639 * ido.el (ido-tidy): Handle read-only text.
2640
2641 2013-10-23 Glenn Morris <rgm@gnu.org>
2642
2643 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2644 (emacs, compile, compile-always):
2645 Quote entities that might contain whitespace.
2646 (custom-deps, finder-data, autoloads): Use abs_lisp.
2647 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2648 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2649 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2650
2651 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2652
2653 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2654 Use `following-char'.
2655
2656 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2659 * progmodes/ruby-mode.el (ruby-smie-rules):
2660 Remove corresponding workaround. Fix indentation rule of ";" so it
2661 also applies when ";" is the parent.
2662
2663 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2664
2665 * frame.el (display-screens, display-pixel-height)
2666 (display-pixel-width, display-mm-width, display-backing-store)
2667 (display-save-under, display-planes, display-color-cells)
2668 (display-visual-class, display-monitor-attributes-list):
2669 Mention the optional ‘display’ argument in doc strings.
2670
2671 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2672
2673 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2674 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2675
2676 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2679 TODO. Add "." after " @ ".
2680 (ruby-smie--at-dot-call): New function. Checks if point at method
2681 call with explicit target.
2682 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2683 to the method name tokens when it precedes them.
2684 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2685 (ruby-smie-rules): Add rule for indentation before and after "."
2686 token.
2687
2688 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * textmodes/remember.el (remember-diary-extract-entries):
2691 Avoid add-to-list.
2692
2693 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2694 an instruction.
2695
2696 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2697
2698 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2699 (ruby-smie--implicit-semi-p): Add new operator chars.
2700
2701 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2702 `smie-down-list'.
2703 (ruby-smie--args-separator-p): Check that there's no newline
2704 between method call and its arguments.
2705
2706 2013-10-20 Alan Mackenzie <acm@muc.de>
2707
2708 Allow comma separated lists after Java "implements".
2709
2710 * progmodes/cc-engine.el (c-backward-over-enum-header):
2711 Parse commas.
2712 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2713 from a "disallowed" list in enum fontification.
2714
2715 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2716
2717 * startup.el (default-frame-background-mode): Remove unused defvar.
2718
2719 * progmodes/verilog-mode.el (verilog-mode): Don't set
2720 comment-indent-function globally.
2721
2722 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2723
2724 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2725 Move Info menu item creation to ns-win.el.
2726
2727 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2728 in menu bar.
2729
2730 * menu-bar.el: Move GNUStep specific menus...
2731
2732 * term/ns-win.el (ns-initialize-window-system): ... to here.
2733
2734 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * simple.el (newline): Only run post-self-insert-hook when
2737 called interactively.
2738
2739 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2740
2741 * icomplete.el (icomplete-with-completion-tables): Add :version.
2742
2743 2013-10-19 Alan Mackenzie <acm@muc.de>
2744
2745 Fix fontification bugs with constructors and const.
2746
2747 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2748 CASE 2) Remove the check for the absence of a suffix construct
2749 after a function declaration with only types (no identifiers) in
2750 the parentheses. Also, accept a function declaration with just a
2751 type inside the parentheses, if this type can be positively
2752 recognised as such, or if a prefix keyword like "explicit" nails
2753 down the construct as a declaration.
2754
2755 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2756
2757 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2758 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2759 the problem whereby selecting a menu item that leads to a
2760 minibuffer prompt moves the cursor out of the minibuffer window,
2761 making it hard to type at the prompt. Suggested by Stefan Monnier
2762 <monnier@iro.umontreal.ca>.
2763
2764 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2765
2766 * menu-bar.el: Don't make Services menu.
2767
2768 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2769
2770 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2771 (ffap-alist): Use ffap-c++-mode for c++-mode.
2772 (ffap-c++-path): New variable.
2773 (ffap-c++-mode): New function.
2774
2775 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2776
2777 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2778
2779 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2780
2781 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2782 introduced on 2013-09-08, which results in an infinite loop
2783 requesting a password.
2784
2785 2013-10-18 Glenn Morris <rgm@gnu.org>
2786
2787 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2788
2789 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2790
2791 Sync with upstream verilog-mode revision 1a6ecec7.
2792 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2793 (verilog-mode-release-date): Remove.
2794 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2795 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2796 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2797 (verilog-auto-tieoff-ignore-regexp)
2798 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2799 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2800 (verilog-signals-with, verilog-dir-cache-preserving)
2801 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2802 Doc fixes.
2803 (verilog-case-fold): New option, to control case folding in
2804 regexp searches, bug597.
2805 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2806 (verilog-string-match-fold, verilog-in-paren-count)
2807 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2808 (verilog-at-close-struct-p): New functions.
2809 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2810 (verilog-forward-sexp, verilog-set-auto-endcomments):
2811 (verilog-leap-to-case-head): Handle "unique0" case.
2812 (verilog-in-constraint-re): New constant.
2813 (verilog-keywords, verilog-type-font-keywords):
2814 Add some SystemVerilog 1800-2012 keywords.
2815 (verilog-label-be): Remove unimplemented argument, bug669.
2816 (verilog-batch-execute-func): When batch expanding clear
2817 create-lockfiles to prevent spurious user locks when a file ends
2818 up not changing.
2819 (verilog-calculate-indent, verilog-calc-1)
2820 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2821 (verilog-do-indent): Fix indentation of nested constraints
2822 and structures.
2823 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2824 (verilog-auto-inst-param): Use verilog-string-match-fold.
2825 (verilog-read-inst-module-matcher):
2826 Fix AUTOINST on gate primitives with #1.
2827 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2828 Reads all user-defined typed variables.
2829 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2830 (verilog-signals-matching-regexp)
2831 (verilog-signals-not-matching-regexp, verilog-auto):
2832 Respect verilog-case-fold.
2833 (verilog-diff-report): Fix line count.
2834 (verilog-auto-assign-modport): Remove unused local `modi'.
2835 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2836 better handle multidimensional arrays.
2837 Fix packed array ports misadding bit index in AUTOINST, bug637.
2838 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2839 to not double-declare existing outputs and inputs, respectively.
2840 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2841 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2842 (verilog-sk-uvm-component): New skeleton.
2843 (verilog-submit-bug-report): Add verilog-case-fold,
2844 remove verilog-mode-release-date.
2845
2846 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2847
2848 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2849 as before.
2850
2851 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2852
2853 * textmodes/remember.el (remember): Set buffer-offer-save in
2854 remember buffers (bug#13566).
2855
2856 2013-10-18 Daniel Colascione <dancol@dancol.org>
2857
2858 When evaluating forms in ielm, direct standard output to ielm
2859 buffer. Add new ielm-return-for-effect command. Remove trailing
2860 whitespace throughout.
2861
2862 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2863 (ielm-return-for-effect): New command.
2864 (ielm-send-input): Accept optional `for-effect' parameter.
2865 (ielm-eval-input): Accept optional `for-effect' parameter.
2866 Bind `standard-output' to stream we create using
2867 `ielm-standard-output-impl'. Suppress printing result when
2868 `for-effect'.
2869 (ielm-standard-output-impl): New function.
2870 (inferior-emacs-lisp-mode): Explain new features in documentation.
2871
2872 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2873
2874 Code cleanup.
2875
2876 * net/tramp.el (tramp-debug-message): Do not check for connection
2877 buffer.
2878 (tramp-message): Use "vector" connection property.
2879
2880 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2881 (tramp-equal-remote, tramp-eshell-directory-change)
2882 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2883 (tramp-adb-handle-rename-file)
2884 * net/tramp-cmds.el (tramp-list-remote-buffers)
2885 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2886 * net/tramp-compat.el (tramp-compat-process-running-p)
2887 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2888 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2889 (tramp-gvfs-handle-rename-file)
2890 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2891 (tramp-set-file-uid-gid)
2892 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2893 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2894 of `file-remote-p'.
2895
2896 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2897 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2898 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2899 (tramp-gw-open-network-stream): Suppress unrelated traces.
2900
2901 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2902 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2903 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2904 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2905 connection property.
2906
2907 * net/tramp-cache.el (top): Suppress traces when reading
2908 persistency file.
2909
2910 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2911 Refactor common code. Improve debug message.
2912 (tramp-maybe-open-connection)
2913 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2914 connection buffer too early.
2915
2916 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2917 from `tramp-smb-actions-with-acl'.
2918 (tramp-smb-actions-set-acl): New defconst.
2919 (tramp-smb-handle-copy-directory)
2920 (tramp-smb-action-get-acl): New defun, renamed from
2921 `tramp-smb-action-with-acl'.
2922 (tramp-smb-action-set-acl): New defun.
2923 (tramp-smb-handle-set-file-acl): Rewrite.
2924
2925 2013-10-17 Glenn Morris <rgm@gnu.org>
2926
2927 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2928
2929 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * skeleton.el (skeleton-newline): Remove.
2932 (skeleton-internal-1): Use (insert "\n") instead.
2933
2934 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2935 let-bindings.
2936
2937 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2938 forward-sexp-function while we redo its job (bug#15613).
2939
2940 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2941
2942 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2943 represented by lists.
2944
2945 2013-10-16 Glenn Morris <rgm@gnu.org>
2946
2947 * tmm.el (tmm--history): New dynamic variable.
2948 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2949
2950 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2951
2952 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2953 (tramp-smb-errors): Add error messages.
2954 (tramp-smb-actions-with-acl): New defconst.
2955 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2956 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2957 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2958 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2959 (tramp-smb-get-stat-capability): Fix tests.
2960
2961 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2962
2963 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2964 (bug#15580).
2965
2966 2013-10-16 Glenn Morris <rgm@gnu.org>
2967
2968 * ansi-color.el (ansi-color-drop-regexp):
2969 Add 1J, 1K, 2K. (Bug#15617)
2970
2971 * files.el (hack-local-variables--warned-lexical): New.
2972 (hack-local-variables):
2973 Warn about misplaced lexical-binding. (Bug#15616)
2974
2975 * net/eww.el (eww-render): Always set eww-current-url,
2976 and update header line. (Bug#15622)
2977 (eww-display-html): ... Rather than just doing it here.
2978
2979 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2980
2981 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2982 menu navigations commands.
2983
2984 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2985
2986 * progmodes/subword.el (subword-capitalize): Be careful when
2987 the search for [[:alpha:]] fails (bug#15580).
2988
2989 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2990
2991 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2992 to commands that scroll the menu.
2993
2994 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2997 Handle methods ending with `?' and `!'.
2998
2999 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3000
3001 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3002 `japanese-cp932' to `cp932' to fix the problem where saving a
3003 source file written in Shift_JIS twice would end up having
3004 `coding: japanese-cp932' which Ruby could not recognize.
3005 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3006 in `ruby-encoding-map'.
3007 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3008 doesn't need to be explicitly declared in magic comment.
3009 (ruby-encoding-map): Add type declaration for better customize UI.
3010
3011 2013-10-13 Glenn Morris <rgm@gnu.org>
3012
3013 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3014 Occur buffers are read-only. http://bugs.debian.org/720775
3015
3016 * emacs-lisp/authors.el (authors-fixed-entries):
3017 Comment out old alpha stuff.
3018
3019 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3020
3021 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3022 to `after-save-hook' instead of `before-save-hook'.
3023 (ruby-mode-set-encoding): Use the value of coding system used to
3024 write the file. Call `basic-save-buffer-1' after modifying the
3025 buffer.
3026
3027 2013-10-13 Alan Mackenzie <acm@muc.de>
3028
3029 Fix indentation/fontification of Java enum with
3030 "implements"/generic.
3031
3032 * progmodes/cc-engine.el (c-backward-over-enum-header):
3033 Extracted from the three other places and enhanced to handle generics.
3034 (c-inside-bracelist-p): Uses new function above.
3035 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3036 function above.
3037 (c-font-lock-enum-tail): Uses new function above.
3038
3039 2013-10-13 Kenichi Handa <handa@gnu.org>
3040
3041 * international/mule-cmds.el (select-safe-coding-system): Remove a
3042 superfluous condition in chekcing whether a coding system is safe
3043 or not.
3044
3045 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3046
3047 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3048
3049 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3050
3051 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3052
3053 2013-10-13 Glenn Morris <rgm@gnu.org>
3054
3055 * menu-bar.el (menu-bar-update-buffers):
3056 Unify Buffers menu prompt string. (Bug#15576)
3057
3058 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3059
3060 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3061 Add some entries.
3062 (authors-fixed-entries): Use accented form of name.
3063
3064 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3066 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3067 method calls (bug#15594).
3068 (ruby-smie--args-separator-p): New function.
3069 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3070 recognize paren-free method calls.
3071
3072 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3073 internals of universal-argument.
3074
3075 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3076
3077 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3078 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3079 dropped menu on second mouse click on the menu bar.
3080
3081 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3084 (explicit-shell-file-name): Declare.
3085 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3086 (sh-completion-at-point-function): New function.
3087 (sh-mode): Use it.
3088 (sh-smie--keyword-p): Remove unused argument.
3089 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3090 vars.
3091 (sh-set-shell): Always setup SMIE, even if we use the
3092 old indentation code.
3093
3094 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3097 cases of ? and =.
3098 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3099 predicate would return nil are almost non-existent.
3100 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3101
3102 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3103 cache also after commands that modify the buffer but don't move
3104 point.
3105
3106 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * env.el (substitute-env-in-file-name): New function.
3109 (substitute-env-vars): Extend the meaning of the optional arg.
3110
3111 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3112
3113 * term/w32-win.el (dynamic-library-alist): Define separate lists
3114 of GIF DLLs for versions before and after 5.0.0 of giflib.
3115 (Bug#15531)
3116
3117 2013-10-10 João Távora <joaotavora@gmail.com>
3118
3119 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3120 not locked, use last revision and current source as
3121 defaults. (Bug#15569)
3122
3123 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3124
3125 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3126 menu-bar is hidden.
3127
3128 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3129
3130 * window.el (pop-to-buffer-same-window): Fix doc-string.
3131 (Bug#15492)
3132
3133 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3136
3137 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3138
3139 * calendar/icalendar.el (icalendar-import-file):
3140 Fix interactive spec. (Bug#15482)
3141
3142 2013-10-10 Glenn Morris <rgm@gnu.org>
3143
3144 * desktop.el (desktop-save): Default to saving in .emacs.d,
3145 since PWD is no longer in desktop-path by default. (Bug#15319)
3146
3147 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3148 now that text mode has a menu with the same entry.
3149 (menu-bar-text-mode-auto-fill): Remove now unused func.
3150 * textmodes/text-mode.el (text-mode-map):
3151 Use auto-fill help text from menu-bar.el.
3152
3153 2013-10-10 John Anthony <john@jo.hnanthony.com>
3154
3155 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3156
3157 2013-10-09 Juri Linkov <juri@jurta.org>
3158
3159 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3160 instead of this-command-keys. Add universal-argument-more and
3161 universal-argument-minus to the list of prefix commands. (Bug#15568)
3162
3163 2013-10-09 Glenn Morris <rgm@gnu.org>
3164
3165 * vc/vc-svn.el (vc-svn-create-repo):
3166 Expand paths in file://... url. (Bug#15446)
3167
3168 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3169 Add some entries.
3170 (authors): Remove unused local variables.
3171
3172 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * profiler.el: Create a more coherent calltree from partial backtraces.
3175 (profiler-format): Hide the tail with `invisible' so that C-s can still
3176 find the hidden elements.
3177 (profiler-calltree-depth): Don't recurse so enthusiastically.
3178 (profiler-function-equal): New hash-table-test.
3179 (profiler-calltree-build-unified): New function.
3180 (profiler-calltree-build): Use it.
3181 (profiler-report-make-name-part): Indent the calltree less.
3182 (profiler-report-mode): Add visibility specs for profiler-format.
3183 (profiler-report-expand-entry, profiler-report-toggle-entry):
3184 Expand the whole subtree when provided with a prefix arg.
3185
3186 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3187
3188 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3189 iuwu-mod token.
3190 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3191 hanging iuwu-mod token.
3192 (ruby-smie--forward-token): Do not include a dot after a token in
3193 that token.
3194 (ruby-smie--backward-token): Likewise.
3195
3196 2013-10-08 Juri Linkov <juri@jurta.org>
3197
3198 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3199 to isearch-other-control-char.
3200 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3201 and isearch-post-command-hook to post-command-hook.
3202 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3203 and isearch-post-command-hook from post-command-hook.
3204 (isearch-unread-key-sequence)
3205 (isearch-reread-key-sequence-naturally)
3206 (isearch-lookup-scroll-key, isearch-other-control-char)
3207 (isearch-other-meta-char): Remove functions.
3208 (isearch-pre-command-hook, isearch-post-command-hook):
3209 New functions based on isearch-other-meta-char rewritten
3210 relying on the new behavior of overriding-terminal-local-map
3211 that does not replace the local keymaps any more. (Bug#15200)
3212
3213 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3214
3215 Support menus on text-mode terminals.
3216 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3217 functionality.
3218
3219 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3220
3221 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3222 Move here from mouse.el.
3223 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3224 and arrow keys.
3225 (tty-menu-navigation-map): New map for TTY menu navigation.
3226
3227 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3228
3229 * frame.el (display-mouse-p): Report text-mode mouse as available
3230 on w32.
3231 (display-popup-menus-p): Report availability if mouse is
3232 available; don't condition on window-system.
3233
3234 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3235 (tty-menu-selected-face): New faces.
3236
3237 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3240 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3241 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3242 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3243 New constants.
3244 (lisp-mode-variables): New `elisp' argument.
3245 (emacs-lisp-mode): Use it.
3246 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3247 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3248
3249 * indent.el: Use lexical-binding.
3250 (indent-region): Add progress reporter.
3251 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3252 last step.
3253 (indent--next-tab-stop): New function to implement this behavior.
3254 (tab-to-tab-stop, move-to-tab-stop): Use it.
3255
3256 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3257
3258 * indent.el (indent-rigidly--current-indentation): New function.
3259 (indent-rigidly-map): New var.
3260 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3261
3262 2013-10-08 Bastien Guerry <bzg@gnu.org>
3263
3264 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3265
3266 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * progmodes/perl-mode.el: Use lexical-binding.
3269 Remove redundant :group args.
3270 (perl-nochange): Change default to be closer to other major modes's
3271 standard behavior.
3272 (perl-indent-line): Don't consider text on current line as a
3273 valid beginning of function from which to indent.
3274
3275 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3276 with more than one argument (bug#15538).
3277
3278 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3279
3280 * vc/pcvs.el: Use lexical-binding.
3281 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3282 environment of `eval'.
3283 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3284 than a list of expressions. Adjust callers.
3285 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3286
3287 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3288
3289 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3290 case of the dot in a chained method call being on the following line.
3291
3292 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * electric.el (electric-indent-inhibit): New var.
3295 (electric-indent-post-self-insert-function): Use it.
3296 * progmodes/python.el (python-mode): Set it.
3297
3298 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3299 open braces.
3300
3301 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3302
3303 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3304 (css-mode): Use electric-indent-chars.
3305
3306 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3307 (font-lock-beg, font-lock-end): Move before first use.
3308 (nxml-mode): Use syntax-propertize-function.
3309 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3310 (nxml-extend-after-change-region): Remove.
3311 * nxml/xmltok.el: Use lexical-binding.
3312 (xmltok-save): Use `declare'.
3313 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3314 * nxml/nxml-util.el: Use lexical-binding.
3315 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3316 Use `declare'.
3317 * nxml/nxml-ns.el: Use lexical-binding.
3318 (nxml-ns-save): Use `declare'.
3319 (nxml-ns-prefixes-for): Avoid add-to-list.
3320 * nxml/rng-match.el: Use lexical-binding.
3321 (rng--ipattern): Use cl-defstruct.
3322 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3323 (rng-cons-group-after, rng-subst-group-after)
3324 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3325 Use closures instead of `(lambda...).
3326
3327 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3328
3329 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3330 of BEG and END.
3331
3332 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3333 Use `tramp-handle-insert-file-contents'.
3334 (tramp-gvfs-handle-insert-file-contents): Remove function.
3335
3336 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3337 Use `save-restriction' in order to keep markers.
3338
3339 * net/trampver.el: Update release number.
3340
3341 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * progmodes/compile.el (compilation-parse-errors):
3344 Use compilation--put-prop.
3345 (compilation--ensure-parse): Check compilation-multiline.
3346
3347 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3348
3349 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3350 lexical-binding.
3351
3352 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3353
3354 * progmodes/ruby-mode.el: Fix recently added tests.
3355 (ruby-smie-grammar): Add - and +.
3356 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3357 (ruby-smie--backward-id): New functions.
3358 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3359 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3360 any more.
3361
3362 2013-10-07 Leo Liu <sdl.web@gmail.com>
3363
3364 * register.el (register-preview-delay)
3365 (register-preview-functions): New variables.
3366 (register-read-with-preview, register-preview)
3367 (register-describe-oneline): New functions.
3368 (point-to-register, window-configuration-to-register)
3369 (frame-configuration-to-register, jump-to-register)
3370 (number-to-register, view-register, insert-register)
3371 (copy-to-register, append-to-register, prepend-to-register)
3372 (copy-rectangle-to-register): Use register-read-with-preview to
3373 read register. (Bug#15525)
3374
3375 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3376
3377 * net/network-stream.el (network-stream-open-starttls): Don't add
3378 --insecure if it's already present, because that gnutls-cli
3379 rejects getting that parameter twice.
3380
3381 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3382
3383 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3384 keyword, too.
3385
3386 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3387
3388 * newcomment.el (comment-use-global-state): Change default value
3389 to t, mark obsolete (Bug#15251).
3390 (comment-beginning): In addition to `comment-to-syntax', check the
3391 value of `comment-use-global-state'.
3392
3393 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3396 (ruby-comment-column): Follow the global default, by default.
3397 (ruby-smie-grammar): Add assignment syntax.
3398 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3399 open-paren, a comma, or a \.
3400 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3401 and line continuations.
3402 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3403 followed by implicit semi-colons. Add rule for string concatenation
3404 and for indentation at BOB.
3405 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3406
3407 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3408 calling next-sexp, since next-token may have skipped chars which
3409 next-sexp doesn't know should be skipped!
3410
3411 2013-10-05 Leo Liu <sdl.web@gmail.com>
3412
3413 * progmodes/octave.el (octave-send-region):
3414 Call compilation-forget-errors.
3415
3416 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3417
3418 * vc/vc-svn.el (vc-svn-find-admin-dir):
3419 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3420 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3421 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3422 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3423
3424 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3427
3428 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * subr.el (read-passwd): Hide chars even when called within a context
3431 where after-change-functions is disabled (bug#15501).
3432 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3433 until we removed ourself from overriding-terminal-local-map.
3434
3435 2013-10-04 Leo Liu <sdl.web@gmail.com>
3436
3437 * progmodes/octave.el (inferior-octave-mode):
3438 Call compilation-forget-errors.
3439
3440 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3441
3442 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3443
3444 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3445
3446 * net/secrets.el (secrets-create-collection): Add optional
3447 argument ALIAS. Use proper Label keyword. Append ALIAS as
3448 dbus-call-method argument. (Bug#15516)
3449
3450 2013-10-04 Leo Liu <sdl.web@gmail.com>
3451
3452 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3453 (inferior-octave-compilation-font-lock-keywords): New variables.
3454 (compilation-error-regexp-alist)
3455 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3456 (inferior-octave-mode): Use compilation-shell-minor-mode.
3457
3458 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3459
3460 * minibuffer.el (completion--replace): Be careful that `end' might be
3461 a marker.
3462
3463 2013-10-03 Daiki Ueno <ueno@gnu.org>
3464
3465 Add support for package signature checking.
3466 * emacs-lisp/package.el (url-http-file-exists-p)
3467 (epg-make-context, epg-context-set-home-directory)
3468 (epg-verify-string, epg-context-result-for)
3469 (epg-signature-status, epg-signature-to-string)
3470 (epg-check-configuration, epg-configuration)
3471 (epg-import-keys-from-file): Declare.
3472 (package-check-signature): New user option.
3473 (package-unsigned-archives): New user option.
3474 (package-desc): Add `signed' field.
3475 (package-load-descriptor): Set `signed' field if .signed file exists.
3476 (package--archive-file-exists-p): New function.
3477 (package--check-signature): New function.
3478 (package-install-from-archive): Check package signature.
3479 (package--download-one-archive): Check archive signature.
3480 (package-delete): Remove .signed file.
3481 (package-import-keyring): New command.
3482 (package-refresh-contents): Import default keyring.
3483 (package-desc-status): Add "unsigned" status.
3484 (describe-package-1, package-menu--print-info)
3485 (package-menu-mark-delete, package-menu--find-upgrades)
3486 (package-menu--status-predicate): Support "unsigned" status.
3487
3488 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3491 the new compilation scheme using the new byte-codes.
3492
3493 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3494 (byte-pophandler): New byte codes.
3495 (byte-goto-ops): Adjust accordingly.
3496 (byte-compile--use-old-handlers): New var.
3497 (byte-compile-catch): Use new byte codes depending on
3498 byte-compile--use-old-handlers.
3499 (byte-compile-condition-case--old): Rename from
3500 byte-compile-condition-case.
3501 (byte-compile-condition-case--new): New function.
3502 (byte-compile-condition-case): New function that dispatches depending
3503 on byte-compile--use-old-handlers.
3504 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3505 when we can.
3506
3507 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3508 Optimize under `condition-case' and `catch' if
3509 byte-compile--use-old-handlers is nil.
3510 (disassemble-offset): Handle new bytecodes.
3511
3512 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * subr.el (error): Use `declare'.
3515 (decode-char, encode-char): Use advertised-calling-convention instead
3516 of the docstring to discourage use of the `restriction' arg.
3517
3518 2013-10-03 Daiki Ueno <ueno@gnu.org>
3519
3520 * epg.el (epg-verify-file): Add a comment saying that it does not
3521 notify verification error as a return value nor a signal.
3522 (epg-verify-string): Ditto.
3523
3524 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3525
3526 * progmodes/compile.el (compilation-start): Try globbing the arg to
3527 `cd' (bug#15417).
3528
3529 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3530
3531 Sync with Tramp 2.2.8.
3532
3533 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3534 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3535 * net/trampver.el: Update release number.
3536
3537 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3538
3539 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3540 and default-process-coding-system for darwin only.
3541
3542 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3543
3544 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3545
3546 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3547
3548 * vc/vc-git.el (vc-git-grep): Disable pager.
3549
3550 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3551
3552 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3553 Use :url instead of :homepage, as per
3554 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3555
3556 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3557 non-nil, use `syntax-ppss' (Bug#15251).
3558
3559 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3560
3561 * progmodes/octave.el (inferior-octave-startup-file):
3562 Prefer ~/.emacs.d/init_octave.m.
3563
3564 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3565
3566 * emacs-lisp/package.el (package-desc-from-define):
3567 Accept additional arguments as plist, convert them to an alist and store
3568 them in the `extras' slot.
3569 (package-generate-description-file): Convert extras alist back to
3570 plist and append to the `define-package' form arguments.
3571 (package--alist-to-plist): New function.
3572 (package--ac-desc): Add `extras' slot.
3573 (package--add-to-archive-contents): Check if the archive-contents
3574 vector is long enough, and if it is, pass its `extras' slot value
3575 to `package-desc-create'.
3576 (package-buffer-info): Call `lm-homepage', pass the returned value
3577 to `package-desc-from-define'.
3578 (describe-package-1): Render the homepage button (Bug#13291).
3579
3580 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3581 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3582
3583 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3584
3585 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3586 and default-process-coding-system to utf-8-unix (Bug#15402).
3587
3588 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3589
3590 * subr.el (looking-back): Do not recommend using looking-back.
3591
3592 2013-09-28 Alan Mackenzie <acm@muc.de>
3593
3594 Fix indentation/fontification of Java enum with "implements".
3595
3596 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3597 regexp which matches "implements", etc., in Java.
3598 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3599 specifier clauses coming after "enum".
3600 * progmodes/cc-fonts.el (c-font-lock-declarations)
3601 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3602 after "enum".
3603
3604 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3605
3606 * faces.el (region): Change ns_selection_color to
3607 ns_selection_fg_color, add ns_selection_bg_color.
3608
3609 2013-09-28 Leo Liu <sdl.web@gmail.com>
3610
3611 * progmodes/octave.el (inferior-octave-completion-table)
3612 (inferior-octave-completion-at-point): Minor tweaks.
3613
3614 * textmodes/ispell.el (ispell-lookup-words): Rename from
3615 lookup-words. (Bug#15460)
3616 (lookup-words): Obsolete.
3617 (ispell-complete-word, ispell-command-loop): All uses changed.
3618
3619 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3620
3621 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3622 (octave-mode-menu): Add octave-send-buffer.
3623 (octave-send-buffer): New function.
3624
3625 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3626
3627 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3628 octave-lookfor.
3629 (octave-mode-menu): Add octave-lookfor.
3630 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3631 octave-lookfor.
3632 (octave-lookfor): New function.
3633
3634 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * emacs-lisp/cl-macs.el:
3637 (cl--loop-destr-temps): Remove.
3638 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3639 its convention.
3640 (cl--loop-set-iterator-function): New function.
3641 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3642 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3643 Bind `it' with `let' instead of substituting it with `cl-subst'.
3644 (cl--unused-var-p): New function.
3645 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3646 Eliminate some unused variable warnings (bug#15326).
3647
3648 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3649
3650 * doc-view.el (doc-view-scale-reset): Rename from
3651 `doc-view-reset-zoom-level'.
3652 (doc-view-scale-adjust): New command.
3653 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3654 `doc-view-scale-adjust'.
3655
3656 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3657
3658 * doc-view.el (doc-view-reset-zoom-level): New command.
3659 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3660 zoom commands (bug#15466).
3661
3662 2013-09-26 Kenichi Handa <handa@gnu.org>
3663
3664 * international/quail.el (quail-help): Make it not a command.
3665
3666 2013-09-26 Leo Liu <sdl.web@gmail.com>
3667
3668 * minibuffer.el (completion-all-sorted-completions): Make args
3669 optional as they are.
3670
3671 2013-09-25 Daniel Colascione <dancol@dancol.org>
3672
3673 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3674 specs are and that they're not evaluated.
3675
3676 2013-09-24 Sam Steingold <sds@gnu.org>
3677
3678 * midnight.el (clean-buffer-list-kill-regexps)
3679 (clean-buffer-list-kill-buffer-names): Update for the new Man
3680 buffer naming which includes the object name.
3681
3682 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3685 (eshell-parse-command, eshell-parse-pipeline): Use it since
3686 eshell-separate-commands requires a dynamic scoped var.
3687 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3688
3689 2013-09-23 Leo Liu <sdl.web@gmail.com>
3690
3691 * autoinsert.el (auto-insert-alist): Make the value of
3692 lexical-binding match its file setting.
3693
3694 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3695
3696 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3697
3698 * autoarg.el (autoarg-kp-digit-argument):
3699 * electric.el (Electric-command-loop):
3700 * kmacro.el (kmacro-step-edit-insert):
3701 Do not set universal-argument-num-events.
3702
3703 2013-09-22 Leo Liu <sdl.web@gmail.com>
3704
3705 * files.el (interpreter-mode-alist): Add octave.
3706
3707 2013-09-21 Alan Mackenzie <acm@muc.de>
3708
3709 C++: fontify identifier in declaration following "public:" correctly.
3710 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3711 to match "public", etc.
3712 (c-decl-prefix-re): Add ":" into the C++ value.
3713 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3714 bit. Add a check for a ":" preceded by "public", etc.
3715
3716 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3717
3718 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3719 recognized by GDB 7.5 and later.
3720
3721 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3722
3723 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3724
3725 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * subr.el (internal--call-interactively): New const.
3728 (called-interactively-p): Use it (bug#3984).
3729
3730 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3731
3732 * vc/pcvs.el (cvs-mode-ignore):
3733 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3734 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3735
3736 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3739 (eshell-ls-orig-insert-directory): Remove.
3740 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3741 (eshell-ls-use-in-dired): Use advice-add/remove.
3742 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3743 Add `orig-fun' arg for use in :around advice.
3744 Make it check (redundantly) eshell-ls-use-in-dired.
3745
3746 2013-09-19 Glenn Morris <rgm@gnu.org>
3747
3748 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3749
3750 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3751
3752 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3753
3754 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3757 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3758 (tramp-get-remote-python): New defuns.
3759 (tramp-get-remote-uid-with-perl)
3760 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3761 contributed by yary <not.com@gmail.com> (tiny change).
3762 (tramp-get-remote-uid-with-python)
3763 (tramp-get-remote-gid-with-python): New defuns. Python code
3764 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3765 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3766
3767 2013-09-19 Glenn Morris <rgm@gnu.org>
3768
3769 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3770
3771 * eshell/em-unix.el (eshell-remove-entries):
3772 Rename argument to avoid name-clash with global `top-level'.
3773
3774 * eshell/esh-proc.el (eshell-kill-process-function):
3775 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3776 (eshell-reset-after-proc): Remove unused arg `proc'.
3777
3778 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3779 (directory-files-and-attributes): Mark unused arg.
3780
3781 * eshell/em-unix.el (eshell-remove-entries):
3782 Remove unused arg `path'. Update callers.
3783
3784 * eshell/em-hist.el (eshell-hist-parse-arguments):
3785 Remove unused arg `silent'. Update callers.
3786
3787 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3788 Fix (f)boundp mix-up.
3789
3790 * eshell/em-smart.el (eshell-smart-scroll-window)
3791 (eshell-disable-after-change):
3792 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3793
3794 2013-09-18 Alan Mackenzie <acm@muc.de>
3795
3796 Fix fontification of type when followed by "const".
3797 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3798 "known" types from fontification.
3799
3800 2013-09-18 Glenn Morris <rgm@gnu.org>
3801
3802 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3803 (chart-face-list): Drop Emacsen without display-color-p.
3804
3805 * net/eww.el (libxml-parse-html-region): Declare.
3806 (eww-display-html): Explicit error if no libxml2 support.
3807
3808 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3809
3810 * image.el (image-type-from-buffer, image-multi-frame-p):
3811 Remove --without-x warning/error.
3812
3813 * mouse.el (mouse-yank-primary):
3814 * term.el (term-mouse-paste):
3815 Reorder to silence --without-x compilation.
3816
3817 * mpc.el (doc-view-mode): Silence --without-x compilation.
3818
3819 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3820 Silence --without-x compilation.
3821
3822 * progmodes/gud.el (gud-find-file, gud-mode):
3823 Silence --without-x compilation.
3824 (tooltip-mode): Declare.
3825
3826 * wdired.el (dired-backup-overwrite): Remove declaration.
3827 (wdired-mode-map): Add doc string.
3828
3829 * custom.el (x-get-resource): Declare.
3830
3831 * eshell/em-glob.el (ange-cache):
3832 * eshell/em-unix.el (ange-cache): Declare.
3833
3834 * faces.el (x-display-list, x-open-connection, x-get-resource):
3835 Declare.
3836
3837 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3838 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3839 Declare.
3840
3841 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3842
3843 * net/gnutls.el (gnutls-log-level): Declare.
3844
3845 * net/shr.el (image-size, image-animate): Declare.
3846
3847 * simple.el (font-info): Declare.
3848
3849 * subr.el (x-popup-dialog): Declare.
3850
3851 * term/common-win.el (x-select-enable-primary)
3852 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3853 Declare.
3854
3855 * term/ns-win.el (x-handle-args): Declare.
3856
3857 * term/x-win.el (x-select-enable-clipboard): Declare.
3858
3859 * term/w32-win.el (create-default-fontset): Declare.
3860
3861 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3862 Declare.
3863
3864 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3865 (fit-frame-to-buffer): Explicit error if --without-x.
3866 (mouse-autoselect-window-select): Silence compiler.
3867
3868 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3869
3870 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3871 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3872 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3873 * eshell/esh-util.el (eshell-sublist):
3874 Remove unused local variables.
3875
3876 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3877
3878 * textmodes/two-column.el: Make 2C-split work for --without-x.
3879 (scroll-bar-columns): Autoload.
3880 (top-level): Require fringe when compiling.
3881
3882 2013-09-18 Leo Liu <sdl.web@gmail.com>
3883
3884 * subr.el (add-hook): Robustify to handle closure as well.
3885
3886 2013-09-17 Glenn Morris <rgm@gnu.org>
3887
3888 * simple.el (messages-buffer-mode-map): Unbind "g".
3889
3890 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * help-mode.el (help-mode-finish): Use derived-mode-p.
3893 Remove obsolete highlighting.
3894
3895 * play/life.el (life-mode): Use define-derived-mode. Derive from
3896 special-mode.
3897 (life): Let-bind inhibit-read-only.
3898 (life-setup): Avoid `setq'. Use `life-mode'.
3899
3900 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3901 which should not be needed any more.
3902 (package-menu-refresh, package-menu-describe-package): Use user-error.
3903
3904 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3905 (eshell-post-rewrite-command-hook): Make obsolete.
3906 (eshell-parse-command): Simplify.
3907 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3908 (eshell--cmd): Declare.
3909 (eshell-parse-pipeline): Remove unused var `final-p'.
3910 Pass a dynvar to eshell-post-rewrite-command-hook.
3911 Implement the new eshell-post-rewrite-command-function.
3912 (eshell-invoke-directly): Remove unused arg `input'.
3913 * eshell/esh-io.el (eshell-io-initialize):
3914 Use eshell-post-rewrite-command-function (bug#15399).
3915 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3916 adjust to new calling convention.
3917 (eshell-create-handles): Rename args to avoid clashing with dynvar
3918 `standard-output'.
3919
3920 2013-09-17 Glenn Morris <rgm@gnu.org>
3921
3922 * simple.el (messages-buffer-mode): New major mode.
3923 (messages-buffer): New function.
3924 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3925 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3926 (ert-run-test): Use `messages-buffer' function.
3927 (ert--force-message-log-buffer-truncation): Ignore read-only.
3928 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3929 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3930
3931 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3934
3935 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3936
3937 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * icomplete.el (icomplete-in-buffer): New var.
3940 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3941 vars and replace them with functions.
3942 (icomplete-minibuffer-setup): Adjust accordingly.
3943 (icomplete--completion-table, icomplete--completion-predicate)
3944 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3945 New functions.
3946 (icomplete-forward-completions, icomplete-backward-completions)
3947 (icomplete-simple-completing-p, icomplete-exhibit)
3948 (icomplete-completions): Use them.
3949 (icomplete--in-region-buffer): New var.
3950 (icomplete--in-region-setup): New function.
3951 (icomplete-mode): Use it.
3952
3953 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3954 (bug#15379).
3955 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3956 return args and options.
3957 (eshell-eval-using-options): Use the new return value of
3958 eshell--do-opts to set the options's vars in their scope.
3959 (eshell--set-option): Rename from eshell-set-option.
3960 Add arg `opt-vals'.
3961 (eshell--process-option): Rename from eshell-process-option.
3962 Add arg `opt-vals'.
3963 (eshell--process-args): Use an `opt-vals' alist to store the options's
3964 values during their processing and return them additionally to the
3965 remaining args.
3966
3967 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3968
3969 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3970 continuation character an operator, as far as indentation is
3971 concerned (Bug#15369).
3972
3973 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3974
3975 * window.el (window--state-put-2): Don't process buffer state
3976 when buffer doesn't exist any more (Bug#15382).
3977
3978 2013-09-15 Glenn Morris <rgm@gnu.org>
3979
3980 * eshell/em-unix.el (eshell/rm):
3981 Make -f ignore missing files. (Bug#15373)
3982
3983 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3984 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3985 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3986
3987 2013-09-14 Glenn Morris <rgm@gnu.org>
3988
3989 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3990
3991 2013-09-13 Glenn Morris <rgm@gnu.org>
3992
3993 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3994 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3995
3996 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3997
3998 * frame.el (x-focus-frame): Mark as declared in frame.c.
3999
4000 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * ls-lisp.el: Use advice-add.
4003 (original-insert-directory): Remove.
4004 (ls-lisp--insert-directory): Rename from insert-directory; add
4005 `orig-fun' argument.
4006 (insert-directory): Advise.
4007
4008 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4009
4010 * term.el (term-emulate-terminal): Decode the command string
4011 before passing it to term-command-hook. (Bug#15337)
4012
4013 2013-09-13 Glenn Morris <rgm@gnu.org>
4014
4015 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4016
4017 * eshell/esh-ext.el (eshell-search-path): Declare.
4018
4019 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4020 Otherwise an error occurs if eshell-dirs module not loaded.
4021
4022 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4023
4024 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4025
4026 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4027 `tramp-check-proper-host'. Check for a valid method name.
4028
4029 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4030 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4031 * net/tramp-sh.el (tramp-maybe-open-connection):
4032 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4033
4034 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4035 also for hash values.
4036
4037 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4038
4039 * term/ns-win.el (parameters): Don't declare as dynamic.
4040 (before-make-frame-hook): Don't add ineffective function.
4041
4042 * eshell/*.el: Use lexical-binding (bug#15231).
4043
4044 2013-09-12 Kenichi Handa <handa@gnu.org>
4045
4046 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4047
4048 2013-09-12 Glenn Morris <rgm@gnu.org>
4049
4050 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4051 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4052
4053 * subr.el (do-after-load-evaluation): Also give compiler warnings
4054 when obsolete files are used (except by obsolete files).
4055
4056 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4057 in the status output, assume `filename' is the first. (Bug#15322)
4058
4059 * vc/vc.el (vc-deduce-fileset): Doc fix.
4060
4061 * calc/calc-help.el (Info-goto-node):
4062 * progmodes/cperl-mode.el (Info-find-node):
4063 * vc/ediff.el (Info-goto-node): Update declarations.
4064
4065 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4066
4067 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4068 (vc-bzr-pull): Require vc-dispatcher.
4069 * vc/vc-git.el (vc-compilation-mode): Declare.
4070 (vc-git-pull): Require vc-dispatcher.
4071
4072 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4073
4074 * progmodes/octave.el (help-button-action): Declare.
4075
4076 * shell.el (shell-directory-tracker): Output error as a message
4077 rather than just returning it as a string.
4078 (shell-process-pushd): Remove useless use of message.
4079
4080 * dframe.el (dframe-timer-fn):
4081 * files.el (dir-locals-read-from-file):
4082 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4083 (mpc-format):
4084 * reveal.el (reveal-post-command):
4085 * saveplace.el (load-save-place-alist-from-file):
4086 * shell.el (shell-resync-dirs):
4087 * w32-common-fns.el (x-get-selection-value):
4088 * emacs-lisp/copyright.el (copyright-find-copyright):
4089 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4090 * emulation/tpu-edt.el (tpu-copy-keyfile):
4091 * play/bubbles.el (bubbles--mark-neighbourhood):
4092 * progmodes/executable.el
4093 (executable-make-buffer-file-executable-if-script-p):
4094 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4095
4096 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4097
4098 Cleanup Eshell to rely less on dynamic scoping.
4099 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4100 last-value, and ext-command here. Bind `args' closer to `body'.
4101 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4102 (eshell--args): Declare new dynamic var.
4103 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4104 last-value, and ext-command. Pass `args' to `body'.
4105 (eshell-process-args): Bind eshell--args.
4106 (eshell-set-option): Use eshell--args.
4107 * eshell/eshell.el (eshell): Use derived-mode-p.
4108 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4109 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4110 (eshell-glob-function): Declare.
4111 * eshell/esh-util.el: Require cl-lib.
4112 (eshell-read-hosts-file): Avoid add-to-list.
4113 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4114 `err'.
4115 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4116 Declare.
4117 (eshell/diff): Remove unused var `err'.
4118 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4119 `killflag'.
4120 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4121 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4122 first use.
4123 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4124 Move declaration before first use.
4125 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4126 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4127 rely on cl-return.
4128
4129 2013-09-12 Glenn Morris <rgm@gnu.org>
4130
4131 * term/ns-win.el (global-map): Remove binding for ispell-next,
4132 deleted 1999-05-29. (Bug#15357)
4133
4134 2013-09-11 Glenn Morris <rgm@gnu.org>
4135
4136 * echistory.el (electric-command-history): Remove call to deleted func.
4137
4138 * play/landmark.el (landmark-mode): Fix typos.
4139
4140 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4141 Check cvs-sort-ignore-file is bound.
4142
4143 * savehist.el: No need for cl when compiling on Emacs.
4144
4145 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4148 (bug#15338).
4149 (eshell-self-insert-command, eshell-send-invisible):
4150 Remove unused argument.
4151 (eshell-handle-control-codes): Remove unused var `orig'.
4152 Avoid delete-backward-char.
4153
4154 * files.el (set-auto-mode): Simplify a bit further.
4155
4156 2013-09-11 Glenn Morris <rgm@gnu.org>
4157
4158 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4159 (set-auto-mode): Don't regexp-quote elements.
4160 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4161 * progmodes/cc-mode.el (interpreter-mode-alist):
4162 * progmodes/ruby-mode.el (interpreter-mode-alist):
4163 Revert previous change.
4164
4165 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * play/snake.el (snake-mode):
4168 * play/mpuz.el (mpuz-mode):
4169 * play/landmark.el (lm-mode):
4170 * play/blackbox.el (blackbox-mode):
4171 * play/5x5.el (5x5-mode):
4172 * obsolete/options.el (Edit-options-mode):
4173 * net/quickurl.el (quickurl-list-mode):
4174 * net/newst-treeview.el (newsticker-treeview-mode):
4175 * mail/rmailsum.el (rmail-summary-mode):
4176 * mail/mspools.el (mspools-mode):
4177 * locate.el (locate-mode):
4178 * ibuffer.el (ibuffer-mode):
4179 * emulation/ws-mode.el (wordstar-mode):
4180 * emacs-lisp/debug.el (debugger-mode):
4181 * array.el (array-mode):
4182 * net/eudc.el (eudc-mode): Use define-derived-mode.
4183 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4184 Move initialization into declaration.
4185 (mairix-searches-mode): Use define-derived-mode.
4186 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4187 (eudc-edit-hotlist): Use dolist.
4188 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4189 (Man-mode): Use define-derived-mode.
4190 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4191 (Info-edit-mode): Use define-derived-mode.
4192 (Info-cease-edit): Use Info-mode.
4193 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4194 into declaration.
4195 (eshell-mode): Use define-derived-mode.
4196 * chistory.el (command-history-mode-map): Rename from
4197 command-history-map.
4198 (command-history-mode): Use define-derived-mode.
4199 (Command-history-setup): Remove function.
4200 * calc/calc.el (calc-trail-mode-map): New var.
4201 (calc-trail-mode): Use define-derived-mode.
4202 (calc-trail-buffer): Set calc-main-buffer manually.
4203 * bookmark.el (bookmark-insert-annotation): New function.
4204 (bookmark-edit-annotation): Use it.
4205 (bookmark-edit-annotation-mode): Make it a proper major mode.
4206 (bookmark-send-edited-annotation): Use derived-mode-p.
4207 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4208 closer to its ideal place. Use \' to match EOS.
4209
4210 * profiler.el (profiler-calltree-find): Use function-equal.
4211
4212 2013-09-10 Glenn Morris <rgm@gnu.org>
4213
4214 * files.el (interpreter-mode-alist): Convert to regexps.
4215 (set-auto-mode): Adapt for this. (Bug#15306)
4216 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4217 Comment out unused variable.
4218 * progmodes/cc-mode.el (interpreter-mode-alist):
4219 * progmodes/python.el (interpreter-mode-alist):
4220 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4221 * progmodes/sh-script.el (sh-set-shell):
4222 No longer use interpreter-mode-alist to get list of shells.
4223
4224 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4225
4226 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * simple.el: Use set-temporary-overlay-map for universal-argument.
4229 (universal-argument-map): Don't use default-bindings (bug#15317).
4230 Bind switch-frame explicitly. Replace universal-argument-minus with
4231 a conditional binding.
4232 (universal-argument-num-events, saved-overriding-map): Remove.
4233 (restore-overriding-map): Remove.
4234 (universal-argument--mode): Rename from save&set-overriding-map,
4235 and rewrite.
4236 (universal-argument, universal-argument-more, negative-argument)
4237 (digit-argument): Adjust accordingly.
4238 (universal-argument-minus): Remove.
4239 (universal-argument-other-key): Remove.
4240
4241 * subr.el (with-demoted-errors): Add `format' argument.
4242
4243 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4244
4245 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4246 `tramp-cleanup-connection'.
4247
4248 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4249 parameters KEEP-DEBUG and KEEP-PASSWORD.
4250
4251 * net/tramp.el (tramp-file-name-handler):
4252 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4253 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4254 (tramp-maybe-open-connection):
4255 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4256 Use `tramp-cleanup-connection'.
4257
4258 * net/tramp-sh.el (tramp-maybe-open-connection):
4259 Catch 'uname-changed inside the progress reporter.
4260
4261 2013-09-10 Glenn Morris <rgm@gnu.org>
4262
4263 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4264
4265 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4266 returns "alternate access method" in mode (eg "-rw-r--r--.").
4267
4268 2013-09-08 Glenn Morris <rgm@gnu.org>
4269
4270 * saveplace.el (load-save-place-alist-from-file):
4271 Demote errors. (Bug#15305)
4272
4273 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4274
4275 Improve compatibility with older Emacsen, and XEmacs.
4276
4277 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4278 only if it is bound. It isn't for XEmacs.
4279 (with-tramp-progress-reporter): Do not let-bind `result'.
4280 This yields to scoping errors in XEmacs.
4281 (tramp-handle-make-auto-save-file-name): New function, moved from
4282 tramp-sh.el.
4283
4284 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4285 for `make-auto-save-file-name'.
4286 (tramp-adb--gnu-switches-to-ash):
4287 Use `tramp-compat-replace-regexp-in-string'.
4288
4289 * net/tramp-cache.el (tramp-cache-print): Call
4290 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4291
4292 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4293 bound. It isn't for XEmacs.
4294
4295 * net/tramp-compat.el (tramp-compat-copy-file):
4296 Catch `wrong-number-of-arguments' error.
4297 (tramp-compat-replace-regexp-in-string): New defun.
4298
4299 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4300 for `make-auto-save-file-name'.
4301 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4302 `copy-file'.
4303 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4304 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4305 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4306
4307 * net/tramp-gw.el (tramp-gw-open-network-stream):
4308 Use `tramp-compat-replace-regexp-in-string'.
4309
4310 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4311 Call `tramp-handle-make-auto-save-file-name'.
4312 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4313 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4314 (tramp-sh-file-inotifywait-process-filter):
4315 Use `tramp-compat-replace-regexp-in-string'.
4316 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4317
4318 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4319 for `make-auto-save-file-name'.
4320 (tramp-smb-handle-copy-directory):
4321 Call `tramp-compat-replace-regexp-in-string'.
4322 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4323 (tramp-smb-handle-copy-file): Improve error message.
4324 (tramp-smb-handle-rename-file): Rename directly only in case
4325 `newname' does not exist yet. This is a restriction of smbclient.
4326 (tramp-smb-maybe-open-connection): Rerun the function only when
4327 `auth-sources' is non-nil.
4328
4329 2013-09-08 Kenichi Handa <handa@gnu.org>
4330
4331 * international/characters.el: Set category "^" (Combining) for
4332 more characters.
4333
4334 2013-09-07 Alan Mackenzie <acm@muc.de>
4335
4336 Correctly fontify Java class constructors.
4337 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4338 in Java Mode.
4339 (c-recognize-typeless-decls): Set the Java value to t.
4340 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4341 While handling a "(", add a check for, effectively, Java, and handle a
4342 "typeless" declaration there.
4343
4344 2013-09-07 Roland Winkler <winkler@gnu.org>
4345
4346 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4347 field subtitle for entry type book.
4348
4349 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * minibuffer.el: Make minibuffer-complete call completion-in-region
4352 rather than other way around.
4353 (completion--some, completion-pcm--find-all-completions):
4354 Don't delay signals when debugging.
4355 (minibuffer-completion-contents): Beware fields within the
4356 minibuffer contents.
4357 (completion-all-sorted-completions): Use defvar-local.
4358 (completion--do-completion, completion--cache-all-sorted-completions)
4359 (completion-all-sorted-completions, minibuffer-force-complete):
4360 Add args `beg' and `end'.
4361 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4362 (minibuffer-complete): Use completion-in-region.
4363 (completion-complete-and-exit): New fun, extracted from
4364 minibuffer-complete-and-exit.
4365 (minibuffer-complete-and-exit): Use it.
4366 (completion--complete-and-exit): Rename from
4367 minibuffer--complete-and-exit.
4368 (completion-in-region--single-word): New function, extracted from
4369 minibuffer-complete-word.
4370 (minibuffer-complete-word): Use it.
4371 (display-completion-list): Make `common-substring' argument obsolete.
4372 (completion--in-region): Call completion--in-region-1 instead of
4373 minibuffer-complete.
4374 (completion-help-at-point): Pass boundaries to
4375 minibuffer-completion-help as args rather than via an overlay.
4376 (completion-pcm--string->pattern): Use `any-delim'.
4377 (completion-pcm--optimize-pattern): New function.
4378 (completion-pcm--pattern->regex): Handle `any-delim'.
4379 * icomplete.el (icomplete-forward-completions)
4380 (icomplete-backward-completions, icomplete-completions):
4381 Adjust calls to completion-all-sorted-completions and
4382 completion--cache-all-sorted-completions.
4383 (icomplete-with-completion-tables): Default to t.
4384 * emacs-lisp/crm.el (crm--current-element): Rename from
4385 crm--select-current-element. Don't put an overlay but return the
4386 boundaries instead.
4387 (crm--completion-command): Take two new args to bind to the boundaries.
4388 (crm-completion-help): Adjust accordingly.
4389 (crm-complete): Use completion-in-region.
4390 (crm-complete-word): Use completion-in-region--single-word.
4391 (crm-complete-and-exit): Use completion-complete-and-exit.
4392
4393 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4396 than dynamically.
4397
4398 2013-09-06 Juri Linkov <juri@jurta.org>
4399
4400 * info.el (Info-display-images-node): When image file doesn't exist
4401 display text version of the image if it's provided in the Info file.
4402 Otherwise, display the location of missing image from SRC attribute.
4403 Add help-echo text property from ALT attribute. (Bug#15279)
4404
4405 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4406
4407 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4408 (edit-abbrevs-mode): Use define-derived-mode.
4409
4410 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4411 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4412 that it's defined.
4413 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4414 Use define-derived-mode.
4415
4416 * epg.el (epg-start-encrypt): Minor CSE simplification.
4417
4418 2013-09-06 William Xu <william.xwl@gmail.com>
4419
4420 * arc-mode.el: Add support for 7za (bug#15264).
4421 (archive-7z-program): New var.
4422 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4423 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4424 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4425
4426 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4427
4428 Remove URL syntax.
4429
4430 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4431 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4432 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4433 (tramp-postfix-host-format, tramp-file-name-regexp)
4434 (tramp-completion-file-name-regexp)
4435 (tramp-completion-dissect-file-name)
4436 (tramp-handle-substitute-in-file-name): Remove 'url case.
4437 (tramp-file-name-regexp-url)
4438 (tramp-completion-file-name-regexp-url): Remove constants.
4439
4440 2013-09-06 Glenn Morris <rgm@gnu.org>
4441
4442 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4443
4444 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4445
4446 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4447 keywords" below "here-doc beginnings" (Bug#15270).
4448
4449 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * subr.el (pop): Use `car-safe'.
4452 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4453 to detect unused `pop' return value.
4454
4455 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4456 var `block-regexp'.
4457 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4458 (python-fill-string): Remove unused var `marker'.
4459 (python-skeleton-add-menu-items): Remove unused var `items'.
4460
4461 * international/mule-cmds.el: Require CL.
4462 (find-coding-systems-for-charsets): Avoid add-to-list.
4463 (sanitize-coding-system-list): New function, extracted from
4464 select-safe-coding-system-interactively.
4465 (select-safe-coding-system-interactively): Use it.
4466 (read-input-method-name): Accept symbols for `default'.
4467
4468 * emacs-lisp/advice.el (defadvice): Add indent rule.
4469
4470 2013-09-05 Daniel Hackney <dan@haxney.org>
4471
4472 * dired-x.el:
4473 * net/ange-ftp.el:
4474 * net/browse-url.el:
4475 * net/dbus.el:
4476 * net/eudc.el:
4477 * net/eudcb-ldap.el:
4478 * net/eww.el:
4479 * net/imap.el:
4480 * printing.el:
4481 * vc/ediff-diff.el:
4482 * vc/ediff-init.el:
4483 * vc/ediff-merg.el:
4484 * vc/ediff-mult.el:
4485 * vc/ediff-util.el:
4486 * vc/ediff-wind.el:
4487 * vc/ediff.el:
4488 * vc/emerge.el:
4489 * vc/pcvs.el:
4490 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4491 byte compiler. Remove some unused let-bound variables.
4492
4493 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4496 a "ref-cell", since it gets better optimized (bug#14883).
4497
4498 2013-09-05 Glenn Morris <rgm@gnu.org>
4499
4500 * progmodes/cc-awk.el (c-forward-sws): Declare.
4501
4502 2013-09-04 Glenn Morris <rgm@gnu.org>
4503
4504 * generic-x.el [rul-generic-mode]: Require cc-mode.
4505 (c++-mode-syntax-table): Declare.
4506 (rul-generic-mode-syntax-table): Init in the defvar.
4507
4508 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4511 (vc-do-command, vc-set-async-update):
4512 * vc/vc-mtn.el (vc-mtn-dir-status):
4513 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4514 (vc-hg-pull, vc-hg-merge-branch):
4515 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4516 (vc-git-merge-branch):
4517 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4518 (vc-cvs-dir-status-files):
4519 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4520 (vc-bzr-dir-status-files):
4521 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4522 * vc/vc-annotate.el: Use lexical-binding.
4523 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4524 (vc-sentinel-movepoint): Declare.
4525 (vc-annotate): Don't use `goto-line'.
4526 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4527 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4528 (vc-sentinel-movepoint): Declare.
4529 * vc/vc-svn.el: Use lexical-binding.
4530 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4531 * vc/vc-sccs.el:
4532 * vc/vc-rcs.el: Use lexical-binding.
4533
4534 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4535 `deleted'. Don't drop errors silently.
4536
4537 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4538
4539 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4540
4541 * vc/vc.el (vc-ignore): Rewrite.
4542 (vc-default-ignore): New function.
4543 (vc-default-ignore-completion-table): Use find-ignore-file.
4544
4545 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4546 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4547 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4548 Remove. Most code moved to vc.el.
4549
4550 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4553 * net/tramp-smb.el (tramp-smb-get-file-entries):
4554 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4555 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4556
4557 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4558 Update call to it.
4559 (eww-change-select): Remove unused var `properties'.
4560 (eww-make-unique-file-name): Remove unused var `base'.
4561
4562 * finder.el (finder-compile-keywords): Don't mess with windows.
4563
4564 * calculator.el (calculator-funcall): Fix typo in last change.
4565
4566 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4567
4568 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4569 <pkg>-autoloads.el file stop us.
4570
4571 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4572 warnings, and factor out common code.
4573
4574 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4575
4576 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4577 two-character operators and whether the character preceding them
4578 changes their meaning (Bug#15208).
4579
4580 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4581
4582 Format code sent to Python shell for robustness.
4583 * progmodes/python.el (python-shell-buffer-substring):
4584 New function.
4585 (python-shell-send-region, python-shell-send-buffer): Use it.
4586
4587 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4590 * net/tramp.el (tramp-user-error): ... here.
4591 (tramp-find-method, tramp-check-proper-host)
4592 (tramp-dissect-file-name, tramp-debug-message)
4593 (tramp-handle-shell-command):
4594 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4595 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4596
4597 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4598
4599 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4600
4601 * avoid.el (mouse-avoidance-point-position)
4602 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4603 returns nil.
4604
4605 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4606
4607 * progmodes/python.el (python-shell-completion-get-completions):
4608 Drop use of deleted `comint-last-prompt-overlay'.
4609 (python-nav-if-name-main): New command.
4610
4611 2013-09-01 Glenn Morris <rgm@gnu.org>
4612
4613 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4614 Avoid leading space in $wins. Otherwise the sed command used by
4615 eg compile-main ends up containing "/*.el". (Bug#15170)
4616
4617 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4618
4619 2013-08-30 Glenn Morris <rgm@gnu.org>
4620
4621 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4622 Fix is-this-a-directory logic. (Bug#15220)
4623
4624 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * textmodes/css-mode.el: Use SMIE.
4627 (css-smie-grammar): New var.
4628 (css-smie--forward-token, css-smie--backward-token)
4629 (css-smie-rules): New functions.
4630 (css-mode): Use them.
4631 (css-navigation-syntax-table): Remove var.
4632 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4633 (css-indent-calculate, css-indent-line): Remove functions.
4634
4635 Misc changes to reduce use of `(lambda...); and other cleanups.
4636 * cus-edit.el: Use lexical-binding.
4637 (customize-push-and-save, customize-apropos)
4638 (custom-buffer-create-internal): Use closures.
4639 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4640 * progmodes/ada-xref.el: Use setq.
4641 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4642 * dframe.el: Use lexical-binding.
4643 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4644 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4645 * descr-text.el: Use lexical-binding.
4646 (describe-text-widget, describe-text-sexp, describe-property-list):
4647 Use closures.
4648 * comint.el (comint-history-isearch-push-state): Use a closure.
4649 * calculator.el: Use lexical-binding.
4650 (calculator-number-to-string): Make it work with lexical-binding.
4651 (calculator-funcall): Same and use cl-letf.
4652
4653 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4654 (lisp--company-doc-string, lisp--company-location): New functions.
4655 (lisp-completion-at-point): Use them to improve Company support.
4656
4657 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4658 params of lambda expressions.
4659 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4660 (ruby-smie--opening-pipe-p): New function.
4661 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4662 symbols and matched |...| for formal params.
4663 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4664 from being treated as hanging. Handle "rescue".
4665
4666 2013-08-29 Glenn Morris <rgm@gnu.org>
4667
4668 * progmodes/cc-engine.el (c-pull-open-brace):
4669 Move definition before use.
4670
4671 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4674 are immutable. Don't use `unsafe' any more.
4675 (cl--defsubst-expand): Don't substitute at the same time as keeping
4676 a residual unused let-binding. Don't use `unsafe' any more.
4677
4678 2013-08-29 Glenn Morris <rgm@gnu.org>
4679
4680 * calendar/cal-china.el (calendar-chinese-year-cache):
4681 Recenter on 2015.
4682
4683 * nxml/nxml-util.el (nxml-debug-clear-inside):
4684 Use cl-loop rather than loop.
4685
4686 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4687
4688 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4689
4690 2013-08-28 Glenn Morris <rgm@gnu.org>
4691
4692 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4693
4694 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4695
4696 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4697
4698 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * simple.el (repeat-complex-command--called-interactively-skip):
4701 New function.
4702 (repeat-complex-command): Use it (bug#14136).
4703
4704 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4705 (c-define-abbrev-table): Add `doc' argument.
4706 (c-mode-abbrev-table, c++-mode-abbrev-table)
4707 (objc-mode-abbrev-table, java-mode-abbrev-table)
4708 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4709 (awk-mode-abbrev-table): Use it.
4710 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4711 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4712 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4713 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4714 Move initialization into the declaration; and remove any
4715 autoload cookie.
4716
4717 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4718 and dynamic let binding.
4719
4720 * vc/smerge-mode.el: Remove redundant :group args.
4721
4722 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4723 to load-path.
4724
4725 2013-08-28 Juri Linkov <juri@jurta.org>
4726
4727 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4728 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4729 (isearch-other-meta-char): Handle an undefined shifted printing
4730 character by downshifting it. (Bug#15200)
4731
4732 2013-08-28 Juri Linkov <juri@jurta.org>
4733
4734 * isearch.el (isearch-search): Change regexp error message for
4735 non-regexp searches. (Bug#15166)
4736
4737 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4738
4739 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4740 for portability to hosts where /bin/sh has problems.
4741
4742 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4745
4746 2013-08-27 Juri Linkov <juri@jurta.org>
4747
4748 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4749 in the keyboard macro. (Bug#15126)
4750
4751 2013-08-27 Juri Linkov <juri@jurta.org>
4752
4753 * isearch.el (isearch-quote-char): Comment out converting unibyte
4754 to multibyte, thus syncing with its `quoted-insert' counterpart.
4755 (Bug#15166)
4756
4757 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4758
4759 * window.el (display-buffer-use-some-window): Add missing
4760 argument in call of get-largest-window (Bug#15185).
4761 Reported by Stephen Leake.
4762
4763 2013-08-27 Glenn Morris <rgm@gnu.org>
4764
4765 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4766
4767 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4770 from a matcher-function unless there's no more matches (bug#15161).
4771
4772 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4773
4774 * minibuffer.el: Revert change from 2013-08-20.
4775
4776 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4777 with text property `tramp-default', if appropriate.
4778 (tramp-check-proper-host): New defun.
4779 (tramp-dissect-file-name): Do not check hostname. Revert change
4780 of 2013-03-18.
4781 (tramp-backtrace): Make VEC-OR-PROC optional.
4782
4783 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4784 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4785 * net/tramp-sh.el (tramp-maybe-open-connection):
4786 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4787 Apply `tramp-check-proper-host'.
4788
4789 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4790
4791 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4792 lambda expression in order to have `describe-variable' display it.
4793
4794 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4795
4796 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4797 BUF can be optional. (Bug#15186)
4798
4799 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4800
4801 * progmodes/flymake.el (flymake-get-real-file-name-function):
4802 Fix broken customization. (Bug#15184)
4803
4804 2013-08-25 Alan Mackenzie <acm@muc.de>
4805
4806 Improve indentation of bracelists defined by macros (without "=").
4807
4808 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4809 expansion begins with "{", regard it as bracelist when it doesn't
4810 contain a ";".
4811
4812 Parse C++ inher-intro when there's a template split over 2 lines.
4813
4814 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4815 rigorously the search for "class" etc. followed by ":".
4816
4817 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4818 random languages a regexp which never matches rather than nil.
4819
4820 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4821
4822 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4823 (c-awk-regexp-one-line-possibly-open-char-list-re)
4824 (c-awk-one-line-possibly-open-regexp-re)
4825 (c-awk-one-line-non-syn-ws*-re): Remove.
4826 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4827 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4828 (c-awk-space*-unclosed-regexp-/-re): New constants.
4829 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4830 aren't regexp delimiters.
4831
4832 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4833 handling for a rare situation in AWK Mode involving unterminated
4834 strings/regexps.
4835
4836 2013-08-23 Glenn Morris <rgm@gnu.org>
4837
4838 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4839
4840 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4841
4842 * files.el (create-file-buffer): If the result would begin with
4843 spaces, prepend a "|" instead of removing them. (Bug#15162)
4844
4845 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4848 text-properties (bug#15155).
4849
4850 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4851 exist any more.
4852 (calc-keypad-redraw): Remove unused var `pad'.
4853 (calc-keypad-press): Remove unused var `menu'.
4854
4855 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4856
4857 * window.el (display-buffer-pop-up-frame):
4858 Call pop-up-frame-function with BUFFER current so `make-frame' will
4859 use it as the new frame's buffer (Bug#15133).
4860
4861 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * calendar/timeclock.el: Minor cleanups.
4864 (timeclock-ask-before-exiting, timeclock-use-display-time):
4865 Use `symbol'.
4866 (timeclock-modeline-display): Define as alias before the
4867 actual definition.
4868 (timeclock-mode-line-display): Use define-minor-mode.
4869 (timeclock-day-list-template): Make it a function, add an argument.
4870 (timeclock-day-list-required, timeclock-day-list-length)
4871 (timeclock-day-list-debt, timeclock-day-list-span)
4872 (timeclock-day-list-break): Adjust calls accordingly.
4873
4874 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4877 Use read--expression so that completion works again.
4878
4879 2013-08-21 Sam Steingold <sds@gnu.org>
4880
4881 Add rudimentary inferior shell interaction
4882 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4883 (sh-set-shell): Reset it.
4884 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4885 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4886
4887 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * align.el: Use lexical-binding.
4890 (align-region): Simplify accordingly.
4891
4892 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4893
4894 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4895
4896 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4897 `non-essential' up.
4898
4899 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4900
4901 * net/tramp.el:
4902 * net/tramp-adb.el:
4903 * net/tramp-cmds.el:
4904 * net/tramp-ftp.el:
4905 * net/tramp-gvfs.el:
4906 * net/tramp-gw.el:
4907 * net/tramp-sh.el: Don't wrap external variable declarations by
4908 `eval-when-compile'.
4909
4910 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911
4912 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4913 now that Emacs supports ImageMagick animations.
4914
4915 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4916
4917 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4918 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4919
4920 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4921
4922 * window.el (mouse-autoselect-window-select): Do autoselect when
4923 mouse pointer is on margin.
4924
4925 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4926
4927 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4928
4929 2013-08-16 Glenn Morris <rgm@gnu.org>
4930
4931 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4932 Handle "Remote Directory" response of some clients. (Bug#15058)
4933
4934 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4935 Tweak warning. (Bug#14926)
4936
4937 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4938 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4939
4940 * image-mode.el (image-mode-map): Add menu items to reverse,
4941 increase, decrease, reset animation speed.
4942 (image--set-speed, image-increase-speed, image-decrease-speed)
4943 (image-reverse-speed, image-reset-speed): New functions.
4944 (image-mode-map): Add bindings for speed commands.
4945
4946 * image.el (image-animate-get-speed, image-animate-set-speed):
4947 New functions.
4948 (image-animate-timeout): Respect image :speed property.
4949
4950 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4953 previous line (bug#15101).
4954 (debugger-eval-expression, debugger-record-expression):
4955 Use read--expression (bug#15102).
4956
4957 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4958
4959 Remove byte compiler warnings, visible when compiling with
4960 `byte-compile-force-lexical-warnings' set to t.
4961
4962 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4963 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4964 (tramp-handle-unhandled-file-name-directory)
4965 (tramp-handle-file-notify-add-watch, tramp-action-login)
4966 (tramp-action-succeed, tramp-action-permission-denied)
4967 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4968 arguments with "_".
4969
4970 * net/tramp-adb.el (tramp-adb-parse-device-names)
4971 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4972 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4973 (tramp-adb-handle-file-truename): Remove unused arguments.
4974
4975 * net/tramp-cache.el (tramp-flush-directory-property)
4976 (tramp-flush-connection-property, tramp-list-connections)
4977 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4978
4979 * net/tramp-compat.el (tramp-compat-make-temp-file):
4980 Rename FILENAME to F.
4981
4982 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4983 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4984 (tramp-zeroconf-parse-workstation-device-names)
4985 (tramp-zeroconf-parse-webdav-device-names)
4986 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4987
4988 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4989 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4990
4991 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4992 arguments.
4993 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4994 (tramp-sh-handle-insert-file-contents-literally)
4995 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4996 with "_".
4997 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4998 Remove unused variables.
4999
5000 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5001 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5002 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5003
5004 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5005 Make them a defconst.
5006 (tramp-uuencode-region): Remove unused variable.
5007
5008 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * frameset.el (frameset--prop-setter): New function.
5011 (frameset-prop): Add gv-setter declaration.
5012 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5013 parameter was already set in FILTERED. Doc fix.
5014 (frameset--record-minibuffer-relationships): Allow saving a
5015 minibufferless frame without its corresponding minibuffer frame.
5016 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5017 frame, if the frame id matches.
5018 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5019 frames before orphaned ones.
5020 (frameset-restore): Warn about orphaned windows, instead of error out.
5021
5022 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5023
5024 * window.el (window-make-atom): Don't overwrite parameter
5025 already present.
5026 (display-buffer-in-atom-window): Handle special case where we
5027 split an already atomic window.
5028 (window--major-non-side-window, display-buffer-in-side-window)
5029 (window--side-check): Ignore minibuffer window when walking
5030 window tree.
5031 (window-deletable-p): Return 'frame only if no other frame uses
5032 our minibuffer window.
5033 (record-window-buffer): Run buffer-list-update-hook.
5034 (split-window): Make sure window--check-frame won't destroy an
5035 existing atomic window in case the new window gets nested
5036 inside.
5037 (display-buffer-at-bottom): Ignore minibuffer window when
5038 walking window tree. Don't split a side window.
5039 (pop-to-buffer): Don't set-buffer here, the select-window call
5040 should do that.
5041 (mouse-autoselect-window-select): Autoselect only if we are in the
5042 text portion of the window.
5043
5044 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5045
5046 * net/shr.el (shr-parse-image-data): New function to grab both the
5047 data itself and the Content-Type.
5048 (shr-put-image): Use it.
5049
5050 * net/eww.el (eww-display-image): Ditto.
5051
5052 * image.el (image-content-type-suffixes): New variable.
5053
5054 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5055
5056 * progmodes/python.el (python-imenu--build-tree)
5057 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5058
5059 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5060
5061 * simple.el (backward-word): Mention the optional argument.
5062
5063 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * frameset.el (frameset--make): Rename constructor from make-frameset.
5066 (frameset-p, frameset-valid-p): Don't autoload.
5067 (frameset-valid-p): Use normal accessors.
5068
5069 2013-08-13 Glenn Morris <rgm@gnu.org>
5070
5071 * progmodes/compile.el (compile-command): Tweak example in doc.
5072 * obsolete/scribe.el (scribe-mode):
5073 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5074
5075 * mail/feedmail.el (feedmail-confirm-outgoing)
5076 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5077
5078 * cus-start.el (truncate-partial-width-windows): Fix type.
5079
5080 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5081
5082 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5083
5084 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/timer.el (timer--time-setter): New function.
5087 (timer--time): Use it as gv-setter.
5088
5089 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5090 setter is not a symbol.
5091
5092 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5093
5094 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5095 if sending fails. This makes debugging easier.
5096
5097 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5098
5099 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5100 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5101 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5102
5103 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5104
5105 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5106
5107 2013-08-12 Glenn Morris <rgm@gnu.org>
5108
5109 * format.el (format-annotate-function):
5110 Handle read-only text properties in the source. (Bug#14887)
5111
5112 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5113
5114 * net/eww.el (eww-display-html): Ignore coding system errors.
5115 One web site uses "utf-8lias" as the coding system.
5116
5117 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5120
5121 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5124 (tutorial--detailed-help): Remove unused local variables.
5125 (tutorial--save-tutorial-to): Use ignore-errors.
5126 (help-with-tutorial): Use looking-at-p.
5127
5128 * view.el (view-buffer-other-window, view-buffer-other-frame):
5129 Mark unused arguments.
5130
5131 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5132 (woman-select-symbol-fonts, woman, woman-find-file)
5133 (woman-insert-file-contents, woman-non-underline-faces):
5134 Use string-match-p.
5135 (woman1-unquote): Move declaration.
5136
5137 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5138 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5139 argument. Remove unused local variable.
5140 (xml-parse-elem-type): Use string-match-p.
5141 (xml-substitute-numeric-entities): Use ignore-errors.
5142
5143 * calculator.el (calculator): Mark unused argument.
5144 (calculator-paste, calculator-quit, calculator-integer-p):
5145 Use ignore-errors.
5146 (calculator-string-to-number, calculator-decimal, calculator-exp)
5147 (calculator-op-or-exp): Use string-match-p.
5148
5149 * dired.el (dired-buffer-more-recently-used-p): Declare.
5150 (dired-insert-set-properties, dired-insert-old-subdirs):
5151 Use ignore-errors.
5152
5153 * dired-aux.el (dired-compress): Use ignore-errors.
5154 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5155 (dired-do-async-shell-command, dired-do-shell-command)
5156 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5157 (dired-insert-subdir-validate): Use string-match-p.
5158 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5159 (dired-add-entry): Use string-match-p, looking-at-p.
5160 (dired-insert-subdir-newpos): Remove unused local variable.
5161
5162 * filenotify.el (file-notify-callback): Remove unused local variable.
5163
5164 * filesets.el (filesets-error): Mark unused argument.
5165 (filesets-which-command-p, filesets-filter-dir-names)
5166 (filesets-directory-files, filesets-get-external-viewer)
5167 (filesets-ingroup-get-data): Use string-match-p.
5168
5169 * find-file.el (ff-other-file-name, ff-other-file-name)
5170 (ff-find-the-other-file, ff-cc-hh-converter):
5171 Remove unused local variables.
5172 (ff-get-file-name): Use string-match-p.
5173 (ff-all-dirs-under): Use ignore-errors.
5174
5175 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5176 (follow-select-if-visible): Remove unused local variable.
5177
5178 * forms.el (read-file-filter): Move declaration.
5179 (forms--make-format, forms--make-parser, forms-insert-record):
5180 Quote function with #'.
5181 (forms--update): Use string-match-p. Quote function with #'.
5182
5183 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5184 (help-make-xrefs): Use looking-at-p.
5185 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5186
5187 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5188 (ibuffer-confirm-operation-on): Use string-match-p.
5189
5190 * msb.el (msb-item-handler, msb-dired-item-handler):
5191 Mark unused arguments.
5192
5193 * ses.el (ses-decode-cell-symbol)
5194 (ses-kill-override): Remove unused local variable.
5195 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5196 (ses-load): Use ignore-errors, looking-at-p.
5197 (ses-jump-safe): Use ignore-errors.
5198 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5199
5200 * tabify.el (untabify, tabify): Mark unused arguments.
5201
5202 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5203 Mark unused argument.
5204 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5205 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5206
5207 * emacs-lisp/timer.el (timer--time): Define setter with
5208 gv-define-setter to avoid deprecation warning.
5209
5210 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5211 (*record-cmpl-statistics-p*): Remove (was commented out).
5212 (cmpl-statistics-block): Remove (body was commented out).
5213 All callers changed.
5214 (add-completions-from-buffer, load-completions-from-file):
5215 Remove unused variables.
5216
5217 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5218
5219 * filecache.el (file-cache-delete-file-list):
5220 Print message only when told so.
5221 (file-cache-files-matching): Use #' in mapconcat argument.
5222
5223 * ffap.el (ffap-url-at-point): Fix reference to variable
5224 thing-at-point-default-mail-uri-scheme.
5225
5226 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * subr.el (define-error): New function.
5229 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5230 error-file-not-found and define with define-error.
5231 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5232 and define with define-error.
5233 * userlock.el (file-locked, file-supersession):
5234 * simple.el (mark-inactive):
5235 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5236 * progmodes/ada-mode.el (ada-mode-errors):
5237 * play/life.el (life-extinct):
5238 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5239 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5240 * nxml/rng-util.el (rng-error):
5241 * nxml/rng-uri.el (rng-uri-error):
5242 * nxml/rng-match.el (rng-compile-error):
5243 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5244 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5245 * nxml/nxml-rap.el (nxml-scan-error):
5246 * nxml/nxml-outln.el (nxml-outline-error):
5247 * net/soap-client.el (soap-error):
5248 * net/gnutls.el (gnutls-error):
5249 * net/ange-ftp.el (ftp-error):
5250 * mpc.el (mpc-proc-error):
5251 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5252 (json-number-format, json-string-escape, json-string-format)
5253 (json-key-format, json-object-format):
5254 * jka-compr.el (compression-error):
5255 * international/quail.el (quail-error):
5256 * international/kkc.el (kkc-error):
5257 * emacs-lisp/ert.el (ert-test-failed):
5258 * calc/calc.el (calc-error, inexact-result, math-overflow)
5259 (math-underflow):
5260 * bookmark.el (bookmark-error-no-filename):
5261 * epg.el (epg-error): Define with define-error.
5262
5263 * time.el (display-time-event-handler)
5264 (display-time-next-load-average): Don't call sit-for since it seems
5265 unnecessary (bug#15045).
5266
5267 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5268 Use #' instead of ' to quote functions.
5269 (checkdoc-output-mode): Use setq-local.
5270 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5271 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5272 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5273 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5274 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5275 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5276 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5277 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5278
5279 * ido.el (ido-completion-help): Fix up compiler warning.
5280
5281 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * frameset.el (frameset-p): Add autoload cookie.
5284 (frameset--jump-to-register): New function, based on code moved from
5285 register.el.
5286 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5287
5288 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5289 (frameset-restore, frameset-save, frameset-session-filter-alist):
5290 Remove declarations.
5291 (register-alist): Doc fix.
5292 (frameset-to-register): Move to frameset.el.
5293 (jump-to-register, describe-register-1): Remove frameset-specific code.
5294
5295 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5296
5297 * allout-widgets.el (allout-widgets-pre-command-business)
5298 (allout-widgets-post-command-business)
5299 (allout-widgets-after-change-handler)
5300 (allout-decorate-item-and-context, allout-set-boundary-marker)
5301 (allout-body-modification-handler)
5302 (allout-graphics-modification-handler): Mark ignored arguments.
5303 (allout-widgets-post-command-business)
5304 (allout-widgets-exposure-change-processor)
5305 (allout-widgets-exposure-undo-processor)
5306 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5307 (allout-parse-item-at-point, allout-decorate-item-guides)
5308 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5309 * allout.el (epa-passphrase-callback-function): Declare.
5310 (allout-overlay-insert-in-front-handler)
5311 (allout-overlay-interior-modification-handler)
5312 (allout-isearch-end-handler, allout-chart-siblings)
5313 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5314 (allout-yank-processing, allout-process-exposed)
5315 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5316 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5317 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5318 (lisp-indent-defform): Mark ignored arguments.
5319 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5320 (calculate-lisp-indent): Remove unused variables.
5321 * international/characters.el (indian-2-column, arabic-2-column)
5322 (tibetan): Mark ignored arguments.
5323 (use-cjk-char-width-table): Mark ignored arguments.
5324 Remove unused variables.
5325 * international/fontset.el (build-default-fontset-data)
5326 (x-compose-font-name, create-fontset-from-fontset-spec):
5327 Mark ignored arguments.
5328 (fontset-plain-name): Remove unused variables.
5329 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5330 (keyboard-coding-system): Mark ignored arguments.
5331 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5332 * help.el (resize-temp-buffer-window):
5333 * window.el (display-buffer-in-major-side-window)
5334 (display-buffer-in-side-window, display-buffer-in-previous-window):
5335 Remove unused variables.
5336 * isearch.el (isearch-forward-symbol):
5337 * version.el (emacs-bzr-version-bzr):
5338 * international/mule-cmds.el (current-language-environment):
5339 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5340 (x-handle-display):
5341 * term/pc-win.el (x-list-fonts, x-display-planes)
5342 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5343 (x-server-version, x-display-screens, x-display-mm-height)
5344 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5345 (x-selection-owner-p, x-own-selection-internal)
5346 (x-disown-selection-internal, x-get-selection-internal)
5347 (msdos-initialize-window-system):
5348 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5349 * term/x-win.el (x-handle-no-bitmap-icon):
5350 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5351 (vc-default-find-file-hook, vc-default-extra-menu):
5352 Mark ignored arguments.
5353
5354 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5357 break-condition in the context of the debugged code (bug#12685).
5358
5359 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5360
5361 * comint.el:
5362 Do not use an overlay to highlight the last prompt. (Bug#14744)
5363 (comint-mode): Make comint-last-prompt buffer local.
5364 (comint-last-prompt): New variable.
5365 (comint-last-prompt-overlay): Remove. Superseded by
5366 comint-last-prompt.
5367 (comint-snapshot-last-prompt, comint-output-filter):
5368 Use comint-last-prompt.
5369
5370 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5371
5372 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5373 (frameset-save): Check validity of the resulting frameset.
5374
5375 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5376
5377 * ido.el (ido-record-command): Add doc string.
5378
5379 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5380
5381 * frameset.el (frameset): Do not disable creation of the default
5382 frameset-p predicate. Doc fix.
5383 (frameset-valid-p): New function, copied from the old predicate-p.
5384 Add additional checks.
5385 (frameset-restore): Check with frameset-valid-p.
5386 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5387 (frameset-name, frameset-description, frameset-properties)
5388 (frameset-states): Add docstring.
5389 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5390 (frameset-filter-alist): Doc fixes.
5391
5392 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5393
5394 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5395
5396 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5399 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5400 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5401 (byte-compile-normal-call): Remove obsolescence check.
5402
5403 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * frameset.el (frameset-restore): Doc fix.
5406
5407 * register.el (frameset-frame-id, frameset-frame-with-id)
5408 (frameset-p, frameset-restore, frameset-save): Declare.
5409 (register-alist): Document framesets.
5410 (frameset-session-filter-alist): Declare.
5411 (frameset-to-register): New function.
5412 (jump-to-register): Implement jumping to framesets. Doc fix.
5413 (describe-register-1): Describe framesets.
5414
5415 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5416
5417 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5420 Use lexical-binding.
5421
5422 * frameset.el (frameset): Use type vector, not list (incompatible
5423 change). Do not declare a new constructor, use the default one.
5424 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5425 `name' and `description', respectively, and add read-only slot
5426 `timestamp'. Doc fixes.
5427 (frameset-copy, frameset-persistent-filter-alist)
5428 (frameset-filter-alist, frameset-switch-to-gui-p)
5429 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5430 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5431 (frameset-filter-iconified, frameset-keep-original-display-p):
5432 Doc fixes.
5433 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5434 Rename from frameset-filter-(save|restore)-param. All callers changed.
5435 Doc fix.
5436 (frameset-p): Adapt to change to vector and be more thorough.
5437 Change arg name to OBJECT. Doc fix.
5438 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5439 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5440 All callers changed.
5441 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5442 All callers changed.
5443 (frameset--record-minibuffer-relationships): Rename from
5444 frameset--process-minibuffer-frames. All callers changed.
5445 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5446 Use new default constructor (again). Doc fix.
5447 (frameset--find-frame-if): Rename from `frameset--find-frame.
5448 All callers changed.
5449 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5450 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5451 Doc fix.
5452 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5453 PARAMETERS and WINDOW-STATE, respectively.
5454 (frameset-restore): Add new keyword argument PREDICATE.
5455 Reset frameset--target-display to nil. Doc fix.
5456
5457 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5460 (bat-mode): Use it.
5461 (bat-mode-syntax-table): Mark \n as end-of-comment.
5462 (bat-font-lock-keywords): Remove comment rule.
5463
5464 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5465 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5466
5467 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5468 (byte-compile-callargs-warn): Use `push'.
5469 (byte-compile-arglist-warn): Ignore higher-order "calls".
5470 (byte-compile-file-form-autoload): Use `pcase'.
5471 (byte-compile-function-form): If quoting a symbol, check that it exists.
5472
5473 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5474
5475 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5476 and add a few popular commands found in batch files.
5477 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5478 (dos-mode): Doc fixes.
5479
5480 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5483 (dos-mode): Use setq-local. Add space after "rem".
5484 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5485 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5486
5487 2013-08-07 Arni Magnusson <arnima@hafro.is>
5488
5489 * progmodes/dos.el: New file.
5490 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5491 dos-mode.
5492
5493 2013-08-06 Glenn Morris <rgm@gnu.org>
5494
5495 * calendar/calendar.el: Add new faces, and day-header-array.
5496 (calendar-weekday-header, calendar-weekend-header)
5497 (calendar-month-header): New faces.
5498 (calendar-day-header-construct): New function.
5499 (calendar-day-header-width): Also :set calendar-day-header-array.
5500 (calendar-american-month-header, calendar-european-month-header)
5501 (calendar-iso-month-header): Use calendar- faces.
5502 (calendar-generate-month):
5503 Use calendar-day-header-array for day headers; apply faces to them.
5504 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5505 (calendar-abbrev-construct): Add optional maxlen argument.
5506 (calendar-day-name-array): Doc fix.
5507 (calendar-day-name-array, calendar-abbrev-length)
5508 (calendar-day-abbrev-array):
5509 Also :set calendar-day-header-array, and maybe redraw.
5510 (calendar-day-header-array): New option. (Bug#15007)
5511 (calendar-font-lock-keywords): Set to nil and make obsolete.
5512 (calendar-day-name): Add option to use header array.
5513
5514 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5515
5516 * net/shr.el (shr-render-td): Remove debugging.
5517 (shr-render-td): Make width computation consistent by defaulting
5518 all zero-width columns to 10 characters. This may not be optimal,
5519 but it's at least consistent.
5520 (shr-make-table-1): Redo last change to fix the real problem in
5521 colspan handling.
5522
5523 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5524
5525 * files.el (cache-long-line-scans):
5526 Make obsolete alias to `cache-long-scans'.
5527
5528 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5529
5530 * frameset.el (frameset, frameset-filter-alist)
5531 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5532 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5533 (frameset-compute-pos): Rename from frameset--compute-pos,
5534 and add docstring.
5535 (frameset-move-onscreen): Use frameset-compute-pos.
5536 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5537
5538 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5539 Fix typos in docstrings.
5540
5541 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5542
5543 * frame.el (get-other-frame): Tiny cleanup.
5544
5545 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5546
5547 * vc/vc.el (vc-default-ignore-completion-table):
5548 Silence byte-compiler warning.
5549
5550 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5551 slot , which can indeed be nil.
5552 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5553 Move entry for `left' from persistent to live filter alist.
5554 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5555 Doc fixes.
5556 (frameset-filter-params): When restoring a frame, copy items added to
5557 `filtered', to avoid unwittingly modifying the original parameters.
5558 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5559 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5560
5561 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5562 to use looking-at-p instead of looking-at. (Bug#15028)
5563
5564 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 Revert introduction of isearch-filter-predicates (bug#14714).
5567 Rely on add-function instead.
5568 * isearch.el (isearch-filter-predicates): Rename it back to
5569 isearch-filter-predicate.
5570 (isearch-message-prefix): Use advice-function-mapc and advice
5571 properties to get the isearch-message-prefix.
5572 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5573 instead of run-hook-with-args-until-failure.
5574 (isearch-filter-visible): Not obsolete any more.
5575 * loadup.el: Preload nadvice.
5576 * replace.el (perform-replace): Revert to funcall
5577 instead of run-hook-with-args-until-failure.
5578 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5579 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5580 dired-isearch-filenames-toggle; make it into a proper minor mode.
5581 Use add/remove-function.
5582 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5583 Call the minor-mode rather than add/remove-hook.
5584 (dired-isearch-filter-filenames):
5585 Remove isearch-message-prefix property.
5586 * info.el (Info--search-loop): New function, extracted from Info-search.
5587 Funcall isearch-filter-predicate instead of
5588 run-hook-with-args-until-failure isearch-filter-predicates.
5589 (Info-search): Use it.
5590 (Info-mode): Use isearch-filter-predicate instead of
5591 isearch-filter-predicates.
5592
5593 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5594
5595 Do not call to `selected-window' where it is assumed by default.
5596 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5597 `window-hscroll', `window-width', `window-height', `window-buffer',
5598 `window-frame', `window-start', `window-point', `next-window'
5599 and `window-display-table'.
5600 * abbrev.el (abbrev--default-expand):
5601 * bs.el (bs--show-with-configuration):
5602 * buff-menu.el (Buffer-menu-mouse-select):
5603 * calc/calc.el (calc):
5604 * calendar/calendar.el (calendar-generate-window):
5605 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5606 (diary-make-entry):
5607 * comint.el (send-invisible, comint-dynamic-complete-filename)
5608 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5609 * completion.el (complete):
5610 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5611 * disp-table.el (describe-current-display-table):
5612 * doc-view.el (doc-view-insert-image):
5613 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5614 * ehelp.el (with-electric-help):
5615 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5616 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5617 * emacs-lisp/helper.el (Helper-help-scroller):
5618 * emulation/cua-base.el (cua--post-command-handler-1):
5619 * eshell/esh-mode.el (eshell-output-filter):
5620 * ffap.el (ffap-gnus-wrapper):
5621 * help-macro.el (make-help-screen):
5622 * hilit-chg.el (highlight-compare-buffers):
5623 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5624 * hl-line.el (global-hl-line-highlight):
5625 * icomplete.el (icomplete-simple-completing-p):
5626 * isearch.el (isearch-done):
5627 * jit-lock.el (jit-lock-stealth-fontify):
5628 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5629 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5630 * mpc.el (mpc-tagbrowser, mpc):
5631 * net/rcirc.el (rcirc-any-buffer):
5632 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5633 * play/landmark.el (landmark-max-width, landmark-max-height):
5634 * play/zone.el (zone):
5635 * progmodes/compile.el (compilation-goto-locus):
5636 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5637 * progmodes/etags.el (find-tag-other-window):
5638 * progmodes/fortran.el (fortran-column-ruler):
5639 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5640 * progmodes/verilog-mode.el (verilog-point-text):
5641 * reposition.el (reposition-window):
5642 * rot13.el (toggle-rot13-mode):
5643 * server.el (server-switch-buffer):
5644 * shell.el (shell-dynamic-complete-command)
5645 (shell-dynamic-complete-environment-variable):
5646 * simple.el (insert-buffer, set-selective-display)
5647 (delete-completion-window):
5648 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5649 (speedbar-recenter):
5650 * startup.el (fancy-splash-head):
5651 * textmodes/ispell.el (ispell-command-loop):
5652 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5653 * tutorial.el (help-with-tutorial):
5654 * vc/add-log.el (add-change-log-entry):
5655 * vc/compare-w.el (compare-windows):
5656 * vc/ediff-help.el (ediff-indent-help-message):
5657 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5658 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5659 (ediff-setup-control-frame):
5660 * vc/emerge.el (emerge-position-region):
5661 * vc/pcvs-util.el (cvs-bury-buffer):
5662 * window.el (walk-windows, mouse-autoselect-window-select):
5663 * winner.el (winner-set-conf, winner-undo): Related users changed.
5664
5665 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5666
5667 * frameset.el (frameset--set-id): Doc fix.
5668 (frameset-frame-id, frameset-frame-id-equal-p)
5669 (frameset-locate-frame-id): New functions.
5670 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5671 (frameset-restore): Use them.
5672
5673 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5674
5675 Do not call to `selected-frame' where it is assumed by default.
5676 Affected functions are `raise-frame', `redraw-frame',
5677 `frame-first-window', `frame-terminal' and `delete-frame'.
5678 * calendar/appt.el (appt-disp-window):
5679 * epg.el (epg-wait-for-completion):
5680 * follow.el (follow-delete-other-windows-and-split)
5681 (follow-avoid-tail-recenter):
5682 * international/mule.el (set-terminal-coding-system):
5683 * mail/rmail.el (rmail-mail-return):
5684 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5685 * progmodes/f90.el (f90-add-imenu-menu):
5686 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5687 * server.el (server-switch-buffer):
5688 * simple.el (delete-completion-window):
5689 * talk.el (talk):
5690 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5691 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5692 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5693 * vc/ediff.el (ediff-documentation): Related users changed.
5694 * frame.el (selected-terminal): Remove the leftover.
5695
5696 2013-08-05 Glenn Morris <rgm@gnu.org>
5697
5698 * calendar/calendar.el (calendar-generate-month):
5699 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5700 (calendar-generate-month, calendar-font-lock-keywords):
5701 Fix for calendar-day-header-width > length of any day name.
5702
5703 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5704
5705 * desktop.el (desktop-clear): Use new name of sort predicate.
5706
5707 * frameset.el (frameset): Add docstring. Move :version property to its
5708 own `version' slot.
5709 (frameset-copy): Rename from copy-frameset.
5710 (frameset-p): Check more thoroughly.
5711 (frameset-prop): Do not check for :version, which is no longer a prop.
5712 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5713 Use new :never value instead of t.
5714 (frameset-filter-alist): Expand and clarify docstring.
5715 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5716 (frameset-filter-minibuffer, frameset-filter-save-param)
5717 (frameset-filter-restore-param, frameset-filter-iconified):
5718 Add pointer to docstring of frameset-filter-alist.
5719 (frameset-filter-params): Rename filter values to be more meaningful:
5720 :never instead of t, and reverse the meanings of :save and :restore.
5721 (frameset--process-minibuffer-frames): Clarify error message.
5722 (frameset-save): Avoid unnecessary and confusing call to framep.
5723 Use new BOA constructor for framesets.
5724 (frameset--reuse-list): Doc fix.
5725 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5726 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5727 (frameset-minibufferless-first-p): Doc fix.
5728 Rename from frameset-sort-frames-for-deletion.
5729 (frameset-restore): Doc fixes. Use new function names.
5730 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5731
5732 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * desktop.el (desktop-restore-forces-onscreen)
5735 (desktop-restore-reuses-frames): Document :keyword constant values.
5736 (desktop-filter-parameters-alist): Remove, now identical to
5737 frameset-filter-alist.
5738 (desktop--filter-tty*): Remove, moved to frameset.el.
5739 (desktop-save-frameset, desktop-restore-frameset):
5740 Do not pass :filters argument.
5741
5742 * frameset.el (frameset-live-filter-alist)
5743 (frameset-persistent-filter-alist): New variables.
5744 (frameset-filter-alist): Use them. Add autoload cookie.
5745 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5746 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5747 `frameset--id' (it's supposed to be internal to frameset.el).
5748 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5749 (frameset--initial-params): New function.
5750 (frameset--get-frame): Use it. Doc fix.
5751 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5752 Accept :all, not 'all.
5753 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5754 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5755 with fbound symbols. Fix frame id matching, and remove matching ids if
5756 the frame being restored is deleted. Obey :delete.
5757
5758 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * subr.el (macrop): New function.
5761 (text-clone--maintaining): New var.
5762 (text-clone--maintain): Rename from text-clone-maintain. Use it
5763 instead of inhibit-modification-hooks.
5764
5765 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5766 a proxy, so as handle autoloads and redefinitions of the target.
5767 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5768
5769 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5770 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5771 (pcase--mutually-exclusive-p): New function.
5772 (pcase--split-consp): Use it.
5773 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5774 mutually exclusive with the current predicate.
5775
5776 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5777 (edebug-macrop): Remove. Use `macrop' instead.
5778 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5779 (ad-macro-p):
5780 * eshell/esh-cmd.el (eshell-macrop):
5781 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5782
5783 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5786 (advice-mapc): New function, using it.
5787 (advice-function-member-p): New function.
5788 (advice--normalize): Store the cdr in advice--saved-rewrite since
5789 that's the part that will be changed.
5790 (advice--symbol-function): New function.
5791 (advice-remove): Handle removal before the function is defined.
5792 Adjust to new advice--saved-rewrite.
5793 (advice-member-p): Use advice-function-member-p and
5794 advice--symbol-function.
5795
5796 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5797
5798 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5799 (frameset-filter-minibuffer): Doc fix.
5800 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5801 (frameset--set-id, frameset--process-minibuffer-frames)
5802 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5803 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5804
5805 * desktop.el (desktop-clear): Only delete frames when called
5806 interactively and desktop-restore-frames is non-nil. Doc fix.
5807 (desktop-read): Set desktop-saved-frameset to nil.
5808
5809 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5810
5811 * vc/vc.el (vc-ignore): Rewrite.
5812 (vc-default-ignore-completion-table):
5813 (vc--read-lines):
5814 (vc--add-line, vc--remove-regexp): New functions.
5815
5816 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5817 (vc-svn-ignore-completion-table): New function.
5818
5819 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5820 (vc-hg-ignore-completion-table):
5821 (vc-hg-find-ignore-file): New functions.
5822
5823 * vc/vc-git.el (vc-git-ignore): Rewrite.
5824 (vc-git-ignore-completion-table):
5825 (vc-git-find-ignore-file): New functions.
5826
5827 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5828
5829 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5830 (vc-bzr-ignore-completion-table):
5831 (vc-bzr-find-ignore-file): New functions.
5832
5833 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5834
5835 * frameset.el (frameset-prop): New function and setter.
5836 (frameset-save): Do not modify frame list passed by the caller.
5837
5838 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5841
5842 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5845 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5846
5847 * custom.el (custom-initialize-default, custom-initialize-set)
5848 (custom-initialize-reset, custom-initialize-changed): Affect the
5849 toplevel-default-value (bug#6275, bug#14586).
5850 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5851 for bug#6275.
5852
5853 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5854
5855 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5856 Add cl-def* expressions.
5857
5858 * frameset.el (frameset-filter-params): Fix order of arguments.
5859
5860 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5861
5862 Move code related to saving frames to frameset.el.
5863 * desktop.el: Require frameset.
5864 (desktop-restore-frames): Doc fix.
5865 (desktop-restore-reuses-frames): Rename from
5866 desktop-restoring-reuses-frames.
5867 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5868 (desktop-clear): Clear frames too.
5869 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5870 (desktop--filter-tty*, desktop-save, desktop-read):
5871 Use frameset functions.
5872 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5873 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5874 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5875 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5876 (desktop--process-minibuffer-frames, desktop-save-frames)
5877 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5878 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5879 (desktop--sort-states, desktop-restoring-frames-p)
5880 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5881 (desktop-restoring-frameset-p, desktop-restore-frameset)
5882 (desktop--check-dont-save, desktop-save-frameset): New functions.
5883 (desktop--app-id): New constant.
5884 (desktop-first-buffer, desktop-buffer-ok-count)
5885 (desktop-buffer-fail-count): Move before first use.
5886 * frameset.el: New file.
5887
5888 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * files.el: Use lexical-binding.
5891 (dir-locals-read-from-file): Remove unused `err' variable.
5892 (hack-dir-local-variables--warned-coding): New var.
5893 (hack-dir-local-variables): Use it to avoid repeated warnings.
5894 (make-backup-file-name--default-function): New function.
5895 (make-backup-file-name-function): Use it as default.
5896 (buffer-stale--default-function): New function.
5897 (buffer-stale-function): Use it as default.
5898 (revert-buffer-insert-file-contents--default-function): New function.
5899 (revert-buffer-insert-file-contents-function): Use it as default.
5900 (insert-directory): Avoid add-to-list.
5901
5902 * autorevert.el (auto-revert-handler): Simplify.
5903 Use buffer-stale--default-function.
5904
5905 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5906
5907 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5908
5909 * whitespace.el (whitespace-ensure-local-variables): New function.
5910 (whitespace-cleanup-region): Call it.
5911 (whitespace-turn-on): Call it.
5912
5913 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5914
5915 Complete file name handlers.
5916
5917 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5918 (tramp-handle-verify-visited-file-modtime)
5919 (tramp-handle-file-notify-rm-watch): New functions.
5920 (tramp-call-process): Do not bind `default-directory'.
5921
5922 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5923 Order alphabetically.
5924 [access-file, add-name-to-file, dired-call-process]:
5925 [dired-compress-file, file-acl, file-notify-rm-watch]:
5926 [file-ownership-preserved-p, file-selinux-context]:
5927 [make-directory-internal, make-symbolic-link, set-file-acl]:
5928 [set-file-selinux-context, set-visited-file-modtime]:
5929 [verify-visited-file-modtime]: Add handler.
5930 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5931
5932 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5933 [file-notify-add-watch, file-notify-rm-watch]:
5934 [set-file-times, set-visited-file-modtime]:
5935 [verify-visited-file-modtime]: Add handler.
5936 (with-tramp-gvfs-error-message)
5937 (tramp-gvfs-handle-set-visited-file-modtime)
5938 (tramp-gvfs-fuse-file-name): Remove.
5939 (tramp-gvfs-handle-file-notify-add-watch)
5940 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5941 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5942
5943 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5944 Order alphabetically.
5945 [file-notify-rm-watch ]: Use default Tramp handler.
5946 [executable-find]: Remove private handler.
5947 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5948 `default-directory'.
5949 (tramp-sh-handle-executable-find)
5950 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5951 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5952 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5953 Do not use `format' in `tramp-message'.
5954
5955 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5956 [file-notify-rm-watch, set-visited-file-modtime]:
5957 [verify-visited-file-modtime]: Add handler.
5958 (tramp-smb-call-winexe): Do not bind `default-directory'.
5959
5960 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5961
5962 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5963
5964 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5965
5966 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5967 use it.
5968 (log-view-diff-changeset): Same.
5969 (log-view-diff-common): Call backend command `previous-revision'
5970 to find out the previous revision, in both cases. Swap the
5971 variables `to' and `fr', so that `fr' usually refers to the
5972 earlier revision (Bug#14989).
5973
5974 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5975
5976 * ibuf-ext.el (ibuffer-filter-by-filename):
5977 Make it work with dired buffers too.
5978
5979 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5980
5981 * emacs-lisp/re-builder.el (reb-color-display-p):
5982 * files.el (save-buffers-kill-terminal):
5983 * net/browse-url.el (browse-url):
5984 * server.el (server-save-buffers-kill-terminal):
5985 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5986 Prefer nil to selected-frame for the first arg of frame-parameter.
5987
5988 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5989
5990 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5991
5992 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5993
5994 * minibuffer.el (completion--twq-all): Try and preserve each
5995 completion's case choice (bug#14907).
5996
5997 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5998
5999 * net/network-stream.el (open-network-stream): Mention the new
6000 :nogreeting parameter.
6001 (network-stream-open-starttls): Use the :nogreeting parameter
6002 (bug#14938).
6003
6004 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6005
6006 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6007 more natural than popping.
6008
6009 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6010 (shr-urlify): Highlight under mouse.
6011
6012 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6013
6014 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6015
6016 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6017
6018 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6019 buffer for output.
6020
6021 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6022 point-min==1. Fix search string. Fix parentheses missing.
6023
6024 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6025 assume point-min==1. Fix search string. Fix parentheses missing.
6026
6027 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6028
6029 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6030 buffer for output.
6031
6032 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6033
6034 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6035 initial frame is minibuffer-less. (Bug#14841)
6036
6037 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6038
6039 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6040 option.
6041
6042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6043 (tramp-maybe-open-connection): Use it.
6044
6045 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6048 minimal set of parameters passed when creating a frame, because
6049 the minibuffer status of a frame cannot be changed later.
6050
6051 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6052
6053 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6054 replace-regexp-in-string and inadvertent omissions in previous change.
6055 (todo-filter-items): Ensure only file names are comma-separated in
6056 name of filtered items buffer.
6057
6058 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6059
6060 * desktop.el: Optionally force offscreen frames back onscreen.
6061 (desktop-restoring-reuses-frames): New option.
6062 (desktop--compute-pos, desktop--move-onscreen): New functions.
6063 (desktop--make-frame): Use desktop--move-onscreen.
6064
6065 2013-07-27 Alan Mackenzie <acm@muc.de>
6066
6067 Fontify a Java generic method as a function.
6068 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6069 value to t.
6070
6071 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6072
6073 * calendar/todo-mode.el: Add command to rename todo files.
6074 (todo-rename-file): New command.
6075 (todo-key-bindings-t): Add key binding for it. Change the
6076 bindings of todo-filter-regexp-items(-multifile) to use `x'
6077 instead of `r', since the latter is better suited to the new
6078 renaming command.
6079
6080 2013-07-27 Alan Mackenzie <acm@muc.de>
6081
6082 Make Java try-with-resources statement parse properly.
6083 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6084 (c-block-stmt-1-2-key): New language constants/variables.
6085 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6086 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6087 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6088 with c-block-stmt-1-2-key.
6089
6090 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6091
6092 * desktop.el (desktop--make-frame): Apply most frame parameters after
6093 creating the frame to force (partially or totally) offscreen frames to
6094 be restored as such.
6095
6096 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6097
6098 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6099 (Bug#14948)
6100
6101 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6104 `base' arg of backtrace-frame.
6105
6106 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6107
6108 * simple.el (list-processes): Doc fix.
6109
6110 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * desktop.el (desktop--select-frame):
6113 Try harder to reuse existing frames.
6114
6115 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6118 (edebug-eval): Use backtrace-eval.
6119 (edebug--display, edebug--recursive-edit): Don't let-bind the
6120 edebug-outer-* vars that keep track of variables we locally let-bind.
6121 (edebug-outside-excursion): Don't restore outside values of locally
6122 let-bound vars.
6123 (edebug--display): Use user-error.
6124 (cl-lexical-debug, cl-debug-env): Remove.
6125
6126 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6127
6128 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6129 are restored to be sure that they are visible before deleting any
6130 remaining ones.
6131
6132 2013-07-26 Matthias Meulien <orontee@gmail.com>
6133
6134 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6135 vc-print-root-log. (Bug#14948)
6136
6137 2013-07-26 Richard Stallman <rms@gnu.org>
6138
6139 Add aliases for encrypting mail.
6140 * epa.el (epa-mail-aliases): New option.
6141 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6142 Bind inhibit-read-only so read-only text doesn't ruin everything.
6143 (epa-mail-default-recipients): New subroutine broken out.
6144 Handle epa-mail-aliases.
6145
6146 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6147
6148 Add support for lexical variables to the debugger's `e' command.
6149 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6150 vars, except for debugger-outer-match-data.
6151 (debugger-frame-number): Move check for "on a function call" from
6152 callers into it. Add `skip-base' argument.
6153 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6154 (debugger-env-macro): Only reset the state stored in non-variables,
6155 i.e. current-buffer and match-data.
6156 (debugger-eval-expression): Rewrite using backtrace-eval.
6157 * subr.el (internal--called-interactively-p--get-frame): Remove.
6158 (called-interactively-p):
6159 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6160 `base' arg of backtrace-frame instead.
6161
6162 2013-07-26 Glenn Morris <rgm@gnu.org>
6163
6164 * align.el (align-regexp): Doc fix. (Bug#14857)
6165 (align-region): Explicit error if subexpression missing/does not match.
6166
6167 * simple.el (global-visual-line-mode):
6168 Do not duplicate the mode lighter. (Bug#14858)
6169
6170 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6171
6172 * window.el (display-buffer): In display-buffer bind
6173 split-window-keep-point to t, bug#14829.
6174
6175 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6178 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6179 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6180 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6181 Change accordingly.
6182 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6183 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6184
6185 2013-07-25 Glenn Morris <rgm@gnu.org>
6186
6187 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6188
6189 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6190
6191 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6192 parameter to modify-frame-parameters if the value has not changed;
6193 this is a workaround for bug#14949.
6194 (desktop--make-frame): On cl-delete-if call, check parameter name,
6195 not full parameter.
6196
6197 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6198
6199 * vc/vc.el (vc-ignore): New function.
6200
6201 * vc/vc-svn.el (vc-svn-ignore): New function.
6202
6203 * vc/vc-hg.el (vc-hg-ignore): New function.
6204
6205 * vc/vc-git.el (vc-git-ignore): New function.
6206
6207 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6208 (vc-dir-ignore): New function.
6209
6210 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6211 (cvs-append-to-ignore): Move here from pcvs.el.
6212
6213 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6214
6215 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6216
6217 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6218
6219 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6220 (desktop-restore-frames): Warn when deleting an existing frame failed.
6221
6222 2013-07-24 Glenn Morris <rgm@gnu.org>
6223
6224 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6225
6226 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6227
6228 * filenotify.el (file-notify-supported-p):
6229 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6230 Remove functions.
6231
6232 * autorevert.el (auto-revert-use-notify):
6233 (auto-revert-notify-add-watch):
6234 * net/tramp.el (tramp-file-name-for-operation):
6235 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6237 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6238 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6239 Remove `file-notify-supported-p' entry.
6240
6241 2013-07-24 Glenn Morris <rgm@gnu.org>
6242
6243 * printing.el: Replace all uses of deleted ps-windows-system,
6244 ps-lp-system, ps-flatten-list with lpr- versions.
6245
6246 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6247
6248 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6249 checked with memq (bug#14935).
6250
6251 * files.el (revert-buffer-function): Use a non-nil default.
6252 (revert-buffer-preserve-modes): Declare var to
6253 provide access to the `preserve-modes' argument.
6254 (revert-buffer): Let-bind it.
6255 (revert-buffer--default): New function, extracted from revert-buffer.
6256
6257 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * lpr.el: Signal print errors more prominently.
6260 (print-region-function): Don't default to nil.
6261 (lpr-print-region): New function, extracted from print-region-1.
6262 Check lpr's return value and signal an error in case of problem.
6263 (print-region-1): Use it.
6264 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6265 versions instead.
6266 (ps-printer-name): Default to nil.
6267 (ps-printer-name-option): Default to lpr-printer-switch.
6268 (ps-print-region-function): Don't default to nil.
6269 (ps-postscript-code-directory): Simplify default.
6270 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6271 (ps-string-list, ps-eval-switch, ps-flatten-list)
6272 (ps-flatten-list-1): Remove.
6273 (ps-multibyte-buffer): Avoid setq.
6274 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6275 (print-region-function, ps-print-region-function): Don't set them here.
6276
6277 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6278
6279 * ido.el (ido-fractionp):
6280 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6281 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6282 (ido-max-directory-size, ido-max-dir-file-cache)
6283 (ido-decorations): Doc fix.
6284
6285 * ansi-color.el: Fix old URL.
6286
6287 2013-07-23 Michael R. Mauger <michael@mauger.com>
6288
6289 * progmodes/sql.el: Version 3.3
6290 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6291 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6292 (sql-interactive-remove-continuation-prompt): Rewrite, use
6293 functions above. Fix continuation prompt and complete output line
6294 handling.
6295 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6296 redirected output buffer.
6297 (sql-mode): Restore deleted code (Bug#13591).
6298
6299 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6300
6301 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6302
6303 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6304
6305 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6306
6307 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6308 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6309 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6310
6311 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6312
6313 * desktop.el (desktop-clear): Simplify; remove useless checks
6314 against invalid buffer names.
6315 (desktop-list*): Use cl-list*.
6316 (desktop-buffer-info, desktop-create-buffer): Simplify.
6317
6318 2013-07-23 Leo Liu <sdl.web@gmail.com>
6319
6320 * bookmark.el (bookmark-make-record): Restore NAME as a default
6321 value. (Bug#14933)
6322
6323 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6326 extracted from autoload--insert-text.
6327 (autoload--insert-text): Remove.
6328 (autoload--print-cookie-text): New function, extracted from
6329 autoload--insert-cookie-text.
6330 (autoload--insert-cookie-text): Remove.
6331 (autoload-generate-file-autoloads): Adjust calls accordingly.
6332
6333 * winner.el (winner-hook-installed-p): Remove.
6334 (winner-mode): Simplify accordingly.
6335
6336 * subr.el (add-to-list): Fix compiler-macro when `append' is
6337 not constant. Don't use `cl-member' for the base case.
6338
6339 * progmodes/subword.el: Fix boundary case (bug#13758).
6340 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6341 own group.
6342 (subword-backward-regexp): Make it a constant.
6343 (subword-forward-internal): Don't treat a trailing capital as the
6344 beginning of a word.
6345
6346 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6347
6348 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6349 global value of tabulated-list-revert-hook (bug#14930).
6350
6351 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * desktop.el: Require 'cl-lib.
6354 (desktop-before-saving-frames-functions): New hook.
6355 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6356 for frames being saved. Rename from desktop--save-minibuffer-frames.
6357 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6358 Do not save frames with non-nil `desktop-dont-save' parameter.
6359 Filter out deleted frames.
6360 (desktop--find-frame): Use cl-find-if.
6361 (desktop--select-frame): Use cl-(first|second|third) to access values
6362 of desktop-mini.
6363 (desktop--make-frame): Use cl-delete-if.
6364 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6365 (desktop-restore-frames): Use cl-(first|second|third) to access values
6366 of desktop-mini. Look for visible frame at the end, not while
6367 restoring frames.
6368
6369 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6370 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6371 Use string-match-p, looking-at-p (bug#14927).
6372
6373 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * desktop.el (desktop-saved-frame-states):
6376 Rename from desktop--saved-states; all users changed.
6377 (desktop-save-frames): Rename from desktop--save-frames.
6378 Do not save state to desktop file.
6379 (desktop-save): Save desktop-saved-frame-states to desktop file
6380 and reset to nil.
6381 (desktop-restoring-frames-p): New function.
6382 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6383 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6384 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6385
6386 * desktop.el: Correctly restore iconified frames.
6387 (desktop--filter-iconified-position): New function.
6388 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6389
6390 2013-07-20 Glenn Morris <rgm@gnu.org>
6391
6392 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6393 Let `message' do the formatting.
6394 (def-gdb-preempt-display-buffer): Add explicit format.
6395
6396 * image-dired.el (image-dired-track-original-file):
6397 Use with-current-buffer.
6398 (image-dired-track-thumbnail): Use with-current-buffer.
6399 Avoid changing point of wrong window.
6400
6401 * image-dired.el (image-dired-track-original-file):
6402 Avoid changing point of wrong window. (Bug#14909)
6403
6404 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6405
6406 * progmodes/gdb-mi.el (gdb-done-or-error):
6407 Guard against "%" in gdb output. (Bug#14127)
6408
6409 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6410
6411 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6412 (Bug#14826)
6413
6414 * international/mule.el (coding-system-iso-2022-flags): Fix last
6415 change.
6416
6417 2013-07-20 Kenichi Handa <handa@gnu.org>
6418
6419 * international/mule.el (coding-system-iso-2022-flags):
6420 Add `8-bit-level-4'. (Bug#8522)
6421
6422 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6423
6424 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6425 (bug#14815).
6426
6427 * net/eww.el (eww-process-text-input): Allow inputting when the
6428 point is at the start of the line, as the properties aren't
6429 front-sticky.
6430
6431 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6432 degenerate widths.
6433
6434 2013-07-19 Richard Stallman <rms@gnu.org>
6435
6436 * epa.el (epa-popup-info-window): Doc fix.
6437
6438 * subr.el (split-string): New arg TRIM.
6439
6440 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6441
6442 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6443 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6444
6445 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6446
6447 * filenotify.el (file-notify--library): Rename from
6448 `file-notify-support'. Do not autoload. Adapt all uses.
6449 (file-notify-supported-p): New defun.
6450
6451 * autorevert.el (auto-revert-use-notify):
6452 Use `file-notify-supported-p' instead of `file-notify-support'.
6453 Adapt docstring.
6454 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6455
6456 * net/tramp.el (tramp-file-name-for-operation):
6457 Add `file-notify-supported-p'.
6458
6459 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6460 New defun.
6461 (tramp-sh-file-name-handler-alist): Add it as handler for
6462 `file-notify-supported-p '.
6463
6464 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6465 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6466 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6467 Add `ignore' as handler for `file-notify-*' functions.
6468
6469 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6470
6471 * simple.el (line-move-partial, line-move): Don't start vscroll or
6472 scroll-up if the current line is not taller than the window.
6473 (Bug#14881)
6474
6475 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6476
6477 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6478 highlight question marks in the method names as strings.
6479 (ruby-block-beg-keywords): Inline.
6480 (ruby-font-lock-keyword-beg-re): Extract from
6481 `ruby-font-lock-keywords'.
6482
6483 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6484
6485 * frame.el (blink-cursor-blinks): New defcustom.
6486 (blink-cursor-blinks-done): New defvar.
6487 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6488 (blink-cursor-timer-function): Check if number of blinks has been
6489 done on X and NS.
6490 (blink-cursor-suspend, blink-cursor-check): New defuns.
6491
6492 2013-07-15 Glenn Morris <rgm@gnu.org>
6493
6494 * edmacro.el (edmacro-format-keys): Fix previous change.
6495
6496 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6497
6498 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6499 The hack didn't work outside English locales anyway.
6500
6501 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6502
6503 * simple.el (define-alternatives): Rename from alternatives-define,
6504 per RMS' suggestion.
6505
6506 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * desktop.el (desktop-restore-frames): Change default to t.
6509 (desktop-restore-in-current-display): Now offer more options.
6510 (desktop-restoring-reuses-frames): New customization option.
6511 (desktop--saved-states): Doc fix.
6512 (desktop-filter-parameters-alist): New variable, renamed and expanded
6513 from desktop--excluded-frame-parameters.
6514 (desktop--target-display): New variable.
6515 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6516 (desktop--filter-tty*, desktop--filter-*-color)
6517 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6518 (desktop--filter-save-desktop-parm)
6519 (desktop-restore-in-original-display-p): New functions.
6520 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6521 (desktop--save-minibuffer-frames): New function, inspired by a similar
6522 function from Martin Rudalics.
6523 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6524 (desktop--restore-in-this-display-p): Remove.
6525 (desktop--find-frame): Rename from desktop--find-frame-in-display
6526 and add predicate argument.
6527 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6528 (desktop--reuse-list): New variable.
6529 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6530 New functions.
6531 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6532
6533 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6534
6535 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6536
6537 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6538
6539 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6540 Highlight conversion methods on Kernel.
6541
6542 2013-07-13 Alan Mackenzie <acm@muc.de>
6543
6544 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6545 and comment it out. This out-commenting enables certain C++
6546 declarations to be parsed correctly.
6547
6548 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6549
6550 * international/mule.el (define-coding-system): Doc fix.
6551
6552 * simple.el (default-font-height): Don't call font-info if the
6553 frame's default font didn't change since the frame was created.
6554 (Bug#14838)
6555
6556 2013-07-13 Leo Liu <sdl.web@gmail.com>
6557
6558 * ido.el (ido-read-file-name): Guard against non-symbol value.
6559
6560 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6561
6562 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6563 in nested defuns.
6564
6565 2013-07-13 Leo Liu <sdl.web@gmail.com>
6566
6567 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6568 ido-set-matches call. (Bug#6852)
6569
6570 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6571
6572 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6573 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6574 Ruby 2.0.
6575 (ruby-font-lock-keywords): Distinguish calls to functions with
6576 module-like names from module references. Highlight character
6577 literals.
6578
6579 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6580
6581 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6582 (gdb-send): Handle continued commands. (Bug#14847)
6583
6584 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6585
6586 * desktop.el (desktop--v2s): Remove unused local variable.
6587 (desktop-save-buffer): Make defvar-local; adjust docstring.
6588 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6589 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6590
6591 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6592
6593 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6594
6595 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6596
6597 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6598 (Bug#14842)
6599
6600 2013-07-12 Glenn Morris <rgm@gnu.org>
6601
6602 * doc-view.el: Require cl-lib at runtime too.
6603 (doc-view-remove-if): Remove.
6604 (doc-view-search-next-match, doc-view-search-previous-match):
6605 Use cl-remove-if.
6606
6607 * edmacro.el: Require cl-lib at runtime too.
6608 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6609 (edmacro-mismatch, edmacro-subseq): Remove.
6610
6611 * shadowfile.el: Require cl-lib.
6612 (shadow-remove-if): Remove.
6613 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6614 Use cl-remove-if.
6615
6616 * wid-edit.el: Require cl-lib.
6617 (widget-choose): Use cl-remove-if.
6618 (widget-remove-if): Remove.
6619
6620 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6621 (ebrowse-delete-if-not): Remove.
6622 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6623 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6624 Use cl-delete-if-not.
6625
6626 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6629 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6630
6631 2013-07-12 Leo Liu <sdl.web@gmail.com>
6632
6633 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6634
6635 2013-07-11 Glenn Morris <rgm@gnu.org>
6636
6637 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6638 (edebug-gensym-index, edebug-gensym):
6639 Remove reimplementation of cl-gensym.
6640 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6641
6642 * thumbs.el: Require cl-lib at run-time too.
6643 (thumbs-gensym-counter, thumbs-gensym):
6644 Remove reimplementation of cl-gensym.
6645 (thumbs-temp-file): Use cl-gensym.
6646
6647 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6648 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6649 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6650 (ert--union, ert--gensym-counter, ert--gensym-counter)
6651 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6652 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6653 (ert-make-test-unbound, ert--expand-should-1)
6654 (ert--expand-should, ert--should-error-handle-error)
6655 (should-error, ert--explain-equal-rec)
6656 (ert--plist-difference-explanation, ert-select-tests)
6657 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6658 Use cl-lib functions rather than reimplementations.
6659
6660 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * net/tramp.el (tramp-methods): Extend docstring.
6663 (tramp-connection-timeout): New defcustom.
6664 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6665 (with-tramp-progress-reporter): Simplify.
6666 (tramp-process-actions): Improve messages.
6667
6668 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6669 * net/tramp-sh.el (tramp-maybe-open-connection):
6670 Use `tramp-connection-timeout'.
6671 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6672 (Bug#14808)
6673
6674 2013-07-11 Leo Liu <sdl.web@gmail.com>
6675
6676 * ido.el (ido-read-file-name): Conform to the requirements of
6677 read-file-name. (Bug#11861)
6678 (ido-read-directory-name): Conform to the requirements of
6679 read-directory-name.
6680
6681 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * subr.el (delay-warning): New function.
6684
6685 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6686
6687 * simple.el (default-line-height): New function.
6688 (line-move-partial, line-move): Use it instead of computing the
6689 line height inline.
6690 (line-move-partial): Always compute ROWH. If the last line is
6691 partially-visible, but its text is completely visible, allow
6692 cursor to enter such a partially-visible line.
6693
6694 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6695
6696 Improve error messages. (Bug#14808)
6697
6698 * net/tramp.el (tramp-current-connection): New defvar, moved from
6699 tramp-sh.el.
6700 (tramp-message-show-progress-reporter-message): Remove, not
6701 needed anymore.
6702 (tramp-error-with-buffer): Show message in minibuffer.
6703 Discard input before waiting. Reset connection timestamp.
6704 (with-tramp-progress-reporter): Improve messages.
6705 (tramp-process-actions): Use progress reporter. Delete process in
6706 case of error. Improve messages.
6707
6708 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6709 Call `tramp-error-with-buffer' with vector and buffer.
6710 (tramp-current-connection): Remove.
6711 (tramp-maybe-open-connection): The car of
6712 `tramp-current-connection' are the first 3 slots of the vector.
6713
6714 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6715
6716 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6717 inside continued strings.
6718
6719 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6720
6721 Timestamp fixes for undo (Bug#14824).
6722 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6723
6724 2013-07-10 Leo Liu <sdl.web@gmail.com>
6725
6726 * files.el (require-final-newline): Allow safe local value.
6727 (Bug#14834)
6728
6729 2013-07-09 Leo Liu <sdl.web@gmail.com>
6730
6731 * ido.el (ido-read-directory-name): Handle fallback.
6732 (ido-read-file-name): Update DIR to ido-current-directory.
6733 (Bug#1516)
6734 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6735
6736 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6737
6738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6739 "autoload". Remove "warn lower camel case" section, previously
6740 commented out. Highlight negation char. Do not highlight the
6741 target in singleton method definitions.
6742
6743 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * faces.el (tty-setup-hook): Declare the hook.
6746
6747 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6748 and detect when a guard/pred depends on local vars (bug#14773).
6749 (pcase--u1): Adjust caller.
6750
6751 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6752
6753 * simple.el (line-move-partial, line-move): Account for
6754 line-spacing.
6755 (line-move-partial): Avoid setting vscroll when the last
6756 partially-visible line in window is of default height.
6757
6758 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6759
6760 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6761 been used a while.
6762
6763 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6764
6765 * subr.el (read-quoted-char): Remove unused local variable `char'.
6766
6767 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6768
6769 * ediff.el (ediff-version): Version update.
6770 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6771 (ediff-merge-with-ancestor-command, ediff-directories-command)
6772 (ediff-directories3-command, ediff-merge-directories-command)
6773 (ediff-merge-directories-with-ancestor-command): New functions.
6774 All are command-line interfaces to ediff: to facilitate calling
6775 Emacs with the appropriate ediff functions invoked.
6776
6777 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6778 (viper-save-kill-buffer): Check if buffer is modified.
6779
6780 * viper.el (viper-version): Version update.
6781 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6782
6783 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6786 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6787 (viper-intercept-ESC-key): Simplify.
6788 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6789 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6790 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6791 (viper-setup-ESC-to-escape): New functions.
6792 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6793 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6794
6795 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6796
6797 * simple.el (default-font-height, window-screen-lines):
6798 New functions.
6799 (line-move, line-move-partial): Use them instead of
6800 frame-char-height and window-text-height. This makes scrolling
6801 text smoother when the buffer's default face uses a font that is
6802 different from the frame's default font.
6803
6804 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6805
6806 * files.el (write-file): Do not display confirm dialog for NS,
6807 it does its own dialog, which can't be cancelled (Bug#14578).
6808
6809 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6810
6811 * simple.el (line-move-partial): Adjust the row returned by
6812 posn-at-point for the current window-vscroll. (Bug#14567)
6813
6814 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6815
6816 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6817 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6818 spaces.
6819
6820 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6821
6822 * window.el (window-state-put-stale-windows): New variable.
6823 (window--state-put-2): Save list of windows without matching buffer.
6824 (window-state-put): Remove "bufferless" windows if possible.
6825
6826 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6827
6828 * simple.el (alternatives-define): Remove leftover :group keyword.
6829 Tweak docstring.
6830
6831 2013-07-06 Leo Liu <sdl.web@gmail.com>
6832
6833 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6834 (ido-enable-virtual-buffers): New variable.
6835 (ido-buffer-internal, ido-toggle-virtual-buffers)
6836 (ido-make-buffer-list): Use it.
6837 (ido-exhibit): Support turning on and off virtual buffers
6838 automatically.
6839
6840 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * simple.el (alternatives-define): New macro.
6843
6844 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * subr.el (read-quoted-char): Use read-key.
6847 (sit-for): Let read-event decode tty input (bug#14782).
6848
6849 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6850
6851 * calendar/todo-mode.el: Add handling of file deletion, both by
6852 mode command and externally. Fix various related bugs.
6853 Clarify Commentary and improve some documentation strings and code.
6854 (todo-delete-file): New command.
6855 (todo-check-file): New function.
6856 (todo-show): Handle external deletion of the file we're trying to
6857 show (bug#14688). Replace called-interactively-p by an optional
6858 prefix argument to avoid problematic interaction with catch form
6859 when byte compiled (bug#14702).
6860 (todo-quit): Handle external deletion of the archive's todo file.
6861 Make sure the buffer that was visiting the archive file is still
6862 live before trying to bury it.
6863 (todo-category-completions): Handle external deletion of any
6864 category completion files.
6865 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6866 of todo files, in case of external deletion.
6867 (todo-add-file): Replace unnecessary setq by let-binding.
6868 (todo-find-archive): Check whether there are any archives.
6869 Replace unnecessary setq by let-binding.
6870 (todo-archive-done-item): Use find-file-noselect to get the
6871 archive buffer whether or not the archive already exists.
6872 Remove superfluous code. Use file size instead of buffer-file-name to
6873 check if the archive is new; if it is, update list of archives.
6874 (todo-default-todo-file): Allow nil to be a valid value for when
6875 there are no todo files.
6876 (todo-reevaluate-default-file-defcustom): Use corrected definition
6877 of todo-default-todo-file.
6878 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6879 (todo-delete-category, todo-show-categories-table)
6880 (todo-category-number): Clarify comment.
6881 (todo-filter-items): Clarify documentation string.
6882 (todo-show-current-file, todo-display-as-todo-file)
6883 (todo-reset-and-enable-done-separator): Tweak documentation string.
6884 (todo-done-separator): Make separator length window-width, since
6885 bug#2749 is now fixed.
6886
6887 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6888
6889 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6890 Support both "gvfs-monitor-dir" and "inotifywait".
6891 (tramp-sh-file-inotifywait-process-filter): Rename from
6892 `tramp-sh-file-notify-process-filter'.
6893 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6894 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6895
6896 2013-07-05 Leo Liu <sdl.web@gmail.com>
6897
6898 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6899
6900 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6901
6902 * frame.el (display-pixel-height, display-pixel-width)
6903 (display-mm-height, display-mm-width): Mention behavior on
6904 multi-monitor setups in docstrings.
6905 (w32-display-monitor-attributes-list): Declare function.
6906 (display-monitor-attributes-list): Use it.
6907
6908 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * filenotify.el: New package.
6911
6912 * autorevert.el (top): Require filenotify.el.
6913 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6914 instead.
6915 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6916 (auto-revert-notify-handler): Use `file-notify-*' functions.
6917
6918 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6919
6920 * net/tramp.el (tramp-file-name-for-operation):
6921 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6922
6923 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6924 for `file-notify-add-watch' and `file-notify-rm-watch'.
6925 (tramp-process-sentinel): Improve trace.
6926 (tramp-sh-handle-file-notify-add-watch)
6927 (tramp-sh-file-notify-process-filter)
6928 (tramp-sh-handle-file-notify-rm-watch)
6929 (tramp-get-remote-inotifywait): New defuns.
6930
6931 2013-07-03 Juri Linkov <juri@jurta.org>
6932
6933 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6934 call of `occur-read-primary-args' to interactive spec.
6935
6936 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6937 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6938
6939 2013-07-03 Matthias Meulien <orontee@gmail.com>
6940
6941 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6942 `Buffer-menu-multi-occur'. Add it to the menu.
6943 (Buffer-menu-mode): Document it in docstring.
6944 (Buffer-menu-multi-occur): New command. (Bug#14673)
6945
6946 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6947
6948 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6949 keywords and built-ins.
6950
6951 2013-07-03 Glenn Morris <rgm@gnu.org>
6952
6953 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6954
6955 Make info-xref checks case-sensitive by default
6956 * info.el (Info-find-node, Info-find-in-tag-table)
6957 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6958 Add option for exact case matching of nodes.
6959 * info-xref.el (info-xref): New custom group.
6960 (info-xref-case-fold): New option.
6961 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6962
6963 2013-07-03 Leo Liu <sdl.web@gmail.com>
6964
6965 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6966
6967 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6968
6969 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6970 middle of block statement initially, lower the depth. Remove
6971 FIXME comment, not longer valid. Remove middle of block statement
6972 detection, no need to do that anymore since we've been using
6973 `ruby-parse-region' here.
6974
6975 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6976
6977 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6978
6979 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6980
6981 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6982
6983 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6986 (desktop-restore-in-current-display): New customization option.
6987 (desktop--excluded-frame-parameters): Add `font'.
6988 (desktop--save-frames): Rename from desktop--save-windows.
6989 (desktop--restore-in-this-display-p): New function.
6990 (desktop--make-full-frame): Remove unwanted width/height from
6991 full(width|height) frames.
6992 (desktop--restore-frames): Rename from desktop--restore-windows.
6993 Obey desktop-restore-current-display. Do not delete old frames or
6994 select a new frame unless we were able to restore at least one frame.
6995
6996 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6997
6998 * files.el (find-file-noselect): Simplify conditional expression.
6999
7000 * remember.el (remember-append-to-file):
7001 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7002
7003 Add `remember-notes' function to store random notes across Emacs
7004 restarts.
7005 * remember.el (remember-data-file): Add :set callback to affect
7006 notes buffer (if any).
7007 (remember-notes): New command.
7008 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7009 New defcustoms for the `remember-notes' function.
7010 (remember-notes-save-and-bury-buffer): New command.
7011 (remember-notes-mode-map): New variable.
7012 (remember-mode): New minor mode.
7013 (remember-notes--kill-buffer-query): New function.
7014 * startup.el (initial-buffer-choice): Add notes to custom type.
7015
7016 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7017
7018 * bindings.el (right-char, left-char): Don't call sit-for, this is
7019 no longer needed. Use arithmetic comparison only for numerical
7020 arguments.
7021
7022 * international/mule-cmds.el (select-safe-coding-system):
7023 Handle the case of FROM being a string correctly. (Bug#14755)
7024
7025 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026
7027 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7028 progression on degenerate tables.
7029 (shr-rescale-image): ImageMagick animated images currently don't work.
7030
7031 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7032
7033 Some fixes and improvements for desktop frame restoration.
7034 It is still experimental and disabled by default.
7035 * desktop.el (desktop--save-windows): Put the selected frame at
7036 the head of the list.
7037 (desktop--make-full-frame): New function.
7038 (desktop--restore-windows): Try to re-select the frame that was
7039 selected upon saving. Do not abort if some frames fail to restore,
7040 just show an error message and continue. Set up maximized frames
7041 so they have default non-maximized dimensions.
7042
7043 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7044
7045 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7046 Don't start heredoc inside a string or comment.
7047
7048 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7049
7050 * bindings.el (visual-order-cursor-movement): New defcustom.
7051 (right-char, left-char): Provide visual-order cursor motion by
7052 calling move-point-visually. Update the doc strings.
7053
7054 2013-06-28 Kenichi Handa <handa@gnu.org>
7055
7056 * international/mule.el (define-coding-system): New coding system
7057 properties :inhibit-null-byte-detection,
7058 :inhibit-iso-escape-detection, and :prefer-utf-8.
7059 (set-buffer-file-coding-system): If :charset-list property of
7060 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7061 appropriate for setting.
7062
7063 * international/mule-cmds.el (select-safe-coding-system):
7064 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7065 multibyte characters, return utf-8 (or one of its siblings).
7066
7067 * international/mule-conf.el (prefer-utf-8): New coding system.
7068 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7069 files.
7070
7071 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7072
7073 * net/shr.el (shr-render-region): New function.
7074
7075 * net/eww.el: Autoload `eww-browse-url'.
7076
7077 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7078
7079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7080 Adapt to `package-desc-version' being a list.
7081 Use `package--ac-desc-version' to retrieve version from a package
7082 archive element.
7083
7084 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7085
7086 New experimental feature to save&restore window and frame setup.
7087 * desktop.el (desktop-save-windows): New defcustom.
7088 (desktop--saved-states): New var.
7089 (desktop--excluded-frame-parameters): New defconst.
7090 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7091 (desktop--restore-windows, desktop--save-windows): New functions.
7092 (desktop-save): Call `desktop--save-windows'.
7093 (desktop-read): Call `desktop--restore-windows'.
7094
7095 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7096
7097 * net/shr.el (add-face-text-property): Remove compat definition.
7098
7099 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7100
7101 * info.el (Info-try-follow-nearest-node): Move search for footnote
7102 above search for node name to prevent missing a footnote (bug#14717).
7103
7104 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7105
7106 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7107
7108 2013-06-27 Leo Liu <sdl.web@gmail.com>
7109
7110 * net/eww.el (eww-read-bookmarks): Check file size.
7111
7112 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7115 advice--pending if newdef is nil or an autoload (bug#13820).
7116 (advice-mapc): New function.
7117
7118 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7119
7120 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7121 probably.
7122 (eww-mode-map): Add a menu bar.
7123 (eww-add-bookmark): New command.
7124 (eww-bookmark-mode): New mode and commands.
7125 (eww-add-bookmark): Remove newlines from the title.
7126 (eww-bookmark-browse): Don't bug out if it's the only window.
7127
7128 2013-06-26 Glenn Morris <rgm@gnu.org>
7129
7130 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7131 (hfy-size): Handle ttys. (Bug#14668)
7132
7133 * info-xref.el: Update for Texinfo 5 change in *note format.
7134 (info-xref-node-re, info-xref-note-re): New constants.
7135 (info-xref-check-buffer): Use info-xref-note-re.
7136
7137 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7140
7141 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7142 nil terminate the loop (bug#14718).
7143
7144 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7145
7146 * net/eww.el: Rework history traversal. When going forward/back,
7147 put these actions into the history, too, so that they can be
7148 replayed.
7149 (eww-render): Move the history reset to the correct buffer.
7150
7151 2013-06-25 Juri Linkov <juri@jurta.org>
7152
7153 * files-x.el (modify-dir-local-variable): Change the header comment
7154 in the file with directory local variables. (Bug#14692)
7155
7156 * files-x.el (read-file-local-variable-value): Add `default'.
7157 (Bug#14710)
7158
7159 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7160
7161 * net/eww.el (eww-make-unique-file-name): Create a unique file
7162 name before saving to entering `y' accidentally asynchronously.
7163
7164 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7165
7166 * net/eww.el (eww-download): New command and keystroke.
7167
7168 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7169
7170 * net/eww.el (eww-copy-page-url): Change name of command.
7171
7172 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7173 be more consistent with Info and dired.
7174
7175 * net/eww.el (eww-mode-map): Ditto.
7176
7177 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7180 packages from archives.
7181 (package-archive-contents): Change format; include obsolete packages.
7182 (package-desc): Use `dir' to mark builtin packages.
7183 (package--from-builtin): Set the `dir' field to `builtin'.
7184 (generated-autoload-file, version-control): Declare.
7185 (package-compute-transaction): Change first arg and return value to be
7186 lists of package-descs. Adjust to new package-archive-contents format.
7187 (package--add-to-archive-contents): Adjust to new
7188 package-archive-contents format.
7189 (package-download-transaction): Arg is now a list of package-descs.
7190 (package-install): If `pkg' is a package name, pass it as
7191 a requirement, so it is subject to the usual (e.g. disabled) checks.
7192 (describe-package): Accept package-desc as well.
7193 (describe-package-1): Describe a specific package-desc. Add links to
7194 other package-descs for the same package name.
7195 (package-menu-describe-package): Pass the actual package-desc.
7196 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7197 works correctly.
7198 (package-desc-status): New function.
7199 (package-menu--refresh): New function, extracted
7200 from package-menu--generate.
7201 (package-menu--generate): Use it.
7202 (package-delete): Update package-alist.
7203 (package-menu-execute): Don't call package-initialize.
7204
7205 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7206 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7207 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7208 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7209 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7210 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7211
7212 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7213
7214 * window.el (window--state-get-1): Workaround for bug#14527.
7215 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7216
7217 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7218
7219 * net/eww.el (eww-back-url): Implement the history by stashing all
7220 the data into a list.
7221 (eww-forward-url): Allow going forward in the history, too.
7222
7223 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7226 for values and use read--expression for expressions (bug#14710).
7227 (read-file-local-variable): Avoid setq.
7228 (read-file-local-variable-mode): Use minor-mode-list.
7229
7230 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7231
7232 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7233 for DOI URLs.
7234
7235 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7236
7237 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7238 Update imenu-support when dialect changes.
7239
7240 2013-06-25 Leo Liu <sdl.web@gmail.com>
7241
7242 * ido.el (ido-read-internal): Allow forward slash on windows.
7243
7244 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7245
7246 * net/eww.el (eww): Start of strings is \\`, not ^.
7247
7248 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7249
7250 * net/shr.el (shr-browse-url): Fix interactive spec.
7251
7252 * net/eww.el (eww): Add a trailing slash to domain names.
7253
7254 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7255
7256 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7257
7258 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7259
7260 * net/shr.el (shr-browse-url): Use an external browser if given a
7261 prefix.
7262
7263 * net/eww.el (eww-external-browser): Move to shr.
7264
7265 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7266
7267 * net/eww.el (eww): Work more correctly for file: URLs.
7268 (eww-detect-charset): Allow quoted charsets.
7269 (eww-yank-page-url): New command and keystroke.
7270
7271 2013-06-24 Daiki Ueno <ueno@gnu.org>
7272
7273 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7274 file name of gpg executable.
7275 (epg-context-program): New function.
7276 (epg-context-home-directory): New function.
7277 (epg-context-set-program): New function.
7278 (epg-context-set-home-directory): New function.
7279 (epg--start): Use `epg-context-program' instead of
7280 'epg-gpg-program'.
7281 (epg--list-keys-1): Likewise.
7282
7283 2013-06-24 Leo Liu <sdl.web@gmail.com>
7284
7285 * ido.el (ido-read-internal): Fix bug#14620.
7286
7287 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7288
7289 * faces.el (face-documentation): Simplify.
7290 (read-face-attribute, tty-find-type, x-resolve-font-name):
7291 Use `string-match-p'.
7292 (list-faces-display): Use `string-match-p'. Simplify.
7293 (face-spec-recalc): Check face to avoid face alias loops.
7294 (read-color): Use `string-match-p' and non-capturing parenthesis.
7295
7296 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297
7298 * net/shr.el (shr-rescale-image): Use the new
7299 :max-width/:max-height functionality.
7300
7301 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7302
7303 * net/eww.el (eww-search-prefix): New variable.
7304 (eww): Use it.
7305 (eww-external-browser): New variable.
7306 (eww-mode-map): New keystroke.
7307 (eww-browse-with-external-browser): New command.
7308
7309 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7310
7311 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7314 Don't skip aligning the next header field when padding is 0;
7315 otherwise, field width is not respected unless the title is as
7316 wide as the field.
7317
7318 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * emacs-lisp/package.el (package-el-version): Remove.
7321 (package-process-define-package): Fix inf-loop.
7322 (package-install): Allow symbols as arguments again.
7323
7324 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7325
7326 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7327 add some more keyword-like methods.
7328 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7329
7330 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * bs.el (bs-buffer-show-mark): Make defvar-local.
7333 (bs-mode): Use setq-local.
7334
7335 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7336 (emacs-lock--try-unlocking): Make defvar-local.
7337
7338 2013-06-22 Glenn Morris <rgm@gnu.org>
7339
7340 * play/cookie1.el (cookie-apropos): Minor simplification.
7341
7342 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7343
7344 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7345
7346 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7347 `regexp-opt', it breaks the build during dumping.
7348
7349 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7350
7351 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7352 Highlight keyword-like methods on Kernel and Module with
7353 font-lock-builtin-face.
7354 (auto-mode-alist): Consolidate different entries into one regexp
7355 and add more *file-s.
7356
7357 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7358
7359 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7360
7361 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7362 (diary-entry): Use it in the action of this button type instead of
7363 diary-goto-entry.
7364
7365 * calendar/todo-mode.el: New version.
7366 (todo-add-category): Append new category to end of file and give
7367 it the highest number, instead of putting it at the beginning and
7368 giving it 0. Incorporate noninteractive functionality.
7369 (todo-forward-category): Adapt to 1-based category numbering.
7370 Allow skipping over archived categories.
7371 (todo-backward-category): Derive from todo-forward-category.
7372 (todo-backward-item, todo-forward-item): Make noninteractive and
7373 delegate interactive part to new commands. Make sensitive to done items.
7374 (todo-categories): Make value an alist of category names and
7375 vectors of item counts.
7376 (todo-category-beg): Make a defconst.
7377 (todo-category-number): Use 1 instead of 0 as initial value.
7378 (todo-category-select): Make sensitive to overlays, optional item
7379 highlighting and done items.
7380 (todo-delete-item): Make sensitive to overlays and marked and done items.
7381 (todo-edit-item): Make sensitive to overlays and editing of
7382 date/time header optional. Add format checks.
7383 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7384 no-op if point is not on an item. Advertise using todo-edit-quit.
7385 (todo-edit-mode): Make sensitive to new format, font-locking, and
7386 multiple todo files.
7387 (todo-insert-item, todo-insert-item-here): Derive from
7388 todo-basic-insert-item and extend functionality.
7389 (todo-item-end, todo-item-start): Make sensitive to done items.
7390 (todo-item-string): Don't return text properties. Restore point.
7391 (todo-jump-to-category): Make sensitive to multiple todo files and
7392 todo archives. Use extended category completion.
7393 (todo-lower-item, todo-raise-item): Rename to *-priority and
7394 derive from todo-set-item-priority.
7395 (todo-mode): Derive from special-mode. Make sensitive to new
7396 format, font-locking and multiple todo files. Make read-only.
7397 (todo-mode-map): Don't suppress digit keys, so they can supply
7398 prefix arguments. Add many new key bindings.
7399 (todo-prefix): Insert as an overlay instead of file text.
7400 Change semantics from diary date expression to purely visual mark.
7401 (todo-print): Rename to todo-print-buffer. Make buffer display
7402 features printable. Remove option to restrict number of items
7403 printed. Add option to print to file.
7404 (todo-print-function): Rename to todo-print-buffer-function.
7405 (todo-quit): Extend to handle exiting new todo modes.
7406 (todo-remove-item): Make sensitive to overlays.
7407 (todo-save): Extend to buffers of filtered items.
7408 (todo-show): Make sensitive to done items, multiple todo files and
7409 new todo modes. Offer to convert legacy todo file before creating
7410 first new todo file.
7411 (todo-show-priorities): Rename to todo-top-priorities.
7412 Change semantics of value 0.
7413 (todo-top-priorities): Rename to todo-filter-top-priorities,
7414 derive from todo-filter-items and extend functionality.
7415 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7416 and extend functionality to other types of filtered items.
7417 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7418 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7419 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7420 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7421 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7422 (todo-edit-mode-hook, todo-entry-prefix-function)
7423 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7424 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7425 (todo-initials, todo-insert-threshold, todo-item-string-start)
7426 (todo-line-string, todo-menu, todo-mode-hook)
7427 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7428 (todo-print-priorities, todo-remove-separator)
7429 (todo-save-top-priorities-too, todo-string-count-lines)
7430 (todo-string-multiline-p, todo-time-string-format)
7431 (todo-tmp-buffer-name): Remove.
7432 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7433 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7434 (todo-edit-category-diary-inclusion)
7435 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7436 (todo-edit-file, todo-edit-item-date-day)
7437 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7438 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7439 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7440 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7441 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7442 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7443 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7444 (todo-filter-top-priorities-multifile, todo-find-archive)
7445 (todo-find-filtered-items-file, todo-go-to-source-item)
7446 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7447 (todo-jump-to-archive-category, todo-lower-category)
7448 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7449 (todo-move-category, todo-move-item, todo-next-button)
7450 (todo-next-item, todo-padded-string, todo-powerset)
7451 (todo-previous-button, todo-previous-item)
7452 (todo-print-buffer-to-file, todo-raise-category)
7453 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7454 (todo-set-category-number, todo-set-item-priority)
7455 (todo-set-top-priorities-in-category)
7456 (todo-set-top-priorities-in-file, todo-show-categories-table)
7457 (todo-sort-categories-alphabetically-or-numerically)
7458 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7459 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7460 (todo-toggle-item-header, todo-toggle-item-highlighting)
7461 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7462 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7463 (todo-unarchive-items, todo-unmark-category): New commands.
7464 (todo-absolute-file-name, todo-add-to-buffer-list)
7465 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7466 (todo-basic-insert-item, todo-category-completions)
7467 (todo-category-number, todo-category-string-matcher-1)
7468 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7469 (todo-check-format, todo-clear-matches)
7470 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7471 (todo-current-category, todo-date-string-matcher)
7472 (todo-define-insertion-command, todo-diary-expired-matcher)
7473 (todo-diary-goto-entry, todo-diary-item-p)
7474 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7475 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7476 (todo-done-item-section-p, todo-done-separator)
7477 (todo-done-string-matcher, todo-files, todo-filter-items)
7478 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7479 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7480 (todo-insert-category-line, todo-insert-item-from-calendar)
7481 (todo-insert-sort-button, todo-insert-with-overlays)
7482 (todo-insertion-command-name, todo-insertion-key-bindings)
7483 (todo-label-to-key, todo-longest-category-name-length)
7484 (todo-make-categories-list, todo-mode-external-set)
7485 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7486 (todo-modes-set-3, todo-multiple-filter-files)
7487 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7488 (todo-read-category, todo-read-date, todo-read-dayname)
7489 (todo-read-file-name, todo-read-time)
7490 (todo-reevaluate-category-completions-files-defcustom)
7491 (todo-reevaluate-default-file-defcustom)
7492 (todo-reevaluate-filelist-defcustoms)
7493 (todo-reevaluate-filter-files-defcustom)
7494 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7495 (todo-reset-done-separator, todo-reset-done-separator-string)
7496 (todo-reset-done-string, todo-reset-global-current-todo-file)
7497 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7498 (todo-reset-prefix, todo-set-categories)
7499 (todo-set-date-from-calendar, todo-set-show-current-file)
7500 (todo-set-top-priorities, todo-short-file-name)
7501 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7502 (todo-total-item-counts, todo-update-buffer-list)
7503 (todo-update-categories-display, todo-update-categories-sexp)
7504 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7505 New functions.
7506 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7507 New major modes.
7508 (todo-categories, todo-display, todo-edit, todo-faces)
7509 (todo-filtered): New defgroups.
7510 (todo-archived-only, todo-button, todo-category-string, todo-date)
7511 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7512 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7513 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7514 (todo-add-item-if-new-category, todo-always-add-time-string)
7515 (todo-categories-align, todo-categories-archived-label)
7516 (todo-categories-category-label, todo-categories-diary-label)
7517 (todo-categories-done-label, todo-categories-number-separator)
7518 (todo-categories-todo-label, todo-categories-totals-label)
7519 (todo-category-completions-files, todo-completion-ignore-case)
7520 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7521 (todo-done-separator-string, todo-done-string)
7522 (todo-files-function, todo-filter-done-items, todo-filter-files)
7523 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7524 (todo-initial-category, todo-initial-file, todo-item-mark)
7525 (todo-legacy-date-time-regexp, todo-mode-line-function)
7526 (todo-nondiary-marker, todo-number-prefix)
7527 (todo-print-buffer-function, todo-show-current-file)
7528 (todo-show-done-only, todo-show-first, todo-show-with-done)
7529 (todo-skip-archived-categories, todo-top-priorities-overrides)
7530 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7531 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7532 New defcustoms.
7533 (todo-category-done, todo-date-pattern, todo-date-string-start)
7534 (todo-diary-items-buffer, todo-done-string-start)
7535 (todo-filtered-items-buffer, todo-item-start)
7536 (todo-month-abbrev-array, todo-month-name-array)
7537 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7538 (todo-top-priorities-buffer): New defconsts.
7539 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7540 (todo-categories-with-marks, todo-category-string-face)
7541 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7542 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7543 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7544 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7545 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7546 (todo-font-lock-keywords, todo-global-current-todo-file)
7547 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7548 (todo-insertion-commands-args)
7549 (todo-insertion-commands-args-genlist)
7550 (todo-insertion-commands-names, todo-insertion-map)
7551 (todo-key-bindings-t, todo-key-bindings-t+a)
7552 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7553 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7554 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7555 (todo-visited): New variables.
7556
7557 2013-06-21 Glenn Morris <rgm@gnu.org>
7558
7559 * play/cookie1.el (cookie-apropos): Add optional display argument.
7560 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7561 (psychoanalyze-pinhead): Use cookie-doctor.
7562
7563 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7564
7565 * emacs-lisp/package.el (tar-get-file-descriptor)
7566 (tar--extract): Declare.
7567
7568 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7569
7570 Extend flymake's warning predicate to be a function (bug#14217).
7571 * progmodes/flymake.el (flymake-warning-predicate): New.
7572 (flymake-parse-line): Use it.
7573 (flymake-warning-re): Make obsolete alias to
7574 `flymake-warning-predicate'.
7575
7576 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7579 (package-obsolete-list): Remove.
7580 (package-activate): Remove min-version argument. Add `force' argument.
7581 Adjust to new package-alist format.
7582 (package-mark-obsolete): Remove.
7583 (package-unpack): Force reload of the package's autoloads.
7584 (package-installed-p): Check builtins if the installed package is not
7585 recent enough.
7586 (package-initialize): Don't reset package-obsolete-list.
7587 Don't specify which package version to activate.
7588 (package-process-define-package, describe-package-1)
7589 (package-menu--generate): Adjust to new package-alist format.
7590
7591 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * allout-widgets.el (allout-widgets-mode-off)
7594 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7595 (allout-widgets-post-command-business)
7596 (allout-widgets-after-copy-or-kill-function)
7597 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7598 (allout-decorate-item-and-context)
7599 (allout-graphics-modification-handler): Fix typos in docstrings.
7600 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7601
7602 * cmuscheme.el (scheme-start-file): Doc fix.
7603 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7604 (scheme-input-filter): Use `string-match-p'.
7605
7606 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7607
7608 * dired-x.el: Use Dired consistently in docstrings.
7609
7610 * dired.el: Use Dired consistently in docstrings.
7611 (dired-readin, dired-mode): Use `setq-local'.
7612 (dired-switches-alist): Make defvar-local.
7613 (dired-buffers-for-dir): Use `zerop'.
7614 (dired-safe-switches-p, dired-switches-escape-p)
7615 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7616 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7617 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7618 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7619 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7620 (dired-toggle-marks, dired-mark-files-containing-regexp)
7621 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7622 (dired-flag-auto-save-files, dired-flag-backup-files):
7623 Use `looking-at-p'.
7624 (dired-mark-files-regexp, dired-build-subdir-alist):
7625 Use `string-match-p', `looking-at-p'.
7626
7627 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7628 (direct-print-region-helper): Use `string-match-p'.
7629
7630 2013-06-21 Leo Liu <sdl.web@gmail.com>
7631
7632 * comint.el (comint-redirect-results-list-from-process):
7633 Fix infinite loop.
7634
7635 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7636
7637 * net/eww.el (eww-update-header-line-format): Quote % characters.
7638
7639 2013-06-21 Glenn Morris <rgm@gnu.org>
7640
7641 * play/cookie1.el (cookie): New custom group.
7642 (cookie-file): New option.
7643 (cookie-check-file): New function.
7644 (cookie): Make it interactive. Make start and end messages optional.
7645 Interactively, display the result. Default to cookie-file.
7646 (cookie-insert): Default to cookie-file.
7647 (cookie-snarf): Make start and end messages optional.
7648 Default to cookie-file. Use with-temp-buffer.
7649 (cookie-read): Rename from read-cookie.
7650 Make start and end messages optional. Default to cookie-file.
7651 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7652 Do not autoload it.
7653 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7654 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7655
7656 2013-06-21 Leo Liu <sdl.web@gmail.com>
7657
7658 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7659
7660 2013-06-21 Glenn Morris <rgm@gnu.org>
7661
7662 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7663
7664 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7665 Daniel Hackney <dan@haxney.org>
7666
7667 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7668 Consolidate the single-file vs tarball code.
7669 (package-desc-suffix): New function.
7670 (package-desc-full-name): Don't bother inlining it.
7671 (package-load-descriptor): Return the new package-desc.
7672 (package-mark-obsolete): Remove unused arg `package'.
7673 (package-unpack): Make it work for single files as well.
7674 Make it update package-alist.
7675 (package--make-autoloads-and-stuff): Rename from
7676 package--make-autoloads-and-compile. Don't compile any more.
7677 (package--compile): New function.
7678 (package-generate-description-file): New function, extracted from
7679 package-unpack-single.
7680 (package-unpack-single): Remove.
7681 (package--with-work-buffer): Add indentation and debugging info.
7682 (package-download-single): Remove.
7683 (package-install-from-archive): Rename from package-download-tar, make
7684 it take a pkg-desc, and make it work for single files as well.
7685 (package-download-transaction): Simplify.
7686 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7687 external tar program.
7688 (package-install-from-buffer): Remove `pkg-desc' argument.
7689 Use package-tar-file-info for tar-mode buffers.
7690 (package-install-file): Simplify accordingly.
7691 (package-archive-base): Change to take a pkg-desc.
7692 * tar-mode.el (tar--check-descriptor): New function, extracted from
7693 tar-get-descriptor.
7694 (tar-get-descriptor): Use it.
7695 (tar-get-file-descriptor): New function.
7696 (tar--extract): New function, extracted from tar-extract.
7697 (tar--extract): Use it.
7698 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7699 case the summary uses non-ascii. Adjust to new calling convention of
7700 package-tar-file-info.
7701
7702 2013-06-21 Leo Liu <sdl.web@gmail.com>
7703
7704 * comint.el (comint-redirect-results-list-from-process):
7705 Fix random delay. (Bug#14681)
7706
7707 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * profiler.el (profiler-format-number): Use log, not log10.
7710
7711 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7712
7713 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7714
7715 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7718 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7719 yet available.
7720 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7721 (AUTOGENEL): ... here.
7722 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7723 (cl--defsubst-expand): Use it.
7724
7725 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7726
7727 * subr.el (log10): Move here from C code, and declare as obsolete.
7728 All uses of (log10 X) replaced with (log X 10).
7729
7730 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7731
7732 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7733 Declare with `defvar-local'.
7734 (tabulated-list-use-header-line, tabulated-list-entries)
7735 (tabulated-list-padding, tabulated-list-printer)
7736 (tabulated-list-sort-key): Declare with `defvar-local'.
7737 (tabulated-list-init-header, tabulated-list-print-fake-header):
7738 Use `setq-local'.
7739
7740 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7741
7742 * arc-mode.el (archive-mode): Add `archive-write-file' to
7743 `write-contents-functions' also for remote files. (Bug#14652)
7744
7745 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7746
7747 * cus-edit.el (custom-commands): Fix typos.
7748 (custom-display): Fix tooltip text.
7749 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7750 Fix typos in docstrings.
7751 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7752 (custom-unlispify-menu-entry, custom-magic-value-create)
7753 (custom-add-see-also, custom-group-value-create): Use ?\s.
7754 (custom-guess-type, customize-apropos, editable-field)
7755 (custom-face-value-create): Use `string-match-p'.
7756 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7757
7758 * custom.el (custom-load-symbol): Use `string-match-p'.
7759
7760 * ansi-color.el: Convert to lexical binding.
7761 (ansi-colors): Fix URL.
7762 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7763 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7764 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7765
7766 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7767
7768 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7769
7770 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7771
7772 2013-06-19 Tom Tromey <tromey@redhat.com>
7773
7774 * net/eww.el (eww-top-url): Remove.
7775 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7776 (eww-render): Set new variables. Don't set eww-top-url.
7777 (eww-handle-link): Handle "prev", "home", and "contents".
7778 Downcase the rel text.
7779 (eww-top-url): Choose best top URL.
7780
7781 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7782
7783 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7784 relying in widget.el. Using widget.el leads to too many
7785 user interface inconsistencies.
7786 (eww-self-insert): Implement entering commands in text fields.
7787 (eww-process-text-input): New function to make text input field editing
7788 work.
7789 (eww-submit): Rewrite to use the new-style form methods.
7790 (eww-select-display): Display the correct selected item.
7791 (eww-change-select): Implement changing the select value.
7792 (eww-toggle-checkbox): Implement radio/checkboxes.
7793 (eww-update-field): Fix compilation error.
7794 (eww-tag-textarea): Implement <textarea>.
7795
7796 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7797 we don't shadow mode-specific bindings.
7798
7799 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7800 nothing to push.
7801
7802 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7803
7804 2013-06-19 Glenn Morris <rgm@gnu.org>
7805
7806 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7807
7808 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7809
7810 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7811 not needed.
7812
7813 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7814
7815 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816
7817 * net/browse-url.el (browse-url-browser-function):
7818 `eww-browse-url' has the right calling signature, `eww' does not.
7819
7820 2013-06-19 Glenn Morris <rgm@gnu.org>
7821
7822 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7823 Only eval autoloaded macros.
7824 (byte-compile-autoload): Only give the macro warning for macros.
7825
7826 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7827 (ps-underlined-faces): Declare.
7828
7829 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7830 (speedbar-add-supported-extension): Declare.
7831
7832 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7833 Don't include a date stamp in the header of the generated file;
7834 it leads to needless differences between output files.
7835
7836 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7837
7838 * net/secrets.el (secrets-struct-secret-content-type):
7839 Replace check of introspection data by a test call of "CreateItem".
7840 Some servers do not offer introspection.
7841
7842 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * electric.el (electric-pair-mode): Improve interaction with
7845 electric-layout-mode.
7846 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7847 (electric-pair-syntax): Use text-mode-syntax-table in comments
7848 and strings.
7849 (electric-pair--insert): New function.
7850 (electric-pair-post-self-insert-function): Use it and
7851 electric--after-char-pos.
7852
7853 2013-06-19 Leo Liu <sdl.web@gmail.com>
7854
7855 * progmodes/octave.el (octave-help): Fix regexp.
7856
7857 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7858
7859 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7860 (shr-table-horizontal-line): Allow nil as a value, and change the
7861 default.
7862 (shr-insert-table-ruler): Respect the nil value.
7863
7864 2013-06-18 Tom Tromey <tromey@barimba>
7865
7866 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7867 New defvars.
7868 (eww-open-file): New defun.
7869 (eww-render): Initialize new variables.
7870 (eww-display-html): Handle "link" and "a".
7871 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7872 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7873 (eww-back-url): Rename from eww-previous-url.
7874 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7875 New defuns.
7876
7877 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7878
7879 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7880 Distinguish ternary operator tokens from slash symbol and slash
7881 char literal.
7882
7883 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7884
7885 Convert symbol prettification into minor mode and global minor mode.
7886
7887 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7888 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7889 (prettify-symbols--keywords): Rename from
7890 `prog-prettify-symbols-alist' and make a local defvar.
7891 (prettify-symbols--compose-symbol): Rename from
7892 `prog--prettify-font-lock-compose-symbol'.
7893 (prettify-symbols--make-keywords): Rename from
7894 `prog-prettify-font-lock-symbols-keywords' and simplify.
7895 (prog-prettify-install): Remove.
7896 (prettify-symbols-mode): New minor mode, based on
7897 `prog-prettify-install'.
7898 (turn-on-prettify-symbols-mode): New function.
7899 (global-prettify-symbols-mode): New globalized minor mode.
7900
7901 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7902 * progmodes/cfengine.el (cfengine3-mode):
7903 * progmodes/perl-mode.el (perl-mode): Don't call
7904 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7905
7906 2013-06-18 Juri Linkov <juri@jurta.org>
7907
7908 * files-x.el (modify-file-local-variable-message): New function.
7909 (modify-file-local-variable)
7910 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7911 and call `modify-file-local-variable-message' when it's non-nil.
7912 (add-file-local-variable, delete-file-local-variable)
7913 (add-file-local-variable-prop-line)
7914 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7915 and use it. (Bug#9820)
7916
7917 2013-06-18 Juri Linkov <juri@jurta.org>
7918
7919 * emulation/vi.el (vi-shell-op):
7920 * emulation/vip.el (vip-execute-com, ex-command):
7921 * emulation/viper-cmd.el (viper-exec-bang):
7922 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7923 the call of `shell-command-on-region'. (Bug#14637)
7924
7925 * simple.el (shell-command-on-region): Doc fix.
7926
7927 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7930 (bug#14633).
7931
7932 2013-06-18 Glenn Morris <rgm@gnu.org>
7933
7934 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7935
7936 * newcomment.el (comment-search-forward, comment-search-backward):
7937 Doc fix. (Bug#14376)
7938
7939 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7942 (buffer-face-mode-invoke): Doc fix.
7943
7944 2013-06-18 Matthias Meulien <orontee@gmail.com>
7945
7946 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7947 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7948
7949 2013-06-18 Glenn Morris <rgm@gnu.org>
7950
7951 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7952 Replace obsolete function generic-make-keywords with its expansion.
7953
7954 * progmodes/python.el (ffap-alist): Declare.
7955
7956 * textmodes/reftex.el (bibtex-mode-map): Declare.
7957
7958 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7961 (package-unpack, package-unpack-single): Return the pkg-dir.
7962 (package-download-transaction): Use it to update package-alist.
7963
7964 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7965
7966 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7967 possible choice.
7968
7969 2013-06-17 Juri Linkov <juri@jurta.org>
7970
7971 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7972
7973 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7974
7975 * emacs-lisp/package.el (package-load-descriptor):
7976 Remove `with-syntax-table' call, `read' doesn't need it.
7977 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7978
7979 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7980
7981 * startup.el (command-line): Expand package name returned by
7982 `package--description-file' (bug#14639).
7983
7984 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7985
7986 * emacs-lisp/package.el (package-load-descriptor): Do not call
7987 `emacs-lisp-mode', just use its syntax table.
7988
7989 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7990
7991 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7992 `font-lock-extra-managed-props' if any prettifying keyword is added.
7993 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7994 (prog-mode): Use `setq-local'.
7995
7996 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * international/characters.el (standard-case-table): Set syntax of ?»
7999 and ?« to punctuation.
8000
8001 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8002
8003 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8004 Save relevant match data before calling `syntax-ppss' (bug#14595).
8005
8006 2013-06-15 Juri Linkov <juri@jurta.org>
8007
8008 * files-x.el (modify-file-local-variable-prop-line): Add local
8009 variables to the end of the existing comment on the first line.
8010 Use `file-auto-mode-skip' to skip interpreter magic line,
8011 and also skip XML declaration.
8012
8013 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * startup.el (package--builtin-versions): New var.
8016 (package-subdirectory-regexp): Remove.
8017 (package--description-file): Hard code its value instead.
8018
8019 * emacs-lisp/package.el: Don't activate packages older than builtin.
8020 (package-obsolete-list): Rename from package-obsolete-alist, and make
8021 it into a simple list of package-desc.
8022 (package-strip-version): Remove.
8023 (package-built-in-p): Use package--builtin-versions.
8024 (package-mark-obsolete): Simplify.
8025 (package-process-define-package): Mark it obsolete if older than the
8026 builtin version.
8027 (package-handle-response): Use line-end-position.
8028 (package-read-archive-contents, package--download-one-archive):
8029 Simplify.
8030 (package--add-to-archive-contents): Skip if older than the builtin or
8031 installed version.
8032 (package-menu-describe-package): Fix last change.
8033 (package-list-unversioned): New var.
8034 (package-menu--generate): Use it.
8035
8036 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8037 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8038 (autoload-builtin-package-versions): New variable.
8039 (autoload-generate-file-autoloads): Use them.
8040 Remove the list of autoloaded functions/macros from the
8041 (autoload...) comments.
8042
8043 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8044
8045 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8046
8047 * simple.el (line-move-partial): Don't jump to the next screen
8048 line as soon as it becomes visible. Instead, continue enlarging
8049 the vscroll until the portion of a tall screen line that's left on
8050 display is about the height of the frame's default font.
8051 (Bug#14567)
8052
8053 2013-06-15 Glenn Morris <rgm@gnu.org>
8054
8055 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8056 compilation-error-regexp-alist void, or local while let-bound.
8057
8058 * progmodes/make-mode.el (makefile-mode-syntax-table):
8059 Treat "=" as punctuation. (Bug#14614)
8060
8061 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8062
8063 * help-fns.el (describe-variable):
8064 Add extra line for permanent-local variables.
8065
8066 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8067
8068 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8069 Add export, import, library. (Bug#9164)
8070 (library): Set indent function.
8071
8072 2013-06-14 Glenn Morris <rgm@gnu.org>
8073
8074 * term/xterm.el (xterm--query):
8075 Stop after first matching handler. (Bug#14615)
8076
8077 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8078
8079 Add support for dired in saveplace.
8080 * dired.el (dired-initial-position-hook): New variable.
8081 (dired-initial-position): Call hook to place cursor position.
8082 * saveplace.el (save-place-to-alist): Add dired position.
8083 (save-place-dired-hook): New function.
8084
8085 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8088 through a symbol rather than letrec.
8089
8090 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8091 (package-desc): Add `dir' field.
8092 (package-desc-full-name): New function.
8093 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8094 (package-maybe-load-descriptor): Remove.
8095 (package-load-all-descriptors): Just call package-load-descriptor.
8096 (package--disabled-p): New function.
8097 (package-desc-vers, package-desc-doc): Remove aliases.
8098 (package--dir): Remove function.
8099 (package-activate): Check if a package is disabled.
8100 (package-process-define-package): New function, extracted from
8101 define-package.
8102 (define-package): Turn into a place holder.
8103 (package-unpack-single, package-tar-file-info):
8104 Use package--description-file.
8105 (package-compute-transaction): Use package--disabled-p.
8106 (package-download-transaction): Don't call
8107 package-maybe-load-descriptor since they're all loaded anyway.
8108 (package-install): Change argument to be a pkg-desc.
8109 (package-delete): Use a single pkg-desc argument.
8110 (describe-package-1): Use package-desc-dir instead of package--dir.
8111 Use package-desc property instead of package-symbol.
8112 (package-install-button-action): Adjust accordingly.
8113 (package--push): Rewrite.
8114 (package-menu--print-info): Adjust accordingly. Change the ID format
8115 to be a pkg-desc.
8116 (package-menu-describe-package, package-menu-get-status)
8117 (package-menu--find-upgrades, package-menu-mark-upgrades)
8118 (package-menu-execute, package-menu--name-predicate):
8119 Adjust accordingly.
8120 * startup.el (package--description-file): New function.
8121 (command-line): Use it.
8122 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8123 Use package-desc-version.
8124
8125 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8126 (byte-compile-preprocess): Use it.
8127 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8128 can't quite recognize.
8129 (byte-compile-add-to-list): Remove.
8130 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8131 (cconv-closure-convert): Add assertion.
8132
8133 * emacs-lisp/map-ynp.el: Use lexical-binding.
8134 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8135 Factor out some repeated code.
8136
8137 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * subr.el (with-eval-after-load): New macro.
8140 (eval-after-load): Allow form to be a function.
8141 take advantage of lexical-binding.
8142 (do-after-load-evaluation): Use dolist and adjust to new format.
8143 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8144
8145 2013-06-13 Juri Linkov <juri@jurta.org>
8146
8147 * replace.el (perform-replace): Display "symbol " and other search
8148 modes from `isearch-message-prefix' in the *Help* buffer.
8149
8150 * isearch.el (isearch-query-replace): Add " symbol" and other
8151 possible search modes from `isearch-message-prefix' to the prompt.
8152 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8153 when reading a regexp to collect.
8154
8155 2013-06-13 Juri Linkov <juri@jurta.org>
8156
8157 * isearch.el (word-search-regexp): Match whitespace if the search
8158 string begins or ends in whitespace. The LAX arg is applied to
8159 both ends of the search string. Use `regexp-quote' and explicit
8160 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8161 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8162 boundaries are replaced with symbol boundaries, and characters
8163 between symbols match non-word non-symbol syntax. (Bug#14602)
8164
8165 2013-06-13 Juri Linkov <juri@jurta.org>
8166
8167 * isearch.el (isearch-del-char): Don't exceed the length of
8168 `isearch-string' by the prefix arg. (Bug#14563)
8169
8170 2013-06-13 Juri Linkov <juri@jurta.org>
8171
8172 * isearch.el (isearch-yank-word, isearch-yank-line)
8173 (isearch-char-by-name, isearch-quote-char)
8174 (isearch-printing-char, isearch-process-search-char):
8175 Add optional count prefix arg. (Bug#14563)
8176
8177 * international/isearch-x.el
8178 (isearch-process-search-multibyte-characters):
8179 Add optional count prefix arg.
8180
8181 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8184 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8185 lexical-binding.
8186
8187 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8188
8189 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8190
8191 2013-06-13 Glenn Morris <rgm@gnu.org>
8192
8193 * startup.el (tty-handle-args):
8194 Don't just discard "--" and anything after. (Bug#14608)
8195
8196 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8197
8198 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8199
8200 Implement changes in Secret Service API. Make it backward compatible.
8201 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8202 (secrets-create-item): Use it. Prefix properties with interface.
8203
8204 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8205
8206 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8207 (term-emulate-terminal): Respect term-suppress-hard-newline.
8208
8209 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8210
8211 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8212 Only remove a `thumb-file' overlay. (Bug#14548)
8213
8214 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8215
8216 * mail/reporter.el (reporter-submit-bug-report):
8217 Handle missing package-name. (Bug#14600)
8218
8219 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8220
8221 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8222 (reftex-citation-prompt, reftex-default-bibliography)
8223 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8224 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8225 (reftex-bib-sort-author, reftex-bib-sort-year)
8226 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8227 (reftex-extract-bib-entries-from-thebibliography)
8228 (reftex-get-bibkey-default, reftex-get-bib-names)
8229 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8230 (reftex-format-bib-entry, reftex-parse-bibitem)
8231 (reftex-format-bibitem, reftex-do-citation)
8232 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8233 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8234 (reftex-insert-bib-matches, reftex-format-citation)
8235 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8236 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8237 existing comments into docstrings.
8238
8239 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8240
8241 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8242
8243 2013-06-12 Andreas Schwab <schwab@suse.de>
8244
8245 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8246 for auto-save files.
8247
8248 2013-06-12 Glenn Morris <rgm@gnu.org>
8249
8250 * ido.el (ido-delete-ignored-files): Remove.
8251 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8252 Go back to calling ido-ignore-item-p directly.
8253
8254 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8255
8256 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8257
8258 * ido.el (ido-delete-ignored-files): New function,
8259 split from ido-make-file-list-1.
8260 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8261 (ido-make-file-list-1): Use ido-delete-ignored-files.
8262
8263 2013-06-12 Leo Liu <sdl.web@gmail.com>
8264
8265 * progmodes/octave.el (inferior-octave-startup)
8266 (inferior-octave-completion-table)
8267 (inferior-octave-track-window-width-change)
8268 (octave-eldoc-function-signatures, octave-help)
8269 (octave-find-definition): Use single quoted strings.
8270 (inferior-octave-startup-args): Change default value.
8271 (inferior-octave-startup): Do not hard code "-i" and
8272 "--no-line-editing".
8273 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8274 (inferior-octave-directory-tracker): Use it.
8275 (octave-goto-function-definition): Robustify.
8276 (octave-help): Support highlighting operators in 'See also'.
8277 (octave-find-definition): Find subfunctions only in Octave mode.
8278
8279 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * help-fns.el (help-fns--compiler-macro): If the handler function is
8282 named, then put a link to it.
8283 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8284 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8285 (cl-typep): Use it.
8286 (cl-eval-when): Simplify debug spec.
8287 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8288 compiler-macro function instead of setting `compiler-macro-file'.
8289
8290 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8291
8292 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8293 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8294
8295 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8296 Daniel Hackney <dan@haxney.org>
8297
8298 First part of Daniel Hackney's patch to package.el.
8299 * emacs-lisp/package.el: Use defstruct.
8300 (package-desc): New, main struct.
8301 (package--bi-desc, package--ac-desc): New structs, used to describe the
8302 format in external files.
8303 (package-desc-vers): Replace with package-desc-version accessor.
8304 (package-desc-doc): Replace with package-desc-summary accessor.
8305 (package-activate-1): Remove `package' arg since the pkg-vec now
8306 includes the name.
8307 (define-package): Use package-desc-from-define.
8308 (package-unpack-single): Change file-name arg to be a symbol.
8309 (package--add-to-archive-contents): Use package-desc-create and new
8310 accessor functions to package--ac-desc.
8311 (package-buffer-info, package-tar-file-info): Return a package-desc.
8312 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8313 arg to be a package-desc.
8314 (package-install-file): Adjust accordingly. Use \' to match EOS.
8315 (package--from-builtin): New function.
8316 (describe-package-1, package-menu--generate): Use it.
8317 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8318 (package-generate-autoloads): Idem and return the name of the file.
8319 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8320 Change pkg-info arg to be a package-desc.
8321 Use package-make-ac-desc.
8322 (package-upload-file): Use \' to match EOS.
8323 * finder.el (finder-compile-keywords): Use package-make-builtin.
8324
8325 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * vc/vc.el (vc-deduce-fileset): Change error message.
8328 (vc-read-backend): New function.
8329 (vc-next-action): Use it.
8330
8331 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8332
8333 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8334 (prolog-font-lock-keywords): Use regexp-opt instead.
8335 Don't manually highlight strings.
8336 (prolog-mode-variables): Simplify comment-start-skip.
8337 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8338
8339 * emacs-lisp/generic.el (generic--normalise-comments)
8340 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8341 (generic-mode-set-comments): Use them.
8342 (generic-bracket-support): Use setq-local.
8343 (generic-make-keywords-list): Declare obsolete.
8344
8345 2013-06-11 Glenn Morris <rgm@gnu.org>
8346
8347 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8348 Prettify after setting font-lock-defaults. (Bug#14574)
8349
8350 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8351
8352 * replace.el (query-replace, occur-read-regexp-defaults-function)
8353 (replace-search):
8354 * subr.el (declare-function, number-sequence, local-set-key)
8355 (substitute-key-definition, locate-user-emacs-file)
8356 (with-silent-modifications, split-string, eval-after-load):
8357 Fix typos, remove unneeded backslashes and reflow some docstrings.
8358
8359 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8362 default for Elisp files.
8363
8364 2013-06-11 Glenn Morris <rgm@gnu.org>
8365
8366 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8367 although define-derived-mode was doing this anyway. (Bug#14583)
8368
8369 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8370
8371 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8372 Fix make-variable-buffer-local call to refer to the correct variable.
8373
8374 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8375
8376 * eshell/em-term.el (eshell-visual-commands)
8377 (eshell-visual-subcommands, eshell-visual-options):
8378 Add summary line to docstrings. Add cross-references.
8379
8380 2013-06-10 Glenn Morris <rgm@gnu.org>
8381
8382 * epa.el (epa-read-file-name): New function. (Bug#14510)
8383 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8384
8385 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8386
8387 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8388 output redirection to be ignored with visual commands.
8389
8390 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8391
8392 * eshell/em-term.el (eshell-visual-command-p): New function.
8393 (eshell-term-initialize): Move long lambda to separate function
8394 eshell-visual-command-p.
8395 * eshell/em-dirs.el (eshell-dirs-initialise):
8396 * eshell/em-script.el (eshell-script-initialize):
8397 Add missing #' to lambda.
8398
8399 2013-06-08 Leo Liu <sdl.web@gmail.com>
8400
8401 * progmodes/octave.el (octave-add-log-current-defun): New function.
8402 (octave-mode): Set add-log-current-defun-function.
8403 (octave-goto-function-definition): Do not move point if not found.
8404 (octave-find-definition): Enhance to try subfunctions first.
8405
8406 2013-06-08 Glenn Morris <rgm@gnu.org>
8407
8408 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8409 (byte-compile-backward-char, byte-compile-backward-word):
8410 Improve previous change, to handle non-explicit nil.
8411
8412 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8415 (smie--opener/closer-at-point): New function.
8416 (smie--matching-block-data): Use it. Don't match from right after an
8417 opener or right before a closer. Obey smie-blink-matching-inners.
8418 Don't signal a mismatch for repeated inners like "switch..case..case".
8419
8420 2013-06-07 Leo Liu <sdl.web@gmail.com>
8421
8422 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8423 to t. (Bug#14303)
8424 (octave-function-header-regexp): Fix. (Bug#14570)
8425 (octave-help-mode-finish-hook, octave-help-mode-finish):
8426 Remove. Just use temp-buffer-show-hook.
8427
8428 * newcomment.el (comment-search-backward): Revert last change.
8429 (Bug#14434)
8430
8431 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8432
8433 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8434
8435 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8436 through xargs, to avoid failure due to MS-Windows limitations on
8437 command-line length.
8438
8439 2013-06-06 Glenn Morris <rgm@gnu.org>
8440
8441 * font-lock.el (lisp-font-lock-keywords-2):
8442 Treat user-error like error.
8443
8444 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8445 (byte-compile-backward-char, byte-compile-backward-word):
8446 Handle explicit nil arguments. (Bug#14565)
8447
8448 2013-06-05 Alan Mackenzie <acm@muc.de>
8449
8450 * isearch.el (isearch-allow-prefix): New user option.
8451 (isearch-other-meta-char): Don't exit isearch when a prefix
8452 argument is typed whilst `isearch-allow-prefix' is non-nil.
8453 (Bug#9706)
8454
8455 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * autorevert.el (auto-revert-notify-handler): Use memq.
8458 Hide assertion failure.
8459
8460 * skeleton.el: Use cl-lib.
8461 (skeleton-further-elements): Use defvar-local.
8462 (skeleton-insert): Use cl-progv.
8463
8464 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8465
8466 * progmodes/prog-mode.el (prog-prettify-symbols)
8467 (prog-prettify-install): Update docstrings.
8468
8469 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * simple.el: Move all the prog-mode code to prog-mode.el.
8472 * progmodes/prog-mode.el: New file.
8473 * loadup.el: Add prog-mode.el.
8474
8475 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8476
8477 * simple.el (prog-prettify-symbols): Add version.
8478 (prog-prettify-install): Add convenience function to prettify symbols.
8479
8480 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8481 (perl--augmented-font-lock-keywords-1)
8482 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8483 variables and use it.
8484
8485 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8486 (cfengine3-mode): Remove unneeded variable and use it.
8487
8488 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8489 (lisp--augmented-font-lock-keywords-1)
8490 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8491 Remove unneeded variables and use it.
8492
8493 2013-06-05 João Távora <joaotavora@gmail.com>
8494
8495 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8496 to point when opening the connection. (Bug#14380)
8497
8498 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * subr.el (load-history-regexp, load-history-filename-element)
8501 (eval-after-load, after-load-functions, do-after-load-evaluation)
8502 (eval-next-after-load, display-delayed-warnings)
8503 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8504 definition of save-match-data.
8505 (overriding-local-map): Remove accidental obsolescence declaration.
8506
8507 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8508
8509 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8510
8511 Generalize symbol prettify support to prog-mode and implement it
8512 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8513 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8514 (prog--prettify-font-lock-compose-symbol)
8515 (prog-prettify-font-lock-symbols-keywords): New variables and
8516 functions to support symbol prettification.
8517 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8518 (lisp--augmented-font-lock-keywords-1)
8519 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8520 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8521 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8522 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8523 Implement prettify of -> => :: strings.
8524 * progmodes/perl-mode.el (perl-prettify-symbols)
8525 (perl--font-lock-compose-symbol)
8526 (perl--font-lock-symbols-keywords): Move to prog-mode.
8527 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8528 (perl-font-lock-keywords-1)
8529 (perl-font-lock-keywords-2): Remove explicit prettify support.
8530 (perl--augmented-font-lock-keywords)
8531 (perl--augmented-font-lock-keywords-1)
8532 (perl--augmented-font-lock-keywords-2, perl-mode):
8533 Implement prettify support.
8534
8535 2013-06-05 Leo Liu <sdl.web@gmail.com>
8536
8537 Re-implement smie matching block highlight using
8538 show-paren-data-function. (Bug#14395)
8539 * emacs-lisp/smie.el (smie-matching-block-highlight)
8540 (smie--highlight-matching-block-overlay)
8541 (smie--highlight-matching-block-lastpos)
8542 (smie-highlight-matching-block)
8543 (smie-highlight-matching-block-mode): Remove.
8544 (smie--matching-block-data-cache): New variable.
8545 (smie--matching-block-data): New function.
8546 (smie-setup): Use smie--matching-block-data for
8547 show-paren-data-function.
8548
8549 * progmodes/octave.el (octave-mode-menu): Fix.
8550 (octave-find-definition): Skip garbage lines.
8551
8552 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 Fix compilation error with simultaneous dynamic+lexical scoping.
8555 Add warning when a defvar appears after the first let-binding.
8556 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8557 (byte-compile-close-variables): Initialize it.
8558 (byte-compile--declare-var): New function.
8559 (byte-compile-file-form-defvar)
8560 (byte-compile-file-form-define-abbrev-table)
8561 (byte-compile-file-form-custom-declare-variable): Use it.
8562 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8563 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8564 (byte-compile-bind): Handle dynamic bindings that shadow
8565 lexical bindings.
8566 (byte-compile-unbind): Make arg non-optional.
8567 (byte-compile-let): Simplify.
8568 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8569 (cconv--analyse-function, cconv-analyse-form): Populate it.
8570 Protect byte-compile-bound-variables to limit the scope of defvars.
8571 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8572 Remove unneeded rule for `declare'.
8573
8574 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8575 so as to avoid depending on cl-adjoin at run-time.
8576 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8577
8578 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8579 (macroexp--warn-and-return): Use it.
8580
8581 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * lisp/subr.el: Convert to lexical binding.
8584 (overriding-local-map): Make obsolete.
8585 (add-to-list): Doc fix. Add compiler macro.
8586 (read-key): Swap values of local maps.
8587
8588 2013-06-05 Leo Liu <sdl.web@gmail.com>
8589
8590 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8591
8592 2013-06-04 Leo Liu <sdl.web@gmail.com>
8593
8594 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8595 (compilation-auto-jump): Suppress the "Mark set" message to give
8596 way to exit message.
8597
8598 2013-06-04 Alan Mackenzie <acm@muc.de>
8599
8600 Remove faulty optimisation from indentation calculation.
8601 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8602 search limit based on 2000 characters back from indent-point.
8603
8604 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8605
8606 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8607
8608 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * emacs-lisp/lisp.el: Use lexical-binding.
8611 (lisp--local-variables-1, lisp--local-variables): New functions.
8612 (lisp--local-variables-completion-table): New var.
8613 (lisp-completion-at-point): Use it complete let-bound vars.
8614
8615 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8616 eagerly (bug#14422).
8617
8618 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8619
8620 * autorevert.el (auto-revert-notify-enabled)
8621 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8622 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8623 (auto-revert-notify-handler): Handle also gfilenotify.
8624
8625 * subr.el (file-notify-handle-event): New defun. Replacing ...
8626 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8627 Remove.
8628
8629 2013-06-03 Juri Linkov <juri@jurta.org>
8630
8631 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8632 `M-s h .'. (Bug#14427)
8633
8634 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8635 command `hi-lock-face-symbol-at-point'.
8636 (hi-lock-face-symbol-at-point): New command.
8637 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8638 (hi-lock-menu): Add `highlight-symbol-at-point'.
8639 (hi-lock-mode): Doc fix.
8640
8641 * isearch.el (isearch-forward-symbol-at-point): New command.
8642 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8643 (isearch-highlight-regexp): Add a regexp which matches
8644 words/symbols for word/symbol mode.
8645
8646 * subr.el (find-tag-default-bounds): New function with the body
8647 mostly moved from `find-tag-default'.
8648 (find-tag-default): Move most code to `find-tag-default-bounds',
8649 call it and apply `buffer-substring-no-properties' afterwards.
8650
8651 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8652
8653 * eshell/em-term.el (eshell-term-initialize):
8654 Use `cl-intersection' rather than `intersection'.
8655
8656 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8657
8658 * vc/log-view.el: Doc fix.
8659 (log-view-mode-map): Copy keymap from `special-mode-map'.
8660
8661 2013-06-02 Eric Ludlam <zappo@gnu.org>
8662
8663 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8664 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8665 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8666 (eieio-unbound, eieio-default-superclass)
8667 (eieio--define-field-accessors, method-static, method-before)
8668 (method-primary, method-after, method-num-lists)
8669 (method-generic-before, method-generic-primary)
8670 (method-generic-after, method-num-slots)
8671 (eieio-specialized-key-to-generic-key)
8672 (eieio--check-type, class-v, class-p)
8673 (eieio-class-name, define-obsolete-function-alias)
8674 (eieio-class-parents-fast, eieio-class-children-fast)
8675 (same-class-fast-p, class-constructor, generic-p)
8676 (generic-primary-only-p, generic-primary-only-one-p)
8677 (class-option-assoc, class-option, eieio-object-p)
8678 (class-abstract-p, class-method-invocation-order)
8679 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8680 (eieio-class-un-autoload, eieio-defclass)
8681 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8682 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8683 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8684 (eieio-defgeneric-reset-generic-form)
8685 (eieio-defgeneric-form-primary-only)
8686 (eieio-defgeneric-reset-generic-form-primary-only)
8687 (eieio-defgeneric-form-primary-only-one)
8688 (eieio-defgeneric-reset-generic-form-primary-only-one)
8689 (eieio-unbind-method-implementations)
8690 (eieio--defmethod, eieio--typep)
8691 (eieio-perform-slot-validation, eieio-validate-slot-value)
8692 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8693 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8694 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8695 (eieio-slot-name-index, eieio-class-slot-name-index)
8696 (eieio-set-defaults, eieio-initarg-to-attribute)
8697 (eieio-attribute-to-initarg, eieio-c3-candidate)
8698 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8699 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8700 (eieio-class-precedence-list, eieio-generic-call-methodname)
8701 (eieio-generic-call-arglst, eieio-generic-call-key)
8702 (eieio-generic-call-next-method-list)
8703 (eieio-pre-method-execution-functions, eieio-generic-call)
8704 (eieio-generic-call-primary-only, eieiomt-method-list)
8705 (eieiomt-optimizing-obarray, eieiomt-install)
8706 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8707 (eieio-generic-form, eieio-defmethod, make-obsolete)
8708 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8709 (defclass): Remove `eval-and-compile' from macro.
8710 (call-next-method, shared-initialize): Instead of using
8711 `scoped-class' variable, use new eieio--scoped-class, and
8712 eieio--with-scoped-class.
8713 (initialize-instance): Rename local variable 'scoped-class' to
8714 'this-class' to remove ambiguitity from old global.
8715
8716 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8717 eieio.el.
8718 (eieio--scoped-class-stack): New variable.
8719 (eieio--scoped-class): New fcn.
8720 (eieio--with-scoped-class): New scoping macro.
8721 (eieio-defclass): Use pushnew instead of add-to-list.
8722 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8723 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8724 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8725 `scoped-class' variable, use new eieio--scoped-class, and
8726 eieio--with-scoped-class.
8727
8728 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8729
8730 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8731
8732 * eshell/esh-ext.el (eshell-external-command): Pass args to
8733 `eshell-find-interpreter'.
8734 (eshell-find-interpreter): Add new second parameter ARGS.
8735
8736 * eshell/em-script.el (eshell-script-initialize): Add second arg
8737 to the function added as MATCH to `eshell-interpreter-alist'.
8738
8739 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8740 the function added as MATCH to `eshell-interpreter-alist'.
8741
8742 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8743 (eshell-visual-options): New defcustom.
8744 (eshell-escape-control-x): Adapt docstring.
8745 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8746 `eshell-visual-options' in addition to `eshell-visual-commands'.
8747 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8748
8749 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8750
8751 * progmodes/python.el (python-indent-block-enders): Add break,
8752 continue and raise keywords.
8753
8754 2013-06-01 Glenn Morris <rgm@gnu.org>
8755
8756 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8757
8758 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8759 * progmodes/cc-cmds.el (delete-forward-p):
8760 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8761 * progmodes/cc-engine.el (buffer-syntactic-context):
8762 * progmodes/cc-fonts.el (face-property-instance):
8763 * progmodes/cc-mode.el (set-keymap-parents):
8764 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8765 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8766 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8767 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8768 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8769
8770 * progmodes/cc-vars.el (other): Emacs has this widget since
8771 at least 21.1, so don't (re)define it.
8772
8773 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8774 Replace the obsolete alias pcomplete-arg-quote-list.
8775
8776 2013-06-01 Leo Liu <sdl.web@gmail.com>
8777
8778 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8779 punctuation syntax.
8780 (inferior-octave-minimal-columns)
8781 (inferior-octave-last-column-width): New variables.
8782 (inferior-octave-track-window-width-change): New function.
8783 (inferior-octave-mode): Adjust column width so that Octave output,
8784 for example from 'ls', can fit into the window nicely.
8785
8786 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8787
8788 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8789 Highlight expansions inside regexp literals.
8790
8791 2013-05-31 Glenn Morris <rgm@gnu.org>
8792
8793 * obsolete/sym-comp.el (symbol-complete):
8794 Replace obsolete completion-annotate-function.
8795
8796 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8797
8798 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8801 New function, checks if point is inside a literal that allows
8802 expression expansion.
8803 (ruby-syntax-propertize-expansion): Use it.
8804 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8805 around the body.
8806
8807 2013-05-30 Juri Linkov <juri@jurta.org>
8808
8809 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8810 to "\M-si".
8811 (isearch-invisible): New variable.
8812 (isearch-forward): Doc fix.
8813 (isearch-mode): Set `isearch-invisible'
8814 to the value of `search-invisible'.
8815 (isearch-toggle-case-fold): Doc fix.
8816 (isearch-toggle-invisible): New command.
8817 (isearch-query-replace): Let-bind `search-invisible'
8818 to the value of `isearch-invisible'.
8819 (isearch-search): Use `isearch-invisible' instead of
8820 `search-invisible'. Let-bind `search-invisible'
8821 to the value of `isearch-invisible'. (Bug#11378)
8822
8823 2013-05-30 Juri Linkov <juri@jurta.org>
8824
8825 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8826 call when `query-flag' is nil and `search-invisible' is non-nil.
8827 (Bug#11746)
8828
8829 2013-05-30 Glenn Morris <rgm@gnu.org>
8830
8831 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8832
8833 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8834 (cc-require): Suppress spurious "noruntime" warnings.
8835 (cc-require-when-compile): Use fboundp, for sake of compiler.
8836
8837 * progmodes/cc-mode.el: Move load of cc-vars before that of
8838 cc-langs (which in turn loads cc-vars), to quieten compiler.
8839
8840 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * paren.el: Simplify the code.
8843 (show-paren-mode): Always start the timer.
8844 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8845 (show-paren--overlay, show-paren--overlay-1): Rename from
8846 show-paren-overlay and show-paren-overlay-1, and initialize to an
8847 overlay rather than to nil.
8848 (show-paren-function): Misc cleanup and simplifications.
8849
8850 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * paren.el (show-paren-data-function): New hook.
8853 (show-paren--default): New function, extracted from show-paren-function.
8854 (show-paren-function): Use show-paren-data-function.
8855
8856 2013-05-30 Glenn Morris <rgm@gnu.org>
8857
8858 * ielm.el (ielm-map, ielm-complete-symbol):
8859 Use completion-at-point rather than obsolete functions.
8860 (inferior-emacs-lisp-mode): Doc fix.
8861 Set completion-at-point-functions, rather than
8862 comint-dynamic-complete-functions.
8863
8864 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8865 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8866 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8867
8868 * image.el (image-animated-p): Tweak definition.
8869
8870 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8871 (rlogin-process-connection-type): Tweak default. Add set-after.
8872 (rlogin-host): Doc fix.
8873 (rlogin): Tweak prompt.
8874 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8875
8876 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8877 * progmodes/tcl.el (inferior-tcl-mode-map):
8878 Use completion-at-point rather than obsolete alias.
8879
8880 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8881
8882 * minibuffer.el (read-file-name-completion-ignore-case):
8883 Move before completion--in-region, for eager macro expansion.
8884
8885 2013-05-29 Juri Linkov <juri@jurta.org>
8886
8887 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8888 for total count of matching lines. Add `global-matches' for total
8889 count of matches. Rename `matches' to `lines' for count of
8890 matching lines. Add `matches' for count of matches.
8891 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8892 to `prev-line' for line number of prev match endpt.
8893 Increment `matches' for every match. Print the number of
8894 matching lines in the header.
8895 (occur-context-lines): Rename `lines' to `curr-line'.
8896 Rename `prev-lines' to `prev-line'. (Bug#14017)
8897
8898 2013-05-29 Juri Linkov <juri@jurta.org>
8899
8900 * replace.el (perform-replace): Add `skip-read-only-count',
8901 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8902 Increment them for corresponding conditions and report the number
8903 of skipped occurrences in the final message. (Bug#11746)
8904 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8905 (replace-string, replace-regexp): Doc fix.
8906
8907 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8910
8911 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8912 prog-mode-map (bug#14504).
8913
8914 2013-05-29 Leo Liu <sdl.web@gmail.com>
8915
8916 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8917 (octave-help): Small simplification.
8918
8919 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8920 off the highlight first.
8921
8922 2013-05-29 Glenn Morris <rgm@gnu.org>
8923
8924 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8925 Handle idlwave-last-system-routine-info-cons-cell being nil.
8926
8927 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8928 (idlwave-write-paths): Simplify via with-temp-buffer.
8929
8930 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8931 * emulation/cua-rect.el: Also load cua-base at run time.
8932
8933 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8934 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8935 (cperl-imenu-on-info): Require imenu.
8936
8937 2013-05-28 Alan Mackenzie <acm@muc.de>
8938
8939 Handle "capitalised keywords" correctly.
8940 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8941
8942 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8943
8944 * eshell/em-unix.el: Add -r option to cp.
8945
8946 2013-05-28 Glenn Morris <rgm@gnu.org>
8947
8948 * vc/vc-arch.el (vc-exec-after): Declare.
8949 (vc-switches): Autoload.
8950 * vc/vc-bzr.el: No need to require vc when compiling.
8951 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8952 (vc-resynch-buffer, vc-dir-refresh): Declare.
8953 (vc-setup-buffer, vc-switches): Autoload.
8954 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8955 (vc-resynch-buffer): Declare.
8956 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8957 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8958 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8959 (grep-read-regexp, grep-read-files, grep-expand-template)
8960 (vc-dir-refresh): Declare.
8961 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8962 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8963 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8964 * vc/vc-mtn.el (vc-exec-after): Declare.
8965 (vc-switches): Autoload.
8966 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8967 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8968 (vc-file-tree-walk): Declare.
8969 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8970 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8971 (vc-tag-precondition, vc-rename-master): Autoload.
8972 * vc/vc-svn.el (vc-exec-after): Declare.
8973 (vc-switches, vc-setup-buffer): Autoload.
8974 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8975 Autoload.
8976 (vc-resynch-buffer): Declare.
8977
8978 * obsolete/fast-lock.el (byte-compile-warnings):
8979 Don't warn about obsolete features in this obsolete file.
8980
8981 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8982 Move definition before use.
8983
8984 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8985 (dun-unix-verbs): Remove dun-zippy.
8986 (dun-zippy): Remove function.
8987
8988 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8989
8990 2013-05-27 Juri Linkov <juri@jurta.org>
8991
8992 * replace.el (replace-search): New function with code moved out
8993 from `perform-replace'.
8994 (replace-highlight, replace-dehighlight): Move function definitions
8995 up closer to `replace-search'. (Bug#11746)
8996
8997 2013-05-27 Juri Linkov <juri@jurta.org>
8998
8999 * replace.el (perform-replace): Ignore invisible matches.
9000 In addition to checking `query-replace-skip-read-only', also
9001 filter out matches by calling `run-hook-with-args-until-failure'
9002 on `isearch-filter-predicates', and also check `search-invisible'
9003 for t or call `isearch-range-invisible'.
9004 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9005
9006 2013-05-27 Juri Linkov <juri@jurta.org>
9007
9008 * isearch.el (isearch-filter-predicates): Rename from
9009 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9010 (isearch-message-prefix): Display text from the property
9011 `isearch-message-prefix' of the currently active filters.
9012 (isearch-search): Don't compare `isearch-filter-predicate' with
9013 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9014 on `isearch-filter-predicates'. Also check `search-invisible' for t
9015 or call `isearch-range-invisible'.
9016 (isearch-filter-visible): Make obsolete.
9017 (isearch-lazy-highlight-search):
9018 Call `run-hook-with-args-until-failure' on
9019 `isearch-filter-predicates' and use `isearch-range-invisible'.
9020
9021 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9022 `isearch-filter-predicates' instead of `funcall'ing
9023 `isearch-filter-predicate'.
9024 (Info-mode): Set `Info-isearch-filter' to
9025 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9026
9027 * dired-aux.el (dired-isearch-filter-predicate-orig):
9028 Remove variable.
9029 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9030 (dired-isearch-filenames-end): Add and remove
9031 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9032 instead of changing the value of `isearch-filter-predicate'.
9033 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9034 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9035 Put property `isearch-message-prefix' to "filename " on
9036 `dired-isearch-filter-filenames'.
9037
9038 * wdired.el (wdired-change-to-wdired-mode):
9039 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9040 locally instead of changing `isearch-filter-predicate'.
9041 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9042
9043 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9044
9045 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9046 return the commit hash (Bug#14459). Also set the
9047 `vc-git-detached' property.
9048 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9049 (vc-git-mode-line-string): Use the same help-echo format whether
9050 in detached mode or not, because we know the actual revision now.
9051 When in detached mode, shorten the revision to 7 chars.
9052
9053 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * emacs-lisp/easy-mmode.el (define-minor-mode):
9056 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9057 mode hook and provide a docstring.
9058
9059 2013-05-27 Alan Mackenzie <acm@muc.de>
9060
9061 Remove spurious syntax-table text properties inserted by C-y.
9062 * progmodes/cc-mode.el (c-after-change): Also clear hard
9063 syntax-table property with value nil.
9064
9065 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9066
9067 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9068 when reading the events; the buffer layout shall not be changed.
9069
9070 2013-05-27 Leo Liu <sdl.web@gmail.com>
9071
9072 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9073 New variable.
9074 (inferior-octave-directory-tracker): Automatically re-sync
9075 default-directory.
9076 (octave-help): Improve handling of 'See also'.
9077
9078 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * doc-view.el: Minor naming convention tweaks.
9081 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9082
9083 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9084 even if there's no `display' property yet (bug#14435).
9085
9086 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9087
9088 * subr.el (unmsys--file-name): Rename from reveal-filename.
9089
9090 * Makefile.in (custom-deps, finder-data, autoloads)
9091 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9092 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9093 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9094
9095 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9098 error-completion on the first 2 args of condition-case (bug#14446).
9099 Don't burp at EOB.
9100
9101 2013-05-25 Leo Liu <sdl.web@gmail.com>
9102
9103 * comint.el (comint-previous-matching-input): Do not flood the
9104 *Messages* buffer with trivial messages.
9105
9106 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * progmodes/flymake.el (flymake-nop): Don't return a string.
9109 (flymake-set-at): Fix typo.
9110
9111 * simple.el (read--expression): New function, extracted from
9112 eval-expression. Set completion-at-point-functions (bug#14465).
9113 (eval-expression, eval-minibuffer): Use it.
9114
9115 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9116
9117 * progmodes/flymake.el (flymake-save-buffer-in-file)
9118 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9119 (flymake-selected-frame, flymake-log, flymake-ins-after)
9120 (flymake-set-at, flymake-get-buildfile-from-cache)
9121 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9122 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9123 Refine the doc string.
9124 (flymake-get-file-name-mode-and-masks): Reformat.
9125 (flymake-get-real-file-name-function): Fix a minor bug.
9126
9127 2013-05-24 Juri Linkov <juri@jurta.org>
9128
9129 * progmodes/grep.el (grep-mode-font-lock-keywords):
9130 Support =linenumber= format used by git-grep for lines with
9131 function names. (Bug#13549)
9132
9133 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9136 0 after a semi-colon; it works better for smie-auto-fill.
9137 (octave--indent-new-comment-line): New function.
9138 (octave-indent-new-comment-line): Use it (indirectly).
9139 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9140 modify comment-line-break-function.
9141
9142 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9143 (smie-setup): Use add-function to set it.
9144
9145 2013-05-24 Sam Steingold <sds@gnu.org>
9146
9147 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9148 argument (before the `interactive' argument).
9149
9150 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * image-mode.el (image-mode-winprops): Add winprops to
9153 image-mode-winprops-alist before running
9154 image-mode-new-window-functions.
9155 * doc-view.el (doc-view-new-window-function): Don't delay
9156 doc-view-goto-page via timers (bug#14435).
9157
9158 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9159
9160 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9161 (doc-view-desktop-save-buffer): New function.
9162 (doc-view-restore-desktop-buffer): New function.
9163 (desktop-buffer-mode-handlers):
9164 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9165 handler.
9166 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9167 `desktop-save-buffer' function.
9168
9169 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9170
9171 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9172 (tramp-gvfs-file-name-handler): Raise a user error when
9173 `tramp-gvfs-enabled' is nil.
9174 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9175 Do not raise a user error when loading package. (Bug#14447)
9176
9177 * net/xesam.el: Move to obsolete/.
9178
9179 2013-05-24 Glenn Morris <rgm@gnu.org>
9180
9181 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9182
9183 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9184
9185 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9186 (Info-find-node, Man-getpage-in-background): Declare.
9187
9188 * mail/unrmail.el (unrmail):
9189 Replace obsolete detect-coding-with-priority.
9190
9191 * net/socks.el (socks-split-string): Use this rather than split-string.
9192 (socks-nslookup-host): Update for above change.
9193 (dynamic-choice, s5-dynamic-choice-match)
9194 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9195 Comment out unused code.
9196
9197 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9198 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9199 (gud-tooltip-echo-area): Make obsolete.
9200 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9201
9202 * progmodes/js.el (js--optimize-arglist): Declare.
9203
9204 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9205
9206 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9207 (ediff-window-C): Declare.
9208
9209 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9210 Tweak requires to silence compiler.
9211
9212 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9213 (he-search-string, he-tried-table, he-expand-list)
9214 (he-init-string, he-string-member, he-substitute-string)
9215 (he-reset-string): Declare.
9216
9217 * obsolete/options.el (list-options): Use custom-variable-p,
9218 rather than obsolete alias.
9219
9220 2013-05-23 Sam Steingold <sds@gnu.org>
9221
9222 * simple.el (shell-command-on-region): Pass the `replace' argument
9223 down to `call-process-region' to comply with the doc as reported on
9224 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9225
9226 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/smie.el (smie-indent-forward-token)
9229 (smie-indent-backward-token): Handle string tokens (bug#14381).
9230
9231 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9232
9233 * ielm.el (ielm-menu): New menu.
9234 (inferior-emacs-lisp-mode): Set comment-start.
9235
9236 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9237
9238 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9239 Fix deactivate action.
9240
9241 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9242 Add cleveref macros.
9243
9244 * lisp/textmodes/reftex-parse.el
9245 (reftex-locate-bibliography-files): Accept options for
9246 bibliography commands.
9247 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9248 Add addbibresource. Basic Biblatex support.
9249
9250 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9251
9252 * net/tramp-gvfs.el (top):
9253 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9254 when loading package. (Bug#14447)
9255
9256 2013-05-23 Glenn Morris <rgm@gnu.org>
9257
9258 * progmodes/js.el: No need to load comint when compiling.
9259 (ring-insert, comint-send-string, comint-send-input)
9260 (comint-last-input-end, ido-chop): Declare.
9261
9262 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9263 * vc/ediff-mult.el: Adjust requires.
9264 (ediff-directories-internal, ediff-directory-revisions-internal)
9265 (ediff-patch-file-internal): Declare.
9266 * vc/ediff-ptch.el: Adjust requires.
9267 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9268 (ediff-find-file): Autoload.
9269 * vc/ediff-util.el: No need to load ediff when compiling.
9270 (ediff-regions-internal): Declare.
9271 * vc/ediff-wind.el: Adjust requires.
9272 (ediff-compute-toolbar-width): Define when compiling.
9273 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9274 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9275 (dired-get-filename, dired-get-marked-files)
9276 (ediff-last-dir-patch, ediff-patch-default-directory)
9277 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9278 (ediff-patch-buffer-internal): Declare.
9279
9280 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9281 (ispell-process, ispell-buffer-local-words, lm-summary)
9282 (lm-section-start, lm-section-end): Declare.
9283 (checkdoc-ispell-init): Simplify.
9284
9285 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9286 (he-string-member, he-reset-string, he-substitute-string): Declare.
9287
9288 * eshell/em-ls.el: Adjust requires.
9289 (eshell-glob-regexp): Declare.
9290 * eshell/em-tramp.el: Adjust requires.
9291 (eshell-parse-command): Autoload.
9292 * eshell/em-xtra.el: Adjust requires.
9293 (eshell-parse-command): Autoload.
9294 * eshell/esh-ext.el: Adjust requires.
9295 (eshell-parse-command, eshell-close-handles): Autoload.
9296 * eshell/esh-io.el: Adjust requires.
9297 (eshell-output-filter): Autoload.
9298 * eshell/esh-util.el: No need to load tramp when compiling.
9299 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9300 Declare.
9301 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9302 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9303 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9304 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9305 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9306 * eshell/esh-opt.el, eshell/esh-proc.el:
9307 * eshell/esh-var.el: Adjust requires.
9308 * eshell/eshell.el: Do not require esh-util twice.
9309 (eshell-add-input-to-history): Declare.
9310 (eshell-command): Check history module is active before using it.
9311
9312 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9313
9314 2013-05-22 Leo Liu <sdl.web@gmail.com>
9315
9316 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9317
9318 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9319
9320 * autorevert.el (auto-revert-notify-add-watch)
9321 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9322 it indicates changes in file modification time.
9323
9324 2013-05-22 Glenn Morris <rgm@gnu.org>
9325
9326 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9327 Always delete the autoloaded function from the noruntime and
9328 unresolved functions lists.
9329
9330 * allout.el: No need to load epa, epg, overlay when compiling.
9331 (epg-context-set-passphrase-callback, epg-list-keys)
9332 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9333 (epg-key-user-id-list): Declare.
9334
9335 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9336 (viper-set-parsing-style-toggling-macro)
9337 (viper-set-emacs-state-searchstyle-macros):
9338 Use called-interactively-p on Emacs.
9339 (viper-looking-back): Make it an obsolete alias. Update callers.
9340 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9341 Use looking-back rather than viper-looking-back.
9342 (viper-tmp-insert-at-eob, viper-enlarge-region)
9343 (viper-read-string-with-history, viper-register-to-point)
9344 (viper-append-to-register, viper-change-state-to-vi)
9345 (viper-backward-char-carefully, viper-forward-char-carefully)
9346 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9347 (viper-change-state-to-emacs): Declare.
9348 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9349 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9350 * emulation/viper-mous.el: Do not load viper-cmd.
9351 (viper-backward-char-carefully, viper-forward-char-carefully)
9352 (viper-forward-word, viper-adjust-window): Declare.
9353
9354 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9355
9356 * progmodes/idlw-help.el (idlwave-help-fontify):
9357 Use called-interactively-p.
9358
9359 * term/w32console.el (w32-get-console-codepage)
9360 (w32-get-console-output-codepage): Declare.
9361
9362 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9363 Remove unnecessary declarations.
9364 (dframe-message): Doc fix.
9365
9366 * info.el (dframe-select-attached-frame, dframe-current-frame):
9367 Declare.
9368
9369 * speedbar.el (speedbar-message): Make it an obsolete alias.
9370 Update all callers.
9371 (speedbar-with-attached-buffer)
9372 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9373 (speedbar-with-writable): Use backquote.
9374 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9375 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9376 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9377 rather than speedbar- aliases.
9378 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9379 (speedbar-make-specialized-keymap, speedbar-insert-button)
9380 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9381 (speedbar-do-function-pointer): Declare.
9382 (rmail-speedbar-button, rmail-speedbar-find-file)
9383 (rmail-speedbar-move-message):
9384 Use dframe-with-attached-buffer rather than speedbar- alias.
9385 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9386 (dframe-message, speedbar-make-specialized-keymap)
9387 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9388 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9389 (speedbar-insert-button, dframe-select-attached-frame)
9390 (dframe-maybee-jump-to-attached-frame)
9391 (speedbar-change-initial-expansion-list)
9392 (speedbar-previously-used-expansion-list-name): Declare.
9393 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9394 Use dframe-message, dframe-with-attached-buffer rather than
9395 speedbar- aliases.
9396 (gud-sentinel): Silence compiler.
9397 * progmodes/vhdl-mode.el (speedbar-refresh)
9398 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9399 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9400 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9401 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9402 (speedbar-file-lists, speedbar-make-tag-line)
9403 (speedbar-line-directory, speedbar-goto-this-file)
9404 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9405 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9406 (speedbar-make-button, speedbar-reset-scanners)
9407 (speedbar-files-item-info, speedbar-line-text)
9408 (speedbar-find-file-in-frame, speedbar-set-timer)
9409 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9410 (speedbar-with-writable): Do not (re)define it.
9411 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9412 rather than speedbar- alias.
9413
9414 2013-05-21 Leo Liu <sdl.web@gmail.com>
9415
9416 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9417 menu items.
9418 (octave-mode): Tweak fill-nobreak-predicate.
9419 (inferior-octave-startup): Check process to avoid infinite loop.
9420 (inferior-octave): Pop to buffer first to show abornmal process
9421 exit information.
9422
9423 2013-05-21 Glenn Morris <rgm@gnu.org>
9424
9425 * printing.el (pr-menu-bar): Define when compiling.
9426
9427 2013-05-21 Leo Liu <sdl.web@gmail.com>
9428
9429 * progmodes/octave.el (octave-auto-fill): Remove.
9430 (octave-indent-new-comment-line): Improve.
9431 (octave-mode): Use auto fill mode through
9432 comment-line-break-function and fill-nobreak-predicate.
9433 (octave-goto-function-definition): Support DEFUN_DLD.
9434 (octave-beginning-of-defun): Small tweak.
9435 (octave-help): Show parent directory.
9436
9437 2013-05-21 Glenn Morris <rgm@gnu.org>
9438
9439 * files.el (dired-unmark):
9440 * progmodes/gud.el (gdb-input): Update declarations.
9441
9442 * calculator.el (electric, ehelp): No need to load when compiling.
9443 (Electric-command-loop, electric-describe-mode): Declare.
9444
9445 * doc-view.el (doc-view-current-converter-processes): Move before use.
9446
9447 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9448 Move MODE-set-explicitly definition before use.
9449
9450 * international/mule-diag.el (mule-diag):
9451 Don't use obsolete window-system-version.
9452
9453 * mail/feedmail.el (smtpmail): No need to load when compiling.
9454 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9455
9456 * mail/mail-utils.el (rfc822): No need to load when compiling.
9457 (rfc822-addresses): Autoload it.
9458 (mail-strip-quoted-names): Trivial simplification.
9459
9460 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9461 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9462
9463 * net/snmp-mode.el (tempo): Don't duplicate requires.
9464
9465 * progmodes/prolog.el (info): No need to load when compiling.
9466 (comint): Require before shell requires it.
9467 (Info-goto-node): Autoload it.
9468 (Info-follow-nearest-node): Declare.
9469 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9470
9471 * textmodes/artist.el (picture-mode-exit): Declare.
9472
9473 * textmodes/reftex-parse.el (reftex-parse-from-file):
9474 Trivial rewrite so the compiler can parse it better.
9475
9476 2013-05-20 Leo Liu <sdl.web@gmail.com>
9477
9478 * progmodes/octave.el (octave-help-mode-map)
9479 (octave-help-mode-finish-hook): New variables.
9480 (octave-help-mode, octave-help-mode-finish): New functions.
9481 (octave-help): Use octave-help-mode.
9482
9483 2013-05-20 Glenn Morris <rgm@gnu.org>
9484
9485 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9486
9487 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9488
9489 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9490 start at point, so that expansion starting right after opening
9491 slash in a regexp is recognized.
9492 (ruby-syntax-before-regexp-re): New defvar, extracted from
9493 ruby-syntax-propertize-function. Since the value of this regexp
9494 is looked up at runtime now, we should be able to turn
9495 `ruby-syntax-methods-before-regexp' into a defcustom later.
9496 (ruby-syntax-propertize-function): Split regexp matching into two
9497 parts, for opening and closing slashes. That allows us to skip
9498 over string interpolations and support multiline regexps.
9499 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9500 for them, which calls `ruby-syntax-propertize-expansion'.
9501 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9502 call to `ruby-syntax-propertize-function'.
9503 (ruby-syntax-propertize-expansion): Extracted from
9504 `ruby-syntax-propertize-expansions'. Handles one expansion.
9505 (ruby-syntax-propertize-percent-literal): Leave point right after
9506 the percent symbol, so that the expression expansion rule can
9507 propertize the contents.
9508 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9509 heredoc openers.
9510 (ruby-syntax-propertize-expansions): Remove.
9511
9512 2013-05-18 Juri Linkov <juri@jurta.org>
9513
9514 * man.el (Man-default-man-entry): Remove `-' from the end
9515 of the default value. (Bug#14400)
9516
9517 2013-05-18 Glenn Morris <rgm@gnu.org>
9518
9519 * comint.el (comint-password-prompt-regexp):
9520 Allow "password for XXX" where XXX contains colons (eg https://...).
9521
9522 2013-05-18 Leo Liu <sdl.web@gmail.com>
9523
9524 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9525 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9526 (octave-source-directories): Don't check process.
9527 (octave-source-directories, octave-find-definition): Doc fix.
9528
9529 2013-05-18 Glenn Morris <rgm@gnu.org>
9530
9531 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9532 Remove backspace/delete bindings. (Bug#14392)
9533
9534 * cus-dep.el (custom-make-dependencies): Sort the output.
9535 (custom-versions-load-alist): Convert comment to doc.
9536
9537 2013-05-17 Leo Liu <sdl.web@gmail.com>
9538
9539 * newcomment.el (comment-search-backward): Stricter in finding
9540 comment start. (Bug#14303)
9541
9542 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9543 (octave-comment-start-skip): Properly anchored.
9544
9545 2013-05-17 Leo Liu <sdl.web@gmail.com>
9546
9547 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9548 Clean up when turned off. (Bug#14395)
9549 (smie--highlight-matching-block-overlay): No longer buffer-local.
9550 (smie-highlight-matching-block): Adjust.
9551
9552 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9553
9554 Doc string fix for "nanoseconds" (Bug#14406).
9555 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9556 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9557
9558 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9559
9560 * calc/calc-units.el (math-extract-units): Preserve powers
9561 of units.
9562
9563 2013-05-17 Leo Liu <sdl.web@gmail.com>
9564
9565 * subr.el (delete-consecutive-dups): New function.
9566 * ido.el (ido-set-matches-1): Use it.
9567 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9568 * ido.el (ido-remove-consecutive-dups): Remove.
9569
9570 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9573 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9574 regexp-opt's `words'.
9575
9576 2013-05-16 Leo Liu <sdl.web@gmail.com>
9577
9578 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9579 (smie--highlight-matching-block-overlay)
9580 (smie--highlight-matching-block-lastpos)
9581 (smie--highlight-matching-block-timer): New variables.
9582 (smie-highlight-matching-block): New function.
9583 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9584 (smie-setup): Conditionally enable smie-blink-matching-open.
9585
9586 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9587
9588 Sync with upstream verilog-mode r840.
9589 * progmodes/verilog-mode.el (verilog-mode-version)
9590 (verilog-mode-release-date): Update.
9591 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9592 (verilog-sig-tieoff): Fix string error on
9593 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9594 (verilog-read-decls): Fix parameters confusing
9595 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9596
9597 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9598
9599 * subr.el (reveal-filename): New function.
9600
9601 * loadup.el: Compute Emacs executable versions on MS-Windows,
9602 where executables have the .exe extension. Add a hard link
9603 emacs-XX.YY.ZZ.exe on MS-Windows.
9604
9605 * Makefile.in (XARGS_LIMIT): New variable.
9606 (custom-deps, finder-data, autoloads)
9607 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9608 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9609 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9610 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9611
9612 2013-05-16 Leo Liu <sdl.web@gmail.com>
9613
9614 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9615 (octave-mode-menu, octave-mode-map): Remove its uses.
9616
9617 2013-05-16 Reto Zimmermann <reto@gnu.org>
9618
9619 Sync with upstream vhdl mode v3.34.2.
9620 * progmodes/vhdl-mode.el: Use `push' throughout.
9621 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9622 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9623 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9624 (vhdl-actual-generic-name): New option to derive actual generic name.
9625 (vhdl-port-paste-signals): Replace formal by actual generics.
9626 (vhdl-beautify): New name for old group vhdl-align. Update users.
9627 (vhdl-beautify-options): New option.
9628 (vhdl-last-input-event): New compat alias. Use throughout.
9629 (vhdl-goto-line): Replace user level function `goto-line'.
9630 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9631 vhdl-fix-statement-buffer.
9632 (vhdl-create-mode-menu): Add some entries.
9633 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9634 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9635 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9636 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9637 to force statements on one line.
9638 (vhdl-remove-trailing-spaces-region):
9639 New, split from vhdl-remove-trailing-spaces.
9640 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9641 Respect vhdl-beautify-options.
9642 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9643 (vhdl-update-sensitivity-list): Not add with index if exists without.
9644 Not include array index with signal. Ignore keywords in comments.
9645 (vhdl-get-visible-signals): Regexp tweaks.
9646 (vhdl-template-component-inst): Handle empty library.
9647 (vhdl-template-type): Add template for 'enum' type.
9648 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9649 Use vhdl-replace-string.
9650 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9651 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9652 (vhdl-speedbar-initialize): Update for above name change.
9653 (vhdl-compose-wire-components): Fix in handling of constants.
9654 (vhdl-error-regexp-emacs-alist): New variable.
9655 (vhdl-error-regexp-add-emacs): New function;
9656 adds support for new compile.el (Emacs 22+)
9657 (vhdl-generate-makefile-1): Change target order for single lib. units.
9658 Allow use of absolute file names.
9659
9660 2013-05-16 Leo Liu <sdl.web@gmail.com>
9661
9662 * simple.el (prog-indent-sexp): Indent enclosing defun.
9663
9664 2013-05-15 Glenn Morris <rgm@gnu.org>
9665
9666 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9667 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9668 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9669 (whitespace-highlight): Move to whitespace group.
9670
9671 * comint.el (comint-source):
9672 * pcmpl-linux.el (pcmpl-linux):
9673 * shell.el (shell-faces):
9674 * eshell/esh-opt.el (eshell-opt):
9675 * international/ccl.el (ccl): Remove empty custom groups.
9676
9677 * completion.el (dynamic-completion-mode):
9678 * jit-lock.el (jit-lock-debug-mode):
9679 * minibuffer.el (completion-in-region-mode):
9680 * type-break.el (type-break-mode-line-message-mode)
9681 (type-break-query-mode):
9682 * emulation/tpu-edt.el (tpu-edt-mode):
9683 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9684 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9685 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9686
9687 * term/xterm.el (xterm): Change parent group to terminals.
9688
9689 * master.el (master): Remove empty custom group.
9690 (master-mode): Remove unused :group argument.
9691 * textmodes/refill.el (refill): Remove empty custom group.
9692 (refill-mode): Remove unused :group argument.
9693
9694 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9695
9696 * cus-dep.el: Provide a feature.
9697 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9698 Don't mistakenly ignore files whose basenames match a basename
9699 from preloaded-file-list (eg cedet/ede/simple.el).
9700 Add a fallback method for getting :group.
9701
9702 2013-05-15 Juri Linkov <juri@jurta.org>
9703
9704 * isearch.el (isearch-char-by-name): Rename from
9705 `isearch-insert-char-by-name'. Doc fix.
9706 (isearch-forward): Mention `isearch-char-by-name' in
9707 the docstring. (Bug#13348)
9708
9709 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9710 `exit-minibuffer' instead of
9711 `isearch-nonincremental-exit-minibuffer'.
9712 (isearch-edit-string): Remove mention of
9713 `isearch-nonincremental-exit-minibuffer' from docstring.
9714 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9715 (isearch-forward-exit-minibuffer)
9716 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9717
9718 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * loadup.el: Just use unversioned DOC.
9721
9722 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9723 literals as extending to EOB.
9724 (nxml-last-fontify-end): Remove unused variable.
9725 (nxml-after-change1): Use with-silent-modifications.
9726 (nxml-extend-after-change-region): Simplify.
9727 (nxml-extend-after-change-region1): Remove function.
9728 (nxml-after-change1): Don't adjust for dependent regions.
9729 (nxml-fontify-matcher): Simplify.
9730 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9731 (xmltok-add-dependent): Remove function.
9732 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9733 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9734 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9735 unclosed <[[, <?, comment, and other literals as extending to EOB.
9736 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9737 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9738 Remove functions.
9739 (rng-do-some-validation-1): Don't mark dependent regions.
9740 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9741 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9742 (nxml-clear-dependent-regions): Remove functions.
9743 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9744 (nxml-ensure-scan-up-to-date):
9745 Don't clear&mark dependent regions.
9746
9747 2013-05-15 Leo Liu <sdl.web@gmail.com>
9748
9749 * progmodes/octave.el (octave-goto-function-definition):
9750 Improve and fix callers.
9751
9752 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9755 the setter (bug#14387).
9756
9757 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9758 surrounding group (bug#14402).
9759
9760 2013-05-14 Juri Linkov <juri@jurta.org>
9761
9762 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9763 (Bug#14390)
9764
9765 2013-05-14 Glenn Morris <rgm@gnu.org>
9766
9767 * progmodes/f90.el (f90-imenu-generic-expression):
9768 Fix typo in 2013-05-08 change. (Bug#14402)
9769
9770 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9771
9772 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9773 Remove signals for which replies are never received.
9774
9775 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9776
9777 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9778 (gdb-handler-alist, gdb-handler-number): Remove variables.
9779 (gdb-handler-list): New variable.
9780 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9781 (gdb-pending-handler-p, gdb-handle-reply)
9782 (gdb-remove-all-pending-triggers): New functions.
9783 (gdb-discard-unordered-replies): New defcustom.
9784 (gdb-handler): New defstruct.
9785 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9786 instead of gdb-pending-triggers. Update docstring.
9787 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9788 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9789 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9790 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9791 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9792 (gdb-frame-handler): Pending triggers are now automatically managed.
9793 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9794 Remove argument.
9795 (gdb-input): Automatically handles pending triggers. Update docstring.
9796 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9797 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9798 Update comments.
9799 (gdb-done-or-error): Now use gdb-handle-reply.
9800
9801 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9802
9803 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9804 gdb-debug-log.
9805
9806 2013-05-14 Glenn Morris <rgm@gnu.org>
9807
9808 * subr.el (user-emacs-directory-warning): New option.
9809 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9810
9811 2013-05-14 Leo Liu <sdl.web@gmail.com>
9812
9813 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9814 during redisplay.
9815 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9816 (octave-font-lock-texinfo-comment): Fix invalid search bound
9817 error: wrong side of point.
9818
9819 2013-05-14 Glenn Morris <rgm@gnu.org>
9820
9821 * progmodes/flymake.el (flymake-xml-program): New option.
9822 (flymake-xml-init): Use it.
9823
9824 * term/xterm.el: Provide a feature.
9825
9826 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9827
9828 2013-05-13 Glenn Morris <rgm@gnu.org>
9829
9830 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9831 Add compat aliases as a hack workaround. (Bug#14384)
9832
9833 2013-05-13 Leo Liu <sdl.web@gmail.com>
9834
9835 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9836 ###, and %!.
9837 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9838 C-M-q.
9839 (octave-comment-start-skip): Include %!.
9840 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9841
9842 2013-05-12 Leo Liu <sdl.web@gmail.com>
9843
9844 * progmodes/octave.el (inferior-octave-startup): Store the value
9845 of __octave_srcdir__ for octave-source-directories.
9846 (inferior-octave-check-process): New function refactored out of
9847 inferior-octave-send-list-and-digest.
9848 (octave-source-directories)
9849 (octave-find-definition-filename-function): New variables.
9850 (octave-source-directories)
9851 (octave-find-definition-default-filename): New functions.
9852 (octave-find-definition): Improve to find functions implemented in C++.
9853
9854 2013-05-12 Glenn Morris <rgm@gnu.org>
9855
9856 * calendar/diary-lib.el (diary-outlook-format-1):
9857 Don't include dayname in the output. (Bug#14349)
9858
9859 2013-05-11 Glenn Morris <rgm@gnu.org>
9860
9861 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9862
9863 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9864 Treat cc-provide like provide.
9865
9866 2013-05-11 Kevin Ryde <user42@zip.com.au>
9867
9868 * cus-dep.el (custom-make-dependencies):
9869 Use generated-autoload-load-name for the sake of files such
9870 such cedet/semantic/bovine/c.el, where the base file name
9871 is not in load-path. (Bug#5277)
9872
9873 2013-05-11 Glenn Morris <rgm@gnu.org>
9874
9875 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9876 Provide features.
9877
9878 2013-05-11 Leo Liu <sdl.web@gmail.com>
9879
9880 * progmodes/octave.el (octave-indent-comment): Improve.
9881 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9882 (octave-eldoc-function-signatures, octave-eldoc-function):
9883 New functions.
9884 (octave-mode, inferior-octave-mode): Add eldoc support.
9885
9886 2013-05-11 Richard Stallman <rms@gnu.org>
9887
9888 * epa.el (epa-decrypt-file): Take output file name as argument
9889 and read it using `interactive'.
9890
9891 2013-05-11 Leo Liu <sdl.web@gmail.com>
9892
9893 * progmodes/octave.el (octave-beginning-of-line)
9894 (octave-end-of-line): Check before using up-list because it jumps
9895 out of more syntactic contructs since moving to smie.
9896 (octave-indent-comment): New function.
9897 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9898 (octave-begin-keywords, octave-end-keywords)
9899 (octave-reserved-words, octave-smie-bnf-table)
9900 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9901
9902 2013-05-11 Glenn Morris <rgm@gnu.org>
9903
9904 * faces.el (internal-face-x-get-resource):
9905 * frame.el (ns-display-monitor-attributes-list):
9906 * calc/calc-aent.el (math-to-radians-2):
9907 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9908 Fix declarations.
9909
9910 * calc/calc-menu.el: Make it loadable in isolation.
9911
9912 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9913 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9914 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9915 (eudc-bbdb-query-internal): Require 'bbdb.
9916
9917 * lpr.el (lpr-headers-switches):
9918 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9919
9920 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9921
9922 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9923
9924 * term.el (term-set-escape-char): Make it idempotent.
9925
9926 2013-05-10 Leo Liu <sdl.web@gmail.com>
9927
9928 * progmodes/octave.el (inferior-octave-completion-table):
9929 No longer a function and all uses changed. Use cache to speed up
9930 completion due to bug#11906.
9931 (octave-beginning-of-defun): Re-write to be more general.
9932
9933 2013-05-10 Glenn Morris <rgm@gnu.org>
9934
9935 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9936
9937 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * comint.el (comint-redirect-send-command-to-process): Use :around
9940 rather than :override for comint-redirect-filter.
9941 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9942 Call it instead of comint-redirect-original-filter-function (which
9943 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9944
9945 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9946
9947 * frame.el (display-monitor-attributes-list): Add NS case.
9948 (ns-display-monitor-attributes-list): Declare.
9949
9950 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9951
9952 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9953
9954 2013-05-09 Glenn Morris <rgm@gnu.org>
9955
9956 * international/fontset.el (vertical-centering-font-regexp):
9957 Set standard-value.
9958
9959 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9960
9961 * bookmark.el (bookmark-search-delay):
9962 * cus-start.el (vertical-centering-font-regexp):
9963 * ps-mule.el (ps-mule-font-info-database-default):
9964 * ps-print.el (ps-default-fg, ps-default-bg):
9965 * type-break.el (type-break-good-break-interval):
9966 * whitespace.el (whitespace-indentation-regexp)
9967 (whitespace-space-after-tab-regexp):
9968 * emacs-lisp/testcover.el (testcover-1value-functions)
9969 (testcover-noreturn-functions, testcover-progn-functions)
9970 (testcover-prog1-functions):
9971 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9972 * eshell/em-glob.el (eshell-glob-translate-alist):
9973 * play/tetris.el (tetris-tty-colors):
9974 * progmodes/cpp.el (cpp-face-default-list):
9975 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9976 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9977 (idlwave-help-browser-generic-args):
9978 * progmodes/make-mode.el (makefile-special-targets-list):
9979 * progmodes/python.el (python-shell-virtualenv-path):
9980 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9981 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9982 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9983 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9984 * textmodes/reftex-vars.el (reftex-format-label-function):
9985 * textmodes/remember.el (remember-diary-file): Fix custom types.
9986
9987 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9988 Add :version.
9989
9990 2013-05-09 Leo Liu <sdl.web@gmail.com>
9991
9992 * progmodes/octave.el (inferior-octave-completion-at-point):
9993 Restore file completion. (Bug#14300)
9994 (inferior-octave-startup): Fix incorrect highlighting for the
9995 first prompt.
9996
9997 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * progmodes/ruby-mode.el: First cut at SMIE support.
10000 (ruby-use-smie): New var.
10001 (ruby-smie-grammar): New constant.
10002 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10003 (ruby-smie--forward-token, ruby-smie--backward-token)
10004 (ruby-smie-rules): New functions.
10005 (ruby-mode-variables): Setup SMIE if applicable.
10006
10007 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10008
10009 * simple.el (line-move-visual): Signal beginning/end of buffer
10010 only if vertical-motion moved less than it was requested. Avoids
10011 silly incorrect error messages when there are display strings with
10012 multiple newlines at EOL.
10013
10014 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10017 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10018 (prolog-char-quote-workaround):
10019 * progmodes/cperl-mode.el (cperl-under-as-char):
10020 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10021 Mark as obsolete.
10022 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10023 their declaration.
10024 (vhdl-mode-syntax-table-init): Remove.
10025
10026 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10027 last change.
10028
10029 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10030 syntax for "_".
10031 (ld-script-font-lock-keywords):
10032 Change regexps to use things like \_< and \_>.
10033
10034 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10035 Change all regexps to use things like \_< and \_>.
10036
10037 * progmodes/autoconf.el (autoconf-definition-regexp)
10038 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10039 Handle a _ with symbol syntax.
10040 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10041
10042 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10043 Consolidate declaration.
10044 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10045 the declaration.
10046 (ada-create-syntax-table): Remove.
10047 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10048 already has the right syntax nowadays.
10049 (ada-goto-next-word): Don't change the syntax of "_".
10050
10051 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10052 with-wrapper-hook.
10053
10054 2013-05-08 Sam Steingold <sds@gnu.org>
10055
10056 * thingatpt.el (thing-at-point): Accept optional second argument
10057 NO-PROPERTIES to strip the text properties from the return value.
10058 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10059 to `thing-at-point' instead of stripping the properties ourselves.
10060 Also, when `thing-at-point' fails to find a url, prepend "http://"
10061 to the filename at point on the assumption that the user is
10062 pointing at something like gnu.org/gnu.
10063
10064 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10065
10066 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10067 * faces.el (crm-separator):
10068 Silence byte-compiler.
10069
10070 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10071 (tool-bar-map): Remove unneeded defvars.
10072
10073 2013-05-08 Leo Liu <sdl.web@gmail.com>
10074
10075 Re-work a fix for bug#10994 based on Le Wang's patch.
10076 * ido.el (ido-remove-consecutive-dups): New helper.
10077 (ido-completing-read): Use it.
10078 (ido-chop): Revert fix for bug#10994.
10079
10080 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10081
10082 * cus-edit.el (custom-save-variables):
10083 Pretty-print long values. (Bug#14187)
10084
10085 2013-05-08 Glenn Morris <rgm@gnu.org>
10086
10087 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10088 (m4-mode-syntax-table): Init in the defvar.
10089 (m4-mode-abbrev-table): Let define-derived-mode define it.
10090
10091 2013-05-08 Tom Tromey <tromey@redhat.com>
10092
10093 * progmodes/m4-mode.el (m4-mode-syntax-table):
10094 Do not treat "_" as word constituent. (Bug#14167)
10095
10096 2013-05-07 Glenn Morris <rgm@gnu.org>
10097
10098 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10099 Remove explicit eshell-isearch-cancel-map.
10100
10101 * progmodes/f90.el (f90-smart-end-names): New option.
10102 (f90-smart-end): Doc fix.
10103 (f90-end-block-optional-name): New constant.
10104 (f90-block-match): Respect f90-smart-end-names.
10105
10106 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10107
10108 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10109 about implicit semi-colons (bug#14218).
10110
10111 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10112
10113 * frame.el (display-monitor-attributes-list)
10114 (frame-monitor-attributes): New functions.
10115
10116 2013-05-06 Leo Liu <sdl.web@gmail.com>
10117
10118 * progmodes/octave.el (octave-syntax-propertize-function): Change
10119 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10120 (octave-font-lock-keywords): Use octave-operator-regexp.
10121 (octave-completion-at-point): Rename from
10122 octave-completion-at-point-function.
10123 (inferior-octave-directory-tracker): Robustify.
10124 (octave-text-functions): Remove and fix its uses. No such things
10125 any more.
10126
10127 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * emacs-lisp/trace.el (trace--display-buffer): New function.
10130 (trace-make-advice): Use it.
10131
10132 2013-05-06 Juri Linkov <juri@jurta.org>
10133
10134 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10135 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10136 Doc fix.
10137 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10138 in the help string. (Bug#12985)
10139
10140 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10141
10142 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10143
10144 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * progmodes/perl-mode.el: Add support for here documents.
10147 (perl-syntax-propertize-function): Match here-doc markers.
10148 (perl-syntax-propertize-special-constructs): Find their end.
10149 (perl-imenu-generic-expression): Use [:alnum:].
10150
10151 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10152 (advice--add-function): Refresh the advice if already present
10153 (bug#14317).
10154
10155 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10156
10157 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10158
10159 2013-05-06 Glenn Morris <rgm@gnu.org>
10160
10161 * w32-fns.el (w32-charset-info-alist): Declare.
10162
10163 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10164 of its defcustom properties.
10165 (eshell-cmpl-initialize): No need to load pcomplete.
10166
10167 * generic-x.el: No need to require comint when compiling.
10168
10169 * net/eudc-export.el: Make it loadable without bbdb.
10170 (top-level): Use require rather than load-library.
10171 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10172 (eudc-batch-export-records-to-bbdb)
10173 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10174 Require bbdb.
10175
10176 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10179 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10180 some tweaks, instead.
10181
10182 2013-05-05 Leo Liu <sdl.web@gmail.com>
10183
10184 * progmodes/octave.el (octave-font-lock-keywords)
10185 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10186 (inferior-octave-send-list-and-digest): Improve error message.
10187 (octave-mode, inferior-octave-mode): Use setq-local.
10188 (octave-help): Set info-lookup-mode.
10189
10190 2013-05-05 Richard Stallman <rms@gnu.org>
10191
10192 * vc/compare-w.el (compare-windows-whitespace):
10193 Treat no-break space as whitespace.
10194
10195 * mail/rmailsum.el (rmail-summary-rmail-update):
10196 Detect empty summary and don't change selected message.
10197 (rmail-summary-goto-msg): Likewise.
10198
10199 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10200 Doc fixes, rename args.
10201
10202 2013-05-05 Alan Mackenzie <acm@muc.de>
10203
10204 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10205
10206 2013-05-05 Juri Linkov <juri@jurta.org>
10207
10208 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10209 to not add the length of the summary segment to the return value.
10210 (Bug#14125)
10211
10212 2013-05-05 Leo Liu <sdl.web@gmail.com>
10213
10214 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10215 (inferior-octave-output-filter): Remove.
10216 (octave-send-region, inferior-octave-startup): Fix callers.
10217 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10218 (octave-binary-file-extensions): New user variable.
10219 (octave-find-definition): Confirm if opening binary files.
10220 (octave-help-file): Use octave-find-definition to get the binary
10221 confirmation.
10222 (octave-help): Adjust for octave-help-file change.
10223
10224 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10227 Merge the two entries that handle function definitions.
10228 (pascal--syntax-propertize): New const.
10229 (pascal-mode): Use it. Use setq-local.
10230
10231 2013-05-04 Glenn Morris <rgm@gnu.org>
10232
10233 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10234 (diary-from-outlook): Respect diary-from-outlook-function.
10235
10236 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10239 Move the declaration from C.
10240 (read-minibuffer, eval-minibuffer): Move from C.
10241 (completion-setup-function): Avoid minibuffer-completion-contents.
10242
10243 2013-05-03 Leo Liu <sdl.web@gmail.com>
10244
10245 * progmodes/octave.el (octave-font-lock-keywords): Do not
10246 dehighlight 'end' in comments or strings.
10247 (octave-completing-read, octave-goto-function-definition):
10248 New helpers.
10249 (octave-help-buffer): New user variable.
10250 (octave-help-file, octave-help-function): New button types.
10251 (octave-help): New command and bind it to C-h ;.
10252 (octave-find-definition): New command and bind it to M-.
10253 (user-error): Alias to error if not defined.
10254
10255 2013-05-02 Leo Liu <sdl.web@gmail.com>
10256
10257 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10258 for \. (bug#14332)
10259 (octave-font-lock-keywords): Include [ and {.
10260
10261 2013-05-02 Leo Liu <sdl.web@gmail.com>
10262
10263 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10264 (inferior-octave): Remove calling comint-mode and return the buffer.
10265 (inferior-octave-startup): Cosmetic changes.
10266
10267 2013-05-02 Leo Liu <sdl.web@gmail.com>
10268
10269 * progmodes/octave.el (octave-syntax-propertize-function):
10270 Include the case when ' is at line beginning. (Bug#14336)
10271
10272 2013-05-02 Glenn Morris <rgm@gnu.org>
10273
10274 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10275 * desktop.el (vc-dir-mode): Just autoload it here.
10276
10277 2013-05-02 Alan Mackenzie <acm@muc.de>
10278
10279 Eliminate variable c-standard-font-lock-fontify-region-function.
10280 * progmodes/cc-mode.el
10281 (c-standard-font-lock-fontify-region-function): Remove.
10282 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10283
10284 2013-05-01 Leo Liu <sdl.web@gmail.com>
10285
10286 * progmodes/octave.el: Compatible with older emacs-24 releases.
10287 (inferior-octave-has-built-in-variables): Remove. Built-in
10288 variables were removed from Octave in 2007.
10289 (inferior-octave-startup): Fix uses.
10290 (comint-line-beginning-position): Remove compatibility code for
10291 emacs 21.
10292
10293 2013-05-01 Juri Linkov <juri@jurta.org>
10294
10295 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10296
10297 2013-05-01 Juri Linkov <juri@jurta.org>
10298
10299 * comint.el (comint-previous-matching-input): Don't print message
10300 "History item: %d" when `isearch-mode' is active.
10301 (comint-history-isearch-message): Print message "History item: %d"
10302 when `comint-input-ring-index' is not empty and this function is
10303 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10304
10305 2013-05-01 Leo Liu <sdl.web@gmail.com>
10306
10307 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10308 definitions. Use completion-at-point to insert keywords.
10309 (octave-abbrev-start): Remove.
10310 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10311
10312 2013-04-30 Leo Liu <sdl.web@gmail.com>
10313
10314 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10315 change.
10316
10317 2013-04-30 Alan Mackenzie <acm@muc.de>
10318
10319 Handle arbitrarily long C++ member initialisation lists.
10320 * progmodes/cc-engine.el (c-back-over-member-initializers):
10321 new function.
10322 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10323 (most) member init lists.
10324
10325 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10326
10327 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10328 variable.
10329
10330 2013-04-30 Leo Liu <sdl.web@gmail.com>
10331
10332 * progmodes/octave.el (octave-variables): Remove. No builtin
10333 variables any more. All converted to functions.
10334 (octave-font-lock-keywords, octave-completion-at-point-function):
10335 Fix uses.
10336 (octave-font-lock-texinfo-comment): New user variable.
10337 (octave-texinfo-font-lock-keywords): New variable for texinfo
10338 comment block.
10339 (octave-function-comment-block): New face.
10340 (octave-font-lock-texinfo-comment): New function.
10341 (octave-mode): Font lock texinfo comment block.
10342
10343 2013-04-29 Leo Liu <sdl.web@gmail.com>
10344
10345 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10346 indexing expression.
10347 (octave-continuation-string): Do not use \.
10348 (inferior-octave-complete-impossible): Remove.
10349 (inferior-octave-completion-table)
10350 (inferior-octave-completion-at-point): Remove its uses.
10351 (inferior-octave-startup): completion_matches was introduced to
10352 Octave in 1996 so safe to assume it.
10353 (octave-function-file-comment): Improve to follow how Octave does it.
10354 (octave-update-function-file-comment): Tweak.
10355
10356 2013-04-29 Leo Liu <sdl.web@gmail.com>
10357
10358 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10359 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10360 (octave-function-file-comment): Fix typo.
10361 (octave-sync-function-file-names): Use read-char-choice.
10362
10363 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10364
10365 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10366 to t for the less important warnings.
10367
10368 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10369
10370 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10371
10372 2013-04-27 Glenn Morris <rgm@gnu.org>
10373
10374 * vc/log-view.el (log-view-current-entry):
10375 Treat "---" separator lines as part of the following rev. (Bug#14169)
10376
10377 2013-04-27 Juri Linkov <juri@jurta.org>
10378
10379 * subr.el (read-number): Doc fix about using it by interactive
10380 code letter `n'. (Bug#14254)
10381
10382 2013-04-27 Juri Linkov <juri@jurta.org>
10383
10384 * desktop.el (desktop-auto-save-timeout): New option.
10385 (desktop-file-checksum): New variable.
10386 (desktop-save): Add optional arg `auto-save' and don't auto-save
10387 if nothing changed.
10388 (desktop-auto-save-timer): New variable.
10389 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10390 (after-init-hook): Call `desktop-auto-save-set-timer'.
10391 Suggested by Reuben Thomas <rrt@sc3d.org> in
10392 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10393
10394 2013-04-27 Leo Liu <sdl.web@gmail.com>
10395
10396 * progmodes/octave.el (octave-function-file-p)
10397 (octave-skip-comment-forward, octave-function-file-comment)
10398 (octave-update-function-file-comment): New functions.
10399 (octave-mode-map): Bind C-c ; to
10400 octave-update-function-file-comment.
10401 (octave-mode-menu): Add octave-update-function-file-comment.
10402 (octave-mode, inferior-octave-mode): Fix doc-string.
10403 (octave-insert-defun): Conform to Octave's coding convention.
10404 (Bug#14285)
10405
10406 * files.el (basic-save-buffer): Don't let errors in
10407 before-save-hook prevent saving buffer.
10408
10409 2013-04-20 Roland Winkler <winkler@gnu.org>
10410
10411 * faces.el (read-face-name): Use completing-read if arg multiple
10412 is nil.
10413
10414 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10415
10416 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10417 displayed, move point to after the totals line.
10418 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10419 for the details.
10420
10421 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10424 Add current dir to the load-path.
10425 (package-generate-autoloads): Don't rely on
10426 autoload-ensure-default-file.
10427
10428 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10429
10430 * textmodes/remember.el (remember-store-in-files): Document that
10431 the file name format is passed to `format-time-string'.
10432
10433 2013-04-26 Leo Liu <sdl.web@gmail.com>
10434
10435 * progmodes/octave.el (octave-sync-function-file-names): New function.
10436 (octave-mode): Use it in before-save-hook.
10437
10438 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10441 (bug#14274).
10442
10443 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10444 \n and comment, even if it's not an implicit ; (bug#14218).
10445
10446 2013-04-26 Glenn Morris <rgm@gnu.org>
10447
10448 * subr.el (read-number): Once more use `read' rather than
10449 `string-to-number', to trap non-numeric input. (Bug#14254)
10450
10451 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10452
10453 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10454 Use `syntax-multiline' text property consistently instead of
10455 `font-lock-multiline'. (Bug#14237)
10456
10457 2013-04-26 Glenn Morris <rgm@gnu.org>
10458
10459 * emacs-lisp/shadow.el (list-load-path-shadows):
10460 No longer necessary to check for duplicate simple.el, since
10461 2012-07-07 change to init_lread to not include installation lisp
10462 directories in load-path when running uninstalled. (Bug#14270)
10463
10464 2013-04-26 Leo Liu <sdl.web@gmail.com>
10465
10466 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10467 (octave-mode, inferior-octave-mode): Use setq-local.
10468 (octave-not-in-string-or-comment-p): Rename to
10469 octave-in-string-or-comment-p.
10470 (octave-in-comment-p, octave-in-string-p)
10471 (octave-in-string-or-comment-p): Replace defsubst with defun.
10472
10473 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10474
10475 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10476
10477 2013-04-25 Bastien Guerry <bzg@gnu.org>
10478
10479 * textmodes/remember.el (remember-data-directory)
10480 (remember-directory-file-name-format): Fix custom types.
10481
10482 2013-04-25 Leo Liu <sdl.web@gmail.com>
10483
10484 * progmodes/octave.el (octave-completion-at-point-function):
10485 Make use of inferior octave process.
10486 (octave-initialize-completions): Remove.
10487 (inferior-octave-completion-table): New function.
10488 (inferior-octave-completion-at-point): Use it.
10489 (octave-completion-alist): Remove.
10490
10491 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10494 (opascal-mode-syntax-table): New var.
10495 (opascal-literal-kind, opascal-is-literal-end)
10496 (opascal-literal-token-at): Rewrite.
10497 (opascal--literal-start-re, opascal-font-lock-keywords)
10498 (opascal--syntax-propertize): New constants.
10499 (opascal-font-lock-defaults): Adjust.
10500 (opascal-mode): Use them. Set comment-<foo> variables as well.
10501 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10502 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10503 (delphi-other-face, opascal-other-face): Remove face variables.
10504 (opascal-save-state): Remove macro.
10505 (opascal-fontifying-progress-step): Remove constant.
10506 (opascal--ignore-changes): Remove var.
10507 (opascal-set-token-property, opascal-parse-next-literal)
10508 (opascal-is-stable-literal, opascal-complete-literal)
10509 (opascal-is-literal-start, opascal-face-of)
10510 (opascal-parse-region, opascal-parse-region-until-stable)
10511 (opascal-fontify-region, opascal-after-change)
10512 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10513 (opascal-debug-parse-region, opascal-debug-parse-window)
10514 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10515 (opascal-debug-fontify-buffer): Remove.
10516 (opascal-debug-mode-map): Adjust accordingly.
10517
10518 2013-04-25 Leo Liu <sdl.web@gmail.com>
10519
10520 Merge octave-mod.el and octave-inf.el into octave.el with some
10521 cleanups.
10522 * progmodes/octave.el: New file renamed from octave-mod.el.
10523 * progmodes/octave-inf.el: Merged into octave.el.
10524 * progmodes/octave-mod.el: Renamed to octave.el.
10525
10526 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10527
10528 * textmodes/reftex-vars.el
10529 (reftex-label-ignored-macros-and-environments): New defcustom.
10530
10531 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10532
10533 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10536 (smie-indent-keyword): Improve the check to ensure that the next
10537 comment is really on the same line.
10538 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10539
10540 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10541 semi-colons if the line is not otherwise empty (bug#14218).
10542
10543 2013-04-25 Glenn Morris <rgm@gnu.org>
10544
10545 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10546
10547 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * progmodes/opascal.el (opascal-set-token-property): Rename from
10550 opascal-set-text-properties and only set `token' (bug#14134).
10551 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10552 (opascal-literal-text-properties): Remove.
10553 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10554 Adjust callers.
10555
10556 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10557
10558 * textmodes/remember.el (remember-handler-functions): Add an
10559 option for a new handler `remember-store-in-files'.
10560 (remember-data-directory, remember-directory-file-name-format):
10561 New options.
10562 (remember-store-in-files): New function to store remember notes
10563 as separate files within a directory.
10564
10565 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10566
10567 * progmodes/compile.el (compilation-next-error-function):
10568 Pass "formats" to compilation-find-file (bug#11777).
10569
10570 2013-04-24 Glenn Morris <rgm@gnu.org>
10571
10572 * vc/vc-bzr.el (vc-bzr-print-log):
10573 * vc/vc-hg.el (vc-hg-print-log):
10574 * vc/vc-svn.el (vc-svn-print-log):
10575 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10576
10577 * vc/vc-bzr.el (vc-bzr-print-log):
10578 * vc/vc-cvs.el (vc-cvs-print-log):
10579 * vc/vc-git.el (vc-git-print-log):
10580 * vc/vc-hg.el (vc-hg-print-log):
10581 * vc/vc-mtn.el (vc-mtn-print-log):
10582 * vc/vc-rcs.el (vc-rcs-print-log):
10583 * vc/vc-sccs.el (vc-sccs-print-log):
10584 * vc/vc-svn.el (vc-svn-print-log):
10585 * vc/vc.el (vc-print-log-internal): Doc fixes.
10586
10587 2013-04-23 Glenn Morris <rgm@gnu.org>
10588
10589 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10590 Remove venerable code attempting to avoid substitute-command-keys.
10591
10592 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10593
10594 * textmodes/reftex-vars.el (reftex-label-regexps):
10595 Call `reftex-compile-variables' after changes to this variable.
10596
10597 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10600 Use lexical-binding.
10601 (jit-lock-force-redisplay): Use markers, check buffer's continued
10602 existence and beware narrowed buffers.
10603 (jit-lock-fontify-now): Adjust call accordingly.
10604
10605 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10608 to avoid misleading the user.
10609
10610 2013-04-22 Leo Liu <sdl.web@gmail.com>
10611
10612 * info-look.el: Prefer latex2e.info. (Bug#14240)
10613
10614 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10615
10616 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10617
10618 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10619 * net/tramp.el (tramp-call-process): ... here.
10620 (tramp-set-completion-function, tramp-parse-putty):
10621 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10622 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10623 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10624 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10625 (tramp-call-local-coding-command): Use `tramp-call-process'
10626 instead of `tramp-compat-call-process'.
10627
10628 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10629 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10630 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10631 (tramp-find-inline-compress): Improve traces.
10632 (tramp-maybe-send-script): Check for Perl binary.
10633 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10634
10635 2013-04-22 Daiki Ueno <ueno@gnu.org>
10636
10637 * epg.el (epg-context-pinentry-mode): New function.
10638 (epg-context-set-pinentry-mode): New function.
10639 (epg--start): Pass --pinentry-mode option to gpg command.
10640
10641 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10642
10643 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10644 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10645 `completion-at-point'. (Bug#13774)
10646
10647 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10648 default key binding for `describe-distribution' has been moved to
10649 `C-h C-o'. (Bug#13970)
10650
10651 2013-04-21 Glenn Morris <rgm@gnu.org>
10652
10653 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10654 Add doc strings.
10655 (vc-print-log): Clarify interactive prompt.
10656
10657 2013-04-20 Glenn Morris <rgm@gnu.org>
10658
10659 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10660 No longer include timestamp etc information.
10661
10662 2013-04-20 Roland Winkler <winkler@gnu.org>
10663
10664 * faces.el (read-face-name): Bug fix, return just one face if arg
10665 multiple is nil. (Bug#14209)
10666
10667 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10668
10669 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10670 (remove-function): Autoload.
10671
10672 * comint.el (comint-redirect-original-filter-function): Remove.
10673 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10674 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10675 (vc-cvs-annotate-command):
10676 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10677 * progmodes/prolog.el (prolog-consult-compile):
10678 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10679 Use add/remove-function instead.
10680 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10681 (gud-tooltip-process-output, gud-tooltip-tips):
10682 Use add/remove-function instead.
10683 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10684 (scheme-interaction-mode, exit-scheme-interaction-mode):
10685 Use add/remove-function instead.
10686
10687 * vc/vc-dispatcher.el: Use lexical-binding.
10688 (vc--process-sentinel): Rename from vc-process-sentinel.
10689 Change last arg to be the code to run. Don't use vc-previous-sentinel
10690 and vc-sentinel-commands any more.
10691 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10692 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10693
10694 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10695
10696 * progmodes/sh-script.el (sh-imenu-generic-expression):
10697 Handle function names with a single character. (Bug#14111)
10698
10699 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10700
10701 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10702 for subroutines defined in an eval (bug#14182).
10703
10704 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10705
10706 * bookmark.el (bookmark-completing-read): Improve handling of empty
10707 string (bug#14176).
10708
10709 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10712
10713 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10714
10715 New faster Imenu implementation (bug#14058).
10716 * progmodes/python.el:
10717 (python-imenu-prev-index-position):
10718 (python-imenu-format-item-label-function)
10719 (python-imenu-format-parent-item-label-function)
10720 (python-imenu-format-parent-item-jump-label-function):
10721 New vars.
10722 (python-imenu-format-item-label)
10723 (python-imenu-format-parent-item-label)
10724 (python-imenu-format-parent-item-jump-label)
10725 (python-imenu--put-parent, python-imenu--build-tree)
10726 (python-imenu-create-index, python-imenu-create-flat-index)
10727 (python-util-popn): New functions.
10728 (python-mode): Set imenu-create-index-function to
10729 python-imenu-create-index.
10730
10731 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * winner.el (winner-active-region): Use region-active-p, activate-mark
10734 and deactivate-mark (bug#14225).
10735
10736 * simple.el (deactivate-mark): Don't inline it.
10737
10738 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10739
10740 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10741
10742 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10743
10744 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10745 file extensions from the archive-mode entry in order to prefer
10746 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10747
10748 2013-04-18 Leo Liu <sdl.web@gmail.com>
10749
10750 * bindings.el (help-event-list): Add ?\?.
10751
10752 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * subr.el (with-wrapper-hook): Declare obsolete.
10755 * simple.el (filter-buffer-substring-function): New hook.
10756 (filter-buffer-substring): Use it.
10757 (filter-buffer-substring-functions): Mark obsolete.
10758 * minibuffer.el (completion-in-region-function): New hook.
10759 (completion-in-region): Use it.
10760 (completion-in-region-functions): Mark obsolete.
10761 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10762 * abbrev.el (abbrev-expand-function): New hook.
10763 (expand-abbrev): Use it.
10764 (abbrev-expand-functions): Mark obsolete.
10765 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10766 and :filter-return.
10767
10768 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10769
10770 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10771 and do not care about match data.
10772
10773 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10776 completion tables when completing error conditions and
10777 `declare' arguments.
10778 (lisp-complete-symbol, field-complete): Mark as obsolete.
10779 (check-parens): Unmatched parens are user errors.
10780 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10781
10782 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10783
10784 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10785 command changed buffer (ie. `flyspell-pre-buffer' is not current
10786 buffer), which prevents making decisions based on invalid value of
10787 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10788 cause an error when `flyspell-pre-point' was nil after switching
10789 buffers.
10790 (flyspell-post-command-hook): No longer needs to change buffers when
10791 checking pre-word. While at it remove unnecessary progn.
10792
10793 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10794
10795 * textmodes/ispell.el (ispell-add-per-file-word-list):
10796 Fix `flyspell-correct-word-before-point' error when accepting
10797 words and `coment-padding' is an integer by using
10798 `comment-normalize-vars' (Bug #14214).
10799
10800 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10801
10802 New defun movement commands.
10803 * progmodes/python.el (python-nav--syntactically)
10804 (python-nav--forward-defun, python-nav-backward-defun)
10805 (python-nav-forward-defun): New functions.
10806
10807 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10808
10809 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10810 (python-syntax-context): Use named compiler-macro for backwards
10811 compatibility with Emacs 24.x.
10812
10813 2013-04-17 Leo Liu <sdl.web@gmail.com>
10814
10815 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10816 octave-hide-process-buffer.
10817
10818 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10821 (bug#14216).
10822
10823 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10824
10825 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10826 Fix adjustment of offset when receiving incomplete responses from GDB
10827 (bug#14129).
10828
10829 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10832 python-mode-abbrev-table.
10833 (python-skeleton-define): Adjust accordingly.
10834 (python-mode-abbrev-table): New table that inherits from it so that
10835 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10836
10837 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10838 (abbrev-symbol): Use it.
10839 (abbrev--before-point): Use it since we already handle inheritance.
10840
10841 2013-04-16 Leo Liu <sdl.web@gmail.com>
10842
10843 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10844 binding to info-lookup-symbol.
10845
10846 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * minibuffer.el (completion--twq-all):
10849 * term/ns-win.el (ns-initialize-window-system):
10850 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10851
10852 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10855 global bindings.
10856
10857 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10858
10859 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10860
10861 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10862 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10863 to nil.
10864 (ruby-end-of-defun): Remove the unused arg, change the docstring
10865 to reflect that this function is only used as the value of
10866 `end-of-defun-function'.
10867 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10868 to reflect an earlier change that beginning/end-of-defun functions
10869 jump between methods in a class definition, as well as top-level
10870 functions.
10871
10872 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * minibuffer.el (minibuffer-complete): Don't just scroll
10875 a *Completions* that's been iconified.
10876 (minibuffer-force-complete): Make sure repetitions do cycle when going
10877 through completion-in-region -> minibuffer-complete.
10878
10879 2013-04-15 Alan Mackenzie <acm@muc.de>
10880
10881 Correct the placement of c-cpp-delimiters when there're #s not at
10882 col 0.
10883
10884 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10885 place a submatch around the #.
10886 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10887 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10888 on the #, not BOL.
10889
10890 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10893 (advice--member-p): New arg `name'.
10894 (advice--add-function, advice-member-p): Use it (bug#14202).
10895
10896 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10897
10898 Reformulate java imenu-generic-expression.
10899 The old expression contained ill formed regexps.
10900
10901 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10902 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10903 (cc-imenu-java-method-arg-regexp): New defconsts.
10904 (cc-imenu-java-build-type-args-regex): New defun.
10905 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10906 handling of spaces in the regexp.
10907
10908 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10909
10910 * textmodes/ispell.el (ispell-command-loop): Remove
10911 flyspell highlight of a word when ispell accepts it (bug #14178).
10912
10913 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10914
10915 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10916 uses code from the previous `ange-ftp-run-real-handler'.
10917 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10918 only in case that function exist. This is needed for proper
10919 unloading of Tramp.
10920
10921 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10922
10923 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10924
10925 * textmodes/reftex.el (reftex-compile-variables): Use it.
10926
10927 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * files.el (normal-mode): Only use default major-mode if no other mode
10930 was specified.
10931
10932 * emacs-lisp/trace.el (trace-values): New function.
10933
10934 * files.el: Allow : in local variables (bug#14089).
10935 (hack-local-variable-regexp): New var.
10936 (hack-local-variables-prop-line, hack-local-variables): Use it.
10937
10938 2013-04-13 Roland Winkler <winkler@gnu.org>
10939
10940 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10941 data before it gets modified by bibtex-beginning-of-entry.
10942
10943 2013-04-13 Roland Winkler <winkler@gnu.org>
10944
10945 * textmodes/bibtex.el (bibtex-url): Doc fix.
10946
10947 2013-04-13 Roland Winkler <winkler@gnu.org>
10948
10949 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10950 does not visit a BibTeX file, exclude it from the list of buffers
10951 returned by bibtex-initialize.
10952
10953 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10954
10955 * window.el (split-window): Remove interactive form, since as a
10956 command this function is a special case of split-window-below.
10957 Correct doc string.
10958
10959 2013-04-12 Roland Winkler <winkler@gnu.org>
10960
10961 * faces.el (read-face-name): Do not override value of arg default.
10962 Allow single faces and strings as default values. Remove those
10963 elements from return value that are not faces.
10964 (describe-face): Simplify.
10965 (face-at-point): New optional args thing and multiple so that this
10966 function can provide the same functionality previously provided by
10967 read-face-name.
10968 (make-face-bold, make-face-unbold, make-face-italic)
10969 (make-face-unitalic, make-face-bold-italic, invert-face)
10970 (modify-face, read-face-and-attribute): Use face-at-point.
10971
10972 * cus-edit.el (customize-face, customize-face-other-window)
10973 * cus-theme.el (custom-theme-add-face)
10974 * face-remap.el (buffer-face-set)
10975 * facemenu.el (facemenu-set-face): Use face-at-point.
10976
10977 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10978
10979 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10980
10981 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10982
10983 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10984 off leading { and trailing } from field values.
10985
10986 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * emacs-lisp/timer.el (timer--check): New function.
10989 (timer--time, timer-set-function, timer-event-handler): Use it.
10990 (timer-set-idle-time): Simplify.
10991 (timer--activate): CSE.
10992 (timer-event-handler): Give more info in error message.
10993 (internal-timer-start-idle): New function, moved from C.
10994
10995 * mpc.el (mpc-proc): Add `restart' argument.
10996 (mpc-proc-cmd): Use it.
10997 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10998 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10999 less often.
11000
11001 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11002
11003 * progmodes/sh-script.el: Implement `sh-mode' own
11004 `add-log-current-defun-function' (bug#14112).
11005 (sh-current-defun-name): New function.
11006 (sh-mode): Use the function.
11007
11008 2013-04-09 Bastien Guerry <bzg@gnu.org>
11009
11010 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11011
11012 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11015
11016 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11017 timer (bug#14156).
11018
11019 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11020
11021 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11022 declaration.
11023
11024 2013-04-07 Leo Liu <sdl.web@gmail.com>
11025
11026 * pcmpl-x.el: New file.
11027
11028 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11029
11030 Do not set x-display-name until X connection is established.
11031 This is needed to prevent from weird situation described at
11032 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11033 * frame.el (make-frame): Set x-display-name after call to
11034 window system initialization function, not before.
11035 * term/x-win.el (x-initialize-window-system): Add optional
11036 display argument and use it.
11037 * term/w32-win.el (w32-initialize-window-system):
11038 * term/ns-win.el (ns-initialize-window-system):
11039 * term/pc-win.el (msdos-initialize-window-system):
11040 Add compatible optional display argument.
11041
11042 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11043
11044 * files.el (normal-backup-enable-predicate): On MS-Windows and
11045 MS-DOS compare truenames of temporary-file-directory and of the
11046 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11047 don't fail comparison by compare-strings. Also, compare file
11048 names case-insensitively on MS-Windows and MS-DOS.
11049
11050 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11053 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11054
11055 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11056
11057 * whitespace.el (whitespace-color-on, whitespace-color-off):
11058 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11059
11060 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11061
11062 * ispell.el (ispell-set-spellchecker-params):
11063 Really set `ispell-args' for all equivs.
11064
11065 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * ido.el (ido-completions): Use extra elements of ido-decorations
11068 (bug#14143).
11069 (ido-decorations): Update docstring.
11070
11071 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11072
11073 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11074 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11075 nil during initialization, in order not to miss changes since the
11076 file was opened. (Bug#14140)
11077
11078 2013-04-05 Leo Liu <sdl.web@gmail.com>
11079
11080 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11081
11082 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11083
11084 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11085
11086 2013-04-04 Glenn Morris <rgm@gnu.org>
11087
11088 * electric.el (electric-pair-inhibit-predicate): Add :version.
11089
11090 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11093 when a package is required several times (bug#14082).
11094
11095 2013-04-04 Roland Winkler <winkler@gnu.org>
11096
11097 * faces.el (read-face-name): Behave as promised by the docstring.
11098 Assume that arg default is a list of faces.
11099 (describe-face): Call read-face-name with list of default faces.
11100
11101 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11102
11103 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11104 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11105 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11106 the header.
11107 (bookmark-exit-hook-internal): Save even if list is empty.
11108
11109 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11110
11111 * emacs-lisp/package.el (package-pinned-packages): New var.
11112 (package--add-to-archive-contents): Obey it (bug#14118).
11113
11114 2013-04-03 Alan Mackenzie <acm@muc.de>
11115
11116 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11117 Also adapt to the new values of element 7 of a parse state.
11118
11119 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11120 parameter `not-in-delimiter'. Handle being inside comment opener.
11121 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11122 character in case we're typing a '*' after a '/'.
11123 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11124 instead by passing the parameter to c-state-pp-to-literal.
11125
11126 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11127 for elt. 7 of a parse state.
11128
11129 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11130
11131 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11132 * international/latin1-disp.el, international/mule-util.el:
11133 * language/cyril-util.el, language/european.el, language/ind-util.el:
11134 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11135 * language/tibetan.el, language/viet-util.el:
11136 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11137
11138 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11141 (electric-pair-post-self-insert-function): Use it.
11142 (electric-pair-default-inhibit): New function, extracted from
11143 electric-pair-post-self-insert-function.
11144
11145 2013-03-31 Roland Winkler <winkler@gnu.org>
11146
11147 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11148
11149 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11152
11153 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11154
11155 Un-indent after "pass" and "return" statements (Bug#13888)
11156 * progmodes/python.el (python-indent-block-enders): New var.
11157 (python-indent-calculate-indentation): Use it.
11158
11159 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11160
11161 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11162 defun. Defining it as defalias could introduce too eager
11163 byte-compiler optimization. (Bug#14030)
11164
11165 2013-03-30 Chong Yidong <cyd@gnu.org>
11166
11167 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11168
11169 2013-03-30 Leo Liu <sdl.web@gmail.com>
11170
11171 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11172 (kmacro-execute-from-register): Pass the keyboard macro to
11173 kmacro-call-macro or repeating won't work correctly.
11174
11175 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11176
11177 * progmodes/subword.el: Back to using `forward-symbol'.
11178
11179 * subr.el (forward-whitespace, forward-symbol)
11180 (forward-same-syntax): Move from thingatpt.el.
11181
11182 2013-03-29 Leo Liu <sdl.web@gmail.com>
11183
11184 * kmacro.el (kmacro-to-register): New command.
11185 (kmacro-execute-from-register): New function.
11186 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11187
11188 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * mpc.el: Use defvar-local and setq-local.
11191 (mpc--proc-connect): Connection failures are not bugs.
11192 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11193 (mpc-volume-map): Bind to the up-events.
11194
11195 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11196
11197 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11198 instead of `forward-symbol'.
11199
11200 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11203 (edebug--recursive-edit): Use it.
11204 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11205 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11206
11207 2013-03-28 Leo Liu <sdl.web@gmail.com>
11208
11209 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11210
11211 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11212
11213 * facemenu.el (list-colors-callback): New defvar.
11214 (list-colors-redisplay): New function.
11215 (list-colors-display): Install list-colors-redisplay as the
11216 revert-buffer-function. (Bug#14063)
11217
11218 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11221 and suffixes don't overlap (bug#14061).
11222
11223 * case-table.el: Use lexical-binding.
11224 (case-table-get-table): New function.
11225 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11226
11227 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11228
11229 * progmodes/subword.el: Add `superword-mode' to do word motion
11230 over symbol_words (parallels and leverages `subword-mode' which
11231 does word motion inside MixedCaseWords).
11232
11233 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11234
11235 * eshell/em-unix.el: Move su and sudo to...
11236 * eshell/em-tramp.el: ...Eshell tramp module.
11237
11238 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11241 Change return value to be a sexp. Delay `get-buffer' to after
11242 restoring the desktop (bug#13951).
11243
11244 2013-03-26 Leo Liu <sdl.web@gmail.com>
11245
11246 * register.el: Move semantic tag handling back to
11247 cedet/semantic/senator.el. (Bug#14052)
11248
11249 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11252 into the prompt either (bug#13963).
11253
11254 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11257 part of "(error-foo)".
11258
11259 2013-03-24 Juri Linkov <juri@jurta.org>
11260
11261 * replace.el (list-matching-lines-prefix-face): New defcustom.
11262 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11263 `occur-engine' if `face-differs-from-default-p' returns t.
11264 (occur-engine): Add `,' inside backquote construct to evaluate
11265 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11266 Pass `prefix-face' to the functions `occur-context-lines' and
11267 `occur-engine-add-prefix'.
11268 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11269 `prefix-face' and propertize the prefix with `prefix-face'.
11270 (Bug#14017)
11271
11272 2013-03-24 Leo Liu <sdl.web@gmail.com>
11273
11274 * nxml/rng-valid.el (rng-validate-while-idle)
11275 (rng-validate-quick-while-idle): Guard against deleted buffer.
11276 (Bug#13999)
11277
11278 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11279 is the last entry in kill-buffer-hook.
11280
11281 * files.el (kill-buffer-hook): Doc fix.
11282
11283 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11284
11285 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11286 Make it safe-local.
11287
11288 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11289
11290 2013-03-23 Leo Liu <sdl.web@gmail.com>
11291
11292 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11293 Remove.
11294
11295 * nxml/rng-valid.el (rng-validate-mode)
11296 (rng-after-change-function, rng-do-some-validation):
11297 * nxml/rng-maint.el (rng-validate-buffer):
11298 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11299 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11300 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11301 (nxml-extend-after-change-region): Use with-silent-modifications.
11302
11303 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11304 timer-idle-list.
11305
11306 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11307 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11308 timer-idle-list. (Bug#13999)
11309
11310 2013-03-23 Juri Linkov <juri@jurta.org>
11311
11312 * info.el (info-index-match): New face.
11313 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11314 main pattern and add text properties with the new face to matches
11315 in index entries relative to the beginning of the index entry.
11316 (Bug#14015)
11317
11318 2013-03-21 Eric Ludlam <zappo@gnu.org>
11319
11320 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11321 Inhibit read only while inserting objects.
11322
11323 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11324
11325 * progmodes/cfengine.el: Update docs to mention
11326 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11327 symbol motion. Remove "_" from the word syntax.
11328
11329 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11330
11331 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11332 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11333
11334 2013-03-20 Juri Linkov <juri@jurta.org>
11335
11336 * info.el (Info-next-reference-or-link)
11337 (Info-prev-reference-or-link): New functions.
11338 (Info-next-reference, Info-prev-reference): Use them.
11339 (Info-try-follow-nearest-node): Handle footnote navigation.
11340 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11341
11342 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11345 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11346
11347 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11348
11349 Suppress unnecessary non-ASCII chatter during build process.
11350 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11351 (batch-skkdic-convert): Suppress most of the chatter.
11352 It's not needed so much now that machines are faster,
11353 and its non-ASCII component was confusing; see Dmitry Gutov in
11354 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11355
11356 2013-03-20 Leo Liu <sdl.web@gmail.com>
11357
11358 * ido.el (ido-chop): Fix bug#10994.
11359
11360 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11361
11362 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11363 Remove vars.
11364 (whitespace-color-on, whitespace-color-off):
11365 Use `font-lock-fontify-buffer' (Bug#13817).
11366
11367 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11370 remapping in mode-line.
11371 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11372
11373 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11374
11375 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11376 value for `whitespace-line' face (Bug#13875).
11377 (whitespace-font-lock-keywords): Change description.
11378 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11379 the constructed keywords instead.
11380 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11381
11382 2013-03-19 Leo Liu <sdl.web@gmail.com>
11383
11384 * progmodes/compile.el (compilation-display-error): New command.
11385 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11386 C-o. (Bug#13992)
11387
11388 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11389
11390 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11391
11392 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11393
11394 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11395
11396 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11397
11398 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11399
11400 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11401 * net/tramp-gvfs.el (top):
11402 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11403 (tramp-handle-shell-command): Use it.
11404 (tramp-dissect-file-name): Raise an error when hostname is a
11405 method name, and neither method nor user is specified.
11406
11407 * net/trampver.el: Update release number.
11408
11409 2013-03-18 Leo Liu <sdl.web@gmail.com>
11410
11411 Make sure eldoc can be turned off properly.
11412 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11413 eldoc-mode.
11414 (eldoc-display-message-p): Revert last change.
11415 (eldoc-display-message-no-interference-p)
11416 (eldoc-print-current-symbol-info): Tweak.
11417
11418 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11419
11420 * doc-view.el (doc-view-new-window-function): Check the new window
11421 overlay's display property instead the char property of the
11422 buffer's first char. Use `with-selected-window' instead of
11423 `save-window-excursion' with `select-window'.
11424 (doc-view-document->bitmap): Check the current doc-view overlay's
11425 display property instead the char property of the buffer's first char.
11426
11427 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11428
11429 Automate the build of ja-dic.el (Bug#13984).
11430 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11431 from the input, rather than assume that it's been done for us by the
11432 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11433 the current date into a ja-dic.el comment, as that complicates
11434 regression testing.
11435
11436 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * whitespace.el: Fix double evaluation.
11439 (whitespace-space, whitespace-hspace, whitespace-tab)
11440 (whitespace-newline, whitespace-trailing, whitespace-line)
11441 (whitespace-space-before-tab, whitespace-indentation)
11442 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11443 obsolete defvars.
11444 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11445 (whitespace-color-on): Use a single font-lock-add-keywords call.
11446 Fix double-evaluation of face variables.
11447
11448 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11449
11450 * net/tramp-adb.el (tramp-adb-parse-device-names):
11451 Use `start-process' instead of `call-process'. Otherwise, the
11452 function might be blocked under MS Windows. (Bug#13299)
11453
11454 2013-03-17 Leo Liu <sdl.web@gmail.com>
11455
11456 Extend eldoc to display info in the mode-line. (Bug#13978)
11457 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11458 (eldoc-mode-line-string): New variable.
11459 (eldoc-minibuffer-message): New function.
11460 (eldoc-message-function): New variable.
11461 (eldoc-message): Use it.
11462 (eldoc-display-message-p)
11463 (eldoc-display-message-no-interference-p):
11464 Support eldoc-post-insert-mode.
11465
11466 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11467 (eval-expression): Run it.
11468
11469 2013-03-17 Roland Winkler <winkler@gnu.org>
11470
11471 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11472 strings in the list of return values.
11473
11474 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11475
11476 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11477 radix before checking for HMS forms.
11478
11479 2013-03-16 Leo Liu <sdl.web@gmail.com>
11480
11481 * progmodes/scheme.el: Add indentation and font-locking for λ.
11482 (Bug#13975)
11483
11484 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11487 token before point (bug#13942).
11488
11489 2013-03-16 Leo Liu <sdl.web@gmail.com>
11490
11491 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11492
11493 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11494
11495 * startup.el (command-line-normalize-file-name): Fix handling of
11496 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11497 <xfq.free@gmail.com> in
11498 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11499
11500 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11501
11502 Sync with Tramp 2.2.7.
11503
11504 * net/trampver.el: Update release number.
11505
11506 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11507
11508 * doc-view.el: Fix bug#13887.
11509 (doc-view-insert-image): Don't modify overlay associated to
11510 non-live windows, and implement horizontal centering of image in
11511 case it's smaller than the window.
11512 (doc-view-new-window-function): Force redisplay of new windows on
11513 doc-view buffers.
11514
11515 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11516
11517 * saveplace.el (save-place-alist-to-file): Don't sort
11518 `save-place-alist', just pretty-print it (bug#13882).
11519
11520 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11521
11522 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11523 Check whether `default-file-name-coding-system' is bound.
11524 It isn't in XEmacs.
11525
11526 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11529 backquotes for `obsolete' (bug#13929).
11530
11531 * international/mule.el (find-auto-coding): Include file name in
11532 obsolescence warning (bug#13922).
11533
11534 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11535
11536 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11537 for CFEngine 3-specific indentation.
11538 (cfengine3-indent-line): Use it. Fix up category regex.
11539 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11540
11541 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * type-break.el (type-break-file-name):
11544 * textmodes/remember.el (remember-data-file):
11545 * strokes.el (strokes-file):
11546 * shadowfile.el (shadow-initialize):
11547 * saveplace.el (save-place-file):
11548 * ps-bdf.el (bdf-cache-file):
11549 * progmodes/idlwave.el (idlwave-config-directory):
11550 * net/quickurl.el (quickurl-url-file):
11551 * international/kkc.el (kkc-init-file-name):
11552 * ido.el (ido-save-directory-list-file):
11553 * emulation/viper.el (viper-custom-file-name):
11554 * emulation/vip.el (vip-startup-file):
11555 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11556 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11557
11558 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11559
11560 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11561 * language/thai-word.el: Switch to UTF-8.
11562
11563 See ChangeLog.16 for earlier changes.
11564
11565 ;; Local Variables:
11566 ;; coding: utf-8
11567 ;; End:
11568
11569 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11570
11571 This file is part of GNU Emacs.
11572
11573 GNU Emacs is free software: you can redistribute it and/or modify
11574 it under the terms of the GNU General Public License as published by
11575 the Free Software Foundation, either version 3 of the License, or
11576 (at your option) any later version.
11577
11578 GNU Emacs is distributed in the hope that it will be useful,
11579 but WITHOUT ANY WARRANTY; without even the implied warranty of
11580 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11581 GNU General Public License for more details.
11582
11583 You should have received a copy of the GNU General Public License
11584 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.