eww: minor code fixes and toolbar support
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7 Use `user-error'.
8 (eww-bookmark-mode-map): Add menu.
9 (eww-render, eww-mode): Use `setq-local'.
10 (eww-tool-bar-map): New variable.
11 (eww-mode): Set `tool-bar-map'.
12 (eww-view-source): Check for `html-mode' with `fboundp'.
13
14 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15
16 * net/shr.el (shr--extract-best-source): Don't bug out on audio
17 elements with text inside. Also remove debugging.
18
19 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
20
21 * cus-start.el (all): Add ns-use-srgb-colorspace.
22
23 2013-12-21 Chong Yidong <cyd@gnu.org>
24
25 * custom.el (custom-theme-recalc-face): Do nothing if the face is
26 undefined. Thus, theme settings for undefined faces do not take
27 effect until the faces are defined with defface, the same as with
28 theme variables.
29
30 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
31 (face-spec-reset-face): Don't assign extra properties in temacs.
32 (face-spec-recalc): Apply X resources too.
33
34 2013-12-21 Chong Yidong <cyd@gnu.org>
35
36 * faces.el (face-spec-set):
37 * cus-face.el (custom-theme-set-faces, custom-set-faces):
38 * custom.el (defface): Doc fixes (Bug#16203).
39
40 * indent.el (indent-rigidly-map): Add docstring, and move commands
41 into named functions.
42 (indent-rigidly-left, indent-rigidly-right)
43 (indent-rigidly-left-to-tab-stop)
44 (indent-rigidly-right-to-tab-stop): New functions. Decide on
45 indentation direction based on bidi direction, and accumulate
46 sequential commands in a single undo boundary.
47 (indent-rigidly--pop-undo): New utility function.
48
49 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
50
51 * faces.el (read-face-name): Require crm.el when using crm-separator.
52
53 2013-12-20 Daniel Colascione <dancol@dancol.org>
54
55 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
56 so that we don't reflow comments into the shebang line.
57
58 2013-12-20 Juri Linkov <juri@jurta.org>
59
60 * saveplace.el (save-place-to-alist): Add `dired-filename' as
61 a position when `dired-directory' is non-nil. Check integer
62 positions with `integerp'.
63 (toggle-save-place, save-places-to-alist): Add check for
64 `dired-directory'.
65 (save-place-find-file-hook): Check integer positions with
66 `integerp'.
67 (save-place-dired-hook): Use `dired-goto-file' when
68 `dired-filename' is found in the assoc list. Check integer
69 positions with `integerp'.
70 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
71
72 * dired.el (dired-initial-position-hook): Rename back from
73 `dired-initial-point-hook'.
74 (dired-initial-position): Rename `dired-initial-point-hook' to
75 `dired-initial-position-hook'.
76 (dired-file-name-at-point): Doc fix. (Bug#15329)
77
78 2013-12-20 Juri Linkov <juri@jurta.org>
79
80 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
81 (read-regexp-suggestions): New function.
82 (read-regexp): Use `read-regexp-defaults-function' to get default values.
83 Use `read-regexp-suggestions'. Add non-empty default to history
84 for empty input.
85 (occur-read-regexp-defaults-function): Remove function.
86 (occur-read-primary-args): Use `regexp-history-last' instead of
87 `occur-read-regexp-defaults-function'.
88
89 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
90 (hi-lock-line-face-buffer, hi-lock-face-buffer)
91 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
92 `hi-lock-read-regexp-defaults-function'. Doc fix.
93 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
94 with `find-tag-default-as-symbol-regexp'. Doc fix.
95 (hi-lock-read-regexp-defaults): Remove function.
96 (hi-lock-regexp-okay): Add check for null.
97
98 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
99 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
100
101 * subr.el (find-tag-default-as-symbol-regexp): New function.
102 (find-tag-default-as-regexp): Move symbol regexp formatting to
103 `find-tag-default-as-symbol-regexp'.
104
105 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
106
107 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
108 (Bug#14179)
109
110 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
111
112 * calendar/todo-mode.el: New implementation of item insertion
113 commands and key bindings.
114 (todo-key-prompt): New face.
115 (todo-insert-item): New command.
116 (todo-insert-item--parameters): New defconst, replacing defvar
117 todo-insertion-commands-args-genlist.
118 (todo-insert-item--param-key-alist): New defconst, replacing
119 defvar todo-insertion-commands-arg-key-list.
120 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
121 (todo-insert-item--argsleft, todo-insert-item--apply-args)
122 (todo-insert-item--next-param): New functions.
123 (todo-insert-item--args, todo-insert-item--argleft)
124 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
125 New variables.
126 (todo-key-bindings-t): Change binding of "i" from
127 todo-insertion-map to todo-insert-item.
128 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
129 (todo-insertion-command-name, todo-insertion-commands-names)
130 (todo-define-insertion-command, todo-insertion-commands)
131 (todo-insertion-key-bindings, todo-insertion-map): Remove.
132
133 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
134
135 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
136 (todo-toggle-item-highlighting): Use eval-and-compile instead of
137 eval-when-compile.
138 (todo-move-category): Allow choosing a non-existing todo file to
139 move the category to, and create that file.
140 (todo-default-priority): New user option.
141 (todo-set-item-priority): Use it.
142 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
143 (desktop-restore-file-buffer): Declare.
144 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
145 (todo-modes-set-2): Locally set desktop-save-buffer to
146 todo-desktop-save-buffer.
147 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
148 (auto-mode-alist): Add autoload cookie.
149
150 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
151
152 * emacs-lisp/subr-x.el: Renamed from helpers.el.
153 helpers.el was a poor choice of name.
154 (string-remove-prefix): New function.
155 (string-remove-suffix): New function.
156
157 2013-12-20 Martin Rudalics <rudalics@gmx.at>
158
159 Fix assignment for new window total sizes.
160 * window.el (window--pixel-to-size): Remove function.
161 (window--pixel-to-total-1, window--pixel-to-total):
162 Fix calculation of new total sizes.
163
164 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
165
166 * comint.el (comint-output-filter): Fix rear-nonsticky property
167 placement (Bug#16010).
168
169 2013-12-20 Chong Yidong <cyd@gnu.org>
170
171 * faces.el (read-color): Minor fix for completion function.
172
173 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
174
175 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
176 New option. (Bug#16182)
177 (ruby-smie--indent-to-stmt-p): Use it.
178 (ruby-smie-rules): Revert the logic in the handling of `when'.
179 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
180 (ruby-deep-arglist, ruby-deep-indent-paren)
181 (ruby-deep-indent-paren-style): Update docstrings to note that the
182 vars don't have any effect with SMIE.
183
184 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
185
186 * calc/calc.el (calc-enter, calc-pop): Use the variable
187 `calc-context-sensitive-enter'.
188
189 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
190
191 * net/shr.el (shr-insert): Protect against infloops in degenerate
192 tables.
193
194 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
195
196 * progmodes/octave.el (octave): Add link to manual and octave
197 homepage.
198 (octave-mode-menu): Link to octave-mode manual.
199
200 2013-12-20 Leo Liu <sdl.web@gmail.com>
201
202 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
203 insertion using skeleton-end-newline. (Bug#16138)
204
205 2013-12-20 Juri Linkov <juri@jurta.org>
206
207 * replace.el (occur-engine): Use `add-face-text-property'
208 to add the face property to matches and titles. (Bug#14645)
209
210 * hi-lock.el (hi-green): Use lighter color "light green" closer to
211 the palette of other hi-lock colors.
212 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
213
214 2013-12-19 Juri Linkov <juri@jurta.org>
215
216 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
217 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
218 (minibuffer-history-symbol): Move variable declaration closer to
219 its usage.
220
221 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
222 (Bug#14785)
223
224 2013-12-19 Juri Linkov <juri@jurta.org>
225
226 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
227 New function.
228 (log-edit-hook): Add it to :options. (Bug#16170)
229
230 2013-12-19 Juri Linkov <juri@jurta.org>
231
232 * simple.el (eval-expression-print-format): Don't check for
233 command names and the last command. Always display additional
234 formats of the integer result in the echo area, and insert them
235 to the current buffer only with a zero prefix arg.
236 Display character when char-displayable-p is non-nil.
237 (eval-expression): With a zero prefix arg, set `print-length' and
238 `print-level' to nil, and insert the integer values from
239 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
240
241 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
242 `eval-last-sexp-arg-internal'. Doc fix.
243 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
244 `eval-last-sexp-print-value'. Doc fix.
245 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
246 Set `print-length' and `print-level' to nil when arg is zero.
247 (eval-last-sexp): Doc fix.
248 (eval-defun-2): Print the integer values from
249 `eval-expression-print-format' at the end.
250
251 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
252 values from `eval-expression-print-format' at the end.
253
254 * ielm.el (ielm-eval-input): Print the integer
255 values from `eval-expression-print-format' at the end.
256
257 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
258
259 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
260 2013-12-11T19:01:44Z!tzz@lifelogs.com.
261
262 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
265 (hl-line-highlight, global-hl-line-highlight): Use it.
266 (hl-line-overlay): Use defvar-local.
267
268 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
269
270 * term/ns-win.el: Require dnd.
271 (global-map): Remove drag items.
272 (ns-insert-text, ns-set-foreground-at-mouse)
273 (ns-set-background-at-mouse):
274 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
275 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
276 New functions.
277
278 2013-12-19 Glenn Morris <rgm@gnu.org>
279
280 * emacs-lisp/ert.el (ert-select-tests):
281 Fix string/symbol mixup. (Bug#16121)
282
283 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
284
285 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
286 keywords to their parent.
287
288 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
289
290 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
291 first arg to be a string (fixed dead code), or an operator symbol.
292 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
293 operator symbols.
294 (ruby-smie-rules): Remove parent token check in the `.' clause, it
295 did nothing. Don't respond to `(:after ".")', it will be called
296 with :before anyway. Remove the ` @ ' rule, it didn't seem to
297 change anything. Only return indentation for binary operators
298 when they are hanging. De-dent opening paren when its parent is
299 `.', otherwise it looks bad when the dot is not at bol or eol
300 (bug#16182).
301
302 2013-12-19 Juri Linkov <juri@jurta.org>
303
304 * replace.el (query-replace-read-args): Split a non-negative arg
305 and a negative arg into separate elements.
306 (query-replace, query-replace-regexp, replace-string)
307 (replace-regexp): Add arg `backward'. Doc fix.
308 (replace-match-maybe-edit): When new arg `backward' is non-nil,
309 move point to the beginning of the match.
310 (replace-search, replace-highlight): Use new arg `backward'
311 to set the value of `isearch-forward'.
312 (perform-replace): Add arg `backward' and use it to perform
313 replacement backward. (Bug#14979)
314
315 * isearch.el (isearch-query-replace): Use a negative prefix arg
316 to call `perform-replace' with a non-nil arg `backward'.
317
318 2013-12-18 Juri Linkov <juri@jurta.org>
319
320 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
321 to the default list. Move `log-edit-show-files' to the end.
322 Add more available functions to options.
323 (log-edit): Move default specific settings to
324 `log-edit-insert-message-template'. Don't move point.
325 (log-edit-insert-message-template): New function.
326 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
327 (Bug#16170)
328
329 2013-12-18 Juri Linkov <juri@jurta.org>
330
331 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
332 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
333
334 2013-12-18 Leo Liu <sdl.web@gmail.com>
335
336 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
337
338 2013-12-18 Eli Zaretskii <eliz@gnu.org>
339
340 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
341 formats for displaying file sizes when the -s switch is given.
342 Instead, compute a separate format for displaying the size in
343 blocks, which is displayed in addition to the "regular" size.
344 When -h is given in addition to -s, produce size in blocks in
345 human-readable form as well. (Bug#16179)
346
347 2013-12-18 Tassilo Horn <tsdh@gnu.org>
348
349 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
350 Reference tables with ~\ref{...} instead of only \ref{...}.
351
352 2013-12-18 Chong Yidong <cyd@gnu.org>
353
354 * cus-edit.el (custom-magic-alist): Fix "themed" description
355 (Bug#14348).
356
357 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
358 is non-nil, do not create a new entry in the symbol's theme-value
359 or theme-face property; update theme-settings only (Bug#14664).
360 (custom-available-themes): Doc fix.
361
362 * cus-theme.el (custom-new-theme-mode-map): Add bindings
363 (Bug#15674).
364
365 * replace.el (occur-engine): Avoid infloop (Bug#7593).
366
367 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
368
369 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
370 (Bug#13914).
371
372 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
373
374 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
375
376 2013-12-18 Glenn Morris <rgm@gnu.org>
377
378 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
379 * cus-start.el (load-prefer-newer): New option.
380
381 2013-12-18 Le Wang <l26wang@gmail.com>
382
383 * comint.el (comint-previous-matching-input-from-input):
384 Retain point (Bug#13404).
385
386 2013-12-18 Chong Yidong <cyd@gnu.org>
387
388 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
389
390 2013-12-18 Glenn Morris <rgm@gnu.org>
391
392 * mail/emacsbug.el (report-emacs-bug):
393 Only mention enable-multibyte-characters if non-standard.
394
395 2013-12-17 Juri Linkov <juri@jurta.org>
396
397 * arc-mode.el (archive-extract-by-file): Check if directory exists
398 before deletion to not show irrelevant errors if it doesn't exist.
399
400 2013-12-17 Juri Linkov <juri@jurta.org>
401
402 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
403 (Bug#14751)
404
405 * net/eww.el (browse-web): Add alias to `eww'.
406 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
407 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
408
409 * net/browse-url.el (browse-url-browser-function): Move `eww'
410 closer to similar functions.
411
412 * startup.el (fancy-startup-screen, fancy-about-screen):
413 Set browse-url-browser-function to eww-browse-url locally.
414 (Bug#14751)
415
416 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * window.el (window--pixel-to-total): Remove unused `mini' var.
419 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
420 (split-window): Remove unused `new' var.
421 (window--display-buffer): Remove unused `frame' and `delta' vars.
422 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
423 and display-width'.
424
425 2013-12-17 Martin Rudalics <rudalics@gmx.at>
426
427 * dired.el (dired-mark-pop-up):
428 * register.el (register-preview): Don't bind
429 split-height-threshold here since it's now done in
430 display-buffer-below-selected.
431
432 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
433
434 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
435 xterm-rgb-convert-to-16bit.
436 (rxvt-register-default-colors): Standardize with
437 xterm-register-default-colors (Bug#14078).
438
439 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
440
441 * simple.el (kill-region): Pass mark first, then point, so that
442 kill-append works right (Bug#12819).
443 (copy-region-as-kill, kill-ring-save): Likewise.
444
445 2013-12-17 Leo Liu <sdl.web@gmail.com>
446
447 * net/rcirc.el (rcirc-add-face):
448 * eshell/em-prompt.el (eshell-emit-prompt):
449 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
450 (Bug#16167)
451
452 2013-12-17 Chong Yidong <cyd@gnu.org>
453
454 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
455 Suggested by Xue Fuqiao.
456
457 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
458
459 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
460
461 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * net/shr.el (shr-insert-document): Remove unused var
464 `shr-preliminary-table-render'.
465 (shr-rescale-image): Remove unused arg `force'.
466 (shr-put-image): Update calls accordingly.
467 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
468
469 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
470
471 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
472 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
473 :close-all, to see which indentation method to use (Bug#16116).
474 (smie-rules-function): Document the method :close-all.
475
476 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
477
478 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
479
480 * net/eww.el (eww-display-html): If we can't find the anchor we're
481 looking for, then go to point-min.
482
483 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
484
485 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
486 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
487 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
488 Expand dir too, in case it's relative.
489
490 2013-12-16 Juri Linkov <juri@jurta.org>
491
492 * desktop.el (desktop-auto-save-timeout): Change default to
493 `auto-save-timeout'. Doc fix.
494 (desktop-save): Skip the timestamp in desktop-saved-frameset
495 when checking for auto-save changes.
496 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
497 `desktop-auto-save' is called repeatedly by the idle timer.
498 (desktop-auto-save-set-timer): Replace `run-with-timer' with
499 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
500 (Bug#15331)
501
502 2013-12-16 Juri Linkov <juri@jurta.org>
503
504 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
505 (Bug#16035)
506 (isearch-pre-command-hook): Check `this-command' for symbolp.
507
508 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
511
512 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
513
514 * progmodes/cfengine.el (cfengine3--current-word): Remove.
515 (cfengine3--current-function): Bring in the current-function
516 functionality from `cfengine3--current-word'.
517 (cfengine3-completion-function): Bring in the
518 bounds-of-current-word functionality from
519 `cfengine3--current-word'.
520
521 2013-12-16 Martin Rudalics <rudalics@gmx.at>
522
523 * window.el (display-buffer-below-selected):
524 Bind split-height-threshold to 0 as suggested by Juri Linkov.
525
526 2013-12-16 Leo Liu <sdl.web@gmail.com>
527
528 * progmodes/compile.el (compile-goto-error): Do not push-mark.
529 Remove NOMSG arg and all uses changed.
530
531 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
534 (cua--deactivate-rectangle): Don't deactivate the mark.
535 (cua-set-rectangle-mark): Don't set mark-active since
536 cua--activate-rectangle already does it for us.
537 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
538 non-rectangular region.
539
540 * emulation/cua-base.el (cua-repeat-replace-region):
541 Use with-current-buffer.
542
543 * net/gnutls.el: Use cl-lib.
544 (gnutls-negotiate): `mapcan' -> cl-mapcan.
545
546 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
547
548 * emacs-lisp/package.el (package-built-in-p): Support both
549 built-in and the package.el converted package descriptions.
550 (package-show-package-list): Allow keywords.
551 (package-keyword-button-action): Use it instead of
552 `finder-list-matches'.
553 (package-menu-filter-interactive): Interactive filtering (by
554 keyword) function.
555 (package-menu--generate): Support keywords and change keymappings
556 and headers when they are given.
557 (package--has-keyword-p): Helper function.
558 (package-menu--refresh): Use it.
559 (package--mapc): Helper function.
560 (package-all-keywords): Use it.
561 (package-menu-mode-map): Set up menu items and keybindings to
562 provide a filtering UI.
563
564 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
565
566 * net/gnutls.el (gnutls-verify-error): New defcustom to control
567 the behavior when a certificate fails validation. Defaults to
568 old behavior: never abort, just warn.
569 (gnutls-negotiate): Use it.
570
571 2013-12-14 Martin Rudalics <rudalics@gmx.at>
572
573 * window.el (display-buffer-below-selected): Never split window
574 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
575
576 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
577
578 * emacs-lisp/package.el (package--prepare-dependencies): New function.
579 (package-buffer-info): Use it (bug#15108).
580
581 * icomplete.el (icomplete-completions): Make sure the prefix is already
582 displayed elsewhere before hiding it.
583
584 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
585
586 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
587 open-paren tokens when preceded by a open-paren, too.
588 (ruby-smie-rules): Handle virtual indentation after open-paren
589 tokens specially. If there is code between it and eol, return the
590 column where is starts (Bug#16118).
591
592 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
593
594 * progmodes/cfengine.el: Fix `add-hook' doc.
595 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
596 (cfengine3--current-word): Fix parameters.
597 (cfengine3-make-syntax-cache): Simplify further.
598 (cfengine3-completion-function, cfengine3--current-function):
599 Use `assq' for symbols.
600 (cfengine3--current-function): Fix `cfengine3--current-word' call.
601
602 2013-12-13 Glenn Morris <rgm@gnu.org>
603
604 * loadup.el (load-path): Warn if site-load or site-init changes it.
605 No more need to reset it when bootstrapping.
606
607 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
608
609 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
610 locations for cf-promises.
611 (cfengine-mode-syntax-functions-regex): New caching variable.
612 (cfengine3-fallback-syntax): Fallback syntax for cases where
613 cf-promises doesn't run.
614 (cfengine3--current-word): Reimplement using
615 `cfengine-mode-syntax-functions-regex'.
616 (cfengine3-completion-function, cfengine3--current-function):
617 Use `cfengine3-make-syntax-cache' directly.
618 (cfengine3-clear-syntax-cache): New function.
619 (cfengine3-make-syntax-cache): Simplify and create
620 `cfengine-mode-syntax-functions-regex' on demand.
621 (cfengine3-format-function-docstring): Don't call
622 `cfengine3-make-syntax-cache' explicitly.
623
624 2013-12-13 Martin Rudalics <rudalics@gmx.at>
625
626 Fix windmove-find-other-window broken after pixelwise resizing
627 (Bug#16017).
628 * windmove.el (windmove-other-window-loc): Revert change from
629 2013-12-04.
630 (windmove-find-other-window): Call window-in-direction.
631 * window.el (window-in-direction): New arguments SIGN, WRAP and
632 MINI to emulate original windmove-find-other-window behavior.
633
634 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
635
636 * simple.el (blink-matching--overlay): New variable.
637 (blink-matching-open): Instead of moving point, highlight the
638 matching paren with an overlay
639 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
640
641 * faces.el (paren-showing-faces, show-paren-match)
642 (show-paren-mismatch): Move from paren.el.
643
644 2013-12-13 Leo Liu <sdl.web@gmail.com>
645
646 * indent.el (indent-region): Disable progress reporter in
647 minibuffer. (Bug#16108)
648
649 * bindings.el (visual-order-cursor-movement): Fix version.
650
651 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
652
653 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
654 Also match after beginning of line.
655 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
656 files. Thanks to Russell Sim. (Bug#15378)
657
658 2013-12-13 Juri Linkov <juri@jurta.org>
659
660 * simple.el <Keypad support>: Remove key bindings duplicated
661 with bindings.el. (Bug#14397)
662
663 2013-12-13 Juri Linkov <juri@jurta.org>
664
665 * comint.el (comint-mode-map): Replace `delete-char' with
666 `delete-forward-char'. (Bug#16109)
667
668 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
669
670 * progmodes/python.el (python-indent-calculate-indentation):
671 Fix de-denters cornercase. (Bug#15731)
672
673 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
676 (advice--make): Pay attention to `depth'.
677 (advice--make-1): Don't autoload commands eagerly.
678 * emacs-lisp/elp.el (elp-instrument-function):
679 * emacs-lisp/trace.el (trace-function-internal):
680 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
681
682 * iswitchb.el (iswitchb-mode): Don't belittle ido.
683
684 2013-12-12 Eli Zaretskii <eliz@gnu.org>
685
686 * term/w32-win.el (w32-handle-dropped-file):
687 * startup.el (normal-top-level):
688 * net/browse-url.el (browse-url-file-url):
689 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
690 decode file names using 'utf-8' rather than
691 file-name-coding-system.
692
693 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
694
695 * progmodes/python.el (python-indent-context)
696 (python-indent-calculate-indentation): Fix auto-identation
697 behavior for comment blocks. (Bug#15916)
698
699 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
700
701 * progmodes/python.el (python-indent-calculate-indentation):
702 When determining indentation, don't treat "return", "pass", etc., as
703 operators when they are just string constituents. (Bug#15812)
704
705 2013-12-12 Juri Linkov <juri@jurta.org>
706
707 * uniquify.el (uniquify-buffer-name-style): Change default to
708 `post-forward-angle-brackets'.
709
710 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
711 `uniquify'. Change default to `post-forward-angle-brackets'.
712
713 2013-12-11 Glenn Morris <rgm@gnu.org>
714
715 * emacs-lisp/package.el (finder-list-matches):
716 Autoload rather than falsely declaring.
717
718 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
719
720 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
721 (eww-mode-map): Use them.
722
723 2013-12-11 Martin Rudalics <rudalics@gmx.at>
724
725 * window.el (display-buffer-in-side-window): Fix doc-string
726 (Bug#16115).
727
728 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
729
730 * vc/vc-git.el: Silence byte-compiler warnings.
731 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
732 (log-edit-set-header): Declare.
733
734 2013-12-11 Eli Zaretskii <eliz@gnu.org>
735
736 * Makefile.in (custom-deps, finder-data): Run output file names
737 through unmsys--file-name. (Bug#16099)
738
739 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
742 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
743
744 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
745 instead of deleting the selection "by hand" (bug#16098).
746 Rely on insert-for-yank to yank rectangles.
747 (cua-highlight-region-shift-only): Mark obsolete.
748 (cua-mode): Don't enable/disable transient-mark-mode,
749 shift-select-mode (cua-mode works both with and without them), and
750 pc-selection-mode (obsolete).
751 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
752 (cua--deactivate-rectangle): Deactivate it.
753
754 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
755 (delete-selection-helper): Make sure yank starts at the top of the
756 deleted region.
757 (minibuffer-keyboard-quit): Use region-active-p.
758
759 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
760
761 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
762 to `delete' (bug#16109).
763
764 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
765
766 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
767 info manual and show keybindings and set `:group' keyword.
768
769 2013-12-11 Juri Linkov <juri@jurta.org>
770
771 * delsel.el (delete-active-region): Let-bind `this-command'
772 to prevent `kill-region' from changing its original value.
773 (delete-selection-helper): Handle `overwrite-mode' for the type
774 `kill' exactly the same way as for the type `t'.
775 (insert-char, quoted-insert, reindent-then-newline-and-indent):
776 Support more commands. (Bug#13312)
777
778 2013-12-11 Juri Linkov <juri@jurta.org>
779
780 * bindings.el: Map kp keys to non-kp keys systematically
781 with basic modifiers control, meta and shift. (Bug#14397)
782
783 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
784
785 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
786 "Close browser" menu items. Fix wrong function of "List
787 bookmarks".
788
789 2013-12-11 Juri Linkov <juri@jurta.org>
790
791 * misearch.el (multi-isearch-buffers): Set the value of
792 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
793 arg of isearch-forward to t.
794 (multi-isearch-buffers-regexp): Set the value of
795 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
796 arg of isearch-forward-regexp to t.
797 (multi-isearch-files): Set the value of
798 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
799 arg of isearch-forward to t.
800 (multi-isearch-files-regexp): Set the value of
801 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
802 arg of isearch-forward-regexp to t. (Bug#16035)
803
804 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
805 arg of isearch-forward to t.
806 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
807 arg of isearch-forward-regexp to t.
808 (dired-isearch-filter-filenames): Remove unnecessary check for
809 `dired-isearch-filenames'.
810
811 * comint.el (comint-history-isearch-backward):
812 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
813 (comint-history-isearch-backward-regexp):
814 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
815
816 2013-12-10 Eli Zaretskii <eliz@gnu.org>
817
818 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
819 unmsys--file-name. (Bug#16099)
820
821 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
822
823 * emacs-lisp/package.el (package-keyword-button-action):
824 Remove finder.el require dependency.
825
826 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
827
828 * emacs-lisp/package.el: Require finder.el.
829 (describe-package-1): Add keyword buttons.
830 (package-make-button): New convenience function.
831 (package-keyword-button-action): Keyword button action using
832 `finder-list-matches'.
833
834 2013-12-09 Eli Zaretskii <eliz@gnu.org>
835
836 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
837 last commit.
838
839 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
840
841 * autorevert.el (auto-revert-notify-add-watch): Do not handle
842 symlinked files.
843
844 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
845
846 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
847 after the end of a percent literal.
848
849 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
850
851 * progmodes/ruby-mode.el (ruby-forward-string): Document.
852 Handle caret-delimited strings (Bug#16079).
853
854 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
855
856 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
857 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
858 `ruby-parse-partial' (Bug#16078).
859
860 2013-12-09 Leo Liu <sdl.web@gmail.com>
861
862 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
863
864 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
865
866 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
867 (js-switch-indent-offset): New option.
868 (js--proper-indentation): Use it. And handle the case when
869 "default" is actually a key in an object literal.
870 (js--same-line): New function.
871 (js--multi-line-declaration-indentation): Use it.
872 (js--indent-in-array-comp, js--array-comp-indentation):
873 New functions.
874 (js--proper-indentation): Use them, to handle array comprehension
875 continuations.
876
877 2013-12-08 Leo Liu <sdl.web@gmail.com>
878
879 * progmodes/flymake.el (flymake-highlight-line): Re-write.
880 (flymake-make-overlay): Remove arg MOUSE-FACE.
881 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
882
883 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
886 New function.
887 (redisplay-highlight-region-function): Use it.
888
889 * emulation/cua-base.el (cua--explicit-region-start)
890 (cua--last-region-shifted): Remove.
891 (cua--deactivate): Use deactivate-mark.
892 (cua--pre-command-handler-1): Don't handle shift-selection.
893 (cua--post-command-handler-1): Don't change transient-mark-mode.
894 (cua--select-keymaps): Use region-active-p rather than
895 cua--explicit-region-start or cua--last-region-shifted.
896 (cua-mode): Enable shift-select-mode.
897
898 2013-12-08 Leo Liu <sdl.web@gmail.com>
899
900 * progmodes/flymake.el (flymake-popup-current-error-menu):
901 Rename from flymake-display-err-menu-for-current-line. Reimplement.
902 (flymake-posn-at-point-as-event, flymake-popup-menu)
903 (flymake-make-emacs-menu): Remove. (Bug#16077)
904
905 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * rect.el (rectangle-mark-mode): Activate mark even if
908 transient-mark-mode is off (bug#16066).
909 (rectangle--highlight-for-redisplay): Fix boundary condition when point
910 is > mark and at bolp.
911
912 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
913 (region-extract-function): Use it.
914 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
915 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
916 Delete functions.
917 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
918 kill-ring-save, kill-region, delete-char, delete-forward-char.
919 Ignore self-insert-iso.
920
921 * emulation/cua-gmrk.el (cua--init-global-mark):
922 Ignore `self-insert-iso'.
923
924 * emulation/cua-base.el (cua--prefix-copy-handler)
925 (cua--prefix-cut-handler): Rely on region-extract-function rather than
926 checking cua--rectangle.
927 (cua-delete-region): Use region-extract-function.
928 (cua-replace-region): Delete function.
929 (cua-copy-region, cua-cut-region): Obey region-extract-function.
930 (cua--pre-command-handler-1): Don't do the delete-selection thing.
931 (cua--self-insert-char-p): Ignore `self-insert-iso'.
932 (cua--init-keymaps): Don't remap delete-selection commands.
933 (cua-mode): Use delete-selection-mode instead of rolling our own
934 (bug#16085).
935
936 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
937 Obey region-extract-function.
938
939 Make registers and delete-selection-mode work on rectangles.
940 * register.el (describe-register-1): Don't modify the register's value.
941 (copy-to-register): Obey region-extract-function.
942 * delsel.el (delete-active-region): Obey region-extract-function.
943
944 2013-12-08 Leo Liu <sdl.web@gmail.com>
945
946 * progmodes/flymake.el (flymake, flymake-error-bitmap)
947 (flymake-warning-bitmap, flymake-fringe-indicator-position)
948 (flymake-compilation-prevents-syntax-check)
949 (flymake-start-syntax-check-on-newline)
950 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
951 (flymake-start-syntax-check-on-find-file, flymake-log-level)
952 (flymake-xml-program, flymake-master-file-dirs)
953 (flymake-master-file-count-limit)
954 (flymake-allowed-file-name-masks): Relocate.
955 (flymake-makehash, flymake-float-time)
956 (flymake-replace-regexp-in-string, flymake-split-string)
957 (flymake-get-temp-dir): Remove.
958 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
959 (flymake-current-row, flymake-selected-frame)
960 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
961 related functions. (Bug#16077)
962
963 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
964
965 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
966
967 2013-12-07 Tassilo Horn <tsdh@gnu.org>
968
969 * help-fns.el (describe-function-1): Use new advice-* functions
970 rather than old ad-* functions. Fix function type description and
971 source links for advised functions and subrs.
972
973 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
974
975 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
976
977 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
978
979 * progmodes/compile.el (compilation-start):
980 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
981
982 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
983 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
984
985 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
986
987 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
988 Touch up the last change.
989
990 2013-12-06 Leo Liu <sdl.web@gmail.com>
991
992 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
993 (inferior-octave-startup): Always use "octave> " for prompt.
994 (octave-goto-function-definition)
995 (octave-sync-function-file-names)
996 (octave-find-definition-default-filename): Remove redundant backquotes.
997
998 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
999
1000 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1001 syntax for `?'.
1002 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1003 where appropriate already.
1004 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1005 end of method names (Bug#15874).
1006
1007 2013-12-06 Juri Linkov <juri@jurta.org>
1008
1009 * isearch.el (isearch--saved-overriding-local-map):
1010 New internal variable.
1011 (isearch-mode): Set it to the initial value of
1012 `overriding-terminal-local-map'.
1013 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1014 with `isearch--saved-overriding-local-map'. (Bug#16035)
1015
1016 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1017
1018 * progmodes/octave.el (inferior-octave-completion-table):
1019 Turn back into function, use `completion-table-with-cache'
1020 (Bug#11906). Update all references.
1021
1022 * minibuffer.el (completion-table-with-cache): New function.
1023
1024 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1025
1026 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1027
1028 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1029
1030 * net/eww.el (eww-current-source): New variable to store page
1031 source.
1032 (eww-display-html, eww-mode, eww-save-history)
1033 (eww-restore-history): Use it.
1034 (eww-view-source): New command to view page source.
1035 Opportunistically uses `html-mode' to highlight the buffer.
1036 (eww-mode-map): Install it.
1037
1038 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1039
1040 * net/dbus.el (dbus-unregister-service)
1041 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1042 Fix docstring.
1043 (dbus-unregister-service): Skip :serial entries in
1044 `dbus-registered-objects-table'.
1045 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1046
1047 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1048
1049 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1050 around keywords with extra `split-string' argument.
1051
1052 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1053
1054 * windmove.el (windmove-other-window-loc): Handle navigation
1055 between windows (excluding the minibuffer window - Bug#16017).
1056
1057 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1058
1059 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1060 in D-Bus type syntax.
1061 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1062 preserve unibyte strings. (Bug#16048)
1063
1064 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1067 Call force-mode-line-update is the proper buffer (bug#16042).
1068
1069 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1070
1071 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1072 `log-edit-remember-comment', make argument optional. Adjust all
1073 callers.
1074 (log-edit-mode): Add `log-edit-remember-comment' to
1075 `kill-buffer-hook' locally.
1076 (log-edit-kill-buffer): Don't remember comment explicitly since
1077 the buffer is killed anyway.
1078
1079 2013-12-04 Juri Linkov <juri@jurta.org>
1080
1081 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1082 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1083
1084 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1085
1086 * notifications.el (notifications-close-notification): Call the
1087 D-Bus method with ID being a `:uint32'. (Bug#16030)
1088
1089 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1090
1091 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1092
1093 2013-12-03 Juri Linkov <juri@jurta.org>
1094
1095 * progmodes/compile.el (compilation-start): Rename window alist
1096 entry `no-display-ok' to `allow-no-window'.
1097
1098 * simple.el (shell-command): Add window alist entry
1099 `allow-no-window' to `display-buffer'.
1100 (async-shell-command): Doc fix.
1101
1102 * window.el (display-buffer-no-window): New action function.
1103 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1104
1105 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1106
1107 * vc/log-edit.el (log-edit-set-header): Extract from
1108 `log-edit-toggle-header'.
1109 (log-edit-extract-headers): Separate the summary, when extracted
1110 from header, from the rest of the message with an empty line.
1111
1112 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1113 line, if present, to the Summary header.
1114
1115 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1118 in current-buffer (bug#16029).
1119
1120 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1121
1122 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1123 (debugger-mode-map): Bind it.
1124 (debugger--backtrace-base): New function.
1125 (debugger-eval-expression): Use it.
1126 (debugger-frame-number): Skip local vars when present.
1127 (debugger--locals-visible-p, debugger--insert-locals)
1128 (debugger--show-locals, debugger--hide-locals): New functions.
1129
1130 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1133 "LC_ALL".
1134 (tramp-get-remote-locale): New defun.
1135 (tramp-open-connection-setup-interactive-shell): Use it.
1136
1137 2013-12-02 Leo Liu <sdl.web@gmail.com>
1138
1139 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1140
1141 * progmodes/sh-script.el (sh-shell-process):
1142 * progmodes/octave.el (inferior-octave-process-live-p):
1143 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1144 (gdb-inferior-io-sentinel):
1145 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1146
1147 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1148
1149 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1150 `save-selected-window' to `log-edit-hide-buf'. This makes
1151 `log-edit-show-files' idempotent.
1152 (log-edit-show-files): Mark the new window as dedicated.
1153
1154 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1155
1156 * vc/log-edit.el (log-edit-mode-map): Add binding for
1157 `log-edit-kill-biffer'.
1158 (log-edit-hide-buf): Add a FIXME comment.
1159 (log-edit-add-new-comment): New function, extracted from
1160 `log-edit-done'.
1161 (log-edit-done, log-edit-add-to-changelog): Use it.
1162 (log-edit-kill-buffer): New command.
1163
1164 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1165
1166 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1167 instead of killing the buffer.
1168
1169 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1172
1173 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1174
1175 * net/eww.el (eww-form-checkbox-selected-symbol)
1176 (eww-form-checkbox-symbol): New customizable variable.
1177 (eww-form-checkbox, eww-toggle-checkbox):
1178 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1179
1180 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1181 (shr--get-media-pref, shr--extract-best-source): New function.
1182 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1183 no :src tag was specified.
1184
1185 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1186 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1187 Use \\` to match beginning of string instead of ^.
1188 (eww-browse-with-external-browser): Provide optional URL parameter.
1189 (eww-render): Set `eww-current-title' back to "".
1190
1191 * net/shr.el (shr-tag-video): Display content for video if no
1192 poster is available.
1193 (shr-tag-audio): Add support for <audio> tag.
1194
1195 * net/eww.el (eww-text-input-types): New const.
1196 (eww-process-text-input): Treat input types in
1197 `eww-text-input-types' as text.
1198
1199 * net/shr.el (shr-tag-table): Fix comment typo.
1200
1201 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1202
1203 * net/eww.el (eww-follow-link): New command to avoid reloading
1204 pages when we follow #target links (bug#15243).
1205 (eww-quit): Special mode buffers shouldn't query before exiting.
1206
1207 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1208
1209 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1210 forms.
1211
1212 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1213
1214 * net/eww.el (eww-restore-history): Update the window title after
1215 moving in the history.
1216 (eww-current-dom): New variable used to save the current DOM.
1217
1218 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1219
1220 * vc/log-edit.el (log-edit-mode-map): Add binding for
1221 `log-edit-beginning-of-line'.
1222 (log-edit-setup-add-author): New user option.
1223 (log-edit-beginning-of-line): New command.
1224 (log-edit): Move major mode call above the contents setup so that
1225 the local variable values are already applied.
1226 (log-edit): Only insert "Author: " when
1227 `log-edit-setup-add-author' is non-nil.
1228 (log-edit): When SETUP is non-nil, position point after ": "
1229 instead of point-min.
1230
1231 2013-12-01 Glenn Morris <rgm@gnu.org>
1232
1233 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1234
1235 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1236
1237 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1238 redisplay to make sure the initial frame gets a chance to become
1239 visible. (Bug#16014)
1240
1241 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1242
1243 Support resizing frames and windows pixelwise.
1244 * cus-start.el (frame-resize-pixelwise)
1245 (window-resize-pixelwise): New entries.
1246 * emacs-lisp/debug.el (debug): Use window-total-height instead
1247 of window-total-size.
1248 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1249 * help.el (describe-bindings-internal): Call help-buffer
1250 (temp-buffer-max-width): New option.
1251 (resize-temp-buffer-window, help-window-setup)
1252 (with-help-window): Rewrite.
1253 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1254 dragging dividers.
1255 * window.el (frame-char-size, window-min-pixel-height)
1256 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1257 (window-min-pixel-width, window-safe-min-pixel-size)
1258 (window-combination-p, window-safe-min-size)
1259 (window-resizable-p, window--size-to-pixel)
1260 (window--pixel-to-size, window--resize-apply-p): New functions.
1261 (window-safe-min-height): Fix doc-string.
1262 (window-size, window-min-size, window--min-size-1)
1263 (window-sizable, window-sizable-p, window--min-delta-1)
1264 (window-min-delta, window--max-delta-1, window-max-delta)
1265 (window--resizable, window--resizable-p, window-resizable)
1266 (window-full-height-p, window-full-width-p, window-at-side-p)
1267 (window--in-direction-2, window-in-direction)
1268 (window--resize-reset-1, window--resize-mini-window)
1269 (window-resize, window-resize-no-error)
1270 (window--resize-child-windows-normal)
1271 (window--resize-child-windows, window--resize-siblings)
1272 (window--resize-this-window, window--resize-root-window)
1273 (window--resize-root-window-vertically)
1274 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1275 (maximize-window, minimize-window, delete-window)
1276 (quit-restore-window, window-split-min-size, split-window)
1277 (balance-windows-2, balance-windows)
1278 (balance-windows-area-adjust, balance-windows-area)
1279 (window--state-get-1, window-state-get, window--state-put-1)
1280 (window--state-put-2, window-state-put)
1281 (display-buffer-record-window, window--display-buffer):
1282 Make functions handle pixelwise sizing of windows.
1283 (display-buffer--action-function-custom-type)
1284 (display-buffer-fallback-action):
1285 Add display-buffer-in-previous-window.
1286 (display-buffer-use-some-window): Resize window to height it had
1287 before.
1288 (fit-window-to-buffer-horizontally): New option.
1289 (fit-frame-to-buffer): Describe new values.
1290 (fit-frame-to-buffer-bottom-margin): Replace with
1291 fit-frame-to-buffer-margins.
1292 (window--sanitize-margin): New function.
1293 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1294 using window-text-pixel-size.
1295
1296 2013-11-30 Glenn Morris <rgm@gnu.org>
1297
1298 * emacs-lisp/bytecomp.el (byte-compile-form):
1299 Make the `interactive-only' warning like the `obsolete' one.
1300 * comint.el (comint-run):
1301 * files.el (insert-file-literally, insert-file):
1302 * replace.el (replace-string, replace-regexp):
1303 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1304 (goto-line, insert-buffer, next-line, previous-line):
1305 Tweak `interactive-only' spec.
1306
1307 Stop keeping (most) generated cedet grammar files in the repository.
1308 * Makefile.in (semantic): New.
1309 (compile-main): Depend on semantic.
1310
1311 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1314 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1315
1316 * uniquify.el (uniquify-buffer-name-style): Change default.
1317
1318 * loadup.el: Preload "uniquify".
1319
1320 * time.el (display-time-update): Update all mode lines (bug#15999).
1321
1322 * electric.el (electric-indent-mode): Enable by default.
1323 * loadup.el: Preload "electric".
1324
1325 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1326
1327 * emacs-lisp/helpers.el (string-empty-p): New function.
1328 (string-blank-p): New function.
1329
1330 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1331
1332 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1333 (Bug#14029).
1334
1335 2013-11-29 Andreas Politz <politza@fh-trier.de>
1336 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1337 allow non-lambda lists as functions.
1338 (imenu--in-alist): Don't recurse into non-subalists.
1339 (imenu): Don't pass function itself as an argument (Bug#14029).
1340
1341 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * progmodes/python.el (python-mode-map): Remove binding for ":".
1344 (python-indent-electric-colon): Remove command.
1345 (python-indent-post-self-insert-function): Integrate the previous code
1346 of python-indent-electric-colon. Make it conditional on
1347 electric-indent-mode.
1348 (python-mode): Add ?: to electric-indent-chars.
1349 Move python-indent-post-self-insert-function to the end of
1350 post-self-insert-hook.
1351
1352 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * doc-view.el (doc-view-goto-page): Update mode-line.
1355
1356 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1357
1358 2013-11-27 Glenn Morris <rgm@gnu.org>
1359
1360 * international/charprop.el, international/uni-bidi.el:
1361 * international/uni-category.el, international/uni-combining.el:
1362 * international/uni-comment.el, international/uni-decimal.el:
1363 * international/uni-decomposition.el, international/uni-digit.el:
1364 * international/uni-lowercase.el, international/uni-mirrored.el:
1365 * international/uni-name.el, international/uni-numeric.el:
1366 * international/uni-old-name.el, international/uni-titlecase.el:
1367 * international/uni-uppercase.el:
1368 Remove generated files from VCS repository.
1369
1370 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1371
1372 * filenotify.el (file-notify-add-watch): Don't special-case
1373 w32notify when computing the directory to watch.
1374
1375 2013-11-27 Glenn Morris <rgm@gnu.org>
1376
1377 Make bootstrap without generated uni-*.el files possible again.
1378 * loadup.el: Update command-line-args checking for unidata-gen.
1379 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1380 * composite.el, international/characters.el:
1381 Handle unicode tables being undefined.
1382
1383 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1384 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1385 (compile-main): Depend on leim rule.
1386 (leim): New rule.
1387 * loadup.el: Move leim-list.el to leim/ subdirectory.
1388 * startup.el (normal-top-level): No more leim directory.
1389 * international/ja-dic-cnv.el (skkdic-convert):
1390 Disable version-control and autoloads in output files.
1391 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1392 Disable version-control and autoloads in output files.
1393 * leim/quail: Move here from ../leim.
1394 * leim/quail/hangul.el (hangul-input-method-activate):
1395 Add autoload cookie.
1396 (generated-autoload-load-name): Set file-local value.
1397 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1398 (generated-autoload-load-name): Set file-local value.
1399
1400 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1401
1402 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1403 (eww-add-bookmark): Ask confirmation when add to bookmarks
1404 (eww-quit): Ask confirmation before quitting eww.
1405
1406 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1407
1408 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1409 reading output from Diff on MS-Windows and MS-DOS.
1410
1411 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1412
1413 * emacs-lisp/helpers.el (string-reverse): New function.
1414
1415 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1416
1417 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1418 names on MS Windows, like "/[::1]:".
1419
1420 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1421 SWITCHES.
1422
1423 2013-11-26 Glenn Morris <rgm@gnu.org>
1424
1425 * progmodes/python.el (python-indent-guess-indent-offset):
1426 Avoid corner-case error. (Bug#15975)
1427
1428 Preload leim-list.el. (Bug#4789)
1429 * loadup.el: Load leim-list.el when found.
1430 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1431
1432 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1433
1434 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1435
1436 * emacs-lisp/helpers.el (string-join): New function.
1437
1438 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1439
1440 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1441 Mark as obsolete and replace it with a symbol property.
1442 (byte-compile-form): Use new 'interactive-only property.
1443 * comint.el, files.el, replace.el, simple.el:
1444 Apply new 'interactive-only properly.
1445
1446 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1447
1448 * window.el (display-buffer-at-bottom): Make sure that
1449 split-window-sensibly creates the new window on bottom
1450 (Bug#15961).
1451
1452 2013-11-23 David Kastrup <dak@gnu.org>
1453
1454 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1455 on the conflict markers when available.
1456 (smerge--get-marker): New function.
1457 (smerge-end-re, smerge-base-re): Add subgroup.
1458
1459 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * frame.el (handle-focus-in, handle-focus-out): Add missing
1462 interactive spec.
1463
1464 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1465
1466 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1467 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1468
1469 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1472 (gomoku--last-pos): New var.
1473 (gomoku--intangible-chars): New const.
1474 (gomoku--intangible): New function.
1475 (gomoku-mode): Use it. Derive from special-mode.
1476 (gomoku-move-up): Adjust line count.
1477 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1478 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1479 Simplify accordingly.
1480
1481 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1482 Remove blink-cursor code.
1483 (blink-cursor-timer-function, blink-cursor-suspend):
1484 Don't special-case GUIs.
1485 (blink-cursor-mode): Use focus-in/out-hook.
1486
1487 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1488
1489 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1490 work when annotation is invisible (Bug#13886).
1491
1492 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1493
1494 * json.el (json-alist-p): Only return non-nil if the alist has
1495 simple keys (Bug#13518).
1496
1497 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1498
1499 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1500 when control-statement is the first statement in a buffer (Bug#15956).
1501
1502 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1503
1504 * imenu.el (imenu-generic-skip-comments-and-strings):
1505 New option (Bug#15560).
1506 (imenu--generic-function): Use it.
1507
1508 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1509
1510 * minibuffer.el (completion--in-region-1): Scroll the correct
1511 window. (Bug#13898)
1512
1513 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1514
1515 * emacs-lisp/helpers.el: Add some string helpers.
1516 (string-trim-left): Removes leading whitespace.
1517 (string-trim-right): Removes trailing whitespace.
1518 (string-trim): Removes leading and trailing whitespace.
1519
1520 * subr.el (string-suffix-p): New function.
1521
1522 2013-11-23 Glenn Morris <rgm@gnu.org>
1523
1524 * progmodes/python.el (python-shell-send-file):
1525 Add option to delete file when done. (Bug#15647)
1526 (python-shell-send-string, python-shell-send-region): Use it.
1527
1528 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1529
1530 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1531 to set buffer-read-only to t, never to nil. (Bug#15938)
1532
1533 * textmodes/tex-mode.el (latex-noindent-environments):
1534 Add safe-local-variable property. (Bug#15936)
1535
1536 2013-11-23 Glenn Morris <rgm@gnu.org>
1537
1538 * textmodes/enriched.el (enriched-mode): Doc fix.
1539 * emacs-lisp/authors.el (authors-renamed-files-alist):
1540 Add enriched.doc -> enriched.txt.
1541
1542 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1543
1544 2013-11-22 Leo Liu <sdl.web@gmail.com>
1545
1546 * progmodes/octave.el (inferior-octave-startup): Spit out error
1547 message.
1548
1549 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1550
1551 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1552 Improve docstring.
1553 Add :version.
1554 (ruby-encoding-magic-comment-style): Add :version.
1555
1556 2013-11-22 Leo Liu <sdl.web@gmail.com>
1557
1558 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1559 (Bug#15076)
1560 (octave-help-mode): Adapt to change to help-mode-finish to use
1561 derived-mode-p on 2013-09-17.
1562 (inferior-octave-prompt): Also match octave-gui.
1563 (octave-kill-process): Don't ask twice. (Bug#10564)
1564
1565 2013-11-22 Leo Liu <sdl.web@gmail.com>
1566
1567 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1568 (inferior-octave-startup, inferior-octave-check-process)
1569 (inferior-octave-track-window-width-change)
1570 (octave-completion-at-point, octave-eldoc-function): Use it.
1571 (octave-kill-process): Provide confirmation. (Bug#10564)
1572
1573 2013-11-21 Leo Liu <sdl.web@gmail.com>
1574
1575 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1576 Fix obsolete variable comment-use-global-state.
1577
1578 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1579
1580 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1581 Add `octave-source-file'.
1582 (octave-source-file): New function. (Bug#15935)
1583
1584 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1585
1586 * net/eww.el (eww-local-regex): New variable.
1587 (eww): Use it to detect localhost and similar.
1588
1589 2013-11-21 Leo Liu <sdl.web@gmail.com>
1590
1591 Add completion for command `ag'.
1592 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1593 (pcomplete/ag): New function.
1594 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1595
1596 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1599 (bug#14646).
1600 (make-obsolete): Remove interactive spec.
1601
1602 2013-11-21 Glenn Morris <rgm@gnu.org>
1603
1604 * startup.el (command-line-1): Use path-separator with -L.
1605
1606 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1607
1608 * emacs-lisp/package.el (describe-package-1): Add package archive
1609 to shown fields.
1610
1611 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1612
1613 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1614 Change default to "# encoding: %s" to differentiate it from the
1615 default Ruby encoding comment template.
1616
1617 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1618
1619 * ses.el (ses-mode): Doc fix. (Bug#14748)
1620
1621 2013-11-20 Leo Liu <sdl.web@gmail.com>
1622
1623 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1624
1625 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1626
1627 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1628 when rebase or bisect are in progress.
1629
1630 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1631
1632 * filenotify.el (file-notify-add-watch): Doc fix.
1633
1634 2013-11-19 Leo Liu <sdl.web@gmail.com>
1635
1636 * obsolete/rcompile.el: Mark obsolete.
1637
1638 * progmodes/compile.el (compilation-start)
1639 (compilation-goto-locus, compilation-find-file):
1640 Pass no-display-ok and handle nil value from display-buffer.
1641 (Bug#13594)
1642
1643 * window.el (display-buffer-alist, display-buffer): Document the
1644 new parameter no-display-ok. Return either a window or nil
1645 but never a non-window value.
1646
1647 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * electric.el (electric-indent-mode-map): Remove.
1650 (electric-indent-mode): Change the global-map instead (bug#15915).
1651
1652 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1653 Use add-function.
1654
1655 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * emacs-lisp/nadvice.el (remove-function): Align with
1658 add-function's behavior.
1659
1660 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1661 (gdb--string-regexp): New constant.
1662 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1663 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1664 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1665 submatch 1.
1666 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1667 Adjust use accordingly.
1668 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1669
1670 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1671
1672 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1673 interpolation curlies (Bug#15914).
1674
1675 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1676
1677 * calc/calc.el (calc-context-sensitive-enter): New variable.
1678 (calc-enter): Use `calc-context-sensitive-enter'.
1679
1680 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1681
1682 * progmodes/cfengine.el: Version bump.
1683 (cfengine-cf-promises): New defcustom to locate cf-promises.
1684 (cfengine3-vartypes): Add new "data" type.
1685 (cfengine3--current-word): New function to get current name-like
1686 word or its bounds.
1687 (cfengine3--current-function): New function to look up a CFEngine
1688 function's definition.
1689 (cfengine3-format-function-docstring): New function.
1690 (cfengine3-make-syntax-cache): New function.
1691 (cfengine3-documentation-function): New function: ElDoc glue.
1692 (cfengine3-completion-function): New function: completion glue.
1693 (cfengine3-mode): Set `compile-command',
1694 `eldoc-documentation-function', and add to
1695 `completion-at-point-functions'.
1696
1697 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1698
1699 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1700 `tramp-current-connection'.
1701
1702 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1703
1704 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1705 nil/self/true/false with "end of symbol".
1706
1707 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1708
1709 * subr.el (version-regexp-alist): Fix a typo.
1710
1711 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1712
1713 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1714 "en_US.utf8" and "LC_CTYPE" to "".
1715 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1716 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1717
1718 2013-11-15 Leo Liu <sdl.web@gmail.com>
1719
1720 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1721
1722 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * progmodes/gud.el (ctl-x-map):
1725 Remove C-x SPC binding. (Bug#12342)
1726 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1727
1728 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1729
1730 * subr.el (version-regexp-alist):
1731 Recognize hg, svn and darcs versions as snapshot versions.
1732
1733 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1734 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1735 (ruby--encoding-comment-required-p): Extract from
1736 `ruby-mode-set-encoding'.
1737 (ruby-mode-set-encoding): Add the ability to always insert an
1738 utf-8 encoding comment. Fix and simplify coding comment update
1739 logic.
1740
1741 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1742
1743 * net/tramp-gvfs.el (top): Run init code only when
1744 `tramp-gvfs-enabled' is not nil.
1745 (tramp-gvfs-enabled): Check also :system bus.
1746
1747 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 Sync with upstream verilog-mode revision 78e66ba.
1750 * progmodes/verilog-mode.el (verilog-end-of-defun)
1751 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1752 (verilog-get-end-of-defun): Remove unused argument.
1753 (verilog-comment-depth): Remove unused local `e'.
1754 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1755 Don't pass arg to verilog-get-end-of-defun.
1756
1757 2013-11-14 Glenn Morris <rgm@gnu.org>
1758
1759 * obsolete/assoc.el (aget): Prefix dynamic variable.
1760
1761 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1762
1763 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * widget.el, hfy-cmap.el: Remove bogus package version number.
1766
1767 2013-11-13 Glenn Morris <rgm@gnu.org>
1768
1769 * replace.el (replace-eval-replacement):
1770 Try to give more helpful error message. (Bug#15836)
1771
1772 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1773 (archive-7z-update): Avoid custom type mismatches.
1774
1775 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1776
1777 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1778
1779 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1780 address can be empty.
1781
1782 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1783 Accept nil SWITCHES.
1784 (tramp-gvfs-handle-write-region): Implement APPEND.
1785
1786 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1787
1788 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1789 binary "|" operator and closing block args delimiter.
1790 Remove FIXME comment referring to Ruby 1.8-only syntax.
1791 (ruby-smie--implicit-semi-p): Not after "|" operator.
1792 (ruby-smie--closing-pipe-p): New function.
1793 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1794 (ruby-smie-rules): Indent after "|".
1795
1796 2013-11-12 Glenn Morris <rgm@gnu.org>
1797
1798 * ps-print.el (ps-face-attribute-list):
1799 Handle anonymous faces. (Bug#15827)
1800
1801 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1802
1803 * window.el (display-buffer-other-frame): Fix doc-string.
1804 (Bug#15868)
1805
1806 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1809
1810 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1811
1812 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1813 (tramp-sh-handle-file-local-copy): Don't write a message when
1814 saving temporary files.
1815
1816 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1817 both directories are remote.
1818 (tramp-smb-handle-directory-files): Do not return double entries.
1819 Do not expand full file names.
1820 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1821 (tramp-smb-handle-write-region): Implement APPEND.
1822 (tramp-smb-get-stat-capability): Fix a stupid bug.
1823
1824 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1827
1828 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1829
1830 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1831 throwing error over malformed let/let* (bug#15814).
1832
1833 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * iswitchb.el (iswitchb-mode): Mark obsolete.
1836
1837 2013-11-11 Glenn Morris <rgm@gnu.org>
1838
1839 * international/uni-bidi.el, international/uni-category.el:
1840 * international/uni-name.el, international/uni-numeric.el:
1841 Regenerate for Unicode 6.3.0.
1842
1843 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/tramp.el (tramp-methods):
1846 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1847 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1848
1849 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1850
1851 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1852 Force highlighting text after Summary keyword in doc face for rpm.
1853
1854 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1855
1856 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1857 available and the word has no wildcards, append one to the grep pattern.
1858 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1859 (ispell-complete-word): Call `ispell-lookup-words' with the value
1860 independent of `ispell-look-p'.
1861
1862 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1863
1864 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1865 Not after "||".
1866 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1867 their parent.
1868
1869 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1872 (ruby-font-lock-keywords): Use backquote.
1873
1874 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1875
1876 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1877 (ruby-smie--backward-token): Only consider full-string matches.
1878
1879 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1880
1881 * faces.el (describe-face): Add distant-foreground.
1882
1883 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1884
1885 * progmodes/ruby-mode.el: Improve encoding comment handling.
1886 (ruby-encoding-magic-comment-style): New option.
1887 (ruby-custom-encoding-magic-comment-template): New option.
1888 (ruby--insert-coding-comment, ruby--detect-encoding):
1889 New functions extracted from `ruby-mode-set-encoding'.
1890 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1891 to control the style of the auto-inserted encoding comment.
1892
1893 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1894
1895 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1896 Use `smie-backward-sexp' with token argument.
1897
1898 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1899
1900 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1901 Remove instrumentation code.
1902
1903 2013-11-08 Glenn Morris <rgm@gnu.org>
1904
1905 * progmodes/autoconf.el (autoconf-mode):
1906 Tweak comment-start-skip. (Bug#15822)
1907
1908 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1911 at bobp (bug#15826).
1912 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1913
1914 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1915
1916 * man.el (Man-start-calling): New macro, extracted from
1917 Man-getpage-in-background.
1918 (Man-getpage-in-background): Use it.
1919 (Man-update-manpage): New command.
1920 (Man-mode-map): Bind it.
1921
1922 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1923
1924 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1925 of "and", "or", "&&" and "||".
1926 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1927 argument. Prohibit opening curly brace because it could only be a
1928 block opener in that position.
1929 (ruby-smie--forward-token, ruby-smie--backward-token):
1930 Separate "|" from "&" or "*" going after it. That can happen in block
1931 arguments.
1932 (ruby-smie--indent-to-stmt): New function, seeks the end of
1933 previous statement or beginning of buffer.
1934 (ruby-smie-rules): Use it.
1935 (ruby-smie-rules): Check if there's a ":" before a curly block
1936 opener candidate; if there is, it's a hash.
1937
1938 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1941 (cl--block-wrapper): Fix last accidental change.
1942
1943 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1946 Instrument, in order to hunt failure on hydra.
1947
1948 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1949
1950 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1951 malformed bindings form (bug#15814).
1952
1953 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1954
1955 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1956 "." compared to " @ ". This incidentally fixes some indentation
1957 examples with "do".
1958 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1959 (ruby-smie-grammar): New tokens: "and" and "or".
1960 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1961 Exclude "and" and "or". Remove "do" in order to work around token
1962 priorities.
1963 (ruby-smie-rules): Add all infix tokens. Handle the case of
1964 beginning-of-buffer.
1965
1966 2013-11-06 Glenn Morris <rgm@gnu.org>
1967
1968 * Makefile.in (setwins_almost, setwins_for_subdirs):
1969 Avoid accidental matches.
1970
1971 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * menu-bar.el (popup-menu): Use key-binding.
1974
1975 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1976
1977 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1978 menus, support also the menus produced by minor modes.
1979 (Bug#15817)
1980
1981 2013-11-06 Leo Liu <sdl.web@gmail.com>
1982
1983 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1984 DISTANCE to bound the search. All uses changed. (Bug#15808)
1985
1986 2013-11-06 Glenn Morris <rgm@gnu.org>
1987
1988 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1989 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1990 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1991
1992 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * electric.el (electric-indent-just-newline): New command.
1995 (electric-indent-mode-map): New keymap.
1996 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1997 Re-add :group which weren't redundant.
1998
1999 * electric.el (electric-indent-local-mode): New minor mode.
2000 (electric-indent-functions-without-reindent): New var.
2001 (electric-indent-post-self-insert-function): Use it.
2002 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2003
2004 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2005
2006 * international/quail.el (quail-help): Be more explicit about the
2007 meaning of the labels shown on the keys. (Bug#15800)
2008
2009 * startup.el (normal-top-level): Load the subdirs.el files before
2010 setting the locale environment. (Bug#15805)
2011
2012 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2015 via arguments so as to get the right ones (bug#15418).
2016
2017 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2018
2019 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2020
2021 Fix problems found while writing a test suite.
2022
2023 * net/tramp-compat.el (tramp-compat-load): New defun.
2024 * net/tramp.el (tramp-handle-load): Use it.
2025
2026 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2027 "(numberp ok-if-already-exists)" correctly.
2028
2029 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2030
2031 * international/characters.el (glyphless-char-display-control):
2032 Add usage note.
2033
2034 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2035
2036 * progmodes/python.el (python-mode):
2037 * progmodes/scheme.el (scheme-mode):
2038 * progmodes/prolog.el (prolog-mode):
2039 * progmodes/ruby-mode.el (ruby-mode):
2040 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2041 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2042
2043 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * rect.el (rectangle--highlight-for-redisplay):
2046 * emacs-lisp/smie.el (smie--next-indent-change):
2047 Use buffer-chars-modified-tick.
2048
2049 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2050
2051 * electric.el (electric-indent-post-self-insert-function):
2052 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2053
2054 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2055
2056 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2057
2058 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2059
2060 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2061 (bug#15786).
2062
2063 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2066
2067 * progmodes/python.el: Fix up last change.
2068 (python-shell--save-temp-file): New function.
2069 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2070 `string' comes from the current buffer.
2071 (python-shell-send-string-no-output): Remove `msg' arg.
2072 (python--use-fake-loc): New var.
2073 (python-shell-buffer-substring): Obey it. Try to compensate for the
2074 extra coding line added by python-shell--save-temp-file.
2075 (python-shell-send-region): Use python-shell--save-temp-file and
2076 python-shell-send-file directly. Add `nomain' argument.
2077 (python-shell-send-buffer): Use python-shell-send-region.
2078 (python-electric-pair-string-delimiter): New function.
2079 (python-mode): Use it.
2080
2081 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2082
2083 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2084 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2085 environment and decoding all of the default-directory's to here
2086 from command-line.
2087 (command-line): Decode also argv[0].
2088
2089 * loadup.el: Error out if default-directory is a multibyte string
2090 when we are dumping.
2091
2092 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2093
2094 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2095
2096 * emacs-lisp/package.el (package-menu-mode)
2097 (package-menu--print-info, package-menu--archive-predicate):
2098 Add Archive column to package list.
2099
2100 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2101
2102 Fix problems found while writing a test suite.
2103
2104 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2105 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2106 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2107 to nil when running original file name handler. Otherwise,
2108 there are problems with constructs like "$$FOO".
2109
2110 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2111 for `localname'.
2112
2113 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2114
2115 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2116
2117 * subr.el (version<, version<=, version=):
2118 Update docstrings with information for snapshot versions.
2119
2120 * helpers.el: New library for misc helper functions.
2121 (hash-table-keys): New function returning a list of hash keys.
2122 (hash-table-values): New function returning a list of hash values.
2123
2124 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2125
2126 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2127 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2128
2129 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2130
2131 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2132 checking whether point is after a 1-letter word.
2133
2134 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2135
2136 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2137 Don't infloop when expanding region over `multiline' syntax-type that
2138 begins a line (bug#15778).
2139
2140 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2143 Make it into a proper minor mode.
2144 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2145 (rectangle-mark-mode-map): New keymap.
2146 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2147
2148 2013-11-04 Glenn Morris <rgm@gnu.org>
2149
2150 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2151
2152 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2155 (ruby-smie-rules): Use smie-rule-parent instead.
2156
2157 * emacs-lisp/smie.el (smie-rule-parent): Always call
2158 smie-indent-virtual rather than only for hanging tokens.
2159 (smie--next-indent-change): New helper command.
2160
2161 2013-11-03 Glenn Morris <rgm@gnu.org>
2162
2163 * Makefile.in (abs_srcdir): Remove.
2164 (emacs): Unset EMACSLOADPATH.
2165
2166 2013-11-02 Glenn Morris <rgm@gnu.org>
2167
2168 * Makefile.in (EMACS): Use a relative filename.
2169 (abs_top_builddir): Remove.
2170 (custom-deps, finder-data, autoloads): Use --chdir.
2171
2172 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2173
2174 Use relative filenames in TAGS files.
2175 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2176 (lisptagsfiles4, TAGS): Use relative file names.
2177 (TAGS-LISP): Remove.
2178 (maintainer-clean): No more TAGS-LISP file.
2179
2180 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2181 (lisptagsfiles4): Use absolute filenames again.
2182 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2183 Remove all *loaddefs files, not just the first. Remove esh-groups.
2184 (maintainer-clean): Delete TAGS, TAGS-LISP.
2185
2186 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2187
2188 * emacs-lisp/package.el (package-version-join):
2189 Recognize snapshot versions.
2190
2191 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2192
2193 * subr.el (version-regexp-alist): Add support for snapshot versions.
2194
2195 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2196
2197 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2198 New function, replacement for `smie-rule-parent' for when we want to
2199 skip over our direct parent if it's an assignment token..
2200 (ruby-smie-rules): Use it.
2201
2202 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2203
2204 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2205 unconditionally. Remove now unnecessary forward declarations.
2206 Remove XEmacs-specific setup.
2207 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2208 (ruby-font-lock-syntactic-keywords)
2209 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2210 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2211 (ruby-here-doc-end-syntax): Remove.
2212 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2213 defined as function.
2214
2215 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2216
2217 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2218
2219 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2220
2221 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2222 table and abbrev table, `define-derived-mode' does that for us
2223 anyway.
2224
2225 2013-11-01 Glenn Morris <rgm@gnu.org>
2226
2227 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2228 files is atomic for some time, so no parallel compilation issues).
2229
2230 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2231
2232 * faces.el (face-x-resources): Add :distant-foreground.
2233 (region): Use :distant-foreground for gtk and ns.
2234
2235 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2236
2237 Allow multiple bibliographies when BibLaTeX is used rather than
2238 BibTeX.
2239 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2240 (reftex-locate-bibliography-files): Us it.
2241
2242 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2243
2244 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2245 allow comments in pbm files.
2246
2247 * term/w32-win.el (dynamic-library-alist): Support newer versions
2248 of libjpeg starting with v7: look only for the DLL from the
2249 version against which Emacs was built.
2250 Support versions of libpng beyond 1.4.x.
2251 Support libtiff v4.x.
2252
2253 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2254
2255 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2256 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2257 Add property :safe.
2258 (ruby-deep-arglist): Add property :type.
2259
2260 2013-10-31 Glenn Morris <rgm@gnu.org>
2261
2262 * Makefile.in (custom-deps, finder-data): No need to setq the target
2263 variables, we are in the right directory and the defaults work fine.
2264
2265 2013-10-30 Glenn Morris <rgm@gnu.org>
2266
2267 * Makefile.in (autoloads): Do not use abs_lisp.
2268
2269 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2270 `newline' does not respect `standard-output', so use `princ'.
2271
2272 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2273
2274 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2275 * buff-menu.el (Buffer-menu--unmark): New function.
2276 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2277
2278 2013-10-30 Glenn Morris <rgm@gnu.org>
2279
2280 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2281
2282 * emacs-lisp/package.el (lm-homepage): Declare.
2283
2284 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2285 Fix doc typos.
2286
2287 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2288
2289 * Makefile.in (finder-data, autoloads, update-subdirs)
2290 (compile-main, compile-clean, compile-always, bootstrap-clean):
2291 Check return value of cd.
2292 (compile-calc): Remove.
2293
2294 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2297
2298 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2299 (byte-compile-and-folded): New function.
2300 (=, <, >, <=, >=): Use it.
2301
2302 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2303 (path-separator, null-device, buffer-file-coding-system)
2304 (lpr-headers-switches): Check system-type before modifying them.
2305 (find-buffer-file-type-coding-system): Mark obsolete.
2306 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2307 find-file-not-found-set-buffer-file-coding-system.
2308 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2309 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2310 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2311 (w32-direct-print-region-helper, w32-direct-print-region-function)
2312 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2313 * startup.el (normal-top-level-add-subdirs-to-load-path):
2314 * ps-print.el (ps-print-region-function):
2315 * lpr.el (print-region-function): Use new name.
2316
2317 * subr.el (custom-declare-variable-early): Remove function.
2318 (custom-declare-variable-list): Remove var.
2319 (error, user-error): Remove `while' loop.
2320 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2321 (user-emacs-directory-warning, locate-user-emacs-file):
2322 Move to files.el.
2323 * simple.el (read-quoted-char-radix, read-quoted-char):
2324 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2325 Move from subr.el.
2326 * custom.el (custom-declare-variable-list): Don't process
2327 custom-declare-variable-list.
2328
2329 * progmodes/python.el (python-shell-get-buffer): New function.
2330 (python-shell-get-process): Use it.
2331 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2332 Python which encoding was used. Don't split-string since we only care
2333 about the first line. Return the temp-file, if applicable.
2334 (python-shell-send-region): Tell compile.el how to turn locations in
2335 the temp-file into locations in the source buffer.
2336
2337 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * subr.el (undefined): Add missing behavior from the C code for
2340 unbound keys.
2341
2342 * rect.el: Use lexical-binding. Add new rectangular region support.
2343 (rectangle-mark): New command.
2344 (rectangle--region): New var.
2345 (deactivate-mark-hook): Reset rectangle--region.
2346 (rectangle--extract-region, rectangle--insert-for-yank)
2347 (rectangle--highlight-for-redisplay)
2348 (rectangle--unhighlight-for-redisplay): New functions.
2349 (region-extract-function, redisplay-unhighlight-region-function)
2350 (redisplay-highlight-region-function): Use them to handle
2351 rectangular region.
2352 * simple.el (region-extract-function): New var.
2353 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2354 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2355 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2356 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2357 (redisplay-unhighlight-region-function)
2358 (redisplay-highlight-region-function): New vars.
2359 (redisplay--update-region-highlight): New function.
2360 (pre-redisplay-function): Use it.
2361 (exchange-point-and-mark): Don't deactivate the mark before
2362 reactivate-it anyway.
2363 * comint.el (comint-kill-region): Remove yank-handler argument.
2364 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2365 (delete-char): Remove property, since it's now part of their
2366 default behavior.
2367 (self-insert-iso): Remove property since this command doesn't exist.
2368
2369 * emacs-lisp/package.el (package--download-one-archive)
2370 (describe-package-1): Don't query the user about final newline.
2371
2372 2013-10-29 Daniel Colascione <dancol@dancol.org>
2373
2374 * net/tramp.el (tramp-methods): Document new functionality.
2375 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2376 tramp-hostname-checker if method provides one instead of scanning
2377 argument list for "%h" to decide hostname acceptability.
2378
2379 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2382 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2383 Handle COPY-CONTENTS. (Bug#15737)
2384
2385 2013-10-28 Daiki Ueno <ueno@gnu.org>
2386
2387 * epa-file.el
2388 (epa-file-cache-passphrase-for-symmetric-encryption):
2389 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2390
2391 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2392
2393 * image.el (defimage):
2394 (image-load-path): Doc fixes.
2395
2396 2013-10-27 Alan Mackenzie <acm@muc.de>
2397
2398 Indent statements in macros following "##" correctly.
2399 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2400 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2401
2402 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2403
2404 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2405
2406 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2407
2408 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2409 after `=' is probably a new expression.
2410
2411 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2412
2413 * man.el (man-imenu-title): New option.
2414 (Man-mode-map): Add menu. (Bug#15722)
2415 (Man-mode): Add imenu to menu.
2416
2417 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2418
2419 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2420 specific in what the first arg can be: a non-keyword word,
2421 string/regexp/percent literal opener, opening paren, or unary
2422 operator followed directly by word.
2423
2424 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2427 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2428 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2429 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2430 Remove vars, they do not apply any more.
2431 (prolog-mode-abbrev-table): Remove redundant declaration.
2432 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2433 (prolog-use-smie): Remove.
2434 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2435 supported by prolog-electric-if-then-else-flag.
2436 (prolog-mode-variables, prolog-menu): Use setq-local.
2437 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2438 Remove binding to `Backspace' since this key doesn't exist anyway.
2439 Remove bindings for electric self-inserting keys.
2440 (prog-mode): Assume it's defined.
2441 (prolog-post-self-insert): New function.
2442 (prolog-mode): Use it.
2443 (prolog-indent-line, prolog-indent-level)
2444 (prolog-find-indent-of-matching-paren)
2445 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2446 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2447 (prolog-goto-next-paren, prolog-in-string-or-comment)
2448 (prolog-tokenize, prolog-inside-mline-comment)
2449 (prolog-find-start-of-mline-comment): Remove functions.
2450 (prolog-find-unmatched-paren, prolog-clause-end)
2451 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2452 (prolog-electric--if-then-else): Rename from
2453 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2454 (prolog-tokenize-searchkey): Remove const.
2455 (prolog-clause-info): Use forward-sexp.
2456 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2457 (prolog-electric-if-then-else): Remove commands.
2458 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2459 for use in post-self-insert-hook.
2460 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2461 for use in post-self-insert-hook.
2462 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2463 for use in post-self-insert-hook.
2464 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2465 adapt it for use in post-self-insert-hook.
2466
2467 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * emacs-lisp/ert.el (ert-run-tests-interactively):
2470 Use `completing-read'. (Bug#9756)
2471
2472 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2473
2474 * simple.el (line-move): Call line-move-1 instead of
2475 line-move-visual when the current window hscroll is zero, but
2476 temporary-goal-column indicates we will need to hscroll as result
2477 of the movement. (Bug#15712)
2478
2479 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2480
2481 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2482 capitalization. Use :visible instead of :active.
2483 Fix `ruby-indent-exp' reference. Add menu items for the generic
2484 commands that are used with SMIE.
2485 (ruby-do-end-to-brace): Insert space after `{'.
2486
2487 2013-10-25 John Anthony <john@jo.hnanthony.com>
2488
2489 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2490
2491 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2492
2493 2013-10-25 Glenn Morris <rgm@gnu.org>
2494
2495 * vc/vc.el (vc-print-log): Don't use a working revision unless
2496 one was explicitly specified. (Bug#15322)
2497
2498 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * subr.el (add-to-list): Preserve return value in compiler-macro
2501 (bug#15692).
2502
2503 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2504
2505 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2506 result. Ask user to retry using '-all' flag. (Bug#15701)
2507
2508 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * emacs-lisp/smie.el: New smie-config system.
2511 (smie-config): New defcustom.
2512 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2513 (smie-config-guess, smie-config-save): New commands.
2514 (smie-config--mode-local, smie-config--buffer-local)
2515 (smie-config--trace, smie-config--modefuns): New vars.
2516 (smie-config--advice, smie-config--mode-hook)
2517 (smie-config--setter, smie-config-local, smie-config--get-trace)
2518 (smie-config--guess-value, smie-config--guess): New functions.
2519 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2520 text properties. Treat "string fence" syntax like string syntax.
2521
2522 * progmodes/sh-script.el (sh-use-smie): Change default.
2523 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2524 (sh-var-value): Simplify by CSE.
2525 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2526 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2527 is used.
2528 (sh-guess-basic-offset): Use cl-incf.
2529 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2530
2531 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2532
2533 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2534 (bug#15699).
2535
2536 2013-10-24 Glenn Morris <rgm@gnu.org>
2537
2538 * Makefile.in (abs_top_srcdir): Remove.
2539 (update-subdirs): Use relative path to update-subdirs.
2540
2541 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2542
2543 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2544 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2545 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2546 Call unmsys--file-name before expand-file-name, not after it.
2547
2548 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2549
2550 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2551 (ert-test-skipped): New error.
2552 (ert-skip, ert-stats-skipped): New defuns.
2553 (ert--skip-unless): New macro.
2554 (ert-test-skipped): New struct.
2555 (ert--run-test-debugger, ert-test-result-type-p)
2556 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2557 (ert--stats-set-test-and-result, ert-char-for-test-result)
2558 (ert-string-for-test-result, ert-run-tests-batch)
2559 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2560 Handle skipped tests. (Bug#9803)
2561
2562 2013-10-24 Glenn Morris <rgm@gnu.org>
2563
2564 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2565
2566 * Makefile.in (abs_top_srcdir): New, set by configure.
2567 (update-subdirs): Correct build-aux location.
2568
2569 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2570
2571 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2572 value, whether we could auto-deduce `backend', or not.
2573
2574 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2575 with parameters" example. Simplify the "is it block or is it
2576 hash" check, but also make it more thorough.
2577
2578 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2579
2580 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2581
2582 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2585 { if it is hanging.
2586
2587 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2588 :before ";".
2589
2590 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2591
2592 * progmodes/compile.el (compilation-directory-matcher)
2593 (compilation-page-delimiter):
2594 Support GNU Make-4.0 directory quoting. (Bug#15678)
2595
2596 2013-10-23 Leo Liu <sdl.web@gmail.com>
2597
2598 * ido.el (ido-tidy): Handle read-only text.
2599
2600 2013-10-23 Glenn Morris <rgm@gnu.org>
2601
2602 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2603 (emacs, compile, compile-always):
2604 Quote entities that might contain whitespace.
2605 (custom-deps, finder-data, autoloads): Use abs_lisp.
2606 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2607 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2608 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2609
2610 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2611
2612 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2613 Use `following-char'.
2614
2615 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2618 * progmodes/ruby-mode.el (ruby-smie-rules):
2619 Remove corresponding workaround. Fix indentation rule of ";" so it
2620 also applies when ";" is the parent.
2621
2622 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2623
2624 * frame.el (display-screens, display-pixel-height)
2625 (display-pixel-width, display-mm-width, display-backing-store)
2626 (display-save-under, display-planes, display-color-cells)
2627 (display-visual-class, display-monitor-attributes-list):
2628 Mention the optional ‘display’ argument in doc strings.
2629
2630 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2631
2632 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2633 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2634
2635 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2636
2637 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2638 TODO. Add "." after " @ ".
2639 (ruby-smie--at-dot-call): New function. Checks if point at method
2640 call with explicit target.
2641 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2642 to the method name tokens when it precedes them.
2643 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2644 (ruby-smie-rules): Add rule for indentation before and after "."
2645 token.
2646
2647 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2648
2649 * textmodes/remember.el (remember-diary-extract-entries):
2650 Avoid add-to-list.
2651
2652 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2653 an instruction.
2654
2655 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2656
2657 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2658 (ruby-smie--implicit-semi-p): Add new operator chars.
2659
2660 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2661 `smie-down-list'.
2662 (ruby-smie--args-separator-p): Check that there's no newline
2663 between method call and its arguments.
2664
2665 2013-10-20 Alan Mackenzie <acm@muc.de>
2666
2667 Allow comma separated lists after Java "implements".
2668
2669 * progmodes/cc-engine.el (c-backward-over-enum-header):
2670 Parse commas.
2671 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2672 from a "disallowed" list in enum fontification.
2673
2674 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2675
2676 * startup.el (default-frame-background-mode): Remove unused defvar.
2677
2678 * progmodes/verilog-mode.el (verilog-mode): Don't set
2679 comment-indent-function globally.
2680
2681 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2682
2683 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2684 Move Info menu item creation to ns-win.el.
2685
2686 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2687 in menu bar.
2688
2689 * menu-bar.el: Move GNUStep specific menus...
2690
2691 * term/ns-win.el (ns-initialize-window-system): ... to here.
2692
2693 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * simple.el (newline): Only run post-self-insert-hook when
2696 called interactively.
2697
2698 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2699
2700 * icomplete.el (icomplete-with-completion-tables): Add :version.
2701
2702 2013-10-19 Alan Mackenzie <acm@muc.de>
2703
2704 Fix fontification bugs with constructors and const.
2705
2706 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2707 CASE 2) Remove the check for the absence of a suffix construct
2708 after a function declaration with only types (no identifiers) in
2709 the parentheses. Also, accept a function declaration with just a
2710 type inside the parentheses, if this type can be positively
2711 recognised as such, or if a prefix keyword like "explicit" nails
2712 down the construct as a declaration.
2713
2714 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2715
2716 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2717 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2718 the problem whereby selecting a menu item that leads to a
2719 minibuffer prompt moves the cursor out of the minibuffer window,
2720 making it hard to type at the prompt. Suggested by Stefan Monnier
2721 <monnier@iro.umontreal.ca>.
2722
2723 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2724
2725 * menu-bar.el: Don't make Services menu.
2726
2727 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2728
2729 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2730 (ffap-alist): Use ffap-c++-mode for c++-mode.
2731 (ffap-c++-path): New variable.
2732 (ffap-c++-mode): New function.
2733
2734 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2735
2736 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2737
2738 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2741 introduced on 2013-09-08, which results in an infinite loop
2742 requesting a password.
2743
2744 2013-10-18 Glenn Morris <rgm@gnu.org>
2745
2746 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2747
2748 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2749
2750 Sync with upstream verilog-mode revision 1a6ecec7.
2751 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2752 (verilog-mode-release-date): Remove.
2753 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2754 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2755 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2756 (verilog-auto-tieoff-ignore-regexp)
2757 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2758 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2759 (verilog-signals-with, verilog-dir-cache-preserving)
2760 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2761 Doc fixes.
2762 (verilog-case-fold): New option, to control case folding in
2763 regexp searches, bug597.
2764 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2765 (verilog-string-match-fold, verilog-in-paren-count)
2766 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2767 (verilog-at-close-struct-p): New functions.
2768 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2769 (verilog-forward-sexp, verilog-set-auto-endcomments):
2770 (verilog-leap-to-case-head): Handle "unique0" case.
2771 (verilog-in-constraint-re): New constant.
2772 (verilog-keywords, verilog-type-font-keywords):
2773 Add some SystemVerilog 1800-2012 keywords.
2774 (verilog-label-be): Remove unimplemented argument, bug669.
2775 (verilog-batch-execute-func): When batch expanding clear
2776 create-lockfiles to prevent spurious user locks when a file ends
2777 up not changing.
2778 (verilog-calculate-indent, verilog-calc-1)
2779 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2780 (verilog-do-indent): Fix indentation of nested constraints
2781 and structures.
2782 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2783 (verilog-auto-inst-param): Use verilog-string-match-fold.
2784 (verilog-read-inst-module-matcher):
2785 Fix AUTOINST on gate primitives with #1.
2786 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2787 Reads all user-defined typed variables.
2788 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2789 (verilog-signals-matching-regexp)
2790 (verilog-signals-not-matching-regexp, verilog-auto):
2791 Respect verilog-case-fold.
2792 (verilog-diff-report): Fix line count.
2793 (verilog-auto-assign-modport): Remove unused local `modi'.
2794 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2795 better handle multidimensional arrays.
2796 Fix packed array ports misadding bit index in AUTOINST, bug637.
2797 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2798 to not double-declare existing outputs and inputs, respectively.
2799 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2800 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2801 (verilog-sk-uvm-component): New skeleton.
2802 (verilog-submit-bug-report): Add verilog-case-fold,
2803 remove verilog-mode-release-date.
2804
2805 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2806
2807 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2808 as before.
2809
2810 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2811
2812 * textmodes/remember.el (remember): Set buffer-offer-save in
2813 remember buffers (bug#13566).
2814
2815 2013-10-18 Daniel Colascione <dancol@dancol.org>
2816
2817 When evaluating forms in ielm, direct standard output to ielm
2818 buffer. Add new ielm-return-for-effect command. Remove trailing
2819 whitespace throughout.
2820
2821 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2822 (ielm-return-for-effect): New command.
2823 (ielm-send-input): Accept optional `for-effect' parameter.
2824 (ielm-eval-input): Accept optional `for-effect' parameter.
2825 Bind `standard-output' to stream we create using
2826 `ielm-standard-output-impl'. Suppress printing result when
2827 `for-effect'.
2828 (ielm-standard-output-impl): New function.
2829 (inferior-emacs-lisp-mode): Explain new features in documentation.
2830
2831 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2832
2833 Code cleanup.
2834
2835 * net/tramp.el (tramp-debug-message): Do not check for connection
2836 buffer.
2837 (tramp-message): Use "vector" connection property.
2838
2839 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2840 (tramp-equal-remote, tramp-eshell-directory-change)
2841 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2842 (tramp-adb-handle-rename-file)
2843 * net/tramp-cmds.el (tramp-list-remote-buffers)
2844 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2845 * net/tramp-compat.el (tramp-compat-process-running-p)
2846 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2847 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2848 (tramp-gvfs-handle-rename-file)
2849 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2850 (tramp-set-file-uid-gid)
2851 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2852 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2853 of `file-remote-p'.
2854
2855 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2856 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2857 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2858 (tramp-gw-open-network-stream): Suppress unrelated traces.
2859
2860 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2861 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2863 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2864 connection property.
2865
2866 * net/tramp-cache.el (top): Suppress traces when reading
2867 persistency file.
2868
2869 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2870 Refactor common code. Improve debug message.
2871 (tramp-maybe-open-connection)
2872 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2873 connection buffer too early.
2874
2875 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2876 from `tramp-smb-actions-with-acl'.
2877 (tramp-smb-actions-set-acl): New defconst.
2878 (tramp-smb-handle-copy-directory)
2879 (tramp-smb-action-get-acl): New defun, renamed from
2880 `tramp-smb-action-with-acl'.
2881 (tramp-smb-action-set-acl): New defun.
2882 (tramp-smb-handle-set-file-acl): Rewrite.
2883
2884 2013-10-17 Glenn Morris <rgm@gnu.org>
2885
2886 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2887
2888 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * skeleton.el (skeleton-newline): Remove.
2891 (skeleton-internal-1): Use (insert "\n") instead.
2892
2893 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2894 let-bindings.
2895
2896 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2897 forward-sexp-function while we redo its job (bug#15613).
2898
2899 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2900
2901 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2902 represented by lists.
2903
2904 2013-10-16 Glenn Morris <rgm@gnu.org>
2905
2906 * tmm.el (tmm--history): New dynamic variable.
2907 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2908
2909 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2910
2911 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2912 (tramp-smb-errors): Add error messages.
2913 (tramp-smb-actions-with-acl): New defconst.
2914 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2915 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2916 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2917 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2918 (tramp-smb-get-stat-capability): Fix tests.
2919
2920 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2921
2922 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2923 (bug#15580).
2924
2925 2013-10-16 Glenn Morris <rgm@gnu.org>
2926
2927 * ansi-color.el (ansi-color-drop-regexp):
2928 Add 1J, 1K, 2K. (Bug#15617)
2929
2930 * files.el (hack-local-variables--warned-lexical): New.
2931 (hack-local-variables):
2932 Warn about misplaced lexical-binding. (Bug#15616)
2933
2934 * net/eww.el (eww-render): Always set eww-current-url,
2935 and update header line. (Bug#15622)
2936 (eww-display-html): ... Rather than just doing it here.
2937
2938 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2939
2940 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2941 menu navigations commands.
2942
2943 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2944
2945 * progmodes/subword.el (subword-capitalize): Be careful when
2946 the search for [[:alpha:]] fails (bug#15580).
2947
2948 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2949
2950 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2951 to commands that scroll the menu.
2952
2953 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2954
2955 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2956 Handle methods ending with `?' and `!'.
2957
2958 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2959
2960 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2961 `japanese-cp932' to `cp932' to fix the problem where saving a
2962 source file written in Shift_JIS twice would end up having
2963 `coding: japanese-cp932' which Ruby could not recognize.
2964 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2965 in `ruby-encoding-map'.
2966 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2967 doesn't need to be explicitly declared in magic comment.
2968 (ruby-encoding-map): Add type declaration for better customize UI.
2969
2970 2013-10-13 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2973 Occur buffers are read-only. http://bugs.debian.org/720775
2974
2975 * emacs-lisp/authors.el (authors-fixed-entries):
2976 Comment out old alpha stuff.
2977
2978 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2979
2980 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2981 to `after-save-hook' instead of `before-save-hook'.
2982 (ruby-mode-set-encoding): Use the value of coding system used to
2983 write the file. Call `basic-save-buffer-1' after modifying the
2984 buffer.
2985
2986 2013-10-13 Alan Mackenzie <acm@muc.de>
2987
2988 Fix indentation/fontification of Java enum with
2989 "implements"/generic.
2990
2991 * progmodes/cc-engine.el (c-backward-over-enum-header):
2992 Extracted from the three other places and enhanced to handle generics.
2993 (c-inside-bracelist-p): Uses new function above.
2994 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2995 function above.
2996 (c-font-lock-enum-tail): Uses new function above.
2997
2998 2013-10-13 Kenichi Handa <handa@gnu.org>
2999
3000 * international/mule-cmds.el (select-safe-coding-system): Remove a
3001 superfluous condition in chekcing whether a coding system is safe
3002 or not.
3003
3004 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3005
3006 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3007
3008 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3009
3010 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3011
3012 2013-10-13 Glenn Morris <rgm@gnu.org>
3013
3014 * menu-bar.el (menu-bar-update-buffers):
3015 Unify Buffers menu prompt string. (Bug#15576)
3016
3017 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3018
3019 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3020 Add some entries.
3021 (authors-fixed-entries): Use accented form of name.
3022
3023 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3026 method calls (bug#15594).
3027 (ruby-smie--args-separator-p): New function.
3028 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3029 recognize paren-free method calls.
3030
3031 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3032 internals of universal-argument.
3033
3034 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3035
3036 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3037 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3038 dropped menu on second mouse click on the menu bar.
3039
3040 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3043 (explicit-shell-file-name): Declare.
3044 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3045 (sh-completion-at-point-function): New function.
3046 (sh-mode): Use it.
3047 (sh-smie--keyword-p): Remove unused argument.
3048 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3049 vars.
3050 (sh-set-shell): Always setup SMIE, even if we use the
3051 old indentation code.
3052
3053 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3054
3055 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3056 cases of ? and =.
3057 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3058 predicate would return nil are almost non-existent.
3059 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3060
3061 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3062 cache also after commands that modify the buffer but don't move
3063 point.
3064
3065 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * env.el (substitute-env-in-file-name): New function.
3068 (substitute-env-vars): Extend the meaning of the optional arg.
3069
3070 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3071
3072 * term/w32-win.el (dynamic-library-alist): Define separate lists
3073 of GIF DLLs for versions before and after 5.0.0 of giflib.
3074 (Bug#15531)
3075
3076 2013-10-10 João Távora <joaotavora@gmail.com>
3077
3078 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3079 not locked, use last revision and current source as
3080 defaults. (Bug#15569)
3081
3082 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3083
3084 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3085 menu-bar is hidden.
3086
3087 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3088
3089 * window.el (pop-to-buffer-same-window): Fix doc-string.
3090 (Bug#15492)
3091
3092 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3094 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3095
3096 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3097
3098 * calendar/icalendar.el (icalendar-import-file):
3099 Fix interactive spec. (Bug#15482)
3100
3101 2013-10-10 Glenn Morris <rgm@gnu.org>
3102
3103 * desktop.el (desktop-save): Default to saving in .emacs.d,
3104 since PWD is no longer in desktop-path by default. (Bug#15319)
3105
3106 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3107 now that text mode has a menu with the same entry.
3108 (menu-bar-text-mode-auto-fill): Remove now unused func.
3109 * textmodes/text-mode.el (text-mode-map):
3110 Use auto-fill help text from menu-bar.el.
3111
3112 2013-10-10 John Anthony <john@jo.hnanthony.com>
3113
3114 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3115
3116 2013-10-09 Juri Linkov <juri@jurta.org>
3117
3118 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3119 instead of this-command-keys. Add universal-argument-more and
3120 universal-argument-minus to the list of prefix commands. (Bug#15568)
3121
3122 2013-10-09 Glenn Morris <rgm@gnu.org>
3123
3124 * vc/vc-svn.el (vc-svn-create-repo):
3125 Expand paths in file://... url. (Bug#15446)
3126
3127 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3128 Add some entries.
3129 (authors): Remove unused local variables.
3130
3131 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * profiler.el: Create a more coherent calltree from partial backtraces.
3134 (profiler-format): Hide the tail with `invisible' so that C-s can still
3135 find the hidden elements.
3136 (profiler-calltree-depth): Don't recurse so enthusiastically.
3137 (profiler-function-equal): New hash-table-test.
3138 (profiler-calltree-build-unified): New function.
3139 (profiler-calltree-build): Use it.
3140 (profiler-report-make-name-part): Indent the calltree less.
3141 (profiler-report-mode): Add visibility specs for profiler-format.
3142 (profiler-report-expand-entry, profiler-report-toggle-entry):
3143 Expand the whole subtree when provided with a prefix arg.
3144
3145 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3146
3147 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3148 iuwu-mod token.
3149 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3150 hanging iuwu-mod token.
3151 (ruby-smie--forward-token): Do not include a dot after a token in
3152 that token.
3153 (ruby-smie--backward-token): Likewise.
3154
3155 2013-10-08 Juri Linkov <juri@jurta.org>
3156
3157 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3158 to isearch-other-control-char.
3159 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3160 and isearch-post-command-hook to post-command-hook.
3161 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3162 and isearch-post-command-hook from post-command-hook.
3163 (isearch-unread-key-sequence)
3164 (isearch-reread-key-sequence-naturally)
3165 (isearch-lookup-scroll-key, isearch-other-control-char)
3166 (isearch-other-meta-char): Remove functions.
3167 (isearch-pre-command-hook, isearch-post-command-hook):
3168 New functions based on isearch-other-meta-char rewritten
3169 relying on the new behavior of overriding-terminal-local-map
3170 that does not replace the local keymaps any more. (Bug#15200)
3171
3172 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3173
3174 Support menus on text-mode terminals.
3175 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3176 functionality.
3177
3178 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3179
3180 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3181 Move here from mouse.el.
3182 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3183 and arrow keys.
3184 (tty-menu-navigation-map): New map for TTY menu navigation.
3185
3186 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3187
3188 * frame.el (display-mouse-p): Report text-mode mouse as available
3189 on w32.
3190 (display-popup-menus-p): Report availability if mouse is
3191 available; don't condition on window-system.
3192
3193 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3194 (tty-menu-selected-face): New faces.
3195
3196 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3199 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3200 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3201 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3202 New constants.
3203 (lisp-mode-variables): New `elisp' argument.
3204 (emacs-lisp-mode): Use it.
3205 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3206 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3207
3208 * indent.el: Use lexical-binding.
3209 (indent-region): Add progress reporter.
3210 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3211 last step.
3212 (indent--next-tab-stop): New function to implement this behavior.
3213 (tab-to-tab-stop, move-to-tab-stop): Use it.
3214
3215 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3216
3217 * indent.el (indent-rigidly--current-indentation): New function.
3218 (indent-rigidly-map): New var.
3219 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3220
3221 2013-10-08 Bastien Guerry <bzg@gnu.org>
3222
3223 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3224
3225 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * progmodes/perl-mode.el: Use lexical-binding.
3228 Remove redundant :group args.
3229 (perl-nochange): Change default to be closer to other major modes's
3230 standard behavior.
3231 (perl-indent-line): Don't consider text on current line as a
3232 valid beginning of function from which to indent.
3233
3234 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3235 with more than one argument (bug#15538).
3236
3237 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3238
3239 * vc/pcvs.el: Use lexical-binding.
3240 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3241 environment of `eval'.
3242 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3243 than a list of expressions. Adjust callers.
3244 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3245
3246 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3247
3248 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3249 case of the dot in a chained method call being on the following line.
3250
3251 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * electric.el (electric-indent-inhibit): New var.
3254 (electric-indent-post-self-insert-function): Use it.
3255 * progmodes/python.el (python-mode): Set it.
3256
3257 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3258 open braces.
3259
3260 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3261
3262 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3263 (css-mode): Use electric-indent-chars.
3264
3265 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3266 (font-lock-beg, font-lock-end): Move before first use.
3267 (nxml-mode): Use syntax-propertize-function.
3268 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3269 (nxml-extend-after-change-region): Remove.
3270 * nxml/xmltok.el: Use lexical-binding.
3271 (xmltok-save): Use `declare'.
3272 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3273 * nxml/nxml-util.el: Use lexical-binding.
3274 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3275 Use `declare'.
3276 * nxml/nxml-ns.el: Use lexical-binding.
3277 (nxml-ns-save): Use `declare'.
3278 (nxml-ns-prefixes-for): Avoid add-to-list.
3279 * nxml/rng-match.el: Use lexical-binding.
3280 (rng--ipattern): Use cl-defstruct.
3281 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3282 (rng-cons-group-after, rng-subst-group-after)
3283 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3284 Use closures instead of `(lambda...).
3285
3286 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3289 of BEG and END.
3290
3291 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3292 Use `tramp-handle-insert-file-contents'.
3293 (tramp-gvfs-handle-insert-file-contents): Remove function.
3294
3295 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3296 Use `save-restriction' in order to keep markers.
3297
3298 * net/trampver.el: Update release number.
3299
3300 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * progmodes/compile.el (compilation-parse-errors):
3303 Use compilation--put-prop.
3304 (compilation--ensure-parse): Check compilation-multiline.
3305
3306 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3307
3308 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3309 lexical-binding.
3310
3311 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3312
3313 * progmodes/ruby-mode.el: Fix recently added tests.
3314 (ruby-smie-grammar): Add - and +.
3315 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3316 (ruby-smie--backward-id): New functions.
3317 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3318 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3319 any more.
3320
3321 2013-10-07 Leo Liu <sdl.web@gmail.com>
3322
3323 * register.el (register-preview-delay)
3324 (register-preview-functions): New variables.
3325 (register-read-with-preview, register-preview)
3326 (register-describe-oneline): New functions.
3327 (point-to-register, window-configuration-to-register)
3328 (frame-configuration-to-register, jump-to-register)
3329 (number-to-register, view-register, insert-register)
3330 (copy-to-register, append-to-register, prepend-to-register)
3331 (copy-rectangle-to-register): Use register-read-with-preview to
3332 read register. (Bug#15525)
3333
3334 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3335
3336 * net/network-stream.el (network-stream-open-starttls): Don't add
3337 --insecure if it's already present, because that gnutls-cli
3338 rejects getting that parameter twice.
3339
3340 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3341
3342 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3343 keyword, too.
3344
3345 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * newcomment.el (comment-use-global-state): Change default value
3348 to t, mark obsolete (Bug#15251).
3349 (comment-beginning): In addition to `comment-to-syntax', check the
3350 value of `comment-use-global-state'.
3351
3352 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3355 (ruby-comment-column): Follow the global default, by default.
3356 (ruby-smie-grammar): Add assignment syntax.
3357 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3358 open-paren, a comma, or a \.
3359 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3360 and line continuations.
3361 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3362 followed by implicit semi-colons. Add rule for string concatenation
3363 and for indentation at BOB.
3364 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3365
3366 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3367 calling next-sexp, since next-token may have skipped chars which
3368 next-sexp doesn't know should be skipped!
3369
3370 2013-10-05 Leo Liu <sdl.web@gmail.com>
3371
3372 * progmodes/octave.el (octave-send-region):
3373 Call compilation-forget-errors.
3374
3375 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3376
3377 * vc/vc-svn.el (vc-svn-find-admin-dir):
3378 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3379 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3380 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3381 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3382
3383 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3384
3385 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3386
3387 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * subr.el (read-passwd): Hide chars even when called within a context
3390 where after-change-functions is disabled (bug#15501).
3391 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3392 until we removed ourself from overriding-terminal-local-map.
3393
3394 2013-10-04 Leo Liu <sdl.web@gmail.com>
3395
3396 * progmodes/octave.el (inferior-octave-mode):
3397 Call compilation-forget-errors.
3398
3399 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3400
3401 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3402
3403 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3404
3405 * net/secrets.el (secrets-create-collection): Add optional
3406 argument ALIAS. Use proper Label keyword. Append ALIAS as
3407 dbus-call-method argument. (Bug#15516)
3408
3409 2013-10-04 Leo Liu <sdl.web@gmail.com>
3410
3411 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3412 (inferior-octave-compilation-font-lock-keywords): New variables.
3413 (compilation-error-regexp-alist)
3414 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3415 (inferior-octave-mode): Use compilation-shell-minor-mode.
3416
3417 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3418
3419 * minibuffer.el (completion--replace): Be careful that `end' might be
3420 a marker.
3421
3422 2013-10-03 Daiki Ueno <ueno@gnu.org>
3423
3424 Add support for package signature checking.
3425 * emacs-lisp/package.el (url-http-file-exists-p)
3426 (epg-make-context, epg-context-set-home-directory)
3427 (epg-verify-string, epg-context-result-for)
3428 (epg-signature-status, epg-signature-to-string)
3429 (epg-check-configuration, epg-configuration)
3430 (epg-import-keys-from-file): Declare.
3431 (package-check-signature): New user option.
3432 (package-unsigned-archives): New user option.
3433 (package-desc): Add `signed' field.
3434 (package-load-descriptor): Set `signed' field if .signed file exists.
3435 (package--archive-file-exists-p): New function.
3436 (package--check-signature): New function.
3437 (package-install-from-archive): Check package signature.
3438 (package--download-one-archive): Check archive signature.
3439 (package-delete): Remove .signed file.
3440 (package-import-keyring): New command.
3441 (package-refresh-contents): Import default keyring.
3442 (package-desc-status): Add "unsigned" status.
3443 (describe-package-1, package-menu--print-info)
3444 (package-menu-mark-delete, package-menu--find-upgrades)
3445 (package-menu--status-predicate): Support "unsigned" status.
3446
3447 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3450 the new compilation scheme using the new byte-codes.
3451
3452 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3453 (byte-pophandler): New byte codes.
3454 (byte-goto-ops): Adjust accordingly.
3455 (byte-compile--use-old-handlers): New var.
3456 (byte-compile-catch): Use new byte codes depending on
3457 byte-compile--use-old-handlers.
3458 (byte-compile-condition-case--old): Rename from
3459 byte-compile-condition-case.
3460 (byte-compile-condition-case--new): New function.
3461 (byte-compile-condition-case): New function that dispatches depending
3462 on byte-compile--use-old-handlers.
3463 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3464 when we can.
3465
3466 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3467 Optimize under `condition-case' and `catch' if
3468 byte-compile--use-old-handlers is nil.
3469 (disassemble-offset): Handle new bytecodes.
3470
3471 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * subr.el (error): Use `declare'.
3474 (decode-char, encode-char): Use advertised-calling-convention instead
3475 of the docstring to discourage use of the `restriction' arg.
3476
3477 2013-10-03 Daiki Ueno <ueno@gnu.org>
3478
3479 * epg.el (epg-verify-file): Add a comment saying that it does not
3480 notify verification error as a return value nor a signal.
3481 (epg-verify-string): Ditto.
3482
3483 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3484
3485 * progmodes/compile.el (compilation-start): Try globbing the arg to
3486 `cd' (bug#15417).
3487
3488 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3489
3490 Sync with Tramp 2.2.8.
3491
3492 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3493 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3494 * net/trampver.el: Update release number.
3495
3496 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3497
3498 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3499 and default-process-coding-system for darwin only.
3500
3501 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3504
3505 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3506
3507 * vc/vc-git.el (vc-git-grep): Disable pager.
3508
3509 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3512 Use :url instead of :homepage, as per
3513 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3514
3515 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3516 non-nil, use `syntax-ppss' (Bug#15251).
3517
3518 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3519
3520 * progmodes/octave.el (inferior-octave-startup-file):
3521 Prefer ~/.emacs.d/init_octave.m.
3522
3523 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3524
3525 * emacs-lisp/package.el (package-desc-from-define):
3526 Accept additional arguments as plist, convert them to an alist and store
3527 them in the `extras' slot.
3528 (package-generate-description-file): Convert extras alist back to
3529 plist and append to the `define-package' form arguments.
3530 (package--alist-to-plist): New function.
3531 (package--ac-desc): Add `extras' slot.
3532 (package--add-to-archive-contents): Check if the archive-contents
3533 vector is long enough, and if it is, pass its `extras' slot value
3534 to `package-desc-create'.
3535 (package-buffer-info): Call `lm-homepage', pass the returned value
3536 to `package-desc-from-define'.
3537 (describe-package-1): Render the homepage button (Bug#13291).
3538
3539 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3540 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3541
3542 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3543
3544 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3545 and default-process-coding-system to utf-8-unix (Bug#15402).
3546
3547 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3548
3549 * subr.el (looking-back): Do not recommend using looking-back.
3550
3551 2013-09-28 Alan Mackenzie <acm@muc.de>
3552
3553 Fix indentation/fontification of Java enum with "implements".
3554
3555 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3556 regexp which matches "implements", etc., in Java.
3557 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3558 specifier clauses coming after "enum".
3559 * progmodes/cc-fonts.el (c-font-lock-declarations)
3560 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3561 after "enum".
3562
3563 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3564
3565 * faces.el (region): Change ns_selection_color to
3566 ns_selection_fg_color, add ns_selection_bg_color.
3567
3568 2013-09-28 Leo Liu <sdl.web@gmail.com>
3569
3570 * progmodes/octave.el (inferior-octave-completion-table)
3571 (inferior-octave-completion-at-point): Minor tweaks.
3572
3573 * textmodes/ispell.el (ispell-lookup-words): Rename from
3574 lookup-words. (Bug#15460)
3575 (lookup-words): Obsolete.
3576 (ispell-complete-word, ispell-command-loop): All uses changed.
3577
3578 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3579
3580 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3581 (octave-mode-menu): Add octave-send-buffer.
3582 (octave-send-buffer): New function.
3583
3584 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3585
3586 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3587 octave-lookfor.
3588 (octave-mode-menu): Add octave-lookfor.
3589 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3590 octave-lookfor.
3591 (octave-lookfor): New function.
3592
3593 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/cl-macs.el:
3596 (cl--loop-destr-temps): Remove.
3597 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3598 its convention.
3599 (cl--loop-set-iterator-function): New function.
3600 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3601 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3602 Bind `it' with `let' instead of substituting it with `cl-subst'.
3603 (cl--unused-var-p): New function.
3604 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3605 Eliminate some unused variable warnings (bug#15326).
3606
3607 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3608
3609 * doc-view.el (doc-view-scale-reset): Rename from
3610 `doc-view-reset-zoom-level'.
3611 (doc-view-scale-adjust): New command.
3612 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3613 `doc-view-scale-adjust'.
3614
3615 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3616
3617 * doc-view.el (doc-view-reset-zoom-level): New command.
3618 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3619 zoom commands (bug#15466).
3620
3621 2013-09-26 Kenichi Handa <handa@gnu.org>
3622
3623 * international/quail.el (quail-help): Make it not a command.
3624
3625 2013-09-26 Leo Liu <sdl.web@gmail.com>
3626
3627 * minibuffer.el (completion-all-sorted-completions): Make args
3628 optional as they are.
3629
3630 2013-09-25 Daniel Colascione <dancol@dancol.org>
3631
3632 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3633 specs are and that they're not evaluated.
3634
3635 2013-09-24 Sam Steingold <sds@gnu.org>
3636
3637 * midnight.el (clean-buffer-list-kill-regexps)
3638 (clean-buffer-list-kill-buffer-names): Update for the new Man
3639 buffer naming which includes the object name.
3640
3641 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3644 (eshell-parse-command, eshell-parse-pipeline): Use it since
3645 eshell-separate-commands requires a dynamic scoped var.
3646 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3647
3648 2013-09-23 Leo Liu <sdl.web@gmail.com>
3649
3650 * autoinsert.el (auto-insert-alist): Make the value of
3651 lexical-binding match its file setting.
3652
3653 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3654
3655 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3656
3657 * autoarg.el (autoarg-kp-digit-argument):
3658 * electric.el (Electric-command-loop):
3659 * kmacro.el (kmacro-step-edit-insert):
3660 Do not set universal-argument-num-events.
3661
3662 2013-09-22 Leo Liu <sdl.web@gmail.com>
3663
3664 * files.el (interpreter-mode-alist): Add octave.
3665
3666 2013-09-21 Alan Mackenzie <acm@muc.de>
3667
3668 C++: fontify identifier in declaration following "public:" correctly.
3669 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3670 to match "public", etc.
3671 (c-decl-prefix-re): Add ":" into the C++ value.
3672 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3673 bit. Add a check for a ":" preceded by "public", etc.
3674
3675 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3676
3677 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3678 recognized by GDB 7.5 and later.
3679
3680 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3681
3682 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3683
3684 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * subr.el (internal--call-interactively): New const.
3687 (called-interactively-p): Use it (bug#3984).
3688
3689 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3690
3691 * vc/pcvs.el (cvs-mode-ignore):
3692 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3693 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3694
3695 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3698 (eshell-ls-orig-insert-directory): Remove.
3699 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3700 (eshell-ls-use-in-dired): Use advice-add/remove.
3701 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3702 Add `orig-fun' arg for use in :around advice.
3703 Make it check (redundantly) eshell-ls-use-in-dired.
3704
3705 2013-09-19 Glenn Morris <rgm@gnu.org>
3706
3707 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3708
3709 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3710
3711 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3712
3713 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3714
3715 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3716 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3717 (tramp-get-remote-python): New defuns.
3718 (tramp-get-remote-uid-with-perl)
3719 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3720 contributed by yary <not.com@gmail.com> (tiny change).
3721 (tramp-get-remote-uid-with-python)
3722 (tramp-get-remote-gid-with-python): New defuns. Python code
3723 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3724 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3725
3726 2013-09-19 Glenn Morris <rgm@gnu.org>
3727
3728 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3729
3730 * eshell/em-unix.el (eshell-remove-entries):
3731 Rename argument to avoid name-clash with global `top-level'.
3732
3733 * eshell/esh-proc.el (eshell-kill-process-function):
3734 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3735 (eshell-reset-after-proc): Remove unused arg `proc'.
3736
3737 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3738 (directory-files-and-attributes): Mark unused arg.
3739
3740 * eshell/em-unix.el (eshell-remove-entries):
3741 Remove unused arg `path'. Update callers.
3742
3743 * eshell/em-hist.el (eshell-hist-parse-arguments):
3744 Remove unused arg `silent'. Update callers.
3745
3746 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3747 Fix (f)boundp mix-up.
3748
3749 * eshell/em-smart.el (eshell-smart-scroll-window)
3750 (eshell-disable-after-change):
3751 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3752
3753 2013-09-18 Alan Mackenzie <acm@muc.de>
3754
3755 Fix fontification of type when followed by "const".
3756 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3757 "known" types from fontification.
3758
3759 2013-09-18 Glenn Morris <rgm@gnu.org>
3760
3761 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3762 (chart-face-list): Drop Emacsen without display-color-p.
3763
3764 * net/eww.el (libxml-parse-html-region): Declare.
3765 (eww-display-html): Explicit error if no libxml2 support.
3766
3767 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3768
3769 * image.el (image-type-from-buffer, image-multi-frame-p):
3770 Remove --without-x warning/error.
3771
3772 * mouse.el (mouse-yank-primary):
3773 * term.el (term-mouse-paste):
3774 Reorder to silence --without-x compilation.
3775
3776 * mpc.el (doc-view-mode): Silence --without-x compilation.
3777
3778 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3779 Silence --without-x compilation.
3780
3781 * progmodes/gud.el (gud-find-file, gud-mode):
3782 Silence --without-x compilation.
3783 (tooltip-mode): Declare.
3784
3785 * wdired.el (dired-backup-overwrite): Remove declaration.
3786 (wdired-mode-map): Add doc string.
3787
3788 * custom.el (x-get-resource): Declare.
3789
3790 * eshell/em-glob.el (ange-cache):
3791 * eshell/em-unix.el (ange-cache): Declare.
3792
3793 * faces.el (x-display-list, x-open-connection, x-get-resource):
3794 Declare.
3795
3796 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3797 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3798 Declare.
3799
3800 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3801
3802 * net/gnutls.el (gnutls-log-level): Declare.
3803
3804 * net/shr.el (image-size, image-animate): Declare.
3805
3806 * simple.el (font-info): Declare.
3807
3808 * subr.el (x-popup-dialog): Declare.
3809
3810 * term/common-win.el (x-select-enable-primary)
3811 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3812 Declare.
3813
3814 * term/ns-win.el (x-handle-args): Declare.
3815
3816 * term/x-win.el (x-select-enable-clipboard): Declare.
3817
3818 * term/w32-win.el (create-default-fontset): Declare.
3819
3820 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3821 Declare.
3822
3823 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3824 (fit-frame-to-buffer): Explicit error if --without-x.
3825 (mouse-autoselect-window-select): Silence compiler.
3826
3827 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3828
3829 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3830 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3831 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3832 * eshell/esh-util.el (eshell-sublist):
3833 Remove unused local variables.
3834
3835 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3836
3837 * textmodes/two-column.el: Make 2C-split work for --without-x.
3838 (scroll-bar-columns): Autoload.
3839 (top-level): Require fringe when compiling.
3840
3841 2013-09-18 Leo Liu <sdl.web@gmail.com>
3842
3843 * subr.el (add-hook): Robustify to handle closure as well.
3844
3845 2013-09-17 Glenn Morris <rgm@gnu.org>
3846
3847 * simple.el (messages-buffer-mode-map): Unbind "g".
3848
3849 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * help-mode.el (help-mode-finish): Use derived-mode-p.
3852 Remove obsolete highlighting.
3853
3854 * play/life.el (life-mode): Use define-derived-mode. Derive from
3855 special-mode.
3856 (life): Let-bind inhibit-read-only.
3857 (life-setup): Avoid `setq'. Use `life-mode'.
3858
3859 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3860 which should not be needed any more.
3861 (package-menu-refresh, package-menu-describe-package): Use user-error.
3862
3863 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3864 (eshell-post-rewrite-command-hook): Make obsolete.
3865 (eshell-parse-command): Simplify.
3866 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3867 (eshell--cmd): Declare.
3868 (eshell-parse-pipeline): Remove unused var `final-p'.
3869 Pass a dynvar to eshell-post-rewrite-command-hook.
3870 Implement the new eshell-post-rewrite-command-function.
3871 (eshell-invoke-directly): Remove unused arg `input'.
3872 * eshell/esh-io.el (eshell-io-initialize):
3873 Use eshell-post-rewrite-command-function (bug#15399).
3874 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3875 adjust to new calling convention.
3876 (eshell-create-handles): Rename args to avoid clashing with dynvar
3877 `standard-output'.
3878
3879 2013-09-17 Glenn Morris <rgm@gnu.org>
3880
3881 * simple.el (messages-buffer-mode): New major mode.
3882 (messages-buffer): New function.
3883 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3884 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3885 (ert-run-test): Use `messages-buffer' function.
3886 (ert--force-message-log-buffer-truncation): Ignore read-only.
3887 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3888 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3889
3890 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3893
3894 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3895
3896 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * icomplete.el (icomplete-in-buffer): New var.
3899 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3900 vars and replace them with functions.
3901 (icomplete-minibuffer-setup): Adjust accordingly.
3902 (icomplete--completion-table, icomplete--completion-predicate)
3903 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3904 New functions.
3905 (icomplete-forward-completions, icomplete-backward-completions)
3906 (icomplete-simple-completing-p, icomplete-exhibit)
3907 (icomplete-completions): Use them.
3908 (icomplete--in-region-buffer): New var.
3909 (icomplete--in-region-setup): New function.
3910 (icomplete-mode): Use it.
3911
3912 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3913 (bug#15379).
3914 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3915 return args and options.
3916 (eshell-eval-using-options): Use the new return value of
3917 eshell--do-opts to set the options's vars in their scope.
3918 (eshell--set-option): Rename from eshell-set-option.
3919 Add arg `opt-vals'.
3920 (eshell--process-option): Rename from eshell-process-option.
3921 Add arg `opt-vals'.
3922 (eshell--process-args): Use an `opt-vals' alist to store the options's
3923 values during their processing and return them additionally to the
3924 remaining args.
3925
3926 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3927
3928 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3929 continuation character an operator, as far as indentation is
3930 concerned (Bug#15369).
3931
3932 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3933
3934 * window.el (window--state-put-2): Don't process buffer state
3935 when buffer doesn't exist any more (Bug#15382).
3936
3937 2013-09-15 Glenn Morris <rgm@gnu.org>
3938
3939 * eshell/em-unix.el (eshell/rm):
3940 Make -f ignore missing files. (Bug#15373)
3941
3942 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3943 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3944 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3945
3946 2013-09-14 Glenn Morris <rgm@gnu.org>
3947
3948 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3949
3950 2013-09-13 Glenn Morris <rgm@gnu.org>
3951
3952 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3953 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3954
3955 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3956
3957 * frame.el (x-focus-frame): Mark as declared in frame.c.
3958
3959 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * ls-lisp.el: Use advice-add.
3962 (original-insert-directory): Remove.
3963 (ls-lisp--insert-directory): Rename from insert-directory; add
3964 `orig-fun' argument.
3965 (insert-directory): Advise.
3966
3967 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3968
3969 * term.el (term-emulate-terminal): Decode the command string
3970 before passing it to term-command-hook. (Bug#15337)
3971
3972 2013-09-13 Glenn Morris <rgm@gnu.org>
3973
3974 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3975
3976 * eshell/esh-ext.el (eshell-search-path): Declare.
3977
3978 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3979 Otherwise an error occurs if eshell-dirs module not loaded.
3980
3981 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3982
3983 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3986 `tramp-check-proper-host'. Check for a valid method name.
3987
3988 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3989 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3990 * net/tramp-sh.el (tramp-maybe-open-connection):
3991 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3992
3993 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3994 also for hash values.
3995
3996 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * term/ns-win.el (parameters): Don't declare as dynamic.
3999 (before-make-frame-hook): Don't add ineffective function.
4000
4001 * eshell/*.el: Use lexical-binding (bug#15231).
4002
4003 2013-09-12 Kenichi Handa <handa@gnu.org>
4004
4005 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4006
4007 2013-09-12 Glenn Morris <rgm@gnu.org>
4008
4009 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4010 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4011
4012 * subr.el (do-after-load-evaluation): Also give compiler warnings
4013 when obsolete files are used (except by obsolete files).
4014
4015 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4016 in the status output, assume `filename' is the first. (Bug#15322)
4017
4018 * vc/vc.el (vc-deduce-fileset): Doc fix.
4019
4020 * calc/calc-help.el (Info-goto-node):
4021 * progmodes/cperl-mode.el (Info-find-node):
4022 * vc/ediff.el (Info-goto-node): Update declarations.
4023
4024 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4025
4026 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4027 (vc-bzr-pull): Require vc-dispatcher.
4028 * vc/vc-git.el (vc-compilation-mode): Declare.
4029 (vc-git-pull): Require vc-dispatcher.
4030
4031 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4032
4033 * progmodes/octave.el (help-button-action): Declare.
4034
4035 * shell.el (shell-directory-tracker): Output error as a message
4036 rather than just returning it as a string.
4037 (shell-process-pushd): Remove useless use of message.
4038
4039 * dframe.el (dframe-timer-fn):
4040 * files.el (dir-locals-read-from-file):
4041 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4042 (mpc-format):
4043 * reveal.el (reveal-post-command):
4044 * saveplace.el (load-save-place-alist-from-file):
4045 * shell.el (shell-resync-dirs):
4046 * w32-common-fns.el (x-get-selection-value):
4047 * emacs-lisp/copyright.el (copyright-find-copyright):
4048 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4049 * emulation/tpu-edt.el (tpu-copy-keyfile):
4050 * play/bubbles.el (bubbles--mark-neighbourhood):
4051 * progmodes/executable.el
4052 (executable-make-buffer-file-executable-if-script-p):
4053 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4054
4055 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 Cleanup Eshell to rely less on dynamic scoping.
4058 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4059 last-value, and ext-command here. Bind `args' closer to `body'.
4060 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4061 (eshell--args): Declare new dynamic var.
4062 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4063 last-value, and ext-command. Pass `args' to `body'.
4064 (eshell-process-args): Bind eshell--args.
4065 (eshell-set-option): Use eshell--args.
4066 * eshell/eshell.el (eshell): Use derived-mode-p.
4067 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4068 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4069 (eshell-glob-function): Declare.
4070 * eshell/esh-util.el: Require cl-lib.
4071 (eshell-read-hosts-file): Avoid add-to-list.
4072 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4073 `err'.
4074 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4075 Declare.
4076 (eshell/diff): Remove unused var `err'.
4077 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4078 `killflag'.
4079 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4080 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4081 first use.
4082 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4083 Move declaration before first use.
4084 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4085 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4086 rely on cl-return.
4087
4088 2013-09-12 Glenn Morris <rgm@gnu.org>
4089
4090 * term/ns-win.el (global-map): Remove binding for ispell-next,
4091 deleted 1999-05-29. (Bug#15357)
4092
4093 2013-09-11 Glenn Morris <rgm@gnu.org>
4094
4095 * echistory.el (electric-command-history): Remove call to deleted func.
4096
4097 * play/landmark.el (landmark-mode): Fix typos.
4098
4099 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4100 Check cvs-sort-ignore-file is bound.
4101
4102 * savehist.el: No need for cl when compiling on Emacs.
4103
4104 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4107 (bug#15338).
4108 (eshell-self-insert-command, eshell-send-invisible):
4109 Remove unused argument.
4110 (eshell-handle-control-codes): Remove unused var `orig'.
4111 Avoid delete-backward-char.
4112
4113 * files.el (set-auto-mode): Simplify a bit further.
4114
4115 2013-09-11 Glenn Morris <rgm@gnu.org>
4116
4117 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4118 (set-auto-mode): Don't regexp-quote elements.
4119 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4120 * progmodes/cc-mode.el (interpreter-mode-alist):
4121 * progmodes/ruby-mode.el (interpreter-mode-alist):
4122 Revert previous change.
4123
4124 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * play/snake.el (snake-mode):
4127 * play/mpuz.el (mpuz-mode):
4128 * play/landmark.el (lm-mode):
4129 * play/blackbox.el (blackbox-mode):
4130 * play/5x5.el (5x5-mode):
4131 * obsolete/options.el (Edit-options-mode):
4132 * net/quickurl.el (quickurl-list-mode):
4133 * net/newst-treeview.el (newsticker-treeview-mode):
4134 * mail/rmailsum.el (rmail-summary-mode):
4135 * mail/mspools.el (mspools-mode):
4136 * locate.el (locate-mode):
4137 * ibuffer.el (ibuffer-mode):
4138 * emulation/ws-mode.el (wordstar-mode):
4139 * emacs-lisp/debug.el (debugger-mode):
4140 * array.el (array-mode):
4141 * net/eudc.el (eudc-mode): Use define-derived-mode.
4142 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4143 Move initialization into declaration.
4144 (mairix-searches-mode): Use define-derived-mode.
4145 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4146 (eudc-edit-hotlist): Use dolist.
4147 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4148 (Man-mode): Use define-derived-mode.
4149 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4150 (Info-edit-mode): Use define-derived-mode.
4151 (Info-cease-edit): Use Info-mode.
4152 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4153 into declaration.
4154 (eshell-mode): Use define-derived-mode.
4155 * chistory.el (command-history-mode-map): Rename from
4156 command-history-map.
4157 (command-history-mode): Use define-derived-mode.
4158 (Command-history-setup): Remove function.
4159 * calc/calc.el (calc-trail-mode-map): New var.
4160 (calc-trail-mode): Use define-derived-mode.
4161 (calc-trail-buffer): Set calc-main-buffer manually.
4162 * bookmark.el (bookmark-insert-annotation): New function.
4163 (bookmark-edit-annotation): Use it.
4164 (bookmark-edit-annotation-mode): Make it a proper major mode.
4165 (bookmark-send-edited-annotation): Use derived-mode-p.
4166 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4167 closer to its ideal place. Use \' to match EOS.
4168
4169 * profiler.el (profiler-calltree-find): Use function-equal.
4170
4171 2013-09-10 Glenn Morris <rgm@gnu.org>
4172
4173 * files.el (interpreter-mode-alist): Convert to regexps.
4174 (set-auto-mode): Adapt for this. (Bug#15306)
4175 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4176 Comment out unused variable.
4177 * progmodes/cc-mode.el (interpreter-mode-alist):
4178 * progmodes/python.el (interpreter-mode-alist):
4179 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4180 * progmodes/sh-script.el (sh-set-shell):
4181 No longer use interpreter-mode-alist to get list of shells.
4182
4183 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4184
4185 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * simple.el: Use set-temporary-overlay-map for universal-argument.
4188 (universal-argument-map): Don't use default-bindings (bug#15317).
4189 Bind switch-frame explicitly. Replace universal-argument-minus with
4190 a conditional binding.
4191 (universal-argument-num-events, saved-overriding-map): Remove.
4192 (restore-overriding-map): Remove.
4193 (universal-argument--mode): Rename from save&set-overriding-map,
4194 and rewrite.
4195 (universal-argument, universal-argument-more, negative-argument)
4196 (digit-argument): Adjust accordingly.
4197 (universal-argument-minus): Remove.
4198 (universal-argument-other-key): Remove.
4199
4200 * subr.el (with-demoted-errors): Add `format' argument.
4201
4202 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4205 `tramp-cleanup-connection'.
4206
4207 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4208 parameters KEEP-DEBUG and KEEP-PASSWORD.
4209
4210 * net/tramp.el (tramp-file-name-handler):
4211 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4212 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4213 (tramp-maybe-open-connection):
4214 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4215 Use `tramp-cleanup-connection'.
4216
4217 * net/tramp-sh.el (tramp-maybe-open-connection):
4218 Catch 'uname-changed inside the progress reporter.
4219
4220 2013-09-10 Glenn Morris <rgm@gnu.org>
4221
4222 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4223
4224 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4225 returns "alternate access method" in mode (eg "-rw-r--r--.").
4226
4227 2013-09-08 Glenn Morris <rgm@gnu.org>
4228
4229 * saveplace.el (load-save-place-alist-from-file):
4230 Demote errors. (Bug#15305)
4231
4232 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4233
4234 Improve compatibility with older Emacsen, and XEmacs.
4235
4236 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4237 only if it is bound. It isn't for XEmacs.
4238 (with-tramp-progress-reporter): Do not let-bind `result'.
4239 This yields to scoping errors in XEmacs.
4240 (tramp-handle-make-auto-save-file-name): New function, moved from
4241 tramp-sh.el.
4242
4243 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4244 for `make-auto-save-file-name'.
4245 (tramp-adb--gnu-switches-to-ash):
4246 Use `tramp-compat-replace-regexp-in-string'.
4247
4248 * net/tramp-cache.el (tramp-cache-print): Call
4249 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4250
4251 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4252 bound. It isn't for XEmacs.
4253
4254 * net/tramp-compat.el (tramp-compat-copy-file):
4255 Catch `wrong-number-of-arguments' error.
4256 (tramp-compat-replace-regexp-in-string): New defun.
4257
4258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4259 for `make-auto-save-file-name'.
4260 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4261 `copy-file'.
4262 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4263 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4264 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4265
4266 * net/tramp-gw.el (tramp-gw-open-network-stream):
4267 Use `tramp-compat-replace-regexp-in-string'.
4268
4269 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4270 Call `tramp-handle-make-auto-save-file-name'.
4271 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4272 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4273 (tramp-sh-file-inotifywait-process-filter):
4274 Use `tramp-compat-replace-regexp-in-string'.
4275 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4276
4277 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4278 for `make-auto-save-file-name'.
4279 (tramp-smb-handle-copy-directory):
4280 Call `tramp-compat-replace-regexp-in-string'.
4281 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4282 (tramp-smb-handle-copy-file): Improve error message.
4283 (tramp-smb-handle-rename-file): Rename directly only in case
4284 `newname' does not exist yet. This is a restriction of smbclient.
4285 (tramp-smb-maybe-open-connection): Rerun the function only when
4286 `auth-sources' is non-nil.
4287
4288 2013-09-08 Kenichi Handa <handa@gnu.org>
4289
4290 * international/characters.el: Set category "^" (Combining) for
4291 more characters.
4292
4293 2013-09-07 Alan Mackenzie <acm@muc.de>
4294
4295 Correctly fontify Java class constructors.
4296 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4297 in Java Mode.
4298 (c-recognize-typeless-decls): Set the Java value to t.
4299 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4300 While handling a "(", add a check for, effectively, Java, and handle a
4301 "typeless" declaration there.
4302
4303 2013-09-07 Roland Winkler <winkler@gnu.org>
4304
4305 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4306 field subtitle for entry type book.
4307
4308 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * minibuffer.el: Make minibuffer-complete call completion-in-region
4311 rather than other way around.
4312 (completion--some, completion-pcm--find-all-completions):
4313 Don't delay signals when debugging.
4314 (minibuffer-completion-contents): Beware fields within the
4315 minibuffer contents.
4316 (completion-all-sorted-completions): Use defvar-local.
4317 (completion--do-completion, completion--cache-all-sorted-completions)
4318 (completion-all-sorted-completions, minibuffer-force-complete):
4319 Add args `beg' and `end'.
4320 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4321 (minibuffer-complete): Use completion-in-region.
4322 (completion-complete-and-exit): New fun, extracted from
4323 minibuffer-complete-and-exit.
4324 (minibuffer-complete-and-exit): Use it.
4325 (completion--complete-and-exit): Rename from
4326 minibuffer--complete-and-exit.
4327 (completion-in-region--single-word): New function, extracted from
4328 minibuffer-complete-word.
4329 (minibuffer-complete-word): Use it.
4330 (display-completion-list): Make `common-substring' argument obsolete.
4331 (completion--in-region): Call completion--in-region-1 instead of
4332 minibuffer-complete.
4333 (completion-help-at-point): Pass boundaries to
4334 minibuffer-completion-help as args rather than via an overlay.
4335 (completion-pcm--string->pattern): Use `any-delim'.
4336 (completion-pcm--optimize-pattern): New function.
4337 (completion-pcm--pattern->regex): Handle `any-delim'.
4338 * icomplete.el (icomplete-forward-completions)
4339 (icomplete-backward-completions, icomplete-completions):
4340 Adjust calls to completion-all-sorted-completions and
4341 completion--cache-all-sorted-completions.
4342 (icomplete-with-completion-tables): Default to t.
4343 * emacs-lisp/crm.el (crm--current-element): Rename from
4344 crm--select-current-element. Don't put an overlay but return the
4345 boundaries instead.
4346 (crm--completion-command): Take two new args to bind to the boundaries.
4347 (crm-completion-help): Adjust accordingly.
4348 (crm-complete): Use completion-in-region.
4349 (crm-complete-word): Use completion-in-region--single-word.
4350 (crm-complete-and-exit): Use completion-complete-and-exit.
4351
4352 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4355 than dynamically.
4356
4357 2013-09-06 Juri Linkov <juri@jurta.org>
4358
4359 * info.el (Info-display-images-node): When image file doesn't exist
4360 display text version of the image if it's provided in the Info file.
4361 Otherwise, display the location of missing image from SRC attribute.
4362 Add help-echo text property from ALT attribute. (Bug#15279)
4363
4364 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4367 (edit-abbrevs-mode): Use define-derived-mode.
4368
4369 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4370 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4371 that it's defined.
4372 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4373 Use define-derived-mode.
4374
4375 * epg.el (epg-start-encrypt): Minor CSE simplification.
4376
4377 2013-09-06 William Xu <william.xwl@gmail.com>
4378
4379 * arc-mode.el: Add support for 7za (bug#15264).
4380 (archive-7z-program): New var.
4381 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4382 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4383 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4384
4385 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4386
4387 Remove URL syntax.
4388
4389 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4390 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4391 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4392 (tramp-postfix-host-format, tramp-file-name-regexp)
4393 (tramp-completion-file-name-regexp)
4394 (tramp-completion-dissect-file-name)
4395 (tramp-handle-substitute-in-file-name): Remove 'url case.
4396 (tramp-file-name-regexp-url)
4397 (tramp-completion-file-name-regexp-url): Remove constants.
4398
4399 2013-09-06 Glenn Morris <rgm@gnu.org>
4400
4401 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4402
4403 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4404
4405 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4406 keywords" below "here-doc beginnings" (Bug#15270).
4407
4408 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * subr.el (pop): Use `car-safe'.
4411 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4412 to detect unused `pop' return value.
4413
4414 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4415 var `block-regexp'.
4416 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4417 (python-fill-string): Remove unused var `marker'.
4418 (python-skeleton-add-menu-items): Remove unused var `items'.
4419
4420 * international/mule-cmds.el: Require CL.
4421 (find-coding-systems-for-charsets): Avoid add-to-list.
4422 (sanitize-coding-system-list): New function, extracted from
4423 select-safe-coding-system-interactively.
4424 (select-safe-coding-system-interactively): Use it.
4425 (read-input-method-name): Accept symbols for `default'.
4426
4427 * emacs-lisp/advice.el (defadvice): Add indent rule.
4428
4429 2013-09-05 Daniel Hackney <dan@haxney.org>
4430
4431 * dired-x.el:
4432 * net/ange-ftp.el:
4433 * net/browse-url.el:
4434 * net/dbus.el:
4435 * net/eudc.el:
4436 * net/eudcb-ldap.el:
4437 * net/eww.el:
4438 * net/imap.el:
4439 * printing.el:
4440 * vc/ediff-diff.el:
4441 * vc/ediff-init.el:
4442 * vc/ediff-merg.el:
4443 * vc/ediff-mult.el:
4444 * vc/ediff-util.el:
4445 * vc/ediff-wind.el:
4446 * vc/ediff.el:
4447 * vc/emerge.el:
4448 * vc/pcvs.el:
4449 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4450 byte compiler. Remove some unused let-bound variables.
4451
4452 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4455 a "ref-cell", since it gets better optimized (bug#14883).
4456
4457 2013-09-05 Glenn Morris <rgm@gnu.org>
4458
4459 * progmodes/cc-awk.el (c-forward-sws): Declare.
4460
4461 2013-09-04 Glenn Morris <rgm@gnu.org>
4462
4463 * generic-x.el [rul-generic-mode]: Require cc-mode.
4464 (c++-mode-syntax-table): Declare.
4465 (rul-generic-mode-syntax-table): Init in the defvar.
4466
4467 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4470 (vc-do-command, vc-set-async-update):
4471 * vc/vc-mtn.el (vc-mtn-dir-status):
4472 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4473 (vc-hg-pull, vc-hg-merge-branch):
4474 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4475 (vc-git-merge-branch):
4476 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4477 (vc-cvs-dir-status-files):
4478 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4479 (vc-bzr-dir-status-files):
4480 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4481 * vc/vc-annotate.el: Use lexical-binding.
4482 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4483 (vc-sentinel-movepoint): Declare.
4484 (vc-annotate): Don't use `goto-line'.
4485 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4486 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4487 (vc-sentinel-movepoint): Declare.
4488 * vc/vc-svn.el: Use lexical-binding.
4489 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4490 * vc/vc-sccs.el:
4491 * vc/vc-rcs.el: Use lexical-binding.
4492
4493 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4494 `deleted'. Don't drop errors silently.
4495
4496 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4497
4498 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4499
4500 * vc/vc.el (vc-ignore): Rewrite.
4501 (vc-default-ignore): New function.
4502 (vc-default-ignore-completion-table): Use find-ignore-file.
4503
4504 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4505 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4506 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4507 Remove. Most code moved to vc.el.
4508
4509 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4512 * net/tramp-smb.el (tramp-smb-get-file-entries):
4513 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4514 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4515
4516 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4517 Update call to it.
4518 (eww-change-select): Remove unused var `properties'.
4519 (eww-make-unique-file-name): Remove unused var `base'.
4520
4521 * finder.el (finder-compile-keywords): Don't mess with windows.
4522
4523 * calculator.el (calculator-funcall): Fix typo in last change.
4524
4525 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4526
4527 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4528 <pkg>-autoloads.el file stop us.
4529
4530 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4531 warnings, and factor out common code.
4532
4533 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4534
4535 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4536 two-character operators and whether the character preceding them
4537 changes their meaning (Bug#15208).
4538
4539 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4540
4541 Format code sent to Python shell for robustness.
4542 * progmodes/python.el (python-shell-buffer-substring):
4543 New function.
4544 (python-shell-send-region, python-shell-send-buffer): Use it.
4545
4546 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4547
4548 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4549 * net/tramp.el (tramp-user-error): ... here.
4550 (tramp-find-method, tramp-check-proper-host)
4551 (tramp-dissect-file-name, tramp-debug-message)
4552 (tramp-handle-shell-command):
4553 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4554 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4555
4556 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4557
4558 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4559
4560 * avoid.el (mouse-avoidance-point-position)
4561 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4562 returns nil.
4563
4564 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4565
4566 * progmodes/python.el (python-shell-completion-get-completions):
4567 Drop use of deleted `comint-last-prompt-overlay'.
4568 (python-nav-if-name-main): New command.
4569
4570 2013-09-01 Glenn Morris <rgm@gnu.org>
4571
4572 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4573 Avoid leading space in $wins. Otherwise the sed command used by
4574 eg compile-main ends up containing "/*.el". (Bug#15170)
4575
4576 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4577
4578 2013-08-30 Glenn Morris <rgm@gnu.org>
4579
4580 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4581 Fix is-this-a-directory logic. (Bug#15220)
4582
4583 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * textmodes/css-mode.el: Use SMIE.
4586 (css-smie-grammar): New var.
4587 (css-smie--forward-token, css-smie--backward-token)
4588 (css-smie-rules): New functions.
4589 (css-mode): Use them.
4590 (css-navigation-syntax-table): Remove var.
4591 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4592 (css-indent-calculate, css-indent-line): Remove functions.
4593
4594 Misc changes to reduce use of `(lambda...); and other cleanups.
4595 * cus-edit.el: Use lexical-binding.
4596 (customize-push-and-save, customize-apropos)
4597 (custom-buffer-create-internal): Use closures.
4598 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4599 * progmodes/ada-xref.el: Use setq.
4600 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4601 * dframe.el: Use lexical-binding.
4602 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4603 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4604 * descr-text.el: Use lexical-binding.
4605 (describe-text-widget, describe-text-sexp, describe-property-list):
4606 Use closures.
4607 * comint.el (comint-history-isearch-push-state): Use a closure.
4608 * calculator.el: Use lexical-binding.
4609 (calculator-number-to-string): Make it work with lexical-binding.
4610 (calculator-funcall): Same and use cl-letf.
4611
4612 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4613 (lisp--company-doc-string, lisp--company-location): New functions.
4614 (lisp-completion-at-point): Use them to improve Company support.
4615
4616 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4617 params of lambda expressions.
4618 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4619 (ruby-smie--opening-pipe-p): New function.
4620 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4621 symbols and matched |...| for formal params.
4622 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4623 from being treated as hanging. Handle "rescue".
4624
4625 2013-08-29 Glenn Morris <rgm@gnu.org>
4626
4627 * progmodes/cc-engine.el (c-pull-open-brace):
4628 Move definition before use.
4629
4630 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4633 are immutable. Don't use `unsafe' any more.
4634 (cl--defsubst-expand): Don't substitute at the same time as keeping
4635 a residual unused let-binding. Don't use `unsafe' any more.
4636
4637 2013-08-29 Glenn Morris <rgm@gnu.org>
4638
4639 * calendar/cal-china.el (calendar-chinese-year-cache):
4640 Recenter on 2015.
4641
4642 * nxml/nxml-util.el (nxml-debug-clear-inside):
4643 Use cl-loop rather than loop.
4644
4645 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4646
4647 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4648
4649 2013-08-28 Glenn Morris <rgm@gnu.org>
4650
4651 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4652
4653 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4654
4655 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4656
4657 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * simple.el (repeat-complex-command--called-interactively-skip):
4660 New function.
4661 (repeat-complex-command): Use it (bug#14136).
4662
4663 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4664 (c-define-abbrev-table): Add `doc' argument.
4665 (c-mode-abbrev-table, c++-mode-abbrev-table)
4666 (objc-mode-abbrev-table, java-mode-abbrev-table)
4667 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4668 (awk-mode-abbrev-table): Use it.
4669 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4670 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4671 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4672 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4673 Move initialization into the declaration; and remove any
4674 autoload cookie.
4675
4676 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4677 and dynamic let binding.
4678
4679 * vc/smerge-mode.el: Remove redundant :group args.
4680
4681 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4682 to load-path.
4683
4684 2013-08-28 Juri Linkov <juri@jurta.org>
4685
4686 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4687 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4688 (isearch-other-meta-char): Handle an undefined shifted printing
4689 character by downshifting it. (Bug#15200)
4690
4691 2013-08-28 Juri Linkov <juri@jurta.org>
4692
4693 * isearch.el (isearch-search): Change regexp error message for
4694 non-regexp searches. (Bug#15166)
4695
4696 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4697
4698 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4699 for portability to hosts where /bin/sh has problems.
4700
4701 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4704
4705 2013-08-27 Juri Linkov <juri@jurta.org>
4706
4707 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4708 in the keyboard macro. (Bug#15126)
4709
4710 2013-08-27 Juri Linkov <juri@jurta.org>
4711
4712 * isearch.el (isearch-quote-char): Comment out converting unibyte
4713 to multibyte, thus syncing with its `quoted-insert' counterpart.
4714 (Bug#15166)
4715
4716 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4717
4718 * window.el (display-buffer-use-some-window): Add missing
4719 argument in call of get-largest-window (Bug#15185).
4720 Reported by Stephen Leake.
4721
4722 2013-08-27 Glenn Morris <rgm@gnu.org>
4723
4724 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4725
4726 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4729 from a matcher-function unless there's no more matches (bug#15161).
4730
4731 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4732
4733 * minibuffer.el: Revert change from 2013-08-20.
4734
4735 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4736 with text property `tramp-default', if appropriate.
4737 (tramp-check-proper-host): New defun.
4738 (tramp-dissect-file-name): Do not check hostname. Revert change
4739 of 2013-03-18.
4740 (tramp-backtrace): Make VEC-OR-PROC optional.
4741
4742 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4743 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4744 * net/tramp-sh.el (tramp-maybe-open-connection):
4745 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4746 Apply `tramp-check-proper-host'.
4747
4748 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4749
4750 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4751 lambda expression in order to have `describe-variable' display it.
4752
4753 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4754
4755 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4756 BUF can be optional. (Bug#15186)
4757
4758 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4759
4760 * progmodes/flymake.el (flymake-get-real-file-name-function):
4761 Fix broken customization. (Bug#15184)
4762
4763 2013-08-25 Alan Mackenzie <acm@muc.de>
4764
4765 Improve indentation of bracelists defined by macros (without "=").
4766
4767 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4768 expansion begins with "{", regard it as bracelist when it doesn't
4769 contain a ";".
4770
4771 Parse C++ inher-intro when there's a template split over 2 lines.
4772
4773 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4774 rigorously the search for "class" etc. followed by ":".
4775
4776 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4777 random languages a regexp which never matches rather than nil.
4778
4779 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4780
4781 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4782 (c-awk-regexp-one-line-possibly-open-char-list-re)
4783 (c-awk-one-line-possibly-open-regexp-re)
4784 (c-awk-one-line-non-syn-ws*-re): Remove.
4785 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4786 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4787 (c-awk-space*-unclosed-regexp-/-re): New constants.
4788 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4789 aren't regexp delimiters.
4790
4791 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4792 handling for a rare situation in AWK Mode involving unterminated
4793 strings/regexps.
4794
4795 2013-08-23 Glenn Morris <rgm@gnu.org>
4796
4797 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4798
4799 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4800
4801 * files.el (create-file-buffer): If the result would begin with
4802 spaces, prepend a "|" instead of removing them. (Bug#15162)
4803
4804 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4807 text-properties (bug#15155).
4808
4809 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4810 exist any more.
4811 (calc-keypad-redraw): Remove unused var `pad'.
4812 (calc-keypad-press): Remove unused var `menu'.
4813
4814 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4815
4816 * window.el (display-buffer-pop-up-frame):
4817 Call pop-up-frame-function with BUFFER current so `make-frame' will
4818 use it as the new frame's buffer (Bug#15133).
4819
4820 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * calendar/timeclock.el: Minor cleanups.
4823 (timeclock-ask-before-exiting, timeclock-use-display-time):
4824 Use `symbol'.
4825 (timeclock-modeline-display): Define as alias before the
4826 actual definition.
4827 (timeclock-mode-line-display): Use define-minor-mode.
4828 (timeclock-day-list-template): Make it a function, add an argument.
4829 (timeclock-day-list-required, timeclock-day-list-length)
4830 (timeclock-day-list-debt, timeclock-day-list-span)
4831 (timeclock-day-list-break): Adjust calls accordingly.
4832
4833 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4836 Use read--expression so that completion works again.
4837
4838 2013-08-21 Sam Steingold <sds@gnu.org>
4839
4840 Add rudimentary inferior shell interaction
4841 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4842 (sh-set-shell): Reset it.
4843 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4844 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4845
4846 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * align.el: Use lexical-binding.
4849 (align-region): Simplify accordingly.
4850
4851 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4852
4853 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4854
4855 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4856 `non-essential' up.
4857
4858 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4859
4860 * net/tramp.el:
4861 * net/tramp-adb.el:
4862 * net/tramp-cmds.el:
4863 * net/tramp-ftp.el:
4864 * net/tramp-gvfs.el:
4865 * net/tramp-gw.el:
4866 * net/tramp-sh.el: Don't wrap external variable declarations by
4867 `eval-when-compile'.
4868
4869 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4870
4871 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4872 now that Emacs supports ImageMagick animations.
4873
4874 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4875
4876 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4877 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4878
4879 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4880
4881 * window.el (mouse-autoselect-window-select): Do autoselect when
4882 mouse pointer is on margin.
4883
4884 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4885
4886 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4887
4888 2013-08-16 Glenn Morris <rgm@gnu.org>
4889
4890 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4891 Handle "Remote Directory" response of some clients. (Bug#15058)
4892
4893 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4894 Tweak warning. (Bug#14926)
4895
4896 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4897 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4898
4899 * image-mode.el (image-mode-map): Add menu items to reverse,
4900 increase, decrease, reset animation speed.
4901 (image--set-speed, image-increase-speed, image-decrease-speed)
4902 (image-reverse-speed, image-reset-speed): New functions.
4903 (image-mode-map): Add bindings for speed commands.
4904
4905 * image.el (image-animate-get-speed, image-animate-set-speed):
4906 New functions.
4907 (image-animate-timeout): Respect image :speed property.
4908
4909 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4912 previous line (bug#15101).
4913 (debugger-eval-expression, debugger-record-expression):
4914 Use read--expression (bug#15102).
4915
4916 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4917
4918 Remove byte compiler warnings, visible when compiling with
4919 `byte-compile-force-lexical-warnings' set to t.
4920
4921 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4922 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4923 (tramp-handle-unhandled-file-name-directory)
4924 (tramp-handle-file-notify-add-watch, tramp-action-login)
4925 (tramp-action-succeed, tramp-action-permission-denied)
4926 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4927 arguments with "_".
4928
4929 * net/tramp-adb.el (tramp-adb-parse-device-names)
4930 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4931 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4932 (tramp-adb-handle-file-truename): Remove unused arguments.
4933
4934 * net/tramp-cache.el (tramp-flush-directory-property)
4935 (tramp-flush-connection-property, tramp-list-connections)
4936 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4937
4938 * net/tramp-compat.el (tramp-compat-make-temp-file):
4939 Rename FILENAME to F.
4940
4941 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4942 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4943 (tramp-zeroconf-parse-workstation-device-names)
4944 (tramp-zeroconf-parse-webdav-device-names)
4945 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4946
4947 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4948 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4949
4950 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4951 arguments.
4952 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4953 (tramp-sh-handle-insert-file-contents-literally)
4954 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4955 with "_".
4956 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4957 Remove unused variables.
4958
4959 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4960 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4961 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4962
4963 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4964 Make them a defconst.
4965 (tramp-uuencode-region): Remove unused variable.
4966
4967 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4968
4969 * frameset.el (frameset--prop-setter): New function.
4970 (frameset-prop): Add gv-setter declaration.
4971 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4972 parameter was already set in FILTERED. Doc fix.
4973 (frameset--record-minibuffer-relationships): Allow saving a
4974 minibufferless frame without its corresponding minibuffer frame.
4975 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4976 frame, if the frame id matches.
4977 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4978 frames before orphaned ones.
4979 (frameset-restore): Warn about orphaned windows, instead of error out.
4980
4981 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4982
4983 * window.el (window-make-atom): Don't overwrite parameter
4984 already present.
4985 (display-buffer-in-atom-window): Handle special case where we
4986 split an already atomic window.
4987 (window--major-non-side-window, display-buffer-in-side-window)
4988 (window--side-check): Ignore minibuffer window when walking
4989 window tree.
4990 (window-deletable-p): Return 'frame only if no other frame uses
4991 our minibuffer window.
4992 (record-window-buffer): Run buffer-list-update-hook.
4993 (split-window): Make sure window--check-frame won't destroy an
4994 existing atomic window in case the new window gets nested
4995 inside.
4996 (display-buffer-at-bottom): Ignore minibuffer window when
4997 walking window tree. Don't split a side window.
4998 (pop-to-buffer): Don't set-buffer here, the select-window call
4999 should do that.
5000 (mouse-autoselect-window-select): Autoselect only if we are in the
5001 text portion of the window.
5002
5003 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5004
5005 * net/shr.el (shr-parse-image-data): New function to grab both the
5006 data itself and the Content-Type.
5007 (shr-put-image): Use it.
5008
5009 * net/eww.el (eww-display-image): Ditto.
5010
5011 * image.el (image-content-type-suffixes): New variable.
5012
5013 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5014
5015 * progmodes/python.el (python-imenu--build-tree)
5016 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5017
5018 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5019
5020 * simple.el (backward-word): Mention the optional argument.
5021
5022 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * frameset.el (frameset--make): Rename constructor from make-frameset.
5025 (frameset-p, frameset-valid-p): Don't autoload.
5026 (frameset-valid-p): Use normal accessors.
5027
5028 2013-08-13 Glenn Morris <rgm@gnu.org>
5029
5030 * progmodes/compile.el (compile-command): Tweak example in doc.
5031 * obsolete/scribe.el (scribe-mode):
5032 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5033
5034 * mail/feedmail.el (feedmail-confirm-outgoing)
5035 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5036
5037 * cus-start.el (truncate-partial-width-windows): Fix type.
5038
5039 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5040
5041 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5042
5043 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * emacs-lisp/timer.el (timer--time-setter): New function.
5046 (timer--time): Use it as gv-setter.
5047
5048 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5049 setter is not a symbol.
5050
5051 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5052
5053 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5054 if sending fails. This makes debugging easier.
5055
5056 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5059 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5060 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5061
5062 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5063
5064 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5065
5066 2013-08-12 Glenn Morris <rgm@gnu.org>
5067
5068 * format.el (format-annotate-function):
5069 Handle read-only text properties in the source. (Bug#14887)
5070
5071 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5072
5073 * net/eww.el (eww-display-html): Ignore coding system errors.
5074 One web site uses "utf-8lias" as the coding system.
5075
5076 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5077
5078 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5079
5080 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5083 (tutorial--detailed-help): Remove unused local variables.
5084 (tutorial--save-tutorial-to): Use ignore-errors.
5085 (help-with-tutorial): Use looking-at-p.
5086
5087 * view.el (view-buffer-other-window, view-buffer-other-frame):
5088 Mark unused arguments.
5089
5090 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5091 (woman-select-symbol-fonts, woman, woman-find-file)
5092 (woman-insert-file-contents, woman-non-underline-faces):
5093 Use string-match-p.
5094 (woman1-unquote): Move declaration.
5095
5096 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5097 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5098 argument. Remove unused local variable.
5099 (xml-parse-elem-type): Use string-match-p.
5100 (xml-substitute-numeric-entities): Use ignore-errors.
5101
5102 * calculator.el (calculator): Mark unused argument.
5103 (calculator-paste, calculator-quit, calculator-integer-p):
5104 Use ignore-errors.
5105 (calculator-string-to-number, calculator-decimal, calculator-exp)
5106 (calculator-op-or-exp): Use string-match-p.
5107
5108 * dired.el (dired-buffer-more-recently-used-p): Declare.
5109 (dired-insert-set-properties, dired-insert-old-subdirs):
5110 Use ignore-errors.
5111
5112 * dired-aux.el (dired-compress): Use ignore-errors.
5113 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5114 (dired-do-async-shell-command, dired-do-shell-command)
5115 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5116 (dired-insert-subdir-validate): Use string-match-p.
5117 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5118 (dired-add-entry): Use string-match-p, looking-at-p.
5119 (dired-insert-subdir-newpos): Remove unused local variable.
5120
5121 * filenotify.el (file-notify-callback): Remove unused local variable.
5122
5123 * filesets.el (filesets-error): Mark unused argument.
5124 (filesets-which-command-p, filesets-filter-dir-names)
5125 (filesets-directory-files, filesets-get-external-viewer)
5126 (filesets-ingroup-get-data): Use string-match-p.
5127
5128 * find-file.el (ff-other-file-name, ff-other-file-name)
5129 (ff-find-the-other-file, ff-cc-hh-converter):
5130 Remove unused local variables.
5131 (ff-get-file-name): Use string-match-p.
5132 (ff-all-dirs-under): Use ignore-errors.
5133
5134 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5135 (follow-select-if-visible): Remove unused local variable.
5136
5137 * forms.el (read-file-filter): Move declaration.
5138 (forms--make-format, forms--make-parser, forms-insert-record):
5139 Quote function with #'.
5140 (forms--update): Use string-match-p. Quote function with #'.
5141
5142 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5143 (help-make-xrefs): Use looking-at-p.
5144 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5145
5146 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5147 (ibuffer-confirm-operation-on): Use string-match-p.
5148
5149 * msb.el (msb-item-handler, msb-dired-item-handler):
5150 Mark unused arguments.
5151
5152 * ses.el (ses-decode-cell-symbol)
5153 (ses-kill-override): Remove unused local variable.
5154 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5155 (ses-load): Use ignore-errors, looking-at-p.
5156 (ses-jump-safe): Use ignore-errors.
5157 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5158
5159 * tabify.el (untabify, tabify): Mark unused arguments.
5160
5161 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5162 Mark unused argument.
5163 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5164 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5165
5166 * emacs-lisp/timer.el (timer--time): Define setter with
5167 gv-define-setter to avoid deprecation warning.
5168
5169 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5170 (*record-cmpl-statistics-p*): Remove (was commented out).
5171 (cmpl-statistics-block): Remove (body was commented out).
5172 All callers changed.
5173 (add-completions-from-buffer, load-completions-from-file):
5174 Remove unused variables.
5175
5176 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5177
5178 * filecache.el (file-cache-delete-file-list):
5179 Print message only when told so.
5180 (file-cache-files-matching): Use #' in mapconcat argument.
5181
5182 * ffap.el (ffap-url-at-point): Fix reference to variable
5183 thing-at-point-default-mail-uri-scheme.
5184
5185 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5186
5187 * subr.el (define-error): New function.
5188 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5189 error-file-not-found and define with define-error.
5190 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5191 and define with define-error.
5192 * userlock.el (file-locked, file-supersession):
5193 * simple.el (mark-inactive):
5194 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5195 * progmodes/ada-mode.el (ada-mode-errors):
5196 * play/life.el (life-extinct):
5197 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5198 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5199 * nxml/rng-util.el (rng-error):
5200 * nxml/rng-uri.el (rng-uri-error):
5201 * nxml/rng-match.el (rng-compile-error):
5202 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5203 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5204 * nxml/nxml-rap.el (nxml-scan-error):
5205 * nxml/nxml-outln.el (nxml-outline-error):
5206 * net/soap-client.el (soap-error):
5207 * net/gnutls.el (gnutls-error):
5208 * net/ange-ftp.el (ftp-error):
5209 * mpc.el (mpc-proc-error):
5210 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5211 (json-number-format, json-string-escape, json-string-format)
5212 (json-key-format, json-object-format):
5213 * jka-compr.el (compression-error):
5214 * international/quail.el (quail-error):
5215 * international/kkc.el (kkc-error):
5216 * emacs-lisp/ert.el (ert-test-failed):
5217 * calc/calc.el (calc-error, inexact-result, math-overflow)
5218 (math-underflow):
5219 * bookmark.el (bookmark-error-no-filename):
5220 * epg.el (epg-error): Define with define-error.
5221
5222 * time.el (display-time-event-handler)
5223 (display-time-next-load-average): Don't call sit-for since it seems
5224 unnecessary (bug#15045).
5225
5226 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5227 Use #' instead of ' to quote functions.
5228 (checkdoc-output-mode): Use setq-local.
5229 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5230 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5231 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5232 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5233 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5234 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5235 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5236 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5237
5238 * ido.el (ido-completion-help): Fix up compiler warning.
5239
5240 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5241
5242 * frameset.el (frameset-p): Add autoload cookie.
5243 (frameset--jump-to-register): New function, based on code moved from
5244 register.el.
5245 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5246
5247 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5248 (frameset-restore, frameset-save, frameset-session-filter-alist):
5249 Remove declarations.
5250 (register-alist): Doc fix.
5251 (frameset-to-register): Move to frameset.el.
5252 (jump-to-register, describe-register-1): Remove frameset-specific code.
5253
5254 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5255
5256 * allout-widgets.el (allout-widgets-pre-command-business)
5257 (allout-widgets-post-command-business)
5258 (allout-widgets-after-change-handler)
5259 (allout-decorate-item-and-context, allout-set-boundary-marker)
5260 (allout-body-modification-handler)
5261 (allout-graphics-modification-handler): Mark ignored arguments.
5262 (allout-widgets-post-command-business)
5263 (allout-widgets-exposure-change-processor)
5264 (allout-widgets-exposure-undo-processor)
5265 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5266 (allout-parse-item-at-point, allout-decorate-item-guides)
5267 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5268 * allout.el (epa-passphrase-callback-function): Declare.
5269 (allout-overlay-insert-in-front-handler)
5270 (allout-overlay-interior-modification-handler)
5271 (allout-isearch-end-handler, allout-chart-siblings)
5272 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5273 (allout-yank-processing, allout-process-exposed)
5274 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5275 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5276 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5277 (lisp-indent-defform): Mark ignored arguments.
5278 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5279 (calculate-lisp-indent): Remove unused variables.
5280 * international/characters.el (indian-2-column, arabic-2-column)
5281 (tibetan): Mark ignored arguments.
5282 (use-cjk-char-width-table): Mark ignored arguments.
5283 Remove unused variables.
5284 * international/fontset.el (build-default-fontset-data)
5285 (x-compose-font-name, create-fontset-from-fontset-spec):
5286 Mark ignored arguments.
5287 (fontset-plain-name): Remove unused variables.
5288 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5289 (keyboard-coding-system): Mark ignored arguments.
5290 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5291 * help.el (resize-temp-buffer-window):
5292 * window.el (display-buffer-in-major-side-window)
5293 (display-buffer-in-side-window, display-buffer-in-previous-window):
5294 Remove unused variables.
5295 * isearch.el (isearch-forward-symbol):
5296 * version.el (emacs-bzr-version-bzr):
5297 * international/mule-cmds.el (current-language-environment):
5298 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5299 (x-handle-display):
5300 * term/pc-win.el (x-list-fonts, x-display-planes)
5301 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5302 (x-server-version, x-display-screens, x-display-mm-height)
5303 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5304 (x-selection-owner-p, x-own-selection-internal)
5305 (x-disown-selection-internal, x-get-selection-internal)
5306 (msdos-initialize-window-system):
5307 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5308 * term/x-win.el (x-handle-no-bitmap-icon):
5309 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5310 (vc-default-find-file-hook, vc-default-extra-menu):
5311 Mark ignored arguments.
5312
5313 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5316 break-condition in the context of the debugged code (bug#12685).
5317
5318 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5319
5320 * comint.el:
5321 Do not use an overlay to highlight the last prompt. (Bug#14744)
5322 (comint-mode): Make comint-last-prompt buffer local.
5323 (comint-last-prompt): New variable.
5324 (comint-last-prompt-overlay): Remove. Superseded by
5325 comint-last-prompt.
5326 (comint-snapshot-last-prompt, comint-output-filter):
5327 Use comint-last-prompt.
5328
5329 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5330
5331 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5332 (frameset-save): Check validity of the resulting frameset.
5333
5334 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5335
5336 * ido.el (ido-record-command): Add doc string.
5337
5338 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5339
5340 * frameset.el (frameset): Do not disable creation of the default
5341 frameset-p predicate. Doc fix.
5342 (frameset-valid-p): New function, copied from the old predicate-p.
5343 Add additional checks.
5344 (frameset-restore): Check with frameset-valid-p.
5345 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5346 (frameset-name, frameset-description, frameset-properties)
5347 (frameset-states): Add docstring.
5348 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5349 (frameset-filter-alist): Doc fixes.
5350
5351 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5354
5355 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5356
5357 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5358 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5359 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5360 (byte-compile-normal-call): Remove obsolescence check.
5361
5362 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5363
5364 * frameset.el (frameset-restore): Doc fix.
5365
5366 * register.el (frameset-frame-id, frameset-frame-with-id)
5367 (frameset-p, frameset-restore, frameset-save): Declare.
5368 (register-alist): Document framesets.
5369 (frameset-session-filter-alist): Declare.
5370 (frameset-to-register): New function.
5371 (jump-to-register): Implement jumping to framesets. Doc fix.
5372 (describe-register-1): Describe framesets.
5373
5374 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5375
5376 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5377
5378 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5379 Use lexical-binding.
5380
5381 * frameset.el (frameset): Use type vector, not list (incompatible
5382 change). Do not declare a new constructor, use the default one.
5383 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5384 `name' and `description', respectively, and add read-only slot
5385 `timestamp'. Doc fixes.
5386 (frameset-copy, frameset-persistent-filter-alist)
5387 (frameset-filter-alist, frameset-switch-to-gui-p)
5388 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5389 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5390 (frameset-filter-iconified, frameset-keep-original-display-p):
5391 Doc fixes.
5392 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5393 Rename from frameset-filter-(save|restore)-param. All callers changed.
5394 Doc fix.
5395 (frameset-p): Adapt to change to vector and be more thorough.
5396 Change arg name to OBJECT. Doc fix.
5397 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5398 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5399 All callers changed.
5400 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5401 All callers changed.
5402 (frameset--record-minibuffer-relationships): Rename from
5403 frameset--process-minibuffer-frames. All callers changed.
5404 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5405 Use new default constructor (again). Doc fix.
5406 (frameset--find-frame-if): Rename from `frameset--find-frame.
5407 All callers changed.
5408 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5409 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5410 Doc fix.
5411 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5412 PARAMETERS and WINDOW-STATE, respectively.
5413 (frameset-restore): Add new keyword argument PREDICATE.
5414 Reset frameset--target-display to nil. Doc fix.
5415
5416 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5419 (bat-mode): Use it.
5420 (bat-mode-syntax-table): Mark \n as end-of-comment.
5421 (bat-font-lock-keywords): Remove comment rule.
5422
5423 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5424 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5425
5426 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5427 (byte-compile-callargs-warn): Use `push'.
5428 (byte-compile-arglist-warn): Ignore higher-order "calls".
5429 (byte-compile-file-form-autoload): Use `pcase'.
5430 (byte-compile-function-form): If quoting a symbol, check that it exists.
5431
5432 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5433
5434 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5435 and add a few popular commands found in batch files.
5436 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5437 (dos-mode): Doc fixes.
5438
5439 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5442 (dos-mode): Use setq-local. Add space after "rem".
5443 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5444 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5445
5446 2013-08-07 Arni Magnusson <arnima@hafro.is>
5447
5448 * progmodes/dos.el: New file.
5449 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5450 dos-mode.
5451
5452 2013-08-06 Glenn Morris <rgm@gnu.org>
5453
5454 * calendar/calendar.el: Add new faces, and day-header-array.
5455 (calendar-weekday-header, calendar-weekend-header)
5456 (calendar-month-header): New faces.
5457 (calendar-day-header-construct): New function.
5458 (calendar-day-header-width): Also :set calendar-day-header-array.
5459 (calendar-american-month-header, calendar-european-month-header)
5460 (calendar-iso-month-header): Use calendar- faces.
5461 (calendar-generate-month):
5462 Use calendar-day-header-array for day headers; apply faces to them.
5463 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5464 (calendar-abbrev-construct): Add optional maxlen argument.
5465 (calendar-day-name-array): Doc fix.
5466 (calendar-day-name-array, calendar-abbrev-length)
5467 (calendar-day-abbrev-array):
5468 Also :set calendar-day-header-array, and maybe redraw.
5469 (calendar-day-header-array): New option. (Bug#15007)
5470 (calendar-font-lock-keywords): Set to nil and make obsolete.
5471 (calendar-day-name): Add option to use header array.
5472
5473 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5474
5475 * net/shr.el (shr-render-td): Remove debugging.
5476 (shr-render-td): Make width computation consistent by defaulting
5477 all zero-width columns to 10 characters. This may not be optimal,
5478 but it's at least consistent.
5479 (shr-make-table-1): Redo last change to fix the real problem in
5480 colspan handling.
5481
5482 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5483
5484 * files.el (cache-long-line-scans):
5485 Make obsolete alias to `cache-long-scans'.
5486
5487 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5488
5489 * frameset.el (frameset, frameset-filter-alist)
5490 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5491 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5492 (frameset-compute-pos): Rename from frameset--compute-pos,
5493 and add docstring.
5494 (frameset-move-onscreen): Use frameset-compute-pos.
5495 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5496
5497 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5498 Fix typos in docstrings.
5499
5500 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5501
5502 * frame.el (get-other-frame): Tiny cleanup.
5503
5504 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5505
5506 * vc/vc.el (vc-default-ignore-completion-table):
5507 Silence byte-compiler warning.
5508
5509 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5510 slot , which can indeed be nil.
5511 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5512 Move entry for `left' from persistent to live filter alist.
5513 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5514 Doc fixes.
5515 (frameset-filter-params): When restoring a frame, copy items added to
5516 `filtered', to avoid unwittingly modifying the original parameters.
5517 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5518 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5519
5520 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5521 to use looking-at-p instead of looking-at. (Bug#15028)
5522
5523 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 Revert introduction of isearch-filter-predicates (bug#14714).
5526 Rely on add-function instead.
5527 * isearch.el (isearch-filter-predicates): Rename it back to
5528 isearch-filter-predicate.
5529 (isearch-message-prefix): Use advice-function-mapc and advice
5530 properties to get the isearch-message-prefix.
5531 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5532 instead of run-hook-with-args-until-failure.
5533 (isearch-filter-visible): Not obsolete any more.
5534 * loadup.el: Preload nadvice.
5535 * replace.el (perform-replace): Revert to funcall
5536 instead of run-hook-with-args-until-failure.
5537 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5538 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5539 dired-isearch-filenames-toggle; make it into a proper minor mode.
5540 Use add/remove-function.
5541 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5542 Call the minor-mode rather than add/remove-hook.
5543 (dired-isearch-filter-filenames):
5544 Remove isearch-message-prefix property.
5545 * info.el (Info--search-loop): New function, extracted from Info-search.
5546 Funcall isearch-filter-predicate instead of
5547 run-hook-with-args-until-failure isearch-filter-predicates.
5548 (Info-search): Use it.
5549 (Info-mode): Use isearch-filter-predicate instead of
5550 isearch-filter-predicates.
5551
5552 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5553
5554 Do not call to `selected-window' where it is assumed by default.
5555 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5556 `window-hscroll', `window-width', `window-height', `window-buffer',
5557 `window-frame', `window-start', `window-point', `next-window'
5558 and `window-display-table'.
5559 * abbrev.el (abbrev--default-expand):
5560 * bs.el (bs--show-with-configuration):
5561 * buff-menu.el (Buffer-menu-mouse-select):
5562 * calc/calc.el (calc):
5563 * calendar/calendar.el (calendar-generate-window):
5564 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5565 (diary-make-entry):
5566 * comint.el (send-invisible, comint-dynamic-complete-filename)
5567 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5568 * completion.el (complete):
5569 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5570 * disp-table.el (describe-current-display-table):
5571 * doc-view.el (doc-view-insert-image):
5572 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5573 * ehelp.el (with-electric-help):
5574 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5575 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5576 * emacs-lisp/helper.el (Helper-help-scroller):
5577 * emulation/cua-base.el (cua--post-command-handler-1):
5578 * eshell/esh-mode.el (eshell-output-filter):
5579 * ffap.el (ffap-gnus-wrapper):
5580 * help-macro.el (make-help-screen):
5581 * hilit-chg.el (highlight-compare-buffers):
5582 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5583 * hl-line.el (global-hl-line-highlight):
5584 * icomplete.el (icomplete-simple-completing-p):
5585 * isearch.el (isearch-done):
5586 * jit-lock.el (jit-lock-stealth-fontify):
5587 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5588 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5589 * mpc.el (mpc-tagbrowser, mpc):
5590 * net/rcirc.el (rcirc-any-buffer):
5591 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5592 * play/landmark.el (landmark-max-width, landmark-max-height):
5593 * play/zone.el (zone):
5594 * progmodes/compile.el (compilation-goto-locus):
5595 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5596 * progmodes/etags.el (find-tag-other-window):
5597 * progmodes/fortran.el (fortran-column-ruler):
5598 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5599 * progmodes/verilog-mode.el (verilog-point-text):
5600 * reposition.el (reposition-window):
5601 * rot13.el (toggle-rot13-mode):
5602 * server.el (server-switch-buffer):
5603 * shell.el (shell-dynamic-complete-command)
5604 (shell-dynamic-complete-environment-variable):
5605 * simple.el (insert-buffer, set-selective-display)
5606 (delete-completion-window):
5607 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5608 (speedbar-recenter):
5609 * startup.el (fancy-splash-head):
5610 * textmodes/ispell.el (ispell-command-loop):
5611 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5612 * tutorial.el (help-with-tutorial):
5613 * vc/add-log.el (add-change-log-entry):
5614 * vc/compare-w.el (compare-windows):
5615 * vc/ediff-help.el (ediff-indent-help-message):
5616 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5617 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5618 (ediff-setup-control-frame):
5619 * vc/emerge.el (emerge-position-region):
5620 * vc/pcvs-util.el (cvs-bury-buffer):
5621 * window.el (walk-windows, mouse-autoselect-window-select):
5622 * winner.el (winner-set-conf, winner-undo): Related users changed.
5623
5624 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * frameset.el (frameset--set-id): Doc fix.
5627 (frameset-frame-id, frameset-frame-id-equal-p)
5628 (frameset-locate-frame-id): New functions.
5629 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5630 (frameset-restore): Use them.
5631
5632 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5633
5634 Do not call to `selected-frame' where it is assumed by default.
5635 Affected functions are `raise-frame', `redraw-frame',
5636 `frame-first-window', `frame-terminal' and `delete-frame'.
5637 * calendar/appt.el (appt-disp-window):
5638 * epg.el (epg-wait-for-completion):
5639 * follow.el (follow-delete-other-windows-and-split)
5640 (follow-avoid-tail-recenter):
5641 * international/mule.el (set-terminal-coding-system):
5642 * mail/rmail.el (rmail-mail-return):
5643 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5644 * progmodes/f90.el (f90-add-imenu-menu):
5645 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5646 * server.el (server-switch-buffer):
5647 * simple.el (delete-completion-window):
5648 * talk.el (talk):
5649 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5650 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5651 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5652 * vc/ediff.el (ediff-documentation): Related users changed.
5653 * frame.el (selected-terminal): Remove the leftover.
5654
5655 2013-08-05 Glenn Morris <rgm@gnu.org>
5656
5657 * calendar/calendar.el (calendar-generate-month):
5658 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5659 (calendar-generate-month, calendar-font-lock-keywords):
5660 Fix for calendar-day-header-width > length of any day name.
5661
5662 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5663
5664 * desktop.el (desktop-clear): Use new name of sort predicate.
5665
5666 * frameset.el (frameset): Add docstring. Move :version property to its
5667 own `version' slot.
5668 (frameset-copy): Rename from copy-frameset.
5669 (frameset-p): Check more thoroughly.
5670 (frameset-prop): Do not check for :version, which is no longer a prop.
5671 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5672 Use new :never value instead of t.
5673 (frameset-filter-alist): Expand and clarify docstring.
5674 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5675 (frameset-filter-minibuffer, frameset-filter-save-param)
5676 (frameset-filter-restore-param, frameset-filter-iconified):
5677 Add pointer to docstring of frameset-filter-alist.
5678 (frameset-filter-params): Rename filter values to be more meaningful:
5679 :never instead of t, and reverse the meanings of :save and :restore.
5680 (frameset--process-minibuffer-frames): Clarify error message.
5681 (frameset-save): Avoid unnecessary and confusing call to framep.
5682 Use new BOA constructor for framesets.
5683 (frameset--reuse-list): Doc fix.
5684 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5685 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5686 (frameset-minibufferless-first-p): Doc fix.
5687 Rename from frameset-sort-frames-for-deletion.
5688 (frameset-restore): Doc fixes. Use new function names.
5689 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5690
5691 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5692
5693 * desktop.el (desktop-restore-forces-onscreen)
5694 (desktop-restore-reuses-frames): Document :keyword constant values.
5695 (desktop-filter-parameters-alist): Remove, now identical to
5696 frameset-filter-alist.
5697 (desktop--filter-tty*): Remove, moved to frameset.el.
5698 (desktop-save-frameset, desktop-restore-frameset):
5699 Do not pass :filters argument.
5700
5701 * frameset.el (frameset-live-filter-alist)
5702 (frameset-persistent-filter-alist): New variables.
5703 (frameset-filter-alist): Use them. Add autoload cookie.
5704 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5705 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5706 `frameset--id' (it's supposed to be internal to frameset.el).
5707 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5708 (frameset--initial-params): New function.
5709 (frameset--get-frame): Use it. Doc fix.
5710 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5711 Accept :all, not 'all.
5712 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5713 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5714 with fbound symbols. Fix frame id matching, and remove matching ids if
5715 the frame being restored is deleted. Obey :delete.
5716
5717 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * subr.el (macrop): New function.
5720 (text-clone--maintaining): New var.
5721 (text-clone--maintain): Rename from text-clone-maintain. Use it
5722 instead of inhibit-modification-hooks.
5723
5724 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5725 a proxy, so as handle autoloads and redefinitions of the target.
5726 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5727
5728 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5729 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5730 (pcase--mutually-exclusive-p): New function.
5731 (pcase--split-consp): Use it.
5732 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5733 mutually exclusive with the current predicate.
5734
5735 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5736 (edebug-macrop): Remove. Use `macrop' instead.
5737 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5738 (ad-macro-p):
5739 * eshell/esh-cmd.el (eshell-macrop):
5740 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5741
5742 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5745 (advice-mapc): New function, using it.
5746 (advice-function-member-p): New function.
5747 (advice--normalize): Store the cdr in advice--saved-rewrite since
5748 that's the part that will be changed.
5749 (advice--symbol-function): New function.
5750 (advice-remove): Handle removal before the function is defined.
5751 Adjust to new advice--saved-rewrite.
5752 (advice-member-p): Use advice-function-member-p and
5753 advice--symbol-function.
5754
5755 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5756
5757 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5758 (frameset-filter-minibuffer): Doc fix.
5759 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5760 (frameset--set-id, frameset--process-minibuffer-frames)
5761 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5762 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5763
5764 * desktop.el (desktop-clear): Only delete frames when called
5765 interactively and desktop-restore-frames is non-nil. Doc fix.
5766 (desktop-read): Set desktop-saved-frameset to nil.
5767
5768 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5769
5770 * vc/vc.el (vc-ignore): Rewrite.
5771 (vc-default-ignore-completion-table):
5772 (vc--read-lines):
5773 (vc--add-line, vc--remove-regexp): New functions.
5774
5775 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5776 (vc-svn-ignore-completion-table): New function.
5777
5778 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5779 (vc-hg-ignore-completion-table):
5780 (vc-hg-find-ignore-file): New functions.
5781
5782 * vc/vc-git.el (vc-git-ignore): Rewrite.
5783 (vc-git-ignore-completion-table):
5784 (vc-git-find-ignore-file): New functions.
5785
5786 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5787
5788 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5789 (vc-bzr-ignore-completion-table):
5790 (vc-bzr-find-ignore-file): New functions.
5791
5792 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5793
5794 * frameset.el (frameset-prop): New function and setter.
5795 (frameset-save): Do not modify frame list passed by the caller.
5796
5797 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5800
5801 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5804 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5805
5806 * custom.el (custom-initialize-default, custom-initialize-set)
5807 (custom-initialize-reset, custom-initialize-changed): Affect the
5808 toplevel-default-value (bug#6275, bug#14586).
5809 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5810 for bug#6275.
5811
5812 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5815 Add cl-def* expressions.
5816
5817 * frameset.el (frameset-filter-params): Fix order of arguments.
5818
5819 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5820
5821 Move code related to saving frames to frameset.el.
5822 * desktop.el: Require frameset.
5823 (desktop-restore-frames): Doc fix.
5824 (desktop-restore-reuses-frames): Rename from
5825 desktop-restoring-reuses-frames.
5826 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5827 (desktop-clear): Clear frames too.
5828 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5829 (desktop--filter-tty*, desktop-save, desktop-read):
5830 Use frameset functions.
5831 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5832 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5833 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5834 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5835 (desktop--process-minibuffer-frames, desktop-save-frames)
5836 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5837 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5838 (desktop--sort-states, desktop-restoring-frames-p)
5839 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5840 (desktop-restoring-frameset-p, desktop-restore-frameset)
5841 (desktop--check-dont-save, desktop-save-frameset): New functions.
5842 (desktop--app-id): New constant.
5843 (desktop-first-buffer, desktop-buffer-ok-count)
5844 (desktop-buffer-fail-count): Move before first use.
5845 * frameset.el: New file.
5846
5847 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * files.el: Use lexical-binding.
5850 (dir-locals-read-from-file): Remove unused `err' variable.
5851 (hack-dir-local-variables--warned-coding): New var.
5852 (hack-dir-local-variables): Use it to avoid repeated warnings.
5853 (make-backup-file-name--default-function): New function.
5854 (make-backup-file-name-function): Use it as default.
5855 (buffer-stale--default-function): New function.
5856 (buffer-stale-function): Use it as default.
5857 (revert-buffer-insert-file-contents--default-function): New function.
5858 (revert-buffer-insert-file-contents-function): Use it as default.
5859 (insert-directory): Avoid add-to-list.
5860
5861 * autorevert.el (auto-revert-handler): Simplify.
5862 Use buffer-stale--default-function.
5863
5864 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5865
5866 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5867
5868 * whitespace.el (whitespace-ensure-local-variables): New function.
5869 (whitespace-cleanup-region): Call it.
5870 (whitespace-turn-on): Call it.
5871
5872 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5873
5874 Complete file name handlers.
5875
5876 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5877 (tramp-handle-verify-visited-file-modtime)
5878 (tramp-handle-file-notify-rm-watch): New functions.
5879 (tramp-call-process): Do not bind `default-directory'.
5880
5881 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5882 Order alphabetically.
5883 [access-file, add-name-to-file, dired-call-process]:
5884 [dired-compress-file, file-acl, file-notify-rm-watch]:
5885 [file-ownership-preserved-p, file-selinux-context]:
5886 [make-directory-internal, make-symbolic-link, set-file-acl]:
5887 [set-file-selinux-context, set-visited-file-modtime]:
5888 [verify-visited-file-modtime]: Add handler.
5889 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5890
5891 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5892 [file-notify-add-watch, file-notify-rm-watch]:
5893 [set-file-times, set-visited-file-modtime]:
5894 [verify-visited-file-modtime]: Add handler.
5895 (with-tramp-gvfs-error-message)
5896 (tramp-gvfs-handle-set-visited-file-modtime)
5897 (tramp-gvfs-fuse-file-name): Remove.
5898 (tramp-gvfs-handle-file-notify-add-watch)
5899 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5900 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5901
5902 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5903 Order alphabetically.
5904 [file-notify-rm-watch ]: Use default Tramp handler.
5905 [executable-find]: Remove private handler.
5906 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5907 `default-directory'.
5908 (tramp-sh-handle-executable-find)
5909 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5910 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5911 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5912 Do not use `format' in `tramp-message'.
5913
5914 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5915 [file-notify-rm-watch, set-visited-file-modtime]:
5916 [verify-visited-file-modtime]: Add handler.
5917 (tramp-smb-call-winexe): Do not bind `default-directory'.
5918
5919 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5920
5921 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5922
5923 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5926 use it.
5927 (log-view-diff-changeset): Same.
5928 (log-view-diff-common): Call backend command `previous-revision'
5929 to find out the previous revision, in both cases. Swap the
5930 variables `to' and `fr', so that `fr' usually refers to the
5931 earlier revision (Bug#14989).
5932
5933 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5934
5935 * ibuf-ext.el (ibuffer-filter-by-filename):
5936 Make it work with dired buffers too.
5937
5938 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5939
5940 * emacs-lisp/re-builder.el (reb-color-display-p):
5941 * files.el (save-buffers-kill-terminal):
5942 * net/browse-url.el (browse-url):
5943 * server.el (server-save-buffers-kill-terminal):
5944 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5945 Prefer nil to selected-frame for the first arg of frame-parameter.
5946
5947 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5948
5949 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5950
5951 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5952
5953 * minibuffer.el (completion--twq-all): Try and preserve each
5954 completion's case choice (bug#14907).
5955
5956 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5957
5958 * net/network-stream.el (open-network-stream): Mention the new
5959 :nogreeting parameter.
5960 (network-stream-open-starttls): Use the :nogreeting parameter
5961 (bug#14938).
5962
5963 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5964
5965 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5966 more natural than popping.
5967
5968 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5969 (shr-urlify): Highlight under mouse.
5970
5971 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5972
5973 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5974
5975 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5976
5977 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5978 buffer for output.
5979
5980 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5981 point-min==1. Fix search string. Fix parentheses missing.
5982
5983 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5984 assume point-min==1. Fix search string. Fix parentheses missing.
5985
5986 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5987
5988 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5989 buffer for output.
5990
5991 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5992
5993 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5994 initial frame is minibuffer-less. (Bug#14841)
5995
5996 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5997
5998 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5999 option.
6000
6001 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6002 (tramp-maybe-open-connection): Use it.
6003
6004 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6005
6006 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6007 minimal set of parameters passed when creating a frame, because
6008 the minibuffer status of a frame cannot be changed later.
6009
6010 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6011
6012 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6013 replace-regexp-in-string and inadvertent omissions in previous change.
6014 (todo-filter-items): Ensure only file names are comma-separated in
6015 name of filtered items buffer.
6016
6017 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6018
6019 * desktop.el: Optionally force offscreen frames back onscreen.
6020 (desktop-restoring-reuses-frames): New option.
6021 (desktop--compute-pos, desktop--move-onscreen): New functions.
6022 (desktop--make-frame): Use desktop--move-onscreen.
6023
6024 2013-07-27 Alan Mackenzie <acm@muc.de>
6025
6026 Fontify a Java generic method as a function.
6027 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6028 value to t.
6029
6030 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6031
6032 * calendar/todo-mode.el: Add command to rename todo files.
6033 (todo-rename-file): New command.
6034 (todo-key-bindings-t): Add key binding for it. Change the
6035 bindings of todo-filter-regexp-items(-multifile) to use `x'
6036 instead of `r', since the latter is better suited to the new
6037 renaming command.
6038
6039 2013-07-27 Alan Mackenzie <acm@muc.de>
6040
6041 Make Java try-with-resources statement parse properly.
6042 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6043 (c-block-stmt-1-2-key): New language constants/variables.
6044 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6045 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6046 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6047 with c-block-stmt-1-2-key.
6048
6049 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6050
6051 * desktop.el (desktop--make-frame): Apply most frame parameters after
6052 creating the frame to force (partially or totally) offscreen frames to
6053 be restored as such.
6054
6055 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6056
6057 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6058 (Bug#14948)
6059
6060 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6063 `base' arg of backtrace-frame.
6064
6065 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6066
6067 * simple.el (list-processes): Doc fix.
6068
6069 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6070
6071 * desktop.el (desktop--select-frame):
6072 Try harder to reuse existing frames.
6073
6074 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6077 (edebug-eval): Use backtrace-eval.
6078 (edebug--display, edebug--recursive-edit): Don't let-bind the
6079 edebug-outer-* vars that keep track of variables we locally let-bind.
6080 (edebug-outside-excursion): Don't restore outside values of locally
6081 let-bound vars.
6082 (edebug--display): Use user-error.
6083 (cl-lexical-debug, cl-debug-env): Remove.
6084
6085 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6086
6087 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6088 are restored to be sure that they are visible before deleting any
6089 remaining ones.
6090
6091 2013-07-26 Matthias Meulien <orontee@gmail.com>
6092
6093 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6094 vc-print-root-log. (Bug#14948)
6095
6096 2013-07-26 Richard Stallman <rms@gnu.org>
6097
6098 Add aliases for encrypting mail.
6099 * epa.el (epa-mail-aliases): New option.
6100 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6101 Bind inhibit-read-only so read-only text doesn't ruin everything.
6102 (epa-mail-default-recipients): New subroutine broken out.
6103 Handle epa-mail-aliases.
6104
6105 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 Add support for lexical variables to the debugger's `e' command.
6108 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6109 vars, except for debugger-outer-match-data.
6110 (debugger-frame-number): Move check for "on a function call" from
6111 callers into it. Add `skip-base' argument.
6112 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6113 (debugger-env-macro): Only reset the state stored in non-variables,
6114 i.e. current-buffer and match-data.
6115 (debugger-eval-expression): Rewrite using backtrace-eval.
6116 * subr.el (internal--called-interactively-p--get-frame): Remove.
6117 (called-interactively-p):
6118 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6119 `base' arg of backtrace-frame instead.
6120
6121 2013-07-26 Glenn Morris <rgm@gnu.org>
6122
6123 * align.el (align-regexp): Doc fix. (Bug#14857)
6124 (align-region): Explicit error if subexpression missing/does not match.
6125
6126 * simple.el (global-visual-line-mode):
6127 Do not duplicate the mode lighter. (Bug#14858)
6128
6129 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6130
6131 * window.el (display-buffer): In display-buffer bind
6132 split-window-keep-point to t, bug#14829.
6133
6134 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6135
6136 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6137 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6138 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6139 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6140 Change accordingly.
6141 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6142 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6143
6144 2013-07-25 Glenn Morris <rgm@gnu.org>
6145
6146 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6147
6148 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6149
6150 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6151 parameter to modify-frame-parameters if the value has not changed;
6152 this is a workaround for bug#14949.
6153 (desktop--make-frame): On cl-delete-if call, check parameter name,
6154 not full parameter.
6155
6156 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6157
6158 * vc/vc.el (vc-ignore): New function.
6159
6160 * vc/vc-svn.el (vc-svn-ignore): New function.
6161
6162 * vc/vc-hg.el (vc-hg-ignore): New function.
6163
6164 * vc/vc-git.el (vc-git-ignore): New function.
6165
6166 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6167 (vc-dir-ignore): New function.
6168
6169 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6170 (cvs-append-to-ignore): Move here from pcvs.el.
6171
6172 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6173
6174 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6175
6176 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6177
6178 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6179 (desktop-restore-frames): Warn when deleting an existing frame failed.
6180
6181 2013-07-24 Glenn Morris <rgm@gnu.org>
6182
6183 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6184
6185 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6186
6187 * filenotify.el (file-notify-supported-p):
6188 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6189 Remove functions.
6190
6191 * autorevert.el (auto-revert-use-notify):
6192 (auto-revert-notify-add-watch):
6193 * net/tramp.el (tramp-file-name-for-operation):
6194 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6195 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6196 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6197 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6198 Remove `file-notify-supported-p' entry.
6199
6200 2013-07-24 Glenn Morris <rgm@gnu.org>
6201
6202 * printing.el: Replace all uses of deleted ps-windows-system,
6203 ps-lp-system, ps-flatten-list with lpr- versions.
6204
6205 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6208 checked with memq (bug#14935).
6209
6210 * files.el (revert-buffer-function): Use a non-nil default.
6211 (revert-buffer-preserve-modes): Declare var to
6212 provide access to the `preserve-modes' argument.
6213 (revert-buffer): Let-bind it.
6214 (revert-buffer--default): New function, extracted from revert-buffer.
6215
6216 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * lpr.el: Signal print errors more prominently.
6219 (print-region-function): Don't default to nil.
6220 (lpr-print-region): New function, extracted from print-region-1.
6221 Check lpr's return value and signal an error in case of problem.
6222 (print-region-1): Use it.
6223 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6224 versions instead.
6225 (ps-printer-name): Default to nil.
6226 (ps-printer-name-option): Default to lpr-printer-switch.
6227 (ps-print-region-function): Don't default to nil.
6228 (ps-postscript-code-directory): Simplify default.
6229 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6230 (ps-string-list, ps-eval-switch, ps-flatten-list)
6231 (ps-flatten-list-1): Remove.
6232 (ps-multibyte-buffer): Avoid setq.
6233 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6234 (print-region-function, ps-print-region-function): Don't set them here.
6235
6236 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6237
6238 * ido.el (ido-fractionp):
6239 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6240 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6241 (ido-max-directory-size, ido-max-dir-file-cache)
6242 (ido-decorations): Doc fix.
6243
6244 * ansi-color.el: Fix old URL.
6245
6246 2013-07-23 Michael R. Mauger <michael@mauger.com>
6247
6248 * progmodes/sql.el: Version 3.3
6249 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6250 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6251 (sql-interactive-remove-continuation-prompt): Rewrite, use
6252 functions above. Fix continuation prompt and complete output line
6253 handling.
6254 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6255 redirected output buffer.
6256 (sql-mode): Restore deleted code (Bug#13591).
6257
6258 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6259
6260 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6261
6262 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6263
6264 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6265
6266 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6268 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6269
6270 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6271
6272 * desktop.el (desktop-clear): Simplify; remove useless checks
6273 against invalid buffer names.
6274 (desktop-list*): Use cl-list*.
6275 (desktop-buffer-info, desktop-create-buffer): Simplify.
6276
6277 2013-07-23 Leo Liu <sdl.web@gmail.com>
6278
6279 * bookmark.el (bookmark-make-record): Restore NAME as a default
6280 value. (Bug#14933)
6281
6282 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6285 extracted from autoload--insert-text.
6286 (autoload--insert-text): Remove.
6287 (autoload--print-cookie-text): New function, extracted from
6288 autoload--insert-cookie-text.
6289 (autoload--insert-cookie-text): Remove.
6290 (autoload-generate-file-autoloads): Adjust calls accordingly.
6291
6292 * winner.el (winner-hook-installed-p): Remove.
6293 (winner-mode): Simplify accordingly.
6294
6295 * subr.el (add-to-list): Fix compiler-macro when `append' is
6296 not constant. Don't use `cl-member' for the base case.
6297
6298 * progmodes/subword.el: Fix boundary case (bug#13758).
6299 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6300 own group.
6301 (subword-backward-regexp): Make it a constant.
6302 (subword-forward-internal): Don't treat a trailing capital as the
6303 beginning of a word.
6304
6305 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6306
6307 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6308 global value of tabulated-list-revert-hook (bug#14930).
6309
6310 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6311
6312 * desktop.el: Require 'cl-lib.
6313 (desktop-before-saving-frames-functions): New hook.
6314 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6315 for frames being saved. Rename from desktop--save-minibuffer-frames.
6316 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6317 Do not save frames with non-nil `desktop-dont-save' parameter.
6318 Filter out deleted frames.
6319 (desktop--find-frame): Use cl-find-if.
6320 (desktop--select-frame): Use cl-(first|second|third) to access values
6321 of desktop-mini.
6322 (desktop--make-frame): Use cl-delete-if.
6323 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6324 (desktop-restore-frames): Use cl-(first|second|third) to access values
6325 of desktop-mini. Look for visible frame at the end, not while
6326 restoring frames.
6327
6328 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6329 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6330 Use string-match-p, looking-at-p (bug#14927).
6331
6332 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6333
6334 * desktop.el (desktop-saved-frame-states):
6335 Rename from desktop--saved-states; all users changed.
6336 (desktop-save-frames): Rename from desktop--save-frames.
6337 Do not save state to desktop file.
6338 (desktop-save): Save desktop-saved-frame-states to desktop file
6339 and reset to nil.
6340 (desktop-restoring-frames-p): New function.
6341 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6342 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6343 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6344
6345 * desktop.el: Correctly restore iconified frames.
6346 (desktop--filter-iconified-position): New function.
6347 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6348
6349 2013-07-20 Glenn Morris <rgm@gnu.org>
6350
6351 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6352 Let `message' do the formatting.
6353 (def-gdb-preempt-display-buffer): Add explicit format.
6354
6355 * image-dired.el (image-dired-track-original-file):
6356 Use with-current-buffer.
6357 (image-dired-track-thumbnail): Use with-current-buffer.
6358 Avoid changing point of wrong window.
6359
6360 * image-dired.el (image-dired-track-original-file):
6361 Avoid changing point of wrong window. (Bug#14909)
6362
6363 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6364
6365 * progmodes/gdb-mi.el (gdb-done-or-error):
6366 Guard against "%" in gdb output. (Bug#14127)
6367
6368 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6369
6370 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6371 (Bug#14826)
6372
6373 * international/mule.el (coding-system-iso-2022-flags): Fix last
6374 change.
6375
6376 2013-07-20 Kenichi Handa <handa@gnu.org>
6377
6378 * international/mule.el (coding-system-iso-2022-flags):
6379 Add `8-bit-level-4'. (Bug#8522)
6380
6381 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382
6383 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6384 (bug#14815).
6385
6386 * net/eww.el (eww-process-text-input): Allow inputting when the
6387 point is at the start of the line, as the properties aren't
6388 front-sticky.
6389
6390 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6391 degenerate widths.
6392
6393 2013-07-19 Richard Stallman <rms@gnu.org>
6394
6395 * epa.el (epa-popup-info-window): Doc fix.
6396
6397 * subr.el (split-string): New arg TRIM.
6398
6399 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6400
6401 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6402 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6403
6404 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6405
6406 * filenotify.el (file-notify--library): Rename from
6407 `file-notify-support'. Do not autoload. Adapt all uses.
6408 (file-notify-supported-p): New defun.
6409
6410 * autorevert.el (auto-revert-use-notify):
6411 Use `file-notify-supported-p' instead of `file-notify-support'.
6412 Adapt docstring.
6413 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6414
6415 * net/tramp.el (tramp-file-name-for-operation):
6416 Add `file-notify-supported-p'.
6417
6418 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6419 New defun.
6420 (tramp-sh-file-name-handler-alist): Add it as handler for
6421 `file-notify-supported-p '.
6422
6423 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6426 Add `ignore' as handler for `file-notify-*' functions.
6427
6428 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6429
6430 * simple.el (line-move-partial, line-move): Don't start vscroll or
6431 scroll-up if the current line is not taller than the window.
6432 (Bug#14881)
6433
6434 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6435
6436 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6437 highlight question marks in the method names as strings.
6438 (ruby-block-beg-keywords): Inline.
6439 (ruby-font-lock-keyword-beg-re): Extract from
6440 `ruby-font-lock-keywords'.
6441
6442 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6443
6444 * frame.el (blink-cursor-blinks): New defcustom.
6445 (blink-cursor-blinks-done): New defvar.
6446 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6447 (blink-cursor-timer-function): Check if number of blinks has been
6448 done on X and NS.
6449 (blink-cursor-suspend, blink-cursor-check): New defuns.
6450
6451 2013-07-15 Glenn Morris <rgm@gnu.org>
6452
6453 * edmacro.el (edmacro-format-keys): Fix previous change.
6454
6455 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6456
6457 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6458 The hack didn't work outside English locales anyway.
6459
6460 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6461
6462 * simple.el (define-alternatives): Rename from alternatives-define,
6463 per RMS' suggestion.
6464
6465 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * desktop.el (desktop-restore-frames): Change default to t.
6468 (desktop-restore-in-current-display): Now offer more options.
6469 (desktop-restoring-reuses-frames): New customization option.
6470 (desktop--saved-states): Doc fix.
6471 (desktop-filter-parameters-alist): New variable, renamed and expanded
6472 from desktop--excluded-frame-parameters.
6473 (desktop--target-display): New variable.
6474 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6475 (desktop--filter-tty*, desktop--filter-*-color)
6476 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6477 (desktop--filter-save-desktop-parm)
6478 (desktop-restore-in-original-display-p): New functions.
6479 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6480 (desktop--save-minibuffer-frames): New function, inspired by a similar
6481 function from Martin Rudalics.
6482 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6483 (desktop--restore-in-this-display-p): Remove.
6484 (desktop--find-frame): Rename from desktop--find-frame-in-display
6485 and add predicate argument.
6486 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6487 (desktop--reuse-list): New variable.
6488 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6489 New functions.
6490 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6491
6492 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6493
6494 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6495
6496 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6497
6498 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6499 Highlight conversion methods on Kernel.
6500
6501 2013-07-13 Alan Mackenzie <acm@muc.de>
6502
6503 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6504 and comment it out. This out-commenting enables certain C++
6505 declarations to be parsed correctly.
6506
6507 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6508
6509 * international/mule.el (define-coding-system): Doc fix.
6510
6511 * simple.el (default-font-height): Don't call font-info if the
6512 frame's default font didn't change since the frame was created.
6513 (Bug#14838)
6514
6515 2013-07-13 Leo Liu <sdl.web@gmail.com>
6516
6517 * ido.el (ido-read-file-name): Guard against non-symbol value.
6518
6519 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6520
6521 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6522 in nested defuns.
6523
6524 2013-07-13 Leo Liu <sdl.web@gmail.com>
6525
6526 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6527 ido-set-matches call. (Bug#6852)
6528
6529 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6530
6531 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6532 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6533 Ruby 2.0.
6534 (ruby-font-lock-keywords): Distinguish calls to functions with
6535 module-like names from module references. Highlight character
6536 literals.
6537
6538 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6539
6540 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6541 (gdb-send): Handle continued commands. (Bug#14847)
6542
6543 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6544
6545 * desktop.el (desktop--v2s): Remove unused local variable.
6546 (desktop-save-buffer): Make defvar-local; adjust docstring.
6547 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6548 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6549
6550 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6551
6552 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6553
6554 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6555
6556 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6557 (Bug#14842)
6558
6559 2013-07-12 Glenn Morris <rgm@gnu.org>
6560
6561 * doc-view.el: Require cl-lib at runtime too.
6562 (doc-view-remove-if): Remove.
6563 (doc-view-search-next-match, doc-view-search-previous-match):
6564 Use cl-remove-if.
6565
6566 * edmacro.el: Require cl-lib at runtime too.
6567 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6568 (edmacro-mismatch, edmacro-subseq): Remove.
6569
6570 * shadowfile.el: Require cl-lib.
6571 (shadow-remove-if): Remove.
6572 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6573 Use cl-remove-if.
6574
6575 * wid-edit.el: Require cl-lib.
6576 (widget-choose): Use cl-remove-if.
6577 (widget-remove-if): Remove.
6578
6579 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6580 (ebrowse-delete-if-not): Remove.
6581 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6582 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6583 Use cl-delete-if-not.
6584
6585 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6586
6587 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6588 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6589
6590 2013-07-12 Leo Liu <sdl.web@gmail.com>
6591
6592 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6593
6594 2013-07-11 Glenn Morris <rgm@gnu.org>
6595
6596 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6597 (edebug-gensym-index, edebug-gensym):
6598 Remove reimplementation of cl-gensym.
6599 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6600
6601 * thumbs.el: Require cl-lib at run-time too.
6602 (thumbs-gensym-counter, thumbs-gensym):
6603 Remove reimplementation of cl-gensym.
6604 (thumbs-temp-file): Use cl-gensym.
6605
6606 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6607 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6608 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6609 (ert--union, ert--gensym-counter, ert--gensym-counter)
6610 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6611 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6612 (ert-make-test-unbound, ert--expand-should-1)
6613 (ert--expand-should, ert--should-error-handle-error)
6614 (should-error, ert--explain-equal-rec)
6615 (ert--plist-difference-explanation, ert-select-tests)
6616 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6617 Use cl-lib functions rather than reimplementations.
6618
6619 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6620
6621 * net/tramp.el (tramp-methods): Extend docstring.
6622 (tramp-connection-timeout): New defcustom.
6623 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6624 (with-tramp-progress-reporter): Simplify.
6625 (tramp-process-actions): Improve messages.
6626
6627 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6628 * net/tramp-sh.el (tramp-maybe-open-connection):
6629 Use `tramp-connection-timeout'.
6630 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6631 (Bug#14808)
6632
6633 2013-07-11 Leo Liu <sdl.web@gmail.com>
6634
6635 * ido.el (ido-read-file-name): Conform to the requirements of
6636 read-file-name. (Bug#11861)
6637 (ido-read-directory-name): Conform to the requirements of
6638 read-directory-name.
6639
6640 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6641
6642 * subr.el (delay-warning): New function.
6643
6644 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6645
6646 * simple.el (default-line-height): New function.
6647 (line-move-partial, line-move): Use it instead of computing the
6648 line height inline.
6649 (line-move-partial): Always compute ROWH. If the last line is
6650 partially-visible, but its text is completely visible, allow
6651 cursor to enter such a partially-visible line.
6652
6653 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6654
6655 Improve error messages. (Bug#14808)
6656
6657 * net/tramp.el (tramp-current-connection): New defvar, moved from
6658 tramp-sh.el.
6659 (tramp-message-show-progress-reporter-message): Remove, not
6660 needed anymore.
6661 (tramp-error-with-buffer): Show message in minibuffer.
6662 Discard input before waiting. Reset connection timestamp.
6663 (with-tramp-progress-reporter): Improve messages.
6664 (tramp-process-actions): Use progress reporter. Delete process in
6665 case of error. Improve messages.
6666
6667 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6668 Call `tramp-error-with-buffer' with vector and buffer.
6669 (tramp-current-connection): Remove.
6670 (tramp-maybe-open-connection): The car of
6671 `tramp-current-connection' are the first 3 slots of the vector.
6672
6673 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6674
6675 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6676 inside continued strings.
6677
6678 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6679
6680 Timestamp fixes for undo (Bug#14824).
6681 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6682
6683 2013-07-10 Leo Liu <sdl.web@gmail.com>
6684
6685 * files.el (require-final-newline): Allow safe local value.
6686 (Bug#14834)
6687
6688 2013-07-09 Leo Liu <sdl.web@gmail.com>
6689
6690 * ido.el (ido-read-directory-name): Handle fallback.
6691 (ido-read-file-name): Update DIR to ido-current-directory.
6692 (Bug#1516)
6693 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6694
6695 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6696
6697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6698 "autoload". Remove "warn lower camel case" section, previously
6699 commented out. Highlight negation char. Do not highlight the
6700 target in singleton method definitions.
6701
6702 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * faces.el (tty-setup-hook): Declare the hook.
6705
6706 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6707 and detect when a guard/pred depends on local vars (bug#14773).
6708 (pcase--u1): Adjust caller.
6709
6710 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6711
6712 * simple.el (line-move-partial, line-move): Account for
6713 line-spacing.
6714 (line-move-partial): Avoid setting vscroll when the last
6715 partially-visible line in window is of default height.
6716
6717 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6718
6719 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6720 been used a while.
6721
6722 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * subr.el (read-quoted-char): Remove unused local variable `char'.
6725
6726 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6727
6728 * ediff.el (ediff-version): Version update.
6729 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6730 (ediff-merge-with-ancestor-command, ediff-directories-command)
6731 (ediff-directories3-command, ediff-merge-directories-command)
6732 (ediff-merge-directories-with-ancestor-command): New functions.
6733 All are command-line interfaces to ediff: to facilitate calling
6734 Emacs with the appropriate ediff functions invoked.
6735
6736 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6737 (viper-save-kill-buffer): Check if buffer is modified.
6738
6739 * viper.el (viper-version): Version update.
6740 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6741
6742 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6745 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6746 (viper-intercept-ESC-key): Simplify.
6747 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6748 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6749 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6750 (viper-setup-ESC-to-escape): New functions.
6751 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6752 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6753
6754 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6755
6756 * simple.el (default-font-height, window-screen-lines):
6757 New functions.
6758 (line-move, line-move-partial): Use them instead of
6759 frame-char-height and window-text-height. This makes scrolling
6760 text smoother when the buffer's default face uses a font that is
6761 different from the frame's default font.
6762
6763 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6764
6765 * files.el (write-file): Do not display confirm dialog for NS,
6766 it does its own dialog, which can't be cancelled (Bug#14578).
6767
6768 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6769
6770 * simple.el (line-move-partial): Adjust the row returned by
6771 posn-at-point for the current window-vscroll. (Bug#14567)
6772
6773 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6774
6775 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6776 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6777 spaces.
6778
6779 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6780
6781 * window.el (window-state-put-stale-windows): New variable.
6782 (window--state-put-2): Save list of windows without matching buffer.
6783 (window-state-put): Remove "bufferless" windows if possible.
6784
6785 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6786
6787 * simple.el (alternatives-define): Remove leftover :group keyword.
6788 Tweak docstring.
6789
6790 2013-07-06 Leo Liu <sdl.web@gmail.com>
6791
6792 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6793 (ido-enable-virtual-buffers): New variable.
6794 (ido-buffer-internal, ido-toggle-virtual-buffers)
6795 (ido-make-buffer-list): Use it.
6796 (ido-exhibit): Support turning on and off virtual buffers
6797 automatically.
6798
6799 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6800
6801 * simple.el (alternatives-define): New macro.
6802
6803 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * subr.el (read-quoted-char): Use read-key.
6806 (sit-for): Let read-event decode tty input (bug#14782).
6807
6808 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6809
6810 * calendar/todo-mode.el: Add handling of file deletion, both by
6811 mode command and externally. Fix various related bugs.
6812 Clarify Commentary and improve some documentation strings and code.
6813 (todo-delete-file): New command.
6814 (todo-check-file): New function.
6815 (todo-show): Handle external deletion of the file we're trying to
6816 show (bug#14688). Replace called-interactively-p by an optional
6817 prefix argument to avoid problematic interaction with catch form
6818 when byte compiled (bug#14702).
6819 (todo-quit): Handle external deletion of the archive's todo file.
6820 Make sure the buffer that was visiting the archive file is still
6821 live before trying to bury it.
6822 (todo-category-completions): Handle external deletion of any
6823 category completion files.
6824 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6825 of todo files, in case of external deletion.
6826 (todo-add-file): Replace unnecessary setq by let-binding.
6827 (todo-find-archive): Check whether there are any archives.
6828 Replace unnecessary setq by let-binding.
6829 (todo-archive-done-item): Use find-file-noselect to get the
6830 archive buffer whether or not the archive already exists.
6831 Remove superfluous code. Use file size instead of buffer-file-name to
6832 check if the archive is new; if it is, update list of archives.
6833 (todo-default-todo-file): Allow nil to be a valid value for when
6834 there are no todo files.
6835 (todo-reevaluate-default-file-defcustom): Use corrected definition
6836 of todo-default-todo-file.
6837 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6838 (todo-delete-category, todo-show-categories-table)
6839 (todo-category-number): Clarify comment.
6840 (todo-filter-items): Clarify documentation string.
6841 (todo-show-current-file, todo-display-as-todo-file)
6842 (todo-reset-and-enable-done-separator): Tweak documentation string.
6843 (todo-done-separator): Make separator length window-width, since
6844 bug#2749 is now fixed.
6845
6846 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6847
6848 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6849 Support both "gvfs-monitor-dir" and "inotifywait".
6850 (tramp-sh-file-inotifywait-process-filter): Rename from
6851 `tramp-sh-file-notify-process-filter'.
6852 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6853 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6854
6855 2013-07-05 Leo Liu <sdl.web@gmail.com>
6856
6857 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6858
6859 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6860
6861 * frame.el (display-pixel-height, display-pixel-width)
6862 (display-mm-height, display-mm-width): Mention behavior on
6863 multi-monitor setups in docstrings.
6864 (w32-display-monitor-attributes-list): Declare function.
6865 (display-monitor-attributes-list): Use it.
6866
6867 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6868
6869 * filenotify.el: New package.
6870
6871 * autorevert.el (top): Require filenotify.el.
6872 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6873 instead.
6874 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6875 (auto-revert-notify-handler): Use `file-notify-*' functions.
6876
6877 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6878
6879 * net/tramp.el (tramp-file-name-for-operation):
6880 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6881
6882 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6883 for `file-notify-add-watch' and `file-notify-rm-watch'.
6884 (tramp-process-sentinel): Improve trace.
6885 (tramp-sh-handle-file-notify-add-watch)
6886 (tramp-sh-file-notify-process-filter)
6887 (tramp-sh-handle-file-notify-rm-watch)
6888 (tramp-get-remote-inotifywait): New defuns.
6889
6890 2013-07-03 Juri Linkov <juri@jurta.org>
6891
6892 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6893 call of `occur-read-primary-args' to interactive spec.
6894
6895 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6896 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6897
6898 2013-07-03 Matthias Meulien <orontee@gmail.com>
6899
6900 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6901 `Buffer-menu-multi-occur'. Add it to the menu.
6902 (Buffer-menu-mode): Document it in docstring.
6903 (Buffer-menu-multi-occur): New command. (Bug#14673)
6904
6905 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6906
6907 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6908 keywords and built-ins.
6909
6910 2013-07-03 Glenn Morris <rgm@gnu.org>
6911
6912 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6913
6914 Make info-xref checks case-sensitive by default
6915 * info.el (Info-find-node, Info-find-in-tag-table)
6916 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6917 Add option for exact case matching of nodes.
6918 * info-xref.el (info-xref): New custom group.
6919 (info-xref-case-fold): New option.
6920 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6921
6922 2013-07-03 Leo Liu <sdl.web@gmail.com>
6923
6924 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6925
6926 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6927
6928 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6929 middle of block statement initially, lower the depth. Remove
6930 FIXME comment, not longer valid. Remove middle of block statement
6931 detection, no need to do that anymore since we've been using
6932 `ruby-parse-region' here.
6933
6934 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6935
6936 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6937
6938 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6939
6940 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6941
6942 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6943
6944 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6945 (desktop-restore-in-current-display): New customization option.
6946 (desktop--excluded-frame-parameters): Add `font'.
6947 (desktop--save-frames): Rename from desktop--save-windows.
6948 (desktop--restore-in-this-display-p): New function.
6949 (desktop--make-full-frame): Remove unwanted width/height from
6950 full(width|height) frames.
6951 (desktop--restore-frames): Rename from desktop--restore-windows.
6952 Obey desktop-restore-current-display. Do not delete old frames or
6953 select a new frame unless we were able to restore at least one frame.
6954
6955 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6956
6957 * files.el (find-file-noselect): Simplify conditional expression.
6958
6959 * remember.el (remember-append-to-file):
6960 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6961
6962 Add `remember-notes' function to store random notes across Emacs
6963 restarts.
6964 * remember.el (remember-data-file): Add :set callback to affect
6965 notes buffer (if any).
6966 (remember-notes): New command.
6967 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6968 New defcustoms for the `remember-notes' function.
6969 (remember-notes-save-and-bury-buffer): New command.
6970 (remember-notes-mode-map): New variable.
6971 (remember-mode): New minor mode.
6972 (remember-notes--kill-buffer-query): New function.
6973 * startup.el (initial-buffer-choice): Add notes to custom type.
6974
6975 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6976
6977 * bindings.el (right-char, left-char): Don't call sit-for, this is
6978 no longer needed. Use arithmetic comparison only for numerical
6979 arguments.
6980
6981 * international/mule-cmds.el (select-safe-coding-system):
6982 Handle the case of FROM being a string correctly. (Bug#14755)
6983
6984 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6985
6986 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6987 progression on degenerate tables.
6988 (shr-rescale-image): ImageMagick animated images currently don't work.
6989
6990 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6991
6992 Some fixes and improvements for desktop frame restoration.
6993 It is still experimental and disabled by default.
6994 * desktop.el (desktop--save-windows): Put the selected frame at
6995 the head of the list.
6996 (desktop--make-full-frame): New function.
6997 (desktop--restore-windows): Try to re-select the frame that was
6998 selected upon saving. Do not abort if some frames fail to restore,
6999 just show an error message and continue. Set up maximized frames
7000 so they have default non-maximized dimensions.
7001
7002 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7003
7004 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7005 Don't start heredoc inside a string or comment.
7006
7007 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7008
7009 * bindings.el (visual-order-cursor-movement): New defcustom.
7010 (right-char, left-char): Provide visual-order cursor motion by
7011 calling move-point-visually. Update the doc strings.
7012
7013 2013-06-28 Kenichi Handa <handa@gnu.org>
7014
7015 * international/mule.el (define-coding-system): New coding system
7016 properties :inhibit-null-byte-detection,
7017 :inhibit-iso-escape-detection, and :prefer-utf-8.
7018 (set-buffer-file-coding-system): If :charset-list property of
7019 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7020 appropriate for setting.
7021
7022 * international/mule-cmds.el (select-safe-coding-system):
7023 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7024 multibyte characters, return utf-8 (or one of its siblings).
7025
7026 * international/mule-conf.el (prefer-utf-8): New coding system.
7027 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7028 files.
7029
7030 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7031
7032 * net/shr.el (shr-render-region): New function.
7033
7034 * net/eww.el: Autoload `eww-browse-url'.
7035
7036 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7037
7038 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7039 Adapt to `package-desc-version' being a list.
7040 Use `package--ac-desc-version' to retrieve version from a package
7041 archive element.
7042
7043 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7044
7045 New experimental feature to save&restore window and frame setup.
7046 * desktop.el (desktop-save-windows): New defcustom.
7047 (desktop--saved-states): New var.
7048 (desktop--excluded-frame-parameters): New defconst.
7049 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7050 (desktop--restore-windows, desktop--save-windows): New functions.
7051 (desktop-save): Call `desktop--save-windows'.
7052 (desktop-read): Call `desktop--restore-windows'.
7053
7054 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055
7056 * net/shr.el (add-face-text-property): Remove compat definition.
7057
7058 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7059
7060 * info.el (Info-try-follow-nearest-node): Move search for footnote
7061 above search for node name to prevent missing a footnote (bug#14717).
7062
7063 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7064
7065 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7066
7067 2013-06-27 Leo Liu <sdl.web@gmail.com>
7068
7069 * net/eww.el (eww-read-bookmarks): Check file size.
7070
7071 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7074 advice--pending if newdef is nil or an autoload (bug#13820).
7075 (advice-mapc): New function.
7076
7077 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7078
7079 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7080 probably.
7081 (eww-mode-map): Add a menu bar.
7082 (eww-add-bookmark): New command.
7083 (eww-bookmark-mode): New mode and commands.
7084 (eww-add-bookmark): Remove newlines from the title.
7085 (eww-bookmark-browse): Don't bug out if it's the only window.
7086
7087 2013-06-26 Glenn Morris <rgm@gnu.org>
7088
7089 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7090 (hfy-size): Handle ttys. (Bug#14668)
7091
7092 * info-xref.el: Update for Texinfo 5 change in *note format.
7093 (info-xref-node-re, info-xref-note-re): New constants.
7094 (info-xref-check-buffer): Use info-xref-note-re.
7095
7096 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7099
7100 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7101 nil terminate the loop (bug#14718).
7102
7103 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7104
7105 * net/eww.el: Rework history traversal. When going forward/back,
7106 put these actions into the history, too, so that they can be
7107 replayed.
7108 (eww-render): Move the history reset to the correct buffer.
7109
7110 2013-06-25 Juri Linkov <juri@jurta.org>
7111
7112 * files-x.el (modify-dir-local-variable): Change the header comment
7113 in the file with directory local variables. (Bug#14692)
7114
7115 * files-x.el (read-file-local-variable-value): Add `default'.
7116 (Bug#14710)
7117
7118 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7119
7120 * net/eww.el (eww-make-unique-file-name): Create a unique file
7121 name before saving to entering `y' accidentally asynchronously.
7122
7123 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7124
7125 * net/eww.el (eww-download): New command and keystroke.
7126
7127 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7128
7129 * net/eww.el (eww-copy-page-url): Change name of command.
7130
7131 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7132 be more consistent with Info and dired.
7133
7134 * net/eww.el (eww-mode-map): Ditto.
7135
7136 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7139 packages from archives.
7140 (package-archive-contents): Change format; include obsolete packages.
7141 (package-desc): Use `dir' to mark builtin packages.
7142 (package--from-builtin): Set the `dir' field to `builtin'.
7143 (generated-autoload-file, version-control): Declare.
7144 (package-compute-transaction): Change first arg and return value to be
7145 lists of package-descs. Adjust to new package-archive-contents format.
7146 (package--add-to-archive-contents): Adjust to new
7147 package-archive-contents format.
7148 (package-download-transaction): Arg is now a list of package-descs.
7149 (package-install): If `pkg' is a package name, pass it as
7150 a requirement, so it is subject to the usual (e.g. disabled) checks.
7151 (describe-package): Accept package-desc as well.
7152 (describe-package-1): Describe a specific package-desc. Add links to
7153 other package-descs for the same package name.
7154 (package-menu-describe-package): Pass the actual package-desc.
7155 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7156 works correctly.
7157 (package-desc-status): New function.
7158 (package-menu--refresh): New function, extracted
7159 from package-menu--generate.
7160 (package-menu--generate): Use it.
7161 (package-delete): Update package-alist.
7162 (package-menu-execute): Don't call package-initialize.
7163
7164 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7165 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7166 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7167 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7168 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7169 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7170
7171 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7172
7173 * window.el (window--state-get-1): Workaround for bug#14527.
7174 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7175
7176 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7177
7178 * net/eww.el (eww-back-url): Implement the history by stashing all
7179 the data into a list.
7180 (eww-forward-url): Allow going forward in the history, too.
7181
7182 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7185 for values and use read--expression for expressions (bug#14710).
7186 (read-file-local-variable): Avoid setq.
7187 (read-file-local-variable-mode): Use minor-mode-list.
7188
7189 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7190
7191 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7192 for DOI URLs.
7193
7194 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7195
7196 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7197 Update imenu-support when dialect changes.
7198
7199 2013-06-25 Leo Liu <sdl.web@gmail.com>
7200
7201 * ido.el (ido-read-internal): Allow forward slash on windows.
7202
7203 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7204
7205 * net/eww.el (eww): Start of strings is \\`, not ^.
7206
7207 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7208
7209 * net/shr.el (shr-browse-url): Fix interactive spec.
7210
7211 * net/eww.el (eww): Add a trailing slash to domain names.
7212
7213 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7214
7215 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7216
7217 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7218
7219 * net/shr.el (shr-browse-url): Use an external browser if given a
7220 prefix.
7221
7222 * net/eww.el (eww-external-browser): Move to shr.
7223
7224 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7225
7226 * net/eww.el (eww): Work more correctly for file: URLs.
7227 (eww-detect-charset): Allow quoted charsets.
7228 (eww-yank-page-url): New command and keystroke.
7229
7230 2013-06-24 Daiki Ueno <ueno@gnu.org>
7231
7232 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7233 file name of gpg executable.
7234 (epg-context-program): New function.
7235 (epg-context-home-directory): New function.
7236 (epg-context-set-program): New function.
7237 (epg-context-set-home-directory): New function.
7238 (epg--start): Use `epg-context-program' instead of
7239 'epg-gpg-program'.
7240 (epg--list-keys-1): Likewise.
7241
7242 2013-06-24 Leo Liu <sdl.web@gmail.com>
7243
7244 * ido.el (ido-read-internal): Fix bug#14620.
7245
7246 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7247
7248 * faces.el (face-documentation): Simplify.
7249 (read-face-attribute, tty-find-type, x-resolve-font-name):
7250 Use `string-match-p'.
7251 (list-faces-display): Use `string-match-p'. Simplify.
7252 (face-spec-recalc): Check face to avoid face alias loops.
7253 (read-color): Use `string-match-p' and non-capturing parenthesis.
7254
7255 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7256
7257 * net/shr.el (shr-rescale-image): Use the new
7258 :max-width/:max-height functionality.
7259
7260 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7261
7262 * net/eww.el (eww-search-prefix): New variable.
7263 (eww): Use it.
7264 (eww-external-browser): New variable.
7265 (eww-mode-map): New keystroke.
7266 (eww-browse-with-external-browser): New command.
7267
7268 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7269
7270 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7271
7272 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7273 Don't skip aligning the next header field when padding is 0;
7274 otherwise, field width is not respected unless the title is as
7275 wide as the field.
7276
7277 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * emacs-lisp/package.el (package-el-version): Remove.
7280 (package-process-define-package): Fix inf-loop.
7281 (package-install): Allow symbols as arguments again.
7282
7283 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7284
7285 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7286 add some more keyword-like methods.
7287 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7288
7289 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * bs.el (bs-buffer-show-mark): Make defvar-local.
7292 (bs-mode): Use setq-local.
7293
7294 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7295 (emacs-lock--try-unlocking): Make defvar-local.
7296
7297 2013-06-22 Glenn Morris <rgm@gnu.org>
7298
7299 * play/cookie1.el (cookie-apropos): Minor simplification.
7300
7301 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7302
7303 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7304
7305 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7306 `regexp-opt', it breaks the build during dumping.
7307
7308 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7309
7310 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7311 Highlight keyword-like methods on Kernel and Module with
7312 font-lock-builtin-face.
7313 (auto-mode-alist): Consolidate different entries into one regexp
7314 and add more *file-s.
7315
7316 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7317
7318 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7319
7320 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7321 (diary-entry): Use it in the action of this button type instead of
7322 diary-goto-entry.
7323
7324 * calendar/todo-mode.el: New version.
7325 (todo-add-category): Append new category to end of file and give
7326 it the highest number, instead of putting it at the beginning and
7327 giving it 0. Incorporate noninteractive functionality.
7328 (todo-forward-category): Adapt to 1-based category numbering.
7329 Allow skipping over archived categories.
7330 (todo-backward-category): Derive from todo-forward-category.
7331 (todo-backward-item, todo-forward-item): Make noninteractive and
7332 delegate interactive part to new commands. Make sensitive to done items.
7333 (todo-categories): Make value an alist of category names and
7334 vectors of item counts.
7335 (todo-category-beg): Make a defconst.
7336 (todo-category-number): Use 1 instead of 0 as initial value.
7337 (todo-category-select): Make sensitive to overlays, optional item
7338 highlighting and done items.
7339 (todo-delete-item): Make sensitive to overlays and marked and done items.
7340 (todo-edit-item): Make sensitive to overlays and editing of
7341 date/time header optional. Add format checks.
7342 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7343 no-op if point is not on an item. Advertise using todo-edit-quit.
7344 (todo-edit-mode): Make sensitive to new format, font-locking, and
7345 multiple todo files.
7346 (todo-insert-item, todo-insert-item-here): Derive from
7347 todo-basic-insert-item and extend functionality.
7348 (todo-item-end, todo-item-start): Make sensitive to done items.
7349 (todo-item-string): Don't return text properties. Restore point.
7350 (todo-jump-to-category): Make sensitive to multiple todo files and
7351 todo archives. Use extended category completion.
7352 (todo-lower-item, todo-raise-item): Rename to *-priority and
7353 derive from todo-set-item-priority.
7354 (todo-mode): Derive from special-mode. Make sensitive to new
7355 format, font-locking and multiple todo files. Make read-only.
7356 (todo-mode-map): Don't suppress digit keys, so they can supply
7357 prefix arguments. Add many new key bindings.
7358 (todo-prefix): Insert as an overlay instead of file text.
7359 Change semantics from diary date expression to purely visual mark.
7360 (todo-print): Rename to todo-print-buffer. Make buffer display
7361 features printable. Remove option to restrict number of items
7362 printed. Add option to print to file.
7363 (todo-print-function): Rename to todo-print-buffer-function.
7364 (todo-quit): Extend to handle exiting new todo modes.
7365 (todo-remove-item): Make sensitive to overlays.
7366 (todo-save): Extend to buffers of filtered items.
7367 (todo-show): Make sensitive to done items, multiple todo files and
7368 new todo modes. Offer to convert legacy todo file before creating
7369 first new todo file.
7370 (todo-show-priorities): Rename to todo-top-priorities.
7371 Change semantics of value 0.
7372 (todo-top-priorities): Rename to todo-filter-top-priorities,
7373 derive from todo-filter-items and extend functionality.
7374 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7375 and extend functionality to other types of filtered items.
7376 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7377 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7378 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7379 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7380 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7381 (todo-edit-mode-hook, todo-entry-prefix-function)
7382 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7383 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7384 (todo-initials, todo-insert-threshold, todo-item-string-start)
7385 (todo-line-string, todo-menu, todo-mode-hook)
7386 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7387 (todo-print-priorities, todo-remove-separator)
7388 (todo-save-top-priorities-too, todo-string-count-lines)
7389 (todo-string-multiline-p, todo-time-string-format)
7390 (todo-tmp-buffer-name): Remove.
7391 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7392 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7393 (todo-edit-category-diary-inclusion)
7394 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7395 (todo-edit-file, todo-edit-item-date-day)
7396 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7397 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7398 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7399 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7400 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7401 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7402 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7403 (todo-filter-top-priorities-multifile, todo-find-archive)
7404 (todo-find-filtered-items-file, todo-go-to-source-item)
7405 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7406 (todo-jump-to-archive-category, todo-lower-category)
7407 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7408 (todo-move-category, todo-move-item, todo-next-button)
7409 (todo-next-item, todo-padded-string, todo-powerset)
7410 (todo-previous-button, todo-previous-item)
7411 (todo-print-buffer-to-file, todo-raise-category)
7412 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7413 (todo-set-category-number, todo-set-item-priority)
7414 (todo-set-top-priorities-in-category)
7415 (todo-set-top-priorities-in-file, todo-show-categories-table)
7416 (todo-sort-categories-alphabetically-or-numerically)
7417 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7418 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7419 (todo-toggle-item-header, todo-toggle-item-highlighting)
7420 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7421 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7422 (todo-unarchive-items, todo-unmark-category): New commands.
7423 (todo-absolute-file-name, todo-add-to-buffer-list)
7424 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7425 (todo-basic-insert-item, todo-category-completions)
7426 (todo-category-number, todo-category-string-matcher-1)
7427 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7428 (todo-check-format, todo-clear-matches)
7429 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7430 (todo-current-category, todo-date-string-matcher)
7431 (todo-define-insertion-command, todo-diary-expired-matcher)
7432 (todo-diary-goto-entry, todo-diary-item-p)
7433 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7434 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7435 (todo-done-item-section-p, todo-done-separator)
7436 (todo-done-string-matcher, todo-files, todo-filter-items)
7437 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7438 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7439 (todo-insert-category-line, todo-insert-item-from-calendar)
7440 (todo-insert-sort-button, todo-insert-with-overlays)
7441 (todo-insertion-command-name, todo-insertion-key-bindings)
7442 (todo-label-to-key, todo-longest-category-name-length)
7443 (todo-make-categories-list, todo-mode-external-set)
7444 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7445 (todo-modes-set-3, todo-multiple-filter-files)
7446 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7447 (todo-read-category, todo-read-date, todo-read-dayname)
7448 (todo-read-file-name, todo-read-time)
7449 (todo-reevaluate-category-completions-files-defcustom)
7450 (todo-reevaluate-default-file-defcustom)
7451 (todo-reevaluate-filelist-defcustoms)
7452 (todo-reevaluate-filter-files-defcustom)
7453 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7454 (todo-reset-done-separator, todo-reset-done-separator-string)
7455 (todo-reset-done-string, todo-reset-global-current-todo-file)
7456 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7457 (todo-reset-prefix, todo-set-categories)
7458 (todo-set-date-from-calendar, todo-set-show-current-file)
7459 (todo-set-top-priorities, todo-short-file-name)
7460 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7461 (todo-total-item-counts, todo-update-buffer-list)
7462 (todo-update-categories-display, todo-update-categories-sexp)
7463 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7464 New functions.
7465 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7466 New major modes.
7467 (todo-categories, todo-display, todo-edit, todo-faces)
7468 (todo-filtered): New defgroups.
7469 (todo-archived-only, todo-button, todo-category-string, todo-date)
7470 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7471 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7472 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7473 (todo-add-item-if-new-category, todo-always-add-time-string)
7474 (todo-categories-align, todo-categories-archived-label)
7475 (todo-categories-category-label, todo-categories-diary-label)
7476 (todo-categories-done-label, todo-categories-number-separator)
7477 (todo-categories-todo-label, todo-categories-totals-label)
7478 (todo-category-completions-files, todo-completion-ignore-case)
7479 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7480 (todo-done-separator-string, todo-done-string)
7481 (todo-files-function, todo-filter-done-items, todo-filter-files)
7482 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7483 (todo-initial-category, todo-initial-file, todo-item-mark)
7484 (todo-legacy-date-time-regexp, todo-mode-line-function)
7485 (todo-nondiary-marker, todo-number-prefix)
7486 (todo-print-buffer-function, todo-show-current-file)
7487 (todo-show-done-only, todo-show-first, todo-show-with-done)
7488 (todo-skip-archived-categories, todo-top-priorities-overrides)
7489 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7490 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7491 New defcustoms.
7492 (todo-category-done, todo-date-pattern, todo-date-string-start)
7493 (todo-diary-items-buffer, todo-done-string-start)
7494 (todo-filtered-items-buffer, todo-item-start)
7495 (todo-month-abbrev-array, todo-month-name-array)
7496 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7497 (todo-top-priorities-buffer): New defconsts.
7498 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7499 (todo-categories-with-marks, todo-category-string-face)
7500 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7501 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7502 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7503 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7504 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7505 (todo-font-lock-keywords, todo-global-current-todo-file)
7506 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7507 (todo-insertion-commands-args)
7508 (todo-insertion-commands-args-genlist)
7509 (todo-insertion-commands-names, todo-insertion-map)
7510 (todo-key-bindings-t, todo-key-bindings-t+a)
7511 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7512 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7513 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7514 (todo-visited): New variables.
7515
7516 2013-06-21 Glenn Morris <rgm@gnu.org>
7517
7518 * play/cookie1.el (cookie-apropos): Add optional display argument.
7519 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7520 (psychoanalyze-pinhead): Use cookie-doctor.
7521
7522 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7523
7524 * emacs-lisp/package.el (tar-get-file-descriptor)
7525 (tar--extract): Declare.
7526
7527 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7528
7529 Extend flymake's warning predicate to be a function (bug#14217).
7530 * progmodes/flymake.el (flymake-warning-predicate): New.
7531 (flymake-parse-line): Use it.
7532 (flymake-warning-re): Make obsolete alias to
7533 `flymake-warning-predicate'.
7534
7535 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7538 (package-obsolete-list): Remove.
7539 (package-activate): Remove min-version argument. Add `force' argument.
7540 Adjust to new package-alist format.
7541 (package-mark-obsolete): Remove.
7542 (package-unpack): Force reload of the package's autoloads.
7543 (package-installed-p): Check builtins if the installed package is not
7544 recent enough.
7545 (package-initialize): Don't reset package-obsolete-list.
7546 Don't specify which package version to activate.
7547 (package-process-define-package, describe-package-1)
7548 (package-menu--generate): Adjust to new package-alist format.
7549
7550 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7551
7552 * allout-widgets.el (allout-widgets-mode-off)
7553 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7554 (allout-widgets-post-command-business)
7555 (allout-widgets-after-copy-or-kill-function)
7556 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7557 (allout-decorate-item-and-context)
7558 (allout-graphics-modification-handler): Fix typos in docstrings.
7559 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7560
7561 * cmuscheme.el (scheme-start-file): Doc fix.
7562 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7563 (scheme-input-filter): Use `string-match-p'.
7564
7565 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7566
7567 * dired-x.el: Use Dired consistently in docstrings.
7568
7569 * dired.el: Use Dired consistently in docstrings.
7570 (dired-readin, dired-mode): Use `setq-local'.
7571 (dired-switches-alist): Make defvar-local.
7572 (dired-buffers-for-dir): Use `zerop'.
7573 (dired-safe-switches-p, dired-switches-escape-p)
7574 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7575 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7576 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7577 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7578 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7579 (dired-toggle-marks, dired-mark-files-containing-regexp)
7580 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7581 (dired-flag-auto-save-files, dired-flag-backup-files):
7582 Use `looking-at-p'.
7583 (dired-mark-files-regexp, dired-build-subdir-alist):
7584 Use `string-match-p', `looking-at-p'.
7585
7586 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7587 (direct-print-region-helper): Use `string-match-p'.
7588
7589 2013-06-21 Leo Liu <sdl.web@gmail.com>
7590
7591 * comint.el (comint-redirect-results-list-from-process):
7592 Fix infinite loop.
7593
7594 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7595
7596 * net/eww.el (eww-update-header-line-format): Quote % characters.
7597
7598 2013-06-21 Glenn Morris <rgm@gnu.org>
7599
7600 * play/cookie1.el (cookie): New custom group.
7601 (cookie-file): New option.
7602 (cookie-check-file): New function.
7603 (cookie): Make it interactive. Make start and end messages optional.
7604 Interactively, display the result. Default to cookie-file.
7605 (cookie-insert): Default to cookie-file.
7606 (cookie-snarf): Make start and end messages optional.
7607 Default to cookie-file. Use with-temp-buffer.
7608 (cookie-read): Rename from read-cookie.
7609 Make start and end messages optional. Default to cookie-file.
7610 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7611 Do not autoload it.
7612 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7613 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7614
7615 2013-06-21 Leo Liu <sdl.web@gmail.com>
7616
7617 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7618
7619 2013-06-21 Glenn Morris <rgm@gnu.org>
7620
7621 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7622
7623 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7624 Daniel Hackney <dan@haxney.org>
7625
7626 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7627 Consolidate the single-file vs tarball code.
7628 (package-desc-suffix): New function.
7629 (package-desc-full-name): Don't bother inlining it.
7630 (package-load-descriptor): Return the new package-desc.
7631 (package-mark-obsolete): Remove unused arg `package'.
7632 (package-unpack): Make it work for single files as well.
7633 Make it update package-alist.
7634 (package--make-autoloads-and-stuff): Rename from
7635 package--make-autoloads-and-compile. Don't compile any more.
7636 (package--compile): New function.
7637 (package-generate-description-file): New function, extracted from
7638 package-unpack-single.
7639 (package-unpack-single): Remove.
7640 (package--with-work-buffer): Add indentation and debugging info.
7641 (package-download-single): Remove.
7642 (package-install-from-archive): Rename from package-download-tar, make
7643 it take a pkg-desc, and make it work for single files as well.
7644 (package-download-transaction): Simplify.
7645 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7646 external tar program.
7647 (package-install-from-buffer): Remove `pkg-desc' argument.
7648 Use package-tar-file-info for tar-mode buffers.
7649 (package-install-file): Simplify accordingly.
7650 (package-archive-base): Change to take a pkg-desc.
7651 * tar-mode.el (tar--check-descriptor): New function, extracted from
7652 tar-get-descriptor.
7653 (tar-get-descriptor): Use it.
7654 (tar-get-file-descriptor): New function.
7655 (tar--extract): New function, extracted from tar-extract.
7656 (tar--extract): Use it.
7657 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7658 case the summary uses non-ascii. Adjust to new calling convention of
7659 package-tar-file-info.
7660
7661 2013-06-21 Leo Liu <sdl.web@gmail.com>
7662
7663 * comint.el (comint-redirect-results-list-from-process):
7664 Fix random delay. (Bug#14681)
7665
7666 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7667
7668 * profiler.el (profiler-format-number): Use log, not log10.
7669
7670 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7673
7674 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7677 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7678 yet available.
7679 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7680 (AUTOGENEL): ... here.
7681 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7682 (cl--defsubst-expand): Use it.
7683
7684 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7685
7686 * subr.el (log10): Move here from C code, and declare as obsolete.
7687 All uses of (log10 X) replaced with (log X 10).
7688
7689 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7690
7691 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7692 Declare with `defvar-local'.
7693 (tabulated-list-use-header-line, tabulated-list-entries)
7694 (tabulated-list-padding, tabulated-list-printer)
7695 (tabulated-list-sort-key): Declare with `defvar-local'.
7696 (tabulated-list-init-header, tabulated-list-print-fake-header):
7697 Use `setq-local'.
7698
7699 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7700
7701 * arc-mode.el (archive-mode): Add `archive-write-file' to
7702 `write-contents-functions' also for remote files. (Bug#14652)
7703
7704 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7705
7706 * cus-edit.el (custom-commands): Fix typos.
7707 (custom-display): Fix tooltip text.
7708 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7709 Fix typos in docstrings.
7710 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7711 (custom-unlispify-menu-entry, custom-magic-value-create)
7712 (custom-add-see-also, custom-group-value-create): Use ?\s.
7713 (custom-guess-type, customize-apropos, editable-field)
7714 (custom-face-value-create): Use `string-match-p'.
7715 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7716
7717 * custom.el (custom-load-symbol): Use `string-match-p'.
7718
7719 * ansi-color.el: Convert to lexical binding.
7720 (ansi-colors): Fix URL.
7721 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7722 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7723 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7724
7725 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
7727 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7728
7729 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7730
7731 2013-06-19 Tom Tromey <tromey@redhat.com>
7732
7733 * net/eww.el (eww-top-url): Remove.
7734 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7735 (eww-render): Set new variables. Don't set eww-top-url.
7736 (eww-handle-link): Handle "prev", "home", and "contents".
7737 Downcase the rel text.
7738 (eww-top-url): Choose best top URL.
7739
7740 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7741
7742 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7743 relying in widget.el. Using widget.el leads to too many
7744 user interface inconsistencies.
7745 (eww-self-insert): Implement entering commands in text fields.
7746 (eww-process-text-input): New function to make text input field editing
7747 work.
7748 (eww-submit): Rewrite to use the new-style form methods.
7749 (eww-select-display): Display the correct selected item.
7750 (eww-change-select): Implement changing the select value.
7751 (eww-toggle-checkbox): Implement radio/checkboxes.
7752 (eww-update-field): Fix compilation error.
7753 (eww-tag-textarea): Implement <textarea>.
7754
7755 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7756 we don't shadow mode-specific bindings.
7757
7758 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7759 nothing to push.
7760
7761 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7762
7763 2013-06-19 Glenn Morris <rgm@gnu.org>
7764
7765 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7766
7767 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7768
7769 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7770 not needed.
7771
7772 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7773
7774 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
7776 * net/browse-url.el (browse-url-browser-function):
7777 `eww-browse-url' has the right calling signature, `eww' does not.
7778
7779 2013-06-19 Glenn Morris <rgm@gnu.org>
7780
7781 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7782 Only eval autoloaded macros.
7783 (byte-compile-autoload): Only give the macro warning for macros.
7784
7785 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7786 (ps-underlined-faces): Declare.
7787
7788 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7789 (speedbar-add-supported-extension): Declare.
7790
7791 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7792 Don't include a date stamp in the header of the generated file;
7793 it leads to needless differences between output files.
7794
7795 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7796
7797 * net/secrets.el (secrets-struct-secret-content-type):
7798 Replace check of introspection data by a test call of "CreateItem".
7799 Some servers do not offer introspection.
7800
7801 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * electric.el (electric-pair-mode): Improve interaction with
7804 electric-layout-mode.
7805 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7806 (electric-pair-syntax): Use text-mode-syntax-table in comments
7807 and strings.
7808 (electric-pair--insert): New function.
7809 (electric-pair-post-self-insert-function): Use it and
7810 electric--after-char-pos.
7811
7812 2013-06-19 Leo Liu <sdl.web@gmail.com>
7813
7814 * progmodes/octave.el (octave-help): Fix regexp.
7815
7816 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7817
7818 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7819 (shr-table-horizontal-line): Allow nil as a value, and change the
7820 default.
7821 (shr-insert-table-ruler): Respect the nil value.
7822
7823 2013-06-18 Tom Tromey <tromey@barimba>
7824
7825 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7826 New defvars.
7827 (eww-open-file): New defun.
7828 (eww-render): Initialize new variables.
7829 (eww-display-html): Handle "link" and "a".
7830 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7831 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7832 (eww-back-url): Rename from eww-previous-url.
7833 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7834 New defuns.
7835
7836 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7837
7838 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7839 Distinguish ternary operator tokens from slash symbol and slash
7840 char literal.
7841
7842 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7843
7844 Convert symbol prettification into minor mode and global minor mode.
7845
7846 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7847 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7848 (prettify-symbols--keywords): Rename from
7849 `prog-prettify-symbols-alist' and make a local defvar.
7850 (prettify-symbols--compose-symbol): Rename from
7851 `prog--prettify-font-lock-compose-symbol'.
7852 (prettify-symbols--make-keywords): Rename from
7853 `prog-prettify-font-lock-symbols-keywords' and simplify.
7854 (prog-prettify-install): Remove.
7855 (prettify-symbols-mode): New minor mode, based on
7856 `prog-prettify-install'.
7857 (turn-on-prettify-symbols-mode): New function.
7858 (global-prettify-symbols-mode): New globalized minor mode.
7859
7860 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7861 * progmodes/cfengine.el (cfengine3-mode):
7862 * progmodes/perl-mode.el (perl-mode): Don't call
7863 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7864
7865 2013-06-18 Juri Linkov <juri@jurta.org>
7866
7867 * files-x.el (modify-file-local-variable-message): New function.
7868 (modify-file-local-variable)
7869 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7870 and call `modify-file-local-variable-message' when it's non-nil.
7871 (add-file-local-variable, delete-file-local-variable)
7872 (add-file-local-variable-prop-line)
7873 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7874 and use it. (Bug#9820)
7875
7876 2013-06-18 Juri Linkov <juri@jurta.org>
7877
7878 * emulation/vi.el (vi-shell-op):
7879 * emulation/vip.el (vip-execute-com, ex-command):
7880 * emulation/viper-cmd.el (viper-exec-bang):
7881 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7882 the call of `shell-command-on-region'. (Bug#14637)
7883
7884 * simple.el (shell-command-on-region): Doc fix.
7885
7886 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7889 (bug#14633).
7890
7891 2013-06-18 Glenn Morris <rgm@gnu.org>
7892
7893 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7894
7895 * newcomment.el (comment-search-forward, comment-search-backward):
7896 Doc fix. (Bug#14376)
7897
7898 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7899
7900 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7901 (buffer-face-mode-invoke): Doc fix.
7902
7903 2013-06-18 Matthias Meulien <orontee@gmail.com>
7904
7905 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7906 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7907
7908 2013-06-18 Glenn Morris <rgm@gnu.org>
7909
7910 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7911 Replace obsolete function generic-make-keywords with its expansion.
7912
7913 * progmodes/python.el (ffap-alist): Declare.
7914
7915 * textmodes/reftex.el (bibtex-mode-map): Declare.
7916
7917 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7920 (package-unpack, package-unpack-single): Return the pkg-dir.
7921 (package-download-transaction): Use it to update package-alist.
7922
7923 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
7925 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7926 possible choice.
7927
7928 2013-06-17 Juri Linkov <juri@jurta.org>
7929
7930 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7931
7932 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7933
7934 * emacs-lisp/package.el (package-load-descriptor):
7935 Remove `with-syntax-table' call, `read' doesn't need it.
7936 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7937
7938 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * startup.el (command-line): Expand package name returned by
7941 `package--description-file' (bug#14639).
7942
7943 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7944
7945 * emacs-lisp/package.el (package-load-descriptor): Do not call
7946 `emacs-lisp-mode', just use its syntax table.
7947
7948 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7949
7950 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7951 `font-lock-extra-managed-props' if any prettifying keyword is added.
7952 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7953 (prog-mode): Use `setq-local'.
7954
7955 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * international/characters.el (standard-case-table): Set syntax of ?»
7958 and ?« to punctuation.
7959
7960 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7961
7962 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7963 Save relevant match data before calling `syntax-ppss' (bug#14595).
7964
7965 2013-06-15 Juri Linkov <juri@jurta.org>
7966
7967 * files-x.el (modify-file-local-variable-prop-line): Add local
7968 variables to the end of the existing comment on the first line.
7969 Use `file-auto-mode-skip' to skip interpreter magic line,
7970 and also skip XML declaration.
7971
7972 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * startup.el (package--builtin-versions): New var.
7975 (package-subdirectory-regexp): Remove.
7976 (package--description-file): Hard code its value instead.
7977
7978 * emacs-lisp/package.el: Don't activate packages older than builtin.
7979 (package-obsolete-list): Rename from package-obsolete-alist, and make
7980 it into a simple list of package-desc.
7981 (package-strip-version): Remove.
7982 (package-built-in-p): Use package--builtin-versions.
7983 (package-mark-obsolete): Simplify.
7984 (package-process-define-package): Mark it obsolete if older than the
7985 builtin version.
7986 (package-handle-response): Use line-end-position.
7987 (package-read-archive-contents, package--download-one-archive):
7988 Simplify.
7989 (package--add-to-archive-contents): Skip if older than the builtin or
7990 installed version.
7991 (package-menu-describe-package): Fix last change.
7992 (package-list-unversioned): New var.
7993 (package-menu--generate): Use it.
7994
7995 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7996 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7997 (autoload-builtin-package-versions): New variable.
7998 (autoload-generate-file-autoloads): Use them.
7999 Remove the list of autoloaded functions/macros from the
8000 (autoload...) comments.
8001
8002 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8003
8004 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8005
8006 * simple.el (line-move-partial): Don't jump to the next screen
8007 line as soon as it becomes visible. Instead, continue enlarging
8008 the vscroll until the portion of a tall screen line that's left on
8009 display is about the height of the frame's default font.
8010 (Bug#14567)
8011
8012 2013-06-15 Glenn Morris <rgm@gnu.org>
8013
8014 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8015 compilation-error-regexp-alist void, or local while let-bound.
8016
8017 * progmodes/make-mode.el (makefile-mode-syntax-table):
8018 Treat "=" as punctuation. (Bug#14614)
8019
8020 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * help-fns.el (describe-variable):
8023 Add extra line for permanent-local variables.
8024
8025 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8026
8027 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8028 Add export, import, library. (Bug#9164)
8029 (library): Set indent function.
8030
8031 2013-06-14 Glenn Morris <rgm@gnu.org>
8032
8033 * term/xterm.el (xterm--query):
8034 Stop after first matching handler. (Bug#14615)
8035
8036 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8037
8038 Add support for dired in saveplace.
8039 * dired.el (dired-initial-position-hook): New variable.
8040 (dired-initial-position): Call hook to place cursor position.
8041 * saveplace.el (save-place-to-alist): Add dired position.
8042 (save-place-dired-hook): New function.
8043
8044 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8047 through a symbol rather than letrec.
8048
8049 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8050 (package-desc): Add `dir' field.
8051 (package-desc-full-name): New function.
8052 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8053 (package-maybe-load-descriptor): Remove.
8054 (package-load-all-descriptors): Just call package-load-descriptor.
8055 (package--disabled-p): New function.
8056 (package-desc-vers, package-desc-doc): Remove aliases.
8057 (package--dir): Remove function.
8058 (package-activate): Check if a package is disabled.
8059 (package-process-define-package): New function, extracted from
8060 define-package.
8061 (define-package): Turn into a place holder.
8062 (package-unpack-single, package-tar-file-info):
8063 Use package--description-file.
8064 (package-compute-transaction): Use package--disabled-p.
8065 (package-download-transaction): Don't call
8066 package-maybe-load-descriptor since they're all loaded anyway.
8067 (package-install): Change argument to be a pkg-desc.
8068 (package-delete): Use a single pkg-desc argument.
8069 (describe-package-1): Use package-desc-dir instead of package--dir.
8070 Use package-desc property instead of package-symbol.
8071 (package-install-button-action): Adjust accordingly.
8072 (package--push): Rewrite.
8073 (package-menu--print-info): Adjust accordingly. Change the ID format
8074 to be a pkg-desc.
8075 (package-menu-describe-package, package-menu-get-status)
8076 (package-menu--find-upgrades, package-menu-mark-upgrades)
8077 (package-menu-execute, package-menu--name-predicate):
8078 Adjust accordingly.
8079 * startup.el (package--description-file): New function.
8080 (command-line): Use it.
8081 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8082 Use package-desc-version.
8083
8084 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8085 (byte-compile-preprocess): Use it.
8086 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8087 can't quite recognize.
8088 (byte-compile-add-to-list): Remove.
8089 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8090 (cconv-closure-convert): Add assertion.
8091
8092 * emacs-lisp/map-ynp.el: Use lexical-binding.
8093 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8094 Factor out some repeated code.
8095
8096 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * subr.el (with-eval-after-load): New macro.
8099 (eval-after-load): Allow form to be a function.
8100 take advantage of lexical-binding.
8101 (do-after-load-evaluation): Use dolist and adjust to new format.
8102 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8103
8104 2013-06-13 Juri Linkov <juri@jurta.org>
8105
8106 * replace.el (perform-replace): Display "symbol " and other search
8107 modes from `isearch-message-prefix' in the *Help* buffer.
8108
8109 * isearch.el (isearch-query-replace): Add " symbol" and other
8110 possible search modes from `isearch-message-prefix' to the prompt.
8111 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8112 when reading a regexp to collect.
8113
8114 2013-06-13 Juri Linkov <juri@jurta.org>
8115
8116 * isearch.el (word-search-regexp): Match whitespace if the search
8117 string begins or ends in whitespace. The LAX arg is applied to
8118 both ends of the search string. Use `regexp-quote' and explicit
8119 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8120 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8121 boundaries are replaced with symbol boundaries, and characters
8122 between symbols match non-word non-symbol syntax. (Bug#14602)
8123
8124 2013-06-13 Juri Linkov <juri@jurta.org>
8125
8126 * isearch.el (isearch-del-char): Don't exceed the length of
8127 `isearch-string' by the prefix arg. (Bug#14563)
8128
8129 2013-06-13 Juri Linkov <juri@jurta.org>
8130
8131 * isearch.el (isearch-yank-word, isearch-yank-line)
8132 (isearch-char-by-name, isearch-quote-char)
8133 (isearch-printing-char, isearch-process-search-char):
8134 Add optional count prefix arg. (Bug#14563)
8135
8136 * international/isearch-x.el
8137 (isearch-process-search-multibyte-characters):
8138 Add optional count prefix arg.
8139
8140 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8143 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8144 lexical-binding.
8145
8146 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8147
8148 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8149
8150 2013-06-13 Glenn Morris <rgm@gnu.org>
8151
8152 * startup.el (tty-handle-args):
8153 Don't just discard "--" and anything after. (Bug#14608)
8154
8155 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8156
8157 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8158
8159 Implement changes in Secret Service API. Make it backward compatible.
8160 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8161 (secrets-create-item): Use it. Prefix properties with interface.
8162
8163 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8164
8165 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8166 (term-emulate-terminal): Respect term-suppress-hard-newline.
8167
8168 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8169
8170 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8171 Only remove a `thumb-file' overlay. (Bug#14548)
8172
8173 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8174
8175 * mail/reporter.el (reporter-submit-bug-report):
8176 Handle missing package-name. (Bug#14600)
8177
8178 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8179
8180 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8181 (reftex-citation-prompt, reftex-default-bibliography)
8182 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8183 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8184 (reftex-bib-sort-author, reftex-bib-sort-year)
8185 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8186 (reftex-extract-bib-entries-from-thebibliography)
8187 (reftex-get-bibkey-default, reftex-get-bib-names)
8188 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8189 (reftex-format-bib-entry, reftex-parse-bibitem)
8190 (reftex-format-bibitem, reftex-do-citation)
8191 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8192 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8193 (reftex-insert-bib-matches, reftex-format-citation)
8194 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8195 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8196 existing comments into docstrings.
8197
8198 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8199
8200 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8201
8202 2013-06-12 Andreas Schwab <schwab@suse.de>
8203
8204 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8205 for auto-save files.
8206
8207 2013-06-12 Glenn Morris <rgm@gnu.org>
8208
8209 * ido.el (ido-delete-ignored-files): Remove.
8210 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8211 Go back to calling ido-ignore-item-p directly.
8212
8213 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8214
8215 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8216
8217 * ido.el (ido-delete-ignored-files): New function,
8218 split from ido-make-file-list-1.
8219 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8220 (ido-make-file-list-1): Use ido-delete-ignored-files.
8221
8222 2013-06-12 Leo Liu <sdl.web@gmail.com>
8223
8224 * progmodes/octave.el (inferior-octave-startup)
8225 (inferior-octave-completion-table)
8226 (inferior-octave-track-window-width-change)
8227 (octave-eldoc-function-signatures, octave-help)
8228 (octave-find-definition): Use single quoted strings.
8229 (inferior-octave-startup-args): Change default value.
8230 (inferior-octave-startup): Do not hard code "-i" and
8231 "--no-line-editing".
8232 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8233 (inferior-octave-directory-tracker): Use it.
8234 (octave-goto-function-definition): Robustify.
8235 (octave-help): Support highlighting operators in 'See also'.
8236 (octave-find-definition): Find subfunctions only in Octave mode.
8237
8238 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * help-fns.el (help-fns--compiler-macro): If the handler function is
8241 named, then put a link to it.
8242 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8243 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8244 (cl-typep): Use it.
8245 (cl-eval-when): Simplify debug spec.
8246 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8247 compiler-macro function instead of setting `compiler-macro-file'.
8248
8249 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8250
8251 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8252 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8253
8254 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8255 Daniel Hackney <dan@haxney.org>
8256
8257 First part of Daniel Hackney's patch to package.el.
8258 * emacs-lisp/package.el: Use defstruct.
8259 (package-desc): New, main struct.
8260 (package--bi-desc, package--ac-desc): New structs, used to describe the
8261 format in external files.
8262 (package-desc-vers): Replace with package-desc-version accessor.
8263 (package-desc-doc): Replace with package-desc-summary accessor.
8264 (package-activate-1): Remove `package' arg since the pkg-vec now
8265 includes the name.
8266 (define-package): Use package-desc-from-define.
8267 (package-unpack-single): Change file-name arg to be a symbol.
8268 (package--add-to-archive-contents): Use package-desc-create and new
8269 accessor functions to package--ac-desc.
8270 (package-buffer-info, package-tar-file-info): Return a package-desc.
8271 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8272 arg to be a package-desc.
8273 (package-install-file): Adjust accordingly. Use \' to match EOS.
8274 (package--from-builtin): New function.
8275 (describe-package-1, package-menu--generate): Use it.
8276 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8277 (package-generate-autoloads): Idem and return the name of the file.
8278 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8279 Change pkg-info arg to be a package-desc.
8280 Use package-make-ac-desc.
8281 (package-upload-file): Use \' to match EOS.
8282 * finder.el (finder-compile-keywords): Use package-make-builtin.
8283
8284 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * vc/vc.el (vc-deduce-fileset): Change error message.
8287 (vc-read-backend): New function.
8288 (vc-next-action): Use it.
8289
8290 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8291
8292 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8293 (prolog-font-lock-keywords): Use regexp-opt instead.
8294 Don't manually highlight strings.
8295 (prolog-mode-variables): Simplify comment-start-skip.
8296 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8297
8298 * emacs-lisp/generic.el (generic--normalise-comments)
8299 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8300 (generic-mode-set-comments): Use them.
8301 (generic-bracket-support): Use setq-local.
8302 (generic-make-keywords-list): Declare obsolete.
8303
8304 2013-06-11 Glenn Morris <rgm@gnu.org>
8305
8306 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8307 Prettify after setting font-lock-defaults. (Bug#14574)
8308
8309 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8310
8311 * replace.el (query-replace, occur-read-regexp-defaults-function)
8312 (replace-search):
8313 * subr.el (declare-function, number-sequence, local-set-key)
8314 (substitute-key-definition, locate-user-emacs-file)
8315 (with-silent-modifications, split-string, eval-after-load):
8316 Fix typos, remove unneeded backslashes and reflow some docstrings.
8317
8318 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8321 default for Elisp files.
8322
8323 2013-06-11 Glenn Morris <rgm@gnu.org>
8324
8325 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8326 although define-derived-mode was doing this anyway. (Bug#14583)
8327
8328 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8331 Fix make-variable-buffer-local call to refer to the correct variable.
8332
8333 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8334
8335 * eshell/em-term.el (eshell-visual-commands)
8336 (eshell-visual-subcommands, eshell-visual-options):
8337 Add summary line to docstrings. Add cross-references.
8338
8339 2013-06-10 Glenn Morris <rgm@gnu.org>
8340
8341 * epa.el (epa-read-file-name): New function. (Bug#14510)
8342 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8343
8344 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8345
8346 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8347 output redirection to be ignored with visual commands.
8348
8349 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8350
8351 * eshell/em-term.el (eshell-visual-command-p): New function.
8352 (eshell-term-initialize): Move long lambda to separate function
8353 eshell-visual-command-p.
8354 * eshell/em-dirs.el (eshell-dirs-initialise):
8355 * eshell/em-script.el (eshell-script-initialize):
8356 Add missing #' to lambda.
8357
8358 2013-06-08 Leo Liu <sdl.web@gmail.com>
8359
8360 * progmodes/octave.el (octave-add-log-current-defun): New function.
8361 (octave-mode): Set add-log-current-defun-function.
8362 (octave-goto-function-definition): Do not move point if not found.
8363 (octave-find-definition): Enhance to try subfunctions first.
8364
8365 2013-06-08 Glenn Morris <rgm@gnu.org>
8366
8367 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8368 (byte-compile-backward-char, byte-compile-backward-word):
8369 Improve previous change, to handle non-explicit nil.
8370
8371 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8374 (smie--opener/closer-at-point): New function.
8375 (smie--matching-block-data): Use it. Don't match from right after an
8376 opener or right before a closer. Obey smie-blink-matching-inners.
8377 Don't signal a mismatch for repeated inners like "switch..case..case".
8378
8379 2013-06-07 Leo Liu <sdl.web@gmail.com>
8380
8381 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8382 to t. (Bug#14303)
8383 (octave-function-header-regexp): Fix. (Bug#14570)
8384 (octave-help-mode-finish-hook, octave-help-mode-finish):
8385 Remove. Just use temp-buffer-show-hook.
8386
8387 * newcomment.el (comment-search-backward): Revert last change.
8388 (Bug#14434)
8389
8390 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8391
8392 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8393
8394 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8395 through xargs, to avoid failure due to MS-Windows limitations on
8396 command-line length.
8397
8398 2013-06-06 Glenn Morris <rgm@gnu.org>
8399
8400 * font-lock.el (lisp-font-lock-keywords-2):
8401 Treat user-error like error.
8402
8403 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8404 (byte-compile-backward-char, byte-compile-backward-word):
8405 Handle explicit nil arguments. (Bug#14565)
8406
8407 2013-06-05 Alan Mackenzie <acm@muc.de>
8408
8409 * isearch.el (isearch-allow-prefix): New user option.
8410 (isearch-other-meta-char): Don't exit isearch when a prefix
8411 argument is typed whilst `isearch-allow-prefix' is non-nil.
8412 (Bug#9706)
8413
8414 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * autorevert.el (auto-revert-notify-handler): Use memq.
8417 Hide assertion failure.
8418
8419 * skeleton.el: Use cl-lib.
8420 (skeleton-further-elements): Use defvar-local.
8421 (skeleton-insert): Use cl-progv.
8422
8423 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8424
8425 * progmodes/prog-mode.el (prog-prettify-symbols)
8426 (prog-prettify-install): Update docstrings.
8427
8428 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * simple.el: Move all the prog-mode code to prog-mode.el.
8431 * progmodes/prog-mode.el: New file.
8432 * loadup.el: Add prog-mode.el.
8433
8434 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8435
8436 * simple.el (prog-prettify-symbols): Add version.
8437 (prog-prettify-install): Add convenience function to prettify symbols.
8438
8439 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8440 (perl--augmented-font-lock-keywords-1)
8441 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8442 variables and use it.
8443
8444 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8445 (cfengine3-mode): Remove unneeded variable and use it.
8446
8447 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8448 (lisp--augmented-font-lock-keywords-1)
8449 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8450 Remove unneeded variables and use it.
8451
8452 2013-06-05 João Távora <joaotavora@gmail.com>
8453
8454 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8455 to point when opening the connection. (Bug#14380)
8456
8457 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * subr.el (load-history-regexp, load-history-filename-element)
8460 (eval-after-load, after-load-functions, do-after-load-evaluation)
8461 (eval-next-after-load, display-delayed-warnings)
8462 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8463 definition of save-match-data.
8464 (overriding-local-map): Remove accidental obsolescence declaration.
8465
8466 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8467
8468 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8469
8470 Generalize symbol prettify support to prog-mode and implement it
8471 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8472 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8473 (prog--prettify-font-lock-compose-symbol)
8474 (prog-prettify-font-lock-symbols-keywords): New variables and
8475 functions to support symbol prettification.
8476 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8477 (lisp--augmented-font-lock-keywords-1)
8478 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8479 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8480 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8481 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8482 Implement prettify of -> => :: strings.
8483 * progmodes/perl-mode.el (perl-prettify-symbols)
8484 (perl--font-lock-compose-symbol)
8485 (perl--font-lock-symbols-keywords): Move to prog-mode.
8486 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8487 (perl-font-lock-keywords-1)
8488 (perl-font-lock-keywords-2): Remove explicit prettify support.
8489 (perl--augmented-font-lock-keywords)
8490 (perl--augmented-font-lock-keywords-1)
8491 (perl--augmented-font-lock-keywords-2, perl-mode):
8492 Implement prettify support.
8493
8494 2013-06-05 Leo Liu <sdl.web@gmail.com>
8495
8496 Re-implement smie matching block highlight using
8497 show-paren-data-function. (Bug#14395)
8498 * emacs-lisp/smie.el (smie-matching-block-highlight)
8499 (smie--highlight-matching-block-overlay)
8500 (smie--highlight-matching-block-lastpos)
8501 (smie-highlight-matching-block)
8502 (smie-highlight-matching-block-mode): Remove.
8503 (smie--matching-block-data-cache): New variable.
8504 (smie--matching-block-data): New function.
8505 (smie-setup): Use smie--matching-block-data for
8506 show-paren-data-function.
8507
8508 * progmodes/octave.el (octave-mode-menu): Fix.
8509 (octave-find-definition): Skip garbage lines.
8510
8511 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 Fix compilation error with simultaneous dynamic+lexical scoping.
8514 Add warning when a defvar appears after the first let-binding.
8515 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8516 (byte-compile-close-variables): Initialize it.
8517 (byte-compile--declare-var): New function.
8518 (byte-compile-file-form-defvar)
8519 (byte-compile-file-form-define-abbrev-table)
8520 (byte-compile-file-form-custom-declare-variable): Use it.
8521 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8522 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8523 (byte-compile-bind): Handle dynamic bindings that shadow
8524 lexical bindings.
8525 (byte-compile-unbind): Make arg non-optional.
8526 (byte-compile-let): Simplify.
8527 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8528 (cconv--analyse-function, cconv-analyse-form): Populate it.
8529 Protect byte-compile-bound-variables to limit the scope of defvars.
8530 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8531 Remove unneeded rule for `declare'.
8532
8533 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8534 so as to avoid depending on cl-adjoin at run-time.
8535 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8536
8537 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8538 (macroexp--warn-and-return): Use it.
8539
8540 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * lisp/subr.el: Convert to lexical binding.
8543 (overriding-local-map): Make obsolete.
8544 (add-to-list): Doc fix. Add compiler macro.
8545 (read-key): Swap values of local maps.
8546
8547 2013-06-05 Leo Liu <sdl.web@gmail.com>
8548
8549 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8550
8551 2013-06-04 Leo Liu <sdl.web@gmail.com>
8552
8553 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8554 (compilation-auto-jump): Suppress the "Mark set" message to give
8555 way to exit message.
8556
8557 2013-06-04 Alan Mackenzie <acm@muc.de>
8558
8559 Remove faulty optimisation from indentation calculation.
8560 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8561 search limit based on 2000 characters back from indent-point.
8562
8563 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8564
8565 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8566
8567 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * emacs-lisp/lisp.el: Use lexical-binding.
8570 (lisp--local-variables-1, lisp--local-variables): New functions.
8571 (lisp--local-variables-completion-table): New var.
8572 (lisp-completion-at-point): Use it complete let-bound vars.
8573
8574 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8575 eagerly (bug#14422).
8576
8577 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8578
8579 * autorevert.el (auto-revert-notify-enabled)
8580 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8581 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8582 (auto-revert-notify-handler): Handle also gfilenotify.
8583
8584 * subr.el (file-notify-handle-event): New defun. Replacing ...
8585 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8586 Remove.
8587
8588 2013-06-03 Juri Linkov <juri@jurta.org>
8589
8590 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8591 `M-s h .'. (Bug#14427)
8592
8593 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8594 command `hi-lock-face-symbol-at-point'.
8595 (hi-lock-face-symbol-at-point): New command.
8596 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8597 (hi-lock-menu): Add `highlight-symbol-at-point'.
8598 (hi-lock-mode): Doc fix.
8599
8600 * isearch.el (isearch-forward-symbol-at-point): New command.
8601 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8602 (isearch-highlight-regexp): Add a regexp which matches
8603 words/symbols for word/symbol mode.
8604
8605 * subr.el (find-tag-default-bounds): New function with the body
8606 mostly moved from `find-tag-default'.
8607 (find-tag-default): Move most code to `find-tag-default-bounds',
8608 call it and apply `buffer-substring-no-properties' afterwards.
8609
8610 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8611
8612 * eshell/em-term.el (eshell-term-initialize):
8613 Use `cl-intersection' rather than `intersection'.
8614
8615 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8616
8617 * vc/log-view.el: Doc fix.
8618 (log-view-mode-map): Copy keymap from `special-mode-map'.
8619
8620 2013-06-02 Eric Ludlam <zappo@gnu.org>
8621
8622 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8623 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8624 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8625 (eieio-unbound, eieio-default-superclass)
8626 (eieio--define-field-accessors, method-static, method-before)
8627 (method-primary, method-after, method-num-lists)
8628 (method-generic-before, method-generic-primary)
8629 (method-generic-after, method-num-slots)
8630 (eieio-specialized-key-to-generic-key)
8631 (eieio--check-type, class-v, class-p)
8632 (eieio-class-name, define-obsolete-function-alias)
8633 (eieio-class-parents-fast, eieio-class-children-fast)
8634 (same-class-fast-p, class-constructor, generic-p)
8635 (generic-primary-only-p, generic-primary-only-one-p)
8636 (class-option-assoc, class-option, eieio-object-p)
8637 (class-abstract-p, class-method-invocation-order)
8638 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8639 (eieio-class-un-autoload, eieio-defclass)
8640 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8641 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8642 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8643 (eieio-defgeneric-reset-generic-form)
8644 (eieio-defgeneric-form-primary-only)
8645 (eieio-defgeneric-reset-generic-form-primary-only)
8646 (eieio-defgeneric-form-primary-only-one)
8647 (eieio-defgeneric-reset-generic-form-primary-only-one)
8648 (eieio-unbind-method-implementations)
8649 (eieio--defmethod, eieio--typep)
8650 (eieio-perform-slot-validation, eieio-validate-slot-value)
8651 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8652 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8653 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8654 (eieio-slot-name-index, eieio-class-slot-name-index)
8655 (eieio-set-defaults, eieio-initarg-to-attribute)
8656 (eieio-attribute-to-initarg, eieio-c3-candidate)
8657 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8658 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8659 (eieio-class-precedence-list, eieio-generic-call-methodname)
8660 (eieio-generic-call-arglst, eieio-generic-call-key)
8661 (eieio-generic-call-next-method-list)
8662 (eieio-pre-method-execution-functions, eieio-generic-call)
8663 (eieio-generic-call-primary-only, eieiomt-method-list)
8664 (eieiomt-optimizing-obarray, eieiomt-install)
8665 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8666 (eieio-generic-form, eieio-defmethod, make-obsolete)
8667 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8668 (defclass): Remove `eval-and-compile' from macro.
8669 (call-next-method, shared-initialize): Instead of using
8670 `scoped-class' variable, use new eieio--scoped-class, and
8671 eieio--with-scoped-class.
8672 (initialize-instance): Rename local variable 'scoped-class' to
8673 'this-class' to remove ambiguitity from old global.
8674
8675 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8676 eieio.el.
8677 (eieio--scoped-class-stack): New variable.
8678 (eieio--scoped-class): New fcn.
8679 (eieio--with-scoped-class): New scoping macro.
8680 (eieio-defclass): Use pushnew instead of add-to-list.
8681 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8682 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8683 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8684 `scoped-class' variable, use new eieio--scoped-class, and
8685 eieio--with-scoped-class.
8686
8687 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8688
8689 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8690
8691 * eshell/esh-ext.el (eshell-external-command): Pass args to
8692 `eshell-find-interpreter'.
8693 (eshell-find-interpreter): Add new second parameter ARGS.
8694
8695 * eshell/em-script.el (eshell-script-initialize): Add second arg
8696 to the function added as MATCH to `eshell-interpreter-alist'.
8697
8698 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8699 the function added as MATCH to `eshell-interpreter-alist'.
8700
8701 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8702 (eshell-visual-options): New defcustom.
8703 (eshell-escape-control-x): Adapt docstring.
8704 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8705 `eshell-visual-options' in addition to `eshell-visual-commands'.
8706 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8707
8708 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8709
8710 * progmodes/python.el (python-indent-block-enders): Add break,
8711 continue and raise keywords.
8712
8713 2013-06-01 Glenn Morris <rgm@gnu.org>
8714
8715 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8716
8717 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8718 * progmodes/cc-cmds.el (delete-forward-p):
8719 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8720 * progmodes/cc-engine.el (buffer-syntactic-context):
8721 * progmodes/cc-fonts.el (face-property-instance):
8722 * progmodes/cc-mode.el (set-keymap-parents):
8723 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8724 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8725 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8726 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8727 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8728
8729 * progmodes/cc-vars.el (other): Emacs has this widget since
8730 at least 21.1, so don't (re)define it.
8731
8732 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8733 Replace the obsolete alias pcomplete-arg-quote-list.
8734
8735 2013-06-01 Leo Liu <sdl.web@gmail.com>
8736
8737 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8738 punctuation syntax.
8739 (inferior-octave-minimal-columns)
8740 (inferior-octave-last-column-width): New variables.
8741 (inferior-octave-track-window-width-change): New function.
8742 (inferior-octave-mode): Adjust column width so that Octave output,
8743 for example from 'ls', can fit into the window nicely.
8744
8745 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8746
8747 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8748 Highlight expansions inside regexp literals.
8749
8750 2013-05-31 Glenn Morris <rgm@gnu.org>
8751
8752 * obsolete/sym-comp.el (symbol-complete):
8753 Replace obsolete completion-annotate-function.
8754
8755 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8756
8757 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8758
8759 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8760 New function, checks if point is inside a literal that allows
8761 expression expansion.
8762 (ruby-syntax-propertize-expansion): Use it.
8763 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8764 around the body.
8765
8766 2013-05-30 Juri Linkov <juri@jurta.org>
8767
8768 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8769 to "\M-si".
8770 (isearch-invisible): New variable.
8771 (isearch-forward): Doc fix.
8772 (isearch-mode): Set `isearch-invisible'
8773 to the value of `search-invisible'.
8774 (isearch-toggle-case-fold): Doc fix.
8775 (isearch-toggle-invisible): New command.
8776 (isearch-query-replace): Let-bind `search-invisible'
8777 to the value of `isearch-invisible'.
8778 (isearch-search): Use `isearch-invisible' instead of
8779 `search-invisible'. Let-bind `search-invisible'
8780 to the value of `isearch-invisible'. (Bug#11378)
8781
8782 2013-05-30 Juri Linkov <juri@jurta.org>
8783
8784 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8785 call when `query-flag' is nil and `search-invisible' is non-nil.
8786 (Bug#11746)
8787
8788 2013-05-30 Glenn Morris <rgm@gnu.org>
8789
8790 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8791
8792 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8793 (cc-require): Suppress spurious "noruntime" warnings.
8794 (cc-require-when-compile): Use fboundp, for sake of compiler.
8795
8796 * progmodes/cc-mode.el: Move load of cc-vars before that of
8797 cc-langs (which in turn loads cc-vars), to quieten compiler.
8798
8799 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * paren.el: Simplify the code.
8802 (show-paren-mode): Always start the timer.
8803 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8804 (show-paren--overlay, show-paren--overlay-1): Rename from
8805 show-paren-overlay and show-paren-overlay-1, and initialize to an
8806 overlay rather than to nil.
8807 (show-paren-function): Misc cleanup and simplifications.
8808
8809 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * paren.el (show-paren-data-function): New hook.
8812 (show-paren--default): New function, extracted from show-paren-function.
8813 (show-paren-function): Use show-paren-data-function.
8814
8815 2013-05-30 Glenn Morris <rgm@gnu.org>
8816
8817 * ielm.el (ielm-map, ielm-complete-symbol):
8818 Use completion-at-point rather than obsolete functions.
8819 (inferior-emacs-lisp-mode): Doc fix.
8820 Set completion-at-point-functions, rather than
8821 comint-dynamic-complete-functions.
8822
8823 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8824 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8825 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8826
8827 * image.el (image-animated-p): Tweak definition.
8828
8829 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8830 (rlogin-process-connection-type): Tweak default. Add set-after.
8831 (rlogin-host): Doc fix.
8832 (rlogin): Tweak prompt.
8833 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8834
8835 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8836 * progmodes/tcl.el (inferior-tcl-mode-map):
8837 Use completion-at-point rather than obsolete alias.
8838
8839 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8840
8841 * minibuffer.el (read-file-name-completion-ignore-case):
8842 Move before completion--in-region, for eager macro expansion.
8843
8844 2013-05-29 Juri Linkov <juri@jurta.org>
8845
8846 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8847 for total count of matching lines. Add `global-matches' for total
8848 count of matches. Rename `matches' to `lines' for count of
8849 matching lines. Add `matches' for count of matches.
8850 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8851 to `prev-line' for line number of prev match endpt.
8852 Increment `matches' for every match. Print the number of
8853 matching lines in the header.
8854 (occur-context-lines): Rename `lines' to `curr-line'.
8855 Rename `prev-lines' to `prev-line'. (Bug#14017)
8856
8857 2013-05-29 Juri Linkov <juri@jurta.org>
8858
8859 * replace.el (perform-replace): Add `skip-read-only-count',
8860 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8861 Increment them for corresponding conditions and report the number
8862 of skipped occurrences in the final message. (Bug#11746)
8863 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8864 (replace-string, replace-regexp): Doc fix.
8865
8866 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8869
8870 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8871 prog-mode-map (bug#14504).
8872
8873 2013-05-29 Leo Liu <sdl.web@gmail.com>
8874
8875 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8876 (octave-help): Small simplification.
8877
8878 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8879 off the highlight first.
8880
8881 2013-05-29 Glenn Morris <rgm@gnu.org>
8882
8883 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8884 Handle idlwave-last-system-routine-info-cons-cell being nil.
8885
8886 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8887 (idlwave-write-paths): Simplify via with-temp-buffer.
8888
8889 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8890 * emulation/cua-rect.el: Also load cua-base at run time.
8891
8892 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8893 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8894 (cperl-imenu-on-info): Require imenu.
8895
8896 2013-05-28 Alan Mackenzie <acm@muc.de>
8897
8898 Handle "capitalised keywords" correctly.
8899 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8900
8901 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8902
8903 * eshell/em-unix.el: Add -r option to cp.
8904
8905 2013-05-28 Glenn Morris <rgm@gnu.org>
8906
8907 * vc/vc-arch.el (vc-exec-after): Declare.
8908 (vc-switches): Autoload.
8909 * vc/vc-bzr.el: No need to require vc when compiling.
8910 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8911 (vc-resynch-buffer, vc-dir-refresh): Declare.
8912 (vc-setup-buffer, vc-switches): Autoload.
8913 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8914 (vc-resynch-buffer): Declare.
8915 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8916 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8917 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8918 (grep-read-regexp, grep-read-files, grep-expand-template)
8919 (vc-dir-refresh): Declare.
8920 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8921 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8922 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8923 * vc/vc-mtn.el (vc-exec-after): Declare.
8924 (vc-switches): Autoload.
8925 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8926 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8927 (vc-file-tree-walk): Declare.
8928 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8929 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8930 (vc-tag-precondition, vc-rename-master): Autoload.
8931 * vc/vc-svn.el (vc-exec-after): Declare.
8932 (vc-switches, vc-setup-buffer): Autoload.
8933 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8934 Autoload.
8935 (vc-resynch-buffer): Declare.
8936
8937 * obsolete/fast-lock.el (byte-compile-warnings):
8938 Don't warn about obsolete features in this obsolete file.
8939
8940 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8941 Move definition before use.
8942
8943 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8944 (dun-unix-verbs): Remove dun-zippy.
8945 (dun-zippy): Remove function.
8946
8947 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8948
8949 2013-05-27 Juri Linkov <juri@jurta.org>
8950
8951 * replace.el (replace-search): New function with code moved out
8952 from `perform-replace'.
8953 (replace-highlight, replace-dehighlight): Move function definitions
8954 up closer to `replace-search'. (Bug#11746)
8955
8956 2013-05-27 Juri Linkov <juri@jurta.org>
8957
8958 * replace.el (perform-replace): Ignore invisible matches.
8959 In addition to checking `query-replace-skip-read-only', also
8960 filter out matches by calling `run-hook-with-args-until-failure'
8961 on `isearch-filter-predicates', and also check `search-invisible'
8962 for t or call `isearch-range-invisible'.
8963 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8964
8965 2013-05-27 Juri Linkov <juri@jurta.org>
8966
8967 * isearch.el (isearch-filter-predicates): Rename from
8968 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8969 (isearch-message-prefix): Display text from the property
8970 `isearch-message-prefix' of the currently active filters.
8971 (isearch-search): Don't compare `isearch-filter-predicate' with
8972 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8973 on `isearch-filter-predicates'. Also check `search-invisible' for t
8974 or call `isearch-range-invisible'.
8975 (isearch-filter-visible): Make obsolete.
8976 (isearch-lazy-highlight-search):
8977 Call `run-hook-with-args-until-failure' on
8978 `isearch-filter-predicates' and use `isearch-range-invisible'.
8979
8980 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8981 `isearch-filter-predicates' instead of `funcall'ing
8982 `isearch-filter-predicate'.
8983 (Info-mode): Set `Info-isearch-filter' to
8984 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8985
8986 * dired-aux.el (dired-isearch-filter-predicate-orig):
8987 Remove variable.
8988 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8989 (dired-isearch-filenames-end): Add and remove
8990 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8991 instead of changing the value of `isearch-filter-predicate'.
8992 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8993 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8994 Put property `isearch-message-prefix' to "filename " on
8995 `dired-isearch-filter-filenames'.
8996
8997 * wdired.el (wdired-change-to-wdired-mode):
8998 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8999 locally instead of changing `isearch-filter-predicate'.
9000 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9001
9002 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9003
9004 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9005 return the commit hash (Bug#14459). Also set the
9006 `vc-git-detached' property.
9007 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9008 (vc-git-mode-line-string): Use the same help-echo format whether
9009 in detached mode or not, because we know the actual revision now.
9010 When in detached mode, shorten the revision to 7 chars.
9011
9012 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * emacs-lisp/easy-mmode.el (define-minor-mode):
9015 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9016 mode hook and provide a docstring.
9017
9018 2013-05-27 Alan Mackenzie <acm@muc.de>
9019
9020 Remove spurious syntax-table text properties inserted by C-y.
9021 * progmodes/cc-mode.el (c-after-change): Also clear hard
9022 syntax-table property with value nil.
9023
9024 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9027 when reading the events; the buffer layout shall not be changed.
9028
9029 2013-05-27 Leo Liu <sdl.web@gmail.com>
9030
9031 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9032 New variable.
9033 (inferior-octave-directory-tracker): Automatically re-sync
9034 default-directory.
9035 (octave-help): Improve handling of 'See also'.
9036
9037 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * doc-view.el: Minor naming convention tweaks.
9040 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9041
9042 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9043 even if there's no `display' property yet (bug#14435).
9044
9045 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9046
9047 * subr.el (unmsys--file-name): Rename from reveal-filename.
9048
9049 * Makefile.in (custom-deps, finder-data, autoloads)
9050 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9051 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9052 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9053
9054 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9057 error-completion on the first 2 args of condition-case (bug#14446).
9058 Don't burp at EOB.
9059
9060 2013-05-25 Leo Liu <sdl.web@gmail.com>
9061
9062 * comint.el (comint-previous-matching-input): Do not flood the
9063 *Messages* buffer with trivial messages.
9064
9065 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * progmodes/flymake.el (flymake-nop): Don't return a string.
9068 (flymake-set-at): Fix typo.
9069
9070 * simple.el (read--expression): New function, extracted from
9071 eval-expression. Set completion-at-point-functions (bug#14465).
9072 (eval-expression, eval-minibuffer): Use it.
9073
9074 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9075
9076 * progmodes/flymake.el (flymake-save-buffer-in-file)
9077 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9078 (flymake-selected-frame, flymake-log, flymake-ins-after)
9079 (flymake-set-at, flymake-get-buildfile-from-cache)
9080 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9081 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9082 Refine the doc string.
9083 (flymake-get-file-name-mode-and-masks): Reformat.
9084 (flymake-get-real-file-name-function): Fix a minor bug.
9085
9086 2013-05-24 Juri Linkov <juri@jurta.org>
9087
9088 * progmodes/grep.el (grep-mode-font-lock-keywords):
9089 Support =linenumber= format used by git-grep for lines with
9090 function names. (Bug#13549)
9091
9092 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9095 0 after a semi-colon; it works better for smie-auto-fill.
9096 (octave--indent-new-comment-line): New function.
9097 (octave-indent-new-comment-line): Use it (indirectly).
9098 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9099 modify comment-line-break-function.
9100
9101 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9102 (smie-setup): Use add-function to set it.
9103
9104 2013-05-24 Sam Steingold <sds@gnu.org>
9105
9106 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9107 argument (before the `interactive' argument).
9108
9109 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * image-mode.el (image-mode-winprops): Add winprops to
9112 image-mode-winprops-alist before running
9113 image-mode-new-window-functions.
9114 * doc-view.el (doc-view-new-window-function): Don't delay
9115 doc-view-goto-page via timers (bug#14435).
9116
9117 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9118
9119 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9120 (doc-view-desktop-save-buffer): New function.
9121 (doc-view-restore-desktop-buffer): New function.
9122 (desktop-buffer-mode-handlers):
9123 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9124 handler.
9125 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9126 `desktop-save-buffer' function.
9127
9128 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9129
9130 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9131 (tramp-gvfs-file-name-handler): Raise a user error when
9132 `tramp-gvfs-enabled' is nil.
9133 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9134 Do not raise a user error when loading package. (Bug#14447)
9135
9136 * net/xesam.el: Move to obsolete/.
9137
9138 2013-05-24 Glenn Morris <rgm@gnu.org>
9139
9140 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9141
9142 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9143
9144 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9145 (Info-find-node, Man-getpage-in-background): Declare.
9146
9147 * mail/unrmail.el (unrmail):
9148 Replace obsolete detect-coding-with-priority.
9149
9150 * net/socks.el (socks-split-string): Use this rather than split-string.
9151 (socks-nslookup-host): Update for above change.
9152 (dynamic-choice, s5-dynamic-choice-match)
9153 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9154 Comment out unused code.
9155
9156 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9157 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9158 (gud-tooltip-echo-area): Make obsolete.
9159 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9160
9161 * progmodes/js.el (js--optimize-arglist): Declare.
9162
9163 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9164
9165 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9166 (ediff-window-C): Declare.
9167
9168 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9169 Tweak requires to silence compiler.
9170
9171 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9172 (he-search-string, he-tried-table, he-expand-list)
9173 (he-init-string, he-string-member, he-substitute-string)
9174 (he-reset-string): Declare.
9175
9176 * obsolete/options.el (list-options): Use custom-variable-p,
9177 rather than obsolete alias.
9178
9179 2013-05-23 Sam Steingold <sds@gnu.org>
9180
9181 * simple.el (shell-command-on-region): Pass the `replace' argument
9182 down to `call-process-region' to comply with the doc as reported on
9183 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9184
9185 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * emacs-lisp/smie.el (smie-indent-forward-token)
9188 (smie-indent-backward-token): Handle string tokens (bug#14381).
9189
9190 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9191
9192 * ielm.el (ielm-menu): New menu.
9193 (inferior-emacs-lisp-mode): Set comment-start.
9194
9195 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9196
9197 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9198 Fix deactivate action.
9199
9200 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9201 Add cleveref macros.
9202
9203 * lisp/textmodes/reftex-parse.el
9204 (reftex-locate-bibliography-files): Accept options for
9205 bibliography commands.
9206 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9207 Add addbibresource. Basic Biblatex support.
9208
9209 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9210
9211 * net/tramp-gvfs.el (top):
9212 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9213 when loading package. (Bug#14447)
9214
9215 2013-05-23 Glenn Morris <rgm@gnu.org>
9216
9217 * progmodes/js.el: No need to load comint when compiling.
9218 (ring-insert, comint-send-string, comint-send-input)
9219 (comint-last-input-end, ido-chop): Declare.
9220
9221 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9222 * vc/ediff-mult.el: Adjust requires.
9223 (ediff-directories-internal, ediff-directory-revisions-internal)
9224 (ediff-patch-file-internal): Declare.
9225 * vc/ediff-ptch.el: Adjust requires.
9226 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9227 (ediff-find-file): Autoload.
9228 * vc/ediff-util.el: No need to load ediff when compiling.
9229 (ediff-regions-internal): Declare.
9230 * vc/ediff-wind.el: Adjust requires.
9231 (ediff-compute-toolbar-width): Define when compiling.
9232 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9233 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9234 (dired-get-filename, dired-get-marked-files)
9235 (ediff-last-dir-patch, ediff-patch-default-directory)
9236 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9237 (ediff-patch-buffer-internal): Declare.
9238
9239 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9240 (ispell-process, ispell-buffer-local-words, lm-summary)
9241 (lm-section-start, lm-section-end): Declare.
9242 (checkdoc-ispell-init): Simplify.
9243
9244 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9245 (he-string-member, he-reset-string, he-substitute-string): Declare.
9246
9247 * eshell/em-ls.el: Adjust requires.
9248 (eshell-glob-regexp): Declare.
9249 * eshell/em-tramp.el: Adjust requires.
9250 (eshell-parse-command): Autoload.
9251 * eshell/em-xtra.el: Adjust requires.
9252 (eshell-parse-command): Autoload.
9253 * eshell/esh-ext.el: Adjust requires.
9254 (eshell-parse-command, eshell-close-handles): Autoload.
9255 * eshell/esh-io.el: Adjust requires.
9256 (eshell-output-filter): Autoload.
9257 * eshell/esh-util.el: No need to load tramp when compiling.
9258 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9259 Declare.
9260 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9261 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9262 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9263 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9264 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9265 * eshell/esh-opt.el, eshell/esh-proc.el:
9266 * eshell/esh-var.el: Adjust requires.
9267 * eshell/eshell.el: Do not require esh-util twice.
9268 (eshell-add-input-to-history): Declare.
9269 (eshell-command): Check history module is active before using it.
9270
9271 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9272
9273 2013-05-22 Leo Liu <sdl.web@gmail.com>
9274
9275 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9276
9277 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * autorevert.el (auto-revert-notify-add-watch)
9280 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9281 it indicates changes in file modification time.
9282
9283 2013-05-22 Glenn Morris <rgm@gnu.org>
9284
9285 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9286 Always delete the autoloaded function from the noruntime and
9287 unresolved functions lists.
9288
9289 * allout.el: No need to load epa, epg, overlay when compiling.
9290 (epg-context-set-passphrase-callback, epg-list-keys)
9291 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9292 (epg-key-user-id-list): Declare.
9293
9294 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9295 (viper-set-parsing-style-toggling-macro)
9296 (viper-set-emacs-state-searchstyle-macros):
9297 Use called-interactively-p on Emacs.
9298 (viper-looking-back): Make it an obsolete alias. Update callers.
9299 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9300 Use looking-back rather than viper-looking-back.
9301 (viper-tmp-insert-at-eob, viper-enlarge-region)
9302 (viper-read-string-with-history, viper-register-to-point)
9303 (viper-append-to-register, viper-change-state-to-vi)
9304 (viper-backward-char-carefully, viper-forward-char-carefully)
9305 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9306 (viper-change-state-to-emacs): Declare.
9307 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9308 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9309 * emulation/viper-mous.el: Do not load viper-cmd.
9310 (viper-backward-char-carefully, viper-forward-char-carefully)
9311 (viper-forward-word, viper-adjust-window): Declare.
9312
9313 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9314
9315 * progmodes/idlw-help.el (idlwave-help-fontify):
9316 Use called-interactively-p.
9317
9318 * term/w32console.el (w32-get-console-codepage)
9319 (w32-get-console-output-codepage): Declare.
9320
9321 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9322 Remove unnecessary declarations.
9323 (dframe-message): Doc fix.
9324
9325 * info.el (dframe-select-attached-frame, dframe-current-frame):
9326 Declare.
9327
9328 * speedbar.el (speedbar-message): Make it an obsolete alias.
9329 Update all callers.
9330 (speedbar-with-attached-buffer)
9331 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9332 (speedbar-with-writable): Use backquote.
9333 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9334 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9335 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9336 rather than speedbar- aliases.
9337 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9338 (speedbar-make-specialized-keymap, speedbar-insert-button)
9339 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9340 (speedbar-do-function-pointer): Declare.
9341 (rmail-speedbar-button, rmail-speedbar-find-file)
9342 (rmail-speedbar-move-message):
9343 Use dframe-with-attached-buffer rather than speedbar- alias.
9344 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9345 (dframe-message, speedbar-make-specialized-keymap)
9346 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9347 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9348 (speedbar-insert-button, dframe-select-attached-frame)
9349 (dframe-maybee-jump-to-attached-frame)
9350 (speedbar-change-initial-expansion-list)
9351 (speedbar-previously-used-expansion-list-name): Declare.
9352 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9353 Use dframe-message, dframe-with-attached-buffer rather than
9354 speedbar- aliases.
9355 (gud-sentinel): Silence compiler.
9356 * progmodes/vhdl-mode.el (speedbar-refresh)
9357 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9358 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9359 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9360 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9361 (speedbar-file-lists, speedbar-make-tag-line)
9362 (speedbar-line-directory, speedbar-goto-this-file)
9363 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9364 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9365 (speedbar-make-button, speedbar-reset-scanners)
9366 (speedbar-files-item-info, speedbar-line-text)
9367 (speedbar-find-file-in-frame, speedbar-set-timer)
9368 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9369 (speedbar-with-writable): Do not (re)define it.
9370 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9371 rather than speedbar- alias.
9372
9373 2013-05-21 Leo Liu <sdl.web@gmail.com>
9374
9375 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9376 menu items.
9377 (octave-mode): Tweak fill-nobreak-predicate.
9378 (inferior-octave-startup): Check process to avoid infinite loop.
9379 (inferior-octave): Pop to buffer first to show abornmal process
9380 exit information.
9381
9382 2013-05-21 Glenn Morris <rgm@gnu.org>
9383
9384 * printing.el (pr-menu-bar): Define when compiling.
9385
9386 2013-05-21 Leo Liu <sdl.web@gmail.com>
9387
9388 * progmodes/octave.el (octave-auto-fill): Remove.
9389 (octave-indent-new-comment-line): Improve.
9390 (octave-mode): Use auto fill mode through
9391 comment-line-break-function and fill-nobreak-predicate.
9392 (octave-goto-function-definition): Support DEFUN_DLD.
9393 (octave-beginning-of-defun): Small tweak.
9394 (octave-help): Show parent directory.
9395
9396 2013-05-21 Glenn Morris <rgm@gnu.org>
9397
9398 * files.el (dired-unmark):
9399 * progmodes/gud.el (gdb-input): Update declarations.
9400
9401 * calculator.el (electric, ehelp): No need to load when compiling.
9402 (Electric-command-loop, electric-describe-mode): Declare.
9403
9404 * doc-view.el (doc-view-current-converter-processes): Move before use.
9405
9406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9407 Move MODE-set-explicitly definition before use.
9408
9409 * international/mule-diag.el (mule-diag):
9410 Don't use obsolete window-system-version.
9411
9412 * mail/feedmail.el (smtpmail): No need to load when compiling.
9413 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9414
9415 * mail/mail-utils.el (rfc822): No need to load when compiling.
9416 (rfc822-addresses): Autoload it.
9417 (mail-strip-quoted-names): Trivial simplification.
9418
9419 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9420 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9421
9422 * net/snmp-mode.el (tempo): Don't duplicate requires.
9423
9424 * progmodes/prolog.el (info): No need to load when compiling.
9425 (comint): Require before shell requires it.
9426 (Info-goto-node): Autoload it.
9427 (Info-follow-nearest-node): Declare.
9428 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9429
9430 * textmodes/artist.el (picture-mode-exit): Declare.
9431
9432 * textmodes/reftex-parse.el (reftex-parse-from-file):
9433 Trivial rewrite so the compiler can parse it better.
9434
9435 2013-05-20 Leo Liu <sdl.web@gmail.com>
9436
9437 * progmodes/octave.el (octave-help-mode-map)
9438 (octave-help-mode-finish-hook): New variables.
9439 (octave-help-mode, octave-help-mode-finish): New functions.
9440 (octave-help): Use octave-help-mode.
9441
9442 2013-05-20 Glenn Morris <rgm@gnu.org>
9443
9444 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9445
9446 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9447
9448 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9449 start at point, so that expansion starting right after opening
9450 slash in a regexp is recognized.
9451 (ruby-syntax-before-regexp-re): New defvar, extracted from
9452 ruby-syntax-propertize-function. Since the value of this regexp
9453 is looked up at runtime now, we should be able to turn
9454 `ruby-syntax-methods-before-regexp' into a defcustom later.
9455 (ruby-syntax-propertize-function): Split regexp matching into two
9456 parts, for opening and closing slashes. That allows us to skip
9457 over string interpolations and support multiline regexps.
9458 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9459 for them, which calls `ruby-syntax-propertize-expansion'.
9460 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9461 call to `ruby-syntax-propertize-function'.
9462 (ruby-syntax-propertize-expansion): Extracted from
9463 `ruby-syntax-propertize-expansions'. Handles one expansion.
9464 (ruby-syntax-propertize-percent-literal): Leave point right after
9465 the percent symbol, so that the expression expansion rule can
9466 propertize the contents.
9467 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9468 heredoc openers.
9469 (ruby-syntax-propertize-expansions): Remove.
9470
9471 2013-05-18 Juri Linkov <juri@jurta.org>
9472
9473 * man.el (Man-default-man-entry): Remove `-' from the end
9474 of the default value. (Bug#14400)
9475
9476 2013-05-18 Glenn Morris <rgm@gnu.org>
9477
9478 * comint.el (comint-password-prompt-regexp):
9479 Allow "password for XXX" where XXX contains colons (eg https://...).
9480
9481 2013-05-18 Leo Liu <sdl.web@gmail.com>
9482
9483 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9484 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9485 (octave-source-directories): Don't check process.
9486 (octave-source-directories, octave-find-definition): Doc fix.
9487
9488 2013-05-18 Glenn Morris <rgm@gnu.org>
9489
9490 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9491 Remove backspace/delete bindings. (Bug#14392)
9492
9493 * cus-dep.el (custom-make-dependencies): Sort the output.
9494 (custom-versions-load-alist): Convert comment to doc.
9495
9496 2013-05-17 Leo Liu <sdl.web@gmail.com>
9497
9498 * newcomment.el (comment-search-backward): Stricter in finding
9499 comment start. (Bug#14303)
9500
9501 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9502 (octave-comment-start-skip): Properly anchored.
9503
9504 2013-05-17 Leo Liu <sdl.web@gmail.com>
9505
9506 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9507 Clean up when turned off. (Bug#14395)
9508 (smie--highlight-matching-block-overlay): No longer buffer-local.
9509 (smie-highlight-matching-block): Adjust.
9510
9511 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9512
9513 Doc string fix for "nanoseconds" (Bug#14406).
9514 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9515 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9516
9517 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9518
9519 * calc/calc-units.el (math-extract-units): Preserve powers
9520 of units.
9521
9522 2013-05-17 Leo Liu <sdl.web@gmail.com>
9523
9524 * subr.el (delete-consecutive-dups): New function.
9525 * ido.el (ido-set-matches-1): Use it.
9526 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9527 * ido.el (ido-remove-consecutive-dups): Remove.
9528
9529 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9532 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9533 regexp-opt's `words'.
9534
9535 2013-05-16 Leo Liu <sdl.web@gmail.com>
9536
9537 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9538 (smie--highlight-matching-block-overlay)
9539 (smie--highlight-matching-block-lastpos)
9540 (smie--highlight-matching-block-timer): New variables.
9541 (smie-highlight-matching-block): New function.
9542 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9543 (smie-setup): Conditionally enable smie-blink-matching-open.
9544
9545 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9546
9547 Sync with upstream verilog-mode r840.
9548 * progmodes/verilog-mode.el (verilog-mode-version)
9549 (verilog-mode-release-date): Update.
9550 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9551 (verilog-sig-tieoff): Fix string error on
9552 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9553 (verilog-read-decls): Fix parameters confusing
9554 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9555
9556 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9557
9558 * subr.el (reveal-filename): New function.
9559
9560 * loadup.el: Compute Emacs executable versions on MS-Windows,
9561 where executables have the .exe extension. Add a hard link
9562 emacs-XX.YY.ZZ.exe on MS-Windows.
9563
9564 * Makefile.in (XARGS_LIMIT): New variable.
9565 (custom-deps, finder-data, autoloads)
9566 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9567 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9568 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9569 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9570
9571 2013-05-16 Leo Liu <sdl.web@gmail.com>
9572
9573 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9574 (octave-mode-menu, octave-mode-map): Remove its uses.
9575
9576 2013-05-16 Reto Zimmermann <reto@gnu.org>
9577
9578 Sync with upstream vhdl mode v3.34.2.
9579 * progmodes/vhdl-mode.el: Use `push' throughout.
9580 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9581 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9582 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9583 (vhdl-actual-generic-name): New option to derive actual generic name.
9584 (vhdl-port-paste-signals): Replace formal by actual generics.
9585 (vhdl-beautify): New name for old group vhdl-align. Update users.
9586 (vhdl-beautify-options): New option.
9587 (vhdl-last-input-event): New compat alias. Use throughout.
9588 (vhdl-goto-line): Replace user level function `goto-line'.
9589 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9590 vhdl-fix-statement-buffer.
9591 (vhdl-create-mode-menu): Add some entries.
9592 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9593 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9594 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9595 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9596 to force statements on one line.
9597 (vhdl-remove-trailing-spaces-region):
9598 New, split from vhdl-remove-trailing-spaces.
9599 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9600 Respect vhdl-beautify-options.
9601 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9602 (vhdl-update-sensitivity-list): Not add with index if exists without.
9603 Not include array index with signal. Ignore keywords in comments.
9604 (vhdl-get-visible-signals): Regexp tweaks.
9605 (vhdl-template-component-inst): Handle empty library.
9606 (vhdl-template-type): Add template for 'enum' type.
9607 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9608 Use vhdl-replace-string.
9609 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9610 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9611 (vhdl-speedbar-initialize): Update for above name change.
9612 (vhdl-compose-wire-components): Fix in handling of constants.
9613 (vhdl-error-regexp-emacs-alist): New variable.
9614 (vhdl-error-regexp-add-emacs): New function;
9615 adds support for new compile.el (Emacs 22+)
9616 (vhdl-generate-makefile-1): Change target order for single lib. units.
9617 Allow use of absolute file names.
9618
9619 2013-05-16 Leo Liu <sdl.web@gmail.com>
9620
9621 * simple.el (prog-indent-sexp): Indent enclosing defun.
9622
9623 2013-05-15 Glenn Morris <rgm@gnu.org>
9624
9625 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9626 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9627 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9628 (whitespace-highlight): Move to whitespace group.
9629
9630 * comint.el (comint-source):
9631 * pcmpl-linux.el (pcmpl-linux):
9632 * shell.el (shell-faces):
9633 * eshell/esh-opt.el (eshell-opt):
9634 * international/ccl.el (ccl): Remove empty custom groups.
9635
9636 * completion.el (dynamic-completion-mode):
9637 * jit-lock.el (jit-lock-debug-mode):
9638 * minibuffer.el (completion-in-region-mode):
9639 * type-break.el (type-break-mode-line-message-mode)
9640 (type-break-query-mode):
9641 * emulation/tpu-edt.el (tpu-edt-mode):
9642 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9643 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9644 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9645
9646 * term/xterm.el (xterm): Change parent group to terminals.
9647
9648 * master.el (master): Remove empty custom group.
9649 (master-mode): Remove unused :group argument.
9650 * textmodes/refill.el (refill): Remove empty custom group.
9651 (refill-mode): Remove unused :group argument.
9652
9653 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9654
9655 * cus-dep.el: Provide a feature.
9656 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9657 Don't mistakenly ignore files whose basenames match a basename
9658 from preloaded-file-list (eg cedet/ede/simple.el).
9659 Add a fallback method for getting :group.
9660
9661 2013-05-15 Juri Linkov <juri@jurta.org>
9662
9663 * isearch.el (isearch-char-by-name): Rename from
9664 `isearch-insert-char-by-name'. Doc fix.
9665 (isearch-forward): Mention `isearch-char-by-name' in
9666 the docstring. (Bug#13348)
9667
9668 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9669 `exit-minibuffer' instead of
9670 `isearch-nonincremental-exit-minibuffer'.
9671 (isearch-edit-string): Remove mention of
9672 `isearch-nonincremental-exit-minibuffer' from docstring.
9673 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9674 (isearch-forward-exit-minibuffer)
9675 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9676
9677 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * loadup.el: Just use unversioned DOC.
9680
9681 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9682 literals as extending to EOB.
9683 (nxml-last-fontify-end): Remove unused variable.
9684 (nxml-after-change1): Use with-silent-modifications.
9685 (nxml-extend-after-change-region): Simplify.
9686 (nxml-extend-after-change-region1): Remove function.
9687 (nxml-after-change1): Don't adjust for dependent regions.
9688 (nxml-fontify-matcher): Simplify.
9689 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9690 (xmltok-add-dependent): Remove function.
9691 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9692 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9693 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9694 unclosed <[[, <?, comment, and other literals as extending to EOB.
9695 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9696 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9697 Remove functions.
9698 (rng-do-some-validation-1): Don't mark dependent regions.
9699 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9700 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9701 (nxml-clear-dependent-regions): Remove functions.
9702 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9703 (nxml-ensure-scan-up-to-date):
9704 Don't clear&mark dependent regions.
9705
9706 2013-05-15 Leo Liu <sdl.web@gmail.com>
9707
9708 * progmodes/octave.el (octave-goto-function-definition):
9709 Improve and fix callers.
9710
9711 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9714 the setter (bug#14387).
9715
9716 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9717 surrounding group (bug#14402).
9718
9719 2013-05-14 Juri Linkov <juri@jurta.org>
9720
9721 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9722 (Bug#14390)
9723
9724 2013-05-14 Glenn Morris <rgm@gnu.org>
9725
9726 * progmodes/f90.el (f90-imenu-generic-expression):
9727 Fix typo in 2013-05-08 change. (Bug#14402)
9728
9729 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9730
9731 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9732 Remove signals for which replies are never received.
9733
9734 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9735
9736 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9737 (gdb-handler-alist, gdb-handler-number): Remove variables.
9738 (gdb-handler-list): New variable.
9739 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9740 (gdb-pending-handler-p, gdb-handle-reply)
9741 (gdb-remove-all-pending-triggers): New functions.
9742 (gdb-discard-unordered-replies): New defcustom.
9743 (gdb-handler): New defstruct.
9744 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9745 instead of gdb-pending-triggers. Update docstring.
9746 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9747 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9748 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9749 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9750 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9751 (gdb-frame-handler): Pending triggers are now automatically managed.
9752 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9753 Remove argument.
9754 (gdb-input): Automatically handles pending triggers. Update docstring.
9755 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9756 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9757 Update comments.
9758 (gdb-done-or-error): Now use gdb-handle-reply.
9759
9760 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9761
9762 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9763 gdb-debug-log.
9764
9765 2013-05-14 Glenn Morris <rgm@gnu.org>
9766
9767 * subr.el (user-emacs-directory-warning): New option.
9768 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9769
9770 2013-05-14 Leo Liu <sdl.web@gmail.com>
9771
9772 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9773 during redisplay.
9774 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9775 (octave-font-lock-texinfo-comment): Fix invalid search bound
9776 error: wrong side of point.
9777
9778 2013-05-14 Glenn Morris <rgm@gnu.org>
9779
9780 * progmodes/flymake.el (flymake-xml-program): New option.
9781 (flymake-xml-init): Use it.
9782
9783 * term/xterm.el: Provide a feature.
9784
9785 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9786
9787 2013-05-13 Glenn Morris <rgm@gnu.org>
9788
9789 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9790 Add compat aliases as a hack workaround. (Bug#14384)
9791
9792 2013-05-13 Leo Liu <sdl.web@gmail.com>
9793
9794 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9795 ###, and %!.
9796 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9797 C-M-q.
9798 (octave-comment-start-skip): Include %!.
9799 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9800
9801 2013-05-12 Leo Liu <sdl.web@gmail.com>
9802
9803 * progmodes/octave.el (inferior-octave-startup): Store the value
9804 of __octave_srcdir__ for octave-source-directories.
9805 (inferior-octave-check-process): New function refactored out of
9806 inferior-octave-send-list-and-digest.
9807 (octave-source-directories)
9808 (octave-find-definition-filename-function): New variables.
9809 (octave-source-directories)
9810 (octave-find-definition-default-filename): New functions.
9811 (octave-find-definition): Improve to find functions implemented in C++.
9812
9813 2013-05-12 Glenn Morris <rgm@gnu.org>
9814
9815 * calendar/diary-lib.el (diary-outlook-format-1):
9816 Don't include dayname in the output. (Bug#14349)
9817
9818 2013-05-11 Glenn Morris <rgm@gnu.org>
9819
9820 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9821
9822 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9823 Treat cc-provide like provide.
9824
9825 2013-05-11 Kevin Ryde <user42@zip.com.au>
9826
9827 * cus-dep.el (custom-make-dependencies):
9828 Use generated-autoload-load-name for the sake of files such
9829 such cedet/semantic/bovine/c.el, where the base file name
9830 is not in load-path. (Bug#5277)
9831
9832 2013-05-11 Glenn Morris <rgm@gnu.org>
9833
9834 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9835 Provide features.
9836
9837 2013-05-11 Leo Liu <sdl.web@gmail.com>
9838
9839 * progmodes/octave.el (octave-indent-comment): Improve.
9840 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9841 (octave-eldoc-function-signatures, octave-eldoc-function):
9842 New functions.
9843 (octave-mode, inferior-octave-mode): Add eldoc support.
9844
9845 2013-05-11 Richard Stallman <rms@gnu.org>
9846
9847 * epa.el (epa-decrypt-file): Take output file name as argument
9848 and read it using `interactive'.
9849
9850 2013-05-11 Leo Liu <sdl.web@gmail.com>
9851
9852 * progmodes/octave.el (octave-beginning-of-line)
9853 (octave-end-of-line): Check before using up-list because it jumps
9854 out of more syntactic contructs since moving to smie.
9855 (octave-indent-comment): New function.
9856 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9857 (octave-begin-keywords, octave-end-keywords)
9858 (octave-reserved-words, octave-smie-bnf-table)
9859 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9860
9861 2013-05-11 Glenn Morris <rgm@gnu.org>
9862
9863 * faces.el (internal-face-x-get-resource):
9864 * frame.el (ns-display-monitor-attributes-list):
9865 * calc/calc-aent.el (math-to-radians-2):
9866 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9867 Fix declarations.
9868
9869 * calc/calc-menu.el: Make it loadable in isolation.
9870
9871 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9872 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9873 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9874 (eudc-bbdb-query-internal): Require 'bbdb.
9875
9876 * lpr.el (lpr-headers-switches):
9877 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9878
9879 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9880
9881 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9882
9883 * term.el (term-set-escape-char): Make it idempotent.
9884
9885 2013-05-10 Leo Liu <sdl.web@gmail.com>
9886
9887 * progmodes/octave.el (inferior-octave-completion-table):
9888 No longer a function and all uses changed. Use cache to speed up
9889 completion due to bug#11906.
9890 (octave-beginning-of-defun): Re-write to be more general.
9891
9892 2013-05-10 Glenn Morris <rgm@gnu.org>
9893
9894 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9895
9896 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * comint.el (comint-redirect-send-command-to-process): Use :around
9899 rather than :override for comint-redirect-filter.
9900 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9901 Call it instead of comint-redirect-original-filter-function (which
9902 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9903
9904 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9905
9906 * frame.el (display-monitor-attributes-list): Add NS case.
9907 (ns-display-monitor-attributes-list): Declare.
9908
9909 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9910
9911 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9912
9913 2013-05-09 Glenn Morris <rgm@gnu.org>
9914
9915 * international/fontset.el (vertical-centering-font-regexp):
9916 Set standard-value.
9917
9918 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9919
9920 * bookmark.el (bookmark-search-delay):
9921 * cus-start.el (vertical-centering-font-regexp):
9922 * ps-mule.el (ps-mule-font-info-database-default):
9923 * ps-print.el (ps-default-fg, ps-default-bg):
9924 * type-break.el (type-break-good-break-interval):
9925 * whitespace.el (whitespace-indentation-regexp)
9926 (whitespace-space-after-tab-regexp):
9927 * emacs-lisp/testcover.el (testcover-1value-functions)
9928 (testcover-noreturn-functions, testcover-progn-functions)
9929 (testcover-prog1-functions):
9930 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9931 * eshell/em-glob.el (eshell-glob-translate-alist):
9932 * play/tetris.el (tetris-tty-colors):
9933 * progmodes/cpp.el (cpp-face-default-list):
9934 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9935 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9936 (idlwave-help-browser-generic-args):
9937 * progmodes/make-mode.el (makefile-special-targets-list):
9938 * progmodes/python.el (python-shell-virtualenv-path):
9939 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9940 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9941 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9942 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9943 * textmodes/reftex-vars.el (reftex-format-label-function):
9944 * textmodes/remember.el (remember-diary-file): Fix custom types.
9945
9946 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9947 Add :version.
9948
9949 2013-05-09 Leo Liu <sdl.web@gmail.com>
9950
9951 * progmodes/octave.el (inferior-octave-completion-at-point):
9952 Restore file completion. (Bug#14300)
9953 (inferior-octave-startup): Fix incorrect highlighting for the
9954 first prompt.
9955
9956 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9957
9958 * progmodes/ruby-mode.el: First cut at SMIE support.
9959 (ruby-use-smie): New var.
9960 (ruby-smie-grammar): New constant.
9961 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9962 (ruby-smie--forward-token, ruby-smie--backward-token)
9963 (ruby-smie-rules): New functions.
9964 (ruby-mode-variables): Setup SMIE if applicable.
9965
9966 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9967
9968 * simple.el (line-move-visual): Signal beginning/end of buffer
9969 only if vertical-motion moved less than it was requested. Avoids
9970 silly incorrect error messages when there are display strings with
9971 multiple newlines at EOL.
9972
9973 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9976 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9977 (prolog-char-quote-workaround):
9978 * progmodes/cperl-mode.el (cperl-under-as-char):
9979 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9980 Mark as obsolete.
9981 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9982 their declaration.
9983 (vhdl-mode-syntax-table-init): Remove.
9984
9985 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9986 last change.
9987
9988 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9989 syntax for "_".
9990 (ld-script-font-lock-keywords):
9991 Change regexps to use things like \_< and \_>.
9992
9993 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9994 Change all regexps to use things like \_< and \_>.
9995
9996 * progmodes/autoconf.el (autoconf-definition-regexp)
9997 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9998 Handle a _ with symbol syntax.
9999 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10000
10001 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10002 Consolidate declaration.
10003 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10004 the declaration.
10005 (ada-create-syntax-table): Remove.
10006 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10007 already has the right syntax nowadays.
10008 (ada-goto-next-word): Don't change the syntax of "_".
10009
10010 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10011 with-wrapper-hook.
10012
10013 2013-05-08 Sam Steingold <sds@gnu.org>
10014
10015 * thingatpt.el (thing-at-point): Accept optional second argument
10016 NO-PROPERTIES to strip the text properties from the return value.
10017 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10018 to `thing-at-point' instead of stripping the properties ourselves.
10019 Also, when `thing-at-point' fails to find a url, prepend "http://"
10020 to the filename at point on the assumption that the user is
10021 pointing at something like gnu.org/gnu.
10022
10023 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10024
10025 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10026 * faces.el (crm-separator):
10027 Silence byte-compiler.
10028
10029 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10030 (tool-bar-map): Remove unneeded defvars.
10031
10032 2013-05-08 Leo Liu <sdl.web@gmail.com>
10033
10034 Re-work a fix for bug#10994 based on Le Wang's patch.
10035 * ido.el (ido-remove-consecutive-dups): New helper.
10036 (ido-completing-read): Use it.
10037 (ido-chop): Revert fix for bug#10994.
10038
10039 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10040
10041 * cus-edit.el (custom-save-variables):
10042 Pretty-print long values. (Bug#14187)
10043
10044 2013-05-08 Glenn Morris <rgm@gnu.org>
10045
10046 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10047 (m4-mode-syntax-table): Init in the defvar.
10048 (m4-mode-abbrev-table): Let define-derived-mode define it.
10049
10050 2013-05-08 Tom Tromey <tromey@redhat.com>
10051
10052 * progmodes/m4-mode.el (m4-mode-syntax-table):
10053 Do not treat "_" as word constituent. (Bug#14167)
10054
10055 2013-05-07 Glenn Morris <rgm@gnu.org>
10056
10057 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10058 Remove explicit eshell-isearch-cancel-map.
10059
10060 * progmodes/f90.el (f90-smart-end-names): New option.
10061 (f90-smart-end): Doc fix.
10062 (f90-end-block-optional-name): New constant.
10063 (f90-block-match): Respect f90-smart-end-names.
10064
10065 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10068 about implicit semi-colons (bug#14218).
10069
10070 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10071
10072 * frame.el (display-monitor-attributes-list)
10073 (frame-monitor-attributes): New functions.
10074
10075 2013-05-06 Leo Liu <sdl.web@gmail.com>
10076
10077 * progmodes/octave.el (octave-syntax-propertize-function): Change
10078 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10079 (octave-font-lock-keywords): Use octave-operator-regexp.
10080 (octave-completion-at-point): Rename from
10081 octave-completion-at-point-function.
10082 (inferior-octave-directory-tracker): Robustify.
10083 (octave-text-functions): Remove and fix its uses. No such things
10084 any more.
10085
10086 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 * emacs-lisp/trace.el (trace--display-buffer): New function.
10089 (trace-make-advice): Use it.
10090
10091 2013-05-06 Juri Linkov <juri@jurta.org>
10092
10093 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10094 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10095 Doc fix.
10096 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10097 in the help string. (Bug#12985)
10098
10099 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10100
10101 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10102
10103 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * progmodes/perl-mode.el: Add support for here documents.
10106 (perl-syntax-propertize-function): Match here-doc markers.
10107 (perl-syntax-propertize-special-constructs): Find their end.
10108 (perl-imenu-generic-expression): Use [:alnum:].
10109
10110 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10111 (advice--add-function): Refresh the advice if already present
10112 (bug#14317).
10113
10114 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10115
10116 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10117
10118 2013-05-06 Glenn Morris <rgm@gnu.org>
10119
10120 * w32-fns.el (w32-charset-info-alist): Declare.
10121
10122 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10123 of its defcustom properties.
10124 (eshell-cmpl-initialize): No need to load pcomplete.
10125
10126 * generic-x.el: No need to require comint when compiling.
10127
10128 * net/eudc-export.el: Make it loadable without bbdb.
10129 (top-level): Use require rather than load-library.
10130 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10131 (eudc-batch-export-records-to-bbdb)
10132 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10133 Require bbdb.
10134
10135 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10138 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10139 some tweaks, instead.
10140
10141 2013-05-05 Leo Liu <sdl.web@gmail.com>
10142
10143 * progmodes/octave.el (octave-font-lock-keywords)
10144 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10145 (inferior-octave-send-list-and-digest): Improve error message.
10146 (octave-mode, inferior-octave-mode): Use setq-local.
10147 (octave-help): Set info-lookup-mode.
10148
10149 2013-05-05 Richard Stallman <rms@gnu.org>
10150
10151 * vc/compare-w.el (compare-windows-whitespace):
10152 Treat no-break space as whitespace.
10153
10154 * mail/rmailsum.el (rmail-summary-rmail-update):
10155 Detect empty summary and don't change selected message.
10156 (rmail-summary-goto-msg): Likewise.
10157
10158 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10159 Doc fixes, rename args.
10160
10161 2013-05-05 Alan Mackenzie <acm@muc.de>
10162
10163 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10164
10165 2013-05-05 Juri Linkov <juri@jurta.org>
10166
10167 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10168 to not add the length of the summary segment to the return value.
10169 (Bug#14125)
10170
10171 2013-05-05 Leo Liu <sdl.web@gmail.com>
10172
10173 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10174 (inferior-octave-output-filter): Remove.
10175 (octave-send-region, inferior-octave-startup): Fix callers.
10176 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10177 (octave-binary-file-extensions): New user variable.
10178 (octave-find-definition): Confirm if opening binary files.
10179 (octave-help-file): Use octave-find-definition to get the binary
10180 confirmation.
10181 (octave-help): Adjust for octave-help-file change.
10182
10183 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10186 Merge the two entries that handle function definitions.
10187 (pascal--syntax-propertize): New const.
10188 (pascal-mode): Use it. Use setq-local.
10189
10190 2013-05-04 Glenn Morris <rgm@gnu.org>
10191
10192 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10193 (diary-from-outlook): Respect diary-from-outlook-function.
10194
10195 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10198 Move the declaration from C.
10199 (read-minibuffer, eval-minibuffer): Move from C.
10200 (completion-setup-function): Avoid minibuffer-completion-contents.
10201
10202 2013-05-03 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/octave.el (octave-font-lock-keywords): Do not
10205 dehighlight 'end' in comments or strings.
10206 (octave-completing-read, octave-goto-function-definition):
10207 New helpers.
10208 (octave-help-buffer): New user variable.
10209 (octave-help-file, octave-help-function): New button types.
10210 (octave-help): New command and bind it to C-h ;.
10211 (octave-find-definition): New command and bind it to M-.
10212 (user-error): Alias to error if not defined.
10213
10214 2013-05-02 Leo Liu <sdl.web@gmail.com>
10215
10216 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10217 for \. (bug#14332)
10218 (octave-font-lock-keywords): Include [ and {.
10219
10220 2013-05-02 Leo Liu <sdl.web@gmail.com>
10221
10222 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10223 (inferior-octave): Remove calling comint-mode and return the buffer.
10224 (inferior-octave-startup): Cosmetic changes.
10225
10226 2013-05-02 Leo Liu <sdl.web@gmail.com>
10227
10228 * progmodes/octave.el (octave-syntax-propertize-function):
10229 Include the case when ' is at line beginning. (Bug#14336)
10230
10231 2013-05-02 Glenn Morris <rgm@gnu.org>
10232
10233 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10234 * desktop.el (vc-dir-mode): Just autoload it here.
10235
10236 2013-05-02 Alan Mackenzie <acm@muc.de>
10237
10238 Eliminate variable c-standard-font-lock-fontify-region-function.
10239 * progmodes/cc-mode.el
10240 (c-standard-font-lock-fontify-region-function): Remove.
10241 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10242
10243 2013-05-01 Leo Liu <sdl.web@gmail.com>
10244
10245 * progmodes/octave.el: Compatible with older emacs-24 releases.
10246 (inferior-octave-has-built-in-variables): Remove. Built-in
10247 variables were removed from Octave in 2007.
10248 (inferior-octave-startup): Fix uses.
10249 (comint-line-beginning-position): Remove compatibility code for
10250 emacs 21.
10251
10252 2013-05-01 Juri Linkov <juri@jurta.org>
10253
10254 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10255
10256 2013-05-01 Juri Linkov <juri@jurta.org>
10257
10258 * comint.el (comint-previous-matching-input): Don't print message
10259 "History item: %d" when `isearch-mode' is active.
10260 (comint-history-isearch-message): Print message "History item: %d"
10261 when `comint-input-ring-index' is not empty and this function is
10262 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10263
10264 2013-05-01 Leo Liu <sdl.web@gmail.com>
10265
10266 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10267 definitions. Use completion-at-point to insert keywords.
10268 (octave-abbrev-start): Remove.
10269 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10270
10271 2013-04-30 Leo Liu <sdl.web@gmail.com>
10272
10273 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10274 change.
10275
10276 2013-04-30 Alan Mackenzie <acm@muc.de>
10277
10278 Handle arbitrarily long C++ member initialisation lists.
10279 * progmodes/cc-engine.el (c-back-over-member-initializers):
10280 new function.
10281 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10282 (most) member init lists.
10283
10284 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10285
10286 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10287 variable.
10288
10289 2013-04-30 Leo Liu <sdl.web@gmail.com>
10290
10291 * progmodes/octave.el (octave-variables): Remove. No builtin
10292 variables any more. All converted to functions.
10293 (octave-font-lock-keywords, octave-completion-at-point-function):
10294 Fix uses.
10295 (octave-font-lock-texinfo-comment): New user variable.
10296 (octave-texinfo-font-lock-keywords): New variable for texinfo
10297 comment block.
10298 (octave-function-comment-block): New face.
10299 (octave-font-lock-texinfo-comment): New function.
10300 (octave-mode): Font lock texinfo comment block.
10301
10302 2013-04-29 Leo Liu <sdl.web@gmail.com>
10303
10304 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10305 indexing expression.
10306 (octave-continuation-string): Do not use \.
10307 (inferior-octave-complete-impossible): Remove.
10308 (inferior-octave-completion-table)
10309 (inferior-octave-completion-at-point): Remove its uses.
10310 (inferior-octave-startup): completion_matches was introduced to
10311 Octave in 1996 so safe to assume it.
10312 (octave-function-file-comment): Improve to follow how Octave does it.
10313 (octave-update-function-file-comment): Tweak.
10314
10315 2013-04-29 Leo Liu <sdl.web@gmail.com>
10316
10317 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10318 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10319 (octave-function-file-comment): Fix typo.
10320 (octave-sync-function-file-names): Use read-char-choice.
10321
10322 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10323
10324 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10325 to t for the less important warnings.
10326
10327 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10328
10329 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10330
10331 2013-04-27 Glenn Morris <rgm@gnu.org>
10332
10333 * vc/log-view.el (log-view-current-entry):
10334 Treat "---" separator lines as part of the following rev. (Bug#14169)
10335
10336 2013-04-27 Juri Linkov <juri@jurta.org>
10337
10338 * subr.el (read-number): Doc fix about using it by interactive
10339 code letter `n'. (Bug#14254)
10340
10341 2013-04-27 Juri Linkov <juri@jurta.org>
10342
10343 * desktop.el (desktop-auto-save-timeout): New option.
10344 (desktop-file-checksum): New variable.
10345 (desktop-save): Add optional arg `auto-save' and don't auto-save
10346 if nothing changed.
10347 (desktop-auto-save-timer): New variable.
10348 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10349 (after-init-hook): Call `desktop-auto-save-set-timer'.
10350 Suggested by Reuben Thomas <rrt@sc3d.org> in
10351 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10352
10353 2013-04-27 Leo Liu <sdl.web@gmail.com>
10354
10355 * progmodes/octave.el (octave-function-file-p)
10356 (octave-skip-comment-forward, octave-function-file-comment)
10357 (octave-update-function-file-comment): New functions.
10358 (octave-mode-map): Bind C-c ; to
10359 octave-update-function-file-comment.
10360 (octave-mode-menu): Add octave-update-function-file-comment.
10361 (octave-mode, inferior-octave-mode): Fix doc-string.
10362 (octave-insert-defun): Conform to Octave's coding convention.
10363 (Bug#14285)
10364
10365 * files.el (basic-save-buffer): Don't let errors in
10366 before-save-hook prevent saving buffer.
10367
10368 2013-04-20 Roland Winkler <winkler@gnu.org>
10369
10370 * faces.el (read-face-name): Use completing-read if arg multiple
10371 is nil.
10372
10373 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10374
10375 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10376 displayed, move point to after the totals line.
10377 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10378 for the details.
10379
10380 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10383 Add current dir to the load-path.
10384 (package-generate-autoloads): Don't rely on
10385 autoload-ensure-default-file.
10386
10387 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10388
10389 * textmodes/remember.el (remember-store-in-files): Document that
10390 the file name format is passed to `format-time-string'.
10391
10392 2013-04-26 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (octave-sync-function-file-names): New function.
10395 (octave-mode): Use it in before-save-hook.
10396
10397 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10400 (bug#14274).
10401
10402 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10403 \n and comment, even if it's not an implicit ; (bug#14218).
10404
10405 2013-04-26 Glenn Morris <rgm@gnu.org>
10406
10407 * subr.el (read-number): Once more use `read' rather than
10408 `string-to-number', to trap non-numeric input. (Bug#14254)
10409
10410 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10411
10412 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10413 Use `syntax-multiline' text property consistently instead of
10414 `font-lock-multiline'. (Bug#14237)
10415
10416 2013-04-26 Glenn Morris <rgm@gnu.org>
10417
10418 * emacs-lisp/shadow.el (list-load-path-shadows):
10419 No longer necessary to check for duplicate simple.el, since
10420 2012-07-07 change to init_lread to not include installation lisp
10421 directories in load-path when running uninstalled. (Bug#14270)
10422
10423 2013-04-26 Leo Liu <sdl.web@gmail.com>
10424
10425 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10426 (octave-mode, inferior-octave-mode): Use setq-local.
10427 (octave-not-in-string-or-comment-p): Rename to
10428 octave-in-string-or-comment-p.
10429 (octave-in-comment-p, octave-in-string-p)
10430 (octave-in-string-or-comment-p): Replace defsubst with defun.
10431
10432 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10433
10434 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10435
10436 2013-04-25 Bastien Guerry <bzg@gnu.org>
10437
10438 * textmodes/remember.el (remember-data-directory)
10439 (remember-directory-file-name-format): Fix custom types.
10440
10441 2013-04-25 Leo Liu <sdl.web@gmail.com>
10442
10443 * progmodes/octave.el (octave-completion-at-point-function):
10444 Make use of inferior octave process.
10445 (octave-initialize-completions): Remove.
10446 (inferior-octave-completion-table): New function.
10447 (inferior-octave-completion-at-point): Use it.
10448 (octave-completion-alist): Remove.
10449
10450 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10453 (opascal-mode-syntax-table): New var.
10454 (opascal-literal-kind, opascal-is-literal-end)
10455 (opascal-literal-token-at): Rewrite.
10456 (opascal--literal-start-re, opascal-font-lock-keywords)
10457 (opascal--syntax-propertize): New constants.
10458 (opascal-font-lock-defaults): Adjust.
10459 (opascal-mode): Use them. Set comment-<foo> variables as well.
10460 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10461 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10462 (delphi-other-face, opascal-other-face): Remove face variables.
10463 (opascal-save-state): Remove macro.
10464 (opascal-fontifying-progress-step): Remove constant.
10465 (opascal--ignore-changes): Remove var.
10466 (opascal-set-token-property, opascal-parse-next-literal)
10467 (opascal-is-stable-literal, opascal-complete-literal)
10468 (opascal-is-literal-start, opascal-face-of)
10469 (opascal-parse-region, opascal-parse-region-until-stable)
10470 (opascal-fontify-region, opascal-after-change)
10471 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10472 (opascal-debug-parse-region, opascal-debug-parse-window)
10473 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10474 (opascal-debug-fontify-buffer): Remove.
10475 (opascal-debug-mode-map): Adjust accordingly.
10476
10477 2013-04-25 Leo Liu <sdl.web@gmail.com>
10478
10479 Merge octave-mod.el and octave-inf.el into octave.el with some
10480 cleanups.
10481 * progmodes/octave.el: New file renamed from octave-mod.el.
10482 * progmodes/octave-inf.el: Merged into octave.el.
10483 * progmodes/octave-mod.el: Renamed to octave.el.
10484
10485 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10486
10487 * textmodes/reftex-vars.el
10488 (reftex-label-ignored-macros-and-environments): New defcustom.
10489
10490 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10491
10492 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10495 (smie-indent-keyword): Improve the check to ensure that the next
10496 comment is really on the same line.
10497 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10498
10499 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10500 semi-colons if the line is not otherwise empty (bug#14218).
10501
10502 2013-04-25 Glenn Morris <rgm@gnu.org>
10503
10504 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10505
10506 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * progmodes/opascal.el (opascal-set-token-property): Rename from
10509 opascal-set-text-properties and only set `token' (bug#14134).
10510 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10511 (opascal-literal-text-properties): Remove.
10512 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10513 Adjust callers.
10514
10515 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10516
10517 * textmodes/remember.el (remember-handler-functions): Add an
10518 option for a new handler `remember-store-in-files'.
10519 (remember-data-directory, remember-directory-file-name-format):
10520 New options.
10521 (remember-store-in-files): New function to store remember notes
10522 as separate files within a directory.
10523
10524 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10525
10526 * progmodes/compile.el (compilation-next-error-function):
10527 Pass "formats" to compilation-find-file (bug#11777).
10528
10529 2013-04-24 Glenn Morris <rgm@gnu.org>
10530
10531 * vc/vc-bzr.el (vc-bzr-print-log):
10532 * vc/vc-hg.el (vc-hg-print-log):
10533 * vc/vc-svn.el (vc-svn-print-log):
10534 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10535
10536 * vc/vc-bzr.el (vc-bzr-print-log):
10537 * vc/vc-cvs.el (vc-cvs-print-log):
10538 * vc/vc-git.el (vc-git-print-log):
10539 * vc/vc-hg.el (vc-hg-print-log):
10540 * vc/vc-mtn.el (vc-mtn-print-log):
10541 * vc/vc-rcs.el (vc-rcs-print-log):
10542 * vc/vc-sccs.el (vc-sccs-print-log):
10543 * vc/vc-svn.el (vc-svn-print-log):
10544 * vc/vc.el (vc-print-log-internal): Doc fixes.
10545
10546 2013-04-23 Glenn Morris <rgm@gnu.org>
10547
10548 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10549 Remove venerable code attempting to avoid substitute-command-keys.
10550
10551 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10552
10553 * textmodes/reftex-vars.el (reftex-label-regexps):
10554 Call `reftex-compile-variables' after changes to this variable.
10555
10556 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10559 Use lexical-binding.
10560 (jit-lock-force-redisplay): Use markers, check buffer's continued
10561 existence and beware narrowed buffers.
10562 (jit-lock-fontify-now): Adjust call accordingly.
10563
10564 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10567 to avoid misleading the user.
10568
10569 2013-04-22 Leo Liu <sdl.web@gmail.com>
10570
10571 * info-look.el: Prefer latex2e.info. (Bug#14240)
10572
10573 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10574
10575 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10576
10577 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10578 * net/tramp.el (tramp-call-process): ... here.
10579 (tramp-set-completion-function, tramp-parse-putty):
10580 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10581 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10582 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10583 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10584 (tramp-call-local-coding-command): Use `tramp-call-process'
10585 instead of `tramp-compat-call-process'.
10586
10587 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10588 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10589 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10590 (tramp-find-inline-compress): Improve traces.
10591 (tramp-maybe-send-script): Check for Perl binary.
10592 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10593
10594 2013-04-22 Daiki Ueno <ueno@gnu.org>
10595
10596 * epg.el (epg-context-pinentry-mode): New function.
10597 (epg-context-set-pinentry-mode): New function.
10598 (epg--start): Pass --pinentry-mode option to gpg command.
10599
10600 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10601
10602 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10603 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10604 `completion-at-point'. (Bug#13774)
10605
10606 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10607 default key binding for `describe-distribution' has been moved to
10608 `C-h C-o'. (Bug#13970)
10609
10610 2013-04-21 Glenn Morris <rgm@gnu.org>
10611
10612 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10613 Add doc strings.
10614 (vc-print-log): Clarify interactive prompt.
10615
10616 2013-04-20 Glenn Morris <rgm@gnu.org>
10617
10618 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10619 No longer include timestamp etc information.
10620
10621 2013-04-20 Roland Winkler <winkler@gnu.org>
10622
10623 * faces.el (read-face-name): Bug fix, return just one face if arg
10624 multiple is nil. (Bug#14209)
10625
10626 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10629 (remove-function): Autoload.
10630
10631 * comint.el (comint-redirect-original-filter-function): Remove.
10632 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10633 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10634 (vc-cvs-annotate-command):
10635 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10636 * progmodes/prolog.el (prolog-consult-compile):
10637 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10638 Use add/remove-function instead.
10639 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10640 (gud-tooltip-process-output, gud-tooltip-tips):
10641 Use add/remove-function instead.
10642 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10643 (scheme-interaction-mode, exit-scheme-interaction-mode):
10644 Use add/remove-function instead.
10645
10646 * vc/vc-dispatcher.el: Use lexical-binding.
10647 (vc--process-sentinel): Rename from vc-process-sentinel.
10648 Change last arg to be the code to run. Don't use vc-previous-sentinel
10649 and vc-sentinel-commands any more.
10650 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10651 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10652
10653 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10654
10655 * progmodes/sh-script.el (sh-imenu-generic-expression):
10656 Handle function names with a single character. (Bug#14111)
10657
10658 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10659
10660 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10661 for subroutines defined in an eval (bug#14182).
10662
10663 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10664
10665 * bookmark.el (bookmark-completing-read): Improve handling of empty
10666 string (bug#14176).
10667
10668 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10671
10672 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10673
10674 New faster Imenu implementation (bug#14058).
10675 * progmodes/python.el:
10676 (python-imenu-prev-index-position):
10677 (python-imenu-format-item-label-function)
10678 (python-imenu-format-parent-item-label-function)
10679 (python-imenu-format-parent-item-jump-label-function):
10680 New vars.
10681 (python-imenu-format-item-label)
10682 (python-imenu-format-parent-item-label)
10683 (python-imenu-format-parent-item-jump-label)
10684 (python-imenu--put-parent, python-imenu--build-tree)
10685 (python-imenu-create-index, python-imenu-create-flat-index)
10686 (python-util-popn): New functions.
10687 (python-mode): Set imenu-create-index-function to
10688 python-imenu-create-index.
10689
10690 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * winner.el (winner-active-region): Use region-active-p, activate-mark
10693 and deactivate-mark (bug#14225).
10694
10695 * simple.el (deactivate-mark): Don't inline it.
10696
10697 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10698
10699 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10700
10701 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10702
10703 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10704 file extensions from the archive-mode entry in order to prefer
10705 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10706
10707 2013-04-18 Leo Liu <sdl.web@gmail.com>
10708
10709 * bindings.el (help-event-list): Add ?\?.
10710
10711 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 * subr.el (with-wrapper-hook): Declare obsolete.
10714 * simple.el (filter-buffer-substring-function): New hook.
10715 (filter-buffer-substring): Use it.
10716 (filter-buffer-substring-functions): Mark obsolete.
10717 * minibuffer.el (completion-in-region-function): New hook.
10718 (completion-in-region): Use it.
10719 (completion-in-region-functions): Mark obsolete.
10720 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10721 * abbrev.el (abbrev-expand-function): New hook.
10722 (expand-abbrev): Use it.
10723 (abbrev-expand-functions): Mark obsolete.
10724 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10725 and :filter-return.
10726
10727 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10728
10729 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10730 and do not care about match data.
10731
10732 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10735 completion tables when completing error conditions and
10736 `declare' arguments.
10737 (lisp-complete-symbol, field-complete): Mark as obsolete.
10738 (check-parens): Unmatched parens are user errors.
10739 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10740
10741 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10742
10743 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10744 command changed buffer (ie. `flyspell-pre-buffer' is not current
10745 buffer), which prevents making decisions based on invalid value of
10746 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10747 cause an error when `flyspell-pre-point' was nil after switching
10748 buffers.
10749 (flyspell-post-command-hook): No longer needs to change buffers when
10750 checking pre-word. While at it remove unnecessary progn.
10751
10752 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10753
10754 * textmodes/ispell.el (ispell-add-per-file-word-list):
10755 Fix `flyspell-correct-word-before-point' error when accepting
10756 words and `coment-padding' is an integer by using
10757 `comment-normalize-vars' (Bug #14214).
10758
10759 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10760
10761 New defun movement commands.
10762 * progmodes/python.el (python-nav--syntactically)
10763 (python-nav--forward-defun, python-nav-backward-defun)
10764 (python-nav-forward-defun): New functions.
10765
10766 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10767
10768 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10769 (python-syntax-context): Use named compiler-macro for backwards
10770 compatibility with Emacs 24.x.
10771
10772 2013-04-17 Leo Liu <sdl.web@gmail.com>
10773
10774 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10775 octave-hide-process-buffer.
10776
10777 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10778
10779 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10780 (bug#14216).
10781
10782 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10783
10784 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10785 Fix adjustment of offset when receiving incomplete responses from GDB
10786 (bug#14129).
10787
10788 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10791 python-mode-abbrev-table.
10792 (python-skeleton-define): Adjust accordingly.
10793 (python-mode-abbrev-table): New table that inherits from it so that
10794 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10795
10796 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10797 (abbrev-symbol): Use it.
10798 (abbrev--before-point): Use it since we already handle inheritance.
10799
10800 2013-04-16 Leo Liu <sdl.web@gmail.com>
10801
10802 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10803 binding to info-lookup-symbol.
10804
10805 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * minibuffer.el (completion--twq-all):
10808 * term/ns-win.el (ns-initialize-window-system):
10809 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10810
10811 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10814 global bindings.
10815
10816 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10817
10818 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10819
10820 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10821 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10822 to nil.
10823 (ruby-end-of-defun): Remove the unused arg, change the docstring
10824 to reflect that this function is only used as the value of
10825 `end-of-defun-function'.
10826 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10827 to reflect an earlier change that beginning/end-of-defun functions
10828 jump between methods in a class definition, as well as top-level
10829 functions.
10830
10831 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * minibuffer.el (minibuffer-complete): Don't just scroll
10834 a *Completions* that's been iconified.
10835 (minibuffer-force-complete): Make sure repetitions do cycle when going
10836 through completion-in-region -> minibuffer-complete.
10837
10838 2013-04-15 Alan Mackenzie <acm@muc.de>
10839
10840 Correct the placement of c-cpp-delimiters when there're #s not at
10841 col 0.
10842
10843 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10844 place a submatch around the #.
10845 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10846 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10847 on the #, not BOL.
10848
10849 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10852 (advice--member-p): New arg `name'.
10853 (advice--add-function, advice-member-p): Use it (bug#14202).
10854
10855 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10856
10857 Reformulate java imenu-generic-expression.
10858 The old expression contained ill formed regexps.
10859
10860 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10861 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10862 (cc-imenu-java-method-arg-regexp): New defconsts.
10863 (cc-imenu-java-build-type-args-regex): New defun.
10864 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10865 handling of spaces in the regexp.
10866
10867 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10868
10869 * textmodes/ispell.el (ispell-command-loop): Remove
10870 flyspell highlight of a word when ispell accepts it (bug #14178).
10871
10872 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10873
10874 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10875 uses code from the previous `ange-ftp-run-real-handler'.
10876 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10877 only in case that function exist. This is needed for proper
10878 unloading of Tramp.
10879
10880 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10881
10882 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10883
10884 * textmodes/reftex.el (reftex-compile-variables): Use it.
10885
10886 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * files.el (normal-mode): Only use default major-mode if no other mode
10889 was specified.
10890
10891 * emacs-lisp/trace.el (trace-values): New function.
10892
10893 * files.el: Allow : in local variables (bug#14089).
10894 (hack-local-variable-regexp): New var.
10895 (hack-local-variables-prop-line, hack-local-variables): Use it.
10896
10897 2013-04-13 Roland Winkler <winkler@gnu.org>
10898
10899 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10900 data before it gets modified by bibtex-beginning-of-entry.
10901
10902 2013-04-13 Roland Winkler <winkler@gnu.org>
10903
10904 * textmodes/bibtex.el (bibtex-url): Doc fix.
10905
10906 2013-04-13 Roland Winkler <winkler@gnu.org>
10907
10908 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10909 does not visit a BibTeX file, exclude it from the list of buffers
10910 returned by bibtex-initialize.
10911
10912 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10913
10914 * window.el (split-window): Remove interactive form, since as a
10915 command this function is a special case of split-window-below.
10916 Correct doc string.
10917
10918 2013-04-12 Roland Winkler <winkler@gnu.org>
10919
10920 * faces.el (read-face-name): Do not override value of arg default.
10921 Allow single faces and strings as default values. Remove those
10922 elements from return value that are not faces.
10923 (describe-face): Simplify.
10924 (face-at-point): New optional args thing and multiple so that this
10925 function can provide the same functionality previously provided by
10926 read-face-name.
10927 (make-face-bold, make-face-unbold, make-face-italic)
10928 (make-face-unitalic, make-face-bold-italic, invert-face)
10929 (modify-face, read-face-and-attribute): Use face-at-point.
10930
10931 * cus-edit.el (customize-face, customize-face-other-window)
10932 * cus-theme.el (custom-theme-add-face)
10933 * face-remap.el (buffer-face-set)
10934 * facemenu.el (facemenu-set-face): Use face-at-point.
10935
10936 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10937
10938 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10939
10940 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10941
10942 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10943 off leading { and trailing } from field values.
10944
10945 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * emacs-lisp/timer.el (timer--check): New function.
10948 (timer--time, timer-set-function, timer-event-handler): Use it.
10949 (timer-set-idle-time): Simplify.
10950 (timer--activate): CSE.
10951 (timer-event-handler): Give more info in error message.
10952 (internal-timer-start-idle): New function, moved from C.
10953
10954 * mpc.el (mpc-proc): Add `restart' argument.
10955 (mpc-proc-cmd): Use it.
10956 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10957 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10958 less often.
10959
10960 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10961
10962 * progmodes/sh-script.el: Implement `sh-mode' own
10963 `add-log-current-defun-function' (bug#14112).
10964 (sh-current-defun-name): New function.
10965 (sh-mode): Use the function.
10966
10967 2013-04-09 Bastien Guerry <bzg@gnu.org>
10968
10969 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10970
10971 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10972
10973 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10974
10975 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10976 timer (bug#14156).
10977
10978 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10979
10980 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10981 declaration.
10982
10983 2013-04-07 Leo Liu <sdl.web@gmail.com>
10984
10985 * pcmpl-x.el: New file.
10986
10987 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10988
10989 Do not set x-display-name until X connection is established.
10990 This is needed to prevent from weird situation described at
10991 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10992 * frame.el (make-frame): Set x-display-name after call to
10993 window system initialization function, not before.
10994 * term/x-win.el (x-initialize-window-system): Add optional
10995 display argument and use it.
10996 * term/w32-win.el (w32-initialize-window-system):
10997 * term/ns-win.el (ns-initialize-window-system):
10998 * term/pc-win.el (msdos-initialize-window-system):
10999 Add compatible optional display argument.
11000
11001 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11002
11003 * files.el (normal-backup-enable-predicate): On MS-Windows and
11004 MS-DOS compare truenames of temporary-file-directory and of the
11005 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11006 don't fail comparison by compare-strings. Also, compare file
11007 names case-insensitively on MS-Windows and MS-DOS.
11008
11009 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11012 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11013
11014 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11015
11016 * whitespace.el (whitespace-color-on, whitespace-color-off):
11017 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11018
11019 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11020
11021 * ispell.el (ispell-set-spellchecker-params):
11022 Really set `ispell-args' for all equivs.
11023
11024 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * ido.el (ido-completions): Use extra elements of ido-decorations
11027 (bug#14143).
11028 (ido-decorations): Update docstring.
11029
11030 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11031
11032 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11033 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11034 nil during initialization, in order not to miss changes since the
11035 file was opened. (Bug#14140)
11036
11037 2013-04-05 Leo Liu <sdl.web@gmail.com>
11038
11039 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11040
11041 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11042
11043 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11044
11045 2013-04-04 Glenn Morris <rgm@gnu.org>
11046
11047 * electric.el (electric-pair-inhibit-predicate): Add :version.
11048
11049 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11052 when a package is required several times (bug#14082).
11053
11054 2013-04-04 Roland Winkler <winkler@gnu.org>
11055
11056 * faces.el (read-face-name): Behave as promised by the docstring.
11057 Assume that arg default is a list of faces.
11058 (describe-face): Call read-face-name with list of default faces.
11059
11060 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11061
11062 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11063 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11064 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11065 the header.
11066 (bookmark-exit-hook-internal): Save even if list is empty.
11067
11068 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11069
11070 * emacs-lisp/package.el (package-pinned-packages): New var.
11071 (package--add-to-archive-contents): Obey it (bug#14118).
11072
11073 2013-04-03 Alan Mackenzie <acm@muc.de>
11074
11075 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11076 Also adapt to the new values of element 7 of a parse state.
11077
11078 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11079 parameter `not-in-delimiter'. Handle being inside comment opener.
11080 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11081 character in case we're typing a '*' after a '/'.
11082 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11083 instead by passing the parameter to c-state-pp-to-literal.
11084
11085 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11086 for elt. 7 of a parse state.
11087
11088 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11089
11090 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11091 * international/latin1-disp.el, international/mule-util.el:
11092 * language/cyril-util.el, language/european.el, language/ind-util.el:
11093 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11094 * language/tibetan.el, language/viet-util.el:
11095 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11096
11097 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11100 (electric-pair-post-self-insert-function): Use it.
11101 (electric-pair-default-inhibit): New function, extracted from
11102 electric-pair-post-self-insert-function.
11103
11104 2013-03-31 Roland Winkler <winkler@gnu.org>
11105
11106 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11107
11108 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11111
11112 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11113
11114 Un-indent after "pass" and "return" statements (Bug#13888)
11115 * progmodes/python.el (python-indent-block-enders): New var.
11116 (python-indent-calculate-indentation): Use it.
11117
11118 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11119
11120 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11121 defun. Defining it as defalias could introduce too eager
11122 byte-compiler optimization. (Bug#14030)
11123
11124 2013-03-30 Chong Yidong <cyd@gnu.org>
11125
11126 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11127
11128 2013-03-30 Leo Liu <sdl.web@gmail.com>
11129
11130 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11131 (kmacro-execute-from-register): Pass the keyboard macro to
11132 kmacro-call-macro or repeating won't work correctly.
11133
11134 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11135
11136 * progmodes/subword.el: Back to using `forward-symbol'.
11137
11138 * subr.el (forward-whitespace, forward-symbol)
11139 (forward-same-syntax): Move from thingatpt.el.
11140
11141 2013-03-29 Leo Liu <sdl.web@gmail.com>
11142
11143 * kmacro.el (kmacro-to-register): New command.
11144 (kmacro-execute-from-register): New function.
11145 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11146
11147 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * mpc.el: Use defvar-local and setq-local.
11150 (mpc--proc-connect): Connection failures are not bugs.
11151 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11152 (mpc-volume-map): Bind to the up-events.
11153
11154 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11155
11156 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11157 instead of `forward-symbol'.
11158
11159 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11160
11161 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11162 (edebug--recursive-edit): Use it.
11163 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11164 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11165
11166 2013-03-28 Leo Liu <sdl.web@gmail.com>
11167
11168 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11169
11170 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11171
11172 * facemenu.el (list-colors-callback): New defvar.
11173 (list-colors-redisplay): New function.
11174 (list-colors-display): Install list-colors-redisplay as the
11175 revert-buffer-function. (Bug#14063)
11176
11177 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11180 and suffixes don't overlap (bug#14061).
11181
11182 * case-table.el: Use lexical-binding.
11183 (case-table-get-table): New function.
11184 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11185
11186 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11187
11188 * progmodes/subword.el: Add `superword-mode' to do word motion
11189 over symbol_words (parallels and leverages `subword-mode' which
11190 does word motion inside MixedCaseWords).
11191
11192 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11193
11194 * eshell/em-unix.el: Move su and sudo to...
11195 * eshell/em-tramp.el: ...Eshell tramp module.
11196
11197 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11200 Change return value to be a sexp. Delay `get-buffer' to after
11201 restoring the desktop (bug#13951).
11202
11203 2013-03-26 Leo Liu <sdl.web@gmail.com>
11204
11205 * register.el: Move semantic tag handling back to
11206 cedet/semantic/senator.el. (Bug#14052)
11207
11208 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11211 into the prompt either (bug#13963).
11212
11213 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11216 part of "(error-foo)".
11217
11218 2013-03-24 Juri Linkov <juri@jurta.org>
11219
11220 * replace.el (list-matching-lines-prefix-face): New defcustom.
11221 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11222 `occur-engine' if `face-differs-from-default-p' returns t.
11223 (occur-engine): Add `,' inside backquote construct to evaluate
11224 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11225 Pass `prefix-face' to the functions `occur-context-lines' and
11226 `occur-engine-add-prefix'.
11227 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11228 `prefix-face' and propertize the prefix with `prefix-face'.
11229 (Bug#14017)
11230
11231 2013-03-24 Leo Liu <sdl.web@gmail.com>
11232
11233 * nxml/rng-valid.el (rng-validate-while-idle)
11234 (rng-validate-quick-while-idle): Guard against deleted buffer.
11235 (Bug#13999)
11236
11237 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11238 is the last entry in kill-buffer-hook.
11239
11240 * files.el (kill-buffer-hook): Doc fix.
11241
11242 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11243
11244 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11245 Make it safe-local.
11246
11247 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11248
11249 2013-03-23 Leo Liu <sdl.web@gmail.com>
11250
11251 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11252 Remove.
11253
11254 * nxml/rng-valid.el (rng-validate-mode)
11255 (rng-after-change-function, rng-do-some-validation):
11256 * nxml/rng-maint.el (rng-validate-buffer):
11257 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11258 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11259 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11260 (nxml-extend-after-change-region): Use with-silent-modifications.
11261
11262 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11263 timer-idle-list.
11264
11265 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11266 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11267 timer-idle-list. (Bug#13999)
11268
11269 2013-03-23 Juri Linkov <juri@jurta.org>
11270
11271 * info.el (info-index-match): New face.
11272 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11273 main pattern and add text properties with the new face to matches
11274 in index entries relative to the beginning of the index entry.
11275 (Bug#14015)
11276
11277 2013-03-21 Eric Ludlam <zappo@gnu.org>
11278
11279 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11280 Inhibit read only while inserting objects.
11281
11282 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11283
11284 * progmodes/cfengine.el: Update docs to mention
11285 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11286 symbol motion. Remove "_" from the word syntax.
11287
11288 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11289
11290 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11291 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11292
11293 2013-03-20 Juri Linkov <juri@jurta.org>
11294
11295 * info.el (Info-next-reference-or-link)
11296 (Info-prev-reference-or-link): New functions.
11297 (Info-next-reference, Info-prev-reference): Use them.
11298 (Info-try-follow-nearest-node): Handle footnote navigation.
11299 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11300
11301 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11304 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11305
11306 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11307
11308 Suppress unnecessary non-ASCII chatter during build process.
11309 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11310 (batch-skkdic-convert): Suppress most of the chatter.
11311 It's not needed so much now that machines are faster,
11312 and its non-ASCII component was confusing; see Dmitry Gutov in
11313 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11314
11315 2013-03-20 Leo Liu <sdl.web@gmail.com>
11316
11317 * ido.el (ido-chop): Fix bug#10994.
11318
11319 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11320
11321 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11322 Remove vars.
11323 (whitespace-color-on, whitespace-color-off):
11324 Use `font-lock-fontify-buffer' (Bug#13817).
11325
11326 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11329 remapping in mode-line.
11330 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11331
11332 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11333
11334 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11335 value for `whitespace-line' face (Bug#13875).
11336 (whitespace-font-lock-keywords): Change description.
11337 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11338 the constructed keywords instead.
11339 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11340
11341 2013-03-19 Leo Liu <sdl.web@gmail.com>
11342
11343 * progmodes/compile.el (compilation-display-error): New command.
11344 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11345 C-o. (Bug#13992)
11346
11347 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11348
11349 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11350
11351 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11352
11353 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11354
11355 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11356
11357 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11358
11359 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11360 * net/tramp-gvfs.el (top):
11361 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11362 (tramp-handle-shell-command): Use it.
11363 (tramp-dissect-file-name): Raise an error when hostname is a
11364 method name, and neither method nor user is specified.
11365
11366 * net/trampver.el: Update release number.
11367
11368 2013-03-18 Leo Liu <sdl.web@gmail.com>
11369
11370 Make sure eldoc can be turned off properly.
11371 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11372 eldoc-mode.
11373 (eldoc-display-message-p): Revert last change.
11374 (eldoc-display-message-no-interference-p)
11375 (eldoc-print-current-symbol-info): Tweak.
11376
11377 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11378
11379 * doc-view.el (doc-view-new-window-function): Check the new window
11380 overlay's display property instead the char property of the
11381 buffer's first char. Use `with-selected-window' instead of
11382 `save-window-excursion' with `select-window'.
11383 (doc-view-document->bitmap): Check the current doc-view overlay's
11384 display property instead the char property of the buffer's first char.
11385
11386 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11387
11388 Automate the build of ja-dic.el (Bug#13984).
11389 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11390 from the input, rather than assume that it's been done for us by the
11391 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11392 the current date into a ja-dic.el comment, as that complicates
11393 regression testing.
11394
11395 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * whitespace.el: Fix double evaluation.
11398 (whitespace-space, whitespace-hspace, whitespace-tab)
11399 (whitespace-newline, whitespace-trailing, whitespace-line)
11400 (whitespace-space-before-tab, whitespace-indentation)
11401 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11402 obsolete defvars.
11403 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11404 (whitespace-color-on): Use a single font-lock-add-keywords call.
11405 Fix double-evaluation of face variables.
11406
11407 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11408
11409 * net/tramp-adb.el (tramp-adb-parse-device-names):
11410 Use `start-process' instead of `call-process'. Otherwise, the
11411 function might be blocked under MS Windows. (Bug#13299)
11412
11413 2013-03-17 Leo Liu <sdl.web@gmail.com>
11414
11415 Extend eldoc to display info in the mode-line. (Bug#13978)
11416 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11417 (eldoc-mode-line-string): New variable.
11418 (eldoc-minibuffer-message): New function.
11419 (eldoc-message-function): New variable.
11420 (eldoc-message): Use it.
11421 (eldoc-display-message-p)
11422 (eldoc-display-message-no-interference-p):
11423 Support eldoc-post-insert-mode.
11424
11425 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11426 (eval-expression): Run it.
11427
11428 2013-03-17 Roland Winkler <winkler@gnu.org>
11429
11430 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11431 strings in the list of return values.
11432
11433 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11434
11435 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11436 radix before checking for HMS forms.
11437
11438 2013-03-16 Leo Liu <sdl.web@gmail.com>
11439
11440 * progmodes/scheme.el: Add indentation and font-locking for λ.
11441 (Bug#13975)
11442
11443 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11444
11445 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11446 token before point (bug#13942).
11447
11448 2013-03-16 Leo Liu <sdl.web@gmail.com>
11449
11450 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11451
11452 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11453
11454 * startup.el (command-line-normalize-file-name): Fix handling of
11455 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11456 <xfq.free@gmail.com> in
11457 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11458
11459 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11460
11461 Sync with Tramp 2.2.7.
11462
11463 * net/trampver.el: Update release number.
11464
11465 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11466
11467 * doc-view.el: Fix bug#13887.
11468 (doc-view-insert-image): Don't modify overlay associated to
11469 non-live windows, and implement horizontal centering of image in
11470 case it's smaller than the window.
11471 (doc-view-new-window-function): Force redisplay of new windows on
11472 doc-view buffers.
11473
11474 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11475
11476 * saveplace.el (save-place-alist-to-file): Don't sort
11477 `save-place-alist', just pretty-print it (bug#13882).
11478
11479 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11480
11481 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11482 Check whether `default-file-name-coding-system' is bound.
11483 It isn't in XEmacs.
11484
11485 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11488 backquotes for `obsolete' (bug#13929).
11489
11490 * international/mule.el (find-auto-coding): Include file name in
11491 obsolescence warning (bug#13922).
11492
11493 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11494
11495 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11496 for CFEngine 3-specific indentation.
11497 (cfengine3-indent-line): Use it. Fix up category regex.
11498 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11499
11500 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * type-break.el (type-break-file-name):
11503 * textmodes/remember.el (remember-data-file):
11504 * strokes.el (strokes-file):
11505 * shadowfile.el (shadow-initialize):
11506 * saveplace.el (save-place-file):
11507 * ps-bdf.el (bdf-cache-file):
11508 * progmodes/idlwave.el (idlwave-config-directory):
11509 * net/quickurl.el (quickurl-url-file):
11510 * international/kkc.el (kkc-init-file-name):
11511 * ido.el (ido-save-directory-list-file):
11512 * emulation/viper.el (viper-custom-file-name):
11513 * emulation/vip.el (vip-startup-file):
11514 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11515 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11516
11517 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11518
11519 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11520 * language/thai-word.el: Switch to UTF-8.
11521
11522 See ChangeLog.16 for earlier changes.
11523
11524 ;; Local Variables:
11525 ;; coding: utf-8
11526 ;; End:
11527
11528 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11529
11530 This file is part of GNU Emacs.
11531
11532 GNU Emacs is free software: you can redistribute it and/or modify
11533 it under the terms of the GNU General Public License as published by
11534 the Free Software Foundation, either version 3 of the License, or
11535 (at your option) any later version.
11536
11537 GNU Emacs is distributed in the hope that it will be useful,
11538 but WITHOUT ANY WARRANTY; without even the implied warranty of
11539 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11540 GNU General Public License for more details.
11541
11542 You should have received a copy of the GNU General Public License
11543 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.