c81dbf2889a85b8048baf0841ee2dda16b4c0c1a
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-21 Chong Yidong <cyd@gnu.org>
2
3 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4 undefined. Thus, theme settings for undefined faces do not take
5 effect until the faces are defined with defface, the same as with
6 theme variables.
7
8 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9 (face-spec-reset-face): Don't assign extra properties in temacs.
10 (face-spec-recalc): Apply X resources too.
11
12 2013-12-21 Chong Yidong <cyd@gnu.org>
13
14 * faces.el (face-spec-set):
15 * cus-face.el (custom-theme-set-faces, custom-set-faces):
16 * custom.el (defface): Doc fixes (Bug#16203).
17
18 * indent.el (indent-rigidly-map): Add docstring, and move commands
19 into named functions.
20 (indent-rigidly-left, indent-rigidly-right)
21 (indent-rigidly-left-to-tab-stop)
22 (indent-rigidly-right-to-tab-stop): New functions. Decide on
23 indentation direction based on bidi direction, and accumulate
24 sequential commands in a single undo boundary.
25 (indent-rigidly--pop-undo): New utility function.
26
27 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
28
29 * faces.el (read-face-name): Require crm.el when using crm-separator.
30
31 2013-12-20 Daniel Colascione <dancol@dancol.org>
32
33 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
34 so that we don't reflow comments into the shebang line.
35
36 2013-12-20 Juri Linkov <juri@jurta.org>
37
38 * saveplace.el (save-place-to-alist): Add `dired-filename' as
39 a position when `dired-directory' is non-nil. Check integer
40 positions with `integerp'.
41 (toggle-save-place, save-places-to-alist): Add check for
42 `dired-directory'.
43 (save-place-find-file-hook): Check integer positions with
44 `integerp'.
45 (save-place-dired-hook): Use `dired-goto-file' when
46 `dired-filename' is found in the assoc list. Check integer
47 positions with `integerp'.
48 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
49
50 * dired.el (dired-initial-position-hook): Rename back from
51 `dired-initial-point-hook'.
52 (dired-initial-position): Rename `dired-initial-point-hook' to
53 `dired-initial-position-hook'.
54 (dired-file-name-at-point): Doc fix. (Bug#15329)
55
56 2013-12-20 Juri Linkov <juri@jurta.org>
57
58 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
59 (read-regexp-suggestions): New function.
60 (read-regexp): Use `read-regexp-defaults-function' to get default values.
61 Use `read-regexp-suggestions'. Add non-empty default to history
62 for empty input.
63 (occur-read-regexp-defaults-function): Remove function.
64 (occur-read-primary-args): Use `regexp-history-last' instead of
65 `occur-read-regexp-defaults-function'.
66
67 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
68 (hi-lock-line-face-buffer, hi-lock-face-buffer)
69 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
70 `hi-lock-read-regexp-defaults-function'. Doc fix.
71 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
72 with `find-tag-default-as-symbol-regexp'. Doc fix.
73 (hi-lock-read-regexp-defaults): Remove function.
74 (hi-lock-regexp-okay): Add check for null.
75
76 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
77 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
78
79 * subr.el (find-tag-default-as-symbol-regexp): New function.
80 (find-tag-default-as-regexp): Move symbol regexp formatting to
81 `find-tag-default-as-symbol-regexp'.
82
83 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
84
85 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
86 (Bug#14179)
87
88 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
89
90 * calendar/todo-mode.el: New implementation of item insertion
91 commands and key bindings.
92 (todo-key-prompt): New face.
93 (todo-insert-item): New command.
94 (todo-insert-item--parameters): New defconst, replacing defvar
95 todo-insertion-commands-args-genlist.
96 (todo-insert-item--param-key-alist): New defconst, replacing
97 defvar todo-insertion-commands-arg-key-list.
98 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
99 (todo-insert-item--argsleft, todo-insert-item--apply-args)
100 (todo-insert-item--next-param): New functions.
101 (todo-insert-item--args, todo-insert-item--argleft)
102 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
103 New variables.
104 (todo-key-bindings-t): Change binding of "i" from
105 todo-insertion-map to todo-insert-item.
106 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
107 (todo-insertion-command-name, todo-insertion-commands-names)
108 (todo-define-insertion-command, todo-insertion-commands)
109 (todo-insertion-key-bindings, todo-insertion-map): Remove.
110
111 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
112
113 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
114 (todo-toggle-item-highlighting): Use eval-and-compile instead of
115 eval-when-compile.
116 (todo-move-category): Allow choosing a non-existing todo file to
117 move the category to, and create that file.
118 (todo-default-priority): New user option.
119 (todo-set-item-priority): Use it.
120 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
121 (desktop-restore-file-buffer): Declare.
122 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
123 (todo-modes-set-2): Locally set desktop-save-buffer to
124 todo-desktop-save-buffer.
125 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
126 (auto-mode-alist): Add autoload cookie.
127
128 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
129
130 * emacs-lisp/subr-x.el: Renamed from helpers.el.
131 helpers.el was a poor choice of name.
132 (string-remove-prefix): New function.
133 (string-remove-suffix): New function.
134
135 2013-12-20 Martin Rudalics <rudalics@gmx.at>
136
137 Fix assignment for new window total sizes.
138 * window.el (window--pixel-to-size): Remove function.
139 (window--pixel-to-total-1, window--pixel-to-total):
140 Fix calculation of new total sizes.
141
142 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
143
144 * comint.el (comint-output-filter): Fix rear-nonsticky property
145 placement (Bug#16010).
146
147 2013-12-20 Chong Yidong <cyd@gnu.org>
148
149 * faces.el (read-color): Minor fix for completion function.
150
151 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
152
153 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
154 New option. (Bug#16182)
155 (ruby-smie--indent-to-stmt-p): Use it.
156 (ruby-smie-rules): Revert the logic in the handling of `when'.
157 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
158 (ruby-deep-arglist, ruby-deep-indent-paren)
159 (ruby-deep-indent-paren-style): Update docstrings to note that the
160 vars don't have any effect with SMIE.
161
162 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
163
164 * calc/calc.el (calc-enter, calc-pop): Use the variable
165 `calc-context-sensitive-enter'.
166
167 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
168
169 * net/shr.el (shr-insert): Protect against infloops in degenerate
170 tables.
171
172 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
173
174 * progmodes/octave.el (octave): Add link to manual and octave
175 homepage.
176 (octave-mode-menu): Link to octave-mode manual.
177
178 2013-12-20 Leo Liu <sdl.web@gmail.com>
179
180 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
181 insertion using skeleton-end-newline. (Bug#16138)
182
183 2013-12-20 Juri Linkov <juri@jurta.org>
184
185 * replace.el (occur-engine): Use `add-face-text-property'
186 to add the face property to matches and titles. (Bug#14645)
187
188 * hi-lock.el (hi-green): Use lighter color "light green" closer to
189 the palette of other hi-lock colors.
190 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
191
192 2013-12-19 Juri Linkov <juri@jurta.org>
193
194 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
195 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
196 (minibuffer-history-symbol): Move variable declaration closer to
197 its usage.
198
199 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
200 (Bug#14785)
201
202 2013-12-19 Juri Linkov <juri@jurta.org>
203
204 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
205 New function.
206 (log-edit-hook): Add it to :options. (Bug#16170)
207
208 2013-12-19 Juri Linkov <juri@jurta.org>
209
210 * simple.el (eval-expression-print-format): Don't check for
211 command names and the last command. Always display additional
212 formats of the integer result in the echo area, and insert them
213 to the current buffer only with a zero prefix arg.
214 Display character when char-displayable-p is non-nil.
215 (eval-expression): With a zero prefix arg, set `print-length' and
216 `print-level' to nil, and insert the integer values from
217 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
218
219 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
220 `eval-last-sexp-arg-internal'. Doc fix.
221 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
222 `eval-last-sexp-print-value'. Doc fix.
223 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
224 Set `print-length' and `print-level' to nil when arg is zero.
225 (eval-last-sexp): Doc fix.
226 (eval-defun-2): Print the integer values from
227 `eval-expression-print-format' at the end.
228
229 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
230 values from `eval-expression-print-format' at the end.
231
232 * ielm.el (ielm-eval-input): Print the integer
233 values from `eval-expression-print-format' at the end.
234
235 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
236
237 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
238 2013-12-11T19:01:44Z!tzz@lifelogs.com.
239
240 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
243 (hl-line-highlight, global-hl-line-highlight): Use it.
244 (hl-line-overlay): Use defvar-local.
245
246 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
247
248 * term/ns-win.el: Require dnd.
249 (global-map): Remove drag items.
250 (ns-insert-text, ns-set-foreground-at-mouse)
251 (ns-set-background-at-mouse):
252 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
253 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
254 New functions.
255
256 2013-12-19 Glenn Morris <rgm@gnu.org>
257
258 * emacs-lisp/ert.el (ert-select-tests):
259 Fix string/symbol mixup. (Bug#16121)
260
261 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
262
263 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
264 keywords to their parent.
265
266 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
267
268 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
269 first arg to be a string (fixed dead code), or an operator symbol.
270 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
271 operator symbols.
272 (ruby-smie-rules): Remove parent token check in the `.' clause, it
273 did nothing. Don't respond to `(:after ".")', it will be called
274 with :before anyway. Remove the ` @ ' rule, it didn't seem to
275 change anything. Only return indentation for binary operators
276 when they are hanging. De-dent opening paren when its parent is
277 `.', otherwise it looks bad when the dot is not at bol or eol
278 (bug#16182).
279
280 2013-12-19 Juri Linkov <juri@jurta.org>
281
282 * replace.el (query-replace-read-args): Split a non-negative arg
283 and a negative arg into separate elements.
284 (query-replace, query-replace-regexp, replace-string)
285 (replace-regexp): Add arg `backward'. Doc fix.
286 (replace-match-maybe-edit): When new arg `backward' is non-nil,
287 move point to the beginning of the match.
288 (replace-search, replace-highlight): Use new arg `backward'
289 to set the value of `isearch-forward'.
290 (perform-replace): Add arg `backward' and use it to perform
291 replacement backward. (Bug#14979)
292
293 * isearch.el (isearch-query-replace): Use a negative prefix arg
294 to call `perform-replace' with a non-nil arg `backward'.
295
296 2013-12-18 Juri Linkov <juri@jurta.org>
297
298 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
299 to the default list. Move `log-edit-show-files' to the end.
300 Add more available functions to options.
301 (log-edit): Move default specific settings to
302 `log-edit-insert-message-template'. Don't move point.
303 (log-edit-insert-message-template): New function.
304 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
305 (Bug#16170)
306
307 2013-12-18 Juri Linkov <juri@jurta.org>
308
309 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
310 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
311
312 2013-12-18 Leo Liu <sdl.web@gmail.com>
313
314 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
315
316 2013-12-18 Eli Zaretskii <eliz@gnu.org>
317
318 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
319 formats for displaying file sizes when the -s switch is given.
320 Instead, compute a separate format for displaying the size in
321 blocks, which is displayed in addition to the "regular" size.
322 When -h is given in addition to -s, produce size in blocks in
323 human-readable form as well. (Bug#16179)
324
325 2013-12-18 Tassilo Horn <tsdh@gnu.org>
326
327 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
328 Reference tables with ~\ref{...} instead of only \ref{...}.
329
330 2013-12-18 Chong Yidong <cyd@gnu.org>
331
332 * cus-edit.el (custom-magic-alist): Fix "themed" description
333 (Bug#14348).
334
335 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
336 is non-nil, do not create a new entry in the symbol's theme-value
337 or theme-face property; update theme-settings only (Bug#14664).
338 (custom-available-themes): Doc fix.
339
340 * cus-theme.el (custom-new-theme-mode-map): Add bindings
341 (Bug#15674).
342
343 * replace.el (occur-engine): Avoid infloop (Bug#7593).
344
345 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
346
347 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
348 (Bug#13914).
349
350 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
351
352 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
353
354 2013-12-18 Glenn Morris <rgm@gnu.org>
355
356 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
357 * cus-start.el (load-prefer-newer): New option.
358
359 2013-12-18 Le Wang <l26wang@gmail.com>
360
361 * comint.el (comint-previous-matching-input-from-input):
362 Retain point (Bug#13404).
363
364 2013-12-18 Chong Yidong <cyd@gnu.org>
365
366 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
367
368 2013-12-18 Glenn Morris <rgm@gnu.org>
369
370 * mail/emacsbug.el (report-emacs-bug):
371 Only mention enable-multibyte-characters if non-standard.
372
373 2013-12-17 Juri Linkov <juri@jurta.org>
374
375 * arc-mode.el (archive-extract-by-file): Check if directory exists
376 before deletion to not show irrelevant errors if it doesn't exist.
377
378 2013-12-17 Juri Linkov <juri@jurta.org>
379
380 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
381 (Bug#14751)
382
383 * net/eww.el (browse-web): Add alias to `eww'.
384 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
385 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
386
387 * net/browse-url.el (browse-url-browser-function): Move `eww'
388 closer to similar functions.
389
390 * startup.el (fancy-startup-screen, fancy-about-screen):
391 Set browse-url-browser-function to eww-browse-url locally.
392 (Bug#14751)
393
394 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * window.el (window--pixel-to-total): Remove unused `mini' var.
397 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
398 (split-window): Remove unused `new' var.
399 (window--display-buffer): Remove unused `frame' and `delta' vars.
400 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
401 and display-width'.
402
403 2013-12-17 Martin Rudalics <rudalics@gmx.at>
404
405 * dired.el (dired-mark-pop-up):
406 * register.el (register-preview): Don't bind
407 split-height-threshold here since it's now done in
408 display-buffer-below-selected.
409
410 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
411
412 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
413 xterm-rgb-convert-to-16bit.
414 (rxvt-register-default-colors): Standardize with
415 xterm-register-default-colors (Bug#14078).
416
417 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
418
419 * simple.el (kill-region): Pass mark first, then point, so that
420 kill-append works right (Bug#12819).
421 (copy-region-as-kill, kill-ring-save): Likewise.
422
423 2013-12-17 Leo Liu <sdl.web@gmail.com>
424
425 * net/rcirc.el (rcirc-add-face):
426 * eshell/em-prompt.el (eshell-emit-prompt):
427 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
428 (Bug#16167)
429
430 2013-12-17 Chong Yidong <cyd@gnu.org>
431
432 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
433 Suggested by Xue Fuqiao.
434
435 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
436
437 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
438
439 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * net/shr.el (shr-insert-document): Remove unused var
442 `shr-preliminary-table-render'.
443 (shr-rescale-image): Remove unused arg `force'.
444 (shr-put-image): Update calls accordingly.
445 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
446
447 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
448
449 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
450 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
451 :close-all, to see which indentation method to use (Bug#16116).
452 (smie-rules-function): Document the method :close-all.
453
454 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
455
456 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
457
458 * net/eww.el (eww-display-html): If we can't find the anchor we're
459 looking for, then go to point-min.
460
461 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
462
463 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
464 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
465 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
466 Expand dir too, in case it's relative.
467
468 2013-12-16 Juri Linkov <juri@jurta.org>
469
470 * desktop.el (desktop-auto-save-timeout): Change default to
471 `auto-save-timeout'. Doc fix.
472 (desktop-save): Skip the timestamp in desktop-saved-frameset
473 when checking for auto-save changes.
474 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
475 `desktop-auto-save' is called repeatedly by the idle timer.
476 (desktop-auto-save-set-timer): Replace `run-with-timer' with
477 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
478 (Bug#15331)
479
480 2013-12-16 Juri Linkov <juri@jurta.org>
481
482 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
483 (Bug#16035)
484 (isearch-pre-command-hook): Check `this-command' for symbolp.
485
486 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
489
490 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
491
492 * progmodes/cfengine.el (cfengine3--current-word): Remove.
493 (cfengine3--current-function): Bring in the current-function
494 functionality from `cfengine3--current-word'.
495 (cfengine3-completion-function): Bring in the
496 bounds-of-current-word functionality from
497 `cfengine3--current-word'.
498
499 2013-12-16 Martin Rudalics <rudalics@gmx.at>
500
501 * window.el (display-buffer-below-selected):
502 Bind split-height-threshold to 0 as suggested by Juri Linkov.
503
504 2013-12-16 Leo Liu <sdl.web@gmail.com>
505
506 * progmodes/compile.el (compile-goto-error): Do not push-mark.
507 Remove NOMSG arg and all uses changed.
508
509 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
512 (cua--deactivate-rectangle): Don't deactivate the mark.
513 (cua-set-rectangle-mark): Don't set mark-active since
514 cua--activate-rectangle already does it for us.
515 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
516 non-rectangular region.
517
518 * emulation/cua-base.el (cua-repeat-replace-region):
519 Use with-current-buffer.
520
521 * net/gnutls.el: Use cl-lib.
522 (gnutls-negotiate): `mapcan' -> cl-mapcan.
523
524 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
525
526 * emacs-lisp/package.el (package-built-in-p): Support both
527 built-in and the package.el converted package descriptions.
528 (package-show-package-list): Allow keywords.
529 (package-keyword-button-action): Use it instead of
530 `finder-list-matches'.
531 (package-menu-filter-interactive): Interactive filtering (by
532 keyword) function.
533 (package-menu--generate): Support keywords and change keymappings
534 and headers when they are given.
535 (package--has-keyword-p): Helper function.
536 (package-menu--refresh): Use it.
537 (package--mapc): Helper function.
538 (package-all-keywords): Use it.
539 (package-menu-mode-map): Set up menu items and keybindings to
540 provide a filtering UI.
541
542 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
543
544 * net/gnutls.el (gnutls-verify-error): New defcustom to control
545 the behavior when a certificate fails validation. Defaults to
546 old behavior: never abort, just warn.
547 (gnutls-negotiate): Use it.
548
549 2013-12-14 Martin Rudalics <rudalics@gmx.at>
550
551 * window.el (display-buffer-below-selected): Never split window
552 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
553
554 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
555
556 * emacs-lisp/package.el (package--prepare-dependencies): New function.
557 (package-buffer-info): Use it (bug#15108).
558
559 * icomplete.el (icomplete-completions): Make sure the prefix is already
560 displayed elsewhere before hiding it.
561
562 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
563
564 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
565 open-paren tokens when preceded by a open-paren, too.
566 (ruby-smie-rules): Handle virtual indentation after open-paren
567 tokens specially. If there is code between it and eol, return the
568 column where is starts (Bug#16118).
569
570 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
571
572 * progmodes/cfengine.el: Fix `add-hook' doc.
573 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
574 (cfengine3--current-word): Fix parameters.
575 (cfengine3-make-syntax-cache): Simplify further.
576 (cfengine3-completion-function, cfengine3--current-function):
577 Use `assq' for symbols.
578 (cfengine3--current-function): Fix `cfengine3--current-word' call.
579
580 2013-12-13 Glenn Morris <rgm@gnu.org>
581
582 * loadup.el (load-path): Warn if site-load or site-init changes it.
583 No more need to reset it when bootstrapping.
584
585 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
586
587 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
588 locations for cf-promises.
589 (cfengine-mode-syntax-functions-regex): New caching variable.
590 (cfengine3-fallback-syntax): Fallback syntax for cases where
591 cf-promises doesn't run.
592 (cfengine3--current-word): Reimplement using
593 `cfengine-mode-syntax-functions-regex'.
594 (cfengine3-completion-function, cfengine3--current-function):
595 Use `cfengine3-make-syntax-cache' directly.
596 (cfengine3-clear-syntax-cache): New function.
597 (cfengine3-make-syntax-cache): Simplify and create
598 `cfengine-mode-syntax-functions-regex' on demand.
599 (cfengine3-format-function-docstring): Don't call
600 `cfengine3-make-syntax-cache' explicitly.
601
602 2013-12-13 Martin Rudalics <rudalics@gmx.at>
603
604 Fix windmove-find-other-window broken after pixelwise resizing
605 (Bug#16017).
606 * windmove.el (windmove-other-window-loc): Revert change from
607 2013-12-04.
608 (windmove-find-other-window): Call window-in-direction.
609 * window.el (window-in-direction): New arguments SIGN, WRAP and
610 MINI to emulate original windmove-find-other-window behavior.
611
612 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
613
614 * simple.el (blink-matching--overlay): New variable.
615 (blink-matching-open): Instead of moving point, highlight the
616 matching paren with an overlay
617 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
618
619 * faces.el (paren-showing-faces, show-paren-match)
620 (show-paren-mismatch): Move from paren.el.
621
622 2013-12-13 Leo Liu <sdl.web@gmail.com>
623
624 * indent.el (indent-region): Disable progress reporter in
625 minibuffer. (Bug#16108)
626
627 * bindings.el (visual-order-cursor-movement): Fix version.
628
629 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
630
631 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
632 Also match after beginning of line.
633 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
634 files. Thanks to Russell Sim. (Bug#15378)
635
636 2013-12-13 Juri Linkov <juri@jurta.org>
637
638 * simple.el <Keypad support>: Remove key bindings duplicated
639 with bindings.el. (Bug#14397)
640
641 2013-12-13 Juri Linkov <juri@jurta.org>
642
643 * comint.el (comint-mode-map): Replace `delete-char' with
644 `delete-forward-char'. (Bug#16109)
645
646 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
647
648 * progmodes/python.el (python-indent-calculate-indentation):
649 Fix de-denters cornercase. (Bug#15731)
650
651 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
654 (advice--make): Pay attention to `depth'.
655 (advice--make-1): Don't autoload commands eagerly.
656 * emacs-lisp/elp.el (elp-instrument-function):
657 * emacs-lisp/trace.el (trace-function-internal):
658 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
659
660 * iswitchb.el (iswitchb-mode): Don't belittle ido.
661
662 2013-12-12 Eli Zaretskii <eliz@gnu.org>
663
664 * term/w32-win.el (w32-handle-dropped-file):
665 * startup.el (normal-top-level):
666 * net/browse-url.el (browse-url-file-url):
667 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
668 decode file names using 'utf-8' rather than
669 file-name-coding-system.
670
671 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
672
673 * progmodes/python.el (python-indent-context)
674 (python-indent-calculate-indentation): Fix auto-identation
675 behavior for comment blocks. (Bug#15916)
676
677 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
678
679 * progmodes/python.el (python-indent-calculate-indentation):
680 When determining indentation, don't treat "return", "pass", etc., as
681 operators when they are just string constituents. (Bug#15812)
682
683 2013-12-12 Juri Linkov <juri@jurta.org>
684
685 * uniquify.el (uniquify-buffer-name-style): Change default to
686 `post-forward-angle-brackets'.
687
688 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
689 `uniquify'. Change default to `post-forward-angle-brackets'.
690
691 2013-12-11 Glenn Morris <rgm@gnu.org>
692
693 * emacs-lisp/package.el (finder-list-matches):
694 Autoload rather than falsely declaring.
695
696 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
697
698 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
699 (eww-mode-map): Use them.
700
701 2013-12-11 Martin Rudalics <rudalics@gmx.at>
702
703 * window.el (display-buffer-in-side-window): Fix doc-string
704 (Bug#16115).
705
706 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
707
708 * vc/vc-git.el: Silence byte-compiler warnings.
709 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
710 (log-edit-set-header): Declare.
711
712 2013-12-11 Eli Zaretskii <eliz@gnu.org>
713
714 * Makefile.in (custom-deps, finder-data): Run output file names
715 through unmsys--file-name. (Bug#16099)
716
717 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
720 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
721
722 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
723 instead of deleting the selection "by hand" (bug#16098).
724 Rely on insert-for-yank to yank rectangles.
725 (cua-highlight-region-shift-only): Mark obsolete.
726 (cua-mode): Don't enable/disable transient-mark-mode,
727 shift-select-mode (cua-mode works both with and without them), and
728 pc-selection-mode (obsolete).
729 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
730 (cua--deactivate-rectangle): Deactivate it.
731
732 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
733 (delete-selection-helper): Make sure yank starts at the top of the
734 deleted region.
735 (minibuffer-keyboard-quit): Use region-active-p.
736
737 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
738
739 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
740 to `delete' (bug#16109).
741
742 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
743
744 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
745 info manual and show keybindings and set `:group' keyword.
746
747 2013-12-11 Juri Linkov <juri@jurta.org>
748
749 * delsel.el (delete-active-region): Let-bind `this-command'
750 to prevent `kill-region' from changing its original value.
751 (delete-selection-helper): Handle `overwrite-mode' for the type
752 `kill' exactly the same way as for the type `t'.
753 (insert-char, quoted-insert, reindent-then-newline-and-indent):
754 Support more commands. (Bug#13312)
755
756 2013-12-11 Juri Linkov <juri@jurta.org>
757
758 * bindings.el: Map kp keys to non-kp keys systematically
759 with basic modifiers control, meta and shift. (Bug#14397)
760
761 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
762
763 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
764 "Close browser" menu items. Fix wrong function of "List
765 bookmarks".
766
767 2013-12-11 Juri Linkov <juri@jurta.org>
768
769 * misearch.el (multi-isearch-buffers): Set the value of
770 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
771 arg of isearch-forward to t.
772 (multi-isearch-buffers-regexp): Set the value of
773 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
774 arg of isearch-forward-regexp to t.
775 (multi-isearch-files): Set the value of
776 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
777 arg of isearch-forward to t.
778 (multi-isearch-files-regexp): Set the value of
779 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
780 arg of isearch-forward-regexp to t. (Bug#16035)
781
782 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
783 arg of isearch-forward to t.
784 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
785 arg of isearch-forward-regexp to t.
786 (dired-isearch-filter-filenames): Remove unnecessary check for
787 `dired-isearch-filenames'.
788
789 * comint.el (comint-history-isearch-backward):
790 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
791 (comint-history-isearch-backward-regexp):
792 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
793
794 2013-12-10 Eli Zaretskii <eliz@gnu.org>
795
796 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
797 unmsys--file-name. (Bug#16099)
798
799 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
800
801 * emacs-lisp/package.el (package-keyword-button-action):
802 Remove finder.el require dependency.
803
804 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
805
806 * emacs-lisp/package.el: Require finder.el.
807 (describe-package-1): Add keyword buttons.
808 (package-make-button): New convenience function.
809 (package-keyword-button-action): Keyword button action using
810 `finder-list-matches'.
811
812 2013-12-09 Eli Zaretskii <eliz@gnu.org>
813
814 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
815 last commit.
816
817 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
818
819 * autorevert.el (auto-revert-notify-add-watch): Do not handle
820 symlinked files.
821
822 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
823
824 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
825 after the end of a percent literal.
826
827 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
828
829 * progmodes/ruby-mode.el (ruby-forward-string): Document.
830 Handle caret-delimited strings (Bug#16079).
831
832 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
833
834 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
835 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
836 `ruby-parse-partial' (Bug#16078).
837
838 2013-12-09 Leo Liu <sdl.web@gmail.com>
839
840 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
841
842 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
843
844 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
845 (js-switch-indent-offset): New option.
846 (js--proper-indentation): Use it. And handle the case when
847 "default" is actually a key in an object literal.
848 (js--same-line): New function.
849 (js--multi-line-declaration-indentation): Use it.
850 (js--indent-in-array-comp, js--array-comp-indentation):
851 New functions.
852 (js--proper-indentation): Use them, to handle array comprehension
853 continuations.
854
855 2013-12-08 Leo Liu <sdl.web@gmail.com>
856
857 * progmodes/flymake.el (flymake-highlight-line): Re-write.
858 (flymake-make-overlay): Remove arg MOUSE-FACE.
859 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
860
861 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
864 New function.
865 (redisplay-highlight-region-function): Use it.
866
867 * emulation/cua-base.el (cua--explicit-region-start)
868 (cua--last-region-shifted): Remove.
869 (cua--deactivate): Use deactivate-mark.
870 (cua--pre-command-handler-1): Don't handle shift-selection.
871 (cua--post-command-handler-1): Don't change transient-mark-mode.
872 (cua--select-keymaps): Use region-active-p rather than
873 cua--explicit-region-start or cua--last-region-shifted.
874 (cua-mode): Enable shift-select-mode.
875
876 2013-12-08 Leo Liu <sdl.web@gmail.com>
877
878 * progmodes/flymake.el (flymake-popup-current-error-menu):
879 Rename from flymake-display-err-menu-for-current-line. Reimplement.
880 (flymake-posn-at-point-as-event, flymake-popup-menu)
881 (flymake-make-emacs-menu): Remove. (Bug#16077)
882
883 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * rect.el (rectangle-mark-mode): Activate mark even if
886 transient-mark-mode is off (bug#16066).
887 (rectangle--highlight-for-redisplay): Fix boundary condition when point
888 is > mark and at bolp.
889
890 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
891 (region-extract-function): Use it.
892 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
893 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
894 Delete functions.
895 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
896 kill-ring-save, kill-region, delete-char, delete-forward-char.
897 Ignore self-insert-iso.
898
899 * emulation/cua-gmrk.el (cua--init-global-mark):
900 Ignore `self-insert-iso'.
901
902 * emulation/cua-base.el (cua--prefix-copy-handler)
903 (cua--prefix-cut-handler): Rely on region-extract-function rather than
904 checking cua--rectangle.
905 (cua-delete-region): Use region-extract-function.
906 (cua-replace-region): Delete function.
907 (cua-copy-region, cua-cut-region): Obey region-extract-function.
908 (cua--pre-command-handler-1): Don't do the delete-selection thing.
909 (cua--self-insert-char-p): Ignore `self-insert-iso'.
910 (cua--init-keymaps): Don't remap delete-selection commands.
911 (cua-mode): Use delete-selection-mode instead of rolling our own
912 (bug#16085).
913
914 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
915 Obey region-extract-function.
916
917 Make registers and delete-selection-mode work on rectangles.
918 * register.el (describe-register-1): Don't modify the register's value.
919 (copy-to-register): Obey region-extract-function.
920 * delsel.el (delete-active-region): Obey region-extract-function.
921
922 2013-12-08 Leo Liu <sdl.web@gmail.com>
923
924 * progmodes/flymake.el (flymake, flymake-error-bitmap)
925 (flymake-warning-bitmap, flymake-fringe-indicator-position)
926 (flymake-compilation-prevents-syntax-check)
927 (flymake-start-syntax-check-on-newline)
928 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
929 (flymake-start-syntax-check-on-find-file, flymake-log-level)
930 (flymake-xml-program, flymake-master-file-dirs)
931 (flymake-master-file-count-limit)
932 (flymake-allowed-file-name-masks): Relocate.
933 (flymake-makehash, flymake-float-time)
934 (flymake-replace-regexp-in-string, flymake-split-string)
935 (flymake-get-temp-dir): Remove.
936 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
937 (flymake-current-row, flymake-selected-frame)
938 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
939 related functions. (Bug#16077)
940
941 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
942
943 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
944
945 2013-12-07 Tassilo Horn <tsdh@gnu.org>
946
947 * help-fns.el (describe-function-1): Use new advice-* functions
948 rather than old ad-* functions. Fix function type description and
949 source links for advised functions and subrs.
950
951 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
952
953 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
954
955 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
956
957 * progmodes/compile.el (compilation-start):
958 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
959
960 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
961 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
962
963 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
964
965 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
966 Touch up the last change.
967
968 2013-12-06 Leo Liu <sdl.web@gmail.com>
969
970 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
971 (inferior-octave-startup): Always use "octave> " for prompt.
972 (octave-goto-function-definition)
973 (octave-sync-function-file-names)
974 (octave-find-definition-default-filename): Remove redundant backquotes.
975
976 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
977
978 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
979 syntax for `?'.
980 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
981 where appropriate already.
982 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
983 end of method names (Bug#15874).
984
985 2013-12-06 Juri Linkov <juri@jurta.org>
986
987 * isearch.el (isearch--saved-overriding-local-map):
988 New internal variable.
989 (isearch-mode): Set it to the initial value of
990 `overriding-terminal-local-map'.
991 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
992 with `isearch--saved-overriding-local-map'. (Bug#16035)
993
994 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
995
996 * progmodes/octave.el (inferior-octave-completion-table):
997 Turn back into function, use `completion-table-with-cache'
998 (Bug#11906). Update all references.
999
1000 * minibuffer.el (completion-table-with-cache): New function.
1001
1002 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1003
1004 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1005
1006 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1007
1008 * net/eww.el (eww-current-source): New variable to store page
1009 source.
1010 (eww-display-html, eww-mode, eww-save-history)
1011 (eww-restore-history): Use it.
1012 (eww-view-source): New command to view page source.
1013 Opportunistically uses `html-mode' to highlight the buffer.
1014 (eww-mode-map): Install it.
1015
1016 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * net/dbus.el (dbus-unregister-service)
1019 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1020 Fix docstring.
1021 (dbus-unregister-service): Skip :serial entries in
1022 `dbus-registered-objects-table'.
1023 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1024
1025 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1026
1027 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1028 around keywords with extra `split-string' argument.
1029
1030 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1031
1032 * windmove.el (windmove-other-window-loc): Handle navigation
1033 between windows (excluding the minibuffer window - Bug#16017).
1034
1035 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1038 in D-Bus type syntax.
1039 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1040 preserve unibyte strings. (Bug#16048)
1041
1042 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1045 Call force-mode-line-update is the proper buffer (bug#16042).
1046
1047 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1048
1049 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1050 `log-edit-remember-comment', make argument optional. Adjust all
1051 callers.
1052 (log-edit-mode): Add `log-edit-remember-comment' to
1053 `kill-buffer-hook' locally.
1054 (log-edit-kill-buffer): Don't remember comment explicitly since
1055 the buffer is killed anyway.
1056
1057 2013-12-04 Juri Linkov <juri@jurta.org>
1058
1059 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1060 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1061
1062 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1063
1064 * notifications.el (notifications-close-notification): Call the
1065 D-Bus method with ID being a `:uint32'. (Bug#16030)
1066
1067 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1068
1069 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1070
1071 2013-12-03 Juri Linkov <juri@jurta.org>
1072
1073 * progmodes/compile.el (compilation-start): Rename window alist
1074 entry `no-display-ok' to `allow-no-window'.
1075
1076 * simple.el (shell-command): Add window alist entry
1077 `allow-no-window' to `display-buffer'.
1078 (async-shell-command): Doc fix.
1079
1080 * window.el (display-buffer-no-window): New action function.
1081 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1082
1083 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1084
1085 * vc/log-edit.el (log-edit-set-header): Extract from
1086 `log-edit-toggle-header'.
1087 (log-edit-extract-headers): Separate the summary, when extracted
1088 from header, from the rest of the message with an empty line.
1089
1090 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1091 line, if present, to the Summary header.
1092
1093 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1096 in current-buffer (bug#16029).
1097
1098 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1099
1100 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1101 (debugger-mode-map): Bind it.
1102 (debugger--backtrace-base): New function.
1103 (debugger-eval-expression): Use it.
1104 (debugger-frame-number): Skip local vars when present.
1105 (debugger--locals-visible-p, debugger--insert-locals)
1106 (debugger--show-locals, debugger--hide-locals): New functions.
1107
1108 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1111 "LC_ALL".
1112 (tramp-get-remote-locale): New defun.
1113 (tramp-open-connection-setup-interactive-shell): Use it.
1114
1115 2013-12-02 Leo Liu <sdl.web@gmail.com>
1116
1117 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1118
1119 * progmodes/sh-script.el (sh-shell-process):
1120 * progmodes/octave.el (inferior-octave-process-live-p):
1121 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1122 (gdb-inferior-io-sentinel):
1123 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1124
1125 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1126
1127 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1128 `save-selected-window' to `log-edit-hide-buf'. This makes
1129 `log-edit-show-files' idempotent.
1130 (log-edit-show-files): Mark the new window as dedicated.
1131
1132 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1133
1134 * vc/log-edit.el (log-edit-mode-map): Add binding for
1135 `log-edit-kill-biffer'.
1136 (log-edit-hide-buf): Add a FIXME comment.
1137 (log-edit-add-new-comment): New function, extracted from
1138 `log-edit-done'.
1139 (log-edit-done, log-edit-add-to-changelog): Use it.
1140 (log-edit-kill-buffer): New command.
1141
1142 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1143
1144 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1145 instead of killing the buffer.
1146
1147 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1150
1151 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1152
1153 * net/eww.el (eww-form-checkbox-selected-symbol)
1154 (eww-form-checkbox-symbol): New customizable variable.
1155 (eww-form-checkbox, eww-toggle-checkbox):
1156 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1157
1158 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1159 (shr--get-media-pref, shr--extract-best-source): New function.
1160 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1161 no :src tag was specified.
1162
1163 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1164 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1165 Use \\` to match beginning of string instead of ^.
1166 (eww-browse-with-external-browser): Provide optional URL parameter.
1167 (eww-render): Set `eww-current-title' back to "".
1168
1169 * net/shr.el (shr-tag-video): Display content for video if no
1170 poster is available.
1171 (shr-tag-audio): Add support for <audio> tag.
1172
1173 * net/eww.el (eww-text-input-types): New const.
1174 (eww-process-text-input): Treat input types in
1175 `eww-text-input-types' as text.
1176
1177 * net/shr.el (shr-tag-table): Fix comment typo.
1178
1179 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1180
1181 * net/eww.el (eww-follow-link): New command to avoid reloading
1182 pages when we follow #target links (bug#15243).
1183 (eww-quit): Special mode buffers shouldn't query before exiting.
1184
1185 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1186
1187 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1188 forms.
1189
1190 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1191
1192 * net/eww.el (eww-restore-history): Update the window title after
1193 moving in the history.
1194 (eww-current-dom): New variable used to save the current DOM.
1195
1196 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1197
1198 * vc/log-edit.el (log-edit-mode-map): Add binding for
1199 `log-edit-beginning-of-line'.
1200 (log-edit-setup-add-author): New user option.
1201 (log-edit-beginning-of-line): New command.
1202 (log-edit): Move major mode call above the contents setup so that
1203 the local variable values are already applied.
1204 (log-edit): Only insert "Author: " when
1205 `log-edit-setup-add-author' is non-nil.
1206 (log-edit): When SETUP is non-nil, position point after ": "
1207 instead of point-min.
1208
1209 2013-12-01 Glenn Morris <rgm@gnu.org>
1210
1211 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1212
1213 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1214
1215 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1216 redisplay to make sure the initial frame gets a chance to become
1217 visible. (Bug#16014)
1218
1219 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1220
1221 Support resizing frames and windows pixelwise.
1222 * cus-start.el (frame-resize-pixelwise)
1223 (window-resize-pixelwise): New entries.
1224 * emacs-lisp/debug.el (debug): Use window-total-height instead
1225 of window-total-size.
1226 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1227 * help.el (describe-bindings-internal): Call help-buffer
1228 (temp-buffer-max-width): New option.
1229 (resize-temp-buffer-window, help-window-setup)
1230 (with-help-window): Rewrite.
1231 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1232 dragging dividers.
1233 * window.el (frame-char-size, window-min-pixel-height)
1234 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1235 (window-min-pixel-width, window-safe-min-pixel-size)
1236 (window-combination-p, window-safe-min-size)
1237 (window-resizable-p, window--size-to-pixel)
1238 (window--pixel-to-size, window--resize-apply-p): New functions.
1239 (window-safe-min-height): Fix doc-string.
1240 (window-size, window-min-size, window--min-size-1)
1241 (window-sizable, window-sizable-p, window--min-delta-1)
1242 (window-min-delta, window--max-delta-1, window-max-delta)
1243 (window--resizable, window--resizable-p, window-resizable)
1244 (window-full-height-p, window-full-width-p, window-at-side-p)
1245 (window--in-direction-2, window-in-direction)
1246 (window--resize-reset-1, window--resize-mini-window)
1247 (window-resize, window-resize-no-error)
1248 (window--resize-child-windows-normal)
1249 (window--resize-child-windows, window--resize-siblings)
1250 (window--resize-this-window, window--resize-root-window)
1251 (window--resize-root-window-vertically)
1252 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1253 (maximize-window, minimize-window, delete-window)
1254 (quit-restore-window, window-split-min-size, split-window)
1255 (balance-windows-2, balance-windows)
1256 (balance-windows-area-adjust, balance-windows-area)
1257 (window--state-get-1, window-state-get, window--state-put-1)
1258 (window--state-put-2, window-state-put)
1259 (display-buffer-record-window, window--display-buffer):
1260 Make functions handle pixelwise sizing of windows.
1261 (display-buffer--action-function-custom-type)
1262 (display-buffer-fallback-action):
1263 Add display-buffer-in-previous-window.
1264 (display-buffer-use-some-window): Resize window to height it had
1265 before.
1266 (fit-window-to-buffer-horizontally): New option.
1267 (fit-frame-to-buffer): Describe new values.
1268 (fit-frame-to-buffer-bottom-margin): Replace with
1269 fit-frame-to-buffer-margins.
1270 (window--sanitize-margin): New function.
1271 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1272 using window-text-pixel-size.
1273
1274 2013-11-30 Glenn Morris <rgm@gnu.org>
1275
1276 * emacs-lisp/bytecomp.el (byte-compile-form):
1277 Make the `interactive-only' warning like the `obsolete' one.
1278 * comint.el (comint-run):
1279 * files.el (insert-file-literally, insert-file):
1280 * replace.el (replace-string, replace-regexp):
1281 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1282 (goto-line, insert-buffer, next-line, previous-line):
1283 Tweak `interactive-only' spec.
1284
1285 Stop keeping (most) generated cedet grammar files in the repository.
1286 * Makefile.in (semantic): New.
1287 (compile-main): Depend on semantic.
1288
1289 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1292 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1293
1294 * uniquify.el (uniquify-buffer-name-style): Change default.
1295
1296 * loadup.el: Preload "uniquify".
1297
1298 * time.el (display-time-update): Update all mode lines (bug#15999).
1299
1300 * electric.el (electric-indent-mode): Enable by default.
1301 * loadup.el: Preload "electric".
1302
1303 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1304
1305 * emacs-lisp/helpers.el (string-empty-p): New function.
1306 (string-blank-p): New function.
1307
1308 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1309
1310 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1311 (Bug#14029).
1312
1313 2013-11-29 Andreas Politz <politza@fh-trier.de>
1314 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1315 allow non-lambda lists as functions.
1316 (imenu--in-alist): Don't recurse into non-subalists.
1317 (imenu): Don't pass function itself as an argument (Bug#14029).
1318
1319 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * progmodes/python.el (python-mode-map): Remove binding for ":".
1322 (python-indent-electric-colon): Remove command.
1323 (python-indent-post-self-insert-function): Integrate the previous code
1324 of python-indent-electric-colon. Make it conditional on
1325 electric-indent-mode.
1326 (python-mode): Add ?: to electric-indent-chars.
1327 Move python-indent-post-self-insert-function to the end of
1328 post-self-insert-hook.
1329
1330 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * doc-view.el (doc-view-goto-page): Update mode-line.
1333
1334 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1335
1336 2013-11-27 Glenn Morris <rgm@gnu.org>
1337
1338 * international/charprop.el, international/uni-bidi.el:
1339 * international/uni-category.el, international/uni-combining.el:
1340 * international/uni-comment.el, international/uni-decimal.el:
1341 * international/uni-decomposition.el, international/uni-digit.el:
1342 * international/uni-lowercase.el, international/uni-mirrored.el:
1343 * international/uni-name.el, international/uni-numeric.el:
1344 * international/uni-old-name.el, international/uni-titlecase.el:
1345 * international/uni-uppercase.el:
1346 Remove generated files from VCS repository.
1347
1348 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1349
1350 * filenotify.el (file-notify-add-watch): Don't special-case
1351 w32notify when computing the directory to watch.
1352
1353 2013-11-27 Glenn Morris <rgm@gnu.org>
1354
1355 Make bootstrap without generated uni-*.el files possible again.
1356 * loadup.el: Update command-line-args checking for unidata-gen.
1357 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1358 * composite.el, international/characters.el:
1359 Handle unicode tables being undefined.
1360
1361 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1362 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1363 (compile-main): Depend on leim rule.
1364 (leim): New rule.
1365 * loadup.el: Move leim-list.el to leim/ subdirectory.
1366 * startup.el (normal-top-level): No more leim directory.
1367 * international/ja-dic-cnv.el (skkdic-convert):
1368 Disable version-control and autoloads in output files.
1369 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1370 Disable version-control and autoloads in output files.
1371 * leim/quail: Move here from ../leim.
1372 * leim/quail/hangul.el (hangul-input-method-activate):
1373 Add autoload cookie.
1374 (generated-autoload-load-name): Set file-local value.
1375 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1376 (generated-autoload-load-name): Set file-local value.
1377
1378 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1379
1380 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1381 (eww-add-bookmark): Ask confirmation when add to bookmarks
1382 (eww-quit): Ask confirmation before quitting eww.
1383
1384 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1385
1386 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1387 reading output from Diff on MS-Windows and MS-DOS.
1388
1389 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1390
1391 * emacs-lisp/helpers.el (string-reverse): New function.
1392
1393 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1394
1395 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1396 names on MS Windows, like "/[::1]:".
1397
1398 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1399 SWITCHES.
1400
1401 2013-11-26 Glenn Morris <rgm@gnu.org>
1402
1403 * progmodes/python.el (python-indent-guess-indent-offset):
1404 Avoid corner-case error. (Bug#15975)
1405
1406 Preload leim-list.el. (Bug#4789)
1407 * loadup.el: Load leim-list.el when found.
1408 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1409
1410 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1411
1412 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1413
1414 * emacs-lisp/helpers.el (string-join): New function.
1415
1416 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1417
1418 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1419 Mark as obsolete and replace it with a symbol property.
1420 (byte-compile-form): Use new 'interactive-only property.
1421 * comint.el, files.el, replace.el, simple.el:
1422 Apply new 'interactive-only properly.
1423
1424 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1425
1426 * window.el (display-buffer-at-bottom): Make sure that
1427 split-window-sensibly creates the new window on bottom
1428 (Bug#15961).
1429
1430 2013-11-23 David Kastrup <dak@gnu.org>
1431
1432 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1433 on the conflict markers when available.
1434 (smerge--get-marker): New function.
1435 (smerge-end-re, smerge-base-re): Add subgroup.
1436
1437 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * frame.el (handle-focus-in, handle-focus-out): Add missing
1440 interactive spec.
1441
1442 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1443
1444 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1445 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1446
1447 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1450 (gomoku--last-pos): New var.
1451 (gomoku--intangible-chars): New const.
1452 (gomoku--intangible): New function.
1453 (gomoku-mode): Use it. Derive from special-mode.
1454 (gomoku-move-up): Adjust line count.
1455 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1456 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1457 Simplify accordingly.
1458
1459 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1460 Remove blink-cursor code.
1461 (blink-cursor-timer-function, blink-cursor-suspend):
1462 Don't special-case GUIs.
1463 (blink-cursor-mode): Use focus-in/out-hook.
1464
1465 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1468 work when annotation is invisible (Bug#13886).
1469
1470 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1471
1472 * json.el (json-alist-p): Only return non-nil if the alist has
1473 simple keys (Bug#13518).
1474
1475 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1476
1477 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1478 when control-statement is the first statement in a buffer (Bug#15956).
1479
1480 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1481
1482 * imenu.el (imenu-generic-skip-comments-and-strings):
1483 New option (Bug#15560).
1484 (imenu--generic-function): Use it.
1485
1486 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1487
1488 * minibuffer.el (completion--in-region-1): Scroll the correct
1489 window. (Bug#13898)
1490
1491 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1492
1493 * emacs-lisp/helpers.el: Add some string helpers.
1494 (string-trim-left): Removes leading whitespace.
1495 (string-trim-right): Removes trailing whitespace.
1496 (string-trim): Removes leading and trailing whitespace.
1497
1498 * subr.el (string-suffix-p): New function.
1499
1500 2013-11-23 Glenn Morris <rgm@gnu.org>
1501
1502 * progmodes/python.el (python-shell-send-file):
1503 Add option to delete file when done. (Bug#15647)
1504 (python-shell-send-string, python-shell-send-region): Use it.
1505
1506 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1507
1508 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1509 to set buffer-read-only to t, never to nil. (Bug#15938)
1510
1511 * textmodes/tex-mode.el (latex-noindent-environments):
1512 Add safe-local-variable property. (Bug#15936)
1513
1514 2013-11-23 Glenn Morris <rgm@gnu.org>
1515
1516 * textmodes/enriched.el (enriched-mode): Doc fix.
1517 * emacs-lisp/authors.el (authors-renamed-files-alist):
1518 Add enriched.doc -> enriched.txt.
1519
1520 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1521
1522 2013-11-22 Leo Liu <sdl.web@gmail.com>
1523
1524 * progmodes/octave.el (inferior-octave-startup): Spit out error
1525 message.
1526
1527 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1528
1529 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1530 Improve docstring.
1531 Add :version.
1532 (ruby-encoding-magic-comment-style): Add :version.
1533
1534 2013-11-22 Leo Liu <sdl.web@gmail.com>
1535
1536 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1537 (Bug#15076)
1538 (octave-help-mode): Adapt to change to help-mode-finish to use
1539 derived-mode-p on 2013-09-17.
1540 (inferior-octave-prompt): Also match octave-gui.
1541 (octave-kill-process): Don't ask twice. (Bug#10564)
1542
1543 2013-11-22 Leo Liu <sdl.web@gmail.com>
1544
1545 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1546 (inferior-octave-startup, inferior-octave-check-process)
1547 (inferior-octave-track-window-width-change)
1548 (octave-completion-at-point, octave-eldoc-function): Use it.
1549 (octave-kill-process): Provide confirmation. (Bug#10564)
1550
1551 2013-11-21 Leo Liu <sdl.web@gmail.com>
1552
1553 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1554 Fix obsolete variable comment-use-global-state.
1555
1556 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1557
1558 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1559 Add `octave-source-file'.
1560 (octave-source-file): New function. (Bug#15935)
1561
1562 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1563
1564 * net/eww.el (eww-local-regex): New variable.
1565 (eww): Use it to detect localhost and similar.
1566
1567 2013-11-21 Leo Liu <sdl.web@gmail.com>
1568
1569 Add completion for command `ag'.
1570 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1571 (pcomplete/ag): New function.
1572 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1573
1574 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1577 (bug#14646).
1578 (make-obsolete): Remove interactive spec.
1579
1580 2013-11-21 Glenn Morris <rgm@gnu.org>
1581
1582 * startup.el (command-line-1): Use path-separator with -L.
1583
1584 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1585
1586 * emacs-lisp/package.el (describe-package-1): Add package archive
1587 to shown fields.
1588
1589 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1590
1591 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1592 Change default to "# encoding: %s" to differentiate it from the
1593 default Ruby encoding comment template.
1594
1595 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1596
1597 * ses.el (ses-mode): Doc fix. (Bug#14748)
1598
1599 2013-11-20 Leo Liu <sdl.web@gmail.com>
1600
1601 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1602
1603 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1604
1605 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1606 when rebase or bisect are in progress.
1607
1608 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1609
1610 * filenotify.el (file-notify-add-watch): Doc fix.
1611
1612 2013-11-19 Leo Liu <sdl.web@gmail.com>
1613
1614 * obsolete/rcompile.el: Mark obsolete.
1615
1616 * progmodes/compile.el (compilation-start)
1617 (compilation-goto-locus, compilation-find-file):
1618 Pass no-display-ok and handle nil value from display-buffer.
1619 (Bug#13594)
1620
1621 * window.el (display-buffer-alist, display-buffer): Document the
1622 new parameter no-display-ok. Return either a window or nil
1623 but never a non-window value.
1624
1625 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * electric.el (electric-indent-mode-map): Remove.
1628 (electric-indent-mode): Change the global-map instead (bug#15915).
1629
1630 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1631 Use add-function.
1632
1633 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * emacs-lisp/nadvice.el (remove-function): Align with
1636 add-function's behavior.
1637
1638 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1639 (gdb--string-regexp): New constant.
1640 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1641 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1642 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1643 submatch 1.
1644 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1645 Adjust use accordingly.
1646 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1647
1648 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1649
1650 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1651 interpolation curlies (Bug#15914).
1652
1653 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1654
1655 * calc/calc.el (calc-context-sensitive-enter): New variable.
1656 (calc-enter): Use `calc-context-sensitive-enter'.
1657
1658 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1659
1660 * progmodes/cfengine.el: Version bump.
1661 (cfengine-cf-promises): New defcustom to locate cf-promises.
1662 (cfengine3-vartypes): Add new "data" type.
1663 (cfengine3--current-word): New function to get current name-like
1664 word or its bounds.
1665 (cfengine3--current-function): New function to look up a CFEngine
1666 function's definition.
1667 (cfengine3-format-function-docstring): New function.
1668 (cfengine3-make-syntax-cache): New function.
1669 (cfengine3-documentation-function): New function: ElDoc glue.
1670 (cfengine3-completion-function): New function: completion glue.
1671 (cfengine3-mode): Set `compile-command',
1672 `eldoc-documentation-function', and add to
1673 `completion-at-point-functions'.
1674
1675 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1676
1677 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1678 `tramp-current-connection'.
1679
1680 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1681
1682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1683 nil/self/true/false with "end of symbol".
1684
1685 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1686
1687 * subr.el (version-regexp-alist): Fix a typo.
1688
1689 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1692 "en_US.utf8" and "LC_CTYPE" to "".
1693 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1694 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1695
1696 2013-11-15 Leo Liu <sdl.web@gmail.com>
1697
1698 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1699
1700 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * progmodes/gud.el (ctl-x-map):
1703 Remove C-x SPC binding. (Bug#12342)
1704 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1705
1706 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1707
1708 * subr.el (version-regexp-alist):
1709 Recognize hg, svn and darcs versions as snapshot versions.
1710
1711 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1712 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1713 (ruby--encoding-comment-required-p): Extract from
1714 `ruby-mode-set-encoding'.
1715 (ruby-mode-set-encoding): Add the ability to always insert an
1716 utf-8 encoding comment. Fix and simplify coding comment update
1717 logic.
1718
1719 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1720
1721 * net/tramp-gvfs.el (top): Run init code only when
1722 `tramp-gvfs-enabled' is not nil.
1723 (tramp-gvfs-enabled): Check also :system bus.
1724
1725 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 Sync with upstream verilog-mode revision 78e66ba.
1728 * progmodes/verilog-mode.el (verilog-end-of-defun)
1729 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1730 (verilog-get-end-of-defun): Remove unused argument.
1731 (verilog-comment-depth): Remove unused local `e'.
1732 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1733 Don't pass arg to verilog-get-end-of-defun.
1734
1735 2013-11-14 Glenn Morris <rgm@gnu.org>
1736
1737 * obsolete/assoc.el (aget): Prefix dynamic variable.
1738
1739 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1740
1741 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * widget.el, hfy-cmap.el: Remove bogus package version number.
1744
1745 2013-11-13 Glenn Morris <rgm@gnu.org>
1746
1747 * replace.el (replace-eval-replacement):
1748 Try to give more helpful error message. (Bug#15836)
1749
1750 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1751 (archive-7z-update): Avoid custom type mismatches.
1752
1753 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1754
1755 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1756
1757 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1758 address can be empty.
1759
1760 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1761 Accept nil SWITCHES.
1762 (tramp-gvfs-handle-write-region): Implement APPEND.
1763
1764 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1765
1766 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1767 binary "|" operator and closing block args delimiter.
1768 Remove FIXME comment referring to Ruby 1.8-only syntax.
1769 (ruby-smie--implicit-semi-p): Not after "|" operator.
1770 (ruby-smie--closing-pipe-p): New function.
1771 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1772 (ruby-smie-rules): Indent after "|".
1773
1774 2013-11-12 Glenn Morris <rgm@gnu.org>
1775
1776 * ps-print.el (ps-face-attribute-list):
1777 Handle anonymous faces. (Bug#15827)
1778
1779 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1780
1781 * window.el (display-buffer-other-frame): Fix doc-string.
1782 (Bug#15868)
1783
1784 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1787
1788 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1789
1790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1791 (tramp-sh-handle-file-local-copy): Don't write a message when
1792 saving temporary files.
1793
1794 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1795 both directories are remote.
1796 (tramp-smb-handle-directory-files): Do not return double entries.
1797 Do not expand full file names.
1798 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1799 (tramp-smb-handle-write-region): Implement APPEND.
1800 (tramp-smb-get-stat-capability): Fix a stupid bug.
1801
1802 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1805
1806 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1807
1808 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1809 throwing error over malformed let/let* (bug#15814).
1810
1811 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * iswitchb.el (iswitchb-mode): Mark obsolete.
1814
1815 2013-11-11 Glenn Morris <rgm@gnu.org>
1816
1817 * international/uni-bidi.el, international/uni-category.el:
1818 * international/uni-name.el, international/uni-numeric.el:
1819 Regenerate for Unicode 6.3.0.
1820
1821 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1822
1823 * net/tramp.el (tramp-methods):
1824 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1825 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1826
1827 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1828
1829 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1830 Force highlighting text after Summary keyword in doc face for rpm.
1831
1832 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1833
1834 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1835 available and the word has no wildcards, append one to the grep pattern.
1836 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1837 (ispell-complete-word): Call `ispell-lookup-words' with the value
1838 independent of `ispell-look-p'.
1839
1840 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1843 Not after "||".
1844 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1845 their parent.
1846
1847 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1850 (ruby-font-lock-keywords): Use backquote.
1851
1852 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1855 (ruby-smie--backward-token): Only consider full-string matches.
1856
1857 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1858
1859 * faces.el (describe-face): Add distant-foreground.
1860
1861 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1862
1863 * progmodes/ruby-mode.el: Improve encoding comment handling.
1864 (ruby-encoding-magic-comment-style): New option.
1865 (ruby-custom-encoding-magic-comment-template): New option.
1866 (ruby--insert-coding-comment, ruby--detect-encoding):
1867 New functions extracted from `ruby-mode-set-encoding'.
1868 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1869 to control the style of the auto-inserted encoding comment.
1870
1871 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1872
1873 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1874 Use `smie-backward-sexp' with token argument.
1875
1876 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1877
1878 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1879 Remove instrumentation code.
1880
1881 2013-11-08 Glenn Morris <rgm@gnu.org>
1882
1883 * progmodes/autoconf.el (autoconf-mode):
1884 Tweak comment-start-skip. (Bug#15822)
1885
1886 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1889 at bobp (bug#15826).
1890 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1891
1892 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1893
1894 * man.el (Man-start-calling): New macro, extracted from
1895 Man-getpage-in-background.
1896 (Man-getpage-in-background): Use it.
1897 (Man-update-manpage): New command.
1898 (Man-mode-map): Bind it.
1899
1900 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1901
1902 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1903 of "and", "or", "&&" and "||".
1904 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1905 argument. Prohibit opening curly brace because it could only be a
1906 block opener in that position.
1907 (ruby-smie--forward-token, ruby-smie--backward-token):
1908 Separate "|" from "&" or "*" going after it. That can happen in block
1909 arguments.
1910 (ruby-smie--indent-to-stmt): New function, seeks the end of
1911 previous statement or beginning of buffer.
1912 (ruby-smie-rules): Use it.
1913 (ruby-smie-rules): Check if there's a ":" before a curly block
1914 opener candidate; if there is, it's a hash.
1915
1916 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1919 (cl--block-wrapper): Fix last accidental change.
1920
1921 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1922
1923 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1924 Instrument, in order to hunt failure on hydra.
1925
1926 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1927
1928 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1929 malformed bindings form (bug#15814).
1930
1931 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1932
1933 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1934 "." compared to " @ ". This incidentally fixes some indentation
1935 examples with "do".
1936 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1937 (ruby-smie-grammar): New tokens: "and" and "or".
1938 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1939 Exclude "and" and "or". Remove "do" in order to work around token
1940 priorities.
1941 (ruby-smie-rules): Add all infix tokens. Handle the case of
1942 beginning-of-buffer.
1943
1944 2013-11-06 Glenn Morris <rgm@gnu.org>
1945
1946 * Makefile.in (setwins_almost, setwins_for_subdirs):
1947 Avoid accidental matches.
1948
1949 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * menu-bar.el (popup-menu): Use key-binding.
1952
1953 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1954
1955 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1956 menus, support also the menus produced by minor modes.
1957 (Bug#15817)
1958
1959 2013-11-06 Leo Liu <sdl.web@gmail.com>
1960
1961 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1962 DISTANCE to bound the search. All uses changed. (Bug#15808)
1963
1964 2013-11-06 Glenn Morris <rgm@gnu.org>
1965
1966 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1967 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1968 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1969
1970 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * electric.el (electric-indent-just-newline): New command.
1973 (electric-indent-mode-map): New keymap.
1974 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1975 Re-add :group which weren't redundant.
1976
1977 * electric.el (electric-indent-local-mode): New minor mode.
1978 (electric-indent-functions-without-reindent): New var.
1979 (electric-indent-post-self-insert-function): Use it.
1980 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1981
1982 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1983
1984 * international/quail.el (quail-help): Be more explicit about the
1985 meaning of the labels shown on the keys. (Bug#15800)
1986
1987 * startup.el (normal-top-level): Load the subdirs.el files before
1988 setting the locale environment. (Bug#15805)
1989
1990 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1993 via arguments so as to get the right ones (bug#15418).
1994
1995 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1996
1997 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1998
1999 Fix problems found while writing a test suite.
2000
2001 * net/tramp-compat.el (tramp-compat-load): New defun.
2002 * net/tramp.el (tramp-handle-load): Use it.
2003
2004 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2005 "(numberp ok-if-already-exists)" correctly.
2006
2007 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2008
2009 * international/characters.el (glyphless-char-display-control):
2010 Add usage note.
2011
2012 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2013
2014 * progmodes/python.el (python-mode):
2015 * progmodes/scheme.el (scheme-mode):
2016 * progmodes/prolog.el (prolog-mode):
2017 * progmodes/ruby-mode.el (ruby-mode):
2018 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2019 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2020
2021 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * rect.el (rectangle--highlight-for-redisplay):
2024 * emacs-lisp/smie.el (smie--next-indent-change):
2025 Use buffer-chars-modified-tick.
2026
2027 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2028
2029 * electric.el (electric-indent-post-self-insert-function):
2030 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2031
2032 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2033
2034 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2035
2036 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2037
2038 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2039 (bug#15786).
2040
2041 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2044
2045 * progmodes/python.el: Fix up last change.
2046 (python-shell--save-temp-file): New function.
2047 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2048 `string' comes from the current buffer.
2049 (python-shell-send-string-no-output): Remove `msg' arg.
2050 (python--use-fake-loc): New var.
2051 (python-shell-buffer-substring): Obey it. Try to compensate for the
2052 extra coding line added by python-shell--save-temp-file.
2053 (python-shell-send-region): Use python-shell--save-temp-file and
2054 python-shell-send-file directly. Add `nomain' argument.
2055 (python-shell-send-buffer): Use python-shell-send-region.
2056 (python-electric-pair-string-delimiter): New function.
2057 (python-mode): Use it.
2058
2059 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2060
2061 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2062 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2063 environment and decoding all of the default-directory's to here
2064 from command-line.
2065 (command-line): Decode also argv[0].
2066
2067 * loadup.el: Error out if default-directory is a multibyte string
2068 when we are dumping.
2069
2070 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2071
2072 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2073
2074 * emacs-lisp/package.el (package-menu-mode)
2075 (package-menu--print-info, package-menu--archive-predicate):
2076 Add Archive column to package list.
2077
2078 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2079
2080 Fix problems found while writing a test suite.
2081
2082 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2083 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2084 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2085 to nil when running original file name handler. Otherwise,
2086 there are problems with constructs like "$$FOO".
2087
2088 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2089 for `localname'.
2090
2091 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2092
2093 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2094
2095 * subr.el (version<, version<=, version=):
2096 Update docstrings with information for snapshot versions.
2097
2098 * helpers.el: New library for misc helper functions.
2099 (hash-table-keys): New function returning a list of hash keys.
2100 (hash-table-values): New function returning a list of hash values.
2101
2102 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2103
2104 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2105 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2106
2107 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2108
2109 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2110 checking whether point is after a 1-letter word.
2111
2112 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2113
2114 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2115 Don't infloop when expanding region over `multiline' syntax-type that
2116 begins a line (bug#15778).
2117
2118 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2121 Make it into a proper minor mode.
2122 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2123 (rectangle-mark-mode-map): New keymap.
2124 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2125
2126 2013-11-04 Glenn Morris <rgm@gnu.org>
2127
2128 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2129
2130 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2133 (ruby-smie-rules): Use smie-rule-parent instead.
2134
2135 * emacs-lisp/smie.el (smie-rule-parent): Always call
2136 smie-indent-virtual rather than only for hanging tokens.
2137 (smie--next-indent-change): New helper command.
2138
2139 2013-11-03 Glenn Morris <rgm@gnu.org>
2140
2141 * Makefile.in (abs_srcdir): Remove.
2142 (emacs): Unset EMACSLOADPATH.
2143
2144 2013-11-02 Glenn Morris <rgm@gnu.org>
2145
2146 * Makefile.in (EMACS): Use a relative filename.
2147 (abs_top_builddir): Remove.
2148 (custom-deps, finder-data, autoloads): Use --chdir.
2149
2150 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2151
2152 Use relative filenames in TAGS files.
2153 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2154 (lisptagsfiles4, TAGS): Use relative file names.
2155 (TAGS-LISP): Remove.
2156 (maintainer-clean): No more TAGS-LISP file.
2157
2158 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2159 (lisptagsfiles4): Use absolute filenames again.
2160 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2161 Remove all *loaddefs files, not just the first. Remove esh-groups.
2162 (maintainer-clean): Delete TAGS, TAGS-LISP.
2163
2164 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2165
2166 * emacs-lisp/package.el (package-version-join):
2167 Recognize snapshot versions.
2168
2169 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2170
2171 * subr.el (version-regexp-alist): Add support for snapshot versions.
2172
2173 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2174
2175 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2176 New function, replacement for `smie-rule-parent' for when we want to
2177 skip over our direct parent if it's an assignment token..
2178 (ruby-smie-rules): Use it.
2179
2180 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2181
2182 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2183 unconditionally. Remove now unnecessary forward declarations.
2184 Remove XEmacs-specific setup.
2185 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2186 (ruby-font-lock-syntactic-keywords)
2187 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2188 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2189 (ruby-here-doc-end-syntax): Remove.
2190 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2191 defined as function.
2192
2193 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2194
2195 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2196
2197 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2198
2199 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2200 table and abbrev table, `define-derived-mode' does that for us
2201 anyway.
2202
2203 2013-11-01 Glenn Morris <rgm@gnu.org>
2204
2205 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2206 files is atomic for some time, so no parallel compilation issues).
2207
2208 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2209
2210 * faces.el (face-x-resources): Add :distant-foreground.
2211 (region): Use :distant-foreground for gtk and ns.
2212
2213 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2214
2215 Allow multiple bibliographies when BibLaTeX is used rather than
2216 BibTeX.
2217 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2218 (reftex-locate-bibliography-files): Us it.
2219
2220 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2221
2222 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2223 allow comments in pbm files.
2224
2225 * term/w32-win.el (dynamic-library-alist): Support newer versions
2226 of libjpeg starting with v7: look only for the DLL from the
2227 version against which Emacs was built.
2228 Support versions of libpng beyond 1.4.x.
2229 Support libtiff v4.x.
2230
2231 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2232
2233 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2234 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2235 Add property :safe.
2236 (ruby-deep-arglist): Add property :type.
2237
2238 2013-10-31 Glenn Morris <rgm@gnu.org>
2239
2240 * Makefile.in (custom-deps, finder-data): No need to setq the target
2241 variables, we are in the right directory and the defaults work fine.
2242
2243 2013-10-30 Glenn Morris <rgm@gnu.org>
2244
2245 * Makefile.in (autoloads): Do not use abs_lisp.
2246
2247 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2248 `newline' does not respect `standard-output', so use `princ'.
2249
2250 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2251
2252 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2253 * buff-menu.el (Buffer-menu--unmark): New function.
2254 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2255
2256 2013-10-30 Glenn Morris <rgm@gnu.org>
2257
2258 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2259
2260 * emacs-lisp/package.el (lm-homepage): Declare.
2261
2262 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2263 Fix doc typos.
2264
2265 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2266
2267 * Makefile.in (finder-data, autoloads, update-subdirs)
2268 (compile-main, compile-clean, compile-always, bootstrap-clean):
2269 Check return value of cd.
2270 (compile-calc): Remove.
2271
2272 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2275
2276 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2277 (byte-compile-and-folded): New function.
2278 (=, <, >, <=, >=): Use it.
2279
2280 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2281 (path-separator, null-device, buffer-file-coding-system)
2282 (lpr-headers-switches): Check system-type before modifying them.
2283 (find-buffer-file-type-coding-system): Mark obsolete.
2284 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2285 find-file-not-found-set-buffer-file-coding-system.
2286 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2287 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2288 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2289 (w32-direct-print-region-helper, w32-direct-print-region-function)
2290 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2291 * startup.el (normal-top-level-add-subdirs-to-load-path):
2292 * ps-print.el (ps-print-region-function):
2293 * lpr.el (print-region-function): Use new name.
2294
2295 * subr.el (custom-declare-variable-early): Remove function.
2296 (custom-declare-variable-list): Remove var.
2297 (error, user-error): Remove `while' loop.
2298 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2299 (user-emacs-directory-warning, locate-user-emacs-file):
2300 Move to files.el.
2301 * simple.el (read-quoted-char-radix, read-quoted-char):
2302 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2303 Move from subr.el.
2304 * custom.el (custom-declare-variable-list): Don't process
2305 custom-declare-variable-list.
2306
2307 * progmodes/python.el (python-shell-get-buffer): New function.
2308 (python-shell-get-process): Use it.
2309 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2310 Python which encoding was used. Don't split-string since we only care
2311 about the first line. Return the temp-file, if applicable.
2312 (python-shell-send-region): Tell compile.el how to turn locations in
2313 the temp-file into locations in the source buffer.
2314
2315 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * subr.el (undefined): Add missing behavior from the C code for
2318 unbound keys.
2319
2320 * rect.el: Use lexical-binding. Add new rectangular region support.
2321 (rectangle-mark): New command.
2322 (rectangle--region): New var.
2323 (deactivate-mark-hook): Reset rectangle--region.
2324 (rectangle--extract-region, rectangle--insert-for-yank)
2325 (rectangle--highlight-for-redisplay)
2326 (rectangle--unhighlight-for-redisplay): New functions.
2327 (region-extract-function, redisplay-unhighlight-region-function)
2328 (redisplay-highlight-region-function): Use them to handle
2329 rectangular region.
2330 * simple.el (region-extract-function): New var.
2331 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2332 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2333 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2334 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2335 (redisplay-unhighlight-region-function)
2336 (redisplay-highlight-region-function): New vars.
2337 (redisplay--update-region-highlight): New function.
2338 (pre-redisplay-function): Use it.
2339 (exchange-point-and-mark): Don't deactivate the mark before
2340 reactivate-it anyway.
2341 * comint.el (comint-kill-region): Remove yank-handler argument.
2342 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2343 (delete-char): Remove property, since it's now part of their
2344 default behavior.
2345 (self-insert-iso): Remove property since this command doesn't exist.
2346
2347 * emacs-lisp/package.el (package--download-one-archive)
2348 (describe-package-1): Don't query the user about final newline.
2349
2350 2013-10-29 Daniel Colascione <dancol@dancol.org>
2351
2352 * net/tramp.el (tramp-methods): Document new functionality.
2353 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2354 tramp-hostname-checker if method provides one instead of scanning
2355 argument list for "%h" to decide hostname acceptability.
2356
2357 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2358
2359 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2360 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2361 Handle COPY-CONTENTS. (Bug#15737)
2362
2363 2013-10-28 Daiki Ueno <ueno@gnu.org>
2364
2365 * epa-file.el
2366 (epa-file-cache-passphrase-for-symmetric-encryption):
2367 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2368
2369 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2370
2371 * image.el (defimage):
2372 (image-load-path): Doc fixes.
2373
2374 2013-10-27 Alan Mackenzie <acm@muc.de>
2375
2376 Indent statements in macros following "##" correctly.
2377 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2378 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2379
2380 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2381
2382 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2383
2384 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2385
2386 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2387 after `=' is probably a new expression.
2388
2389 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2390
2391 * man.el (man-imenu-title): New option.
2392 (Man-mode-map): Add menu. (Bug#15722)
2393 (Man-mode): Add imenu to menu.
2394
2395 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2396
2397 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2398 specific in what the first arg can be: a non-keyword word,
2399 string/regexp/percent literal opener, opening paren, or unary
2400 operator followed directly by word.
2401
2402 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2405 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2406 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2407 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2408 Remove vars, they do not apply any more.
2409 (prolog-mode-abbrev-table): Remove redundant declaration.
2410 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2411 (prolog-use-smie): Remove.
2412 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2413 supported by prolog-electric-if-then-else-flag.
2414 (prolog-mode-variables, prolog-menu): Use setq-local.
2415 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2416 Remove binding to `Backspace' since this key doesn't exist anyway.
2417 Remove bindings for electric self-inserting keys.
2418 (prog-mode): Assume it's defined.
2419 (prolog-post-self-insert): New function.
2420 (prolog-mode): Use it.
2421 (prolog-indent-line, prolog-indent-level)
2422 (prolog-find-indent-of-matching-paren)
2423 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2424 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2425 (prolog-goto-next-paren, prolog-in-string-or-comment)
2426 (prolog-tokenize, prolog-inside-mline-comment)
2427 (prolog-find-start-of-mline-comment): Remove functions.
2428 (prolog-find-unmatched-paren, prolog-clause-end)
2429 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2430 (prolog-electric--if-then-else): Rename from
2431 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2432 (prolog-tokenize-searchkey): Remove const.
2433 (prolog-clause-info): Use forward-sexp.
2434 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2435 (prolog-electric-if-then-else): Remove commands.
2436 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2437 for use in post-self-insert-hook.
2438 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2439 for use in post-self-insert-hook.
2440 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2441 for use in post-self-insert-hook.
2442 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2443 adapt it for use in post-self-insert-hook.
2444
2445 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * emacs-lisp/ert.el (ert-run-tests-interactively):
2448 Use `completing-read'. (Bug#9756)
2449
2450 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2451
2452 * simple.el (line-move): Call line-move-1 instead of
2453 line-move-visual when the current window hscroll is zero, but
2454 temporary-goal-column indicates we will need to hscroll as result
2455 of the movement. (Bug#15712)
2456
2457 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2458
2459 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2460 capitalization. Use :visible instead of :active.
2461 Fix `ruby-indent-exp' reference. Add menu items for the generic
2462 commands that are used with SMIE.
2463 (ruby-do-end-to-brace): Insert space after `{'.
2464
2465 2013-10-25 John Anthony <john@jo.hnanthony.com>
2466
2467 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2468
2469 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2470
2471 2013-10-25 Glenn Morris <rgm@gnu.org>
2472
2473 * vc/vc.el (vc-print-log): Don't use a working revision unless
2474 one was explicitly specified. (Bug#15322)
2475
2476 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * subr.el (add-to-list): Preserve return value in compiler-macro
2479 (bug#15692).
2480
2481 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2482
2483 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2484 result. Ask user to retry using '-all' flag. (Bug#15701)
2485
2486 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * emacs-lisp/smie.el: New smie-config system.
2489 (smie-config): New defcustom.
2490 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2491 (smie-config-guess, smie-config-save): New commands.
2492 (smie-config--mode-local, smie-config--buffer-local)
2493 (smie-config--trace, smie-config--modefuns): New vars.
2494 (smie-config--advice, smie-config--mode-hook)
2495 (smie-config--setter, smie-config-local, smie-config--get-trace)
2496 (smie-config--guess-value, smie-config--guess): New functions.
2497 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2498 text properties. Treat "string fence" syntax like string syntax.
2499
2500 * progmodes/sh-script.el (sh-use-smie): Change default.
2501 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2502 (sh-var-value): Simplify by CSE.
2503 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2504 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2505 is used.
2506 (sh-guess-basic-offset): Use cl-incf.
2507 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2508
2509 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2510
2511 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2512 (bug#15699).
2513
2514 2013-10-24 Glenn Morris <rgm@gnu.org>
2515
2516 * Makefile.in (abs_top_srcdir): Remove.
2517 (update-subdirs): Use relative path to update-subdirs.
2518
2519 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2520
2521 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2522 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2523 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2524 Call unmsys--file-name before expand-file-name, not after it.
2525
2526 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2527
2528 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2529 (ert-test-skipped): New error.
2530 (ert-skip, ert-stats-skipped): New defuns.
2531 (ert--skip-unless): New macro.
2532 (ert-test-skipped): New struct.
2533 (ert--run-test-debugger, ert-test-result-type-p)
2534 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2535 (ert--stats-set-test-and-result, ert-char-for-test-result)
2536 (ert-string-for-test-result, ert-run-tests-batch)
2537 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2538 Handle skipped tests. (Bug#9803)
2539
2540 2013-10-24 Glenn Morris <rgm@gnu.org>
2541
2542 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2543
2544 * Makefile.in (abs_top_srcdir): New, set by configure.
2545 (update-subdirs): Correct build-aux location.
2546
2547 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2548
2549 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2550 value, whether we could auto-deduce `backend', or not.
2551
2552 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2553 with parameters" example. Simplify the "is it block or is it
2554 hash" check, but also make it more thorough.
2555
2556 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2557
2558 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2559
2560 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2563 { if it is hanging.
2564
2565 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2566 :before ";".
2567
2568 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2569
2570 * progmodes/compile.el (compilation-directory-matcher)
2571 (compilation-page-delimiter):
2572 Support GNU Make-4.0 directory quoting. (Bug#15678)
2573
2574 2013-10-23 Leo Liu <sdl.web@gmail.com>
2575
2576 * ido.el (ido-tidy): Handle read-only text.
2577
2578 2013-10-23 Glenn Morris <rgm@gnu.org>
2579
2580 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2581 (emacs, compile, compile-always):
2582 Quote entities that might contain whitespace.
2583 (custom-deps, finder-data, autoloads): Use abs_lisp.
2584 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2585 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2586 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2587
2588 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2589
2590 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2591 Use `following-char'.
2592
2593 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2596 * progmodes/ruby-mode.el (ruby-smie-rules):
2597 Remove corresponding workaround. Fix indentation rule of ";" so it
2598 also applies when ";" is the parent.
2599
2600 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2601
2602 * frame.el (display-screens, display-pixel-height)
2603 (display-pixel-width, display-mm-width, display-backing-store)
2604 (display-save-under, display-planes, display-color-cells)
2605 (display-visual-class, display-monitor-attributes-list):
2606 Mention the optional ‘display’ argument in doc strings.
2607
2608 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2609
2610 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2611 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2612
2613 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2614
2615 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2616 TODO. Add "." after " @ ".
2617 (ruby-smie--at-dot-call): New function. Checks if point at method
2618 call with explicit target.
2619 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2620 to the method name tokens when it precedes them.
2621 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2622 (ruby-smie-rules): Add rule for indentation before and after "."
2623 token.
2624
2625 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * textmodes/remember.el (remember-diary-extract-entries):
2628 Avoid add-to-list.
2629
2630 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2631 an instruction.
2632
2633 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2634
2635 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2636 (ruby-smie--implicit-semi-p): Add new operator chars.
2637
2638 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2639 `smie-down-list'.
2640 (ruby-smie--args-separator-p): Check that there's no newline
2641 between method call and its arguments.
2642
2643 2013-10-20 Alan Mackenzie <acm@muc.de>
2644
2645 Allow comma separated lists after Java "implements".
2646
2647 * progmodes/cc-engine.el (c-backward-over-enum-header):
2648 Parse commas.
2649 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2650 from a "disallowed" list in enum fontification.
2651
2652 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2653
2654 * startup.el (default-frame-background-mode): Remove unused defvar.
2655
2656 * progmodes/verilog-mode.el (verilog-mode): Don't set
2657 comment-indent-function globally.
2658
2659 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2660
2661 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2662 Move Info menu item creation to ns-win.el.
2663
2664 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2665 in menu bar.
2666
2667 * menu-bar.el: Move GNUStep specific menus...
2668
2669 * term/ns-win.el (ns-initialize-window-system): ... to here.
2670
2671 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * simple.el (newline): Only run post-self-insert-hook when
2674 called interactively.
2675
2676 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2677
2678 * icomplete.el (icomplete-with-completion-tables): Add :version.
2679
2680 2013-10-19 Alan Mackenzie <acm@muc.de>
2681
2682 Fix fontification bugs with constructors and const.
2683
2684 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2685 CASE 2) Remove the check for the absence of a suffix construct
2686 after a function declaration with only types (no identifiers) in
2687 the parentheses. Also, accept a function declaration with just a
2688 type inside the parentheses, if this type can be positively
2689 recognised as such, or if a prefix keyword like "explicit" nails
2690 down the construct as a declaration.
2691
2692 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2693
2694 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2695 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2696 the problem whereby selecting a menu item that leads to a
2697 minibuffer prompt moves the cursor out of the minibuffer window,
2698 making it hard to type at the prompt. Suggested by Stefan Monnier
2699 <monnier@iro.umontreal.ca>.
2700
2701 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2702
2703 * menu-bar.el: Don't make Services menu.
2704
2705 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2706
2707 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2708 (ffap-alist): Use ffap-c++-mode for c++-mode.
2709 (ffap-c++-path): New variable.
2710 (ffap-c++-mode): New function.
2711
2712 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2713
2714 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2715
2716 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2719 introduced on 2013-09-08, which results in an infinite loop
2720 requesting a password.
2721
2722 2013-10-18 Glenn Morris <rgm@gnu.org>
2723
2724 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2725
2726 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2727
2728 Sync with upstream verilog-mode revision 1a6ecec7.
2729 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2730 (verilog-mode-release-date): Remove.
2731 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2732 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2733 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2734 (verilog-auto-tieoff-ignore-regexp)
2735 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2736 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2737 (verilog-signals-with, verilog-dir-cache-preserving)
2738 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2739 Doc fixes.
2740 (verilog-case-fold): New option, to control case folding in
2741 regexp searches, bug597.
2742 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2743 (verilog-string-match-fold, verilog-in-paren-count)
2744 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2745 (verilog-at-close-struct-p): New functions.
2746 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2747 (verilog-forward-sexp, verilog-set-auto-endcomments):
2748 (verilog-leap-to-case-head): Handle "unique0" case.
2749 (verilog-in-constraint-re): New constant.
2750 (verilog-keywords, verilog-type-font-keywords):
2751 Add some SystemVerilog 1800-2012 keywords.
2752 (verilog-label-be): Remove unimplemented argument, bug669.
2753 (verilog-batch-execute-func): When batch expanding clear
2754 create-lockfiles to prevent spurious user locks when a file ends
2755 up not changing.
2756 (verilog-calculate-indent, verilog-calc-1)
2757 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2758 (verilog-do-indent): Fix indentation of nested constraints
2759 and structures.
2760 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2761 (verilog-auto-inst-param): Use verilog-string-match-fold.
2762 (verilog-read-inst-module-matcher):
2763 Fix AUTOINST on gate primitives with #1.
2764 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2765 Reads all user-defined typed variables.
2766 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2767 (verilog-signals-matching-regexp)
2768 (verilog-signals-not-matching-regexp, verilog-auto):
2769 Respect verilog-case-fold.
2770 (verilog-diff-report): Fix line count.
2771 (verilog-auto-assign-modport): Remove unused local `modi'.
2772 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2773 better handle multidimensional arrays.
2774 Fix packed array ports misadding bit index in AUTOINST, bug637.
2775 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2776 to not double-declare existing outputs and inputs, respectively.
2777 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2778 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2779 (verilog-sk-uvm-component): New skeleton.
2780 (verilog-submit-bug-report): Add verilog-case-fold,
2781 remove verilog-mode-release-date.
2782
2783 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2784
2785 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2786 as before.
2787
2788 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2789
2790 * textmodes/remember.el (remember): Set buffer-offer-save in
2791 remember buffers (bug#13566).
2792
2793 2013-10-18 Daniel Colascione <dancol@dancol.org>
2794
2795 When evaluating forms in ielm, direct standard output to ielm
2796 buffer. Add new ielm-return-for-effect command. Remove trailing
2797 whitespace throughout.
2798
2799 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2800 (ielm-return-for-effect): New command.
2801 (ielm-send-input): Accept optional `for-effect' parameter.
2802 (ielm-eval-input): Accept optional `for-effect' parameter.
2803 Bind `standard-output' to stream we create using
2804 `ielm-standard-output-impl'. Suppress printing result when
2805 `for-effect'.
2806 (ielm-standard-output-impl): New function.
2807 (inferior-emacs-lisp-mode): Explain new features in documentation.
2808
2809 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2810
2811 Code cleanup.
2812
2813 * net/tramp.el (tramp-debug-message): Do not check for connection
2814 buffer.
2815 (tramp-message): Use "vector" connection property.
2816
2817 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2818 (tramp-equal-remote, tramp-eshell-directory-change)
2819 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2820 (tramp-adb-handle-rename-file)
2821 * net/tramp-cmds.el (tramp-list-remote-buffers)
2822 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2823 * net/tramp-compat.el (tramp-compat-process-running-p)
2824 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2825 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2826 (tramp-gvfs-handle-rename-file)
2827 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2828 (tramp-set-file-uid-gid)
2829 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2830 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2831 of `file-remote-p'.
2832
2833 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2834 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2835 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2836 (tramp-gw-open-network-stream): Suppress unrelated traces.
2837
2838 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2839 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2840 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2841 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2842 connection property.
2843
2844 * net/tramp-cache.el (top): Suppress traces when reading
2845 persistency file.
2846
2847 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2848 Refactor common code. Improve debug message.
2849 (tramp-maybe-open-connection)
2850 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2851 connection buffer too early.
2852
2853 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2854 from `tramp-smb-actions-with-acl'.
2855 (tramp-smb-actions-set-acl): New defconst.
2856 (tramp-smb-handle-copy-directory)
2857 (tramp-smb-action-get-acl): New defun, renamed from
2858 `tramp-smb-action-with-acl'.
2859 (tramp-smb-action-set-acl): New defun.
2860 (tramp-smb-handle-set-file-acl): Rewrite.
2861
2862 2013-10-17 Glenn Morris <rgm@gnu.org>
2863
2864 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2865
2866 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * skeleton.el (skeleton-newline): Remove.
2869 (skeleton-internal-1): Use (insert "\n") instead.
2870
2871 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2872 let-bindings.
2873
2874 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2875 forward-sexp-function while we redo its job (bug#15613).
2876
2877 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2878
2879 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2880 represented by lists.
2881
2882 2013-10-16 Glenn Morris <rgm@gnu.org>
2883
2884 * tmm.el (tmm--history): New dynamic variable.
2885 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2886
2887 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2888
2889 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2890 (tramp-smb-errors): Add error messages.
2891 (tramp-smb-actions-with-acl): New defconst.
2892 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2893 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2894 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2895 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2896 (tramp-smb-get-stat-capability): Fix tests.
2897
2898 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2899
2900 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2901 (bug#15580).
2902
2903 2013-10-16 Glenn Morris <rgm@gnu.org>
2904
2905 * ansi-color.el (ansi-color-drop-regexp):
2906 Add 1J, 1K, 2K. (Bug#15617)
2907
2908 * files.el (hack-local-variables--warned-lexical): New.
2909 (hack-local-variables):
2910 Warn about misplaced lexical-binding. (Bug#15616)
2911
2912 * net/eww.el (eww-render): Always set eww-current-url,
2913 and update header line. (Bug#15622)
2914 (eww-display-html): ... Rather than just doing it here.
2915
2916 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2917
2918 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2919 menu navigations commands.
2920
2921 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2922
2923 * progmodes/subword.el (subword-capitalize): Be careful when
2924 the search for [[:alpha:]] fails (bug#15580).
2925
2926 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2927
2928 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2929 to commands that scroll the menu.
2930
2931 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2932
2933 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2934 Handle methods ending with `?' and `!'.
2935
2936 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2937
2938 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2939 `japanese-cp932' to `cp932' to fix the problem where saving a
2940 source file written in Shift_JIS twice would end up having
2941 `coding: japanese-cp932' which Ruby could not recognize.
2942 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2943 in `ruby-encoding-map'.
2944 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2945 doesn't need to be explicitly declared in magic comment.
2946 (ruby-encoding-map): Add type declaration for better customize UI.
2947
2948 2013-10-13 Glenn Morris <rgm@gnu.org>
2949
2950 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2951 Occur buffers are read-only. http://bugs.debian.org/720775
2952
2953 * emacs-lisp/authors.el (authors-fixed-entries):
2954 Comment out old alpha stuff.
2955
2956 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2957
2958 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2959 to `after-save-hook' instead of `before-save-hook'.
2960 (ruby-mode-set-encoding): Use the value of coding system used to
2961 write the file. Call `basic-save-buffer-1' after modifying the
2962 buffer.
2963
2964 2013-10-13 Alan Mackenzie <acm@muc.de>
2965
2966 Fix indentation/fontification of Java enum with
2967 "implements"/generic.
2968
2969 * progmodes/cc-engine.el (c-backward-over-enum-header):
2970 Extracted from the three other places and enhanced to handle generics.
2971 (c-inside-bracelist-p): Uses new function above.
2972 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2973 function above.
2974 (c-font-lock-enum-tail): Uses new function above.
2975
2976 2013-10-13 Kenichi Handa <handa@gnu.org>
2977
2978 * international/mule-cmds.el (select-safe-coding-system): Remove a
2979 superfluous condition in chekcing whether a coding system is safe
2980 or not.
2981
2982 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2983
2984 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2985
2986 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2987
2988 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2989
2990 2013-10-13 Glenn Morris <rgm@gnu.org>
2991
2992 * menu-bar.el (menu-bar-update-buffers):
2993 Unify Buffers menu prompt string. (Bug#15576)
2994
2995 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2996
2997 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2998 Add some entries.
2999 (authors-fixed-entries): Use accented form of name.
3000
3001 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3004 method calls (bug#15594).
3005 (ruby-smie--args-separator-p): New function.
3006 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3007 recognize paren-free method calls.
3008
3009 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3010 internals of universal-argument.
3011
3012 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3013
3014 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3015 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3016 dropped menu on second mouse click on the menu bar.
3017
3018 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3021 (explicit-shell-file-name): Declare.
3022 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3023 (sh-completion-at-point-function): New function.
3024 (sh-mode): Use it.
3025 (sh-smie--keyword-p): Remove unused argument.
3026 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3027 vars.
3028 (sh-set-shell): Always setup SMIE, even if we use the
3029 old indentation code.
3030
3031 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3032
3033 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3034 cases of ? and =.
3035 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3036 predicate would return nil are almost non-existent.
3037 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3038
3039 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3040 cache also after commands that modify the buffer but don't move
3041 point.
3042
3043 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * env.el (substitute-env-in-file-name): New function.
3046 (substitute-env-vars): Extend the meaning of the optional arg.
3047
3048 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3049
3050 * term/w32-win.el (dynamic-library-alist): Define separate lists
3051 of GIF DLLs for versions before and after 5.0.0 of giflib.
3052 (Bug#15531)
3053
3054 2013-10-10 João Távora <joaotavora@gmail.com>
3055
3056 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3057 not locked, use last revision and current source as
3058 defaults. (Bug#15569)
3059
3060 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3061
3062 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3063 menu-bar is hidden.
3064
3065 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3066
3067 * window.el (pop-to-buffer-same-window): Fix doc-string.
3068 (Bug#15492)
3069
3070 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3073
3074 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3075
3076 * calendar/icalendar.el (icalendar-import-file):
3077 Fix interactive spec. (Bug#15482)
3078
3079 2013-10-10 Glenn Morris <rgm@gnu.org>
3080
3081 * desktop.el (desktop-save): Default to saving in .emacs.d,
3082 since PWD is no longer in desktop-path by default. (Bug#15319)
3083
3084 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3085 now that text mode has a menu with the same entry.
3086 (menu-bar-text-mode-auto-fill): Remove now unused func.
3087 * textmodes/text-mode.el (text-mode-map):
3088 Use auto-fill help text from menu-bar.el.
3089
3090 2013-10-10 John Anthony <john@jo.hnanthony.com>
3091
3092 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3093
3094 2013-10-09 Juri Linkov <juri@jurta.org>
3095
3096 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3097 instead of this-command-keys. Add universal-argument-more and
3098 universal-argument-minus to the list of prefix commands. (Bug#15568)
3099
3100 2013-10-09 Glenn Morris <rgm@gnu.org>
3101
3102 * vc/vc-svn.el (vc-svn-create-repo):
3103 Expand paths in file://... url. (Bug#15446)
3104
3105 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3106 Add some entries.
3107 (authors): Remove unused local variables.
3108
3109 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * profiler.el: Create a more coherent calltree from partial backtraces.
3112 (profiler-format): Hide the tail with `invisible' so that C-s can still
3113 find the hidden elements.
3114 (profiler-calltree-depth): Don't recurse so enthusiastically.
3115 (profiler-function-equal): New hash-table-test.
3116 (profiler-calltree-build-unified): New function.
3117 (profiler-calltree-build): Use it.
3118 (profiler-report-make-name-part): Indent the calltree less.
3119 (profiler-report-mode): Add visibility specs for profiler-format.
3120 (profiler-report-expand-entry, profiler-report-toggle-entry):
3121 Expand the whole subtree when provided with a prefix arg.
3122
3123 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3124
3125 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3126 iuwu-mod token.
3127 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3128 hanging iuwu-mod token.
3129 (ruby-smie--forward-token): Do not include a dot after a token in
3130 that token.
3131 (ruby-smie--backward-token): Likewise.
3132
3133 2013-10-08 Juri Linkov <juri@jurta.org>
3134
3135 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3136 to isearch-other-control-char.
3137 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3138 and isearch-post-command-hook to post-command-hook.
3139 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3140 and isearch-post-command-hook from post-command-hook.
3141 (isearch-unread-key-sequence)
3142 (isearch-reread-key-sequence-naturally)
3143 (isearch-lookup-scroll-key, isearch-other-control-char)
3144 (isearch-other-meta-char): Remove functions.
3145 (isearch-pre-command-hook, isearch-post-command-hook):
3146 New functions based on isearch-other-meta-char rewritten
3147 relying on the new behavior of overriding-terminal-local-map
3148 that does not replace the local keymaps any more. (Bug#15200)
3149
3150 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3151
3152 Support menus on text-mode terminals.
3153 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3154 functionality.
3155
3156 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3157
3158 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3159 Move here from mouse.el.
3160 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3161 and arrow keys.
3162 (tty-menu-navigation-map): New map for TTY menu navigation.
3163
3164 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3165
3166 * frame.el (display-mouse-p): Report text-mode mouse as available
3167 on w32.
3168 (display-popup-menus-p): Report availability if mouse is
3169 available; don't condition on window-system.
3170
3171 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3172 (tty-menu-selected-face): New faces.
3173
3174 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3177 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3178 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3179 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3180 New constants.
3181 (lisp-mode-variables): New `elisp' argument.
3182 (emacs-lisp-mode): Use it.
3183 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3184 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3185
3186 * indent.el: Use lexical-binding.
3187 (indent-region): Add progress reporter.
3188 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3189 last step.
3190 (indent--next-tab-stop): New function to implement this behavior.
3191 (tab-to-tab-stop, move-to-tab-stop): Use it.
3192
3193 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3194
3195 * indent.el (indent-rigidly--current-indentation): New function.
3196 (indent-rigidly-map): New var.
3197 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3198
3199 2013-10-08 Bastien Guerry <bzg@gnu.org>
3200
3201 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3202
3203 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * progmodes/perl-mode.el: Use lexical-binding.
3206 Remove redundant :group args.
3207 (perl-nochange): Change default to be closer to other major modes's
3208 standard behavior.
3209 (perl-indent-line): Don't consider text on current line as a
3210 valid beginning of function from which to indent.
3211
3212 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3213 with more than one argument (bug#15538).
3214
3215 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3216
3217 * vc/pcvs.el: Use lexical-binding.
3218 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3219 environment of `eval'.
3220 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3221 than a list of expressions. Adjust callers.
3222 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3223
3224 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3225
3226 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3227 case of the dot in a chained method call being on the following line.
3228
3229 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * electric.el (electric-indent-inhibit): New var.
3232 (electric-indent-post-self-insert-function): Use it.
3233 * progmodes/python.el (python-mode): Set it.
3234
3235 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3236 open braces.
3237
3238 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3239
3240 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3241 (css-mode): Use electric-indent-chars.
3242
3243 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3244 (font-lock-beg, font-lock-end): Move before first use.
3245 (nxml-mode): Use syntax-propertize-function.
3246 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3247 (nxml-extend-after-change-region): Remove.
3248 * nxml/xmltok.el: Use lexical-binding.
3249 (xmltok-save): Use `declare'.
3250 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3251 * nxml/nxml-util.el: Use lexical-binding.
3252 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3253 Use `declare'.
3254 * nxml/nxml-ns.el: Use lexical-binding.
3255 (nxml-ns-save): Use `declare'.
3256 (nxml-ns-prefixes-for): Avoid add-to-list.
3257 * nxml/rng-match.el: Use lexical-binding.
3258 (rng--ipattern): Use cl-defstruct.
3259 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3260 (rng-cons-group-after, rng-subst-group-after)
3261 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3262 Use closures instead of `(lambda...).
3263
3264 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3265
3266 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3267 of BEG and END.
3268
3269 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3270 Use `tramp-handle-insert-file-contents'.
3271 (tramp-gvfs-handle-insert-file-contents): Remove function.
3272
3273 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3274 Use `save-restriction' in order to keep markers.
3275
3276 * net/trampver.el: Update release number.
3277
3278 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * progmodes/compile.el (compilation-parse-errors):
3281 Use compilation--put-prop.
3282 (compilation--ensure-parse): Check compilation-multiline.
3283
3284 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3285
3286 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3287 lexical-binding.
3288
3289 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3290
3291 * progmodes/ruby-mode.el: Fix recently added tests.
3292 (ruby-smie-grammar): Add - and +.
3293 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3294 (ruby-smie--backward-id): New functions.
3295 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3296 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3297 any more.
3298
3299 2013-10-07 Leo Liu <sdl.web@gmail.com>
3300
3301 * register.el (register-preview-delay)
3302 (register-preview-functions): New variables.
3303 (register-read-with-preview, register-preview)
3304 (register-describe-oneline): New functions.
3305 (point-to-register, window-configuration-to-register)
3306 (frame-configuration-to-register, jump-to-register)
3307 (number-to-register, view-register, insert-register)
3308 (copy-to-register, append-to-register, prepend-to-register)
3309 (copy-rectangle-to-register): Use register-read-with-preview to
3310 read register. (Bug#15525)
3311
3312 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3313
3314 * net/network-stream.el (network-stream-open-starttls): Don't add
3315 --insecure if it's already present, because that gnutls-cli
3316 rejects getting that parameter twice.
3317
3318 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3319
3320 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3321 keyword, too.
3322
3323 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * newcomment.el (comment-use-global-state): Change default value
3326 to t, mark obsolete (Bug#15251).
3327 (comment-beginning): In addition to `comment-to-syntax', check the
3328 value of `comment-use-global-state'.
3329
3330 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3333 (ruby-comment-column): Follow the global default, by default.
3334 (ruby-smie-grammar): Add assignment syntax.
3335 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3336 open-paren, a comma, or a \.
3337 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3338 and line continuations.
3339 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3340 followed by implicit semi-colons. Add rule for string concatenation
3341 and for indentation at BOB.
3342 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3343
3344 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3345 calling next-sexp, since next-token may have skipped chars which
3346 next-sexp doesn't know should be skipped!
3347
3348 2013-10-05 Leo Liu <sdl.web@gmail.com>
3349
3350 * progmodes/octave.el (octave-send-region):
3351 Call compilation-forget-errors.
3352
3353 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3354
3355 * vc/vc-svn.el (vc-svn-find-admin-dir):
3356 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3357 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3358 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3359 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3360
3361 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3364
3365 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * subr.el (read-passwd): Hide chars even when called within a context
3368 where after-change-functions is disabled (bug#15501).
3369 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3370 until we removed ourself from overriding-terminal-local-map.
3371
3372 2013-10-04 Leo Liu <sdl.web@gmail.com>
3373
3374 * progmodes/octave.el (inferior-octave-mode):
3375 Call compilation-forget-errors.
3376
3377 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3378
3379 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3380
3381 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3382
3383 * net/secrets.el (secrets-create-collection): Add optional
3384 argument ALIAS. Use proper Label keyword. Append ALIAS as
3385 dbus-call-method argument. (Bug#15516)
3386
3387 2013-10-04 Leo Liu <sdl.web@gmail.com>
3388
3389 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3390 (inferior-octave-compilation-font-lock-keywords): New variables.
3391 (compilation-error-regexp-alist)
3392 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3393 (inferior-octave-mode): Use compilation-shell-minor-mode.
3394
3395 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3396
3397 * minibuffer.el (completion--replace): Be careful that `end' might be
3398 a marker.
3399
3400 2013-10-03 Daiki Ueno <ueno@gnu.org>
3401
3402 Add support for package signature checking.
3403 * emacs-lisp/package.el (url-http-file-exists-p)
3404 (epg-make-context, epg-context-set-home-directory)
3405 (epg-verify-string, epg-context-result-for)
3406 (epg-signature-status, epg-signature-to-string)
3407 (epg-check-configuration, epg-configuration)
3408 (epg-import-keys-from-file): Declare.
3409 (package-check-signature): New user option.
3410 (package-unsigned-archives): New user option.
3411 (package-desc): Add `signed' field.
3412 (package-load-descriptor): Set `signed' field if .signed file exists.
3413 (package--archive-file-exists-p): New function.
3414 (package--check-signature): New function.
3415 (package-install-from-archive): Check package signature.
3416 (package--download-one-archive): Check archive signature.
3417 (package-delete): Remove .signed file.
3418 (package-import-keyring): New command.
3419 (package-refresh-contents): Import default keyring.
3420 (package-desc-status): Add "unsigned" status.
3421 (describe-package-1, package-menu--print-info)
3422 (package-menu-mark-delete, package-menu--find-upgrades)
3423 (package-menu--status-predicate): Support "unsigned" status.
3424
3425 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3428 the new compilation scheme using the new byte-codes.
3429
3430 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3431 (byte-pophandler): New byte codes.
3432 (byte-goto-ops): Adjust accordingly.
3433 (byte-compile--use-old-handlers): New var.
3434 (byte-compile-catch): Use new byte codes depending on
3435 byte-compile--use-old-handlers.
3436 (byte-compile-condition-case--old): Rename from
3437 byte-compile-condition-case.
3438 (byte-compile-condition-case--new): New function.
3439 (byte-compile-condition-case): New function that dispatches depending
3440 on byte-compile--use-old-handlers.
3441 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3442 when we can.
3443
3444 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3445 Optimize under `condition-case' and `catch' if
3446 byte-compile--use-old-handlers is nil.
3447 (disassemble-offset): Handle new bytecodes.
3448
3449 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * subr.el (error): Use `declare'.
3452 (decode-char, encode-char): Use advertised-calling-convention instead
3453 of the docstring to discourage use of the `restriction' arg.
3454
3455 2013-10-03 Daiki Ueno <ueno@gnu.org>
3456
3457 * epg.el (epg-verify-file): Add a comment saying that it does not
3458 notify verification error as a return value nor a signal.
3459 (epg-verify-string): Ditto.
3460
3461 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3462
3463 * progmodes/compile.el (compilation-start): Try globbing the arg to
3464 `cd' (bug#15417).
3465
3466 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3467
3468 Sync with Tramp 2.2.8.
3469
3470 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3471 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3472 * net/trampver.el: Update release number.
3473
3474 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3475
3476 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3477 and default-process-coding-system for darwin only.
3478
3479 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3482
3483 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3484
3485 * vc/vc-git.el (vc-git-grep): Disable pager.
3486
3487 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3488
3489 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3490 Use :url instead of :homepage, as per
3491 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3492
3493 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3494 non-nil, use `syntax-ppss' (Bug#15251).
3495
3496 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3497
3498 * progmodes/octave.el (inferior-octave-startup-file):
3499 Prefer ~/.emacs.d/init_octave.m.
3500
3501 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3502
3503 * emacs-lisp/package.el (package-desc-from-define):
3504 Accept additional arguments as plist, convert them to an alist and store
3505 them in the `extras' slot.
3506 (package-generate-description-file): Convert extras alist back to
3507 plist and append to the `define-package' form arguments.
3508 (package--alist-to-plist): New function.
3509 (package--ac-desc): Add `extras' slot.
3510 (package--add-to-archive-contents): Check if the archive-contents
3511 vector is long enough, and if it is, pass its `extras' slot value
3512 to `package-desc-create'.
3513 (package-buffer-info): Call `lm-homepage', pass the returned value
3514 to `package-desc-from-define'.
3515 (describe-package-1): Render the homepage button (Bug#13291).
3516
3517 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3518 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3519
3520 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3521
3522 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3523 and default-process-coding-system to utf-8-unix (Bug#15402).
3524
3525 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3526
3527 * subr.el (looking-back): Do not recommend using looking-back.
3528
3529 2013-09-28 Alan Mackenzie <acm@muc.de>
3530
3531 Fix indentation/fontification of Java enum with "implements".
3532
3533 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3534 regexp which matches "implements", etc., in Java.
3535 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3536 specifier clauses coming after "enum".
3537 * progmodes/cc-fonts.el (c-font-lock-declarations)
3538 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3539 after "enum".
3540
3541 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3542
3543 * faces.el (region): Change ns_selection_color to
3544 ns_selection_fg_color, add ns_selection_bg_color.
3545
3546 2013-09-28 Leo Liu <sdl.web@gmail.com>
3547
3548 * progmodes/octave.el (inferior-octave-completion-table)
3549 (inferior-octave-completion-at-point): Minor tweaks.
3550
3551 * textmodes/ispell.el (ispell-lookup-words): Rename from
3552 lookup-words. (Bug#15460)
3553 (lookup-words): Obsolete.
3554 (ispell-complete-word, ispell-command-loop): All uses changed.
3555
3556 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3557
3558 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3559 (octave-mode-menu): Add octave-send-buffer.
3560 (octave-send-buffer): New function.
3561
3562 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3563
3564 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3565 octave-lookfor.
3566 (octave-mode-menu): Add octave-lookfor.
3567 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3568 octave-lookfor.
3569 (octave-lookfor): New function.
3570
3571 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/cl-macs.el:
3574 (cl--loop-destr-temps): Remove.
3575 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3576 its convention.
3577 (cl--loop-set-iterator-function): New function.
3578 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3579 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3580 Bind `it' with `let' instead of substituting it with `cl-subst'.
3581 (cl--unused-var-p): New function.
3582 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3583 Eliminate some unused variable warnings (bug#15326).
3584
3585 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3586
3587 * doc-view.el (doc-view-scale-reset): Rename from
3588 `doc-view-reset-zoom-level'.
3589 (doc-view-scale-adjust): New command.
3590 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3591 `doc-view-scale-adjust'.
3592
3593 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3594
3595 * doc-view.el (doc-view-reset-zoom-level): New command.
3596 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3597 zoom commands (bug#15466).
3598
3599 2013-09-26 Kenichi Handa <handa@gnu.org>
3600
3601 * international/quail.el (quail-help): Make it not a command.
3602
3603 2013-09-26 Leo Liu <sdl.web@gmail.com>
3604
3605 * minibuffer.el (completion-all-sorted-completions): Make args
3606 optional as they are.
3607
3608 2013-09-25 Daniel Colascione <dancol@dancol.org>
3609
3610 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3611 specs are and that they're not evaluated.
3612
3613 2013-09-24 Sam Steingold <sds@gnu.org>
3614
3615 * midnight.el (clean-buffer-list-kill-regexps)
3616 (clean-buffer-list-kill-buffer-names): Update for the new Man
3617 buffer naming which includes the object name.
3618
3619 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3622 (eshell-parse-command, eshell-parse-pipeline): Use it since
3623 eshell-separate-commands requires a dynamic scoped var.
3624 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3625
3626 2013-09-23 Leo Liu <sdl.web@gmail.com>
3627
3628 * autoinsert.el (auto-insert-alist): Make the value of
3629 lexical-binding match its file setting.
3630
3631 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3632
3633 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3634
3635 * autoarg.el (autoarg-kp-digit-argument):
3636 * electric.el (Electric-command-loop):
3637 * kmacro.el (kmacro-step-edit-insert):
3638 Do not set universal-argument-num-events.
3639
3640 2013-09-22 Leo Liu <sdl.web@gmail.com>
3641
3642 * files.el (interpreter-mode-alist): Add octave.
3643
3644 2013-09-21 Alan Mackenzie <acm@muc.de>
3645
3646 C++: fontify identifier in declaration following "public:" correctly.
3647 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3648 to match "public", etc.
3649 (c-decl-prefix-re): Add ":" into the C++ value.
3650 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3651 bit. Add a check for a ":" preceded by "public", etc.
3652
3653 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3654
3655 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3656 recognized by GDB 7.5 and later.
3657
3658 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3659
3660 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3661
3662 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * subr.el (internal--call-interactively): New const.
3665 (called-interactively-p): Use it (bug#3984).
3666
3667 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3668
3669 * vc/pcvs.el (cvs-mode-ignore):
3670 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3671 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3672
3673 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3676 (eshell-ls-orig-insert-directory): Remove.
3677 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3678 (eshell-ls-use-in-dired): Use advice-add/remove.
3679 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3680 Add `orig-fun' arg for use in :around advice.
3681 Make it check (redundantly) eshell-ls-use-in-dired.
3682
3683 2013-09-19 Glenn Morris <rgm@gnu.org>
3684
3685 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3686
3687 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3688
3689 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3690
3691 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3692
3693 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3694 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3695 (tramp-get-remote-python): New defuns.
3696 (tramp-get-remote-uid-with-perl)
3697 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3698 contributed by yary <not.com@gmail.com> (tiny change).
3699 (tramp-get-remote-uid-with-python)
3700 (tramp-get-remote-gid-with-python): New defuns. Python code
3701 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3702 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3703
3704 2013-09-19 Glenn Morris <rgm@gnu.org>
3705
3706 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3707
3708 * eshell/em-unix.el (eshell-remove-entries):
3709 Rename argument to avoid name-clash with global `top-level'.
3710
3711 * eshell/esh-proc.el (eshell-kill-process-function):
3712 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3713 (eshell-reset-after-proc): Remove unused arg `proc'.
3714
3715 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3716 (directory-files-and-attributes): Mark unused arg.
3717
3718 * eshell/em-unix.el (eshell-remove-entries):
3719 Remove unused arg `path'. Update callers.
3720
3721 * eshell/em-hist.el (eshell-hist-parse-arguments):
3722 Remove unused arg `silent'. Update callers.
3723
3724 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3725 Fix (f)boundp mix-up.
3726
3727 * eshell/em-smart.el (eshell-smart-scroll-window)
3728 (eshell-disable-after-change):
3729 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3730
3731 2013-09-18 Alan Mackenzie <acm@muc.de>
3732
3733 Fix fontification of type when followed by "const".
3734 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3735 "known" types from fontification.
3736
3737 2013-09-18 Glenn Morris <rgm@gnu.org>
3738
3739 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3740 (chart-face-list): Drop Emacsen without display-color-p.
3741
3742 * net/eww.el (libxml-parse-html-region): Declare.
3743 (eww-display-html): Explicit error if no libxml2 support.
3744
3745 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3746
3747 * image.el (image-type-from-buffer, image-multi-frame-p):
3748 Remove --without-x warning/error.
3749
3750 * mouse.el (mouse-yank-primary):
3751 * term.el (term-mouse-paste):
3752 Reorder to silence --without-x compilation.
3753
3754 * mpc.el (doc-view-mode): Silence --without-x compilation.
3755
3756 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3757 Silence --without-x compilation.
3758
3759 * progmodes/gud.el (gud-find-file, gud-mode):
3760 Silence --without-x compilation.
3761 (tooltip-mode): Declare.
3762
3763 * wdired.el (dired-backup-overwrite): Remove declaration.
3764 (wdired-mode-map): Add doc string.
3765
3766 * custom.el (x-get-resource): Declare.
3767
3768 * eshell/em-glob.el (ange-cache):
3769 * eshell/em-unix.el (ange-cache): Declare.
3770
3771 * faces.el (x-display-list, x-open-connection, x-get-resource):
3772 Declare.
3773
3774 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3775 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3776 Declare.
3777
3778 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3779
3780 * net/gnutls.el (gnutls-log-level): Declare.
3781
3782 * net/shr.el (image-size, image-animate): Declare.
3783
3784 * simple.el (font-info): Declare.
3785
3786 * subr.el (x-popup-dialog): Declare.
3787
3788 * term/common-win.el (x-select-enable-primary)
3789 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3790 Declare.
3791
3792 * term/ns-win.el (x-handle-args): Declare.
3793
3794 * term/x-win.el (x-select-enable-clipboard): Declare.
3795
3796 * term/w32-win.el (create-default-fontset): Declare.
3797
3798 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3799 Declare.
3800
3801 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3802 (fit-frame-to-buffer): Explicit error if --without-x.
3803 (mouse-autoselect-window-select): Silence compiler.
3804
3805 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3806
3807 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3808 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3809 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3810 * eshell/esh-util.el (eshell-sublist):
3811 Remove unused local variables.
3812
3813 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3814
3815 * textmodes/two-column.el: Make 2C-split work for --without-x.
3816 (scroll-bar-columns): Autoload.
3817 (top-level): Require fringe when compiling.
3818
3819 2013-09-18 Leo Liu <sdl.web@gmail.com>
3820
3821 * subr.el (add-hook): Robustify to handle closure as well.
3822
3823 2013-09-17 Glenn Morris <rgm@gnu.org>
3824
3825 * simple.el (messages-buffer-mode-map): Unbind "g".
3826
3827 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * help-mode.el (help-mode-finish): Use derived-mode-p.
3830 Remove obsolete highlighting.
3831
3832 * play/life.el (life-mode): Use define-derived-mode. Derive from
3833 special-mode.
3834 (life): Let-bind inhibit-read-only.
3835 (life-setup): Avoid `setq'. Use `life-mode'.
3836
3837 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3838 which should not be needed any more.
3839 (package-menu-refresh, package-menu-describe-package): Use user-error.
3840
3841 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3842 (eshell-post-rewrite-command-hook): Make obsolete.
3843 (eshell-parse-command): Simplify.
3844 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3845 (eshell--cmd): Declare.
3846 (eshell-parse-pipeline): Remove unused var `final-p'.
3847 Pass a dynvar to eshell-post-rewrite-command-hook.
3848 Implement the new eshell-post-rewrite-command-function.
3849 (eshell-invoke-directly): Remove unused arg `input'.
3850 * eshell/esh-io.el (eshell-io-initialize):
3851 Use eshell-post-rewrite-command-function (bug#15399).
3852 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3853 adjust to new calling convention.
3854 (eshell-create-handles): Rename args to avoid clashing with dynvar
3855 `standard-output'.
3856
3857 2013-09-17 Glenn Morris <rgm@gnu.org>
3858
3859 * simple.el (messages-buffer-mode): New major mode.
3860 (messages-buffer): New function.
3861 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3862 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3863 (ert-run-test): Use `messages-buffer' function.
3864 (ert--force-message-log-buffer-truncation): Ignore read-only.
3865 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3866 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3867
3868 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3871
3872 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3873
3874 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * icomplete.el (icomplete-in-buffer): New var.
3877 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3878 vars and replace them with functions.
3879 (icomplete-minibuffer-setup): Adjust accordingly.
3880 (icomplete--completion-table, icomplete--completion-predicate)
3881 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3882 New functions.
3883 (icomplete-forward-completions, icomplete-backward-completions)
3884 (icomplete-simple-completing-p, icomplete-exhibit)
3885 (icomplete-completions): Use them.
3886 (icomplete--in-region-buffer): New var.
3887 (icomplete--in-region-setup): New function.
3888 (icomplete-mode): Use it.
3889
3890 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3891 (bug#15379).
3892 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3893 return args and options.
3894 (eshell-eval-using-options): Use the new return value of
3895 eshell--do-opts to set the options's vars in their scope.
3896 (eshell--set-option): Rename from eshell-set-option.
3897 Add arg `opt-vals'.
3898 (eshell--process-option): Rename from eshell-process-option.
3899 Add arg `opt-vals'.
3900 (eshell--process-args): Use an `opt-vals' alist to store the options's
3901 values during their processing and return them additionally to the
3902 remaining args.
3903
3904 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3905
3906 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3907 continuation character an operator, as far as indentation is
3908 concerned (Bug#15369).
3909
3910 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3911
3912 * window.el (window--state-put-2): Don't process buffer state
3913 when buffer doesn't exist any more (Bug#15382).
3914
3915 2013-09-15 Glenn Morris <rgm@gnu.org>
3916
3917 * eshell/em-unix.el (eshell/rm):
3918 Make -f ignore missing files. (Bug#15373)
3919
3920 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3921 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3922 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3923
3924 2013-09-14 Glenn Morris <rgm@gnu.org>
3925
3926 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3927
3928 2013-09-13 Glenn Morris <rgm@gnu.org>
3929
3930 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3931 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3932
3933 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3934
3935 * frame.el (x-focus-frame): Mark as declared in frame.c.
3936
3937 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * ls-lisp.el: Use advice-add.
3940 (original-insert-directory): Remove.
3941 (ls-lisp--insert-directory): Rename from insert-directory; add
3942 `orig-fun' argument.
3943 (insert-directory): Advise.
3944
3945 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3946
3947 * term.el (term-emulate-terminal): Decode the command string
3948 before passing it to term-command-hook. (Bug#15337)
3949
3950 2013-09-13 Glenn Morris <rgm@gnu.org>
3951
3952 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3953
3954 * eshell/esh-ext.el (eshell-search-path): Declare.
3955
3956 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3957 Otherwise an error occurs if eshell-dirs module not loaded.
3958
3959 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3960
3961 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3962
3963 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3964 `tramp-check-proper-host'. Check for a valid method name.
3965
3966 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3967 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3968 * net/tramp-sh.el (tramp-maybe-open-connection):
3969 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3970
3971 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3972 also for hash values.
3973
3974 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * term/ns-win.el (parameters): Don't declare as dynamic.
3977 (before-make-frame-hook): Don't add ineffective function.
3978
3979 * eshell/*.el: Use lexical-binding (bug#15231).
3980
3981 2013-09-12 Kenichi Handa <handa@gnu.org>
3982
3983 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3984
3985 2013-09-12 Glenn Morris <rgm@gnu.org>
3986
3987 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3988 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3989
3990 * subr.el (do-after-load-evaluation): Also give compiler warnings
3991 when obsolete files are used (except by obsolete files).
3992
3993 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3994 in the status output, assume `filename' is the first. (Bug#15322)
3995
3996 * vc/vc.el (vc-deduce-fileset): Doc fix.
3997
3998 * calc/calc-help.el (Info-goto-node):
3999 * progmodes/cperl-mode.el (Info-find-node):
4000 * vc/ediff.el (Info-goto-node): Update declarations.
4001
4002 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4003
4004 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4005 (vc-bzr-pull): Require vc-dispatcher.
4006 * vc/vc-git.el (vc-compilation-mode): Declare.
4007 (vc-git-pull): Require vc-dispatcher.
4008
4009 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4010
4011 * progmodes/octave.el (help-button-action): Declare.
4012
4013 * shell.el (shell-directory-tracker): Output error as a message
4014 rather than just returning it as a string.
4015 (shell-process-pushd): Remove useless use of message.
4016
4017 * dframe.el (dframe-timer-fn):
4018 * files.el (dir-locals-read-from-file):
4019 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4020 (mpc-format):
4021 * reveal.el (reveal-post-command):
4022 * saveplace.el (load-save-place-alist-from-file):
4023 * shell.el (shell-resync-dirs):
4024 * w32-common-fns.el (x-get-selection-value):
4025 * emacs-lisp/copyright.el (copyright-find-copyright):
4026 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4027 * emulation/tpu-edt.el (tpu-copy-keyfile):
4028 * play/bubbles.el (bubbles--mark-neighbourhood):
4029 * progmodes/executable.el
4030 (executable-make-buffer-file-executable-if-script-p):
4031 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4032
4033 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 Cleanup Eshell to rely less on dynamic scoping.
4036 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4037 last-value, and ext-command here. Bind `args' closer to `body'.
4038 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4039 (eshell--args): Declare new dynamic var.
4040 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4041 last-value, and ext-command. Pass `args' to `body'.
4042 (eshell-process-args): Bind eshell--args.
4043 (eshell-set-option): Use eshell--args.
4044 * eshell/eshell.el (eshell): Use derived-mode-p.
4045 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4046 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4047 (eshell-glob-function): Declare.
4048 * eshell/esh-util.el: Require cl-lib.
4049 (eshell-read-hosts-file): Avoid add-to-list.
4050 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4051 `err'.
4052 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4053 Declare.
4054 (eshell/diff): Remove unused var `err'.
4055 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4056 `killflag'.
4057 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4058 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4059 first use.
4060 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4061 Move declaration before first use.
4062 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4063 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4064 rely on cl-return.
4065
4066 2013-09-12 Glenn Morris <rgm@gnu.org>
4067
4068 * term/ns-win.el (global-map): Remove binding for ispell-next,
4069 deleted 1999-05-29. (Bug#15357)
4070
4071 2013-09-11 Glenn Morris <rgm@gnu.org>
4072
4073 * echistory.el (electric-command-history): Remove call to deleted func.
4074
4075 * play/landmark.el (landmark-mode): Fix typos.
4076
4077 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4078 Check cvs-sort-ignore-file is bound.
4079
4080 * savehist.el: No need for cl when compiling on Emacs.
4081
4082 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4085 (bug#15338).
4086 (eshell-self-insert-command, eshell-send-invisible):
4087 Remove unused argument.
4088 (eshell-handle-control-codes): Remove unused var `orig'.
4089 Avoid delete-backward-char.
4090
4091 * files.el (set-auto-mode): Simplify a bit further.
4092
4093 2013-09-11 Glenn Morris <rgm@gnu.org>
4094
4095 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4096 (set-auto-mode): Don't regexp-quote elements.
4097 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4098 * progmodes/cc-mode.el (interpreter-mode-alist):
4099 * progmodes/ruby-mode.el (interpreter-mode-alist):
4100 Revert previous change.
4101
4102 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * play/snake.el (snake-mode):
4105 * play/mpuz.el (mpuz-mode):
4106 * play/landmark.el (lm-mode):
4107 * play/blackbox.el (blackbox-mode):
4108 * play/5x5.el (5x5-mode):
4109 * obsolete/options.el (Edit-options-mode):
4110 * net/quickurl.el (quickurl-list-mode):
4111 * net/newst-treeview.el (newsticker-treeview-mode):
4112 * mail/rmailsum.el (rmail-summary-mode):
4113 * mail/mspools.el (mspools-mode):
4114 * locate.el (locate-mode):
4115 * ibuffer.el (ibuffer-mode):
4116 * emulation/ws-mode.el (wordstar-mode):
4117 * emacs-lisp/debug.el (debugger-mode):
4118 * array.el (array-mode):
4119 * net/eudc.el (eudc-mode): Use define-derived-mode.
4120 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4121 Move initialization into declaration.
4122 (mairix-searches-mode): Use define-derived-mode.
4123 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4124 (eudc-edit-hotlist): Use dolist.
4125 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4126 (Man-mode): Use define-derived-mode.
4127 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4128 (Info-edit-mode): Use define-derived-mode.
4129 (Info-cease-edit): Use Info-mode.
4130 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4131 into declaration.
4132 (eshell-mode): Use define-derived-mode.
4133 * chistory.el (command-history-mode-map): Rename from
4134 command-history-map.
4135 (command-history-mode): Use define-derived-mode.
4136 (Command-history-setup): Remove function.
4137 * calc/calc.el (calc-trail-mode-map): New var.
4138 (calc-trail-mode): Use define-derived-mode.
4139 (calc-trail-buffer): Set calc-main-buffer manually.
4140 * bookmark.el (bookmark-insert-annotation): New function.
4141 (bookmark-edit-annotation): Use it.
4142 (bookmark-edit-annotation-mode): Make it a proper major mode.
4143 (bookmark-send-edited-annotation): Use derived-mode-p.
4144 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4145 closer to its ideal place. Use \' to match EOS.
4146
4147 * profiler.el (profiler-calltree-find): Use function-equal.
4148
4149 2013-09-10 Glenn Morris <rgm@gnu.org>
4150
4151 * files.el (interpreter-mode-alist): Convert to regexps.
4152 (set-auto-mode): Adapt for this. (Bug#15306)
4153 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4154 Comment out unused variable.
4155 * progmodes/cc-mode.el (interpreter-mode-alist):
4156 * progmodes/python.el (interpreter-mode-alist):
4157 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4158 * progmodes/sh-script.el (sh-set-shell):
4159 No longer use interpreter-mode-alist to get list of shells.
4160
4161 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4162
4163 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * simple.el: Use set-temporary-overlay-map for universal-argument.
4166 (universal-argument-map): Don't use default-bindings (bug#15317).
4167 Bind switch-frame explicitly. Replace universal-argument-minus with
4168 a conditional binding.
4169 (universal-argument-num-events, saved-overriding-map): Remove.
4170 (restore-overriding-map): Remove.
4171 (universal-argument--mode): Rename from save&set-overriding-map,
4172 and rewrite.
4173 (universal-argument, universal-argument-more, negative-argument)
4174 (digit-argument): Adjust accordingly.
4175 (universal-argument-minus): Remove.
4176 (universal-argument-other-key): Remove.
4177
4178 * subr.el (with-demoted-errors): Add `format' argument.
4179
4180 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4183 `tramp-cleanup-connection'.
4184
4185 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4186 parameters KEEP-DEBUG and KEEP-PASSWORD.
4187
4188 * net/tramp.el (tramp-file-name-handler):
4189 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4190 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4191 (tramp-maybe-open-connection):
4192 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4193 Use `tramp-cleanup-connection'.
4194
4195 * net/tramp-sh.el (tramp-maybe-open-connection):
4196 Catch 'uname-changed inside the progress reporter.
4197
4198 2013-09-10 Glenn Morris <rgm@gnu.org>
4199
4200 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4201
4202 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4203 returns "alternate access method" in mode (eg "-rw-r--r--.").
4204
4205 2013-09-08 Glenn Morris <rgm@gnu.org>
4206
4207 * saveplace.el (load-save-place-alist-from-file):
4208 Demote errors. (Bug#15305)
4209
4210 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4211
4212 Improve compatibility with older Emacsen, and XEmacs.
4213
4214 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4215 only if it is bound. It isn't for XEmacs.
4216 (with-tramp-progress-reporter): Do not let-bind `result'.
4217 This yields to scoping errors in XEmacs.
4218 (tramp-handle-make-auto-save-file-name): New function, moved from
4219 tramp-sh.el.
4220
4221 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4222 for `make-auto-save-file-name'.
4223 (tramp-adb--gnu-switches-to-ash):
4224 Use `tramp-compat-replace-regexp-in-string'.
4225
4226 * net/tramp-cache.el (tramp-cache-print): Call
4227 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4228
4229 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4230 bound. It isn't for XEmacs.
4231
4232 * net/tramp-compat.el (tramp-compat-copy-file):
4233 Catch `wrong-number-of-arguments' error.
4234 (tramp-compat-replace-regexp-in-string): New defun.
4235
4236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4237 for `make-auto-save-file-name'.
4238 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4239 `copy-file'.
4240 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4241 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4242 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4243
4244 * net/tramp-gw.el (tramp-gw-open-network-stream):
4245 Use `tramp-compat-replace-regexp-in-string'.
4246
4247 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4248 Call `tramp-handle-make-auto-save-file-name'.
4249 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4250 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4251 (tramp-sh-file-inotifywait-process-filter):
4252 Use `tramp-compat-replace-regexp-in-string'.
4253 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4254
4255 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4256 for `make-auto-save-file-name'.
4257 (tramp-smb-handle-copy-directory):
4258 Call `tramp-compat-replace-regexp-in-string'.
4259 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4260 (tramp-smb-handle-copy-file): Improve error message.
4261 (tramp-smb-handle-rename-file): Rename directly only in case
4262 `newname' does not exist yet. This is a restriction of smbclient.
4263 (tramp-smb-maybe-open-connection): Rerun the function only when
4264 `auth-sources' is non-nil.
4265
4266 2013-09-08 Kenichi Handa <handa@gnu.org>
4267
4268 * international/characters.el: Set category "^" (Combining) for
4269 more characters.
4270
4271 2013-09-07 Alan Mackenzie <acm@muc.de>
4272
4273 Correctly fontify Java class constructors.
4274 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4275 in Java Mode.
4276 (c-recognize-typeless-decls): Set the Java value to t.
4277 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4278 While handling a "(", add a check for, effectively, Java, and handle a
4279 "typeless" declaration there.
4280
4281 2013-09-07 Roland Winkler <winkler@gnu.org>
4282
4283 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4284 field subtitle for entry type book.
4285
4286 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * minibuffer.el: Make minibuffer-complete call completion-in-region
4289 rather than other way around.
4290 (completion--some, completion-pcm--find-all-completions):
4291 Don't delay signals when debugging.
4292 (minibuffer-completion-contents): Beware fields within the
4293 minibuffer contents.
4294 (completion-all-sorted-completions): Use defvar-local.
4295 (completion--do-completion, completion--cache-all-sorted-completions)
4296 (completion-all-sorted-completions, minibuffer-force-complete):
4297 Add args `beg' and `end'.
4298 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4299 (minibuffer-complete): Use completion-in-region.
4300 (completion-complete-and-exit): New fun, extracted from
4301 minibuffer-complete-and-exit.
4302 (minibuffer-complete-and-exit): Use it.
4303 (completion--complete-and-exit): Rename from
4304 minibuffer--complete-and-exit.
4305 (completion-in-region--single-word): New function, extracted from
4306 minibuffer-complete-word.
4307 (minibuffer-complete-word): Use it.
4308 (display-completion-list): Make `common-substring' argument obsolete.
4309 (completion--in-region): Call completion--in-region-1 instead of
4310 minibuffer-complete.
4311 (completion-help-at-point): Pass boundaries to
4312 minibuffer-completion-help as args rather than via an overlay.
4313 (completion-pcm--string->pattern): Use `any-delim'.
4314 (completion-pcm--optimize-pattern): New function.
4315 (completion-pcm--pattern->regex): Handle `any-delim'.
4316 * icomplete.el (icomplete-forward-completions)
4317 (icomplete-backward-completions, icomplete-completions):
4318 Adjust calls to completion-all-sorted-completions and
4319 completion--cache-all-sorted-completions.
4320 (icomplete-with-completion-tables): Default to t.
4321 * emacs-lisp/crm.el (crm--current-element): Rename from
4322 crm--select-current-element. Don't put an overlay but return the
4323 boundaries instead.
4324 (crm--completion-command): Take two new args to bind to the boundaries.
4325 (crm-completion-help): Adjust accordingly.
4326 (crm-complete): Use completion-in-region.
4327 (crm-complete-word): Use completion-in-region--single-word.
4328 (crm-complete-and-exit): Use completion-complete-and-exit.
4329
4330 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4333 than dynamically.
4334
4335 2013-09-06 Juri Linkov <juri@jurta.org>
4336
4337 * info.el (Info-display-images-node): When image file doesn't exist
4338 display text version of the image if it's provided in the Info file.
4339 Otherwise, display the location of missing image from SRC attribute.
4340 Add help-echo text property from ALT attribute. (Bug#15279)
4341
4342 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4345 (edit-abbrevs-mode): Use define-derived-mode.
4346
4347 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4348 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4349 that it's defined.
4350 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4351 Use define-derived-mode.
4352
4353 * epg.el (epg-start-encrypt): Minor CSE simplification.
4354
4355 2013-09-06 William Xu <william.xwl@gmail.com>
4356
4357 * arc-mode.el: Add support for 7za (bug#15264).
4358 (archive-7z-program): New var.
4359 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4360 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4361 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4362
4363 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4364
4365 Remove URL syntax.
4366
4367 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4368 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4369 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4370 (tramp-postfix-host-format, tramp-file-name-regexp)
4371 (tramp-completion-file-name-regexp)
4372 (tramp-completion-dissect-file-name)
4373 (tramp-handle-substitute-in-file-name): Remove 'url case.
4374 (tramp-file-name-regexp-url)
4375 (tramp-completion-file-name-regexp-url): Remove constants.
4376
4377 2013-09-06 Glenn Morris <rgm@gnu.org>
4378
4379 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4380
4381 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4382
4383 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4384 keywords" below "here-doc beginnings" (Bug#15270).
4385
4386 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * subr.el (pop): Use `car-safe'.
4389 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4390 to detect unused `pop' return value.
4391
4392 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4393 var `block-regexp'.
4394 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4395 (python-fill-string): Remove unused var `marker'.
4396 (python-skeleton-add-menu-items): Remove unused var `items'.
4397
4398 * international/mule-cmds.el: Require CL.
4399 (find-coding-systems-for-charsets): Avoid add-to-list.
4400 (sanitize-coding-system-list): New function, extracted from
4401 select-safe-coding-system-interactively.
4402 (select-safe-coding-system-interactively): Use it.
4403 (read-input-method-name): Accept symbols for `default'.
4404
4405 * emacs-lisp/advice.el (defadvice): Add indent rule.
4406
4407 2013-09-05 Daniel Hackney <dan@haxney.org>
4408
4409 * dired-x.el:
4410 * net/ange-ftp.el:
4411 * net/browse-url.el:
4412 * net/dbus.el:
4413 * net/eudc.el:
4414 * net/eudcb-ldap.el:
4415 * net/eww.el:
4416 * net/imap.el:
4417 * printing.el:
4418 * vc/ediff-diff.el:
4419 * vc/ediff-init.el:
4420 * vc/ediff-merg.el:
4421 * vc/ediff-mult.el:
4422 * vc/ediff-util.el:
4423 * vc/ediff-wind.el:
4424 * vc/ediff.el:
4425 * vc/emerge.el:
4426 * vc/pcvs.el:
4427 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4428 byte compiler. Remove some unused let-bound variables.
4429
4430 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4433 a "ref-cell", since it gets better optimized (bug#14883).
4434
4435 2013-09-05 Glenn Morris <rgm@gnu.org>
4436
4437 * progmodes/cc-awk.el (c-forward-sws): Declare.
4438
4439 2013-09-04 Glenn Morris <rgm@gnu.org>
4440
4441 * generic-x.el [rul-generic-mode]: Require cc-mode.
4442 (c++-mode-syntax-table): Declare.
4443 (rul-generic-mode-syntax-table): Init in the defvar.
4444
4445 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4448 (vc-do-command, vc-set-async-update):
4449 * vc/vc-mtn.el (vc-mtn-dir-status):
4450 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4451 (vc-hg-pull, vc-hg-merge-branch):
4452 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4453 (vc-git-merge-branch):
4454 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4455 (vc-cvs-dir-status-files):
4456 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4457 (vc-bzr-dir-status-files):
4458 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4459 * vc/vc-annotate.el: Use lexical-binding.
4460 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4461 (vc-sentinel-movepoint): Declare.
4462 (vc-annotate): Don't use `goto-line'.
4463 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4464 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4465 (vc-sentinel-movepoint): Declare.
4466 * vc/vc-svn.el: Use lexical-binding.
4467 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4468 * vc/vc-sccs.el:
4469 * vc/vc-rcs.el: Use lexical-binding.
4470
4471 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4472 `deleted'. Don't drop errors silently.
4473
4474 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4475
4476 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4477
4478 * vc/vc.el (vc-ignore): Rewrite.
4479 (vc-default-ignore): New function.
4480 (vc-default-ignore-completion-table): Use find-ignore-file.
4481
4482 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4483 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4484 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4485 Remove. Most code moved to vc.el.
4486
4487 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4490 * net/tramp-smb.el (tramp-smb-get-file-entries):
4491 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4492 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4493
4494 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4495 Update call to it.
4496 (eww-change-select): Remove unused var `properties'.
4497 (eww-make-unique-file-name): Remove unused var `base'.
4498
4499 * finder.el (finder-compile-keywords): Don't mess with windows.
4500
4501 * calculator.el (calculator-funcall): Fix typo in last change.
4502
4503 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4504
4505 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4506 <pkg>-autoloads.el file stop us.
4507
4508 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4509 warnings, and factor out common code.
4510
4511 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4512
4513 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4514 two-character operators and whether the character preceding them
4515 changes their meaning (Bug#15208).
4516
4517 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4518
4519 Format code sent to Python shell for robustness.
4520 * progmodes/python.el (python-shell-buffer-substring):
4521 New function.
4522 (python-shell-send-region, python-shell-send-buffer): Use it.
4523
4524 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4525
4526 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4527 * net/tramp.el (tramp-user-error): ... here.
4528 (tramp-find-method, tramp-check-proper-host)
4529 (tramp-dissect-file-name, tramp-debug-message)
4530 (tramp-handle-shell-command):
4531 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4532 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4533
4534 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4535
4536 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4537
4538 * avoid.el (mouse-avoidance-point-position)
4539 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4540 returns nil.
4541
4542 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4543
4544 * progmodes/python.el (python-shell-completion-get-completions):
4545 Drop use of deleted `comint-last-prompt-overlay'.
4546 (python-nav-if-name-main): New command.
4547
4548 2013-09-01 Glenn Morris <rgm@gnu.org>
4549
4550 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4551 Avoid leading space in $wins. Otherwise the sed command used by
4552 eg compile-main ends up containing "/*.el". (Bug#15170)
4553
4554 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4555
4556 2013-08-30 Glenn Morris <rgm@gnu.org>
4557
4558 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4559 Fix is-this-a-directory logic. (Bug#15220)
4560
4561 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * textmodes/css-mode.el: Use SMIE.
4564 (css-smie-grammar): New var.
4565 (css-smie--forward-token, css-smie--backward-token)
4566 (css-smie-rules): New functions.
4567 (css-mode): Use them.
4568 (css-navigation-syntax-table): Remove var.
4569 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4570 (css-indent-calculate, css-indent-line): Remove functions.
4571
4572 Misc changes to reduce use of `(lambda...); and other cleanups.
4573 * cus-edit.el: Use lexical-binding.
4574 (customize-push-and-save, customize-apropos)
4575 (custom-buffer-create-internal): Use closures.
4576 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4577 * progmodes/ada-xref.el: Use setq.
4578 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4579 * dframe.el: Use lexical-binding.
4580 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4581 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4582 * descr-text.el: Use lexical-binding.
4583 (describe-text-widget, describe-text-sexp, describe-property-list):
4584 Use closures.
4585 * comint.el (comint-history-isearch-push-state): Use a closure.
4586 * calculator.el: Use lexical-binding.
4587 (calculator-number-to-string): Make it work with lexical-binding.
4588 (calculator-funcall): Same and use cl-letf.
4589
4590 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4591 (lisp--company-doc-string, lisp--company-location): New functions.
4592 (lisp-completion-at-point): Use them to improve Company support.
4593
4594 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4595 params of lambda expressions.
4596 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4597 (ruby-smie--opening-pipe-p): New function.
4598 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4599 symbols and matched |...| for formal params.
4600 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4601 from being treated as hanging. Handle "rescue".
4602
4603 2013-08-29 Glenn Morris <rgm@gnu.org>
4604
4605 * progmodes/cc-engine.el (c-pull-open-brace):
4606 Move definition before use.
4607
4608 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4611 are immutable. Don't use `unsafe' any more.
4612 (cl--defsubst-expand): Don't substitute at the same time as keeping
4613 a residual unused let-binding. Don't use `unsafe' any more.
4614
4615 2013-08-29 Glenn Morris <rgm@gnu.org>
4616
4617 * calendar/cal-china.el (calendar-chinese-year-cache):
4618 Recenter on 2015.
4619
4620 * nxml/nxml-util.el (nxml-debug-clear-inside):
4621 Use cl-loop rather than loop.
4622
4623 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4624
4625 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4626
4627 2013-08-28 Glenn Morris <rgm@gnu.org>
4628
4629 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4630
4631 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4632
4633 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4634
4635 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * simple.el (repeat-complex-command--called-interactively-skip):
4638 New function.
4639 (repeat-complex-command): Use it (bug#14136).
4640
4641 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4642 (c-define-abbrev-table): Add `doc' argument.
4643 (c-mode-abbrev-table, c++-mode-abbrev-table)
4644 (objc-mode-abbrev-table, java-mode-abbrev-table)
4645 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4646 (awk-mode-abbrev-table): Use it.
4647 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4648 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4649 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4650 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4651 Move initialization into the declaration; and remove any
4652 autoload cookie.
4653
4654 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4655 and dynamic let binding.
4656
4657 * vc/smerge-mode.el: Remove redundant :group args.
4658
4659 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4660 to load-path.
4661
4662 2013-08-28 Juri Linkov <juri@jurta.org>
4663
4664 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4665 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4666 (isearch-other-meta-char): Handle an undefined shifted printing
4667 character by downshifting it. (Bug#15200)
4668
4669 2013-08-28 Juri Linkov <juri@jurta.org>
4670
4671 * isearch.el (isearch-search): Change regexp error message for
4672 non-regexp searches. (Bug#15166)
4673
4674 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4675
4676 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4677 for portability to hosts where /bin/sh has problems.
4678
4679 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4682
4683 2013-08-27 Juri Linkov <juri@jurta.org>
4684
4685 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4686 in the keyboard macro. (Bug#15126)
4687
4688 2013-08-27 Juri Linkov <juri@jurta.org>
4689
4690 * isearch.el (isearch-quote-char): Comment out converting unibyte
4691 to multibyte, thus syncing with its `quoted-insert' counterpart.
4692 (Bug#15166)
4693
4694 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4695
4696 * window.el (display-buffer-use-some-window): Add missing
4697 argument in call of get-largest-window (Bug#15185).
4698 Reported by Stephen Leake.
4699
4700 2013-08-27 Glenn Morris <rgm@gnu.org>
4701
4702 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4703
4704 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4707 from a matcher-function unless there's no more matches (bug#15161).
4708
4709 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * minibuffer.el: Revert change from 2013-08-20.
4712
4713 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4714 with text property `tramp-default', if appropriate.
4715 (tramp-check-proper-host): New defun.
4716 (tramp-dissect-file-name): Do not check hostname. Revert change
4717 of 2013-03-18.
4718 (tramp-backtrace): Make VEC-OR-PROC optional.
4719
4720 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4721 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4722 * net/tramp-sh.el (tramp-maybe-open-connection):
4723 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4724 Apply `tramp-check-proper-host'.
4725
4726 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4727
4728 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4729 lambda expression in order to have `describe-variable' display it.
4730
4731 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4732
4733 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4734 BUF can be optional. (Bug#15186)
4735
4736 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4737
4738 * progmodes/flymake.el (flymake-get-real-file-name-function):
4739 Fix broken customization. (Bug#15184)
4740
4741 2013-08-25 Alan Mackenzie <acm@muc.de>
4742
4743 Improve indentation of bracelists defined by macros (without "=").
4744
4745 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4746 expansion begins with "{", regard it as bracelist when it doesn't
4747 contain a ";".
4748
4749 Parse C++ inher-intro when there's a template split over 2 lines.
4750
4751 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4752 rigorously the search for "class" etc. followed by ":".
4753
4754 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4755 random languages a regexp which never matches rather than nil.
4756
4757 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4758
4759 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4760 (c-awk-regexp-one-line-possibly-open-char-list-re)
4761 (c-awk-one-line-possibly-open-regexp-re)
4762 (c-awk-one-line-non-syn-ws*-re): Remove.
4763 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4764 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4765 (c-awk-space*-unclosed-regexp-/-re): New constants.
4766 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4767 aren't regexp delimiters.
4768
4769 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4770 handling for a rare situation in AWK Mode involving unterminated
4771 strings/regexps.
4772
4773 2013-08-23 Glenn Morris <rgm@gnu.org>
4774
4775 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4776
4777 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4778
4779 * files.el (create-file-buffer): If the result would begin with
4780 spaces, prepend a "|" instead of removing them. (Bug#15162)
4781
4782 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4785 text-properties (bug#15155).
4786
4787 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4788 exist any more.
4789 (calc-keypad-redraw): Remove unused var `pad'.
4790 (calc-keypad-press): Remove unused var `menu'.
4791
4792 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4793
4794 * window.el (display-buffer-pop-up-frame):
4795 Call pop-up-frame-function with BUFFER current so `make-frame' will
4796 use it as the new frame's buffer (Bug#15133).
4797
4798 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * calendar/timeclock.el: Minor cleanups.
4801 (timeclock-ask-before-exiting, timeclock-use-display-time):
4802 Use `symbol'.
4803 (timeclock-modeline-display): Define as alias before the
4804 actual definition.
4805 (timeclock-mode-line-display): Use define-minor-mode.
4806 (timeclock-day-list-template): Make it a function, add an argument.
4807 (timeclock-day-list-required, timeclock-day-list-length)
4808 (timeclock-day-list-debt, timeclock-day-list-span)
4809 (timeclock-day-list-break): Adjust calls accordingly.
4810
4811 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4814 Use read--expression so that completion works again.
4815
4816 2013-08-21 Sam Steingold <sds@gnu.org>
4817
4818 Add rudimentary inferior shell interaction
4819 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4820 (sh-set-shell): Reset it.
4821 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4822 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4823
4824 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * align.el: Use lexical-binding.
4827 (align-region): Simplify accordingly.
4828
4829 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4832
4833 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4834 `non-essential' up.
4835
4836 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp.el:
4839 * net/tramp-adb.el:
4840 * net/tramp-cmds.el:
4841 * net/tramp-ftp.el:
4842 * net/tramp-gvfs.el:
4843 * net/tramp-gw.el:
4844 * net/tramp-sh.el: Don't wrap external variable declarations by
4845 `eval-when-compile'.
4846
4847 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4848
4849 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4850 now that Emacs supports ImageMagick animations.
4851
4852 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4855 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4856
4857 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4858
4859 * window.el (mouse-autoselect-window-select): Do autoselect when
4860 mouse pointer is on margin.
4861
4862 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4863
4864 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4865
4866 2013-08-16 Glenn Morris <rgm@gnu.org>
4867
4868 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4869 Handle "Remote Directory" response of some clients. (Bug#15058)
4870
4871 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4872 Tweak warning. (Bug#14926)
4873
4874 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4875 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4876
4877 * image-mode.el (image-mode-map): Add menu items to reverse,
4878 increase, decrease, reset animation speed.
4879 (image--set-speed, image-increase-speed, image-decrease-speed)
4880 (image-reverse-speed, image-reset-speed): New functions.
4881 (image-mode-map): Add bindings for speed commands.
4882
4883 * image.el (image-animate-get-speed, image-animate-set-speed):
4884 New functions.
4885 (image-animate-timeout): Respect image :speed property.
4886
4887 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4890 previous line (bug#15101).
4891 (debugger-eval-expression, debugger-record-expression):
4892 Use read--expression (bug#15102).
4893
4894 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4895
4896 Remove byte compiler warnings, visible when compiling with
4897 `byte-compile-force-lexical-warnings' set to t.
4898
4899 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4900 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4901 (tramp-handle-unhandled-file-name-directory)
4902 (tramp-handle-file-notify-add-watch, tramp-action-login)
4903 (tramp-action-succeed, tramp-action-permission-denied)
4904 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4905 arguments with "_".
4906
4907 * net/tramp-adb.el (tramp-adb-parse-device-names)
4908 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4909 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4910 (tramp-adb-handle-file-truename): Remove unused arguments.
4911
4912 * net/tramp-cache.el (tramp-flush-directory-property)
4913 (tramp-flush-connection-property, tramp-list-connections)
4914 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4915
4916 * net/tramp-compat.el (tramp-compat-make-temp-file):
4917 Rename FILENAME to F.
4918
4919 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4920 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4921 (tramp-zeroconf-parse-workstation-device-names)
4922 (tramp-zeroconf-parse-webdav-device-names)
4923 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4924
4925 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4926 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4927
4928 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4929 arguments.
4930 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4931 (tramp-sh-handle-insert-file-contents-literally)
4932 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4933 with "_".
4934 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4935 Remove unused variables.
4936
4937 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4938 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4939 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4940
4941 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4942 Make them a defconst.
4943 (tramp-uuencode-region): Remove unused variable.
4944
4945 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * frameset.el (frameset--prop-setter): New function.
4948 (frameset-prop): Add gv-setter declaration.
4949 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4950 parameter was already set in FILTERED. Doc fix.
4951 (frameset--record-minibuffer-relationships): Allow saving a
4952 minibufferless frame without its corresponding minibuffer frame.
4953 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4954 frame, if the frame id matches.
4955 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4956 frames before orphaned ones.
4957 (frameset-restore): Warn about orphaned windows, instead of error out.
4958
4959 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4960
4961 * window.el (window-make-atom): Don't overwrite parameter
4962 already present.
4963 (display-buffer-in-atom-window): Handle special case where we
4964 split an already atomic window.
4965 (window--major-non-side-window, display-buffer-in-side-window)
4966 (window--side-check): Ignore minibuffer window when walking
4967 window tree.
4968 (window-deletable-p): Return 'frame only if no other frame uses
4969 our minibuffer window.
4970 (record-window-buffer): Run buffer-list-update-hook.
4971 (split-window): Make sure window--check-frame won't destroy an
4972 existing atomic window in case the new window gets nested
4973 inside.
4974 (display-buffer-at-bottom): Ignore minibuffer window when
4975 walking window tree. Don't split a side window.
4976 (pop-to-buffer): Don't set-buffer here, the select-window call
4977 should do that.
4978 (mouse-autoselect-window-select): Autoselect only if we are in the
4979 text portion of the window.
4980
4981 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4982
4983 * net/shr.el (shr-parse-image-data): New function to grab both the
4984 data itself and the Content-Type.
4985 (shr-put-image): Use it.
4986
4987 * net/eww.el (eww-display-image): Ditto.
4988
4989 * image.el (image-content-type-suffixes): New variable.
4990
4991 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4992
4993 * progmodes/python.el (python-imenu--build-tree)
4994 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4995
4996 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4997
4998 * simple.el (backward-word): Mention the optional argument.
4999
5000 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * frameset.el (frameset--make): Rename constructor from make-frameset.
5003 (frameset-p, frameset-valid-p): Don't autoload.
5004 (frameset-valid-p): Use normal accessors.
5005
5006 2013-08-13 Glenn Morris <rgm@gnu.org>
5007
5008 * progmodes/compile.el (compile-command): Tweak example in doc.
5009 * obsolete/scribe.el (scribe-mode):
5010 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5011
5012 * mail/feedmail.el (feedmail-confirm-outgoing)
5013 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5014
5015 * cus-start.el (truncate-partial-width-windows): Fix type.
5016
5017 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5018
5019 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5020
5021 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * emacs-lisp/timer.el (timer--time-setter): New function.
5024 (timer--time): Use it as gv-setter.
5025
5026 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5027 setter is not a symbol.
5028
5029 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5030
5031 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5032 if sending fails. This makes debugging easier.
5033
5034 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5035
5036 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5037 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5038 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5039
5040 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5041
5042 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5043
5044 2013-08-12 Glenn Morris <rgm@gnu.org>
5045
5046 * format.el (format-annotate-function):
5047 Handle read-only text properties in the source. (Bug#14887)
5048
5049 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5050
5051 * net/eww.el (eww-display-html): Ignore coding system errors.
5052 One web site uses "utf-8lias" as the coding system.
5053
5054 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5055
5056 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5057
5058 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5059
5060 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5061 (tutorial--detailed-help): Remove unused local variables.
5062 (tutorial--save-tutorial-to): Use ignore-errors.
5063 (help-with-tutorial): Use looking-at-p.
5064
5065 * view.el (view-buffer-other-window, view-buffer-other-frame):
5066 Mark unused arguments.
5067
5068 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5069 (woman-select-symbol-fonts, woman, woman-find-file)
5070 (woman-insert-file-contents, woman-non-underline-faces):
5071 Use string-match-p.
5072 (woman1-unquote): Move declaration.
5073
5074 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5075 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5076 argument. Remove unused local variable.
5077 (xml-parse-elem-type): Use string-match-p.
5078 (xml-substitute-numeric-entities): Use ignore-errors.
5079
5080 * calculator.el (calculator): Mark unused argument.
5081 (calculator-paste, calculator-quit, calculator-integer-p):
5082 Use ignore-errors.
5083 (calculator-string-to-number, calculator-decimal, calculator-exp)
5084 (calculator-op-or-exp): Use string-match-p.
5085
5086 * dired.el (dired-buffer-more-recently-used-p): Declare.
5087 (dired-insert-set-properties, dired-insert-old-subdirs):
5088 Use ignore-errors.
5089
5090 * dired-aux.el (dired-compress): Use ignore-errors.
5091 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5092 (dired-do-async-shell-command, dired-do-shell-command)
5093 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5094 (dired-insert-subdir-validate): Use string-match-p.
5095 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5096 (dired-add-entry): Use string-match-p, looking-at-p.
5097 (dired-insert-subdir-newpos): Remove unused local variable.
5098
5099 * filenotify.el (file-notify-callback): Remove unused local variable.
5100
5101 * filesets.el (filesets-error): Mark unused argument.
5102 (filesets-which-command-p, filesets-filter-dir-names)
5103 (filesets-directory-files, filesets-get-external-viewer)
5104 (filesets-ingroup-get-data): Use string-match-p.
5105
5106 * find-file.el (ff-other-file-name, ff-other-file-name)
5107 (ff-find-the-other-file, ff-cc-hh-converter):
5108 Remove unused local variables.
5109 (ff-get-file-name): Use string-match-p.
5110 (ff-all-dirs-under): Use ignore-errors.
5111
5112 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5113 (follow-select-if-visible): Remove unused local variable.
5114
5115 * forms.el (read-file-filter): Move declaration.
5116 (forms--make-format, forms--make-parser, forms-insert-record):
5117 Quote function with #'.
5118 (forms--update): Use string-match-p. Quote function with #'.
5119
5120 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5121 (help-make-xrefs): Use looking-at-p.
5122 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5123
5124 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5125 (ibuffer-confirm-operation-on): Use string-match-p.
5126
5127 * msb.el (msb-item-handler, msb-dired-item-handler):
5128 Mark unused arguments.
5129
5130 * ses.el (ses-decode-cell-symbol)
5131 (ses-kill-override): Remove unused local variable.
5132 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5133 (ses-load): Use ignore-errors, looking-at-p.
5134 (ses-jump-safe): Use ignore-errors.
5135 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5136
5137 * tabify.el (untabify, tabify): Mark unused arguments.
5138
5139 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5140 Mark unused argument.
5141 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5142 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5143
5144 * emacs-lisp/timer.el (timer--time): Define setter with
5145 gv-define-setter to avoid deprecation warning.
5146
5147 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5148 (*record-cmpl-statistics-p*): Remove (was commented out).
5149 (cmpl-statistics-block): Remove (body was commented out).
5150 All callers changed.
5151 (add-completions-from-buffer, load-completions-from-file):
5152 Remove unused variables.
5153
5154 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5155
5156 * filecache.el (file-cache-delete-file-list):
5157 Print message only when told so.
5158 (file-cache-files-matching): Use #' in mapconcat argument.
5159
5160 * ffap.el (ffap-url-at-point): Fix reference to variable
5161 thing-at-point-default-mail-uri-scheme.
5162
5163 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * subr.el (define-error): New function.
5166 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5167 error-file-not-found and define with define-error.
5168 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5169 and define with define-error.
5170 * userlock.el (file-locked, file-supersession):
5171 * simple.el (mark-inactive):
5172 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5173 * progmodes/ada-mode.el (ada-mode-errors):
5174 * play/life.el (life-extinct):
5175 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5176 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5177 * nxml/rng-util.el (rng-error):
5178 * nxml/rng-uri.el (rng-uri-error):
5179 * nxml/rng-match.el (rng-compile-error):
5180 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5181 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5182 * nxml/nxml-rap.el (nxml-scan-error):
5183 * nxml/nxml-outln.el (nxml-outline-error):
5184 * net/soap-client.el (soap-error):
5185 * net/gnutls.el (gnutls-error):
5186 * net/ange-ftp.el (ftp-error):
5187 * mpc.el (mpc-proc-error):
5188 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5189 (json-number-format, json-string-escape, json-string-format)
5190 (json-key-format, json-object-format):
5191 * jka-compr.el (compression-error):
5192 * international/quail.el (quail-error):
5193 * international/kkc.el (kkc-error):
5194 * emacs-lisp/ert.el (ert-test-failed):
5195 * calc/calc.el (calc-error, inexact-result, math-overflow)
5196 (math-underflow):
5197 * bookmark.el (bookmark-error-no-filename):
5198 * epg.el (epg-error): Define with define-error.
5199
5200 * time.el (display-time-event-handler)
5201 (display-time-next-load-average): Don't call sit-for since it seems
5202 unnecessary (bug#15045).
5203
5204 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5205 Use #' instead of ' to quote functions.
5206 (checkdoc-output-mode): Use setq-local.
5207 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5208 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5209 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5210 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5211 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5212 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5213 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5214 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5215
5216 * ido.el (ido-completion-help): Fix up compiler warning.
5217
5218 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5219
5220 * frameset.el (frameset-p): Add autoload cookie.
5221 (frameset--jump-to-register): New function, based on code moved from
5222 register.el.
5223 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5224
5225 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5226 (frameset-restore, frameset-save, frameset-session-filter-alist):
5227 Remove declarations.
5228 (register-alist): Doc fix.
5229 (frameset-to-register): Move to frameset.el.
5230 (jump-to-register, describe-register-1): Remove frameset-specific code.
5231
5232 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * allout-widgets.el (allout-widgets-pre-command-business)
5235 (allout-widgets-post-command-business)
5236 (allout-widgets-after-change-handler)
5237 (allout-decorate-item-and-context, allout-set-boundary-marker)
5238 (allout-body-modification-handler)
5239 (allout-graphics-modification-handler): Mark ignored arguments.
5240 (allout-widgets-post-command-business)
5241 (allout-widgets-exposure-change-processor)
5242 (allout-widgets-exposure-undo-processor)
5243 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5244 (allout-parse-item-at-point, allout-decorate-item-guides)
5245 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5246 * allout.el (epa-passphrase-callback-function): Declare.
5247 (allout-overlay-insert-in-front-handler)
5248 (allout-overlay-interior-modification-handler)
5249 (allout-isearch-end-handler, allout-chart-siblings)
5250 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5251 (allout-yank-processing, allout-process-exposed)
5252 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5253 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5254 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5255 (lisp-indent-defform): Mark ignored arguments.
5256 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5257 (calculate-lisp-indent): Remove unused variables.
5258 * international/characters.el (indian-2-column, arabic-2-column)
5259 (tibetan): Mark ignored arguments.
5260 (use-cjk-char-width-table): Mark ignored arguments.
5261 Remove unused variables.
5262 * international/fontset.el (build-default-fontset-data)
5263 (x-compose-font-name, create-fontset-from-fontset-spec):
5264 Mark ignored arguments.
5265 (fontset-plain-name): Remove unused variables.
5266 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5267 (keyboard-coding-system): Mark ignored arguments.
5268 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5269 * help.el (resize-temp-buffer-window):
5270 * window.el (display-buffer-in-major-side-window)
5271 (display-buffer-in-side-window, display-buffer-in-previous-window):
5272 Remove unused variables.
5273 * isearch.el (isearch-forward-symbol):
5274 * version.el (emacs-bzr-version-bzr):
5275 * international/mule-cmds.el (current-language-environment):
5276 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5277 (x-handle-display):
5278 * term/pc-win.el (x-list-fonts, x-display-planes)
5279 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5280 (x-server-version, x-display-screens, x-display-mm-height)
5281 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5282 (x-selection-owner-p, x-own-selection-internal)
5283 (x-disown-selection-internal, x-get-selection-internal)
5284 (msdos-initialize-window-system):
5285 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5286 * term/x-win.el (x-handle-no-bitmap-icon):
5287 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5288 (vc-default-find-file-hook, vc-default-extra-menu):
5289 Mark ignored arguments.
5290
5291 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5294 break-condition in the context of the debugged code (bug#12685).
5295
5296 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5297
5298 * comint.el:
5299 Do not use an overlay to highlight the last prompt. (Bug#14744)
5300 (comint-mode): Make comint-last-prompt buffer local.
5301 (comint-last-prompt): New variable.
5302 (comint-last-prompt-overlay): Remove. Superseded by
5303 comint-last-prompt.
5304 (comint-snapshot-last-prompt, comint-output-filter):
5305 Use comint-last-prompt.
5306
5307 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5308
5309 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5310 (frameset-save): Check validity of the resulting frameset.
5311
5312 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5313
5314 * ido.el (ido-record-command): Add doc string.
5315
5316 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5317
5318 * frameset.el (frameset): Do not disable creation of the default
5319 frameset-p predicate. Doc fix.
5320 (frameset-valid-p): New function, copied from the old predicate-p.
5321 Add additional checks.
5322 (frameset-restore): Check with frameset-valid-p.
5323 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5324 (frameset-name, frameset-description, frameset-properties)
5325 (frameset-states): Add docstring.
5326 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5327 (frameset-filter-alist): Doc fixes.
5328
5329 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5330
5331 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5332
5333 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5336 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5337 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5338 (byte-compile-normal-call): Remove obsolescence check.
5339
5340 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5341
5342 * frameset.el (frameset-restore): Doc fix.
5343
5344 * register.el (frameset-frame-id, frameset-frame-with-id)
5345 (frameset-p, frameset-restore, frameset-save): Declare.
5346 (register-alist): Document framesets.
5347 (frameset-session-filter-alist): Declare.
5348 (frameset-to-register): New function.
5349 (jump-to-register): Implement jumping to framesets. Doc fix.
5350 (describe-register-1): Describe framesets.
5351
5352 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5353
5354 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5355
5356 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5357 Use lexical-binding.
5358
5359 * frameset.el (frameset): Use type vector, not list (incompatible
5360 change). Do not declare a new constructor, use the default one.
5361 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5362 `name' and `description', respectively, and add read-only slot
5363 `timestamp'. Doc fixes.
5364 (frameset-copy, frameset-persistent-filter-alist)
5365 (frameset-filter-alist, frameset-switch-to-gui-p)
5366 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5367 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5368 (frameset-filter-iconified, frameset-keep-original-display-p):
5369 Doc fixes.
5370 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5371 Rename from frameset-filter-(save|restore)-param. All callers changed.
5372 Doc fix.
5373 (frameset-p): Adapt to change to vector and be more thorough.
5374 Change arg name to OBJECT. Doc fix.
5375 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5376 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5377 All callers changed.
5378 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5379 All callers changed.
5380 (frameset--record-minibuffer-relationships): Rename from
5381 frameset--process-minibuffer-frames. All callers changed.
5382 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5383 Use new default constructor (again). Doc fix.
5384 (frameset--find-frame-if): Rename from `frameset--find-frame.
5385 All callers changed.
5386 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5387 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5388 Doc fix.
5389 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5390 PARAMETERS and WINDOW-STATE, respectively.
5391 (frameset-restore): Add new keyword argument PREDICATE.
5392 Reset frameset--target-display to nil. Doc fix.
5393
5394 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5397 (bat-mode): Use it.
5398 (bat-mode-syntax-table): Mark \n as end-of-comment.
5399 (bat-font-lock-keywords): Remove comment rule.
5400
5401 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5402 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5403
5404 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5405 (byte-compile-callargs-warn): Use `push'.
5406 (byte-compile-arglist-warn): Ignore higher-order "calls".
5407 (byte-compile-file-form-autoload): Use `pcase'.
5408 (byte-compile-function-form): If quoting a symbol, check that it exists.
5409
5410 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5411
5412 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5413 and add a few popular commands found in batch files.
5414 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5415 (dos-mode): Doc fixes.
5416
5417 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5420 (dos-mode): Use setq-local. Add space after "rem".
5421 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5422 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5423
5424 2013-08-07 Arni Magnusson <arnima@hafro.is>
5425
5426 * progmodes/dos.el: New file.
5427 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5428 dos-mode.
5429
5430 2013-08-06 Glenn Morris <rgm@gnu.org>
5431
5432 * calendar/calendar.el: Add new faces, and day-header-array.
5433 (calendar-weekday-header, calendar-weekend-header)
5434 (calendar-month-header): New faces.
5435 (calendar-day-header-construct): New function.
5436 (calendar-day-header-width): Also :set calendar-day-header-array.
5437 (calendar-american-month-header, calendar-european-month-header)
5438 (calendar-iso-month-header): Use calendar- faces.
5439 (calendar-generate-month):
5440 Use calendar-day-header-array for day headers; apply faces to them.
5441 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5442 (calendar-abbrev-construct): Add optional maxlen argument.
5443 (calendar-day-name-array): Doc fix.
5444 (calendar-day-name-array, calendar-abbrev-length)
5445 (calendar-day-abbrev-array):
5446 Also :set calendar-day-header-array, and maybe redraw.
5447 (calendar-day-header-array): New option. (Bug#15007)
5448 (calendar-font-lock-keywords): Set to nil and make obsolete.
5449 (calendar-day-name): Add option to use header array.
5450
5451 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5452
5453 * net/shr.el (shr-render-td): Remove debugging.
5454 (shr-render-td): Make width computation consistent by defaulting
5455 all zero-width columns to 10 characters. This may not be optimal,
5456 but it's at least consistent.
5457 (shr-make-table-1): Redo last change to fix the real problem in
5458 colspan handling.
5459
5460 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5461
5462 * files.el (cache-long-line-scans):
5463 Make obsolete alias to `cache-long-scans'.
5464
5465 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5466
5467 * frameset.el (frameset, frameset-filter-alist)
5468 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5469 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5470 (frameset-compute-pos): Rename from frameset--compute-pos,
5471 and add docstring.
5472 (frameset-move-onscreen): Use frameset-compute-pos.
5473 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5474
5475 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5476 Fix typos in docstrings.
5477
5478 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5479
5480 * frame.el (get-other-frame): Tiny cleanup.
5481
5482 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5483
5484 * vc/vc.el (vc-default-ignore-completion-table):
5485 Silence byte-compiler warning.
5486
5487 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5488 slot , which can indeed be nil.
5489 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5490 Move entry for `left' from persistent to live filter alist.
5491 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5492 Doc fixes.
5493 (frameset-filter-params): When restoring a frame, copy items added to
5494 `filtered', to avoid unwittingly modifying the original parameters.
5495 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5496 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5497
5498 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5499 to use looking-at-p instead of looking-at. (Bug#15028)
5500
5501 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 Revert introduction of isearch-filter-predicates (bug#14714).
5504 Rely on add-function instead.
5505 * isearch.el (isearch-filter-predicates): Rename it back to
5506 isearch-filter-predicate.
5507 (isearch-message-prefix): Use advice-function-mapc and advice
5508 properties to get the isearch-message-prefix.
5509 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5510 instead of run-hook-with-args-until-failure.
5511 (isearch-filter-visible): Not obsolete any more.
5512 * loadup.el: Preload nadvice.
5513 * replace.el (perform-replace): Revert to funcall
5514 instead of run-hook-with-args-until-failure.
5515 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5516 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5517 dired-isearch-filenames-toggle; make it into a proper minor mode.
5518 Use add/remove-function.
5519 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5520 Call the minor-mode rather than add/remove-hook.
5521 (dired-isearch-filter-filenames):
5522 Remove isearch-message-prefix property.
5523 * info.el (Info--search-loop): New function, extracted from Info-search.
5524 Funcall isearch-filter-predicate instead of
5525 run-hook-with-args-until-failure isearch-filter-predicates.
5526 (Info-search): Use it.
5527 (Info-mode): Use isearch-filter-predicate instead of
5528 isearch-filter-predicates.
5529
5530 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5531
5532 Do not call to `selected-window' where it is assumed by default.
5533 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5534 `window-hscroll', `window-width', `window-height', `window-buffer',
5535 `window-frame', `window-start', `window-point', `next-window'
5536 and `window-display-table'.
5537 * abbrev.el (abbrev--default-expand):
5538 * bs.el (bs--show-with-configuration):
5539 * buff-menu.el (Buffer-menu-mouse-select):
5540 * calc/calc.el (calc):
5541 * calendar/calendar.el (calendar-generate-window):
5542 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5543 (diary-make-entry):
5544 * comint.el (send-invisible, comint-dynamic-complete-filename)
5545 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5546 * completion.el (complete):
5547 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5548 * disp-table.el (describe-current-display-table):
5549 * doc-view.el (doc-view-insert-image):
5550 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5551 * ehelp.el (with-electric-help):
5552 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5553 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5554 * emacs-lisp/helper.el (Helper-help-scroller):
5555 * emulation/cua-base.el (cua--post-command-handler-1):
5556 * eshell/esh-mode.el (eshell-output-filter):
5557 * ffap.el (ffap-gnus-wrapper):
5558 * help-macro.el (make-help-screen):
5559 * hilit-chg.el (highlight-compare-buffers):
5560 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5561 * hl-line.el (global-hl-line-highlight):
5562 * icomplete.el (icomplete-simple-completing-p):
5563 * isearch.el (isearch-done):
5564 * jit-lock.el (jit-lock-stealth-fontify):
5565 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5566 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5567 * mpc.el (mpc-tagbrowser, mpc):
5568 * net/rcirc.el (rcirc-any-buffer):
5569 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5570 * play/landmark.el (landmark-max-width, landmark-max-height):
5571 * play/zone.el (zone):
5572 * progmodes/compile.el (compilation-goto-locus):
5573 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5574 * progmodes/etags.el (find-tag-other-window):
5575 * progmodes/fortran.el (fortran-column-ruler):
5576 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5577 * progmodes/verilog-mode.el (verilog-point-text):
5578 * reposition.el (reposition-window):
5579 * rot13.el (toggle-rot13-mode):
5580 * server.el (server-switch-buffer):
5581 * shell.el (shell-dynamic-complete-command)
5582 (shell-dynamic-complete-environment-variable):
5583 * simple.el (insert-buffer, set-selective-display)
5584 (delete-completion-window):
5585 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5586 (speedbar-recenter):
5587 * startup.el (fancy-splash-head):
5588 * textmodes/ispell.el (ispell-command-loop):
5589 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5590 * tutorial.el (help-with-tutorial):
5591 * vc/add-log.el (add-change-log-entry):
5592 * vc/compare-w.el (compare-windows):
5593 * vc/ediff-help.el (ediff-indent-help-message):
5594 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5595 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5596 (ediff-setup-control-frame):
5597 * vc/emerge.el (emerge-position-region):
5598 * vc/pcvs-util.el (cvs-bury-buffer):
5599 * window.el (walk-windows, mouse-autoselect-window-select):
5600 * winner.el (winner-set-conf, winner-undo): Related users changed.
5601
5602 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5603
5604 * frameset.el (frameset--set-id): Doc fix.
5605 (frameset-frame-id, frameset-frame-id-equal-p)
5606 (frameset-locate-frame-id): New functions.
5607 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5608 (frameset-restore): Use them.
5609
5610 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5611
5612 Do not call to `selected-frame' where it is assumed by default.
5613 Affected functions are `raise-frame', `redraw-frame',
5614 `frame-first-window', `frame-terminal' and `delete-frame'.
5615 * calendar/appt.el (appt-disp-window):
5616 * epg.el (epg-wait-for-completion):
5617 * follow.el (follow-delete-other-windows-and-split)
5618 (follow-avoid-tail-recenter):
5619 * international/mule.el (set-terminal-coding-system):
5620 * mail/rmail.el (rmail-mail-return):
5621 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5622 * progmodes/f90.el (f90-add-imenu-menu):
5623 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5624 * server.el (server-switch-buffer):
5625 * simple.el (delete-completion-window):
5626 * talk.el (talk):
5627 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5628 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5629 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5630 * vc/ediff.el (ediff-documentation): Related users changed.
5631 * frame.el (selected-terminal): Remove the leftover.
5632
5633 2013-08-05 Glenn Morris <rgm@gnu.org>
5634
5635 * calendar/calendar.el (calendar-generate-month):
5636 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5637 (calendar-generate-month, calendar-font-lock-keywords):
5638 Fix for calendar-day-header-width > length of any day name.
5639
5640 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5641
5642 * desktop.el (desktop-clear): Use new name of sort predicate.
5643
5644 * frameset.el (frameset): Add docstring. Move :version property to its
5645 own `version' slot.
5646 (frameset-copy): Rename from copy-frameset.
5647 (frameset-p): Check more thoroughly.
5648 (frameset-prop): Do not check for :version, which is no longer a prop.
5649 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5650 Use new :never value instead of t.
5651 (frameset-filter-alist): Expand and clarify docstring.
5652 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5653 (frameset-filter-minibuffer, frameset-filter-save-param)
5654 (frameset-filter-restore-param, frameset-filter-iconified):
5655 Add pointer to docstring of frameset-filter-alist.
5656 (frameset-filter-params): Rename filter values to be more meaningful:
5657 :never instead of t, and reverse the meanings of :save and :restore.
5658 (frameset--process-minibuffer-frames): Clarify error message.
5659 (frameset-save): Avoid unnecessary and confusing call to framep.
5660 Use new BOA constructor for framesets.
5661 (frameset--reuse-list): Doc fix.
5662 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5663 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5664 (frameset-minibufferless-first-p): Doc fix.
5665 Rename from frameset-sort-frames-for-deletion.
5666 (frameset-restore): Doc fixes. Use new function names.
5667 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5668
5669 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5670
5671 * desktop.el (desktop-restore-forces-onscreen)
5672 (desktop-restore-reuses-frames): Document :keyword constant values.
5673 (desktop-filter-parameters-alist): Remove, now identical to
5674 frameset-filter-alist.
5675 (desktop--filter-tty*): Remove, moved to frameset.el.
5676 (desktop-save-frameset, desktop-restore-frameset):
5677 Do not pass :filters argument.
5678
5679 * frameset.el (frameset-live-filter-alist)
5680 (frameset-persistent-filter-alist): New variables.
5681 (frameset-filter-alist): Use them. Add autoload cookie.
5682 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5683 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5684 `frameset--id' (it's supposed to be internal to frameset.el).
5685 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5686 (frameset--initial-params): New function.
5687 (frameset--get-frame): Use it. Doc fix.
5688 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5689 Accept :all, not 'all.
5690 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5691 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5692 with fbound symbols. Fix frame id matching, and remove matching ids if
5693 the frame being restored is deleted. Obey :delete.
5694
5695 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * subr.el (macrop): New function.
5698 (text-clone--maintaining): New var.
5699 (text-clone--maintain): Rename from text-clone-maintain. Use it
5700 instead of inhibit-modification-hooks.
5701
5702 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5703 a proxy, so as handle autoloads and redefinitions of the target.
5704 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5705
5706 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5707 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5708 (pcase--mutually-exclusive-p): New function.
5709 (pcase--split-consp): Use it.
5710 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5711 mutually exclusive with the current predicate.
5712
5713 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5714 (edebug-macrop): Remove. Use `macrop' instead.
5715 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5716 (ad-macro-p):
5717 * eshell/esh-cmd.el (eshell-macrop):
5718 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5719
5720 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5723 (advice-mapc): New function, using it.
5724 (advice-function-member-p): New function.
5725 (advice--normalize): Store the cdr in advice--saved-rewrite since
5726 that's the part that will be changed.
5727 (advice--symbol-function): New function.
5728 (advice-remove): Handle removal before the function is defined.
5729 Adjust to new advice--saved-rewrite.
5730 (advice-member-p): Use advice-function-member-p and
5731 advice--symbol-function.
5732
5733 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5736 (frameset-filter-minibuffer): Doc fix.
5737 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5738 (frameset--set-id, frameset--process-minibuffer-frames)
5739 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5740 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5741
5742 * desktop.el (desktop-clear): Only delete frames when called
5743 interactively and desktop-restore-frames is non-nil. Doc fix.
5744 (desktop-read): Set desktop-saved-frameset to nil.
5745
5746 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5747
5748 * vc/vc.el (vc-ignore): Rewrite.
5749 (vc-default-ignore-completion-table):
5750 (vc--read-lines):
5751 (vc--add-line, vc--remove-regexp): New functions.
5752
5753 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5754 (vc-svn-ignore-completion-table): New function.
5755
5756 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5757 (vc-hg-ignore-completion-table):
5758 (vc-hg-find-ignore-file): New functions.
5759
5760 * vc/vc-git.el (vc-git-ignore): Rewrite.
5761 (vc-git-ignore-completion-table):
5762 (vc-git-find-ignore-file): New functions.
5763
5764 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5765
5766 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5767 (vc-bzr-ignore-completion-table):
5768 (vc-bzr-find-ignore-file): New functions.
5769
5770 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * frameset.el (frameset-prop): New function and setter.
5773 (frameset-save): Do not modify frame list passed by the caller.
5774
5775 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5778
5779 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5782 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5783
5784 * custom.el (custom-initialize-default, custom-initialize-set)
5785 (custom-initialize-reset, custom-initialize-changed): Affect the
5786 toplevel-default-value (bug#6275, bug#14586).
5787 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5788 for bug#6275.
5789
5790 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5791
5792 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5793 Add cl-def* expressions.
5794
5795 * frameset.el (frameset-filter-params): Fix order of arguments.
5796
5797 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5798
5799 Move code related to saving frames to frameset.el.
5800 * desktop.el: Require frameset.
5801 (desktop-restore-frames): Doc fix.
5802 (desktop-restore-reuses-frames): Rename from
5803 desktop-restoring-reuses-frames.
5804 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5805 (desktop-clear): Clear frames too.
5806 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5807 (desktop--filter-tty*, desktop-save, desktop-read):
5808 Use frameset functions.
5809 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5810 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5811 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5812 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5813 (desktop--process-minibuffer-frames, desktop-save-frames)
5814 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5815 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5816 (desktop--sort-states, desktop-restoring-frames-p)
5817 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5818 (desktop-restoring-frameset-p, desktop-restore-frameset)
5819 (desktop--check-dont-save, desktop-save-frameset): New functions.
5820 (desktop--app-id): New constant.
5821 (desktop-first-buffer, desktop-buffer-ok-count)
5822 (desktop-buffer-fail-count): Move before first use.
5823 * frameset.el: New file.
5824
5825 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * files.el: Use lexical-binding.
5828 (dir-locals-read-from-file): Remove unused `err' variable.
5829 (hack-dir-local-variables--warned-coding): New var.
5830 (hack-dir-local-variables): Use it to avoid repeated warnings.
5831 (make-backup-file-name--default-function): New function.
5832 (make-backup-file-name-function): Use it as default.
5833 (buffer-stale--default-function): New function.
5834 (buffer-stale-function): Use it as default.
5835 (revert-buffer-insert-file-contents--default-function): New function.
5836 (revert-buffer-insert-file-contents-function): Use it as default.
5837 (insert-directory): Avoid add-to-list.
5838
5839 * autorevert.el (auto-revert-handler): Simplify.
5840 Use buffer-stale--default-function.
5841
5842 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5843
5844 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5845
5846 * whitespace.el (whitespace-ensure-local-variables): New function.
5847 (whitespace-cleanup-region): Call it.
5848 (whitespace-turn-on): Call it.
5849
5850 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5851
5852 Complete file name handlers.
5853
5854 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5855 (tramp-handle-verify-visited-file-modtime)
5856 (tramp-handle-file-notify-rm-watch): New functions.
5857 (tramp-call-process): Do not bind `default-directory'.
5858
5859 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5860 Order alphabetically.
5861 [access-file, add-name-to-file, dired-call-process]:
5862 [dired-compress-file, file-acl, file-notify-rm-watch]:
5863 [file-ownership-preserved-p, file-selinux-context]:
5864 [make-directory-internal, make-symbolic-link, set-file-acl]:
5865 [set-file-selinux-context, set-visited-file-modtime]:
5866 [verify-visited-file-modtime]: Add handler.
5867 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5868
5869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5870 [file-notify-add-watch, file-notify-rm-watch]:
5871 [set-file-times, set-visited-file-modtime]:
5872 [verify-visited-file-modtime]: Add handler.
5873 (with-tramp-gvfs-error-message)
5874 (tramp-gvfs-handle-set-visited-file-modtime)
5875 (tramp-gvfs-fuse-file-name): Remove.
5876 (tramp-gvfs-handle-file-notify-add-watch)
5877 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5878 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5879
5880 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5881 Order alphabetically.
5882 [file-notify-rm-watch ]: Use default Tramp handler.
5883 [executable-find]: Remove private handler.
5884 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5885 `default-directory'.
5886 (tramp-sh-handle-executable-find)
5887 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5888 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5889 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5890 Do not use `format' in `tramp-message'.
5891
5892 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5893 [file-notify-rm-watch, set-visited-file-modtime]:
5894 [verify-visited-file-modtime]: Add handler.
5895 (tramp-smb-call-winexe): Do not bind `default-directory'.
5896
5897 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5898
5899 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5900
5901 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5902
5903 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5904 use it.
5905 (log-view-diff-changeset): Same.
5906 (log-view-diff-common): Call backend command `previous-revision'
5907 to find out the previous revision, in both cases. Swap the
5908 variables `to' and `fr', so that `fr' usually refers to the
5909 earlier revision (Bug#14989).
5910
5911 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5912
5913 * ibuf-ext.el (ibuffer-filter-by-filename):
5914 Make it work with dired buffers too.
5915
5916 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5917
5918 * emacs-lisp/re-builder.el (reb-color-display-p):
5919 * files.el (save-buffers-kill-terminal):
5920 * net/browse-url.el (browse-url):
5921 * server.el (server-save-buffers-kill-terminal):
5922 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5923 Prefer nil to selected-frame for the first arg of frame-parameter.
5924
5925 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5926
5927 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5928
5929 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5930
5931 * minibuffer.el (completion--twq-all): Try and preserve each
5932 completion's case choice (bug#14907).
5933
5934 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
5936 * net/network-stream.el (open-network-stream): Mention the new
5937 :nogreeting parameter.
5938 (network-stream-open-starttls): Use the :nogreeting parameter
5939 (bug#14938).
5940
5941 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5942
5943 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5944 more natural than popping.
5945
5946 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5947 (shr-urlify): Highlight under mouse.
5948
5949 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5950
5951 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5952
5953 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5954
5955 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5956 buffer for output.
5957
5958 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5959 point-min==1. Fix search string. Fix parentheses missing.
5960
5961 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5962 assume point-min==1. Fix search string. Fix parentheses missing.
5963
5964 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5965
5966 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5967 buffer for output.
5968
5969 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5970
5971 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5972 initial frame is minibuffer-less. (Bug#14841)
5973
5974 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5975
5976 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5977 option.
5978
5979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5980 (tramp-maybe-open-connection): Use it.
5981
5982 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5983
5984 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5985 minimal set of parameters passed when creating a frame, because
5986 the minibuffer status of a frame cannot be changed later.
5987
5988 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5989
5990 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5991 replace-regexp-in-string and inadvertent omissions in previous change.
5992 (todo-filter-items): Ensure only file names are comma-separated in
5993 name of filtered items buffer.
5994
5995 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5996
5997 * desktop.el: Optionally force offscreen frames back onscreen.
5998 (desktop-restoring-reuses-frames): New option.
5999 (desktop--compute-pos, desktop--move-onscreen): New functions.
6000 (desktop--make-frame): Use desktop--move-onscreen.
6001
6002 2013-07-27 Alan Mackenzie <acm@muc.de>
6003
6004 Fontify a Java generic method as a function.
6005 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6006 value to t.
6007
6008 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6009
6010 * calendar/todo-mode.el: Add command to rename todo files.
6011 (todo-rename-file): New command.
6012 (todo-key-bindings-t): Add key binding for it. Change the
6013 bindings of todo-filter-regexp-items(-multifile) to use `x'
6014 instead of `r', since the latter is better suited to the new
6015 renaming command.
6016
6017 2013-07-27 Alan Mackenzie <acm@muc.de>
6018
6019 Make Java try-with-resources statement parse properly.
6020 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6021 (c-block-stmt-1-2-key): New language constants/variables.
6022 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6023 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6024 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6025 with c-block-stmt-1-2-key.
6026
6027 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6028
6029 * desktop.el (desktop--make-frame): Apply most frame parameters after
6030 creating the frame to force (partially or totally) offscreen frames to
6031 be restored as such.
6032
6033 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6034
6035 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6036 (Bug#14948)
6037
6038 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6041 `base' arg of backtrace-frame.
6042
6043 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6044
6045 * simple.el (list-processes): Doc fix.
6046
6047 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * desktop.el (desktop--select-frame):
6050 Try harder to reuse existing frames.
6051
6052 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6055 (edebug-eval): Use backtrace-eval.
6056 (edebug--display, edebug--recursive-edit): Don't let-bind the
6057 edebug-outer-* vars that keep track of variables we locally let-bind.
6058 (edebug-outside-excursion): Don't restore outside values of locally
6059 let-bound vars.
6060 (edebug--display): Use user-error.
6061 (cl-lexical-debug, cl-debug-env): Remove.
6062
6063 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6066 are restored to be sure that they are visible before deleting any
6067 remaining ones.
6068
6069 2013-07-26 Matthias Meulien <orontee@gmail.com>
6070
6071 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6072 vc-print-root-log. (Bug#14948)
6073
6074 2013-07-26 Richard Stallman <rms@gnu.org>
6075
6076 Add aliases for encrypting mail.
6077 * epa.el (epa-mail-aliases): New option.
6078 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6079 Bind inhibit-read-only so read-only text doesn't ruin everything.
6080 (epa-mail-default-recipients): New subroutine broken out.
6081 Handle epa-mail-aliases.
6082
6083 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 Add support for lexical variables to the debugger's `e' command.
6086 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6087 vars, except for debugger-outer-match-data.
6088 (debugger-frame-number): Move check for "on a function call" from
6089 callers into it. Add `skip-base' argument.
6090 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6091 (debugger-env-macro): Only reset the state stored in non-variables,
6092 i.e. current-buffer and match-data.
6093 (debugger-eval-expression): Rewrite using backtrace-eval.
6094 * subr.el (internal--called-interactively-p--get-frame): Remove.
6095 (called-interactively-p):
6096 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6097 `base' arg of backtrace-frame instead.
6098
6099 2013-07-26 Glenn Morris <rgm@gnu.org>
6100
6101 * align.el (align-regexp): Doc fix. (Bug#14857)
6102 (align-region): Explicit error if subexpression missing/does not match.
6103
6104 * simple.el (global-visual-line-mode):
6105 Do not duplicate the mode lighter. (Bug#14858)
6106
6107 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6108
6109 * window.el (display-buffer): In display-buffer bind
6110 split-window-keep-point to t, bug#14829.
6111
6112 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6113
6114 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6115 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6116 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6117 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6118 Change accordingly.
6119 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6120 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6121
6122 2013-07-25 Glenn Morris <rgm@gnu.org>
6123
6124 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6125
6126 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6127
6128 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6129 parameter to modify-frame-parameters if the value has not changed;
6130 this is a workaround for bug#14949.
6131 (desktop--make-frame): On cl-delete-if call, check parameter name,
6132 not full parameter.
6133
6134 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6135
6136 * vc/vc.el (vc-ignore): New function.
6137
6138 * vc/vc-svn.el (vc-svn-ignore): New function.
6139
6140 * vc/vc-hg.el (vc-hg-ignore): New function.
6141
6142 * vc/vc-git.el (vc-git-ignore): New function.
6143
6144 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6145 (vc-dir-ignore): New function.
6146
6147 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6148 (cvs-append-to-ignore): Move here from pcvs.el.
6149
6150 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6151
6152 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6153
6154 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6155
6156 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6157 (desktop-restore-frames): Warn when deleting an existing frame failed.
6158
6159 2013-07-24 Glenn Morris <rgm@gnu.org>
6160
6161 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6162
6163 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6164
6165 * filenotify.el (file-notify-supported-p):
6166 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6167 Remove functions.
6168
6169 * autorevert.el (auto-revert-use-notify):
6170 (auto-revert-notify-add-watch):
6171 * net/tramp.el (tramp-file-name-for-operation):
6172 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6173 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6174 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6175 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6176 Remove `file-notify-supported-p' entry.
6177
6178 2013-07-24 Glenn Morris <rgm@gnu.org>
6179
6180 * printing.el: Replace all uses of deleted ps-windows-system,
6181 ps-lp-system, ps-flatten-list with lpr- versions.
6182
6183 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6186 checked with memq (bug#14935).
6187
6188 * files.el (revert-buffer-function): Use a non-nil default.
6189 (revert-buffer-preserve-modes): Declare var to
6190 provide access to the `preserve-modes' argument.
6191 (revert-buffer): Let-bind it.
6192 (revert-buffer--default): New function, extracted from revert-buffer.
6193
6194 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * lpr.el: Signal print errors more prominently.
6197 (print-region-function): Don't default to nil.
6198 (lpr-print-region): New function, extracted from print-region-1.
6199 Check lpr's return value and signal an error in case of problem.
6200 (print-region-1): Use it.
6201 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6202 versions instead.
6203 (ps-printer-name): Default to nil.
6204 (ps-printer-name-option): Default to lpr-printer-switch.
6205 (ps-print-region-function): Don't default to nil.
6206 (ps-postscript-code-directory): Simplify default.
6207 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6208 (ps-string-list, ps-eval-switch, ps-flatten-list)
6209 (ps-flatten-list-1): Remove.
6210 (ps-multibyte-buffer): Avoid setq.
6211 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6212 (print-region-function, ps-print-region-function): Don't set them here.
6213
6214 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6215
6216 * ido.el (ido-fractionp):
6217 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6218 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6219 (ido-max-directory-size, ido-max-dir-file-cache)
6220 (ido-decorations): Doc fix.
6221
6222 * ansi-color.el: Fix old URL.
6223
6224 2013-07-23 Michael R. Mauger <michael@mauger.com>
6225
6226 * progmodes/sql.el: Version 3.3
6227 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6228 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6229 (sql-interactive-remove-continuation-prompt): Rewrite, use
6230 functions above. Fix continuation prompt and complete output line
6231 handling.
6232 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6233 redirected output buffer.
6234 (sql-mode): Restore deleted code (Bug#13591).
6235
6236 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6239
6240 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6241
6242 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6243
6244 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6245 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6246 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6247
6248 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6249
6250 * desktop.el (desktop-clear): Simplify; remove useless checks
6251 against invalid buffer names.
6252 (desktop-list*): Use cl-list*.
6253 (desktop-buffer-info, desktop-create-buffer): Simplify.
6254
6255 2013-07-23 Leo Liu <sdl.web@gmail.com>
6256
6257 * bookmark.el (bookmark-make-record): Restore NAME as a default
6258 value. (Bug#14933)
6259
6260 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6263 extracted from autoload--insert-text.
6264 (autoload--insert-text): Remove.
6265 (autoload--print-cookie-text): New function, extracted from
6266 autoload--insert-cookie-text.
6267 (autoload--insert-cookie-text): Remove.
6268 (autoload-generate-file-autoloads): Adjust calls accordingly.
6269
6270 * winner.el (winner-hook-installed-p): Remove.
6271 (winner-mode): Simplify accordingly.
6272
6273 * subr.el (add-to-list): Fix compiler-macro when `append' is
6274 not constant. Don't use `cl-member' for the base case.
6275
6276 * progmodes/subword.el: Fix boundary case (bug#13758).
6277 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6278 own group.
6279 (subword-backward-regexp): Make it a constant.
6280 (subword-forward-internal): Don't treat a trailing capital as the
6281 beginning of a word.
6282
6283 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6284
6285 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6286 global value of tabulated-list-revert-hook (bug#14930).
6287
6288 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6289
6290 * desktop.el: Require 'cl-lib.
6291 (desktop-before-saving-frames-functions): New hook.
6292 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6293 for frames being saved. Rename from desktop--save-minibuffer-frames.
6294 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6295 Do not save frames with non-nil `desktop-dont-save' parameter.
6296 Filter out deleted frames.
6297 (desktop--find-frame): Use cl-find-if.
6298 (desktop--select-frame): Use cl-(first|second|third) to access values
6299 of desktop-mini.
6300 (desktop--make-frame): Use cl-delete-if.
6301 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6302 (desktop-restore-frames): Use cl-(first|second|third) to access values
6303 of desktop-mini. Look for visible frame at the end, not while
6304 restoring frames.
6305
6306 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6307 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6308 Use string-match-p, looking-at-p (bug#14927).
6309
6310 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6311
6312 * desktop.el (desktop-saved-frame-states):
6313 Rename from desktop--saved-states; all users changed.
6314 (desktop-save-frames): Rename from desktop--save-frames.
6315 Do not save state to desktop file.
6316 (desktop-save): Save desktop-saved-frame-states to desktop file
6317 and reset to nil.
6318 (desktop-restoring-frames-p): New function.
6319 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6320 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6321 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6322
6323 * desktop.el: Correctly restore iconified frames.
6324 (desktop--filter-iconified-position): New function.
6325 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6326
6327 2013-07-20 Glenn Morris <rgm@gnu.org>
6328
6329 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6330 Let `message' do the formatting.
6331 (def-gdb-preempt-display-buffer): Add explicit format.
6332
6333 * image-dired.el (image-dired-track-original-file):
6334 Use with-current-buffer.
6335 (image-dired-track-thumbnail): Use with-current-buffer.
6336 Avoid changing point of wrong window.
6337
6338 * image-dired.el (image-dired-track-original-file):
6339 Avoid changing point of wrong window. (Bug#14909)
6340
6341 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6342
6343 * progmodes/gdb-mi.el (gdb-done-or-error):
6344 Guard against "%" in gdb output. (Bug#14127)
6345
6346 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6347
6348 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6349 (Bug#14826)
6350
6351 * international/mule.el (coding-system-iso-2022-flags): Fix last
6352 change.
6353
6354 2013-07-20 Kenichi Handa <handa@gnu.org>
6355
6356 * international/mule.el (coding-system-iso-2022-flags):
6357 Add `8-bit-level-4'. (Bug#8522)
6358
6359 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
6361 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6362 (bug#14815).
6363
6364 * net/eww.el (eww-process-text-input): Allow inputting when the
6365 point is at the start of the line, as the properties aren't
6366 front-sticky.
6367
6368 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6369 degenerate widths.
6370
6371 2013-07-19 Richard Stallman <rms@gnu.org>
6372
6373 * epa.el (epa-popup-info-window): Doc fix.
6374
6375 * subr.el (split-string): New arg TRIM.
6376
6377 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6378
6379 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6380 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6381
6382 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6383
6384 * filenotify.el (file-notify--library): Rename from
6385 `file-notify-support'. Do not autoload. Adapt all uses.
6386 (file-notify-supported-p): New defun.
6387
6388 * autorevert.el (auto-revert-use-notify):
6389 Use `file-notify-supported-p' instead of `file-notify-support'.
6390 Adapt docstring.
6391 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6392
6393 * net/tramp.el (tramp-file-name-for-operation):
6394 Add `file-notify-supported-p'.
6395
6396 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6397 New defun.
6398 (tramp-sh-file-name-handler-alist): Add it as handler for
6399 `file-notify-supported-p '.
6400
6401 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6403 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6404 Add `ignore' as handler for `file-notify-*' functions.
6405
6406 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6407
6408 * simple.el (line-move-partial, line-move): Don't start vscroll or
6409 scroll-up if the current line is not taller than the window.
6410 (Bug#14881)
6411
6412 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6413
6414 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6415 highlight question marks in the method names as strings.
6416 (ruby-block-beg-keywords): Inline.
6417 (ruby-font-lock-keyword-beg-re): Extract from
6418 `ruby-font-lock-keywords'.
6419
6420 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6421
6422 * frame.el (blink-cursor-blinks): New defcustom.
6423 (blink-cursor-blinks-done): New defvar.
6424 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6425 (blink-cursor-timer-function): Check if number of blinks has been
6426 done on X and NS.
6427 (blink-cursor-suspend, blink-cursor-check): New defuns.
6428
6429 2013-07-15 Glenn Morris <rgm@gnu.org>
6430
6431 * edmacro.el (edmacro-format-keys): Fix previous change.
6432
6433 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6434
6435 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6436 The hack didn't work outside English locales anyway.
6437
6438 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6439
6440 * simple.el (define-alternatives): Rename from alternatives-define,
6441 per RMS' suggestion.
6442
6443 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6444
6445 * desktop.el (desktop-restore-frames): Change default to t.
6446 (desktop-restore-in-current-display): Now offer more options.
6447 (desktop-restoring-reuses-frames): New customization option.
6448 (desktop--saved-states): Doc fix.
6449 (desktop-filter-parameters-alist): New variable, renamed and expanded
6450 from desktop--excluded-frame-parameters.
6451 (desktop--target-display): New variable.
6452 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6453 (desktop--filter-tty*, desktop--filter-*-color)
6454 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6455 (desktop--filter-save-desktop-parm)
6456 (desktop-restore-in-original-display-p): New functions.
6457 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6458 (desktop--save-minibuffer-frames): New function, inspired by a similar
6459 function from Martin Rudalics.
6460 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6461 (desktop--restore-in-this-display-p): Remove.
6462 (desktop--find-frame): Rename from desktop--find-frame-in-display
6463 and add predicate argument.
6464 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6465 (desktop--reuse-list): New variable.
6466 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6467 New functions.
6468 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6469
6470 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6471
6472 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6473
6474 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6475
6476 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6477 Highlight conversion methods on Kernel.
6478
6479 2013-07-13 Alan Mackenzie <acm@muc.de>
6480
6481 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6482 and comment it out. This out-commenting enables certain C++
6483 declarations to be parsed correctly.
6484
6485 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6486
6487 * international/mule.el (define-coding-system): Doc fix.
6488
6489 * simple.el (default-font-height): Don't call font-info if the
6490 frame's default font didn't change since the frame was created.
6491 (Bug#14838)
6492
6493 2013-07-13 Leo Liu <sdl.web@gmail.com>
6494
6495 * ido.el (ido-read-file-name): Guard against non-symbol value.
6496
6497 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6498
6499 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6500 in nested defuns.
6501
6502 2013-07-13 Leo Liu <sdl.web@gmail.com>
6503
6504 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6505 ido-set-matches call. (Bug#6852)
6506
6507 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6508
6509 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6510 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6511 Ruby 2.0.
6512 (ruby-font-lock-keywords): Distinguish calls to functions with
6513 module-like names from module references. Highlight character
6514 literals.
6515
6516 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6517
6518 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6519 (gdb-send): Handle continued commands. (Bug#14847)
6520
6521 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6522
6523 * desktop.el (desktop--v2s): Remove unused local variable.
6524 (desktop-save-buffer): Make defvar-local; adjust docstring.
6525 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6526 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6527
6528 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6529
6530 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6531
6532 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6533
6534 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6535 (Bug#14842)
6536
6537 2013-07-12 Glenn Morris <rgm@gnu.org>
6538
6539 * doc-view.el: Require cl-lib at runtime too.
6540 (doc-view-remove-if): Remove.
6541 (doc-view-search-next-match, doc-view-search-previous-match):
6542 Use cl-remove-if.
6543
6544 * edmacro.el: Require cl-lib at runtime too.
6545 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6546 (edmacro-mismatch, edmacro-subseq): Remove.
6547
6548 * shadowfile.el: Require cl-lib.
6549 (shadow-remove-if): Remove.
6550 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6551 Use cl-remove-if.
6552
6553 * wid-edit.el: Require cl-lib.
6554 (widget-choose): Use cl-remove-if.
6555 (widget-remove-if): Remove.
6556
6557 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6558 (ebrowse-delete-if-not): Remove.
6559 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6560 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6561 Use cl-delete-if-not.
6562
6563 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6566 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6567
6568 2013-07-12 Leo Liu <sdl.web@gmail.com>
6569
6570 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6571
6572 2013-07-11 Glenn Morris <rgm@gnu.org>
6573
6574 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6575 (edebug-gensym-index, edebug-gensym):
6576 Remove reimplementation of cl-gensym.
6577 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6578
6579 * thumbs.el: Require cl-lib at run-time too.
6580 (thumbs-gensym-counter, thumbs-gensym):
6581 Remove reimplementation of cl-gensym.
6582 (thumbs-temp-file): Use cl-gensym.
6583
6584 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6585 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6586 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6587 (ert--union, ert--gensym-counter, ert--gensym-counter)
6588 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6589 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6590 (ert-make-test-unbound, ert--expand-should-1)
6591 (ert--expand-should, ert--should-error-handle-error)
6592 (should-error, ert--explain-equal-rec)
6593 (ert--plist-difference-explanation, ert-select-tests)
6594 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6595 Use cl-lib functions rather than reimplementations.
6596
6597 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6598
6599 * net/tramp.el (tramp-methods): Extend docstring.
6600 (tramp-connection-timeout): New defcustom.
6601 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6602 (with-tramp-progress-reporter): Simplify.
6603 (tramp-process-actions): Improve messages.
6604
6605 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6606 * net/tramp-sh.el (tramp-maybe-open-connection):
6607 Use `tramp-connection-timeout'.
6608 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6609 (Bug#14808)
6610
6611 2013-07-11 Leo Liu <sdl.web@gmail.com>
6612
6613 * ido.el (ido-read-file-name): Conform to the requirements of
6614 read-file-name. (Bug#11861)
6615 (ido-read-directory-name): Conform to the requirements of
6616 read-directory-name.
6617
6618 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6619
6620 * subr.el (delay-warning): New function.
6621
6622 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6623
6624 * simple.el (default-line-height): New function.
6625 (line-move-partial, line-move): Use it instead of computing the
6626 line height inline.
6627 (line-move-partial): Always compute ROWH. If the last line is
6628 partially-visible, but its text is completely visible, allow
6629 cursor to enter such a partially-visible line.
6630
6631 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6632
6633 Improve error messages. (Bug#14808)
6634
6635 * net/tramp.el (tramp-current-connection): New defvar, moved from
6636 tramp-sh.el.
6637 (tramp-message-show-progress-reporter-message): Remove, not
6638 needed anymore.
6639 (tramp-error-with-buffer): Show message in minibuffer.
6640 Discard input before waiting. Reset connection timestamp.
6641 (with-tramp-progress-reporter): Improve messages.
6642 (tramp-process-actions): Use progress reporter. Delete process in
6643 case of error. Improve messages.
6644
6645 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6646 Call `tramp-error-with-buffer' with vector and buffer.
6647 (tramp-current-connection): Remove.
6648 (tramp-maybe-open-connection): The car of
6649 `tramp-current-connection' are the first 3 slots of the vector.
6650
6651 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6652
6653 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6654 inside continued strings.
6655
6656 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6657
6658 Timestamp fixes for undo (Bug#14824).
6659 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6660
6661 2013-07-10 Leo Liu <sdl.web@gmail.com>
6662
6663 * files.el (require-final-newline): Allow safe local value.
6664 (Bug#14834)
6665
6666 2013-07-09 Leo Liu <sdl.web@gmail.com>
6667
6668 * ido.el (ido-read-directory-name): Handle fallback.
6669 (ido-read-file-name): Update DIR to ido-current-directory.
6670 (Bug#1516)
6671 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6672
6673 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6674
6675 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6676 "autoload". Remove "warn lower camel case" section, previously
6677 commented out. Highlight negation char. Do not highlight the
6678 target in singleton method definitions.
6679
6680 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * faces.el (tty-setup-hook): Declare the hook.
6683
6684 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6685 and detect when a guard/pred depends on local vars (bug#14773).
6686 (pcase--u1): Adjust caller.
6687
6688 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6689
6690 * simple.el (line-move-partial, line-move): Account for
6691 line-spacing.
6692 (line-move-partial): Avoid setting vscroll when the last
6693 partially-visible line in window is of default height.
6694
6695 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6696
6697 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6698 been used a while.
6699
6700 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * subr.el (read-quoted-char): Remove unused local variable `char'.
6703
6704 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6705
6706 * ediff.el (ediff-version): Version update.
6707 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6708 (ediff-merge-with-ancestor-command, ediff-directories-command)
6709 (ediff-directories3-command, ediff-merge-directories-command)
6710 (ediff-merge-directories-with-ancestor-command): New functions.
6711 All are command-line interfaces to ediff: to facilitate calling
6712 Emacs with the appropriate ediff functions invoked.
6713
6714 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6715 (viper-save-kill-buffer): Check if buffer is modified.
6716
6717 * viper.el (viper-version): Version update.
6718 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6719
6720 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6723 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6724 (viper-intercept-ESC-key): Simplify.
6725 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6726 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6727 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6728 (viper-setup-ESC-to-escape): New functions.
6729 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6730 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6731
6732 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6733
6734 * simple.el (default-font-height, window-screen-lines):
6735 New functions.
6736 (line-move, line-move-partial): Use them instead of
6737 frame-char-height and window-text-height. This makes scrolling
6738 text smoother when the buffer's default face uses a font that is
6739 different from the frame's default font.
6740
6741 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6742
6743 * files.el (write-file): Do not display confirm dialog for NS,
6744 it does its own dialog, which can't be cancelled (Bug#14578).
6745
6746 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6747
6748 * simple.el (line-move-partial): Adjust the row returned by
6749 posn-at-point for the current window-vscroll. (Bug#14567)
6750
6751 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6752
6753 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6754 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6755 spaces.
6756
6757 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6758
6759 * window.el (window-state-put-stale-windows): New variable.
6760 (window--state-put-2): Save list of windows without matching buffer.
6761 (window-state-put): Remove "bufferless" windows if possible.
6762
6763 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6764
6765 * simple.el (alternatives-define): Remove leftover :group keyword.
6766 Tweak docstring.
6767
6768 2013-07-06 Leo Liu <sdl.web@gmail.com>
6769
6770 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6771 (ido-enable-virtual-buffers): New variable.
6772 (ido-buffer-internal, ido-toggle-virtual-buffers)
6773 (ido-make-buffer-list): Use it.
6774 (ido-exhibit): Support turning on and off virtual buffers
6775 automatically.
6776
6777 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * simple.el (alternatives-define): New macro.
6780
6781 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * subr.el (read-quoted-char): Use read-key.
6784 (sit-for): Let read-event decode tty input (bug#14782).
6785
6786 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6787
6788 * calendar/todo-mode.el: Add handling of file deletion, both by
6789 mode command and externally. Fix various related bugs.
6790 Clarify Commentary and improve some documentation strings and code.
6791 (todo-delete-file): New command.
6792 (todo-check-file): New function.
6793 (todo-show): Handle external deletion of the file we're trying to
6794 show (bug#14688). Replace called-interactively-p by an optional
6795 prefix argument to avoid problematic interaction with catch form
6796 when byte compiled (bug#14702).
6797 (todo-quit): Handle external deletion of the archive's todo file.
6798 Make sure the buffer that was visiting the archive file is still
6799 live before trying to bury it.
6800 (todo-category-completions): Handle external deletion of any
6801 category completion files.
6802 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6803 of todo files, in case of external deletion.
6804 (todo-add-file): Replace unnecessary setq by let-binding.
6805 (todo-find-archive): Check whether there are any archives.
6806 Replace unnecessary setq by let-binding.
6807 (todo-archive-done-item): Use find-file-noselect to get the
6808 archive buffer whether or not the archive already exists.
6809 Remove superfluous code. Use file size instead of buffer-file-name to
6810 check if the archive is new; if it is, update list of archives.
6811 (todo-default-todo-file): Allow nil to be a valid value for when
6812 there are no todo files.
6813 (todo-reevaluate-default-file-defcustom): Use corrected definition
6814 of todo-default-todo-file.
6815 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6816 (todo-delete-category, todo-show-categories-table)
6817 (todo-category-number): Clarify comment.
6818 (todo-filter-items): Clarify documentation string.
6819 (todo-show-current-file, todo-display-as-todo-file)
6820 (todo-reset-and-enable-done-separator): Tweak documentation string.
6821 (todo-done-separator): Make separator length window-width, since
6822 bug#2749 is now fixed.
6823
6824 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6825
6826 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6827 Support both "gvfs-monitor-dir" and "inotifywait".
6828 (tramp-sh-file-inotifywait-process-filter): Rename from
6829 `tramp-sh-file-notify-process-filter'.
6830 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6831 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6832
6833 2013-07-05 Leo Liu <sdl.web@gmail.com>
6834
6835 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6836
6837 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6838
6839 * frame.el (display-pixel-height, display-pixel-width)
6840 (display-mm-height, display-mm-width): Mention behavior on
6841 multi-monitor setups in docstrings.
6842 (w32-display-monitor-attributes-list): Declare function.
6843 (display-monitor-attributes-list): Use it.
6844
6845 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6846
6847 * filenotify.el: New package.
6848
6849 * autorevert.el (top): Require filenotify.el.
6850 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6851 instead.
6852 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6853 (auto-revert-notify-handler): Use `file-notify-*' functions.
6854
6855 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6856
6857 * net/tramp.el (tramp-file-name-for-operation):
6858 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6859
6860 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6861 for `file-notify-add-watch' and `file-notify-rm-watch'.
6862 (tramp-process-sentinel): Improve trace.
6863 (tramp-sh-handle-file-notify-add-watch)
6864 (tramp-sh-file-notify-process-filter)
6865 (tramp-sh-handle-file-notify-rm-watch)
6866 (tramp-get-remote-inotifywait): New defuns.
6867
6868 2013-07-03 Juri Linkov <juri@jurta.org>
6869
6870 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6871 call of `occur-read-primary-args' to interactive spec.
6872
6873 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6874 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6875
6876 2013-07-03 Matthias Meulien <orontee@gmail.com>
6877
6878 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6879 `Buffer-menu-multi-occur'. Add it to the menu.
6880 (Buffer-menu-mode): Document it in docstring.
6881 (Buffer-menu-multi-occur): New command. (Bug#14673)
6882
6883 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6884
6885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6886 keywords and built-ins.
6887
6888 2013-07-03 Glenn Morris <rgm@gnu.org>
6889
6890 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6891
6892 Make info-xref checks case-sensitive by default
6893 * info.el (Info-find-node, Info-find-in-tag-table)
6894 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6895 Add option for exact case matching of nodes.
6896 * info-xref.el (info-xref): New custom group.
6897 (info-xref-case-fold): New option.
6898 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6899
6900 2013-07-03 Leo Liu <sdl.web@gmail.com>
6901
6902 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6903
6904 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6905
6906 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6907 middle of block statement initially, lower the depth. Remove
6908 FIXME comment, not longer valid. Remove middle of block statement
6909 detection, no need to do that anymore since we've been using
6910 `ruby-parse-region' here.
6911
6912 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6913
6914 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6915
6916 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6917
6918 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6919
6920 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6921
6922 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6923 (desktop-restore-in-current-display): New customization option.
6924 (desktop--excluded-frame-parameters): Add `font'.
6925 (desktop--save-frames): Rename from desktop--save-windows.
6926 (desktop--restore-in-this-display-p): New function.
6927 (desktop--make-full-frame): Remove unwanted width/height from
6928 full(width|height) frames.
6929 (desktop--restore-frames): Rename from desktop--restore-windows.
6930 Obey desktop-restore-current-display. Do not delete old frames or
6931 select a new frame unless we were able to restore at least one frame.
6932
6933 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6934
6935 * files.el (find-file-noselect): Simplify conditional expression.
6936
6937 * remember.el (remember-append-to-file):
6938 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6939
6940 Add `remember-notes' function to store random notes across Emacs
6941 restarts.
6942 * remember.el (remember-data-file): Add :set callback to affect
6943 notes buffer (if any).
6944 (remember-notes): New command.
6945 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6946 New defcustoms for the `remember-notes' function.
6947 (remember-notes-save-and-bury-buffer): New command.
6948 (remember-notes-mode-map): New variable.
6949 (remember-mode): New minor mode.
6950 (remember-notes--kill-buffer-query): New function.
6951 * startup.el (initial-buffer-choice): Add notes to custom type.
6952
6953 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6954
6955 * bindings.el (right-char, left-char): Don't call sit-for, this is
6956 no longer needed. Use arithmetic comparison only for numerical
6957 arguments.
6958
6959 * international/mule-cmds.el (select-safe-coding-system):
6960 Handle the case of FROM being a string correctly. (Bug#14755)
6961
6962 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6963
6964 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6965 progression on degenerate tables.
6966 (shr-rescale-image): ImageMagick animated images currently don't work.
6967
6968 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6969
6970 Some fixes and improvements for desktop frame restoration.
6971 It is still experimental and disabled by default.
6972 * desktop.el (desktop--save-windows): Put the selected frame at
6973 the head of the list.
6974 (desktop--make-full-frame): New function.
6975 (desktop--restore-windows): Try to re-select the frame that was
6976 selected upon saving. Do not abort if some frames fail to restore,
6977 just show an error message and continue. Set up maximized frames
6978 so they have default non-maximized dimensions.
6979
6980 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6981
6982 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6983 Don't start heredoc inside a string or comment.
6984
6985 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6986
6987 * bindings.el (visual-order-cursor-movement): New defcustom.
6988 (right-char, left-char): Provide visual-order cursor motion by
6989 calling move-point-visually. Update the doc strings.
6990
6991 2013-06-28 Kenichi Handa <handa@gnu.org>
6992
6993 * international/mule.el (define-coding-system): New coding system
6994 properties :inhibit-null-byte-detection,
6995 :inhibit-iso-escape-detection, and :prefer-utf-8.
6996 (set-buffer-file-coding-system): If :charset-list property of
6997 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6998 appropriate for setting.
6999
7000 * international/mule-cmds.el (select-safe-coding-system):
7001 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7002 multibyte characters, return utf-8 (or one of its siblings).
7003
7004 * international/mule-conf.el (prefer-utf-8): New coding system.
7005 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7006 files.
7007
7008 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7009
7010 * net/shr.el (shr-render-region): New function.
7011
7012 * net/eww.el: Autoload `eww-browse-url'.
7013
7014 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7015
7016 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7017 Adapt to `package-desc-version' being a list.
7018 Use `package--ac-desc-version' to retrieve version from a package
7019 archive element.
7020
7021 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7022
7023 New experimental feature to save&restore window and frame setup.
7024 * desktop.el (desktop-save-windows): New defcustom.
7025 (desktop--saved-states): New var.
7026 (desktop--excluded-frame-parameters): New defconst.
7027 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7028 (desktop--restore-windows, desktop--save-windows): New functions.
7029 (desktop-save): Call `desktop--save-windows'.
7030 (desktop-read): Call `desktop--restore-windows'.
7031
7032 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7033
7034 * net/shr.el (add-face-text-property): Remove compat definition.
7035
7036 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7037
7038 * info.el (Info-try-follow-nearest-node): Move search for footnote
7039 above search for node name to prevent missing a footnote (bug#14717).
7040
7041 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7042
7043 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7044
7045 2013-06-27 Leo Liu <sdl.web@gmail.com>
7046
7047 * net/eww.el (eww-read-bookmarks): Check file size.
7048
7049 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7052 advice--pending if newdef is nil or an autoload (bug#13820).
7053 (advice-mapc): New function.
7054
7055 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7056
7057 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7058 probably.
7059 (eww-mode-map): Add a menu bar.
7060 (eww-add-bookmark): New command.
7061 (eww-bookmark-mode): New mode and commands.
7062 (eww-add-bookmark): Remove newlines from the title.
7063 (eww-bookmark-browse): Don't bug out if it's the only window.
7064
7065 2013-06-26 Glenn Morris <rgm@gnu.org>
7066
7067 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7068 (hfy-size): Handle ttys. (Bug#14668)
7069
7070 * info-xref.el: Update for Texinfo 5 change in *note format.
7071 (info-xref-node-re, info-xref-note-re): New constants.
7072 (info-xref-check-buffer): Use info-xref-note-re.
7073
7074 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7077
7078 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7079 nil terminate the loop (bug#14718).
7080
7081 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7082
7083 * net/eww.el: Rework history traversal. When going forward/back,
7084 put these actions into the history, too, so that they can be
7085 replayed.
7086 (eww-render): Move the history reset to the correct buffer.
7087
7088 2013-06-25 Juri Linkov <juri@jurta.org>
7089
7090 * files-x.el (modify-dir-local-variable): Change the header comment
7091 in the file with directory local variables. (Bug#14692)
7092
7093 * files-x.el (read-file-local-variable-value): Add `default'.
7094 (Bug#14710)
7095
7096 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7097
7098 * net/eww.el (eww-make-unique-file-name): Create a unique file
7099 name before saving to entering `y' accidentally asynchronously.
7100
7101 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7102
7103 * net/eww.el (eww-download): New command and keystroke.
7104
7105 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7106
7107 * net/eww.el (eww-copy-page-url): Change name of command.
7108
7109 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7110 be more consistent with Info and dired.
7111
7112 * net/eww.el (eww-mode-map): Ditto.
7113
7114 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7117 packages from archives.
7118 (package-archive-contents): Change format; include obsolete packages.
7119 (package-desc): Use `dir' to mark builtin packages.
7120 (package--from-builtin): Set the `dir' field to `builtin'.
7121 (generated-autoload-file, version-control): Declare.
7122 (package-compute-transaction): Change first arg and return value to be
7123 lists of package-descs. Adjust to new package-archive-contents format.
7124 (package--add-to-archive-contents): Adjust to new
7125 package-archive-contents format.
7126 (package-download-transaction): Arg is now a list of package-descs.
7127 (package-install): If `pkg' is a package name, pass it as
7128 a requirement, so it is subject to the usual (e.g. disabled) checks.
7129 (describe-package): Accept package-desc as well.
7130 (describe-package-1): Describe a specific package-desc. Add links to
7131 other package-descs for the same package name.
7132 (package-menu-describe-package): Pass the actual package-desc.
7133 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7134 works correctly.
7135 (package-desc-status): New function.
7136 (package-menu--refresh): New function, extracted
7137 from package-menu--generate.
7138 (package-menu--generate): Use it.
7139 (package-delete): Update package-alist.
7140 (package-menu-execute): Don't call package-initialize.
7141
7142 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7143 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7144 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7145 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7146 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7147 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7148
7149 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7150
7151 * window.el (window--state-get-1): Workaround for bug#14527.
7152 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7153
7154 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7155
7156 * net/eww.el (eww-back-url): Implement the history by stashing all
7157 the data into a list.
7158 (eww-forward-url): Allow going forward in the history, too.
7159
7160 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7163 for values and use read--expression for expressions (bug#14710).
7164 (read-file-local-variable): Avoid setq.
7165 (read-file-local-variable-mode): Use minor-mode-list.
7166
7167 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7168
7169 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7170 for DOI URLs.
7171
7172 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7173
7174 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7175 Update imenu-support when dialect changes.
7176
7177 2013-06-25 Leo Liu <sdl.web@gmail.com>
7178
7179 * ido.el (ido-read-internal): Allow forward slash on windows.
7180
7181 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7182
7183 * net/eww.el (eww): Start of strings is \\`, not ^.
7184
7185 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7186
7187 * net/shr.el (shr-browse-url): Fix interactive spec.
7188
7189 * net/eww.el (eww): Add a trailing slash to domain names.
7190
7191 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7192
7193 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7194
7195 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7196
7197 * net/shr.el (shr-browse-url): Use an external browser if given a
7198 prefix.
7199
7200 * net/eww.el (eww-external-browser): Move to shr.
7201
7202 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7203
7204 * net/eww.el (eww): Work more correctly for file: URLs.
7205 (eww-detect-charset): Allow quoted charsets.
7206 (eww-yank-page-url): New command and keystroke.
7207
7208 2013-06-24 Daiki Ueno <ueno@gnu.org>
7209
7210 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7211 file name of gpg executable.
7212 (epg-context-program): New function.
7213 (epg-context-home-directory): New function.
7214 (epg-context-set-program): New function.
7215 (epg-context-set-home-directory): New function.
7216 (epg--start): Use `epg-context-program' instead of
7217 'epg-gpg-program'.
7218 (epg--list-keys-1): Likewise.
7219
7220 2013-06-24 Leo Liu <sdl.web@gmail.com>
7221
7222 * ido.el (ido-read-internal): Fix bug#14620.
7223
7224 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * faces.el (face-documentation): Simplify.
7227 (read-face-attribute, tty-find-type, x-resolve-font-name):
7228 Use `string-match-p'.
7229 (list-faces-display): Use `string-match-p'. Simplify.
7230 (face-spec-recalc): Check face to avoid face alias loops.
7231 (read-color): Use `string-match-p' and non-capturing parenthesis.
7232
7233 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7234
7235 * net/shr.el (shr-rescale-image): Use the new
7236 :max-width/:max-height functionality.
7237
7238 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7239
7240 * net/eww.el (eww-search-prefix): New variable.
7241 (eww): Use it.
7242 (eww-external-browser): New variable.
7243 (eww-mode-map): New keystroke.
7244 (eww-browse-with-external-browser): New command.
7245
7246 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7247
7248 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7249
7250 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7251 Don't skip aligning the next header field when padding is 0;
7252 otherwise, field width is not respected unless the title is as
7253 wide as the field.
7254
7255 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * emacs-lisp/package.el (package-el-version): Remove.
7258 (package-process-define-package): Fix inf-loop.
7259 (package-install): Allow symbols as arguments again.
7260
7261 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7262
7263 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7264 add some more keyword-like methods.
7265 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7266
7267 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7268
7269 * bs.el (bs-buffer-show-mark): Make defvar-local.
7270 (bs-mode): Use setq-local.
7271
7272 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7273 (emacs-lock--try-unlocking): Make defvar-local.
7274
7275 2013-06-22 Glenn Morris <rgm@gnu.org>
7276
7277 * play/cookie1.el (cookie-apropos): Minor simplification.
7278
7279 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7280
7281 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7282
7283 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7284 `regexp-opt', it breaks the build during dumping.
7285
7286 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7287
7288 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7289 Highlight keyword-like methods on Kernel and Module with
7290 font-lock-builtin-face.
7291 (auto-mode-alist): Consolidate different entries into one regexp
7292 and add more *file-s.
7293
7294 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7295
7296 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7297
7298 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7299 (diary-entry): Use it in the action of this button type instead of
7300 diary-goto-entry.
7301
7302 * calendar/todo-mode.el: New version.
7303 (todo-add-category): Append new category to end of file and give
7304 it the highest number, instead of putting it at the beginning and
7305 giving it 0. Incorporate noninteractive functionality.
7306 (todo-forward-category): Adapt to 1-based category numbering.
7307 Allow skipping over archived categories.
7308 (todo-backward-category): Derive from todo-forward-category.
7309 (todo-backward-item, todo-forward-item): Make noninteractive and
7310 delegate interactive part to new commands. Make sensitive to done items.
7311 (todo-categories): Make value an alist of category names and
7312 vectors of item counts.
7313 (todo-category-beg): Make a defconst.
7314 (todo-category-number): Use 1 instead of 0 as initial value.
7315 (todo-category-select): Make sensitive to overlays, optional item
7316 highlighting and done items.
7317 (todo-delete-item): Make sensitive to overlays and marked and done items.
7318 (todo-edit-item): Make sensitive to overlays and editing of
7319 date/time header optional. Add format checks.
7320 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7321 no-op if point is not on an item. Advertise using todo-edit-quit.
7322 (todo-edit-mode): Make sensitive to new format, font-locking, and
7323 multiple todo files.
7324 (todo-insert-item, todo-insert-item-here): Derive from
7325 todo-basic-insert-item and extend functionality.
7326 (todo-item-end, todo-item-start): Make sensitive to done items.
7327 (todo-item-string): Don't return text properties. Restore point.
7328 (todo-jump-to-category): Make sensitive to multiple todo files and
7329 todo archives. Use extended category completion.
7330 (todo-lower-item, todo-raise-item): Rename to *-priority and
7331 derive from todo-set-item-priority.
7332 (todo-mode): Derive from special-mode. Make sensitive to new
7333 format, font-locking and multiple todo files. Make read-only.
7334 (todo-mode-map): Don't suppress digit keys, so they can supply
7335 prefix arguments. Add many new key bindings.
7336 (todo-prefix): Insert as an overlay instead of file text.
7337 Change semantics from diary date expression to purely visual mark.
7338 (todo-print): Rename to todo-print-buffer. Make buffer display
7339 features printable. Remove option to restrict number of items
7340 printed. Add option to print to file.
7341 (todo-print-function): Rename to todo-print-buffer-function.
7342 (todo-quit): Extend to handle exiting new todo modes.
7343 (todo-remove-item): Make sensitive to overlays.
7344 (todo-save): Extend to buffers of filtered items.
7345 (todo-show): Make sensitive to done items, multiple todo files and
7346 new todo modes. Offer to convert legacy todo file before creating
7347 first new todo file.
7348 (todo-show-priorities): Rename to todo-top-priorities.
7349 Change semantics of value 0.
7350 (todo-top-priorities): Rename to todo-filter-top-priorities,
7351 derive from todo-filter-items and extend functionality.
7352 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7353 and extend functionality to other types of filtered items.
7354 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7355 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7356 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7357 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7358 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7359 (todo-edit-mode-hook, todo-entry-prefix-function)
7360 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7361 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7362 (todo-initials, todo-insert-threshold, todo-item-string-start)
7363 (todo-line-string, todo-menu, todo-mode-hook)
7364 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7365 (todo-print-priorities, todo-remove-separator)
7366 (todo-save-top-priorities-too, todo-string-count-lines)
7367 (todo-string-multiline-p, todo-time-string-format)
7368 (todo-tmp-buffer-name): Remove.
7369 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7370 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7371 (todo-edit-category-diary-inclusion)
7372 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7373 (todo-edit-file, todo-edit-item-date-day)
7374 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7375 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7376 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7377 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7378 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7379 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7380 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7381 (todo-filter-top-priorities-multifile, todo-find-archive)
7382 (todo-find-filtered-items-file, todo-go-to-source-item)
7383 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7384 (todo-jump-to-archive-category, todo-lower-category)
7385 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7386 (todo-move-category, todo-move-item, todo-next-button)
7387 (todo-next-item, todo-padded-string, todo-powerset)
7388 (todo-previous-button, todo-previous-item)
7389 (todo-print-buffer-to-file, todo-raise-category)
7390 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7391 (todo-set-category-number, todo-set-item-priority)
7392 (todo-set-top-priorities-in-category)
7393 (todo-set-top-priorities-in-file, todo-show-categories-table)
7394 (todo-sort-categories-alphabetically-or-numerically)
7395 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7396 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7397 (todo-toggle-item-header, todo-toggle-item-highlighting)
7398 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7399 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7400 (todo-unarchive-items, todo-unmark-category): New commands.
7401 (todo-absolute-file-name, todo-add-to-buffer-list)
7402 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7403 (todo-basic-insert-item, todo-category-completions)
7404 (todo-category-number, todo-category-string-matcher-1)
7405 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7406 (todo-check-format, todo-clear-matches)
7407 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7408 (todo-current-category, todo-date-string-matcher)
7409 (todo-define-insertion-command, todo-diary-expired-matcher)
7410 (todo-diary-goto-entry, todo-diary-item-p)
7411 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7412 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7413 (todo-done-item-section-p, todo-done-separator)
7414 (todo-done-string-matcher, todo-files, todo-filter-items)
7415 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7416 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7417 (todo-insert-category-line, todo-insert-item-from-calendar)
7418 (todo-insert-sort-button, todo-insert-with-overlays)
7419 (todo-insertion-command-name, todo-insertion-key-bindings)
7420 (todo-label-to-key, todo-longest-category-name-length)
7421 (todo-make-categories-list, todo-mode-external-set)
7422 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7423 (todo-modes-set-3, todo-multiple-filter-files)
7424 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7425 (todo-read-category, todo-read-date, todo-read-dayname)
7426 (todo-read-file-name, todo-read-time)
7427 (todo-reevaluate-category-completions-files-defcustom)
7428 (todo-reevaluate-default-file-defcustom)
7429 (todo-reevaluate-filelist-defcustoms)
7430 (todo-reevaluate-filter-files-defcustom)
7431 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7432 (todo-reset-done-separator, todo-reset-done-separator-string)
7433 (todo-reset-done-string, todo-reset-global-current-todo-file)
7434 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7435 (todo-reset-prefix, todo-set-categories)
7436 (todo-set-date-from-calendar, todo-set-show-current-file)
7437 (todo-set-top-priorities, todo-short-file-name)
7438 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7439 (todo-total-item-counts, todo-update-buffer-list)
7440 (todo-update-categories-display, todo-update-categories-sexp)
7441 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7442 New functions.
7443 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7444 New major modes.
7445 (todo-categories, todo-display, todo-edit, todo-faces)
7446 (todo-filtered): New defgroups.
7447 (todo-archived-only, todo-button, todo-category-string, todo-date)
7448 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7449 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7450 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7451 (todo-add-item-if-new-category, todo-always-add-time-string)
7452 (todo-categories-align, todo-categories-archived-label)
7453 (todo-categories-category-label, todo-categories-diary-label)
7454 (todo-categories-done-label, todo-categories-number-separator)
7455 (todo-categories-todo-label, todo-categories-totals-label)
7456 (todo-category-completions-files, todo-completion-ignore-case)
7457 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7458 (todo-done-separator-string, todo-done-string)
7459 (todo-files-function, todo-filter-done-items, todo-filter-files)
7460 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7461 (todo-initial-category, todo-initial-file, todo-item-mark)
7462 (todo-legacy-date-time-regexp, todo-mode-line-function)
7463 (todo-nondiary-marker, todo-number-prefix)
7464 (todo-print-buffer-function, todo-show-current-file)
7465 (todo-show-done-only, todo-show-first, todo-show-with-done)
7466 (todo-skip-archived-categories, todo-top-priorities-overrides)
7467 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7468 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7469 New defcustoms.
7470 (todo-category-done, todo-date-pattern, todo-date-string-start)
7471 (todo-diary-items-buffer, todo-done-string-start)
7472 (todo-filtered-items-buffer, todo-item-start)
7473 (todo-month-abbrev-array, todo-month-name-array)
7474 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7475 (todo-top-priorities-buffer): New defconsts.
7476 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7477 (todo-categories-with-marks, todo-category-string-face)
7478 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7479 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7480 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7481 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7482 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7483 (todo-font-lock-keywords, todo-global-current-todo-file)
7484 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7485 (todo-insertion-commands-args)
7486 (todo-insertion-commands-args-genlist)
7487 (todo-insertion-commands-names, todo-insertion-map)
7488 (todo-key-bindings-t, todo-key-bindings-t+a)
7489 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7490 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7491 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7492 (todo-visited): New variables.
7493
7494 2013-06-21 Glenn Morris <rgm@gnu.org>
7495
7496 * play/cookie1.el (cookie-apropos): Add optional display argument.
7497 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7498 (psychoanalyze-pinhead): Use cookie-doctor.
7499
7500 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7501
7502 * emacs-lisp/package.el (tar-get-file-descriptor)
7503 (tar--extract): Declare.
7504
7505 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7506
7507 Extend flymake's warning predicate to be a function (bug#14217).
7508 * progmodes/flymake.el (flymake-warning-predicate): New.
7509 (flymake-parse-line): Use it.
7510 (flymake-warning-re): Make obsolete alias to
7511 `flymake-warning-predicate'.
7512
7513 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7516 (package-obsolete-list): Remove.
7517 (package-activate): Remove min-version argument. Add `force' argument.
7518 Adjust to new package-alist format.
7519 (package-mark-obsolete): Remove.
7520 (package-unpack): Force reload of the package's autoloads.
7521 (package-installed-p): Check builtins if the installed package is not
7522 recent enough.
7523 (package-initialize): Don't reset package-obsolete-list.
7524 Don't specify which package version to activate.
7525 (package-process-define-package, describe-package-1)
7526 (package-menu--generate): Adjust to new package-alist format.
7527
7528 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * allout-widgets.el (allout-widgets-mode-off)
7531 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7532 (allout-widgets-post-command-business)
7533 (allout-widgets-after-copy-or-kill-function)
7534 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7535 (allout-decorate-item-and-context)
7536 (allout-graphics-modification-handler): Fix typos in docstrings.
7537 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7538
7539 * cmuscheme.el (scheme-start-file): Doc fix.
7540 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7541 (scheme-input-filter): Use `string-match-p'.
7542
7543 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7544
7545 * dired-x.el: Use Dired consistently in docstrings.
7546
7547 * dired.el: Use Dired consistently in docstrings.
7548 (dired-readin, dired-mode): Use `setq-local'.
7549 (dired-switches-alist): Make defvar-local.
7550 (dired-buffers-for-dir): Use `zerop'.
7551 (dired-safe-switches-p, dired-switches-escape-p)
7552 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7553 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7554 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7555 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7556 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7557 (dired-toggle-marks, dired-mark-files-containing-regexp)
7558 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7559 (dired-flag-auto-save-files, dired-flag-backup-files):
7560 Use `looking-at-p'.
7561 (dired-mark-files-regexp, dired-build-subdir-alist):
7562 Use `string-match-p', `looking-at-p'.
7563
7564 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7565 (direct-print-region-helper): Use `string-match-p'.
7566
7567 2013-06-21 Leo Liu <sdl.web@gmail.com>
7568
7569 * comint.el (comint-redirect-results-list-from-process):
7570 Fix infinite loop.
7571
7572 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573
7574 * net/eww.el (eww-update-header-line-format): Quote % characters.
7575
7576 2013-06-21 Glenn Morris <rgm@gnu.org>
7577
7578 * play/cookie1.el (cookie): New custom group.
7579 (cookie-file): New option.
7580 (cookie-check-file): New function.
7581 (cookie): Make it interactive. Make start and end messages optional.
7582 Interactively, display the result. Default to cookie-file.
7583 (cookie-insert): Default to cookie-file.
7584 (cookie-snarf): Make start and end messages optional.
7585 Default to cookie-file. Use with-temp-buffer.
7586 (cookie-read): Rename from read-cookie.
7587 Make start and end messages optional. Default to cookie-file.
7588 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7589 Do not autoload it.
7590 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7591 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7592
7593 2013-06-21 Leo Liu <sdl.web@gmail.com>
7594
7595 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7596
7597 2013-06-21 Glenn Morris <rgm@gnu.org>
7598
7599 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7600
7601 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7602 Daniel Hackney <dan@haxney.org>
7603
7604 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7605 Consolidate the single-file vs tarball code.
7606 (package-desc-suffix): New function.
7607 (package-desc-full-name): Don't bother inlining it.
7608 (package-load-descriptor): Return the new package-desc.
7609 (package-mark-obsolete): Remove unused arg `package'.
7610 (package-unpack): Make it work for single files as well.
7611 Make it update package-alist.
7612 (package--make-autoloads-and-stuff): Rename from
7613 package--make-autoloads-and-compile. Don't compile any more.
7614 (package--compile): New function.
7615 (package-generate-description-file): New function, extracted from
7616 package-unpack-single.
7617 (package-unpack-single): Remove.
7618 (package--with-work-buffer): Add indentation and debugging info.
7619 (package-download-single): Remove.
7620 (package-install-from-archive): Rename from package-download-tar, make
7621 it take a pkg-desc, and make it work for single files as well.
7622 (package-download-transaction): Simplify.
7623 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7624 external tar program.
7625 (package-install-from-buffer): Remove `pkg-desc' argument.
7626 Use package-tar-file-info for tar-mode buffers.
7627 (package-install-file): Simplify accordingly.
7628 (package-archive-base): Change to take a pkg-desc.
7629 * tar-mode.el (tar--check-descriptor): New function, extracted from
7630 tar-get-descriptor.
7631 (tar-get-descriptor): Use it.
7632 (tar-get-file-descriptor): New function.
7633 (tar--extract): New function, extracted from tar-extract.
7634 (tar--extract): Use it.
7635 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7636 case the summary uses non-ascii. Adjust to new calling convention of
7637 package-tar-file-info.
7638
7639 2013-06-21 Leo Liu <sdl.web@gmail.com>
7640
7641 * comint.el (comint-redirect-results-list-from-process):
7642 Fix random delay. (Bug#14681)
7643
7644 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7645
7646 * profiler.el (profiler-format-number): Use log, not log10.
7647
7648 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7651
7652 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7655 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7656 yet available.
7657 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7658 (AUTOGENEL): ... here.
7659 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7660 (cl--defsubst-expand): Use it.
7661
7662 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7663
7664 * subr.el (log10): Move here from C code, and declare as obsolete.
7665 All uses of (log10 X) replaced with (log X 10).
7666
7667 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7668
7669 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7670 Declare with `defvar-local'.
7671 (tabulated-list-use-header-line, tabulated-list-entries)
7672 (tabulated-list-padding, tabulated-list-printer)
7673 (tabulated-list-sort-key): Declare with `defvar-local'.
7674 (tabulated-list-init-header, tabulated-list-print-fake-header):
7675 Use `setq-local'.
7676
7677 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7678
7679 * arc-mode.el (archive-mode): Add `archive-write-file' to
7680 `write-contents-functions' also for remote files. (Bug#14652)
7681
7682 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7683
7684 * cus-edit.el (custom-commands): Fix typos.
7685 (custom-display): Fix tooltip text.
7686 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7687 Fix typos in docstrings.
7688 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7689 (custom-unlispify-menu-entry, custom-magic-value-create)
7690 (custom-add-see-also, custom-group-value-create): Use ?\s.
7691 (custom-guess-type, customize-apropos, editable-field)
7692 (custom-face-value-create): Use `string-match-p'.
7693 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7694
7695 * custom.el (custom-load-symbol): Use `string-match-p'.
7696
7697 * ansi-color.el: Convert to lexical binding.
7698 (ansi-colors): Fix URL.
7699 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7700 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7701 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7702
7703 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7704
7705 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7706
7707 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7708
7709 2013-06-19 Tom Tromey <tromey@redhat.com>
7710
7711 * net/eww.el (eww-top-url): Remove.
7712 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7713 (eww-render): Set new variables. Don't set eww-top-url.
7714 (eww-handle-link): Handle "prev", "home", and "contents".
7715 Downcase the rel text.
7716 (eww-top-url): Choose best top URL.
7717
7718 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7719
7720 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7721 relying in widget.el. Using widget.el leads to too many
7722 user interface inconsistencies.
7723 (eww-self-insert): Implement entering commands in text fields.
7724 (eww-process-text-input): New function to make text input field editing
7725 work.
7726 (eww-submit): Rewrite to use the new-style form methods.
7727 (eww-select-display): Display the correct selected item.
7728 (eww-change-select): Implement changing the select value.
7729 (eww-toggle-checkbox): Implement radio/checkboxes.
7730 (eww-update-field): Fix compilation error.
7731 (eww-tag-textarea): Implement <textarea>.
7732
7733 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7734 we don't shadow mode-specific bindings.
7735
7736 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7737 nothing to push.
7738
7739 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7740
7741 2013-06-19 Glenn Morris <rgm@gnu.org>
7742
7743 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7744
7745 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7746
7747 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7748 not needed.
7749
7750 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7751
7752 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7753
7754 * net/browse-url.el (browse-url-browser-function):
7755 `eww-browse-url' has the right calling signature, `eww' does not.
7756
7757 2013-06-19 Glenn Morris <rgm@gnu.org>
7758
7759 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7760 Only eval autoloaded macros.
7761 (byte-compile-autoload): Only give the macro warning for macros.
7762
7763 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7764 (ps-underlined-faces): Declare.
7765
7766 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7767 (speedbar-add-supported-extension): Declare.
7768
7769 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7770 Don't include a date stamp in the header of the generated file;
7771 it leads to needless differences between output files.
7772
7773 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7774
7775 * net/secrets.el (secrets-struct-secret-content-type):
7776 Replace check of introspection data by a test call of "CreateItem".
7777 Some servers do not offer introspection.
7778
7779 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * electric.el (electric-pair-mode): Improve interaction with
7782 electric-layout-mode.
7783 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7784 (electric-pair-syntax): Use text-mode-syntax-table in comments
7785 and strings.
7786 (electric-pair--insert): New function.
7787 (electric-pair-post-self-insert-function): Use it and
7788 electric--after-char-pos.
7789
7790 2013-06-19 Leo Liu <sdl.web@gmail.com>
7791
7792 * progmodes/octave.el (octave-help): Fix regexp.
7793
7794 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7795
7796 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7797 (shr-table-horizontal-line): Allow nil as a value, and change the
7798 default.
7799 (shr-insert-table-ruler): Respect the nil value.
7800
7801 2013-06-18 Tom Tromey <tromey@barimba>
7802
7803 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7804 New defvars.
7805 (eww-open-file): New defun.
7806 (eww-render): Initialize new variables.
7807 (eww-display-html): Handle "link" and "a".
7808 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7809 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7810 (eww-back-url): Rename from eww-previous-url.
7811 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7812 New defuns.
7813
7814 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7815
7816 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7817 Distinguish ternary operator tokens from slash symbol and slash
7818 char literal.
7819
7820 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7821
7822 Convert symbol prettification into minor mode and global minor mode.
7823
7824 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7825 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7826 (prettify-symbols--keywords): Rename from
7827 `prog-prettify-symbols-alist' and make a local defvar.
7828 (prettify-symbols--compose-symbol): Rename from
7829 `prog--prettify-font-lock-compose-symbol'.
7830 (prettify-symbols--make-keywords): Rename from
7831 `prog-prettify-font-lock-symbols-keywords' and simplify.
7832 (prog-prettify-install): Remove.
7833 (prettify-symbols-mode): New minor mode, based on
7834 `prog-prettify-install'.
7835 (turn-on-prettify-symbols-mode): New function.
7836 (global-prettify-symbols-mode): New globalized minor mode.
7837
7838 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7839 * progmodes/cfengine.el (cfengine3-mode):
7840 * progmodes/perl-mode.el (perl-mode): Don't call
7841 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7842
7843 2013-06-18 Juri Linkov <juri@jurta.org>
7844
7845 * files-x.el (modify-file-local-variable-message): New function.
7846 (modify-file-local-variable)
7847 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7848 and call `modify-file-local-variable-message' when it's non-nil.
7849 (add-file-local-variable, delete-file-local-variable)
7850 (add-file-local-variable-prop-line)
7851 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7852 and use it. (Bug#9820)
7853
7854 2013-06-18 Juri Linkov <juri@jurta.org>
7855
7856 * emulation/vi.el (vi-shell-op):
7857 * emulation/vip.el (vip-execute-com, ex-command):
7858 * emulation/viper-cmd.el (viper-exec-bang):
7859 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7860 the call of `shell-command-on-region'. (Bug#14637)
7861
7862 * simple.el (shell-command-on-region): Doc fix.
7863
7864 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7867 (bug#14633).
7868
7869 2013-06-18 Glenn Morris <rgm@gnu.org>
7870
7871 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7872
7873 * newcomment.el (comment-search-forward, comment-search-backward):
7874 Doc fix. (Bug#14376)
7875
7876 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7877
7878 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7879 (buffer-face-mode-invoke): Doc fix.
7880
7881 2013-06-18 Matthias Meulien <orontee@gmail.com>
7882
7883 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7884 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7885
7886 2013-06-18 Glenn Morris <rgm@gnu.org>
7887
7888 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7889 Replace obsolete function generic-make-keywords with its expansion.
7890
7891 * progmodes/python.el (ffap-alist): Declare.
7892
7893 * textmodes/reftex.el (bibtex-mode-map): Declare.
7894
7895 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7898 (package-unpack, package-unpack-single): Return the pkg-dir.
7899 (package-download-transaction): Use it to update package-alist.
7900
7901 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7902
7903 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7904 possible choice.
7905
7906 2013-06-17 Juri Linkov <juri@jurta.org>
7907
7908 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7909
7910 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7911
7912 * emacs-lisp/package.el (package-load-descriptor):
7913 Remove `with-syntax-table' call, `read' doesn't need it.
7914 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7915
7916 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7917
7918 * startup.el (command-line): Expand package name returned by
7919 `package--description-file' (bug#14639).
7920
7921 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7922
7923 * emacs-lisp/package.el (package-load-descriptor): Do not call
7924 `emacs-lisp-mode', just use its syntax table.
7925
7926 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7927
7928 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7929 `font-lock-extra-managed-props' if any prettifying keyword is added.
7930 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7931 (prog-mode): Use `setq-local'.
7932
7933 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * international/characters.el (standard-case-table): Set syntax of ?»
7936 and ?« to punctuation.
7937
7938 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7941 Save relevant match data before calling `syntax-ppss' (bug#14595).
7942
7943 2013-06-15 Juri Linkov <juri@jurta.org>
7944
7945 * files-x.el (modify-file-local-variable-prop-line): Add local
7946 variables to the end of the existing comment on the first line.
7947 Use `file-auto-mode-skip' to skip interpreter magic line,
7948 and also skip XML declaration.
7949
7950 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * startup.el (package--builtin-versions): New var.
7953 (package-subdirectory-regexp): Remove.
7954 (package--description-file): Hard code its value instead.
7955
7956 * emacs-lisp/package.el: Don't activate packages older than builtin.
7957 (package-obsolete-list): Rename from package-obsolete-alist, and make
7958 it into a simple list of package-desc.
7959 (package-strip-version): Remove.
7960 (package-built-in-p): Use package--builtin-versions.
7961 (package-mark-obsolete): Simplify.
7962 (package-process-define-package): Mark it obsolete if older than the
7963 builtin version.
7964 (package-handle-response): Use line-end-position.
7965 (package-read-archive-contents, package--download-one-archive):
7966 Simplify.
7967 (package--add-to-archive-contents): Skip if older than the builtin or
7968 installed version.
7969 (package-menu-describe-package): Fix last change.
7970 (package-list-unversioned): New var.
7971 (package-menu--generate): Use it.
7972
7973 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7974 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7975 (autoload-builtin-package-versions): New variable.
7976 (autoload-generate-file-autoloads): Use them.
7977 Remove the list of autoloaded functions/macros from the
7978 (autoload...) comments.
7979
7980 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7981
7982 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7983
7984 * simple.el (line-move-partial): Don't jump to the next screen
7985 line as soon as it becomes visible. Instead, continue enlarging
7986 the vscroll until the portion of a tall screen line that's left on
7987 display is about the height of the frame's default font.
7988 (Bug#14567)
7989
7990 2013-06-15 Glenn Morris <rgm@gnu.org>
7991
7992 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7993 compilation-error-regexp-alist void, or local while let-bound.
7994
7995 * progmodes/make-mode.el (makefile-mode-syntax-table):
7996 Treat "=" as punctuation. (Bug#14614)
7997
7998 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7999
8000 * help-fns.el (describe-variable):
8001 Add extra line for permanent-local variables.
8002
8003 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8004
8005 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8006 Add export, import, library. (Bug#9164)
8007 (library): Set indent function.
8008
8009 2013-06-14 Glenn Morris <rgm@gnu.org>
8010
8011 * term/xterm.el (xterm--query):
8012 Stop after first matching handler. (Bug#14615)
8013
8014 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8015
8016 Add support for dired in saveplace.
8017 * dired.el (dired-initial-position-hook): New variable.
8018 (dired-initial-position): Call hook to place cursor position.
8019 * saveplace.el (save-place-to-alist): Add dired position.
8020 (save-place-dired-hook): New function.
8021
8022 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8025 through a symbol rather than letrec.
8026
8027 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8028 (package-desc): Add `dir' field.
8029 (package-desc-full-name): New function.
8030 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8031 (package-maybe-load-descriptor): Remove.
8032 (package-load-all-descriptors): Just call package-load-descriptor.
8033 (package--disabled-p): New function.
8034 (package-desc-vers, package-desc-doc): Remove aliases.
8035 (package--dir): Remove function.
8036 (package-activate): Check if a package is disabled.
8037 (package-process-define-package): New function, extracted from
8038 define-package.
8039 (define-package): Turn into a place holder.
8040 (package-unpack-single, package-tar-file-info):
8041 Use package--description-file.
8042 (package-compute-transaction): Use package--disabled-p.
8043 (package-download-transaction): Don't call
8044 package-maybe-load-descriptor since they're all loaded anyway.
8045 (package-install): Change argument to be a pkg-desc.
8046 (package-delete): Use a single pkg-desc argument.
8047 (describe-package-1): Use package-desc-dir instead of package--dir.
8048 Use package-desc property instead of package-symbol.
8049 (package-install-button-action): Adjust accordingly.
8050 (package--push): Rewrite.
8051 (package-menu--print-info): Adjust accordingly. Change the ID format
8052 to be a pkg-desc.
8053 (package-menu-describe-package, package-menu-get-status)
8054 (package-menu--find-upgrades, package-menu-mark-upgrades)
8055 (package-menu-execute, package-menu--name-predicate):
8056 Adjust accordingly.
8057 * startup.el (package--description-file): New function.
8058 (command-line): Use it.
8059 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8060 Use package-desc-version.
8061
8062 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8063 (byte-compile-preprocess): Use it.
8064 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8065 can't quite recognize.
8066 (byte-compile-add-to-list): Remove.
8067 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8068 (cconv-closure-convert): Add assertion.
8069
8070 * emacs-lisp/map-ynp.el: Use lexical-binding.
8071 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8072 Factor out some repeated code.
8073
8074 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * subr.el (with-eval-after-load): New macro.
8077 (eval-after-load): Allow form to be a function.
8078 take advantage of lexical-binding.
8079 (do-after-load-evaluation): Use dolist and adjust to new format.
8080 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8081
8082 2013-06-13 Juri Linkov <juri@jurta.org>
8083
8084 * replace.el (perform-replace): Display "symbol " and other search
8085 modes from `isearch-message-prefix' in the *Help* buffer.
8086
8087 * isearch.el (isearch-query-replace): Add " symbol" and other
8088 possible search modes from `isearch-message-prefix' to the prompt.
8089 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8090 when reading a regexp to collect.
8091
8092 2013-06-13 Juri Linkov <juri@jurta.org>
8093
8094 * isearch.el (word-search-regexp): Match whitespace if the search
8095 string begins or ends in whitespace. The LAX arg is applied to
8096 both ends of the search string. Use `regexp-quote' and explicit
8097 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8098 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8099 boundaries are replaced with symbol boundaries, and characters
8100 between symbols match non-word non-symbol syntax. (Bug#14602)
8101
8102 2013-06-13 Juri Linkov <juri@jurta.org>
8103
8104 * isearch.el (isearch-del-char): Don't exceed the length of
8105 `isearch-string' by the prefix arg. (Bug#14563)
8106
8107 2013-06-13 Juri Linkov <juri@jurta.org>
8108
8109 * isearch.el (isearch-yank-word, isearch-yank-line)
8110 (isearch-char-by-name, isearch-quote-char)
8111 (isearch-printing-char, isearch-process-search-char):
8112 Add optional count prefix arg. (Bug#14563)
8113
8114 * international/isearch-x.el
8115 (isearch-process-search-multibyte-characters):
8116 Add optional count prefix arg.
8117
8118 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8121 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8122 lexical-binding.
8123
8124 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8125
8126 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8127
8128 2013-06-13 Glenn Morris <rgm@gnu.org>
8129
8130 * startup.el (tty-handle-args):
8131 Don't just discard "--" and anything after. (Bug#14608)
8132
8133 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8134
8135 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8136
8137 Implement changes in Secret Service API. Make it backward compatible.
8138 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8139 (secrets-create-item): Use it. Prefix properties with interface.
8140
8141 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8142
8143 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8144 (term-emulate-terminal): Respect term-suppress-hard-newline.
8145
8146 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8147
8148 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8149 Only remove a `thumb-file' overlay. (Bug#14548)
8150
8151 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8152
8153 * mail/reporter.el (reporter-submit-bug-report):
8154 Handle missing package-name. (Bug#14600)
8155
8156 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8157
8158 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8159 (reftex-citation-prompt, reftex-default-bibliography)
8160 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8161 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8162 (reftex-bib-sort-author, reftex-bib-sort-year)
8163 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8164 (reftex-extract-bib-entries-from-thebibliography)
8165 (reftex-get-bibkey-default, reftex-get-bib-names)
8166 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8167 (reftex-format-bib-entry, reftex-parse-bibitem)
8168 (reftex-format-bibitem, reftex-do-citation)
8169 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8170 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8171 (reftex-insert-bib-matches, reftex-format-citation)
8172 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8173 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8174 existing comments into docstrings.
8175
8176 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8177
8178 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8179
8180 2013-06-12 Andreas Schwab <schwab@suse.de>
8181
8182 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8183 for auto-save files.
8184
8185 2013-06-12 Glenn Morris <rgm@gnu.org>
8186
8187 * ido.el (ido-delete-ignored-files): Remove.
8188 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8189 Go back to calling ido-ignore-item-p directly.
8190
8191 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8192
8193 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8194
8195 * ido.el (ido-delete-ignored-files): New function,
8196 split from ido-make-file-list-1.
8197 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8198 (ido-make-file-list-1): Use ido-delete-ignored-files.
8199
8200 2013-06-12 Leo Liu <sdl.web@gmail.com>
8201
8202 * progmodes/octave.el (inferior-octave-startup)
8203 (inferior-octave-completion-table)
8204 (inferior-octave-track-window-width-change)
8205 (octave-eldoc-function-signatures, octave-help)
8206 (octave-find-definition): Use single quoted strings.
8207 (inferior-octave-startup-args): Change default value.
8208 (inferior-octave-startup): Do not hard code "-i" and
8209 "--no-line-editing".
8210 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8211 (inferior-octave-directory-tracker): Use it.
8212 (octave-goto-function-definition): Robustify.
8213 (octave-help): Support highlighting operators in 'See also'.
8214 (octave-find-definition): Find subfunctions only in Octave mode.
8215
8216 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * help-fns.el (help-fns--compiler-macro): If the handler function is
8219 named, then put a link to it.
8220 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8221 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8222 (cl-typep): Use it.
8223 (cl-eval-when): Simplify debug spec.
8224 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8225 compiler-macro function instead of setting `compiler-macro-file'.
8226
8227 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8228
8229 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8230 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8231
8232 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8233 Daniel Hackney <dan@haxney.org>
8234
8235 First part of Daniel Hackney's patch to package.el.
8236 * emacs-lisp/package.el: Use defstruct.
8237 (package-desc): New, main struct.
8238 (package--bi-desc, package--ac-desc): New structs, used to describe the
8239 format in external files.
8240 (package-desc-vers): Replace with package-desc-version accessor.
8241 (package-desc-doc): Replace with package-desc-summary accessor.
8242 (package-activate-1): Remove `package' arg since the pkg-vec now
8243 includes the name.
8244 (define-package): Use package-desc-from-define.
8245 (package-unpack-single): Change file-name arg to be a symbol.
8246 (package--add-to-archive-contents): Use package-desc-create and new
8247 accessor functions to package--ac-desc.
8248 (package-buffer-info, package-tar-file-info): Return a package-desc.
8249 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8250 arg to be a package-desc.
8251 (package-install-file): Adjust accordingly. Use \' to match EOS.
8252 (package--from-builtin): New function.
8253 (describe-package-1, package-menu--generate): Use it.
8254 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8255 (package-generate-autoloads): Idem and return the name of the file.
8256 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8257 Change pkg-info arg to be a package-desc.
8258 Use package-make-ac-desc.
8259 (package-upload-file): Use \' to match EOS.
8260 * finder.el (finder-compile-keywords): Use package-make-builtin.
8261
8262 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * vc/vc.el (vc-deduce-fileset): Change error message.
8265 (vc-read-backend): New function.
8266 (vc-next-action): Use it.
8267
8268 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8269
8270 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8271 (prolog-font-lock-keywords): Use regexp-opt instead.
8272 Don't manually highlight strings.
8273 (prolog-mode-variables): Simplify comment-start-skip.
8274 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8275
8276 * emacs-lisp/generic.el (generic--normalise-comments)
8277 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8278 (generic-mode-set-comments): Use them.
8279 (generic-bracket-support): Use setq-local.
8280 (generic-make-keywords-list): Declare obsolete.
8281
8282 2013-06-11 Glenn Morris <rgm@gnu.org>
8283
8284 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8285 Prettify after setting font-lock-defaults. (Bug#14574)
8286
8287 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8288
8289 * replace.el (query-replace, occur-read-regexp-defaults-function)
8290 (replace-search):
8291 * subr.el (declare-function, number-sequence, local-set-key)
8292 (substitute-key-definition, locate-user-emacs-file)
8293 (with-silent-modifications, split-string, eval-after-load):
8294 Fix typos, remove unneeded backslashes and reflow some docstrings.
8295
8296 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8299 default for Elisp files.
8300
8301 2013-06-11 Glenn Morris <rgm@gnu.org>
8302
8303 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8304 although define-derived-mode was doing this anyway. (Bug#14583)
8305
8306 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8307
8308 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8309 Fix make-variable-buffer-local call to refer to the correct variable.
8310
8311 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8312
8313 * eshell/em-term.el (eshell-visual-commands)
8314 (eshell-visual-subcommands, eshell-visual-options):
8315 Add summary line to docstrings. Add cross-references.
8316
8317 2013-06-10 Glenn Morris <rgm@gnu.org>
8318
8319 * epa.el (epa-read-file-name): New function. (Bug#14510)
8320 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8321
8322 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8323
8324 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8325 output redirection to be ignored with visual commands.
8326
8327 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8328
8329 * eshell/em-term.el (eshell-visual-command-p): New function.
8330 (eshell-term-initialize): Move long lambda to separate function
8331 eshell-visual-command-p.
8332 * eshell/em-dirs.el (eshell-dirs-initialise):
8333 * eshell/em-script.el (eshell-script-initialize):
8334 Add missing #' to lambda.
8335
8336 2013-06-08 Leo Liu <sdl.web@gmail.com>
8337
8338 * progmodes/octave.el (octave-add-log-current-defun): New function.
8339 (octave-mode): Set add-log-current-defun-function.
8340 (octave-goto-function-definition): Do not move point if not found.
8341 (octave-find-definition): Enhance to try subfunctions first.
8342
8343 2013-06-08 Glenn Morris <rgm@gnu.org>
8344
8345 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8346 (byte-compile-backward-char, byte-compile-backward-word):
8347 Improve previous change, to handle non-explicit nil.
8348
8349 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8352 (smie--opener/closer-at-point): New function.
8353 (smie--matching-block-data): Use it. Don't match from right after an
8354 opener or right before a closer. Obey smie-blink-matching-inners.
8355 Don't signal a mismatch for repeated inners like "switch..case..case".
8356
8357 2013-06-07 Leo Liu <sdl.web@gmail.com>
8358
8359 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8360 to t. (Bug#14303)
8361 (octave-function-header-regexp): Fix. (Bug#14570)
8362 (octave-help-mode-finish-hook, octave-help-mode-finish):
8363 Remove. Just use temp-buffer-show-hook.
8364
8365 * newcomment.el (comment-search-backward): Revert last change.
8366 (Bug#14434)
8367
8368 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8369
8370 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8371
8372 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8373 through xargs, to avoid failure due to MS-Windows limitations on
8374 command-line length.
8375
8376 2013-06-06 Glenn Morris <rgm@gnu.org>
8377
8378 * font-lock.el (lisp-font-lock-keywords-2):
8379 Treat user-error like error.
8380
8381 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8382 (byte-compile-backward-char, byte-compile-backward-word):
8383 Handle explicit nil arguments. (Bug#14565)
8384
8385 2013-06-05 Alan Mackenzie <acm@muc.de>
8386
8387 * isearch.el (isearch-allow-prefix): New user option.
8388 (isearch-other-meta-char): Don't exit isearch when a prefix
8389 argument is typed whilst `isearch-allow-prefix' is non-nil.
8390 (Bug#9706)
8391
8392 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * autorevert.el (auto-revert-notify-handler): Use memq.
8395 Hide assertion failure.
8396
8397 * skeleton.el: Use cl-lib.
8398 (skeleton-further-elements): Use defvar-local.
8399 (skeleton-insert): Use cl-progv.
8400
8401 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8402
8403 * progmodes/prog-mode.el (prog-prettify-symbols)
8404 (prog-prettify-install): Update docstrings.
8405
8406 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * simple.el: Move all the prog-mode code to prog-mode.el.
8409 * progmodes/prog-mode.el: New file.
8410 * loadup.el: Add prog-mode.el.
8411
8412 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8413
8414 * simple.el (prog-prettify-symbols): Add version.
8415 (prog-prettify-install): Add convenience function to prettify symbols.
8416
8417 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8418 (perl--augmented-font-lock-keywords-1)
8419 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8420 variables and use it.
8421
8422 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8423 (cfengine3-mode): Remove unneeded variable and use it.
8424
8425 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8426 (lisp--augmented-font-lock-keywords-1)
8427 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8428 Remove unneeded variables and use it.
8429
8430 2013-06-05 João Távora <joaotavora@gmail.com>
8431
8432 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8433 to point when opening the connection. (Bug#14380)
8434
8435 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * subr.el (load-history-regexp, load-history-filename-element)
8438 (eval-after-load, after-load-functions, do-after-load-evaluation)
8439 (eval-next-after-load, display-delayed-warnings)
8440 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8441 definition of save-match-data.
8442 (overriding-local-map): Remove accidental obsolescence declaration.
8443
8444 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8445
8446 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8447
8448 Generalize symbol prettify support to prog-mode and implement it
8449 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8450 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8451 (prog--prettify-font-lock-compose-symbol)
8452 (prog-prettify-font-lock-symbols-keywords): New variables and
8453 functions to support symbol prettification.
8454 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8455 (lisp--augmented-font-lock-keywords-1)
8456 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8457 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8458 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8459 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8460 Implement prettify of -> => :: strings.
8461 * progmodes/perl-mode.el (perl-prettify-symbols)
8462 (perl--font-lock-compose-symbol)
8463 (perl--font-lock-symbols-keywords): Move to prog-mode.
8464 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8465 (perl-font-lock-keywords-1)
8466 (perl-font-lock-keywords-2): Remove explicit prettify support.
8467 (perl--augmented-font-lock-keywords)
8468 (perl--augmented-font-lock-keywords-1)
8469 (perl--augmented-font-lock-keywords-2, perl-mode):
8470 Implement prettify support.
8471
8472 2013-06-05 Leo Liu <sdl.web@gmail.com>
8473
8474 Re-implement smie matching block highlight using
8475 show-paren-data-function. (Bug#14395)
8476 * emacs-lisp/smie.el (smie-matching-block-highlight)
8477 (smie--highlight-matching-block-overlay)
8478 (smie--highlight-matching-block-lastpos)
8479 (smie-highlight-matching-block)
8480 (smie-highlight-matching-block-mode): Remove.
8481 (smie--matching-block-data-cache): New variable.
8482 (smie--matching-block-data): New function.
8483 (smie-setup): Use smie--matching-block-data for
8484 show-paren-data-function.
8485
8486 * progmodes/octave.el (octave-mode-menu): Fix.
8487 (octave-find-definition): Skip garbage lines.
8488
8489 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 Fix compilation error with simultaneous dynamic+lexical scoping.
8492 Add warning when a defvar appears after the first let-binding.
8493 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8494 (byte-compile-close-variables): Initialize it.
8495 (byte-compile--declare-var): New function.
8496 (byte-compile-file-form-defvar)
8497 (byte-compile-file-form-define-abbrev-table)
8498 (byte-compile-file-form-custom-declare-variable): Use it.
8499 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8500 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8501 (byte-compile-bind): Handle dynamic bindings that shadow
8502 lexical bindings.
8503 (byte-compile-unbind): Make arg non-optional.
8504 (byte-compile-let): Simplify.
8505 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8506 (cconv--analyse-function, cconv-analyse-form): Populate it.
8507 Protect byte-compile-bound-variables to limit the scope of defvars.
8508 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8509 Remove unneeded rule for `declare'.
8510
8511 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8512 so as to avoid depending on cl-adjoin at run-time.
8513 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8514
8515 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8516 (macroexp--warn-and-return): Use it.
8517
8518 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * lisp/subr.el: Convert to lexical binding.
8521 (overriding-local-map): Make obsolete.
8522 (add-to-list): Doc fix. Add compiler macro.
8523 (read-key): Swap values of local maps.
8524
8525 2013-06-05 Leo Liu <sdl.web@gmail.com>
8526
8527 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8528
8529 2013-06-04 Leo Liu <sdl.web@gmail.com>
8530
8531 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8532 (compilation-auto-jump): Suppress the "Mark set" message to give
8533 way to exit message.
8534
8535 2013-06-04 Alan Mackenzie <acm@muc.de>
8536
8537 Remove faulty optimisation from indentation calculation.
8538 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8539 search limit based on 2000 characters back from indent-point.
8540
8541 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8542
8543 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8544
8545 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * emacs-lisp/lisp.el: Use lexical-binding.
8548 (lisp--local-variables-1, lisp--local-variables): New functions.
8549 (lisp--local-variables-completion-table): New var.
8550 (lisp-completion-at-point): Use it complete let-bound vars.
8551
8552 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8553 eagerly (bug#14422).
8554
8555 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * autorevert.el (auto-revert-notify-enabled)
8558 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8559 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8560 (auto-revert-notify-handler): Handle also gfilenotify.
8561
8562 * subr.el (file-notify-handle-event): New defun. Replacing ...
8563 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8564 Remove.
8565
8566 2013-06-03 Juri Linkov <juri@jurta.org>
8567
8568 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8569 `M-s h .'. (Bug#14427)
8570
8571 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8572 command `hi-lock-face-symbol-at-point'.
8573 (hi-lock-face-symbol-at-point): New command.
8574 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8575 (hi-lock-menu): Add `highlight-symbol-at-point'.
8576 (hi-lock-mode): Doc fix.
8577
8578 * isearch.el (isearch-forward-symbol-at-point): New command.
8579 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8580 (isearch-highlight-regexp): Add a regexp which matches
8581 words/symbols for word/symbol mode.
8582
8583 * subr.el (find-tag-default-bounds): New function with the body
8584 mostly moved from `find-tag-default'.
8585 (find-tag-default): Move most code to `find-tag-default-bounds',
8586 call it and apply `buffer-substring-no-properties' afterwards.
8587
8588 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8589
8590 * eshell/em-term.el (eshell-term-initialize):
8591 Use `cl-intersection' rather than `intersection'.
8592
8593 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8594
8595 * vc/log-view.el: Doc fix.
8596 (log-view-mode-map): Copy keymap from `special-mode-map'.
8597
8598 2013-06-02 Eric Ludlam <zappo@gnu.org>
8599
8600 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8601 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8602 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8603 (eieio-unbound, eieio-default-superclass)
8604 (eieio--define-field-accessors, method-static, method-before)
8605 (method-primary, method-after, method-num-lists)
8606 (method-generic-before, method-generic-primary)
8607 (method-generic-after, method-num-slots)
8608 (eieio-specialized-key-to-generic-key)
8609 (eieio--check-type, class-v, class-p)
8610 (eieio-class-name, define-obsolete-function-alias)
8611 (eieio-class-parents-fast, eieio-class-children-fast)
8612 (same-class-fast-p, class-constructor, generic-p)
8613 (generic-primary-only-p, generic-primary-only-one-p)
8614 (class-option-assoc, class-option, eieio-object-p)
8615 (class-abstract-p, class-method-invocation-order)
8616 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8617 (eieio-class-un-autoload, eieio-defclass)
8618 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8619 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8620 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8621 (eieio-defgeneric-reset-generic-form)
8622 (eieio-defgeneric-form-primary-only)
8623 (eieio-defgeneric-reset-generic-form-primary-only)
8624 (eieio-defgeneric-form-primary-only-one)
8625 (eieio-defgeneric-reset-generic-form-primary-only-one)
8626 (eieio-unbind-method-implementations)
8627 (eieio--defmethod, eieio--typep)
8628 (eieio-perform-slot-validation, eieio-validate-slot-value)
8629 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8630 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8631 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8632 (eieio-slot-name-index, eieio-class-slot-name-index)
8633 (eieio-set-defaults, eieio-initarg-to-attribute)
8634 (eieio-attribute-to-initarg, eieio-c3-candidate)
8635 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8636 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8637 (eieio-class-precedence-list, eieio-generic-call-methodname)
8638 (eieio-generic-call-arglst, eieio-generic-call-key)
8639 (eieio-generic-call-next-method-list)
8640 (eieio-pre-method-execution-functions, eieio-generic-call)
8641 (eieio-generic-call-primary-only, eieiomt-method-list)
8642 (eieiomt-optimizing-obarray, eieiomt-install)
8643 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8644 (eieio-generic-form, eieio-defmethod, make-obsolete)
8645 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8646 (defclass): Remove `eval-and-compile' from macro.
8647 (call-next-method, shared-initialize): Instead of using
8648 `scoped-class' variable, use new eieio--scoped-class, and
8649 eieio--with-scoped-class.
8650 (initialize-instance): Rename local variable 'scoped-class' to
8651 'this-class' to remove ambiguitity from old global.
8652
8653 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8654 eieio.el.
8655 (eieio--scoped-class-stack): New variable.
8656 (eieio--scoped-class): New fcn.
8657 (eieio--with-scoped-class): New scoping macro.
8658 (eieio-defclass): Use pushnew instead of add-to-list.
8659 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8660 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8661 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8662 `scoped-class' variable, use new eieio--scoped-class, and
8663 eieio--with-scoped-class.
8664
8665 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8666
8667 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8668
8669 * eshell/esh-ext.el (eshell-external-command): Pass args to
8670 `eshell-find-interpreter'.
8671 (eshell-find-interpreter): Add new second parameter ARGS.
8672
8673 * eshell/em-script.el (eshell-script-initialize): Add second arg
8674 to the function added as MATCH to `eshell-interpreter-alist'.
8675
8676 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8677 the function added as MATCH to `eshell-interpreter-alist'.
8678
8679 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8680 (eshell-visual-options): New defcustom.
8681 (eshell-escape-control-x): Adapt docstring.
8682 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8683 `eshell-visual-options' in addition to `eshell-visual-commands'.
8684 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8685
8686 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8687
8688 * progmodes/python.el (python-indent-block-enders): Add break,
8689 continue and raise keywords.
8690
8691 2013-06-01 Glenn Morris <rgm@gnu.org>
8692
8693 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8694
8695 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8696 * progmodes/cc-cmds.el (delete-forward-p):
8697 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8698 * progmodes/cc-engine.el (buffer-syntactic-context):
8699 * progmodes/cc-fonts.el (face-property-instance):
8700 * progmodes/cc-mode.el (set-keymap-parents):
8701 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8702 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8703 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8704 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8705 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8706
8707 * progmodes/cc-vars.el (other): Emacs has this widget since
8708 at least 21.1, so don't (re)define it.
8709
8710 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8711 Replace the obsolete alias pcomplete-arg-quote-list.
8712
8713 2013-06-01 Leo Liu <sdl.web@gmail.com>
8714
8715 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8716 punctuation syntax.
8717 (inferior-octave-minimal-columns)
8718 (inferior-octave-last-column-width): New variables.
8719 (inferior-octave-track-window-width-change): New function.
8720 (inferior-octave-mode): Adjust column width so that Octave output,
8721 for example from 'ls', can fit into the window nicely.
8722
8723 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8724
8725 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8726 Highlight expansions inside regexp literals.
8727
8728 2013-05-31 Glenn Morris <rgm@gnu.org>
8729
8730 * obsolete/sym-comp.el (symbol-complete):
8731 Replace obsolete completion-annotate-function.
8732
8733 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8734
8735 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8736
8737 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8738 New function, checks if point is inside a literal that allows
8739 expression expansion.
8740 (ruby-syntax-propertize-expansion): Use it.
8741 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8742 around the body.
8743
8744 2013-05-30 Juri Linkov <juri@jurta.org>
8745
8746 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8747 to "\M-si".
8748 (isearch-invisible): New variable.
8749 (isearch-forward): Doc fix.
8750 (isearch-mode): Set `isearch-invisible'
8751 to the value of `search-invisible'.
8752 (isearch-toggle-case-fold): Doc fix.
8753 (isearch-toggle-invisible): New command.
8754 (isearch-query-replace): Let-bind `search-invisible'
8755 to the value of `isearch-invisible'.
8756 (isearch-search): Use `isearch-invisible' instead of
8757 `search-invisible'. Let-bind `search-invisible'
8758 to the value of `isearch-invisible'. (Bug#11378)
8759
8760 2013-05-30 Juri Linkov <juri@jurta.org>
8761
8762 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8763 call when `query-flag' is nil and `search-invisible' is non-nil.
8764 (Bug#11746)
8765
8766 2013-05-30 Glenn Morris <rgm@gnu.org>
8767
8768 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8769
8770 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8771 (cc-require): Suppress spurious "noruntime" warnings.
8772 (cc-require-when-compile): Use fboundp, for sake of compiler.
8773
8774 * progmodes/cc-mode.el: Move load of cc-vars before that of
8775 cc-langs (which in turn loads cc-vars), to quieten compiler.
8776
8777 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * paren.el: Simplify the code.
8780 (show-paren-mode): Always start the timer.
8781 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8782 (show-paren--overlay, show-paren--overlay-1): Rename from
8783 show-paren-overlay and show-paren-overlay-1, and initialize to an
8784 overlay rather than to nil.
8785 (show-paren-function): Misc cleanup and simplifications.
8786
8787 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * paren.el (show-paren-data-function): New hook.
8790 (show-paren--default): New function, extracted from show-paren-function.
8791 (show-paren-function): Use show-paren-data-function.
8792
8793 2013-05-30 Glenn Morris <rgm@gnu.org>
8794
8795 * ielm.el (ielm-map, ielm-complete-symbol):
8796 Use completion-at-point rather than obsolete functions.
8797 (inferior-emacs-lisp-mode): Doc fix.
8798 Set completion-at-point-functions, rather than
8799 comint-dynamic-complete-functions.
8800
8801 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8802 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8803 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8804
8805 * image.el (image-animated-p): Tweak definition.
8806
8807 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8808 (rlogin-process-connection-type): Tweak default. Add set-after.
8809 (rlogin-host): Doc fix.
8810 (rlogin): Tweak prompt.
8811 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8812
8813 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8814 * progmodes/tcl.el (inferior-tcl-mode-map):
8815 Use completion-at-point rather than obsolete alias.
8816
8817 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8818
8819 * minibuffer.el (read-file-name-completion-ignore-case):
8820 Move before completion--in-region, for eager macro expansion.
8821
8822 2013-05-29 Juri Linkov <juri@jurta.org>
8823
8824 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8825 for total count of matching lines. Add `global-matches' for total
8826 count of matches. Rename `matches' to `lines' for count of
8827 matching lines. Add `matches' for count of matches.
8828 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8829 to `prev-line' for line number of prev match endpt.
8830 Increment `matches' for every match. Print the number of
8831 matching lines in the header.
8832 (occur-context-lines): Rename `lines' to `curr-line'.
8833 Rename `prev-lines' to `prev-line'. (Bug#14017)
8834
8835 2013-05-29 Juri Linkov <juri@jurta.org>
8836
8837 * replace.el (perform-replace): Add `skip-read-only-count',
8838 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8839 Increment them for corresponding conditions and report the number
8840 of skipped occurrences in the final message. (Bug#11746)
8841 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8842 (replace-string, replace-regexp): Doc fix.
8843
8844 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8847
8848 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8849 prog-mode-map (bug#14504).
8850
8851 2013-05-29 Leo Liu <sdl.web@gmail.com>
8852
8853 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8854 (octave-help): Small simplification.
8855
8856 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8857 off the highlight first.
8858
8859 2013-05-29 Glenn Morris <rgm@gnu.org>
8860
8861 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8862 Handle idlwave-last-system-routine-info-cons-cell being nil.
8863
8864 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8865 (idlwave-write-paths): Simplify via with-temp-buffer.
8866
8867 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8868 * emulation/cua-rect.el: Also load cua-base at run time.
8869
8870 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8871 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8872 (cperl-imenu-on-info): Require imenu.
8873
8874 2013-05-28 Alan Mackenzie <acm@muc.de>
8875
8876 Handle "capitalised keywords" correctly.
8877 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8878
8879 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8880
8881 * eshell/em-unix.el: Add -r option to cp.
8882
8883 2013-05-28 Glenn Morris <rgm@gnu.org>
8884
8885 * vc/vc-arch.el (vc-exec-after): Declare.
8886 (vc-switches): Autoload.
8887 * vc/vc-bzr.el: No need to require vc when compiling.
8888 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8889 (vc-resynch-buffer, vc-dir-refresh): Declare.
8890 (vc-setup-buffer, vc-switches): Autoload.
8891 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8892 (vc-resynch-buffer): Declare.
8893 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8894 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8895 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8896 (grep-read-regexp, grep-read-files, grep-expand-template)
8897 (vc-dir-refresh): Declare.
8898 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8899 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8900 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8901 * vc/vc-mtn.el (vc-exec-after): Declare.
8902 (vc-switches): Autoload.
8903 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8904 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8905 (vc-file-tree-walk): Declare.
8906 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8907 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8908 (vc-tag-precondition, vc-rename-master): Autoload.
8909 * vc/vc-svn.el (vc-exec-after): Declare.
8910 (vc-switches, vc-setup-buffer): Autoload.
8911 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8912 Autoload.
8913 (vc-resynch-buffer): Declare.
8914
8915 * obsolete/fast-lock.el (byte-compile-warnings):
8916 Don't warn about obsolete features in this obsolete file.
8917
8918 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8919 Move definition before use.
8920
8921 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8922 (dun-unix-verbs): Remove dun-zippy.
8923 (dun-zippy): Remove function.
8924
8925 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8926
8927 2013-05-27 Juri Linkov <juri@jurta.org>
8928
8929 * replace.el (replace-search): New function with code moved out
8930 from `perform-replace'.
8931 (replace-highlight, replace-dehighlight): Move function definitions
8932 up closer to `replace-search'. (Bug#11746)
8933
8934 2013-05-27 Juri Linkov <juri@jurta.org>
8935
8936 * replace.el (perform-replace): Ignore invisible matches.
8937 In addition to checking `query-replace-skip-read-only', also
8938 filter out matches by calling `run-hook-with-args-until-failure'
8939 on `isearch-filter-predicates', and also check `search-invisible'
8940 for t or call `isearch-range-invisible'.
8941 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8942
8943 2013-05-27 Juri Linkov <juri@jurta.org>
8944
8945 * isearch.el (isearch-filter-predicates): Rename from
8946 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8947 (isearch-message-prefix): Display text from the property
8948 `isearch-message-prefix' of the currently active filters.
8949 (isearch-search): Don't compare `isearch-filter-predicate' with
8950 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8951 on `isearch-filter-predicates'. Also check `search-invisible' for t
8952 or call `isearch-range-invisible'.
8953 (isearch-filter-visible): Make obsolete.
8954 (isearch-lazy-highlight-search):
8955 Call `run-hook-with-args-until-failure' on
8956 `isearch-filter-predicates' and use `isearch-range-invisible'.
8957
8958 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8959 `isearch-filter-predicates' instead of `funcall'ing
8960 `isearch-filter-predicate'.
8961 (Info-mode): Set `Info-isearch-filter' to
8962 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8963
8964 * dired-aux.el (dired-isearch-filter-predicate-orig):
8965 Remove variable.
8966 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8967 (dired-isearch-filenames-end): Add and remove
8968 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8969 instead of changing the value of `isearch-filter-predicate'.
8970 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8971 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8972 Put property `isearch-message-prefix' to "filename " on
8973 `dired-isearch-filter-filenames'.
8974
8975 * wdired.el (wdired-change-to-wdired-mode):
8976 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8977 locally instead of changing `isearch-filter-predicate'.
8978 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8979
8980 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8981
8982 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8983 return the commit hash (Bug#14459). Also set the
8984 `vc-git-detached' property.
8985 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8986 (vc-git-mode-line-string): Use the same help-echo format whether
8987 in detached mode or not, because we know the actual revision now.
8988 When in detached mode, shorten the revision to 7 chars.
8989
8990 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8991
8992 * emacs-lisp/easy-mmode.el (define-minor-mode):
8993 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8994 mode hook and provide a docstring.
8995
8996 2013-05-27 Alan Mackenzie <acm@muc.de>
8997
8998 Remove spurious syntax-table text properties inserted by C-y.
8999 * progmodes/cc-mode.el (c-after-change): Also clear hard
9000 syntax-table property with value nil.
9001
9002 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9003
9004 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9005 when reading the events; the buffer layout shall not be changed.
9006
9007 2013-05-27 Leo Liu <sdl.web@gmail.com>
9008
9009 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9010 New variable.
9011 (inferior-octave-directory-tracker): Automatically re-sync
9012 default-directory.
9013 (octave-help): Improve handling of 'See also'.
9014
9015 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * doc-view.el: Minor naming convention tweaks.
9018 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9019
9020 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9021 even if there's no `display' property yet (bug#14435).
9022
9023 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9024
9025 * subr.el (unmsys--file-name): Rename from reveal-filename.
9026
9027 * Makefile.in (custom-deps, finder-data, autoloads)
9028 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9029 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9030 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9031
9032 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9035 error-completion on the first 2 args of condition-case (bug#14446).
9036 Don't burp at EOB.
9037
9038 2013-05-25 Leo Liu <sdl.web@gmail.com>
9039
9040 * comint.el (comint-previous-matching-input): Do not flood the
9041 *Messages* buffer with trivial messages.
9042
9043 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * progmodes/flymake.el (flymake-nop): Don't return a string.
9046 (flymake-set-at): Fix typo.
9047
9048 * simple.el (read--expression): New function, extracted from
9049 eval-expression. Set completion-at-point-functions (bug#14465).
9050 (eval-expression, eval-minibuffer): Use it.
9051
9052 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9053
9054 * progmodes/flymake.el (flymake-save-buffer-in-file)
9055 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9056 (flymake-selected-frame, flymake-log, flymake-ins-after)
9057 (flymake-set-at, flymake-get-buildfile-from-cache)
9058 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9059 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9060 Refine the doc string.
9061 (flymake-get-file-name-mode-and-masks): Reformat.
9062 (flymake-get-real-file-name-function): Fix a minor bug.
9063
9064 2013-05-24 Juri Linkov <juri@jurta.org>
9065
9066 * progmodes/grep.el (grep-mode-font-lock-keywords):
9067 Support =linenumber= format used by git-grep for lines with
9068 function names. (Bug#13549)
9069
9070 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9073 0 after a semi-colon; it works better for smie-auto-fill.
9074 (octave--indent-new-comment-line): New function.
9075 (octave-indent-new-comment-line): Use it (indirectly).
9076 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9077 modify comment-line-break-function.
9078
9079 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9080 (smie-setup): Use add-function to set it.
9081
9082 2013-05-24 Sam Steingold <sds@gnu.org>
9083
9084 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9085 argument (before the `interactive' argument).
9086
9087 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * image-mode.el (image-mode-winprops): Add winprops to
9090 image-mode-winprops-alist before running
9091 image-mode-new-window-functions.
9092 * doc-view.el (doc-view-new-window-function): Don't delay
9093 doc-view-goto-page via timers (bug#14435).
9094
9095 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9096
9097 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9098 (doc-view-desktop-save-buffer): New function.
9099 (doc-view-restore-desktop-buffer): New function.
9100 (desktop-buffer-mode-handlers):
9101 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9102 handler.
9103 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9104 `desktop-save-buffer' function.
9105
9106 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9107
9108 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9109 (tramp-gvfs-file-name-handler): Raise a user error when
9110 `tramp-gvfs-enabled' is nil.
9111 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9112 Do not raise a user error when loading package. (Bug#14447)
9113
9114 * net/xesam.el: Move to obsolete/.
9115
9116 2013-05-24 Glenn Morris <rgm@gnu.org>
9117
9118 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9119
9120 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9121
9122 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9123 (Info-find-node, Man-getpage-in-background): Declare.
9124
9125 * mail/unrmail.el (unrmail):
9126 Replace obsolete detect-coding-with-priority.
9127
9128 * net/socks.el (socks-split-string): Use this rather than split-string.
9129 (socks-nslookup-host): Update for above change.
9130 (dynamic-choice, s5-dynamic-choice-match)
9131 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9132 Comment out unused code.
9133
9134 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9135 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9136 (gud-tooltip-echo-area): Make obsolete.
9137 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9138
9139 * progmodes/js.el (js--optimize-arglist): Declare.
9140
9141 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9142
9143 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9144 (ediff-window-C): Declare.
9145
9146 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9147 Tweak requires to silence compiler.
9148
9149 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9150 (he-search-string, he-tried-table, he-expand-list)
9151 (he-init-string, he-string-member, he-substitute-string)
9152 (he-reset-string): Declare.
9153
9154 * obsolete/options.el (list-options): Use custom-variable-p,
9155 rather than obsolete alias.
9156
9157 2013-05-23 Sam Steingold <sds@gnu.org>
9158
9159 * simple.el (shell-command-on-region): Pass the `replace' argument
9160 down to `call-process-region' to comply with the doc as reported on
9161 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9162
9163 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * emacs-lisp/smie.el (smie-indent-forward-token)
9166 (smie-indent-backward-token): Handle string tokens (bug#14381).
9167
9168 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9169
9170 * ielm.el (ielm-menu): New menu.
9171 (inferior-emacs-lisp-mode): Set comment-start.
9172
9173 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9174
9175 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9176 Fix deactivate action.
9177
9178 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9179 Add cleveref macros.
9180
9181 * lisp/textmodes/reftex-parse.el
9182 (reftex-locate-bibliography-files): Accept options for
9183 bibliography commands.
9184 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9185 Add addbibresource. Basic Biblatex support.
9186
9187 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp-gvfs.el (top):
9190 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9191 when loading package. (Bug#14447)
9192
9193 2013-05-23 Glenn Morris <rgm@gnu.org>
9194
9195 * progmodes/js.el: No need to load comint when compiling.
9196 (ring-insert, comint-send-string, comint-send-input)
9197 (comint-last-input-end, ido-chop): Declare.
9198
9199 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9200 * vc/ediff-mult.el: Adjust requires.
9201 (ediff-directories-internal, ediff-directory-revisions-internal)
9202 (ediff-patch-file-internal): Declare.
9203 * vc/ediff-ptch.el: Adjust requires.
9204 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9205 (ediff-find-file): Autoload.
9206 * vc/ediff-util.el: No need to load ediff when compiling.
9207 (ediff-regions-internal): Declare.
9208 * vc/ediff-wind.el: Adjust requires.
9209 (ediff-compute-toolbar-width): Define when compiling.
9210 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9211 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9212 (dired-get-filename, dired-get-marked-files)
9213 (ediff-last-dir-patch, ediff-patch-default-directory)
9214 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9215 (ediff-patch-buffer-internal): Declare.
9216
9217 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9218 (ispell-process, ispell-buffer-local-words, lm-summary)
9219 (lm-section-start, lm-section-end): Declare.
9220 (checkdoc-ispell-init): Simplify.
9221
9222 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9223 (he-string-member, he-reset-string, he-substitute-string): Declare.
9224
9225 * eshell/em-ls.el: Adjust requires.
9226 (eshell-glob-regexp): Declare.
9227 * eshell/em-tramp.el: Adjust requires.
9228 (eshell-parse-command): Autoload.
9229 * eshell/em-xtra.el: Adjust requires.
9230 (eshell-parse-command): Autoload.
9231 * eshell/esh-ext.el: Adjust requires.
9232 (eshell-parse-command, eshell-close-handles): Autoload.
9233 * eshell/esh-io.el: Adjust requires.
9234 (eshell-output-filter): Autoload.
9235 * eshell/esh-util.el: No need to load tramp when compiling.
9236 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9237 Declare.
9238 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9239 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9240 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9241 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9242 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9243 * eshell/esh-opt.el, eshell/esh-proc.el:
9244 * eshell/esh-var.el: Adjust requires.
9245 * eshell/eshell.el: Do not require esh-util twice.
9246 (eshell-add-input-to-history): Declare.
9247 (eshell-command): Check history module is active before using it.
9248
9249 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9250
9251 2013-05-22 Leo Liu <sdl.web@gmail.com>
9252
9253 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9254
9255 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * autorevert.el (auto-revert-notify-add-watch)
9258 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9259 it indicates changes in file modification time.
9260
9261 2013-05-22 Glenn Morris <rgm@gnu.org>
9262
9263 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9264 Always delete the autoloaded function from the noruntime and
9265 unresolved functions lists.
9266
9267 * allout.el: No need to load epa, epg, overlay when compiling.
9268 (epg-context-set-passphrase-callback, epg-list-keys)
9269 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9270 (epg-key-user-id-list): Declare.
9271
9272 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9273 (viper-set-parsing-style-toggling-macro)
9274 (viper-set-emacs-state-searchstyle-macros):
9275 Use called-interactively-p on Emacs.
9276 (viper-looking-back): Make it an obsolete alias. Update callers.
9277 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9278 Use looking-back rather than viper-looking-back.
9279 (viper-tmp-insert-at-eob, viper-enlarge-region)
9280 (viper-read-string-with-history, viper-register-to-point)
9281 (viper-append-to-register, viper-change-state-to-vi)
9282 (viper-backward-char-carefully, viper-forward-char-carefully)
9283 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9284 (viper-change-state-to-emacs): Declare.
9285 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9286 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9287 * emulation/viper-mous.el: Do not load viper-cmd.
9288 (viper-backward-char-carefully, viper-forward-char-carefully)
9289 (viper-forward-word, viper-adjust-window): Declare.
9290
9291 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9292
9293 * progmodes/idlw-help.el (idlwave-help-fontify):
9294 Use called-interactively-p.
9295
9296 * term/w32console.el (w32-get-console-codepage)
9297 (w32-get-console-output-codepage): Declare.
9298
9299 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9300 Remove unnecessary declarations.
9301 (dframe-message): Doc fix.
9302
9303 * info.el (dframe-select-attached-frame, dframe-current-frame):
9304 Declare.
9305
9306 * speedbar.el (speedbar-message): Make it an obsolete alias.
9307 Update all callers.
9308 (speedbar-with-attached-buffer)
9309 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9310 (speedbar-with-writable): Use backquote.
9311 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9312 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9313 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9314 rather than speedbar- aliases.
9315 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9316 (speedbar-make-specialized-keymap, speedbar-insert-button)
9317 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9318 (speedbar-do-function-pointer): Declare.
9319 (rmail-speedbar-button, rmail-speedbar-find-file)
9320 (rmail-speedbar-move-message):
9321 Use dframe-with-attached-buffer rather than speedbar- alias.
9322 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9323 (dframe-message, speedbar-make-specialized-keymap)
9324 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9325 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9326 (speedbar-insert-button, dframe-select-attached-frame)
9327 (dframe-maybee-jump-to-attached-frame)
9328 (speedbar-change-initial-expansion-list)
9329 (speedbar-previously-used-expansion-list-name): Declare.
9330 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9331 Use dframe-message, dframe-with-attached-buffer rather than
9332 speedbar- aliases.
9333 (gud-sentinel): Silence compiler.
9334 * progmodes/vhdl-mode.el (speedbar-refresh)
9335 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9336 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9337 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9338 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9339 (speedbar-file-lists, speedbar-make-tag-line)
9340 (speedbar-line-directory, speedbar-goto-this-file)
9341 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9342 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9343 (speedbar-make-button, speedbar-reset-scanners)
9344 (speedbar-files-item-info, speedbar-line-text)
9345 (speedbar-find-file-in-frame, speedbar-set-timer)
9346 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9347 (speedbar-with-writable): Do not (re)define it.
9348 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9349 rather than speedbar- alias.
9350
9351 2013-05-21 Leo Liu <sdl.web@gmail.com>
9352
9353 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9354 menu items.
9355 (octave-mode): Tweak fill-nobreak-predicate.
9356 (inferior-octave-startup): Check process to avoid infinite loop.
9357 (inferior-octave): Pop to buffer first to show abornmal process
9358 exit information.
9359
9360 2013-05-21 Glenn Morris <rgm@gnu.org>
9361
9362 * printing.el (pr-menu-bar): Define when compiling.
9363
9364 2013-05-21 Leo Liu <sdl.web@gmail.com>
9365
9366 * progmodes/octave.el (octave-auto-fill): Remove.
9367 (octave-indent-new-comment-line): Improve.
9368 (octave-mode): Use auto fill mode through
9369 comment-line-break-function and fill-nobreak-predicate.
9370 (octave-goto-function-definition): Support DEFUN_DLD.
9371 (octave-beginning-of-defun): Small tweak.
9372 (octave-help): Show parent directory.
9373
9374 2013-05-21 Glenn Morris <rgm@gnu.org>
9375
9376 * files.el (dired-unmark):
9377 * progmodes/gud.el (gdb-input): Update declarations.
9378
9379 * calculator.el (electric, ehelp): No need to load when compiling.
9380 (Electric-command-loop, electric-describe-mode): Declare.
9381
9382 * doc-view.el (doc-view-current-converter-processes): Move before use.
9383
9384 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9385 Move MODE-set-explicitly definition before use.
9386
9387 * international/mule-diag.el (mule-diag):
9388 Don't use obsolete window-system-version.
9389
9390 * mail/feedmail.el (smtpmail): No need to load when compiling.
9391 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9392
9393 * mail/mail-utils.el (rfc822): No need to load when compiling.
9394 (rfc822-addresses): Autoload it.
9395 (mail-strip-quoted-names): Trivial simplification.
9396
9397 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9398 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9399
9400 * net/snmp-mode.el (tempo): Don't duplicate requires.
9401
9402 * progmodes/prolog.el (info): No need to load when compiling.
9403 (comint): Require before shell requires it.
9404 (Info-goto-node): Autoload it.
9405 (Info-follow-nearest-node): Declare.
9406 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9407
9408 * textmodes/artist.el (picture-mode-exit): Declare.
9409
9410 * textmodes/reftex-parse.el (reftex-parse-from-file):
9411 Trivial rewrite so the compiler can parse it better.
9412
9413 2013-05-20 Leo Liu <sdl.web@gmail.com>
9414
9415 * progmodes/octave.el (octave-help-mode-map)
9416 (octave-help-mode-finish-hook): New variables.
9417 (octave-help-mode, octave-help-mode-finish): New functions.
9418 (octave-help): Use octave-help-mode.
9419
9420 2013-05-20 Glenn Morris <rgm@gnu.org>
9421
9422 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9423
9424 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9425
9426 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9427 start at point, so that expansion starting right after opening
9428 slash in a regexp is recognized.
9429 (ruby-syntax-before-regexp-re): New defvar, extracted from
9430 ruby-syntax-propertize-function. Since the value of this regexp
9431 is looked up at runtime now, we should be able to turn
9432 `ruby-syntax-methods-before-regexp' into a defcustom later.
9433 (ruby-syntax-propertize-function): Split regexp matching into two
9434 parts, for opening and closing slashes. That allows us to skip
9435 over string interpolations and support multiline regexps.
9436 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9437 for them, which calls `ruby-syntax-propertize-expansion'.
9438 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9439 call to `ruby-syntax-propertize-function'.
9440 (ruby-syntax-propertize-expansion): Extracted from
9441 `ruby-syntax-propertize-expansions'. Handles one expansion.
9442 (ruby-syntax-propertize-percent-literal): Leave point right after
9443 the percent symbol, so that the expression expansion rule can
9444 propertize the contents.
9445 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9446 heredoc openers.
9447 (ruby-syntax-propertize-expansions): Remove.
9448
9449 2013-05-18 Juri Linkov <juri@jurta.org>
9450
9451 * man.el (Man-default-man-entry): Remove `-' from the end
9452 of the default value. (Bug#14400)
9453
9454 2013-05-18 Glenn Morris <rgm@gnu.org>
9455
9456 * comint.el (comint-password-prompt-regexp):
9457 Allow "password for XXX" where XXX contains colons (eg https://...).
9458
9459 2013-05-18 Leo Liu <sdl.web@gmail.com>
9460
9461 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9462 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9463 (octave-source-directories): Don't check process.
9464 (octave-source-directories, octave-find-definition): Doc fix.
9465
9466 2013-05-18 Glenn Morris <rgm@gnu.org>
9467
9468 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9469 Remove backspace/delete bindings. (Bug#14392)
9470
9471 * cus-dep.el (custom-make-dependencies): Sort the output.
9472 (custom-versions-load-alist): Convert comment to doc.
9473
9474 2013-05-17 Leo Liu <sdl.web@gmail.com>
9475
9476 * newcomment.el (comment-search-backward): Stricter in finding
9477 comment start. (Bug#14303)
9478
9479 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9480 (octave-comment-start-skip): Properly anchored.
9481
9482 2013-05-17 Leo Liu <sdl.web@gmail.com>
9483
9484 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9485 Clean up when turned off. (Bug#14395)
9486 (smie--highlight-matching-block-overlay): No longer buffer-local.
9487 (smie-highlight-matching-block): Adjust.
9488
9489 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9490
9491 Doc string fix for "nanoseconds" (Bug#14406).
9492 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9493 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9494
9495 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9496
9497 * calc/calc-units.el (math-extract-units): Preserve powers
9498 of units.
9499
9500 2013-05-17 Leo Liu <sdl.web@gmail.com>
9501
9502 * subr.el (delete-consecutive-dups): New function.
9503 * ido.el (ido-set-matches-1): Use it.
9504 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9505 * ido.el (ido-remove-consecutive-dups): Remove.
9506
9507 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9510 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9511 regexp-opt's `words'.
9512
9513 2013-05-16 Leo Liu <sdl.web@gmail.com>
9514
9515 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9516 (smie--highlight-matching-block-overlay)
9517 (smie--highlight-matching-block-lastpos)
9518 (smie--highlight-matching-block-timer): New variables.
9519 (smie-highlight-matching-block): New function.
9520 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9521 (smie-setup): Conditionally enable smie-blink-matching-open.
9522
9523 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9524
9525 Sync with upstream verilog-mode r840.
9526 * progmodes/verilog-mode.el (verilog-mode-version)
9527 (verilog-mode-release-date): Update.
9528 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9529 (verilog-sig-tieoff): Fix string error on
9530 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9531 (verilog-read-decls): Fix parameters confusing
9532 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9533
9534 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9535
9536 * subr.el (reveal-filename): New function.
9537
9538 * loadup.el: Compute Emacs executable versions on MS-Windows,
9539 where executables have the .exe extension. Add a hard link
9540 emacs-XX.YY.ZZ.exe on MS-Windows.
9541
9542 * Makefile.in (XARGS_LIMIT): New variable.
9543 (custom-deps, finder-data, autoloads)
9544 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9545 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9546 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9547 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9548
9549 2013-05-16 Leo Liu <sdl.web@gmail.com>
9550
9551 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9552 (octave-mode-menu, octave-mode-map): Remove its uses.
9553
9554 2013-05-16 Reto Zimmermann <reto@gnu.org>
9555
9556 Sync with upstream vhdl mode v3.34.2.
9557 * progmodes/vhdl-mode.el: Use `push' throughout.
9558 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9559 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9560 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9561 (vhdl-actual-generic-name): New option to derive actual generic name.
9562 (vhdl-port-paste-signals): Replace formal by actual generics.
9563 (vhdl-beautify): New name for old group vhdl-align. Update users.
9564 (vhdl-beautify-options): New option.
9565 (vhdl-last-input-event): New compat alias. Use throughout.
9566 (vhdl-goto-line): Replace user level function `goto-line'.
9567 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9568 vhdl-fix-statement-buffer.
9569 (vhdl-create-mode-menu): Add some entries.
9570 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9571 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9572 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9573 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9574 to force statements on one line.
9575 (vhdl-remove-trailing-spaces-region):
9576 New, split from vhdl-remove-trailing-spaces.
9577 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9578 Respect vhdl-beautify-options.
9579 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9580 (vhdl-update-sensitivity-list): Not add with index if exists without.
9581 Not include array index with signal. Ignore keywords in comments.
9582 (vhdl-get-visible-signals): Regexp tweaks.
9583 (vhdl-template-component-inst): Handle empty library.
9584 (vhdl-template-type): Add template for 'enum' type.
9585 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9586 Use vhdl-replace-string.
9587 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9588 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9589 (vhdl-speedbar-initialize): Update for above name change.
9590 (vhdl-compose-wire-components): Fix in handling of constants.
9591 (vhdl-error-regexp-emacs-alist): New variable.
9592 (vhdl-error-regexp-add-emacs): New function;
9593 adds support for new compile.el (Emacs 22+)
9594 (vhdl-generate-makefile-1): Change target order for single lib. units.
9595 Allow use of absolute file names.
9596
9597 2013-05-16 Leo Liu <sdl.web@gmail.com>
9598
9599 * simple.el (prog-indent-sexp): Indent enclosing defun.
9600
9601 2013-05-15 Glenn Morris <rgm@gnu.org>
9602
9603 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9604 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9605 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9606 (whitespace-highlight): Move to whitespace group.
9607
9608 * comint.el (comint-source):
9609 * pcmpl-linux.el (pcmpl-linux):
9610 * shell.el (shell-faces):
9611 * eshell/esh-opt.el (eshell-opt):
9612 * international/ccl.el (ccl): Remove empty custom groups.
9613
9614 * completion.el (dynamic-completion-mode):
9615 * jit-lock.el (jit-lock-debug-mode):
9616 * minibuffer.el (completion-in-region-mode):
9617 * type-break.el (type-break-mode-line-message-mode)
9618 (type-break-query-mode):
9619 * emulation/tpu-edt.el (tpu-edt-mode):
9620 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9621 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9622 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9623
9624 * term/xterm.el (xterm): Change parent group to terminals.
9625
9626 * master.el (master): Remove empty custom group.
9627 (master-mode): Remove unused :group argument.
9628 * textmodes/refill.el (refill): Remove empty custom group.
9629 (refill-mode): Remove unused :group argument.
9630
9631 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9632
9633 * cus-dep.el: Provide a feature.
9634 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9635 Don't mistakenly ignore files whose basenames match a basename
9636 from preloaded-file-list (eg cedet/ede/simple.el).
9637 Add a fallback method for getting :group.
9638
9639 2013-05-15 Juri Linkov <juri@jurta.org>
9640
9641 * isearch.el (isearch-char-by-name): Rename from
9642 `isearch-insert-char-by-name'. Doc fix.
9643 (isearch-forward): Mention `isearch-char-by-name' in
9644 the docstring. (Bug#13348)
9645
9646 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9647 `exit-minibuffer' instead of
9648 `isearch-nonincremental-exit-minibuffer'.
9649 (isearch-edit-string): Remove mention of
9650 `isearch-nonincremental-exit-minibuffer' from docstring.
9651 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9652 (isearch-forward-exit-minibuffer)
9653 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9654
9655 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * loadup.el: Just use unversioned DOC.
9658
9659 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9660 literals as extending to EOB.
9661 (nxml-last-fontify-end): Remove unused variable.
9662 (nxml-after-change1): Use with-silent-modifications.
9663 (nxml-extend-after-change-region): Simplify.
9664 (nxml-extend-after-change-region1): Remove function.
9665 (nxml-after-change1): Don't adjust for dependent regions.
9666 (nxml-fontify-matcher): Simplify.
9667 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9668 (xmltok-add-dependent): Remove function.
9669 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9670 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9671 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9672 unclosed <[[, <?, comment, and other literals as extending to EOB.
9673 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9674 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9675 Remove functions.
9676 (rng-do-some-validation-1): Don't mark dependent regions.
9677 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9678 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9679 (nxml-clear-dependent-regions): Remove functions.
9680 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9681 (nxml-ensure-scan-up-to-date):
9682 Don't clear&mark dependent regions.
9683
9684 2013-05-15 Leo Liu <sdl.web@gmail.com>
9685
9686 * progmodes/octave.el (octave-goto-function-definition):
9687 Improve and fix callers.
9688
9689 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9692 the setter (bug#14387).
9693
9694 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9695 surrounding group (bug#14402).
9696
9697 2013-05-14 Juri Linkov <juri@jurta.org>
9698
9699 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9700 (Bug#14390)
9701
9702 2013-05-14 Glenn Morris <rgm@gnu.org>
9703
9704 * progmodes/f90.el (f90-imenu-generic-expression):
9705 Fix typo in 2013-05-08 change. (Bug#14402)
9706
9707 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9708
9709 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9710 Remove signals for which replies are never received.
9711
9712 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9713
9714 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9715 (gdb-handler-alist, gdb-handler-number): Remove variables.
9716 (gdb-handler-list): New variable.
9717 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9718 (gdb-pending-handler-p, gdb-handle-reply)
9719 (gdb-remove-all-pending-triggers): New functions.
9720 (gdb-discard-unordered-replies): New defcustom.
9721 (gdb-handler): New defstruct.
9722 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9723 instead of gdb-pending-triggers. Update docstring.
9724 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9725 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9726 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9727 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9728 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9729 (gdb-frame-handler): Pending triggers are now automatically managed.
9730 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9731 Remove argument.
9732 (gdb-input): Automatically handles pending triggers. Update docstring.
9733 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9734 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9735 Update comments.
9736 (gdb-done-or-error): Now use gdb-handle-reply.
9737
9738 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9739
9740 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9741 gdb-debug-log.
9742
9743 2013-05-14 Glenn Morris <rgm@gnu.org>
9744
9745 * subr.el (user-emacs-directory-warning): New option.
9746 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9747
9748 2013-05-14 Leo Liu <sdl.web@gmail.com>
9749
9750 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9751 during redisplay.
9752 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9753 (octave-font-lock-texinfo-comment): Fix invalid search bound
9754 error: wrong side of point.
9755
9756 2013-05-14 Glenn Morris <rgm@gnu.org>
9757
9758 * progmodes/flymake.el (flymake-xml-program): New option.
9759 (flymake-xml-init): Use it.
9760
9761 * term/xterm.el: Provide a feature.
9762
9763 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9764
9765 2013-05-13 Glenn Morris <rgm@gnu.org>
9766
9767 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9768 Add compat aliases as a hack workaround. (Bug#14384)
9769
9770 2013-05-13 Leo Liu <sdl.web@gmail.com>
9771
9772 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9773 ###, and %!.
9774 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9775 C-M-q.
9776 (octave-comment-start-skip): Include %!.
9777 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9778
9779 2013-05-12 Leo Liu <sdl.web@gmail.com>
9780
9781 * progmodes/octave.el (inferior-octave-startup): Store the value
9782 of __octave_srcdir__ for octave-source-directories.
9783 (inferior-octave-check-process): New function refactored out of
9784 inferior-octave-send-list-and-digest.
9785 (octave-source-directories)
9786 (octave-find-definition-filename-function): New variables.
9787 (octave-source-directories)
9788 (octave-find-definition-default-filename): New functions.
9789 (octave-find-definition): Improve to find functions implemented in C++.
9790
9791 2013-05-12 Glenn Morris <rgm@gnu.org>
9792
9793 * calendar/diary-lib.el (diary-outlook-format-1):
9794 Don't include dayname in the output. (Bug#14349)
9795
9796 2013-05-11 Glenn Morris <rgm@gnu.org>
9797
9798 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9799
9800 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9801 Treat cc-provide like provide.
9802
9803 2013-05-11 Kevin Ryde <user42@zip.com.au>
9804
9805 * cus-dep.el (custom-make-dependencies):
9806 Use generated-autoload-load-name for the sake of files such
9807 such cedet/semantic/bovine/c.el, where the base file name
9808 is not in load-path. (Bug#5277)
9809
9810 2013-05-11 Glenn Morris <rgm@gnu.org>
9811
9812 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9813 Provide features.
9814
9815 2013-05-11 Leo Liu <sdl.web@gmail.com>
9816
9817 * progmodes/octave.el (octave-indent-comment): Improve.
9818 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9819 (octave-eldoc-function-signatures, octave-eldoc-function):
9820 New functions.
9821 (octave-mode, inferior-octave-mode): Add eldoc support.
9822
9823 2013-05-11 Richard Stallman <rms@gnu.org>
9824
9825 * epa.el (epa-decrypt-file): Take output file name as argument
9826 and read it using `interactive'.
9827
9828 2013-05-11 Leo Liu <sdl.web@gmail.com>
9829
9830 * progmodes/octave.el (octave-beginning-of-line)
9831 (octave-end-of-line): Check before using up-list because it jumps
9832 out of more syntactic contructs since moving to smie.
9833 (octave-indent-comment): New function.
9834 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9835 (octave-begin-keywords, octave-end-keywords)
9836 (octave-reserved-words, octave-smie-bnf-table)
9837 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9838
9839 2013-05-11 Glenn Morris <rgm@gnu.org>
9840
9841 * faces.el (internal-face-x-get-resource):
9842 * frame.el (ns-display-monitor-attributes-list):
9843 * calc/calc-aent.el (math-to-radians-2):
9844 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9845 Fix declarations.
9846
9847 * calc/calc-menu.el: Make it loadable in isolation.
9848
9849 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9850 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9851 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9852 (eudc-bbdb-query-internal): Require 'bbdb.
9853
9854 * lpr.el (lpr-headers-switches):
9855 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9856
9857 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9858
9859 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9860
9861 * term.el (term-set-escape-char): Make it idempotent.
9862
9863 2013-05-10 Leo Liu <sdl.web@gmail.com>
9864
9865 * progmodes/octave.el (inferior-octave-completion-table):
9866 No longer a function and all uses changed. Use cache to speed up
9867 completion due to bug#11906.
9868 (octave-beginning-of-defun): Re-write to be more general.
9869
9870 2013-05-10 Glenn Morris <rgm@gnu.org>
9871
9872 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9873
9874 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * comint.el (comint-redirect-send-command-to-process): Use :around
9877 rather than :override for comint-redirect-filter.
9878 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9879 Call it instead of comint-redirect-original-filter-function (which
9880 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9881
9882 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9883
9884 * frame.el (display-monitor-attributes-list): Add NS case.
9885 (ns-display-monitor-attributes-list): Declare.
9886
9887 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9888
9889 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9890
9891 2013-05-09 Glenn Morris <rgm@gnu.org>
9892
9893 * international/fontset.el (vertical-centering-font-regexp):
9894 Set standard-value.
9895
9896 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9897
9898 * bookmark.el (bookmark-search-delay):
9899 * cus-start.el (vertical-centering-font-regexp):
9900 * ps-mule.el (ps-mule-font-info-database-default):
9901 * ps-print.el (ps-default-fg, ps-default-bg):
9902 * type-break.el (type-break-good-break-interval):
9903 * whitespace.el (whitespace-indentation-regexp)
9904 (whitespace-space-after-tab-regexp):
9905 * emacs-lisp/testcover.el (testcover-1value-functions)
9906 (testcover-noreturn-functions, testcover-progn-functions)
9907 (testcover-prog1-functions):
9908 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9909 * eshell/em-glob.el (eshell-glob-translate-alist):
9910 * play/tetris.el (tetris-tty-colors):
9911 * progmodes/cpp.el (cpp-face-default-list):
9912 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9913 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9914 (idlwave-help-browser-generic-args):
9915 * progmodes/make-mode.el (makefile-special-targets-list):
9916 * progmodes/python.el (python-shell-virtualenv-path):
9917 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9918 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9919 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9920 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9921 * textmodes/reftex-vars.el (reftex-format-label-function):
9922 * textmodes/remember.el (remember-diary-file): Fix custom types.
9923
9924 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9925 Add :version.
9926
9927 2013-05-09 Leo Liu <sdl.web@gmail.com>
9928
9929 * progmodes/octave.el (inferior-octave-completion-at-point):
9930 Restore file completion. (Bug#14300)
9931 (inferior-octave-startup): Fix incorrect highlighting for the
9932 first prompt.
9933
9934 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * progmodes/ruby-mode.el: First cut at SMIE support.
9937 (ruby-use-smie): New var.
9938 (ruby-smie-grammar): New constant.
9939 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9940 (ruby-smie--forward-token, ruby-smie--backward-token)
9941 (ruby-smie-rules): New functions.
9942 (ruby-mode-variables): Setup SMIE if applicable.
9943
9944 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9945
9946 * simple.el (line-move-visual): Signal beginning/end of buffer
9947 only if vertical-motion moved less than it was requested. Avoids
9948 silly incorrect error messages when there are display strings with
9949 multiple newlines at EOL.
9950
9951 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9954 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9955 (prolog-char-quote-workaround):
9956 * progmodes/cperl-mode.el (cperl-under-as-char):
9957 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9958 Mark as obsolete.
9959 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9960 their declaration.
9961 (vhdl-mode-syntax-table-init): Remove.
9962
9963 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9964 last change.
9965
9966 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9967 syntax for "_".
9968 (ld-script-font-lock-keywords):
9969 Change regexps to use things like \_< and \_>.
9970
9971 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9972 Change all regexps to use things like \_< and \_>.
9973
9974 * progmodes/autoconf.el (autoconf-definition-regexp)
9975 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9976 Handle a _ with symbol syntax.
9977 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9978
9979 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9980 Consolidate declaration.
9981 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9982 the declaration.
9983 (ada-create-syntax-table): Remove.
9984 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9985 already has the right syntax nowadays.
9986 (ada-goto-next-word): Don't change the syntax of "_".
9987
9988 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9989 with-wrapper-hook.
9990
9991 2013-05-08 Sam Steingold <sds@gnu.org>
9992
9993 * thingatpt.el (thing-at-point): Accept optional second argument
9994 NO-PROPERTIES to strip the text properties from the return value.
9995 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9996 to `thing-at-point' instead of stripping the properties ourselves.
9997 Also, when `thing-at-point' fails to find a url, prepend "http://"
9998 to the filename at point on the assumption that the user is
9999 pointing at something like gnu.org/gnu.
10000
10001 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10002
10003 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10004 * faces.el (crm-separator):
10005 Silence byte-compiler.
10006
10007 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10008 (tool-bar-map): Remove unneeded defvars.
10009
10010 2013-05-08 Leo Liu <sdl.web@gmail.com>
10011
10012 Re-work a fix for bug#10994 based on Le Wang's patch.
10013 * ido.el (ido-remove-consecutive-dups): New helper.
10014 (ido-completing-read): Use it.
10015 (ido-chop): Revert fix for bug#10994.
10016
10017 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10018
10019 * cus-edit.el (custom-save-variables):
10020 Pretty-print long values. (Bug#14187)
10021
10022 2013-05-08 Glenn Morris <rgm@gnu.org>
10023
10024 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10025 (m4-mode-syntax-table): Init in the defvar.
10026 (m4-mode-abbrev-table): Let define-derived-mode define it.
10027
10028 2013-05-08 Tom Tromey <tromey@redhat.com>
10029
10030 * progmodes/m4-mode.el (m4-mode-syntax-table):
10031 Do not treat "_" as word constituent. (Bug#14167)
10032
10033 2013-05-07 Glenn Morris <rgm@gnu.org>
10034
10035 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10036 Remove explicit eshell-isearch-cancel-map.
10037
10038 * progmodes/f90.el (f90-smart-end-names): New option.
10039 (f90-smart-end): Doc fix.
10040 (f90-end-block-optional-name): New constant.
10041 (f90-block-match): Respect f90-smart-end-names.
10042
10043 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10046 about implicit semi-colons (bug#14218).
10047
10048 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10049
10050 * frame.el (display-monitor-attributes-list)
10051 (frame-monitor-attributes): New functions.
10052
10053 2013-05-06 Leo Liu <sdl.web@gmail.com>
10054
10055 * progmodes/octave.el (octave-syntax-propertize-function): Change
10056 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10057 (octave-font-lock-keywords): Use octave-operator-regexp.
10058 (octave-completion-at-point): Rename from
10059 octave-completion-at-point-function.
10060 (inferior-octave-directory-tracker): Robustify.
10061 (octave-text-functions): Remove and fix its uses. No such things
10062 any more.
10063
10064 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10065
10066 * emacs-lisp/trace.el (trace--display-buffer): New function.
10067 (trace-make-advice): Use it.
10068
10069 2013-05-06 Juri Linkov <juri@jurta.org>
10070
10071 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10072 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10073 Doc fix.
10074 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10075 in the help string. (Bug#12985)
10076
10077 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10078
10079 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10080
10081 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * progmodes/perl-mode.el: Add support for here documents.
10084 (perl-syntax-propertize-function): Match here-doc markers.
10085 (perl-syntax-propertize-special-constructs): Find their end.
10086 (perl-imenu-generic-expression): Use [:alnum:].
10087
10088 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10089 (advice--add-function): Refresh the advice if already present
10090 (bug#14317).
10091
10092 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10093
10094 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10095
10096 2013-05-06 Glenn Morris <rgm@gnu.org>
10097
10098 * w32-fns.el (w32-charset-info-alist): Declare.
10099
10100 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10101 of its defcustom properties.
10102 (eshell-cmpl-initialize): No need to load pcomplete.
10103
10104 * generic-x.el: No need to require comint when compiling.
10105
10106 * net/eudc-export.el: Make it loadable without bbdb.
10107 (top-level): Use require rather than load-library.
10108 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10109 (eudc-batch-export-records-to-bbdb)
10110 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10111 Require bbdb.
10112
10113 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10116 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10117 some tweaks, instead.
10118
10119 2013-05-05 Leo Liu <sdl.web@gmail.com>
10120
10121 * progmodes/octave.el (octave-font-lock-keywords)
10122 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10123 (inferior-octave-send-list-and-digest): Improve error message.
10124 (octave-mode, inferior-octave-mode): Use setq-local.
10125 (octave-help): Set info-lookup-mode.
10126
10127 2013-05-05 Richard Stallman <rms@gnu.org>
10128
10129 * vc/compare-w.el (compare-windows-whitespace):
10130 Treat no-break space as whitespace.
10131
10132 * mail/rmailsum.el (rmail-summary-rmail-update):
10133 Detect empty summary and don't change selected message.
10134 (rmail-summary-goto-msg): Likewise.
10135
10136 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10137 Doc fixes, rename args.
10138
10139 2013-05-05 Alan Mackenzie <acm@muc.de>
10140
10141 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10142
10143 2013-05-05 Juri Linkov <juri@jurta.org>
10144
10145 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10146 to not add the length of the summary segment to the return value.
10147 (Bug#14125)
10148
10149 2013-05-05 Leo Liu <sdl.web@gmail.com>
10150
10151 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10152 (inferior-octave-output-filter): Remove.
10153 (octave-send-region, inferior-octave-startup): Fix callers.
10154 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10155 (octave-binary-file-extensions): New user variable.
10156 (octave-find-definition): Confirm if opening binary files.
10157 (octave-help-file): Use octave-find-definition to get the binary
10158 confirmation.
10159 (octave-help): Adjust for octave-help-file change.
10160
10161 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10164 Merge the two entries that handle function definitions.
10165 (pascal--syntax-propertize): New const.
10166 (pascal-mode): Use it. Use setq-local.
10167
10168 2013-05-04 Glenn Morris <rgm@gnu.org>
10169
10170 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10171 (diary-from-outlook): Respect diary-from-outlook-function.
10172
10173 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10176 Move the declaration from C.
10177 (read-minibuffer, eval-minibuffer): Move from C.
10178 (completion-setup-function): Avoid minibuffer-completion-contents.
10179
10180 2013-05-03 Leo Liu <sdl.web@gmail.com>
10181
10182 * progmodes/octave.el (octave-font-lock-keywords): Do not
10183 dehighlight 'end' in comments or strings.
10184 (octave-completing-read, octave-goto-function-definition):
10185 New helpers.
10186 (octave-help-buffer): New user variable.
10187 (octave-help-file, octave-help-function): New button types.
10188 (octave-help): New command and bind it to C-h ;.
10189 (octave-find-definition): New command and bind it to M-.
10190 (user-error): Alias to error if not defined.
10191
10192 2013-05-02 Leo Liu <sdl.web@gmail.com>
10193
10194 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10195 for \. (bug#14332)
10196 (octave-font-lock-keywords): Include [ and {.
10197
10198 2013-05-02 Leo Liu <sdl.web@gmail.com>
10199
10200 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10201 (inferior-octave): Remove calling comint-mode and return the buffer.
10202 (inferior-octave-startup): Cosmetic changes.
10203
10204 2013-05-02 Leo Liu <sdl.web@gmail.com>
10205
10206 * progmodes/octave.el (octave-syntax-propertize-function):
10207 Include the case when ' is at line beginning. (Bug#14336)
10208
10209 2013-05-02 Glenn Morris <rgm@gnu.org>
10210
10211 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10212 * desktop.el (vc-dir-mode): Just autoload it here.
10213
10214 2013-05-02 Alan Mackenzie <acm@muc.de>
10215
10216 Eliminate variable c-standard-font-lock-fontify-region-function.
10217 * progmodes/cc-mode.el
10218 (c-standard-font-lock-fontify-region-function): Remove.
10219 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10220
10221 2013-05-01 Leo Liu <sdl.web@gmail.com>
10222
10223 * progmodes/octave.el: Compatible with older emacs-24 releases.
10224 (inferior-octave-has-built-in-variables): Remove. Built-in
10225 variables were removed from Octave in 2007.
10226 (inferior-octave-startup): Fix uses.
10227 (comint-line-beginning-position): Remove compatibility code for
10228 emacs 21.
10229
10230 2013-05-01 Juri Linkov <juri@jurta.org>
10231
10232 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10233
10234 2013-05-01 Juri Linkov <juri@jurta.org>
10235
10236 * comint.el (comint-previous-matching-input): Don't print message
10237 "History item: %d" when `isearch-mode' is active.
10238 (comint-history-isearch-message): Print message "History item: %d"
10239 when `comint-input-ring-index' is not empty and this function is
10240 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10241
10242 2013-05-01 Leo Liu <sdl.web@gmail.com>
10243
10244 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10245 definitions. Use completion-at-point to insert keywords.
10246 (octave-abbrev-start): Remove.
10247 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10248
10249 2013-04-30 Leo Liu <sdl.web@gmail.com>
10250
10251 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10252 change.
10253
10254 2013-04-30 Alan Mackenzie <acm@muc.de>
10255
10256 Handle arbitrarily long C++ member initialisation lists.
10257 * progmodes/cc-engine.el (c-back-over-member-initializers):
10258 new function.
10259 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10260 (most) member init lists.
10261
10262 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10263
10264 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10265 variable.
10266
10267 2013-04-30 Leo Liu <sdl.web@gmail.com>
10268
10269 * progmodes/octave.el (octave-variables): Remove. No builtin
10270 variables any more. All converted to functions.
10271 (octave-font-lock-keywords, octave-completion-at-point-function):
10272 Fix uses.
10273 (octave-font-lock-texinfo-comment): New user variable.
10274 (octave-texinfo-font-lock-keywords): New variable for texinfo
10275 comment block.
10276 (octave-function-comment-block): New face.
10277 (octave-font-lock-texinfo-comment): New function.
10278 (octave-mode): Font lock texinfo comment block.
10279
10280 2013-04-29 Leo Liu <sdl.web@gmail.com>
10281
10282 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10283 indexing expression.
10284 (octave-continuation-string): Do not use \.
10285 (inferior-octave-complete-impossible): Remove.
10286 (inferior-octave-completion-table)
10287 (inferior-octave-completion-at-point): Remove its uses.
10288 (inferior-octave-startup): completion_matches was introduced to
10289 Octave in 1996 so safe to assume it.
10290 (octave-function-file-comment): Improve to follow how Octave does it.
10291 (octave-update-function-file-comment): Tweak.
10292
10293 2013-04-29 Leo Liu <sdl.web@gmail.com>
10294
10295 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10296 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10297 (octave-function-file-comment): Fix typo.
10298 (octave-sync-function-file-names): Use read-char-choice.
10299
10300 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10301
10302 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10303 to t for the less important warnings.
10304
10305 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10306
10307 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10308
10309 2013-04-27 Glenn Morris <rgm@gnu.org>
10310
10311 * vc/log-view.el (log-view-current-entry):
10312 Treat "---" separator lines as part of the following rev. (Bug#14169)
10313
10314 2013-04-27 Juri Linkov <juri@jurta.org>
10315
10316 * subr.el (read-number): Doc fix about using it by interactive
10317 code letter `n'. (Bug#14254)
10318
10319 2013-04-27 Juri Linkov <juri@jurta.org>
10320
10321 * desktop.el (desktop-auto-save-timeout): New option.
10322 (desktop-file-checksum): New variable.
10323 (desktop-save): Add optional arg `auto-save' and don't auto-save
10324 if nothing changed.
10325 (desktop-auto-save-timer): New variable.
10326 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10327 (after-init-hook): Call `desktop-auto-save-set-timer'.
10328 Suggested by Reuben Thomas <rrt@sc3d.org> in
10329 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10330
10331 2013-04-27 Leo Liu <sdl.web@gmail.com>
10332
10333 * progmodes/octave.el (octave-function-file-p)
10334 (octave-skip-comment-forward, octave-function-file-comment)
10335 (octave-update-function-file-comment): New functions.
10336 (octave-mode-map): Bind C-c ; to
10337 octave-update-function-file-comment.
10338 (octave-mode-menu): Add octave-update-function-file-comment.
10339 (octave-mode, inferior-octave-mode): Fix doc-string.
10340 (octave-insert-defun): Conform to Octave's coding convention.
10341 (Bug#14285)
10342
10343 * files.el (basic-save-buffer): Don't let errors in
10344 before-save-hook prevent saving buffer.
10345
10346 2013-04-20 Roland Winkler <winkler@gnu.org>
10347
10348 * faces.el (read-face-name): Use completing-read if arg multiple
10349 is nil.
10350
10351 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10352
10353 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10354 displayed, move point to after the totals line.
10355 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10356 for the details.
10357
10358 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10361 Add current dir to the load-path.
10362 (package-generate-autoloads): Don't rely on
10363 autoload-ensure-default-file.
10364
10365 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10366
10367 * textmodes/remember.el (remember-store-in-files): Document that
10368 the file name format is passed to `format-time-string'.
10369
10370 2013-04-26 Leo Liu <sdl.web@gmail.com>
10371
10372 * progmodes/octave.el (octave-sync-function-file-names): New function.
10373 (octave-mode): Use it in before-save-hook.
10374
10375 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10378 (bug#14274).
10379
10380 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10381 \n and comment, even if it's not an implicit ; (bug#14218).
10382
10383 2013-04-26 Glenn Morris <rgm@gnu.org>
10384
10385 * subr.el (read-number): Once more use `read' rather than
10386 `string-to-number', to trap non-numeric input. (Bug#14254)
10387
10388 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10389
10390 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10391 Use `syntax-multiline' text property consistently instead of
10392 `font-lock-multiline'. (Bug#14237)
10393
10394 2013-04-26 Glenn Morris <rgm@gnu.org>
10395
10396 * emacs-lisp/shadow.el (list-load-path-shadows):
10397 No longer necessary to check for duplicate simple.el, since
10398 2012-07-07 change to init_lread to not include installation lisp
10399 directories in load-path when running uninstalled. (Bug#14270)
10400
10401 2013-04-26 Leo Liu <sdl.web@gmail.com>
10402
10403 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10404 (octave-mode, inferior-octave-mode): Use setq-local.
10405 (octave-not-in-string-or-comment-p): Rename to
10406 octave-in-string-or-comment-p.
10407 (octave-in-comment-p, octave-in-string-p)
10408 (octave-in-string-or-comment-p): Replace defsubst with defun.
10409
10410 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10411
10412 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10413
10414 2013-04-25 Bastien Guerry <bzg@gnu.org>
10415
10416 * textmodes/remember.el (remember-data-directory)
10417 (remember-directory-file-name-format): Fix custom types.
10418
10419 2013-04-25 Leo Liu <sdl.web@gmail.com>
10420
10421 * progmodes/octave.el (octave-completion-at-point-function):
10422 Make use of inferior octave process.
10423 (octave-initialize-completions): Remove.
10424 (inferior-octave-completion-table): New function.
10425 (inferior-octave-completion-at-point): Use it.
10426 (octave-completion-alist): Remove.
10427
10428 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10431 (opascal-mode-syntax-table): New var.
10432 (opascal-literal-kind, opascal-is-literal-end)
10433 (opascal-literal-token-at): Rewrite.
10434 (opascal--literal-start-re, opascal-font-lock-keywords)
10435 (opascal--syntax-propertize): New constants.
10436 (opascal-font-lock-defaults): Adjust.
10437 (opascal-mode): Use them. Set comment-<foo> variables as well.
10438 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10439 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10440 (delphi-other-face, opascal-other-face): Remove face variables.
10441 (opascal-save-state): Remove macro.
10442 (opascal-fontifying-progress-step): Remove constant.
10443 (opascal--ignore-changes): Remove var.
10444 (opascal-set-token-property, opascal-parse-next-literal)
10445 (opascal-is-stable-literal, opascal-complete-literal)
10446 (opascal-is-literal-start, opascal-face-of)
10447 (opascal-parse-region, opascal-parse-region-until-stable)
10448 (opascal-fontify-region, opascal-after-change)
10449 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10450 (opascal-debug-parse-region, opascal-debug-parse-window)
10451 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10452 (opascal-debug-fontify-buffer): Remove.
10453 (opascal-debug-mode-map): Adjust accordingly.
10454
10455 2013-04-25 Leo Liu <sdl.web@gmail.com>
10456
10457 Merge octave-mod.el and octave-inf.el into octave.el with some
10458 cleanups.
10459 * progmodes/octave.el: New file renamed from octave-mod.el.
10460 * progmodes/octave-inf.el: Merged into octave.el.
10461 * progmodes/octave-mod.el: Renamed to octave.el.
10462
10463 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10464
10465 * textmodes/reftex-vars.el
10466 (reftex-label-ignored-macros-and-environments): New defcustom.
10467
10468 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10469
10470 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10473 (smie-indent-keyword): Improve the check to ensure that the next
10474 comment is really on the same line.
10475 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10476
10477 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10478 semi-colons if the line is not otherwise empty (bug#14218).
10479
10480 2013-04-25 Glenn Morris <rgm@gnu.org>
10481
10482 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10483
10484 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * progmodes/opascal.el (opascal-set-token-property): Rename from
10487 opascal-set-text-properties and only set `token' (bug#14134).
10488 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10489 (opascal-literal-text-properties): Remove.
10490 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10491 Adjust callers.
10492
10493 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10494
10495 * textmodes/remember.el (remember-handler-functions): Add an
10496 option for a new handler `remember-store-in-files'.
10497 (remember-data-directory, remember-directory-file-name-format):
10498 New options.
10499 (remember-store-in-files): New function to store remember notes
10500 as separate files within a directory.
10501
10502 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10503
10504 * progmodes/compile.el (compilation-next-error-function):
10505 Pass "formats" to compilation-find-file (bug#11777).
10506
10507 2013-04-24 Glenn Morris <rgm@gnu.org>
10508
10509 * vc/vc-bzr.el (vc-bzr-print-log):
10510 * vc/vc-hg.el (vc-hg-print-log):
10511 * vc/vc-svn.el (vc-svn-print-log):
10512 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10513
10514 * vc/vc-bzr.el (vc-bzr-print-log):
10515 * vc/vc-cvs.el (vc-cvs-print-log):
10516 * vc/vc-git.el (vc-git-print-log):
10517 * vc/vc-hg.el (vc-hg-print-log):
10518 * vc/vc-mtn.el (vc-mtn-print-log):
10519 * vc/vc-rcs.el (vc-rcs-print-log):
10520 * vc/vc-sccs.el (vc-sccs-print-log):
10521 * vc/vc-svn.el (vc-svn-print-log):
10522 * vc/vc.el (vc-print-log-internal): Doc fixes.
10523
10524 2013-04-23 Glenn Morris <rgm@gnu.org>
10525
10526 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10527 Remove venerable code attempting to avoid substitute-command-keys.
10528
10529 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10530
10531 * textmodes/reftex-vars.el (reftex-label-regexps):
10532 Call `reftex-compile-variables' after changes to this variable.
10533
10534 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10537 Use lexical-binding.
10538 (jit-lock-force-redisplay): Use markers, check buffer's continued
10539 existence and beware narrowed buffers.
10540 (jit-lock-fontify-now): Adjust call accordingly.
10541
10542 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10545 to avoid misleading the user.
10546
10547 2013-04-22 Leo Liu <sdl.web@gmail.com>
10548
10549 * info-look.el: Prefer latex2e.info. (Bug#14240)
10550
10551 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10552
10553 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10554
10555 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10556 * net/tramp.el (tramp-call-process): ... here.
10557 (tramp-set-completion-function, tramp-parse-putty):
10558 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10559 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10560 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10561 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10562 (tramp-call-local-coding-command): Use `tramp-call-process'
10563 instead of `tramp-compat-call-process'.
10564
10565 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10566 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10567 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10568 (tramp-find-inline-compress): Improve traces.
10569 (tramp-maybe-send-script): Check for Perl binary.
10570 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10571
10572 2013-04-22 Daiki Ueno <ueno@gnu.org>
10573
10574 * epg.el (epg-context-pinentry-mode): New function.
10575 (epg-context-set-pinentry-mode): New function.
10576 (epg--start): Pass --pinentry-mode option to gpg command.
10577
10578 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10579
10580 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10581 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10582 `completion-at-point'. (Bug#13774)
10583
10584 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10585 default key binding for `describe-distribution' has been moved to
10586 `C-h C-o'. (Bug#13970)
10587
10588 2013-04-21 Glenn Morris <rgm@gnu.org>
10589
10590 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10591 Add doc strings.
10592 (vc-print-log): Clarify interactive prompt.
10593
10594 2013-04-20 Glenn Morris <rgm@gnu.org>
10595
10596 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10597 No longer include timestamp etc information.
10598
10599 2013-04-20 Roland Winkler <winkler@gnu.org>
10600
10601 * faces.el (read-face-name): Bug fix, return just one face if arg
10602 multiple is nil. (Bug#14209)
10603
10604 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10607 (remove-function): Autoload.
10608
10609 * comint.el (comint-redirect-original-filter-function): Remove.
10610 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10611 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10612 (vc-cvs-annotate-command):
10613 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10614 * progmodes/prolog.el (prolog-consult-compile):
10615 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10616 Use add/remove-function instead.
10617 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10618 (gud-tooltip-process-output, gud-tooltip-tips):
10619 Use add/remove-function instead.
10620 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10621 (scheme-interaction-mode, exit-scheme-interaction-mode):
10622 Use add/remove-function instead.
10623
10624 * vc/vc-dispatcher.el: Use lexical-binding.
10625 (vc--process-sentinel): Rename from vc-process-sentinel.
10626 Change last arg to be the code to run. Don't use vc-previous-sentinel
10627 and vc-sentinel-commands any more.
10628 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10629 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10630
10631 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10632
10633 * progmodes/sh-script.el (sh-imenu-generic-expression):
10634 Handle function names with a single character. (Bug#14111)
10635
10636 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10637
10638 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10639 for subroutines defined in an eval (bug#14182).
10640
10641 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10642
10643 * bookmark.el (bookmark-completing-read): Improve handling of empty
10644 string (bug#14176).
10645
10646 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10649
10650 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10651
10652 New faster Imenu implementation (bug#14058).
10653 * progmodes/python.el:
10654 (python-imenu-prev-index-position):
10655 (python-imenu-format-item-label-function)
10656 (python-imenu-format-parent-item-label-function)
10657 (python-imenu-format-parent-item-jump-label-function):
10658 New vars.
10659 (python-imenu-format-item-label)
10660 (python-imenu-format-parent-item-label)
10661 (python-imenu-format-parent-item-jump-label)
10662 (python-imenu--put-parent, python-imenu--build-tree)
10663 (python-imenu-create-index, python-imenu-create-flat-index)
10664 (python-util-popn): New functions.
10665 (python-mode): Set imenu-create-index-function to
10666 python-imenu-create-index.
10667
10668 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * winner.el (winner-active-region): Use region-active-p, activate-mark
10671 and deactivate-mark (bug#14225).
10672
10673 * simple.el (deactivate-mark): Don't inline it.
10674
10675 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10676
10677 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10678
10679 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10680
10681 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10682 file extensions from the archive-mode entry in order to prefer
10683 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10684
10685 2013-04-18 Leo Liu <sdl.web@gmail.com>
10686
10687 * bindings.el (help-event-list): Add ?\?.
10688
10689 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * subr.el (with-wrapper-hook): Declare obsolete.
10692 * simple.el (filter-buffer-substring-function): New hook.
10693 (filter-buffer-substring): Use it.
10694 (filter-buffer-substring-functions): Mark obsolete.
10695 * minibuffer.el (completion-in-region-function): New hook.
10696 (completion-in-region): Use it.
10697 (completion-in-region-functions): Mark obsolete.
10698 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10699 * abbrev.el (abbrev-expand-function): New hook.
10700 (expand-abbrev): Use it.
10701 (abbrev-expand-functions): Mark obsolete.
10702 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10703 and :filter-return.
10704
10705 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10706
10707 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10708 and do not care about match data.
10709
10710 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10713 completion tables when completing error conditions and
10714 `declare' arguments.
10715 (lisp-complete-symbol, field-complete): Mark as obsolete.
10716 (check-parens): Unmatched parens are user errors.
10717 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10718
10719 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10720
10721 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10722 command changed buffer (ie. `flyspell-pre-buffer' is not current
10723 buffer), which prevents making decisions based on invalid value of
10724 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10725 cause an error when `flyspell-pre-point' was nil after switching
10726 buffers.
10727 (flyspell-post-command-hook): No longer needs to change buffers when
10728 checking pre-word. While at it remove unnecessary progn.
10729
10730 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10731
10732 * textmodes/ispell.el (ispell-add-per-file-word-list):
10733 Fix `flyspell-correct-word-before-point' error when accepting
10734 words and `coment-padding' is an integer by using
10735 `comment-normalize-vars' (Bug #14214).
10736
10737 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10738
10739 New defun movement commands.
10740 * progmodes/python.el (python-nav--syntactically)
10741 (python-nav--forward-defun, python-nav-backward-defun)
10742 (python-nav-forward-defun): New functions.
10743
10744 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10745
10746 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10747 (python-syntax-context): Use named compiler-macro for backwards
10748 compatibility with Emacs 24.x.
10749
10750 2013-04-17 Leo Liu <sdl.web@gmail.com>
10751
10752 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10753 octave-hide-process-buffer.
10754
10755 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10758 (bug#14216).
10759
10760 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10761
10762 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10763 Fix adjustment of offset when receiving incomplete responses from GDB
10764 (bug#14129).
10765
10766 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10767
10768 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10769 python-mode-abbrev-table.
10770 (python-skeleton-define): Adjust accordingly.
10771 (python-mode-abbrev-table): New table that inherits from it so that
10772 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10773
10774 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10775 (abbrev-symbol): Use it.
10776 (abbrev--before-point): Use it since we already handle inheritance.
10777
10778 2013-04-16 Leo Liu <sdl.web@gmail.com>
10779
10780 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10781 binding to info-lookup-symbol.
10782
10783 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10784
10785 * minibuffer.el (completion--twq-all):
10786 * term/ns-win.el (ns-initialize-window-system):
10787 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10788
10789 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10792 global bindings.
10793
10794 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10795
10796 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10797
10798 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10799 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10800 to nil.
10801 (ruby-end-of-defun): Remove the unused arg, change the docstring
10802 to reflect that this function is only used as the value of
10803 `end-of-defun-function'.
10804 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10805 to reflect an earlier change that beginning/end-of-defun functions
10806 jump between methods in a class definition, as well as top-level
10807 functions.
10808
10809 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * minibuffer.el (minibuffer-complete): Don't just scroll
10812 a *Completions* that's been iconified.
10813 (minibuffer-force-complete): Make sure repetitions do cycle when going
10814 through completion-in-region -> minibuffer-complete.
10815
10816 2013-04-15 Alan Mackenzie <acm@muc.de>
10817
10818 Correct the placement of c-cpp-delimiters when there're #s not at
10819 col 0.
10820
10821 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10822 place a submatch around the #.
10823 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10824 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10825 on the #, not BOL.
10826
10827 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10828
10829 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10830 (advice--member-p): New arg `name'.
10831 (advice--add-function, advice-member-p): Use it (bug#14202).
10832
10833 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10834
10835 Reformulate java imenu-generic-expression.
10836 The old expression contained ill formed regexps.
10837
10838 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10839 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10840 (cc-imenu-java-method-arg-regexp): New defconsts.
10841 (cc-imenu-java-build-type-args-regex): New defun.
10842 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10843 handling of spaces in the regexp.
10844
10845 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10846
10847 * textmodes/ispell.el (ispell-command-loop): Remove
10848 flyspell highlight of a word when ispell accepts it (bug #14178).
10849
10850 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10851
10852 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10853 uses code from the previous `ange-ftp-run-real-handler'.
10854 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10855 only in case that function exist. This is needed for proper
10856 unloading of Tramp.
10857
10858 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10859
10860 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10861
10862 * textmodes/reftex.el (reftex-compile-variables): Use it.
10863
10864 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * files.el (normal-mode): Only use default major-mode if no other mode
10867 was specified.
10868
10869 * emacs-lisp/trace.el (trace-values): New function.
10870
10871 * files.el: Allow : in local variables (bug#14089).
10872 (hack-local-variable-regexp): New var.
10873 (hack-local-variables-prop-line, hack-local-variables): Use it.
10874
10875 2013-04-13 Roland Winkler <winkler@gnu.org>
10876
10877 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10878 data before it gets modified by bibtex-beginning-of-entry.
10879
10880 2013-04-13 Roland Winkler <winkler@gnu.org>
10881
10882 * textmodes/bibtex.el (bibtex-url): Doc fix.
10883
10884 2013-04-13 Roland Winkler <winkler@gnu.org>
10885
10886 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10887 does not visit a BibTeX file, exclude it from the list of buffers
10888 returned by bibtex-initialize.
10889
10890 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10891
10892 * window.el (split-window): Remove interactive form, since as a
10893 command this function is a special case of split-window-below.
10894 Correct doc string.
10895
10896 2013-04-12 Roland Winkler <winkler@gnu.org>
10897
10898 * faces.el (read-face-name): Do not override value of arg default.
10899 Allow single faces and strings as default values. Remove those
10900 elements from return value that are not faces.
10901 (describe-face): Simplify.
10902 (face-at-point): New optional args thing and multiple so that this
10903 function can provide the same functionality previously provided by
10904 read-face-name.
10905 (make-face-bold, make-face-unbold, make-face-italic)
10906 (make-face-unitalic, make-face-bold-italic, invert-face)
10907 (modify-face, read-face-and-attribute): Use face-at-point.
10908
10909 * cus-edit.el (customize-face, customize-face-other-window)
10910 * cus-theme.el (custom-theme-add-face)
10911 * face-remap.el (buffer-face-set)
10912 * facemenu.el (facemenu-set-face): Use face-at-point.
10913
10914 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10915
10916 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10917
10918 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10919
10920 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10921 off leading { and trailing } from field values.
10922
10923 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * emacs-lisp/timer.el (timer--check): New function.
10926 (timer--time, timer-set-function, timer-event-handler): Use it.
10927 (timer-set-idle-time): Simplify.
10928 (timer--activate): CSE.
10929 (timer-event-handler): Give more info in error message.
10930 (internal-timer-start-idle): New function, moved from C.
10931
10932 * mpc.el (mpc-proc): Add `restart' argument.
10933 (mpc-proc-cmd): Use it.
10934 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10935 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10936 less often.
10937
10938 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10939
10940 * progmodes/sh-script.el: Implement `sh-mode' own
10941 `add-log-current-defun-function' (bug#14112).
10942 (sh-current-defun-name): New function.
10943 (sh-mode): Use the function.
10944
10945 2013-04-09 Bastien Guerry <bzg@gnu.org>
10946
10947 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10948
10949 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10952
10953 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10954 timer (bug#14156).
10955
10956 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10957
10958 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10959 declaration.
10960
10961 2013-04-07 Leo Liu <sdl.web@gmail.com>
10962
10963 * pcmpl-x.el: New file.
10964
10965 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10966
10967 Do not set x-display-name until X connection is established.
10968 This is needed to prevent from weird situation described at
10969 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10970 * frame.el (make-frame): Set x-display-name after call to
10971 window system initialization function, not before.
10972 * term/x-win.el (x-initialize-window-system): Add optional
10973 display argument and use it.
10974 * term/w32-win.el (w32-initialize-window-system):
10975 * term/ns-win.el (ns-initialize-window-system):
10976 * term/pc-win.el (msdos-initialize-window-system):
10977 Add compatible optional display argument.
10978
10979 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10980
10981 * files.el (normal-backup-enable-predicate): On MS-Windows and
10982 MS-DOS compare truenames of temporary-file-directory and of the
10983 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10984 don't fail comparison by compare-strings. Also, compare file
10985 names case-insensitively on MS-Windows and MS-DOS.
10986
10987 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10990 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10991
10992 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10993
10994 * whitespace.el (whitespace-color-on, whitespace-color-off):
10995 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10996
10997 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10998
10999 * ispell.el (ispell-set-spellchecker-params):
11000 Really set `ispell-args' for all equivs.
11001
11002 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 * ido.el (ido-completions): Use extra elements of ido-decorations
11005 (bug#14143).
11006 (ido-decorations): Update docstring.
11007
11008 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11009
11010 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11011 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11012 nil during initialization, in order not to miss changes since the
11013 file was opened. (Bug#14140)
11014
11015 2013-04-05 Leo Liu <sdl.web@gmail.com>
11016
11017 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11018
11019 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11020
11021 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11022
11023 2013-04-04 Glenn Morris <rgm@gnu.org>
11024
11025 * electric.el (electric-pair-inhibit-predicate): Add :version.
11026
11027 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11030 when a package is required several times (bug#14082).
11031
11032 2013-04-04 Roland Winkler <winkler@gnu.org>
11033
11034 * faces.el (read-face-name): Behave as promised by the docstring.
11035 Assume that arg default is a list of faces.
11036 (describe-face): Call read-face-name with list of default faces.
11037
11038 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11039
11040 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11041 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11042 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11043 the header.
11044 (bookmark-exit-hook-internal): Save even if list is empty.
11045
11046 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11047
11048 * emacs-lisp/package.el (package-pinned-packages): New var.
11049 (package--add-to-archive-contents): Obey it (bug#14118).
11050
11051 2013-04-03 Alan Mackenzie <acm@muc.de>
11052
11053 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11054 Also adapt to the new values of element 7 of a parse state.
11055
11056 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11057 parameter `not-in-delimiter'. Handle being inside comment opener.
11058 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11059 character in case we're typing a '*' after a '/'.
11060 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11061 instead by passing the parameter to c-state-pp-to-literal.
11062
11063 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11064 for elt. 7 of a parse state.
11065
11066 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11067
11068 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11069 * international/latin1-disp.el, international/mule-util.el:
11070 * language/cyril-util.el, language/european.el, language/ind-util.el:
11071 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11072 * language/tibetan.el, language/viet-util.el:
11073 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11074
11075 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11078 (electric-pair-post-self-insert-function): Use it.
11079 (electric-pair-default-inhibit): New function, extracted from
11080 electric-pair-post-self-insert-function.
11081
11082 2013-03-31 Roland Winkler <winkler@gnu.org>
11083
11084 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11085
11086 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11089
11090 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11091
11092 Un-indent after "pass" and "return" statements (Bug#13888)
11093 * progmodes/python.el (python-indent-block-enders): New var.
11094 (python-indent-calculate-indentation): Use it.
11095
11096 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11097
11098 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11099 defun. Defining it as defalias could introduce too eager
11100 byte-compiler optimization. (Bug#14030)
11101
11102 2013-03-30 Chong Yidong <cyd@gnu.org>
11103
11104 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11105
11106 2013-03-30 Leo Liu <sdl.web@gmail.com>
11107
11108 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11109 (kmacro-execute-from-register): Pass the keyboard macro to
11110 kmacro-call-macro or repeating won't work correctly.
11111
11112 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11113
11114 * progmodes/subword.el: Back to using `forward-symbol'.
11115
11116 * subr.el (forward-whitespace, forward-symbol)
11117 (forward-same-syntax): Move from thingatpt.el.
11118
11119 2013-03-29 Leo Liu <sdl.web@gmail.com>
11120
11121 * kmacro.el (kmacro-to-register): New command.
11122 (kmacro-execute-from-register): New function.
11123 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11124
11125 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * mpc.el: Use defvar-local and setq-local.
11128 (mpc--proc-connect): Connection failures are not bugs.
11129 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11130 (mpc-volume-map): Bind to the up-events.
11131
11132 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11133
11134 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11135 instead of `forward-symbol'.
11136
11137 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11140 (edebug--recursive-edit): Use it.
11141 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11142 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11143
11144 2013-03-28 Leo Liu <sdl.web@gmail.com>
11145
11146 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11147
11148 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11149
11150 * facemenu.el (list-colors-callback): New defvar.
11151 (list-colors-redisplay): New function.
11152 (list-colors-display): Install list-colors-redisplay as the
11153 revert-buffer-function. (Bug#14063)
11154
11155 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11158 and suffixes don't overlap (bug#14061).
11159
11160 * case-table.el: Use lexical-binding.
11161 (case-table-get-table): New function.
11162 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11163
11164 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11165
11166 * progmodes/subword.el: Add `superword-mode' to do word motion
11167 over symbol_words (parallels and leverages `subword-mode' which
11168 does word motion inside MixedCaseWords).
11169
11170 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11171
11172 * eshell/em-unix.el: Move su and sudo to...
11173 * eshell/em-tramp.el: ...Eshell tramp module.
11174
11175 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11178 Change return value to be a sexp. Delay `get-buffer' to after
11179 restoring the desktop (bug#13951).
11180
11181 2013-03-26 Leo Liu <sdl.web@gmail.com>
11182
11183 * register.el: Move semantic tag handling back to
11184 cedet/semantic/senator.el. (Bug#14052)
11185
11186 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11189 into the prompt either (bug#13963).
11190
11191 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11194 part of "(error-foo)".
11195
11196 2013-03-24 Juri Linkov <juri@jurta.org>
11197
11198 * replace.el (list-matching-lines-prefix-face): New defcustom.
11199 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11200 `occur-engine' if `face-differs-from-default-p' returns t.
11201 (occur-engine): Add `,' inside backquote construct to evaluate
11202 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11203 Pass `prefix-face' to the functions `occur-context-lines' and
11204 `occur-engine-add-prefix'.
11205 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11206 `prefix-face' and propertize the prefix with `prefix-face'.
11207 (Bug#14017)
11208
11209 2013-03-24 Leo Liu <sdl.web@gmail.com>
11210
11211 * nxml/rng-valid.el (rng-validate-while-idle)
11212 (rng-validate-quick-while-idle): Guard against deleted buffer.
11213 (Bug#13999)
11214
11215 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11216 is the last entry in kill-buffer-hook.
11217
11218 * files.el (kill-buffer-hook): Doc fix.
11219
11220 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11221
11222 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11223 Make it safe-local.
11224
11225 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11226
11227 2013-03-23 Leo Liu <sdl.web@gmail.com>
11228
11229 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11230 Remove.
11231
11232 * nxml/rng-valid.el (rng-validate-mode)
11233 (rng-after-change-function, rng-do-some-validation):
11234 * nxml/rng-maint.el (rng-validate-buffer):
11235 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11236 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11237 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11238 (nxml-extend-after-change-region): Use with-silent-modifications.
11239
11240 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11241 timer-idle-list.
11242
11243 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11244 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11245 timer-idle-list. (Bug#13999)
11246
11247 2013-03-23 Juri Linkov <juri@jurta.org>
11248
11249 * info.el (info-index-match): New face.
11250 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11251 main pattern and add text properties with the new face to matches
11252 in index entries relative to the beginning of the index entry.
11253 (Bug#14015)
11254
11255 2013-03-21 Eric Ludlam <zappo@gnu.org>
11256
11257 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11258 Inhibit read only while inserting objects.
11259
11260 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11261
11262 * progmodes/cfengine.el: Update docs to mention
11263 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11264 symbol motion. Remove "_" from the word syntax.
11265
11266 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11267
11268 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11269 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11270
11271 2013-03-20 Juri Linkov <juri@jurta.org>
11272
11273 * info.el (Info-next-reference-or-link)
11274 (Info-prev-reference-or-link): New functions.
11275 (Info-next-reference, Info-prev-reference): Use them.
11276 (Info-try-follow-nearest-node): Handle footnote navigation.
11277 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11278
11279 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11282 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11283
11284 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11285
11286 Suppress unnecessary non-ASCII chatter during build process.
11287 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11288 (batch-skkdic-convert): Suppress most of the chatter.
11289 It's not needed so much now that machines are faster,
11290 and its non-ASCII component was confusing; see Dmitry Gutov in
11291 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11292
11293 2013-03-20 Leo Liu <sdl.web@gmail.com>
11294
11295 * ido.el (ido-chop): Fix bug#10994.
11296
11297 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11298
11299 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11300 Remove vars.
11301 (whitespace-color-on, whitespace-color-off):
11302 Use `font-lock-fontify-buffer' (Bug#13817).
11303
11304 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11307 remapping in mode-line.
11308 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11309
11310 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11311
11312 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11313 value for `whitespace-line' face (Bug#13875).
11314 (whitespace-font-lock-keywords): Change description.
11315 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11316 the constructed keywords instead.
11317 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11318
11319 2013-03-19 Leo Liu <sdl.web@gmail.com>
11320
11321 * progmodes/compile.el (compilation-display-error): New command.
11322 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11323 C-o. (Bug#13992)
11324
11325 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11326
11327 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11328
11329 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11330
11331 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11332
11333 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11334
11335 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11336
11337 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11338 * net/tramp-gvfs.el (top):
11339 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11340 (tramp-handle-shell-command): Use it.
11341 (tramp-dissect-file-name): Raise an error when hostname is a
11342 method name, and neither method nor user is specified.
11343
11344 * net/trampver.el: Update release number.
11345
11346 2013-03-18 Leo Liu <sdl.web@gmail.com>
11347
11348 Make sure eldoc can be turned off properly.
11349 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11350 eldoc-mode.
11351 (eldoc-display-message-p): Revert last change.
11352 (eldoc-display-message-no-interference-p)
11353 (eldoc-print-current-symbol-info): Tweak.
11354
11355 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11356
11357 * doc-view.el (doc-view-new-window-function): Check the new window
11358 overlay's display property instead the char property of the
11359 buffer's first char. Use `with-selected-window' instead of
11360 `save-window-excursion' with `select-window'.
11361 (doc-view-document->bitmap): Check the current doc-view overlay's
11362 display property instead the char property of the buffer's first char.
11363
11364 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11365
11366 Automate the build of ja-dic.el (Bug#13984).
11367 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11368 from the input, rather than assume that it's been done for us by the
11369 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11370 the current date into a ja-dic.el comment, as that complicates
11371 regression testing.
11372
11373 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * whitespace.el: Fix double evaluation.
11376 (whitespace-space, whitespace-hspace, whitespace-tab)
11377 (whitespace-newline, whitespace-trailing, whitespace-line)
11378 (whitespace-space-before-tab, whitespace-indentation)
11379 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11380 obsolete defvars.
11381 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11382 (whitespace-color-on): Use a single font-lock-add-keywords call.
11383 Fix double-evaluation of face variables.
11384
11385 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11386
11387 * net/tramp-adb.el (tramp-adb-parse-device-names):
11388 Use `start-process' instead of `call-process'. Otherwise, the
11389 function might be blocked under MS Windows. (Bug#13299)
11390
11391 2013-03-17 Leo Liu <sdl.web@gmail.com>
11392
11393 Extend eldoc to display info in the mode-line. (Bug#13978)
11394 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11395 (eldoc-mode-line-string): New variable.
11396 (eldoc-minibuffer-message): New function.
11397 (eldoc-message-function): New variable.
11398 (eldoc-message): Use it.
11399 (eldoc-display-message-p)
11400 (eldoc-display-message-no-interference-p):
11401 Support eldoc-post-insert-mode.
11402
11403 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11404 (eval-expression): Run it.
11405
11406 2013-03-17 Roland Winkler <winkler@gnu.org>
11407
11408 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11409 strings in the list of return values.
11410
11411 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11412
11413 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11414 radix before checking for HMS forms.
11415
11416 2013-03-16 Leo Liu <sdl.web@gmail.com>
11417
11418 * progmodes/scheme.el: Add indentation and font-locking for λ.
11419 (Bug#13975)
11420
11421 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11422
11423 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11424 token before point (bug#13942).
11425
11426 2013-03-16 Leo Liu <sdl.web@gmail.com>
11427
11428 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11429
11430 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11431
11432 * startup.el (command-line-normalize-file-name): Fix handling of
11433 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11434 <xfq.free@gmail.com> in
11435 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11436
11437 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11438
11439 Sync with Tramp 2.2.7.
11440
11441 * net/trampver.el: Update release number.
11442
11443 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11444
11445 * doc-view.el: Fix bug#13887.
11446 (doc-view-insert-image): Don't modify overlay associated to
11447 non-live windows, and implement horizontal centering of image in
11448 case it's smaller than the window.
11449 (doc-view-new-window-function): Force redisplay of new windows on
11450 doc-view buffers.
11451
11452 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11453
11454 * saveplace.el (save-place-alist-to-file): Don't sort
11455 `save-place-alist', just pretty-print it (bug#13882).
11456
11457 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11458
11459 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11460 Check whether `default-file-name-coding-system' is bound.
11461 It isn't in XEmacs.
11462
11463 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11466 backquotes for `obsolete' (bug#13929).
11467
11468 * international/mule.el (find-auto-coding): Include file name in
11469 obsolescence warning (bug#13922).
11470
11471 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11472
11473 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11474 for CFEngine 3-specific indentation.
11475 (cfengine3-indent-line): Use it. Fix up category regex.
11476 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11477
11478 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * type-break.el (type-break-file-name):
11481 * textmodes/remember.el (remember-data-file):
11482 * strokes.el (strokes-file):
11483 * shadowfile.el (shadow-initialize):
11484 * saveplace.el (save-place-file):
11485 * ps-bdf.el (bdf-cache-file):
11486 * progmodes/idlwave.el (idlwave-config-directory):
11487 * net/quickurl.el (quickurl-url-file):
11488 * international/kkc.el (kkc-init-file-name):
11489 * ido.el (ido-save-directory-list-file):
11490 * emulation/viper.el (viper-custom-file-name):
11491 * emulation/vip.el (vip-startup-file):
11492 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11493 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11494
11495 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11496
11497 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11498 * language/thai-word.el: Switch to UTF-8.
11499
11500 See ChangeLog.16 for earlier changes.
11501
11502 ;; Local Variables:
11503 ;; coding: utf-8
11504 ;; End:
11505
11506 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11507
11508 This file is part of GNU Emacs.
11509
11510 GNU Emacs is free software: you can redistribute it and/or modify
11511 it under the terms of the GNU General Public License as published by
11512 the Free Software Foundation, either version 3 of the License, or
11513 (at your option) any later version.
11514
11515 GNU Emacs is distributed in the hope that it will be useful,
11516 but WITHOUT ANY WARRANTY; without even the implied warranty of
11517 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11518 GNU General Public License for more details.
11519
11520 You should have received a copy of the GNU General Public License
11521 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.